Binding has not yet been initialized. compute isolate issue.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

open a flutter plugin project for the default code.
instead of calling invokeMethodChannel (of getPlatformVersion) directly, call it in a compute isolate.
Also I have initiaized in main.dart of example folder:

void main() async {
WidgetsFlutterBinding.ensureInitialized();
Expected results
There should be no error when calling the function from compute isolate.
Actual results
I am getting error which I have shown in the logs section.
Code sample
Code sample of main.dart in the example folder for a flutter plugin project
import 'dart:io';
import 'dart:ui';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
**/// your plugin name here when reproducing**
import 'package:scanclan_filters/scanclan_filters.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  // const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Photo Filter Example'),
        ),
        body: Center(
          child: Container(
            height: 100,
            width: 100,
            color: Colors.blue,
            child: MaterialButton(
              onPressed: () async {
                var value = await compute(testFunctionForPlatformVersion, 0);
              },
            ),
          ),
        ),
      ),
    );
  }
}

///function to test
FutureOr<dynamic> testFunctionForPlatformVersion(int dummyvalue) async {
  ScanclanFilters _scanclanFiltersPlugin = ScanclanFilters();
  String result;

  try {
    result = await _scanclanFiltersPlugin.getPlatformVersion();
  } on PlatformException {
    print('ERROR!!!!!!!');
    return "error";
  }
  return result;
}

Logs
Logs
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Binding has not yet been initialized.
E/flutter (20377): The "instance" getter on the ServicesBinding binding mixin is only available once that binding has been initialized.
E/flutter (20377): Typically, this is done by calling "WidgetsFlutterBinding.ensureInitialized()" or "runApp()" (the latter calls the former). Typically this call is done in the "void main()" method. The "ensureInitialized" method is idempotent; calling it multiple times is not harmful. After calling that method, the "instance" getter will return the binding.
E/flutter (20377): In a test, one can call "TestWidgetsFlutterBinding.ensureInitialized()" as the first line in the test's "main()" method to initialize the binding.
E/flutter (20377): If ServicesBinding is a custom binding mixin, there must also be a custom binding class, like WidgetsFlutterBinding, but that mixes in the selected binding, and that is the class that must be constructed before using the "instance" getter.
E/flutter (20377): #0      BindingBase.checkInstance.<anonymous closure> (package:flutter/src/foundation/binding.dart:284:9)
E/flutter (20377): #1      BindingBase.checkInstance (package:flutter/src/foundation/binding.dart:366:6)
E/flutter (20377): #2      ServicesBinding.instance (package:flutter/src/services/binding.dart:54:54)
E/flutter (20377): #3      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:254:45)
E/flutter (20377): #4      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:289:15)
E/flutter (20377): #5      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:472:12)
E/flutter (20377): #6      MethodChannelScanclanFilters.getPlatformVersion (package:scanclan_filters/scanclan_filters_method_channel.dart:15:29)
E/flutter (20377): #7      ScanclanFilters.getPlatformVersion (package:scanclan_filters/scanclan_filters.dart:11:45)
E/flutter (20377): #8      testFunctionForPlatformVersion (package:scanclan_filters_example/main.dart:136:43)
E/flutter (20377): #9      _IsolateConfiguration.applyAndTime.<anonymous closure> (package:flutter/src/foundation/_isolates_io.dart:108:21)
E/flutter (20377): #10     Timeline.timeSync (dart:developer/timeline.dart:160:22)
E/flutter (20377): #11     _IsolateConfiguration.applyAndTime (package:flutter/src/foundation/_isolates_io.dart:106:21)
E/flutter (20377): #12     _spawn (package:flutter/src/foundation/_isolates_io.dart:127:67)
E/flutter (20377): #13     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:300:17)
E/flutter (20377): #14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)

Flutter Doctor output
Doctor output
flutter doctor -v
[√] Flutter (Channel stable, 3.3.9, on Microsoft Windows [Version 10.0.22621.2134], locale en-CA)
    • Flutter version 3.3.9 on channel stable at C:\src\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (9 months ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Admin\AppData\Local\Android\sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32616.157
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.81.0)
    • VS Code at C:\Users\Admin\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (4 available)
    • 22021211RI (mobile) • 15693259 • android-arm64  • Android 12 (API 31)
    • Windows (desktop)   • windows  • windows-x64    • Microsoft Windows [Version 10.0.22621.2134]
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 115.0.5790.171
    • Edge (web)          • edge     • web-javascript • Microsoft Edge 115.0.1901.203

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @SpirikleOfficial. Thanks for filing this issue. This seems to be similar to https://github.com/flutter/flutter/issues/130570 and per this https://github.com/flutter/flutter/issues/130570#issuecomment-1654208398, I'd be closing as a duplicate of https://github.com/flutter/flutter/issues/119207.
If you disagree, kindly write in the comments and I'd reopen this.
Thank you!


Behaviour of built in language plugins is affected even when language support is not enabled

I don't have many details on this at the moment, but we noticed the built in Typescript indexing doesn't work correctly with the plugin loaded, even when we don't enable Typescript and Javascript support.
To fix this we ended up removing //javascript:plugin_library as a dependency of the plugin when building it.
The plugin shouldn't be affecting the behaviour of the built in language plugins for languages that aren't enabled.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


Remove langchain, use ollama api

I had written this at a time where the Ollama api didn't exist.
There is a lot of bloat around langchain and I'd like to get to something a bit more performant, especially when indexing and piping the call to Ollama.

[ ] Remove langchain dependancy
[ ] Implement the ollama api for calling the local models https://github.com/ollama/ollama-python
[ ] PR by showing a working interface

I can take this up :)
Looks simple enough to do.

Closing as new repo manages this https://github.com/ParthSareen/RAG-in-a-box


Add letsencrypt to github action

Add a new github action to be executed once a week to get a new certificate from letsencrypt (runs make letsencrypt) against the CD environment.

Upping priority as this causes tests to fail when expires and is tricky to renew.

Closed as part of #1125


Where is the documentation? :)

Hey! this looks like a very cool project, is there some documentation somewhere so I can give it a spin? :)

Hi there, at current the project is under development and (until 1.0 release) there is no exact documentation for the project usage.
As of the online javadocs, those will be available once released.
Thanks for you interest <3


update intros to be shorter and easier to read

I did a through read through of the intros, and realized that we should be using fewer words and shorter sentences. It can be hard to follow as it is. Let me know what you folks think

spellling is not my strong suite.


Add badges list

Shows badges on the front page.

Oooohhh :) Looks to be working on staging! :+1:

@roryaronson I'm thinking something similar for tagging crops and guides: #676


test4

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#803 👈
main

This comment was automatically generated by st.


Correct jdk8u SEM_VER creation from build tag

SEM_VER calculation from build tag was incorrectly removing "0" from anywhere in the tag.
Fixes: adoptium/adoptium-support#295
Signed-off-by: Andrew Leonard<EMAIL_ADDRESS>

run tests

Fixes https://github.com/adoptium/adoptium-support/issues/295

Thanks! Will this (https://github.com/adoptium/adoptium-support/issues/295) be fixed in upcoming releases or 8.0.292 will be re-built as well?


Executing JSDoc on angular.mins.js fails due to JavaScript Memory Error

This happens on Windows.
Input code
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node_module_register
 2: v8::internal::FatalProcessOutOfMemory
 3: v8::internal::FatalProcessOutOfMemory
 4: v8::internal::Factory::NewRawTwoByteString
 5: v8::internal::Smi::SmiPrint
 6: v8::internal::StackGuard::HandleInterrupts
 7: v8::internal::RegExpImpl::Exec
 8: v8::internal::RegExpImpl::Exec
 9: v8::internal::interpreter::BytecodeArrayRandomIterator::UpdateOffsetFromIndex
10: 000002FD5B6043C1

    at ChildProcess.exithandler (child_process.js:276:12)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
  killed: false,
  code: 3,
  signal: null,

Expected behavior
It should not crash.
Current behavior
It crashes.
Your environment

Software
Version

JSDoc
3.5

Node.js
10.x

npm
6.4.x

Operating system
Windows

I'm guessing that a minified version of Angular is not something that JSDoc could turn into useful documentation. But you're right, JSDoc shouldn't crash just because the input file is large.
That said: Lots of stuff in JSDoc is predicated on using synchronous I/O, plus the assumption that we can read each input file into memory in its entirety. Unwinding those assumptions would take a lot of work, and it would break many things. (That doesn't mean that this bug should never be fixed, but it does mean that it's unlikely to be fixed anytime soon.)


Don't enforce project ID validation when unmarshallig log entries

The back-end apparently returns numeric project IDs in some cases.
Update gcloud._helpers._name_from_project_path to allow passing its project argument as None to disable the validation.
Closes: #1806.

The decision to fully disable the check instead of to make it optional was due to the deep nesting of method calls? Could we put a flag on Client to disable "globally"?
/cc @waprin

@dhermes The deep nesting is part of it:  the other part is that the validation was a carryover from other places where having the project match up was essential to allow re-use of the existing client, which isn't the case at all for log entries (there are no API calls which originate from them).
If the backend had a "list loggers" API (which it inexplicably doesn't), then we might need to be validating the project when unmarshalling its results.

I guess somebody could call client.list_entries() and then try to navigate from one of the returned entries to its logger attribute and use the (potentially invalid) logger to make API calls.   Seems a stretch, though.

Sorry for going AWOL. 5 days, eek! LGTM. We can add in more hooks as they come up.

Btw, returning project numbers been acknowledged as a bug but apparently it won't get fixed for a few months since it will be fixed by some stack migration anyway.


Updating script path in Dockerfile for multistage test

What type of PR is this?
/kind feature
What does does this PR do / why we need it:
Updating script path in Dockerfile for multistage migration without breaking master.
Which issue(s) this PR fixes:
Fixes NA
How to test changes / Special notes to the reviewer:
Multistage migration pr https://github.com/openshift/release/pull/9431 in release repo should pass

Ahh...may bad. Anyway thanks for the pr. The good part is that we are not breaking master anymore 🙂 . We can merge it ASAP so that i can update my release pr to make sure multistage migration works. Ping @girishramnani

/lgtm

/approve

level=fatal msg="failed to fetch Cluster: failed to fetch dependency of \"Cluster\": failed to generate asset \"Platform Permissions Check\": validate AWS credentials: checking install permissions: error simulating policy: Throttling: Rate exceeded\n\tstatus code: 400, request id: 9a9af4b9-509d-49d8-a735-c31372429a55"
2020/06/24 10:19:41 Container setup in pod integration-e2e failed, exit code 1, reason Error
2020/06/24 10:21:13 Releasing lease for "aws-quota-slice"
2020/06/24 10:21:13 No custom metadata found and prow metadata already exists. Not updating the metadata.
2020/06/24 10:21:14 Ran for 6m41s
error: some steps failed:
  * could not run steps: step integration-e2e failed: template pod "integration-e2e" failed: the pod ci-op-5l52jdys/integration-e2e failed after 2m44s (failed containers: setup): ContainerFailed one or more containers exited
Container setup exited with code 1, reason Error
---

/retest

Test passes on 4.3, 4.4 and 4.5 cluster. I am merging it to avoid an unnecessary delay to unblock openshift/release#9431.


Added test for valid email address

And have it silently not send mail if the "to" address is invalid.  This became a problem when we switched to using google as an SMTP proxy server.

Coverage increased (+0.002%) to 92.658% when pulling 265b0f1e11445e72af78af7e5af4e974108f4886 on validate-email into 1d335e034345dc4a0a863f23b1474731f5b282e3 on master.

J'approuve.
As a bonus, it seems to introduce a callback point where we could conceivably insert a "whoa, reverify this user" action.

Yeah, that's what I was thinking, too.  There's probably a gem that does a
better job, but I was too lazy!
On Mon, Nov 7, 2022 at 9:46 PM andrew nimmo @.***>
wrote:

J'approuve.
As a bonus, it seems to introduce a callback point where we could
conceivably insert a "whoa, reverify this user" action.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1194#issuecomment-1306545749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNPQOTPRANSIQOSM56DWHG5IDANCNFSM6AAAAAARZ2L3LU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Dev c3

This will resolve issues with Ford's where the car continues to try and turn and run off the road after making a human initiated turn (with MADS on or assisting the car for e2e turns).  Logic is based on analysis for stock for Lane Center and BlueCruise routes in dash cam mode.  Attempt is to mimic stock Ford logic.

closing to re-open against master


HDDS-7507. [Snapshot] Implement List Snapshot API Pagination

What changes were proposed in this pull request?

Implement list snapshot API pagination.
Add some unit test.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7507
How was this patch tested?
Added unit test to TestOmMetadataManager.

Let's take a look~ (cc. @smengcl @hemantk-12 @swamirishi  @aswinshakil @prashantpogde

Thanks @chungen0126 for the patch. Thanks @DaveTeng0 @prashantpogde for reviewing this.


SW-5884 Search fields for monitoring plot coordinates

To support exporting a CSV file with the coordinates of the monitoring plots in an
observation, add a new field type that extracts a single coordinate value from a
geometry, and use it to add latitude and longitude fields for each of the four
corners of a monitoring plot.

#2432
#2431  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sgrimm and the rest of your teammates on  Graphite


feat: add block option drop down

Fixes #474
My PR closes #474
👨💻 Changes proposed(added an onClick code snippet to enhance the code
✔ Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] The title and description of the PR is clear and explains the approach.

Note to reviewers

📷 Screenshots

PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Issue Reference In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.
Conventional Commit PR Title
In order to be considered for merging, the pull request title must match the specification in conventional commits. You can edit the title in order for this check to pass. Most often, our PR titles are something like one of these:
* docs: correct typo in README

* feat: implement dark mode"

* fix: correct remove button behavior

Linting Errors
* Found type "null", must be one of "feat","fix","docs","style","refactor","perf","test","build","ci","chore","revert"

* No subject found

@Anushka-Bhowmick
Please fix this error, if you don't know how, try this:

Read the error carefully or read the contributing file
Checkout past merged Pull requests to see how they were done for it to be merged

Note: you can edit your PR message, this PR won't be merged if the error isn't gone and you have a week max to fix it before the PR gets closed without being merged

PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Issue Reference In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.
Conventional Commit PR Title
In order to be considered for merging, the pull request title must match the specification in conventional commits. You can edit the title in order for this check to pass. Most often, our PR titles are something like one of these:
* docs: correct typo in README

* feat: implement dark mode"

* fix: correct remove button behavior

Linting Errors
* Found type "enhancement", must be one of "feat","fix","docs","style","refactor","perf","test","build","ci","chore","revert"

@Anushka-Bhowmick still there, you know what to do already

Thank you! Learned quite some stuffs :)


[Bug][Keyboard] Ctrl (right) combo not working to navigate media track

ℹ Computer information

PowerToys version: 0.21.1
PowerToy Utility: keyboard manager
Running PowerToys as Admin: no
Windows build number: [run "winver"]
Edition	Windows 10 Education
Version	20H2
Installed on	12/14/2019
OS build	19042.508
Experience	Windows Feature Experience Pack 120.2212.31.0

📝 Provide detailed reproduction steps (if any)

Set combo by typing:

Shortcut
Map to
Target

Ctrl (right) + .
Next Track
All App

Ctrl (right) + ,
Previous Track
All App

Ctrl (right) + Shift (right) + Space
Play/Pause Media
All App

Open Spotify and play music

✔ Expected result
Expected to play, pause, next or previous track in Spotify by above combo
This worked in previous version 0.20.0
❌ Actual result
Only by using Ctrt (right) + Shift (right) + . (or ,) that I could play next or previous track, the play and pause does not work
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

@quangkieu is this only happening for that specific shortcut? What if you remap some other shortcut (like Ctrl+A) or a key (like A) to Play/Pause Media? We have an issue open about remapping to Play/Pause Media not always working (#3255)

Hey @arjunbalgovind, I still got same problem. I am to use the "Type" to capture Ctrl+A to assign the shortcut. But to trigger the action after registering, I have to hold Ctrl+Shift+A for triggering the action

dup'ing against #3255 as the tracking issue.


issue for drag & drop between trees

Hi,
i want to drag and drop node between trees, but unable to reach out the solution, How it possible.
I have two tree control,  one is default tree & other one is custom tree, need to create custom tree throw default tree using drag & drop concept over the node. But unable to get solution, how to move node between to trees, I have read the documentation about  angular2-tree-component. but there is no much clear to implementation for this. Please share solution as per my scenario. it's too much argent in my development
Please look for an answer in the docs before submitting an issue:
angular2-tree.readme.io.
In case you are reporting a bug, please specify which version of angular2-tree-component you are using.
Thank you

Hi,
drag and drop between trees is enabled by default in the latest version.
simply set allowDrag: true option on both trees.


ENG-323: Add Python code smell check githook

This feature should be merged to the experimental/tech-stack-repo-overlays branch.

Implementation of this feature is on hold now. Please, see PR #133 for more details.


Is Token or Secret as parameters of RTMP URL secure?

Issue type: Question
Description:
I know that we can process authentication using on_connect, on_publish,... And we need to pass token or secret as parameters of URL.
Is it secure?

There is also RTMPS. RTMP is as secure as HTTP.. Both are plaintext protocols so everybody (in the middle) can grab it.

Thank @zarat . But with HTTPs, it cannot secure parameter in the URL, it can only secure parameter in payload (request body) and HTTP header. Is it the same as RTMPs?


improving package names

Thanks for creating this repository. Now, I am studying with this.
Especially, I felt interested in wrapping service.
var bs booking.Service
bs = booking.NewService(..)
bs = booking.NewLoggingService(...)

As far as I know, DDD has layerd architecture, but packages on this code is placed in flat.
When I develop golang web application, for example, I often write as below:
interfaces/booking/
interfaces/routing/
application/booking/
domain/cargo/
infrastructure/inmem/
infrastructure/mongo/
...

I think this is better, but what do you think?
I am happy if you check it out 😄

I'm glad that you're finding the repository useful! Also, thank you for contributing with you thoughts and ideas to the project!
DDD does not dictate how you structure your project. What's important in terms of the practice of DDD is that the business is the most important thing in your project and personally, I think the project structure should reflect this.
My personal opinion is that the structure you propose is more of a "Java/C#-thing" than a "DDD-thing". In Go, packages are not intended to be used for simply organizing code. Instead, they should be units of high cohesion that are named after what they provide, not what they contain. Think vertical layers rather than horizontal layers.
I briefly touch on this in my talk at GolangUK: https://youtu.be/twcDf_Y2gXY?t=1129

Thanks for your quick reply !
I understood your thought. I will try it on my project and watch your movie 👍
However, I wonder if beginners of DDD are difficult to understand code which is placed like this repository 🤔

I believe beginners of DDD should focus on exploring the business with the domain experts, discovering the importance of the ubiquitous language and then possibly even learning about bounded contexts and aggregate design. How the actual code looks like depends on the language you use, but the principles will still apply. For example, if you're using a functional programming language, many of the object-oriented patterns in Eric's book wouldn't make any sense. I think the ideas from DDD should work in harmony with the language/technology that has been chosen to do the job. Compare with Paul Rayner's Ruby port of the DDD sample app, which looks quite different from both the Go and Java versions because it's been adapted to the idioms and best practices for building Ruby on Rails applications.
I will leave this issue open for now so feel free to add any thoughts you might have.

I am sorry for delay response.
Maybe, I do not understand "Go-thing".

In Go, packages are not intended to be used for simply organizing code. Instead, they should be units of high cohesion that are named after what they provide, not what they contain. Think vertical layers rather than horizontal layers.

I want to try this thought one day. After that, let me show my thought if I have some insights.


Add maven check plugins for Finchley branch & format code with it

Also need sync code from master branch.

I found different version has different rules with different maven checkstyle plugin version.
so i think it's no need to format code, we begin to follow this rule in Hoxton version.


Added support for GridImage deprecation in OptsSpec parser

This PR addresses issue #1252 by converting 'GridImage' to 'Image' in the opts parser. Here is an example of what it does:

@philippjfr In raster.py we have:
GridImage = Image

Would it be worth wrapping GridImage as a subclass of Image, just to issue a deprecation warning in the constructor?

Would it be worth wrapping GridImage as a subclass of Image, just to issue a deprecation warning in the constructor?

Not a bad idea.

Now when you try to build a GridImage:

@philippjfr Ready to review.
I think this PR should make things easier for anyone who might be using GridImage. You could try very fancy things (e.g remapping the option tree) but I think these simple changes should do the trick.

This PR addresses issue #1252 by converting 'GridImage' to 'Image' in the opts parser.

This does miss any explicitly assigning to the option tree which I've used in a few places. But since anything else is bound to be complex I'm fine with this since we also have the warning. Will merge when tests pass.


CUDA version

You said this code was tested on the cuda 11.7 version.
Is it possible to experiment on the cuda 10.x version?

Yes it should work without a problem


[OSPK8-327] Allow static ip reservation

This allows to do static IP reservation for nodes by adding a
node entry to spec.reservations, like:
  reservations:
    controller-0:
      ipReservations:
        ctlplane: <IP_ADDRESS>
      macReservations: {}
    controller-1:
      ipReservations:
        ctlplane: <IP_ADDRESS>
      macReservations: {}
    controller-2:
      ipReservations:
        ctlplane: <IP_ADDRESS>
      macReservations: {}
    controlplane:
      ipReservations:
        ctlplane: <IP_ADDRESS>
      macReservations: {}
    openstackclient-0:
      ipReservations:
        ctlplane: <IP_ADDRESS>
      macReservations: {}

Where node name is RoleName lower + index. For the VIPs of the control
plane use controlplane and openstackclient-0 for the openstackclient
pod.
Via webhook it gets verified if

there are duplicates in the reservatios list to prevent that static
IPs get used for multiple hosts. In a follow up it should also get
checked if there are duplicates on update from static IPs and dynamic
created.
if the IP address from static reservations have a valid IPv4/6
format.

Adds openstacknetconfig_ip_reservation kuttl tests.
Also fixes a race in IP address generation due to different sources used.

This seems ready to me.  Unless anyone else wants to review, let's merge it.


fix: routebook visual updates

fixes #146

Adjusted padding in routebook
Replace custom skeleton with the reusable skeleton
Adjusted formatting of numbers to conform with Figma and fit on smaller screens, including the padding.

@VanishMax apologies - it seems I pushed a botched up version, working on a fix now.


Add Basic support to transform props, including translate, rotate, sc…

…ale, skewX, skewY and matrix. Keep in mind that the current implementation doesn't support  3-arguments rotate(a, x, y) transform yet.

Great 👍
Please merge asap!

I need this. Is it getting reviewed?

Sounds great, would scaleX, scaleY fit here too, might solve request/issue #354

When will it merge?

+1 This would be helpful to me also

Is there anything we can do to help this get merged?

It's already merge in [6.0.0] (https://github.com/react-native-community/react-native-svg/tree/6.0.0)

@magicismight Why there hasn't been a new release?

@henrikra 6.0.0 contains some heavy undertakings and the iOS port is not merged yet. Please be patient. :)


Docker Windows Container fails to run in priviledged mode

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
-->
Description
When using docker-compose up with the yml file below, container will run in priviledged mode.
version: "2.1"

services:
  web:
    build: .
    command: nodemon -L --debug=5858

    privileged: true
    tty: true
    ports:
      - "3000:3000"
      - "5858:5858"
networks:
  default:
    external:
      name: nat

dockerfile for base node image
FROM microsoft/windowsservercore

ENV NPM_CONFIG_LOGLEVEL info

RUN powershell -Command "wget -Uri https://nodejs.org/dist/v6.9.5/node-v6.9.5-x64.msi -OutFile node.msi -UseBasicParsing"

RUN msiexec.exe /q /i node.msi

CMD [ "node" ]

dockerfile for hapi server with serialport
FROM node:695

WORKDIR /app

RUN npm install --silent --progress=false -g<EMAIL_ADDRESS>
COPY package.json /app/package.json
RUN npm install

COPY . /app

CMD ["npm.cmd", "start"]

Steps to reproduce the behavior

docker build -t node . (the first dockerfile from above)
docker tag node:latest node:695
docker-compose build
docker-compose up

Describe the results you received:
When docker-compose up is run the initialization fails with the following error

PS C:\Users\honeyws\Documents\ComApiNodeWindows> docker-compose up
Removing comapinodewindows_web_1
Recreating f8442170a78f_comapinodewindows_web_1

ERROR: for web  Cannot start service web: container c1e3bd481a189a4f68566e4dd470af1ef385288ec7e831633e39363809358613 enc
ountered an error during CreateProcess: failure in a Windows system call: The system cannot find the file specified. (0x
2) extra info: {"ApplicationName":"","CommandLine":"nodemon -L --debug=5858","User":"","WorkingDirectory":"C:\\app","Env
ironment":{"NPM_CONFIG_LOGLEVEL":"info"},"EmulateConsole":true,"CreateStdInPipe":true,"CreateStdOutPipe":true,"CreateStd
ErrPipe":false,"ConsoleSize":[0,0]}
ERROR: Encountered errors while bringing up the project.
PS C:\Users\honeyws\Documents\ComApiNodeWindows>

Describe the results you expected:
Container should start in priviledged mode
Additional information you deem important (e.g. issue happens only occasionally):
Diagnostic id:  ID 097756B2-58F4-436C-901D-FFC79D6EA8B6/2017-02-15_15-24-44
originally reported:
https://github.com/docker/for-win/issues/501
Output of docker version:
PS C:\Users\honeyws\Documents\ComApiNodeWindows> docker version
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      windows/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.24)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      windows/amd64
 Experimental: true

Additional environment details (AWS, VirtualBox, physical, etc.):
Windows 10 pro

This is fully expected - there is no support for privileged containers on Windows in the platform. The best place to provide this feedback is by adding it to https://windowsserver.uservoice.com/forums/304624-containers/. For that reason, I'm closing this here.
@patricklang FYI.

If it's not supported, we should produce a proper error here. I'm reopening


New bats func

This needs some rework. Especially for all the tests that use files that exists. The test could instead create the files we want to test as setup() and teardown() function.

sorry, wasn't my intention to do this...


dataset download agreement

Hi,
Thanks for your contribution to the challenge. As an organizer I disagree with your prepare date section in the README. Please correct it so as to remove the password and redirect the users to the agreement. Moreover please to not distribute the surprise dataset as an external link to google drive, this is explicitly forbidden by the agreement (but for private use it is OK).
The section can become something like:

Download the ZeroSpeech dataset.

The English dataset:
wget https://download.zerospeech.com/2019/english.tgz
tar xvfz english.tgz -C data
rm -f english.tgz

The Surprise dataset:
wget https://download.zerospeech.com/2019/surprise.zip
# Go to https://download.zerospeech.com  and accept the licence agreement
# to get the password protecting the archive
unzip surprise.zip -d data
rm -f surprise.zip

Thank you,
Mathieu, for the ZeroSpeech team

Sorry for the delay, the violated section is fixed as requested.


API to tell editor to trigger rename after applying refactoring

Problem
Using the new extract method refactoring in TS 2.5, extracted methods currently are always named newFunction*. Renaming the extracted method requires a second step after the refactoring as been applied
A better flow would automatically trigger the rename on the new function after the refactoring has been applied.
Proposal
In the getEditsForRefactor response, return an additional field indicating that an editor should perform another action, such as rename, after the refactor has been applied.

renameLocation is not sufficient?

Thanks! I overlooked this but will give it a try

Looks like the property is there, but extract method is not setting it correctly. we should just set it be the span of the new function name.

@andy-ms can you take a look for release-2.5

After looking at the implementation, this is gonna be harder than we originally thought, so we will try to get this done for 2.5.3 instead.


[New Feature] Display all the Badges with ext

Hi Thanks for this amazing project at first.
I would like to suggest the new feature that we can change the ext=all_badges or maybe we can rename it later! With this feature we can display all the badges we have earned in the LeetCode Stats Card.
If yes, maybe we can have the further discuss, and please let me know if I can help you!

Displaying multiple badges is a great feature, but showing "all" badges might have some issues. For example, some users (like this one: https://leetcode.com/u/AoK_Blast/) have an excessive number of badges.
I suggest showing a maximum of 4 or 5 recent badges or providing an option for users to select which badges they want to display.
I might be able to try this later, or I'd be happy to review if you'd like to submit a PR.

Displaying multiple badges is a great feature, but showing "all" badges might have some issues. For example, some users (like this one: https://leetcode.com/u/AoK_Blast/) have an excessive number of badges.
I suggest showing a maximum of 4 or 5 recent badges or providing an option for users to select which badges they want to display.
I might be able to try this later, or I'd be happy to review if you'd like to submit a PR.

Yeah, your concern is right, the maximum of 4 or 5 recent badges is a great advise! I could have spent some time to research how to achieve it!


The server seems to fail to generate the documentation page BigUInt.

Crate name
cryptocol
Build failure link
https://docs.rs/cryptocol/latest/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt
Requested RAM limit
No response
Requested timeout
No response
Requested number of targets
No response
Why your crate needs the resource increases
Up to the version 0.8.4 or earlier, if you click the tap 18 versions on the website (https://crates.io/crates/cryptocol) and then you click the item 0.8.4 as shown bellow:

then the browser will navigate to the page (https://crates.io/crates/cryptocol/0.8.4). Then if you click the link of docs.rs/cryptocol/0.8.4 on the right side of the cryptocol introduction page of crate.io (https://crates.io/crates/cryptocol) as shown below:

then the browser navigates to the main page of the crate cryptocol through the link (https://docs.rs/cryptocol/0.8.4/cryptocol/). There, if you click the link BigUInt (https://docs.rs/cryptocol/0.8.4/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt) to the documentation page of BigUInt as shown below:

then the server generates the documentation page of BigUInt which the link (https://docs.rs/cryptocol/0.8.4/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt) is pointing to, and the browser shows the documentation page of BigUInt  (https://docs.rs/cryptocol/0.8.4/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt) correctly and successfully without any problem as shown below:

That is fine!!!
However, from the version 0.8.5 on, when you click the link of BigUInt of the cryptocol introduction page of crate.io (https://crates.io/crates/cryptocol) as shown below:

then the browser navigates to the documentation page of BigUInt through the link (https://docs.rs/cryptocol/latest/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt), but the server does not generate the documentation page of BigUInt which the link (https://docs.rs/cryptocol/latest/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt) is pointing to, and the browser shows the page as shown below:

in which it is written as follows:
The requested resource does not exist
no such resource.
Also if you click the link of docs.rs/cryptocol/0.8.5 on the right side of the cryptocol introduction page of crate.io (https://crates.io/crates/cryptocol) as shown below:

then the browser navigates to the main page of the crate cryptocol through the link (https://docs.rs/cryptocol/0.8.5/cryptocol/). There, if you click the link BigUInt (https://docs.rs/cryptocol/0.8.5/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt) to the documentation page of BigUInt as shown below:

then the server generates the documentation page of BigUInt which the link (https://docs.rs/cryptocol/0.8.5/cryptocol/number/big_uint/struct.BigUInt.html#struct.BigUInt) is pointing to, but the server does not generate the documentation page of BigUInt which the link is pointing to, but the browser shows the page as shown below:

in which it is written as follows:
The requested resource does not exist
no such resource.
Actually, the source file '/src/number/big_uint.rs' has more than 40,000 lines as shown below and it will get more as I develop more. I don't know whether or not it reaches the limitation.

Please dig this problem and let me know the reason if the reason is in my work. And if the reason of the problem is in the server, please fix it.
If you need more information about this problem, please let me know.
Many blessings

Hi, sorry for the delay here, was swamped with daywork, and the other docs.rs production issues :)
I'm not sure what the problem is, but will investigate.
Btw, a good starting point is sometimes the archive we are generating in the build:
https://docs.rs/about/download
Which is where the files are pulled out by the webserver.

So to wrap it up: we are generating the documentation page, but it's too big to serve

cc @GuillaumeGomez or is there a nicer way?

I'm surprised that doc pages can be so big. O.o
And absolutely no clue. Apart from removing docs/items I don't really see how to reduce the page size.

I wrote email to Denis about this matter but I haven't gotten any reply from him. So, I write it again here.
After I generated the documentation by "cargo doc" on my local machine, I found that the struct.BigUInt.html is only 4.6 MB on my machine.
Please see the following.

Are we talking about the same file?
struct.BigUInt.html is located in '.../doc/cryptocol/number/big_uint'. Did you mean the same file '.../doc/cryptocol/number/big_uint/struct.BigUInt.html'?
Whole documentation files are all 39.2 MB only. Please see the following.

Strange! Why is '.../doc/cryptocol/number/big_uint/struct.BigUInt.html' so big in the server while it is only 4.6 MB on my machine?
I think that the server does not generate the webpage as cargo does.
Please report this problem to the team of crates.io webserver developers.
Merry Christmas.

I'll answer out of order.

Please report this problem to the team of crates.io webserver developers.

They don't have anything to do with this, it's either this (docs.rs) or the builder (rustdoc).

I wrote email to Denis about this matter but I haven't gotten any reply from him. So, I write it again here.

Sorry, we don't provide private support for anyone, the channels are either github issues, or zulip threads.

After I generated the documentation by "cargo doc" on my local machine, I found that the struct.BigUInt.html is only 4.6 MB on my machine.

back to the issue, super interesting :)
To build docs the same we we do, you have to use a nightly toolchain, and set some build parameters.
So first you should try to build with nightly (cargo +nightly docs) and check the output. These docs you then can also open and see what contributes to the size.
On top of that we set some arguments we need for hosting, you can come quite near to these by using cargo docs-rs and then call
$ cargo +nightly docs-rs
...

to check the output.
I

Strange!
When I execute cargo +nightly docs, it keeps running but never ends. It looks that the cargo falls into infinite loop. Frankly speaking, I don't know what is its reason or what causes cargo to fall into infinite loop. I have used cargo +nightly docs for the first time.
Do you think that my source code including documentation is guilty or that cargo does something wrong when it is executed with the arguments +nightly and docs?

When I execute cargo +nightly docs, it keeps running but never ends. It looks that the cargo falls into infinite loop. Frankly speaking, I don't know what is its reason or what causes cargo to fall into infinite loop. I have used cargo +nightly docs for the first time.

how long did you try running it?

Would you please report this issue to the team of cargo developers? I dare to suspect that cargo does not work well (or properly) with the arguments +nightly and docs especially against big source codes. It works fine with the arguments doc even against big source codes such as 2.1 MB-sized file.

This is not a cargo issue.
My current guess is:

there are some new features in rustdoc in nightly that are not on stable
with a source file that big building the docs takes more time (docs.rs has it), and creates a huge doc file.
my guess it that if you would let the local build run for an hour at least, you will see the same result

Generally source files that big are difficult to handle for many systems, so making it smaller would be a good optimization in any case.
@GuillaumeGomez might this be a size regression? Was there much added compared to stable?

The only big change in rustdoc I'm aware of is the add of the merged doctests, so it shouldn't impact things here. However there were a lot of small changes, so maybe one (or more) of them is messing things up.
We need to have something to debug to figure out what's wrong. ^^'

How long did you try running it?
I ran it for about twenty minutes or a little bit less.
I didn't let it run for an hour or that long.
Still, I feel it strange about why it takes so irrationally long and generates irrationally big size of file. For version 0.8.4, BigUInt.rs is only a little bit smaller than BigUInt.rs of version 0.8.5. Such a little change in size makes huge difference. There must be a size threshold that cargo cannot deal with files.

I think it's an infinite loop, the interesting thing would be to find a small case triggering this infinite loop so the rustdoc team could fix it and have a regression test.

Then, would you please report this issue to the team of cargo developers or whatever proper team?
I think, the fact that cargo doc works for the same source codes but cargo +nightly docs does not work for the same source code indicates something wrong in cargo. If my codes with documentation are guilty, both cargo doc and cargo +nightly docs should not work.
Thanks to Guillaume Gomez for your reporting this issue to the proper team of cargo development in advance.
Merry Christmas to everybody

You can open it here. ;)
Please cc me on it as well.

What category am I supposed to open?


small bugfix to pmt plugin

sorry i should have added some words for this change. Without this change, the option does not work, because everywhere else the option is called --set-stream-identifier instead of --add-stream-identifier

Hi Harald,
This particular fix in plugin pmt is unfortunately incorrect. There are two distinct options:

An old one, --add-stream-identifier which is a boolean one, without parameter. It adds a component tag on all elementary streams which do not have one. The values are allocated sequentially.
The new one that you contributed to create, --set-stream-identifier, which sets a precise component tag value on a precise component.

There are some non-regression tests for these options in test-020 in the tsduck-test repository.
I agree that this is a big confusing. But this is the kind of thing that happens when two modifications are made at 10 years of distance...
So, I have to mark this one as invalid.
I see that you just pushed another commit in the same  PR for the mux plugin which seems interesting. So, I would prefer it to be in a different pull request. Especially because one is invalid but not the other one.
If you are not familiar with the PR workflow (and I wasn't either not so long ago), I suggest that you read this article. I found it quite useful for me.


Use-after-free in mrb_proc_new

The following input to mirb demonstrates a crash: 214030.txt
I was able to reproduce this on Ubuntu 14.04 when building with gcc (but not on OS X with clang). Note that mirb must be used, not mruby.
Valgrind shows many invalid reads and writes, beginning with the following:
==11194== Invalid read of size 8
==11194==    at 0x41D090: mrb_proc_new (proc.c:25)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==    by 0x402EA3: main (mirb.c:537)
==11194==  Address 0x68c50c8 is 8 bytes inside a block of size 640 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x40814C: mrb_free_context (state.c:227)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==
==11194== Invalid read of size 8
==11194==    at 0x41D09D: mrb_proc_new (proc.c:26)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==    by 0x402EA3: main (mirb.c:537)
==11194==  Address 0x68c50c8 is 8 bytes inside a block of size 640 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x40814C: mrb_free_context (state.c:227)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==
==11194== Invalid read of size 8
==11194==    at 0x40AA69: mrb_vm_run (vm.c:815)
==11194==    by 0x402F3E: main (mirb.c:549)
==11194==  Address 0x68c6e58 is 8 bytes inside a block of size 104 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x40818D: mrb_free_context (state.c:230)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==
==11194== Invalid read of size 8
==11194==    at 0x408BB8: stack_extend (vm.c:180)
==11194==    by 0x40AA99: mrb_vm_run (vm.c:818)
==11194==    by 0x402F3E: main (mirb.c:549)
==11194==  Address 0x68c6e58 is 8 bytes inside a block of size 104 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x40818D: mrb_free_context (state.c:230)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==
==11194== Invalid read of size 8
==11194==    at 0x408BD1: stack_extend (vm.c:180)
==11194==    by 0x40AA99: mrb_vm_run (vm.c:818)
==11194==    by 0x402F3E: main (mirb.c:549)
==11194==  Address 0x68c6e68 is 24 bytes inside a block of size 104 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x40818D: mrb_free_context (state.c:230)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==
==11194== Invalid read of size 8
==11194==    at 0x4089EE: init_new_stack_space (vm.c:132)
==11194==    by 0x408C01: stack_extend (vm.c:183)
==11194==    by 0x40AA99: mrb_vm_run (vm.c:818)
==11194==    by 0x402F3E: main (mirb.c:549)
==11194==  Address 0x68c6e58 is 8 bytes inside a block of size 104 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x40818D: mrb_free_context (state.c:230)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==
==11194== Invalid write of size 8
==11194==    at 0x4087C0: stack_clear (vm.c:73)
==11194==    by 0x408A09: init_new_stack_space (vm.c:132)
==11194==    by 0x408C01: stack_extend (vm.c:183)
==11194==    by 0x40AA99: mrb_vm_run (vm.c:818)
==11194==    by 0x402F3E: main (mirb.c:549)
==11194==  Address 0x68c6f20 is 32 bytes inside a block of size 1,024 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x408135: mrb_free_context (state.c:226)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)
==11194==
==11194== Invalid write of size 8
==11194==    at 0x4087C3: stack_clear (vm.c:73)
==11194==    by 0x408A09: init_new_stack_space (vm.c:132)
==11194==    by 0x408C01: stack_extend (vm.c:183)
==11194==    by 0x40AA99: mrb_vm_run (vm.c:818)
==11194==    by 0x402F3E: main (mirb.c:549)
==11194==  Address 0x68c6f28 is 40 bytes inside a block of size 1,024 free'd
==11194==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11194==    by 0x407B59: mrb_default_allocf (state.c:56)
==11194==    by 0x40344A: mrb_free (gc.c:268)
==11194==    by 0x408135: mrb_free_context (state.c:226)
==11194==    by 0x40455D: obj_free (gc.c:769)
==11194==    by 0x404EEF: incremental_sweep_phase (gc.c:1030)
==11194==    by 0x40517D: incremental_gc (gc.c:1096)
==11194==    by 0x4051E1: incremental_gc_until (gc.c:1112)
==11194==    by 0x4053CF: mrb_incremental_gc (gc.c:1163)
==11194==    by 0x403C59: mrb_obj_alloc (gc.c:507)
==11194==    by 0x41D074: mrb_proc_new (proc.c:22)
==11194==    by 0x443FE6: mrb_generate_code (codegen.c:2990)

In the end mirb crashes due to heap corruption:
*** Error in `bin/mirb': corrupted double-linked list: 0x00000000025b4110 ***
Aborted (core dumped)

This issue was reported by https://hackerone.com/ston3

My mistake I was testing with an old revision. It seems this stopped crashing after https://github.com/mruby/mruby/commit/6ea26aafd5a2d64987bd1607f9212f6ce494765c.


revamped footer section

Problem
The footer was too minimal and lacked important information like contact details, navigation links, and social media icons.
Solution
Created a more informative footer with sections for Contact Us, Quick Links, and Social Media, along with improved styling for better presentation.
Changes

Added new Footer component with contact info, quick links, and social media icons.
Updated the Home component to include the new footer.
Modified CSS to enhance layout and responsiveness.

We prefer a drawing design for this feature. Currently, your design doesn't match our requirements


addHotspotOnClick wrong position

Description
Im trying to make a function to add an hotspot on click and im using "positionAndNormalFromPoint(clientX, clientY)" for the coordinates but it works only if the model-viewer is in full screen.
I tried to put it in a div and add an height and a width to the model-viewer but the position i get is wrong.
Version

model-viewer: v3.1.1

Browser Affected

[x] Chrome, version: 113.0.5672.64
[ ] Edge
[ ] Firefox
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[x] Windows

Fixed by #4268, see https://github.com/google/model-viewer/pull/4268#discussion_r1187972870
I happened to just find and fix this last week. Until the next release you can work around by offsetting by the MV element x and y.


Incorrect length reading on project.mp4 linux

Describe the bug
When I export a video on my linux mint desktop using the ffmpeg exporter, vlc (and my other installed media players) recognize it as having a much longer length than the video actually is, and it stops at the correct time but before the playback head has reached the end of the line.
To Reproduce
export a video using the ffmpeg exporter, maybe operating system has something to do with it? I also have audio on the video which has a negative start value and exceeds the end of the graphics, but the video doesn't keep rendering with the remainder of the audio and the length doesn't match so i'm unsure if that is relevant.
Expected behavior
I expect the video file to have the correct length listed and to finish along with the playback head.
Console errors
If applicable, add a screenshot of the errors displayed in the console of your browser (F12) or your terminal.
Package versions:
unsure which version of the package i'm using, happy to provide if someone shows me how to find htis

Closing this in favor of #7


startPingTimer() method crashing

Hi team,
I am getting repeated crash on startPingTimer method. Please help me to fix it.
I am calling  Connect.finishCurrentActivity() inside onDone, onCancel and onError method.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.runOnUiThread(java.lang.Runnable)' on a null object reference
at com.mastercard.openbanking.connect.Connect$2.run(Connect.java:252)
at java.util.TimerThread.mainLoop(Timer.java:563)
at java.util.TimerThread.run(Timer.java:513)

Regarding your call to Connect.finishCurrentActivity() inside onDone, onCancel, and onError methods, I want to clarify that our SDK handles these actions internally, You shouldn't need to explicitly call Connect.finishCurrentActivity() in any events.
To assist you further and debug the issue effectively, could you please provide us with the following details:

Which version of the Connect Android SDK you are using?
The Android device model and its Android version where the error is occurring?
Is this crash occurring intermittently or every time you launch Connect?
Are there any specific actions or scenarios that seem to trigger the crash?

With this information, we'll be better equipped to diagnose and resolve the issue you're facing.
Looking forward to your response.

If I will not call  Connect.finishCurrentActivity() then I am start getting crashes and it says "There is already another Connect Activity running" .
Which version of the Connect Android SDK you are using? - 3.0.2
The Android device model and its Android version where the error is occurring? - Not specific with device
Is this crash occurring intermittently or every time you launch Connect?  - Intermittently
Are there any specific actions or scenarios that seem to trigger the crash? - Not sure


Merge in current source from l3tools

There are two codebases, there is this repo, and there is the L3Tools stream from Jazzdev.  I would like to merge everything from the L3Tools stream into this code base and move forward with this repo as the main repo for the Work Item Command Line tool.

Hi @spencermurata I am fine with merging. Please make sure to create a release if necessary. Also, if I recall correctly the main branch is now with Log4j 2 to work with 7.0.2 SR1 and later.

Adding the jazz.net work item:
560420: Investigate work item command line compile/package (https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/560420)

@spencermurata I accepted your pull request. I did some minor adjustments:
I downloaded the required libraries locally and placed them into the folder C:\Dev\WCL_ExternalLibs.
I created user libraries in the build path:
JunoAll
JenaCore
EWMCommon
and added the jar files there. This is required to be able to run the commands in the Eclipse client. I have not found an easier way to specify where to look up the external libraries. If you know a better way, please let me know.
I also deprecated com.ibm.js.team.workitem.commandline.commands.ExportCommand which is no longer used but replaced by
ExportWorkItemsCommand.java

@sanketbhalodiya FYI


Correction for raw affiliation École Normale Supérieure de Lyon & IHRIM (France)

Correction needed for raw affiliation École Normale Supérieure de Lyon & IHRIM (France)
raw_affiliation_name: École Normale Supérieure de Lyon & IHRIM (France)
new_rors: 04zmssz18;02wmc6m46
previous_rors: 04zmssz18
works_examples: W4311245868;W4311175945
contact: edbc265fa4b980409a5a09e3213535b4:4e7347350bdaf46583442fa6d68f @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


您好，问下K8SHA_CALICO_REACHABLE_IP

calico reachable ip address
export K8SHA_CALICO_REACHABLE_IP=<IP_ADDRESS>
您好，这一步的参数的<IP_ADDRESS>这个IP是我们服务器的网关地址吗？还是calico自用的IP和内网环境无关？

好的，谢谢，我设置成服务器内网的网关

您好，初始化的时候报这个错误Oct 29 16:00:38 k8s-master01 kubelet: W1029 16:00:38.964884    3396 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 29 16:00:38 k8s-master01 kubelet: E1029 16:00:38.964988    3396 kubelet.go:2110] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
Oct 29 16:00:43 k8s-master01 kubelet: W1029 16:00:43.965647    3396 cni.go:172] Unable to update cni config: No networks found in /etc/cni/net.d
Oct 29 16:00:43 k8s-master01 kubelet: E1029 16:00:43.965779    3396 kubelet.go:2110] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

确认一下
cni组件是否安装成功。用kubeadm reset重置一下再进行重装看看问题依然存在？

您好，我是按照文档一步一步来的，请问cni组件是kubernetes-cni吗？
我初始化的时候报错如下：
[root@k8s-master01 ~]# kubeadm init --config /root/kubeadm-config.yaml
[init] using Kubernetes version: v1.11.1
[preflight] running pre-flight checks
I1030 09:55:34.421271   18939 kernel_validator.go:81] Validating kernel version
I1030 09:55:34.421448   18939 kernel_validator.go:96] Validating kernel config
[WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 17.12.0-ce. Max validated version: 17.03
[preflight/images] Pulling images required for setting up a Kubernetes cluster
[preflight/images] This might take a minute or two, depending on the speed of your internet connection
[preflight/images] You can also perform this action in beforehand using 'kubeadm config images pull'
[kubelet] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[preflight] Activating the kubelet service
[certificates] Generated ca certificate and key.
[certificates] Generated apiserver certificate and key.
[certificates] apiserver serving cert is signed for DNS names [k8s-master01 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local k8s-master01 k8s-master02 k8s-master03 k8s-master-lb] and IPs [<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>]
[certificates] Generated apiserver-kubelet-client certificate and key.
[certificates] Generated sa key and public key.
[certificates] Generated front-proxy-ca certificate and key.
[certificates] Generated front-proxy-client certificate and key.
[certificates] Generated etcd/ca certificate and key.
[certificates] Generated etcd/server certificate and key.
[certificates] etcd/server serving cert is signed for DNS names [k8s-master01 localhost k8s-master01] and IPs [<IP_ADDRESS> ::1 <IP_ADDRESS>]
[certificates] Generated etcd/peer certificate and key.
[certificates] etcd/peer serving cert is signed for DNS names [k8s-master01 localhost k8s-master01] and IPs [<IP_ADDRESS> <IP_ADDRESS> ::1 <IP_ADDRESS>]
[certificates] Generated etcd/healthcheck-client certificate and key.
[certificates] Generated apiserver-etcd-client certificate and key.
[certificates] valid certificates and keys now exist in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/admin.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/kubelet.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/controller-manager.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/scheduler.conf"
[controlplane] wrote Static Pod manifest for component kube-apiserver to "/etc/kubernetes/manifests/kube-apiserver.yaml"
[controlplane] wrote Static Pod manifest for component kube-controller-manager to "/etc/kubernetes/manifests/kube-controller-manager.yaml"
[controlplane] wrote Static Pod manifest for component kube-scheduler to "/etc/kubernetes/manifests/kube-scheduler.yaml"
[etcd] Wrote Static Pod manifest for a local etcd instance to "/etc/kubernetes/manifests/etcd.yaml"
[init] waiting for the kubelet to boot up the control plane as Static Pods from directory "/etc/kubernetes/manifests"
[init] this might take a minute or longer if the control plane images have to be pulled
	Unfortunately, an error has occurred:
		timed out waiting for the condition

	This error is likely caused by:
		- The kubelet is not running
		- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)
		- No internet connection is available so the kubelet cannot pull or find the following control plane images:
			- k8s.gcr.io/kube-apiserver-amd64:v1.11.1
			- k8s.gcr.io/kube-controller-manager-amd64:v1.11.1
			- k8s.gcr.io/kube-scheduler-amd64:v1.11.1
			- k8s.gcr.io/etcd-amd64:3.2.18
			- You can check or miligate this in beforehand with "kubeadm config images pull" to make sure the images
			  are downloaded locally and cached.

	If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
		- 'systemctl status kubelet'
		- 'journalctl -xeu kubelet'

	Additionally, a control plane component may have crashed or exited when started by the container runtime.
	To troubleshoot, list all containers using your preferred container runtimes CLI, e.g. docker.
	Here is one example how you may list all Kubernetes containers running in docker:
		- 'docker ps -a | grep kube | grep -v pause'
		Once you have found the failing container, you can inspect its logs with:
		- 'docker logs CONTAINERID'

couldn't initialize a Kubernetes cluster
我是提前下载好的镜像，和这个有关系吗？
[root@k8s-master01 bin]# docker images | grep gcr
gcr.io/istio-release/galley                           1.0.0               492a18a44119        3 months ago        65.8MB
gcr.io/istio-release/grafana                          1.0.0               95aa697d9bbe        3 months ago        301MB
gcr.io/istio-release/citadel                          1.0.0               db952d07e89b        3 months ago        51.6MB
gcr.io/istio-release/mixer                            1.0.0               1fe406b9e272        3 months ago        64.4MB
gcr.io/istio-release/servicegraph                     1.0.0               5f5bba04bf25        3 months ago        11.2MB
gcr.io/istio-release/sidecar_injector                 1.0.0               6af3c2187c8c        3 months ago        45.3MB
gcr.io/istio-release/proxy_init                       1.0.0               c7c94fe3e39c        3 months ago        119MB
gcr.io/istio-release/proxyv2                          1.0.0               f2e16d78e5ee        3 months ago        351MB
gcr.io/istio-release/pilot                            1.0.0               47be4debdda6        3 months ago        289MB
k8s.gcr.io/kube-proxy-amd64                           v1.11.1             d5c25579d0ff        3 months ago        97.8MB
k8s.gcr.io/kube-scheduler-amd64                       v1.11.1             272b3a60cd68        3 months ago        56.8MB
k8s.gcr.io/kube-controller-manager-amd64              v1.11.1             52096ee87d0e        3 months ago        155MB
k8s.gcr.io/kube-apiserver-amd64                       v1.11.1             816332bd9d11        3 months ago        187MB
k8s.gcr.io/coredns                                    1.1.3               b3b94275d97c        5 months ago        45.6MB
gcr.io/google_containers/kubernetes-dashboard-amd64   v1.8.3              0c60bcf89900        8 months ago        102MB
k8s.gcr.io/pause                                      3.1                 da86e6ba6ca1        10 months ago       742kB
gcr.io/google_containers/metrics-server-amd64         v0.2.1<PHONE_NUMBER>f3        10 months ago       42.5MB
k8s.gcr.io/etcd-amd64                                 3.2.18              a9308c067589        2 years ago         28.2MB
k8s.gcr.io/heapster-amd64                             v1.5.4              d2d2bfdfb48f        3 years ago         34.5MB
k8s.gcr.io/heapster-grafana-amd64                     v5.0.4              b2951ae24ffe        3 years ago         250MB
k8s.gcr.io/heapster-influxdb-amd64                    v1.5.2              10eaf557026e        3 years ago         275MB
然后日志如下：
Oct 30 11:27:15 k8s-master01 kubelet: I1030 11:27:15.767346   25331 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 30 11:27:25 k8s-master01 kubelet: I1030 11:27:25.788717   25331 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 30 11:27:35 k8s-master01 kubelet: I1030 11:27:35.810285   25331 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 30 11:27:45 k8s-master01 kubelet: I1030 11:27:45.831823   25331 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 30 11:27:55 k8s-master01 kubelet: I1030 11:27:55.854005   25331 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 30 11:28:05 k8s-master01 kubelet: I1030 11:28:05.875925   25331 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
Oct 30 11:28:15 k8s-master01 kubelet: I1030 11:28:15.899547   25331 kubelet_node_status.go:269] Setting node annotation to enable volume controller attach/detach
最后还是没有初始化成功：
报错如下：
[root@k8s-master01 ~]# kubeadm init --config /root/kubeadm-config.yaml
[init] using Kubernetes version: v1.11.1
[preflight] running pre-flight checks
I1030 11:23:23.722106   25220 kernel_validator.go:81] Validating kernel version
I1030 11:23:23.722199   25220 kernel_validator.go:96] Validating kernel config
[WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 17.12.0-ce. Max validated version: 17.03
[preflight/images] Pulling images required for setting up a Kubernetes cluster
[preflight/images] This might take a minute or two, depending on the speed of your internet connection
[preflight/images] You can also perform this action in beforehand using 'kubeadm config images pull'
[kubelet] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[preflight] Activating the kubelet service
[certificates] Generated ca certificate and key.
[certificates] Generated apiserver certificate and key.
[certificates] apiserver serving cert is signed for DNS names [k8s-master01 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local k8s-master01 k8s-master02 k8s-master03 k8s-master-lb] and IPs [<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>]
[certificates] Generated apiserver-kubelet-client certificate and key.
[certificates] Generated sa key and public key.
[certificates] Generated front-proxy-ca certificate and key.
[certificates] Generated front-proxy-client certificate and key.
[certificates] Generated etcd/ca certificate and key.
[certificates] Generated etcd/server certificate and key.
[certificates] etcd/server serving cert is signed for DNS names [k8s-master01 localhost k8s-master01] and IPs [<IP_ADDRESS> ::1 <IP_ADDRESS>]
[certificates] Generated etcd/peer certificate and key.
[certificates] etcd/peer serving cert is signed for DNS names [k8s-master01 localhost k8s-master01] and IPs [<IP_ADDRESS> <IP_ADDRESS> ::1 <IP_ADDRESS>]
[certificates] Generated etcd/healthcheck-client certificate and key.
[certificates] Generated apiserver-etcd-client certificate and key.
[certificates] valid certificates and keys now exist in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/admin.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/kubelet.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/controller-manager.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/scheduler.conf"
[controlplane] wrote Static Pod manifest for component kube-apiserver to "/etc/kubernetes/manifests/kube-apiserver.yaml"
[controlplane] wrote Static Pod manifest for component kube-controller-manager to "/etc/kubernetes/manifests/kube-controller-manager.yaml"
[controlplane] wrote Static Pod manifest for component kube-scheduler to "/etc/kubernetes/manifests/kube-scheduler.yaml"
[etcd] Wrote Static Pod manifest for a local etcd instance to "/etc/kubernetes/manifests/etcd.yaml"
[init] waiting for the kubelet to boot up the control plane as Static Pods from directory "/etc/kubernetes/manifests"
[init] this might take a minute or longer if the control plane images have to be pulled
	Unfortunately, an error has occurred:
		timed out waiting for the condition

	This error is likely caused by:
		- The kubelet is not running
		- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)
		- No internet connection is available so the kubelet cannot pull or find the following control plane images:
			- k8s.gcr.io/kube-apiserver-amd64:v1.11.1
			- k8s.gcr.io/kube-controller-manager-amd64:v1.11.1
			- k8s.gcr.io/kube-scheduler-amd64:v1.11.1
			- k8s.gcr.io/etcd-amd64:3.2.18
			- You can check or miligate this in beforehand with "kubeadm config images pull" to make sure the images
			  are downloaded locally and cached.

	If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
		- 'systemctl status kubelet'
		- 'journalctl -xeu kubelet'

	Additionally, a control plane component may have crashed or exited when started by the container runtime.
	To troubleshoot, list all containers using your preferred container runtimes CLI, e.g. docker.
	Here is one example how you may list all Kubernetes containers running in docker:
		- 'docker ps -a | grep kube | grep -v pause'
		Once you have found the failing container, you can inspect its logs with:
		- 'docker logs CONTAINERID'

couldn't initialize a Kubernetes cluster
请问这个是因为不能访问国外的网络引起的吗？因为我翻了墙还是不能下载gcr的镜像。

打开一个终端，查看一下kubelet的日志吧。我都是内网情况下先下载好相关镜像的。
journalctl -f -t kubelet

另外，把你的kubeamd-config.yaml贴上来看看？


deploying ng2-ui-auth-example to a public domain

Hello Ron,
I am trying to deploy my app to my domain and having some difficulties. It works fine using localhost.
I put my node server on an azure domain which is running on port 3000. I can access it from outside.
I built the client using ng build --prod  and copied everything from dist folder to my domain at hostgator.com . Now I can access my domain directly without any port. When I click on login to facebook, I get facebook's login dialog. Once I put my credentials. I get the following error:
"Http failure response for http://www.mydomain.com/auth/facebook: 404 Not Found"
Any tip on how to fix this?
Regards,

Sorry I wasn't available in the past few months, anyway I'm guessing the question is no longer relevant but just for reference, if your server returns 404 try to test it using postman.

Hello Ron,
I may have found the problem I am facing in my production environment. In my example, I have a proxy.conf.json file that has.
{
"/auth": {
"target": "http://localhost:3000"
}
}
In my dev env I run it using:
ng serve --proxy-config proxy.conf.json --aot and it works fine.
For production environment, I build it using
ng build --prod
I copy the file from dist folder to my Apache server. Unfortunately, in production proxy.conf.json  not used. so any call to  http://www.mydomain.com/auth/facebook fails. I am stuck here for a week. Any help is highly appreciated. Thanks

Read here: https://angular.io/guide/deployment#server-configuration
There is a specific section there about Apache configuration. Read it
carefully since you'll need to understand why and how the configuration
works.
On Sun, Oct 14, 2018, 02:48 tuhin24<EMAIL_ADDRESS>wrote:

Hello Ron,
I may have found the problem I am facing in my production environment. In
my example, I have a proxy.conf.json file that has.
{
"/auth": {
"target": "http://localhost:3000"
}
}
In my dev env I run it using:
ng serve --proxy-config proxy.conf.json --aot and it works fine.
For production environment, I build it using
ng build --prod
I copy the file from dist folder to my Apache server. Unfortunately, in
production proxy.conf.json not used. so any call to
http://www.mydomain.com/auth/facebook fails. I am stuck here for a week.
Any help is highly appreciated. Thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ronzeidman/ng2-ui-auth/issues/151#issuecomment-429584489,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANWmx6sxjLvhYJlHbRO7oiKGkdqWXXx3ks5uknvigaJpZM4Wh-Za
.


Materialism

Add philosophy on materialistic vs non materialistic

I'm not sure pointing this out is that valuable. Most serious people understand this already.


Bump jQuery version to >=3.5.1

Require the minimum jQuery version without any known security vulnerabilities, which is 3.5.1 at this time (3.5.0 contains a regression).
Fixes #1268

Please, merge. It's just test's dependency, and it's polluting project analysis:
One or more dependencies were identified with known vulnerabilities in MyProject:

hammerjs-2.0.8.jar: jquery.min.js<EMAIL_ADDRESS>: CVE-2015-9251, CVE-2019-11358, CVE-2020-11022, CVE-2020-11023

See the dependency-check report for more details.

Bumping this as its failing vulnerability scans. Please merge


$urlRouterProvider.otherwise breaks routes with tildes.

Version : 0.2.18
Problem : using ui-sref, urls with tildes are wrongly redirected to the "default" state defined with $urlRouterProvider.otherwise, even if the correct route is resolved and executed.
Probably caused by 02e98660a80dfd1ca4b113dd24ee304af91e9f8c
Plunkr example

Confirmed; and thanks for the plunker.  A workaround if you'd like to use 0.2.16-0.2.18 is to change your regexp to ~~[a-z]+ for now.

Path parameters auto-choose the 'string' type
If a path params has a regular expression, we still auto-choose the 'string' type, but apply the regexp to it
the 'string' type needs an escape character (not url-encoding) to specially encode/decode slashes.  tilde was chosen as that character

I thought we had put this issue to bed, but hadn't considered the interplay with regexp!
Sorry for the troubles!

No worries, thanks for the workaround !


Fix infolist entry label

Description
Infolist entries of nested relationship attributes currently get a wrong label which is different from what a table column with the same name gets.

Column/entry name
Table column label
Infolist entry label

Before this fix
generation.project.team.name
Team
Generation

After this fix
generation.project.team.name
Team
Team

Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

BC, also inconsistent with schema component labelling. In v4 these will be the same algo. I think table cols and infolist entries deserve different labels since entires go into much more depth and there could be more than one entry for the same relationship. Also JSON entries?

I don't think this is a breaking change, rather a bug fix.
Which algorithm will be used in v4?
Personally I don't see why infolist entries and table columns are named inconsistently.
I do understand your remark about JSON entries, but still then the algorithm in this PR could work fine for most cases. Even if it didn't work correctly for JSON, usage of relationships is generally much higher than JSON fields I think.


Fix load more than 100 property groups and friends

0. Sequel (not SQL)
This is a follow up to https://github.com/shopware/platform/pull/1508 of a follow up from https://github.com/shopware/platform/pull/1310 so @htkassner can pick it up more easily .
It differs in order of arguments so we always have criteria followed by an optional context and it is a rebase.
It now overrides iterateIds by @OliverSkroblin in the admin js repository class is overriden to contain my implementation from the previous PR.
It still does not fix self-paginating components like sw-cms-el-config-product-listing.
The changelog only mentions on issue as I don't know all of them.
1. Why is this change necessary?
There are lots of occassions where a complete list of objects is required but not requested properly. Most of these places are visible when you see a criteria limit of 100 or 500. These are tries to load all the data but this is not all the data. This might be the case because although it is tried to have php and admin-js behave identically regarding DAL operations it is not as the criteria in admin-js works with limited pages that have a preset of 1, 25 and the php criteria works with limit offset and has a preset of null, null. Those who work with the admin-js criteria and are familiar with it from php get fooled.
2. What does this change do, exactly?
Add the php-known RepositoryIterator and some constants from the criteria. Use the repository iterator at a lot of places that behave better now.
3. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-10262
https://issues.shopware.com/issues/NEXT-10349
And probably some more
4. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-17373
Please use this issue to track the state of your pull request.

New issue? I reference one in my branch name and in my changelog :D

Hey @JoshuaBehrens ,
thanks for your MR. I checked it out but there are several things not working correctly:

many Jest tests are failing
many E2E tests are failing (reason for this is that many parts of the admin doesn't work correctly anymore)

Here are some screenshots where you can see some parts:

Product listing does not work anymore:

Sales Channels aren't visible anymore:

Category module:

Options in property listing:

and more places.
Could you have a look why this happens?
Then I have also one question about this MR: what was the reason that you implemented the iterate method also in some listings with paginations?

I rebased and fixed all the blunt technical issues I coudl find. Some things are still different to what one could expect. I touched listings as the property-whitelist configuration was bugging for one of our clients as they had too many properties and therefore the pagination was broken. I can look at how it will behave when I revert that change but this needs an other coding session. You can still have a look at the current behaviour. Maybe there are some other parts that behave weird that I didn't expect to have touched.

Do you really had to migrate the criteria.data.js to criteria.data.ts now? 😖 this did make it a bit uneasy to rebase

I found issues in how to use the new TotalCountMode constants so I included it into Shopware.Data. I also fixed the product listing. I hope I was able to find every issue but so far the admin works for me as I expect it.

@JoshuaBehrens As you already commented your initial problem is solved via https://github.com/shopware/platform/pull/2554. Due to this I will close this PR. Thank you for your effort! We combined this problem with a research to find places in the admin with similar problems to solve them all. We know there are several places with grids / listings without paging or search. We will address this! I will close this one here!


Closing and opening new tabs will end up in a crash after some time

Steps to reproduce
First search for nekopara (Don't know if you do need multipele sources enabled but I have
Sankaku complex, gelbooru, konachan and yande.re enabled)
After that just open a new tab with the '+' symbol on the right or ctrl +T
Now directly close the new tab and repeat this process a couple times behind each other (but let the first tab with nekopara stay open)
After a couple times (Sometimes just 2 sometimes 5 or more) it will result in a crash
(Could also maybe be in some kind related to the other topic's I posted)
System information
Windows 10 with the latest nightly version

Indeed! 👍
After some investigation, guaranteed reproduction steps are:

Close a tab placed before a non-closable tab (i.e. Downloads, Favorites, or Log tab), so that after closing the tab, a non-closable tab is selected
Create a new tab
Crash


Added 'ontologyTermId'

Fixes issue https://github.com/fairtracks/fairtracks_standard/issues/36

@jmfernandez Still waiting for you to approve this


if a header file for a c file don't exist, clangd.switchSourceHeader still swtich to a wrong path

Please describe the problem.
$ git clone --depth=1 https://github.com/mirror/x264
$ cd x264
$ vi encoder/encoder.c
:CocCommand clangd.switchSourceHeader

the expected behaviour is a warning message: encoder/encoder.h do not exist. However, coc-clangd will switch to encoder/ratecontrol.h, the header file for encoder/ratecontrol.c.
For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html
If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).
Logs
Please attach the clangd log from :CocCommand workspace.showOutput if you can.
If possible, run with --log=verbose - note that the logs will include the contents of open files!

I[22:27:44.700] clangd version 13.0.0 (https://github.com/llvm/llvm-project d7b669b3a30345cfcdb2fde2af6f48aa4b94845d)
I[22:27:44.700] Features: linux+grpc
I[22:27:44.700] PID: 1618219
I[22:27:44.700] Working directory: /home/wzy/Desktop/x264
I[22:27:44.700] argv[0]: ../../.config/coc/extensions/coc-clangd-data/install/13.0.0/clangd_13.0.0/bin/clangd
I[22:27:44.700] Starting LSP over stdin/stdout
I[22:27:44.701] <-- initialize(0)
I[22:27:44.701] --> reply:initialize(0) 0 ms
I[22:27:44.730] <-- initialized
I[22:27:44.732] <-- textDocument/didOpen
I[22:27:44.733] Failed to find compilation database for /home/wzy/Desktop/x264/encoder/encoder.c
I[22:27:44.733] ASTWorker building file /home/wzy/Desktop/x264/encoder/encoder.c version 1 with command clangd fallback
[/home/wzy/Desktop/x264/encoder]
/usr/bin/clang -resource-dir=/home/wzy/.config/coc/extensions/coc-clangd-data/install/13.0.0/clangd_13.0.0/lib/clang/13.0.0 -- /home/wzy/Desktop/x264/encoder/encoder.c
I[22:27:44.734] --> textDocument/clangd.fileStatus
I[22:27:44.742] --> workspace/semanticTokens/refresh(0)
I[22:27:44.742] --> textDocument/clangd.fileStatus
I[22:27:44.767] <-- reply(0)
I[22:27:44.775] --> textDocument/publishDiagnostics
I[22:27:44.776] --> textDocument/clangd.fileStatus

System information
Clangd version (from the log, or clangd --version): 13.0.1
clangd extension version (from :CocInfo): 0.21.3
Operating system: linux 5.17.1-arch1-1

If a filename match can't be found, we fall back to which header declares the symbols defined in this file.
encoder.c implements x264_encoder_reconfig_apply declared in ratecontrol.h.
The heuristics could stand improvement, but the behavior here isn't really broken, the concept of "matching header" is pretty fuzzy.

Why not provide a option to allow user to disable the fuzzy match? Just print '[coc.nvim] Didnt find a corresponding file. when a *.h is not found and fuzzy match has been disabled.


TitanCNA: genomes with chr prefix need an additional command line switch

NOTE: This might not be a bcbio bug, it may lie in TitanCNA itself or in my input data, however it is hard to tell at this point, and I'm looking for input:
[0:apply]: CalledProcessError: Command 'set -o pipefail; unset R_HOME && unset R_LIBS && export PATH=/opt/bcbio/anaconda/bin:$PATH && titanCNA.R --id 20614_tumor --hetFile /bioinformatics/einar/heterogeneity_titan/work/structural/20614_tumor/titancna/20614_tumor_vs_normal-effects-annotated-ploidyfix-vardict-prep.csv --cnFile /bioinformatics/einar/heterogeneity_titan/work/structural/20614_tumor/titancna/20614_tumor-normalized.cn --numClusters 1 --ploidy 2 --numCores 7 --outDir /scratch/tmpPCJMFe
There were 22 warnings (use warnings() to see them)
Running TITAN...
titan: Loading /data/bioinformatics/einar/heterogeneity_titan/work/structural/20614_tumor/titancna/20614_tumor_vs_normal-effects-annotated-ploidyfix-vardict-prep.csv
titan: Loading GC content and mappability corrected log2 ratios...
titan: Extracting read depth...
Removed Chrs:
titan: Loading default parameters
Model selection: Using 7 cores.
Error in chrsI[[i]] <- which(data$chr == chrs[i]) :
  attempt to select less than one element in integerOneIndex
Calls: runEMclonalCN
Execution halted
' returned non-zero exit status 1

Apparently the data is not proper for TitanCNA, but I'm not sure where to look to find the error.

I had a hunch, and it turns out I was right: TitanCNA by default uses chromsomes without the chr prefix. To make it work with genomes with the prefix like hg19 and hg38, one needs to add the --genomeStyle UCSC command line parameter.

Note that this won't fix all the issues I'm seeing, there's another problem with the solution selection:
Error in data.frame(..., check.names = FALSE) :
  arguments imply differing number of rows: 1, 2, 3
Calls: getParamAllClusters -> cbind -> cbind -> data.frame
Execution halted

I'm sure I hit this one somewhere before... Time for more digging then.

This might be related: https://github.com/bcbio/bcbio-nextgen/issues/2304
I might actually try and dig into the R code in the coming days, and see where it could be choking.

I just tried patching the script locally, and I'm running it now. Let's see what happens.

Thanks for debugging this. Apologies, I hadn't realized Titan was so far out of date. I've updated the bioconda package to the latest so if you run bcbio_nextgen.py upgrade --tools you should get the most recent version which will hopefully work cleanly. Thanks again for the help tracking this down.


Traffic Dump: fix YAML format for CONNECT requests

For CONNECT requests, Traffic Dump will not have a server-side protocol stack because we populate that on response from the server. Since the connection is left open for tunneling, it never gets populated. This resulted in mal-formed YAML because we had an empty string followed by a ','.

[approve ci autest]

Cherry-picked to v9.2.x


Custom shell properties not being set from json

Introduction
I have been successfully setting the shell title from a json file as per the docs. As of the latest release (v0.20.5) neither the custom title or footer are being displayed.
To Reproduce
Follow a pattern similar to the docs:
index.sql
SELECT 'dynamic' AS component, sqlpage.read_file_as_text('shell.json') AS properties;

shell.json
{
  "component": "shell",
  "title": "Custom Title",
  "link": "/",
  "language": "en-GB",
  "description": "Custom description",
  "font": "Poppins",
  "icon": "book",
  "footer": "Custom Footer 2024"
}

Actual behavior
Instead SQLPage renders the default title and footer.
Expected behavior
The custom shell should be output into the browser.
Version information

OS: 6.6.13-gentoo
Database: PostgreSQL 16.2 on x86_64-pc-linux-gnu
SQLPage Version: v0.20.5

Hi @guspower ! Can you please provide reproduction steps ? Everything seems to work fine for me.
Here is a replit with the exact shell you are mentioning, which works<EMAIL_ADDRESS>

Apologies for raising a bug on Monday morning, I should've figured it was user error. Sigh.
It turns out there was a trailing comma in the shell.json, e.g. if you have something like:
{
  "component": "shell",
  "title": "Custom Title",
  "link": "/",
  "language": "en-GB",
  "description": "Custom description",
  "font": "Poppins",
  "icon": "book",
  "footer": "Custom Footer 2024", <- BOOM
}

it doesn't render any error message, it just ignores it.
Sorry for the noise, situation normal.

I guess not seeing an error message is a problem in itself. Wasn't there anything in the logs either ?

Excellent, great outcome @lovasoa !


Add a warning message to setup_wargame.sh (it looks like someone's ac…

…tually made this mistake in IRC recently, but it's probably a good idea to have a warning even if it turns out that they're ok).

A simple (y/n) to continue would be better than a sleep IMO

I've added a prompt using the "read" bash builtin, and it doesn't proceed unless it gets a "yes".


[Q] nodejs spawn and PSI plucing

hello @lelegard ,
i have a question:
I am suing a nodejs app to run tsp by creating a childporcess (spawn).
i would like to use the --event-code option of the psi plugin to get an event from the plugin.
do you know if this is doable with nodejs and spawn?
thanks

Plugin events are synchronous calls inside the virtual memory space of the process which executes the plugins. So, they can only be used by developers who write C++, Java or Python applications using the class TSProcessor (available in the three languages). They are useless with the tsp application.


handlers.KeyStrokeHandler: allow prompts to be optional and hide Log label

Coverage increased (+0.01%) to 96.392% when pulling f3bf8b2a52245de4d04fe86df20202e3288fe81e on optional-keystroke-label into bf88610279872d2369578e461665002cb3ec06af on develop.


Translated _messages.js

Translated the complete file appinventor-sources/appinventor/blocklyeditor/src/msg/de/_messages.js from English to German (ZHAW, as discussed with Marina).
Please let us know when the translations are available on a test server so we can verify them in the application.

I have put up a test server here.

We found some mistakes in the German version on the test server, which we couldn´t correct here. Please find a list attached.
https://drive.google.com/open?id=1nxNd28-JeHWvZ8r68n6mn7PhoaEyxMpo