modified:   UI/src/index.html

Every time I build it shows up as modified, the build needs to be fixed or the file removed from the tree.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified:   UI/src/index.html

This is how the gulp flow works when it builds your UI , it will regenerate the index.html and index.less every time to make sure any new bower dependency etc is picked up and not needed to be added manually.

Do we need the files in the source tree, its a pain to checkin and switch branches can you remove the files and add them to .gitignores?


Beacon server one hop senders reconnect to the dispatcher

Fixes https://github.com/scionproto/scion/issues/2758

This change is

a discussion (no related file):
Reconnecting run: https://buildkite.com/scionproto/scionproto/builds/3145


Missing tutorials

Not able to find tutorials in /latest/notes
Example: https://kaolin.readthedocs.io/en/latest/notes/datasets_tutorial.html

Hi, thank you for using Kaolin! The library went through a major rewrite with the version 0.9.0, and we are working on adding back tutorials for the rewrite. Please see our latest documentation for two recently added tutorials and Watch the github repo for future updates.


specify foreignKey

When it is not named after the owner’s type name plus its primary field name.
Fixes #18.

Thank you for your PR. I'll have a close look at what indexes Gorm is generating by default and see if this helps.

You might find this interesting ; Here is what gorm does without and with "foreignKey:AdminID".
SELECT * FROM `actors` WHERE `actors`.`id` IN (\"110163848238256418\",\"110163851895700147\")
SELECT * FROM `accounts` WHERE `accounts`.`instance_id` = \"110163848239938280\"
SELECT * FROM `instance_rules` WHERE `instance_rules`.`instance_id` = \"110163848239938280\"
SELECT * FROM `instances` WHERE domain = \"example.com\" LIMIT 1

Here Preload(Admin) fetches all the actors (first admin, then me). I guess instance.Admin is me because that's the last loaded.
SELECT * FROM `actors` WHERE `actors`.`id` = \"110163848238256418\"
SELECT * FROM `accounts` WHERE `accounts`.`id` = \"110163848240493252\"
SELECT * FROM `instance_rules` WHERE `instance_rules`.`instance_id` = \"110163848239938280\"
SELECT * FROM `instances` WHERE domain = \"example.com\" LIMIT 1

Here Preload("Admin") only fetches the actor whose ID is AdminID
BTW, I also replaced Preload("Admin") by Joins("Admin") (you do this here) in the above cases: the first 3 calls are the same, the fourth one being replaced by something very long!


🌱 add more e2e tests

What this PR does / why we need it:
This PR adds several e2e tests to verify deletion, upgrading and downgrading providers.

@furkatgofurov7 thanks for your review! I updated the tests as you suggested.

@furkatgofurov7 thanks for your review! I updated the tests as you suggested.

@Fedosin thanks, looks good to me. The only thing might worth mentioning is, we could refactor the code around waiting for provider deployment/provider itself to be ready/deleted, check for status.IntalledVersion and make it generic so that we could reuse it by just calling instead. That being said, it can be a follow-up PR once this is merged 🙂

@furkatgofurov7 ack, agree with you!

/cc @alexander-demicev


Add optional x-amz-security-token header to S3 request

The following works as expected:
  Explorer.DataFrame.from_parquet("s3://some-bucket/test.parquet",
    config: [
      access_key_id: conf.access_key_id,
      secret_access_key: conf.secret_access_key,
      token: conf.security_token
    ]
  )

This fails with a 403 response:
  Explorer.DataFrame.from_csv("s3://some-bucket/test.csv",
    config: [
      access_key_id: conf.access_key_id,
      secret_access_key: conf.secret_access_key,
      token: conf.security_token
    ]
  )

This looks to be due to the x-amz-security-token header missing in the request from Explorer.FSS.headers/5 function. I've added a quick conditional to see if the token is set and if so to add it as a header.

@jschniper it makes sense to me! But I didn't catch the difference in the examples. Is the CSV/Parquet thing? Or the first one should have the token as nil?

Sorry, I started to write it as an issue and then realized I could be more helpful.
I think in the from_parquet case, everything is just forwarded along to the Polars backend and it's handling the security token properly. In the from_csv case it's downloading the file first and then passing it along and it was just missing the header in that case.
Sorry for any confusion.

@jschniper OK, makes totally sense! Thank you!


Alias ebpftypes.Process as Process in utils package

Alias ebpftypes.Process as Process in utils package

Updated utils package to alias ebpftypes.Process as Process.
Refactored test files to use utils.Process instead of ebpftypes.Process.
Modified utils.go functions to reflect the alias change.

Sorry ,will correct the linting and look into the 2 tests in which there was an issue as well

Yup, rebased it, sorry about it


Suite subprocess

This is the updated and rebased version of this PR: https://github.com/balena-os/leviathan/pull/607
This PR moves the subprocess specific configuration, signal handling, setup, and teardown into another module, allowing the Suite object to be created and used in other contexts.
@vipulgupta2048 I'm not sure how to document the parameters given to the Suite constructor here, as they're both objects, and I'd like to further clean up and define these parameters in the future.

@balena-ci rebase

Can one of the admins verify this patch?

How about suiteOptions and suiteConfig (since this is actually the config object of the suite's config.js). Extra gives the idea that these params are optional and can be skipped.

@vipulgupta2048 Agreed, the naming of these objects was kind of tricky, but I like this more.
I've gone ahead and rebased this branch.


TTS in the demo

Hi! Thanks for the great work on ultrabox! I really enjoyed the demo and your blog post on the roadmap. If I understood correctly, current demo relies on an external TTS. May I ask what TTS did you use?

@poupinel can you share the link to the blogpost? Thank you :)

@poupinel We use a couple of different ones, but the default voice for the demo is currently through ElevenLabs
@sachin7695 The blog post is here: https://www.ultravox.ai/blog/ultravox-an-open-weight-alternative-to-gpt-4o-realtime


[QUESTION] How to change the POSITION of the scoreboard popup events?

Hi all,
Someone could help me about changing the position of the scoreboard popup when you kill an objective or it spawns (drake, baron, herald)?
I don't see any line related to this in the Config.json file...
Some help?
Thanks!

It's mostly a mask over the full animation at the bottom of the screen. I've not tried to move it like at the top of the screen or something like it tho. Modify the mask (png image) to change how small or big it will appear. (I dunno if this helps)

It's mostly a mask over the full animation at the bottom of the screen. I've not tried to move it like at the top of the screen or something like it tho. Modify the mask (png image) to change how small or big it will appear. (I dunno if this helps)

I meant how to move the whole animation, not only the mask where the objective icon appears. Do you know how I could to that? Thanks for your answers!

No sorry I don't know how to move it. We mostly keep it on the bottom part of the screen since it won't hinder any view of the game this way (and most pro league do the same).

best way would probably be to change the mask to the size of the screen, and then have the mask transparent only where you want it to show. The animation still comes in from the bottom, that cant be changed in config as far as I remember. You would have to change the frontend code and build it yourself


Fix standalone player export method

This is intentional. better use an options parameter than 5 parameters

Sorry you are right, I think it was too late last night 😜


Horizontal scrolling not working

I don't know what's wrong, but I cannot scroll horizontally in flutter. This happens both on Web Desktop and Desktop (Linux). I thought it was something with my app so I created a new flutter project.
Steps to Reproduce

Create new flutter project
Paste the following code:

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Scaffold(body: MyHomePage()),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return ListView(
      scrollDirection: Axis.horizontal,
      children: List.generate(
          50,
          (index) => Container(
              color: Colors.blue,
              width: 80,
              margin: const EdgeInsets.all(8.0),
              child: Text('Index $index'))),
    );
  }
}

Expected results:
ListView widget scrolls its children horizontally.
Actual results:
Nothing. It does absolutely nothing. I tried with my mouse and touchpad and I was unable to scroll.

flutter doctor -v:
[✓] Flutter (Channel dev, 2.5.0-1.0.pre, on Solus 4.3 Fortitude
    5.11.21-179.current, locale en_US.UTF-8)
    • Flutter version 2.5.0-1.0.pre at /home/adebayo/Programs/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 184e5871be (13 days ago), 2021-07-26 04:38:02 -0400
    • Engine revision a877f6fed6
    • Dart version 2.14.0 (build 2.14.0-350.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/adebayo/Programs/AndroidSDK
    • Platform android-30, build-tools 30.0.2
    • ANDROID_SDK_ROOT = /home/adebayo/Programs/AndroidSDK
    • Java binary at: /home/adebayo/Downloads/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = google-chrome-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 11.1.0
    • cmake version 3.20.2
    • ninja version 1.10.2
    • pkg-config version 0.29.2

[✓] Android Studio (version 4.2)
    • Android Studio at /home/adebayo/Downloads/android-studio
    • Flutter plugin version 58.0.1
    • Dart plugin version 202.8531
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Solus 4.3 Fortitude
      5.11.21-179.current
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.131

• No issues found!

Hi @Hardebayho,
Since flutter v2.3.0-12.0.pre and above scrolling is disabled by default on the web and Desktop, This behavior was changed in #81569 to fix the unexpected ability to scroll by dragging with a mouse. However, this can be completely restored using the migration guide
Closing this issue as this is intended if you still face the issue after using the migration Guide feel free to write back with more details and the updated reproducible code.
Thank you.

My intention is not to scroll by dragging a mouse. When I'm using a web app or a desktop app, Shift+Mouse wheel is supposed to scroll a scrollable horizontally. The point of this is that horizontal scrolling does not work by default on desktop.
Even when I try to use my touch pad, it still doesn't work. Scrolling a table for instance that can be scrolled both horizontally and vertically will only ever scroll vertically. Is this also intended behavior?
To make things worse, it doesn't even show any scrollbar that can possibly be used instead. Just right now, horizontal scrolling works not.

If it's not how it's supposed to work by default, please reopen the issue or enlighten me on how I'm supposed to map Shift+mouse wheel to enable horizontal scrolling.

And speaking of defaults, are users supposed to expect that their widget cannot scroll horizontally by default on web and desktop? I don't see how that's a good thing

Even when I try to use my touchpad, it still doesn't work.

Thanks for the clarification, I ran your sample code on the latest dev and it works fine  for me I can scroll the list horizontally by using the touch pad.

how I'm supposed to map Shift+mouse wheel to enable horizontal scrolling.
Shift + scroll is currently not supported and is being tracked here https://github.com/flutter/flutter/issues/75180

I would suggest your to please either try the scroll migration guide as mentioned here or try switching to stable channel

@Hardebayho, The main goal of the migration guide is to enable/disable drag gestures to mimic the native behaviour.
Until #75180 is closed you may either prefer using a scrollbar or switch to stable channel.
Closing this issue as solved. Feel free to comment if you disagree and I will reopen it.
Thank you.


NPM Version Publish

Are you going to publish the updated bower-less version to npm soon?

@ritesh83 I am also need this.


Fix up using directive vs. using statement

using directive, not statement
codefence using

(Hide whitespace changes.)

Internal previews
Toggle expand/collapse

📄 File
🔗 Preview link

docs/core/compatibility/sdk/8.0/implicit-global-using-netfx.md
Implicit using for System.Net.Http no longer added

docs/core/extensions/windows-service-with-installer.md
[Wix Toolset](https://review.learn.microsoft.com/en-us/dotnet/core/extensions/windows-service-with-installer?branch=pr-en-us-41332)

docs/csharp/asynchronous-programming/cancel-an-async-task-or-a-list-of-tasks.md
Cancel a list of tasks

docs/csharp/language-reference/compiler-messages/using-directive-errors.md
Resolve warnings related using namespaces

docs/csharp/language-reference/keywords/using.md
docs/csharp/language-reference/keywords/using

docs/csharp/language-reference/xmldoc/recommended-tags.md
Recommended XML tags for C# documentation comments

docs/csharp/misc/cs0210.md
"Compiler Error CS0210"

docs/csharp/misc/cs1702.md
Compiler Warning (level 3) CS1702

docs/csharp/misc/cs1935.md
docs/csharp/misc/cs1935

docs/csharp/programming-guide/classes-and-structs/finalizers.md
Finalizers (C# Programming Guide)

docs/csharp/roslyn-sdk/get-started/semantic-analysis.md
Get started with semantic analysis

docs/csharp/roslyn-sdk/get-started/syntax-analysis.md
Get started with syntax analysis

docs/framework/data/adonet/ef/how-to-build-an-entityconnection-connection-string.md
How to: Build an EntityConnection Connection String

docs/framework/data/adonet/ef/how-to-execute-a-parameterized-stored-procedure-using-entitycommand.md
"How to: Execute a Parameterized Stored Procedure Using EntityCommand"

docs/framework/data/adonet/ef/how-to-execute-a-query-that-returns-nested-collections.md
How to: Execute a Query that Returns Nested Collections

docs/framework/data/adonet/ef/how-to-execute-a-query-that-returns-primitivetype-results.md
docs/framework/data/adonet/ef/how-to-execute-a-query-that-returns-primitivetype-results

docs/framework/data/adonet/ef/how-to-execute-a-query-that-returns-reftype-results.md
How to: Execute a Query that Returns RefType Results

docs/framework/data/adonet/ef/how-to-execute-a-query-that-returns-structuraltype-results.md
"How to: Execute a Query that Returns StructuralType Results"

docs/framework/data/adonet/establishing-the-connection.md
Establishing the Connection

docs/framework/data/adonet/sql/aspnet-apps-using-wait-handles.md
docs/framework/data/adonet/sql/aspnet-apps-using-wait-handles

docs/framework/interop/how-to-create-com-wrappers.md
How to: Create COM Wrappers

docs/framework/wcf/feature-details/how-to-host-a-wcf-service-in-iis.md
"How to: Host a WCF Service in IIS"

docs/framework/windows-workflow-foundation/how-to-create-a-workflow-service-that-consumes-an-existing-service-contract.md
How to: Create a workflow service that consumes an existing service contract

docs/framework/windows-workflow-foundation/using-a-custom-activity.md
"Using a custom activity"

docs/machine-learning/how-to-guides/serve-model-serverless-azure-functions-ml-net.md
Deploy a model to Azure Functions

docs/machine-learning/tutorials/object-detection-onnx.md
Tutorial: Detect objects using ONNX in ML.NET

docs/orleans/quickstarts/deploy-scale-orleans-on-azure.md
docs/orleans/quickstarts/deploy-scale-orleans-on-azure

docs/standard/datetime/use-time-zones-in-arithmetic.md
How to: Use time zones in date and time arithmetic

docs/standard/parallel-programming/how-to-cancel-a-dataflow-block.md
"How to: Cancel a Dataflow Block"

docs/standard/parallel-programming/how-to-specify-a-task-scheduler-in-a-dataflow-block.md
How to: Specify a Task Scheduler in a Dataflow Block

[!NOTE]
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

Thank you for reviewing @tdykstra!


CLI: skip adding sync as a command in dagger call

Background
With https://github.com/dagger/dagger/issues/6359, If the last argument in dagger call is a Container, Directory, or File, the sync field is selected automatically, while the returned ID is ignored (not printed to screen). You can, however, select sync explicitly, in which case the ID is printed.
Motivation
For consistency, we want to just do the forced evaluation, without printing the returned ID to the user because there’s no meaning in this context. However, we don’t want to exclude printing all IDs because there may be some use cases for it:

https://github.com/dagger/dagger/issues/6360

Rationale
We already select sync automatically if the chain ends in an object that supports it because it makes sense as a default[^1]. Supporting the use of sync explicitly adds redundancy and extra work if we don’t want to print the resulting ID:
[^1]: Curiously, the Python SDK has a bit of syntax sugar where you can await one of the objects directly instead of explicitly chaining sync(), for example, ctr = await src.docker_build().

TypeDefKind doesn’t support scalars at the moment, so when looking at the type definition from an explicit sync, it’s a string. In other words, it doesn’t have a “name” associated with it.
The query builder doesn’t have public access to the last selection. We can easily expose the name, but it would also match a user function named sync, which could have any return type.
We could try tracking more information while building the command structure from the arguments, such that if the last selection is sync, we could check if it’s from the core object types and not a user function.

It’s just simpler to skip creating sync as a sub-command when the parent object is a core type:

There’s less to type
Implementation is trivial
You don’t have to explain the redundancy
You still have access to sync. It's implicit but there's a rule and consistency to it.
It still allows users to define functions named sync, with totally different behavior, or even replicating the same behavior (by returning the result of sync from a core type).

After interfaces support in core types, rather than explicitly handle the current 3 core types that implement sync by name,  we can generalize with the interface and keep the behavior consistent.
Drawback
If a user wants to use a function that returns a core type, and there’s a valid use case for needing the id, they need to jump through a hoop and get it wrapped in a user function that returns the result of sync (or id).
We can ignore that for now and revisit if the use case surfaces:

https://github.com/dagger/dagger/issues/6360

\cc @sipsma

Just to update:

Some of the listed limitations no longer exist.
sync is no longer added implicitly since https://github.com/dagger/dagger/pull/7479 but there's a follow up discussion about execution in https://github.com/dagger/dagger/issues/7821.
I think the CLI should do like the SDKs and allow sync but rather than returning the ContainerID, it should return the resulting Container with loadContainerFromID(cid).
With interfaces, any user module could provide the same kind of function to force execution, and with interfaces in core we can make the behavior fully generalized and not manually hardcoded to the 3 current core types.

I'm closing this in favor of:

https://github.com/dagger/dagger/issues/7836


missing DLL

I'm trying to use the bindings as dynamic loading DLL.
I've compiled the scan example and moved simpleble-c.dll, simpleble.dll, to the build debug folder where .exe is located but im getting Access Violation error.
In your readme there is mention of fmt.dll but I cant find it.
Regards,

fmt.dll indeed is not needed. I came across this issue when switching from Win10 to Win11 a while back. I could again build the samples by disabling DYNAMIC_LOADING, see screenshot.

Not 100% sure why this fails in Win11 and the samples do not work as smoothly as they did with Win10. This is also the case for my InsideBlue Tool, which still does BLE scanning on Win11 but can no longer connect to any device.

@IvRogoz, please, try this #18


Mapping of stable JVM metrics as top-level attributes

Some of the JVM metrics are now stable and are part of the semantic conventions.
For example, the jvm.thread.count metric (semconv)

is stored as jvm.thread.count
has two attributes which are mapped in labels

jvm.thread.daemon stored as labels.jvm_thread_daemon
jvm.thread.state stored as labels.jvm_thread_state

In the future, those otel metrics should be mapped as top-level attributes, but a generic solution won't be available short term.
However, already have the need to build dashboards that rely on those stable metrics (https://github.com/elastic/kibana/issues/174445), which means that whenever we have to rely on the metrics attributes that are mapped in labels.* the dashboards won't be future-proof and will break when those will be mapped as top-level.
For example this will happen with jvm.memory.* metrics as we have to split heap/non-heap memory (semconv spec) and the breakdown is currently stored in labels.jvm_memory_type.
So here the proposal would be to store attributes as top-level attributes, but only limited to the scope of stable JVM metrics as those won't change in the future.

@elastic/obs-ds-intake-services I'd like to have your input on this idea, as it impacts the implementation choices we make for https://github.com/elastic/kibana/issues/174445

SGTM. What's the actual work that's needed for jvm.memory.*? The semconv format is quite different from what we have now e.g. jvm.memory.non_heap.pool.used. Are the dashboards going to query both?

The metrics names themselves are not translated and are copied as-is, so it's mostly a matter of making sure that the otel attributes are written as top-level fields instead of the labels.jvm.[...].

list of stable metrics to include is available here: https://opentelemetry.io/docs/specs/semconv/runtime/jvm-metrics/ so using an explicit list on the metric name should be a good start.
for those metrics all the attribute names attributes start with jvm.*.

The current UI implementation is somehow working with the 1.x version of the otel agent that relies on a previous version of the metrics.
We will replace the current UI dashboard with a new one that only relies on the stable metrics.
As a follow-up improvement we could maybe translate the current format used by the 1.x java otel agent to use the new stable definition if there is a direct mapping possible.

The jvm.memory.non_heap.pool.used is the format used by the Elastic agent, and we don't translate the OTel metrics to this format as far as I know.

With the new ingestion path through OTel collector metrics will be mapped in OTel-native way


headers are always included in output of Parse function with header bool set

When I call json2csvParser.parse(myJSONData, {header: false}), it returns a string with headers. I have to manually go and remove the first line of the string.
json2csv version: "^4.5.4",
node version: v12.14.0
e.g. code:
const { Parser } = require('json2csv');
const fs = require('fs');
const fields = ['car', 'price', 'color'];
const myCars = [

    {
        "car": "hamburger",
        "price": 30000,
        "color": "white"
    },
    {
        "car": "hamburger",
        "price": 40000,
        "color": "blue"
    }, {
        "car": "pizza",
        "price": 35000,
        "color": "black"
    }, {
        "car": "grilledcheese",
        "price": 60000,
        "color": "green"
    }
];

const json2csvParser = new Parser({ fields });
let csv = json2csvParser.parse(myCars, {header: false});
console.log("data: ",csv);

Closing since there has been no response.
Feel free to reopen if needed.


Loading crash on the latest forge

Describe the bug
Crashes when you started it up on the latest forge 34.1.32
Screenshots or crash report (if relevant)
https://hatebin.com/qerldqqzyz
Versions (please complete the following information):

Forge: 34.1.32
Minecraft: 1.16.3
Mantle: 1.6.40
Inspirations: <IP_ADDRESS>

I found the issue. This crash was caused by other mods (mainly structure and biome ones) that are still incompatible with the latest forge


Uploading output malicious code?

Why am  getting this
WAS Node Suite: Image file saved to: D:\gophoto.co.il\tutorials\2024\comfyui\flux_IMG2IMG
Does that mean my generations are being uploaded to a website? How can I modify it?
Thanks in advance for your guidance

No idea what that is. Are you running on a service? The save node just uses PIL save feature, which can't upload anywhere. It can only save local. So I doubt anything is uploading, but sure why you are getting strange URL as a path. Are you using a filename prefix that is a URL?

from going thru countless workflows
it could have been the default of a downloaded workflow that they didnt update to their info


<asynchronous suspension>
           #13     run.<anonymous closure> (package:flutter_tools/runner.dart:60:12)
           <asynchronous suspension>
           #14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
           <asynchronous suspension>
           #15     AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
           <asynchronous suspension>
           #16     runInContext (package:flutter_tools/src/context_runner.dart:77:10)
           <asynchronous suspension>
           #17     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>

[ +202 ms] ensureAnalyticsSent: 192ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x0
version=2.13.0-30.0.dev (dev) (Fri Feb 12 04:33:47 2021 -0800) on "macos_x64"
pid=11425, thread=775, isolate_group=isolate(0x7fc44e800000), isolate=(nil)(0x0)
isolate_instructions=0, vm_instructions=0
  pc 0x000000010827e09f fp 0x00007ffee7cfe110 dart::Environment::DeepCopyTo(dart::Zone*, dart::Instruction*) const+0x3f
  pc 0x0000000108336a0c fp 0x00007ffee7cfe180 dart::FlowGraphTypePropagator::StrengthenAssertWith(dart::Instruction*)+0x26c
  pc 0x000000010833458f fp 0x00007ffee7cfe1f0 dart::FlowGraphTypePropagator::StrengthenAsserts(dart::BlockEntryInstr*)+0x6f
  pc 0x0000000108334283 fp 0x00007ffee7cfe240 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x73
  pc 0x00000001083343c3 fp 0x00007ffee7cfe290 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x1b3
  pc 0x00000001083335d2 fp 0x00007ffee7cfe720 dart::FlowGraphTypePropagator::Propagate()+0x32
  pc 0x0000000108333568 fp 0x00007ffee7cfe830 dart::FlowGraphTypePropagator::Propagate(dart::FlowGraph*)+0x58
  pc 0x000000010834c3f2 fp 0x00007ffee7cfe850 dart::CompilerPass_TypePropagation::DoBody(dart::CompilerPassState*) const+0x22
  pc 0x000000010834af54 fp 0x00007ffee7cfe8d0 dart::CompilerPass::Run(dart::CompilerPassState*) const+0xc4
  pc 0x000000010834b6bb fp 0x00007ffee7cfe900 dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0x2cb
  pc 0x00000001082198ac fp 0x00007ffee7cfef70 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x9ac
  pc 0x0000000108219f75 fp 0x00007ffee7cff120 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x2a5
  pc 0x00000001082164aa fp 0x00007ffee7cff1d0 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x11a
  pc 0x000000010820f853 fp 0x00007ffee7cff240 dart::Precompiler::ProcessFunction(dart::Function const&)+0xf3
  pc 0x000000010820aea4 fp 0x00007ffee7cff270 dart::Precompiler::Iterate()+0x84
  pc 0x00000001081fed46 fp 0x00007ffee7cff4b0 dart::Precompiler::DoCompileAll()+0xfb6
  pc 0x00000001081fdc20 fp 0x00007ffee7cff990 dart::Precompiler::CompileAll()+0xc0
  pc 0x00000001083fc323 fp 0x00007ffee7cffad0 Dart_Precompile+0x163
  pc 0x0000000107efd978 fp 0x00007ffee7cffc60 dart::bin::main(int, char**)+0xad8
  pc 0x00007fff5424a015 fp 0x00007ffee7cffc70 start+0x1
-- End of DumpStackTrace
Dart snapshot generator failed with exit code -6

Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **

[✓] Flutter (Channel dev, 1.27.0-8.0.pre, on Mac OS X 10.13.6 17G65 darwin-x64, locale zh-Hans-CN)
    • Flutter version 1.27.0-8.0.pre at /Volumes/D/flutter
    • Framework revision b7d4806243 (8 天前), 2021-02-19 09:22:45 -0800
    • Engine revision 6993cb229b
    • Dart version 2.13.0 (build 2.13.0-30.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/mzq/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Users/mzq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ Xcode 10.1.0 out of date (12.0.1 is recommended).
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/mzq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.13.6 17G65 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.192

Thanks for the very detailed reproduction. Reduction:
import 'dart:typed_data';
import 'package:expect/expect.dart';

class C<E, L extends List<E>> {
  final L list;

  C(this.list);

  @pragma('vm:never-inline')
  E operator [](int index) => list[index];

  @pragma('vm:never-inline')
  void operator []=(int index, E value) {
    list[index] = value;
  }
}

void main(List<String> args) {
  final v = C<int, Uint8List>(Uint8List(1));
  v[0] = 1;
  Expect.equals(1, v[0]);
}

The same error occurred:
import 'dart:typed_data';

class C<E, L extends List<E>> {
  final L list;

  C(this.list);

  @pragma('vm:never-inline')
  E operator [](int index) => list[index];

  @pragma('vm:never-inline')
  void operator []=(int index, E value) {
    list[index] = value;
  }
}

void main(List<String> args) {
  final v = C<int, Uint8List>(Uint8List(1));
  v[0] = 1;
}

flutter build macos --profile

Logs

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x0
version=2.13.0-81.0.dev (dev) (Thu Feb 25 17:01:55 2021 -0800) on "macos_x64"
pid=1722, thread=775, isolate_group=isolate(0x7f81f9009800), isolate=(nil)(0x0)
isolate_instructions=0, vm_instructions=0
  pc 0x00000001024486df fp 0x00007ffeedb34b30 dart::Environment::DeepCopyTo(dart::Zone*, dart::Instruction*) const+0x3f
  pc 0x000000010250143c fp 0x00007ffeedb34ba0 dart::FlowGraphTypePropagator::StrengthenAssertWith(dart::Instruction*)+0x26c
  pc 0x00000001024fefcf fp 0x00007ffeedb34c10 dart::FlowGraphTypePropagator::StrengthenAsserts(dart::BlockEntryInstr*)+0x6f
  pc 0x00000001024fecc3 fp 0x00007ffeedb34c60 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x73
  pc 0x00000001024fee03 fp 0x00007ffeedb34cb0 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x1b3
  pc 0x00000001024fe012 fp 0x00007ffeedb35140 dart::FlowGraphTypePropagator::Propagate()+0x32
  pc 0x00000001024fdfa8 fp 0x00007ffeedb35250 dart::FlowGraphTypePropagator::Propagate(dart::FlowGraph*)+0x58
  pc 0x0000000102516e92 fp 0x00007ffeedb35270 dart::CompilerPass_TypePropagation::DoBody(dart::CompilerPassState*) const+0x22
  pc 0x00000001025159f4 fp 0x00007ffeedb352f0 dart::CompilerPass::Run(dart::CompilerPassState*) const+0xc4
  pc 0x000000010251615b fp 0x00007ffeedb35320 dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0x2cb
  pc 0x00000001023e3e2c fp 0x00007ffeedb35990 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x9ac
  pc 0x00000001023e44f5 fp 0x00007ffeedb35b40 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x2a5
  pc 0x00000001023e0a2e fp 0x00007ffeedb35c10 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x15e
  pc 0x00000001023d9d93 fp 0x00007ffeedb35c80 dart::Precompiler::ProcessFunction(dart::Function const&)+0xf3
  pc 0x00000001023d5444 fp 0x00007ffeedb35cb0 dart::Precompiler::Iterate()+0x84
  pc 0x00000001023c9335 fp 0x00007ffeedb35ef0 dart::Precompiler::DoCompileAll()+0xee5
  pc 0x00000001023c82e0 fp 0x00007ffeedb363d0 dart::Precompiler::CompileAll()+0xc0
  pc 0x00000001025c9333 fp 0x00007ffeedb36510 Dart_Precompile+0x163
  pc 0x00000001020c7e58 fp 0x00007ffeedb366a0 dart::bin::main(int, char**)+0xad8
  pc 0x00007fff6d93c015 fp 0x00007ffeedb366b8 start+0x1
-- End of DumpStackTrace
Dart snapshot generator failed with exit code -6

Command PhaseScriptExecution failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **

[✓] Flutter (Channel master, 1.27.0-9.0.pre.126, on Mac OS X 10.13.6 17G65 darwin-x64, locale zh-Hans-CN)
    • Flutter version 1.27.0-9.0.pre.126 at /Volumes/D/flutter
    • Framework revision e81e0b850c (2 天前), 2021-02-27 19:36:02 -0500
    • Engine revision 5c14c528cc
    • Dart version 2.13.0 (build 2.13.0-81.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/mzq/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Users/mzq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ Xcode 10.1.0 out of date (12.0.1 is recommended).
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/mzq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.13.6 17G65 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.192

@MMMzq yep, that's why it is a reduction (meaning it is a reduced (smaller) reproduction for the bug).

The crash is fixed upstream by dart-lang/sdk@afa22dd1abbce96f1e0fa0cf7c06293fc2a8b8a0.
Will keep this open until engine rolls

The fix is now on master and dev channels.


Proxy Support

Currently using on a .net core 2.2 project (running under windows).  There appears to be no way to use this project via a proxy?
I believe under 2.0 the "internet options" proxy was automatically defined in the HttpClient.  I guess this changed in 2.1 along with the inclusion of the HttpClientFactory?
Thanks in advance,
Mike

RecaptchaService supports an HttpClient constructor. You can create your own client, and pass it to the service before creation. I recommend creating and passing your own static HttpClient as pointed out here #9
I can't actual speak to any HttpClient changes between versions for the proxy feature in .NET.


Revisit Functional Test Pattern Part 2: The North Wind

Derive NorthwindQueryFixtureBase from SharedStoreFixtureBase
Further refactor SharedStoreFixtureBase to simplify the implementations by using AddDbContext
Avoid reseeding InMemory stores by storing the seed status in the service provider
Part of #9098

:shipit:


Update kfctl-istio-dex.md

fix "LDAP Seed Users and Groups" dropdown
just one line break that caused the whole text to be rendered incorrectly, tutorial to seed users and groups cannot be followed properly.

@googlebot I signed it!

Thanks @sachua !
/ok-to-test

/lgtm
/approve


Can't use notification_icon.png in Android

Hi, I am using cordova local build for my Android build. I've added the notification_icon.png to the platforms\android\res\drawable* folders manually before building the apk. It turns out the notification icon is still using the app icon.
May I know what is the proper way to add the notification_icon.png to the phonegap/cordova build?

+1

Use the built in application for creating icons. It's called Android Asset Studio https://developer.android.com/studio/write/image-asset-studio.html

icons have been refactored in 0.1.20. see readme


[BUG] Impropor dark-mode style for diff mode and source mode

Describe the bug
The dark-mode style is weird for diff and source modes:

Reproduction
https://codesandbox.io/embed/k43d4d?view=Editor+%2B+Preview&module=%2Fsrc%2FApp.js
Thanks for your great work, and I look forward to your early reply!

Thank you for the report, I will look into it.

I look forward to your early reply!
If you have any expectations about the timeframe of me fixing this, you should sponsor the project.

The diffSource plugin has an configuration option that lets you specify additional code mirror extensions, including themes. You can take for example the basic dark theme and apply it like this.

Thanks!


combining results to one html report

HtmlTestRunner version: 1.0.3
Python version: 2.7.12
Operating System: Ubuntu 16.04 LTS

Description
Hi,
How is it possible to combine several test classes to create one html report?
i'm using unittest TestLoader to discover all test suites in my package:
runner = HtmlTestRunner.HTMLTestRunner(output='reports')
test_suite = unittest.TestLoader().discover('./', '*_test.py', '.')
runner.run(test_suite)

Thanks,
Yitzchak.

Hi Yitzchak,
Sorry but right now it will create one report per TestCase on your suite, i'm goint to put this for next releases:)

@oldani Can I implement this feature?

@debugtalk for sure you can

still waiting for this :)
also, I would really like to see an overview/summary page with links to all unit tests sub pages.

Got it, I will start getting my hands on this next week, sorry I was full busy these past months

I already started working on this, is getting a bit tricky to implement this and maintain the old API, so it will take me a bit longer.

Thanks for taking the time to look into this. Much appreciated.

If you want to preserve the old api and keep this feature one thing you could do is have a class variable in HTMLTestRunner class which is a boolean that defaults to using the original method of one html file per unittest class but could be set to combine all results in a single file and use a different template. I started looking into this but I know jinja2 so I couldn't make a new template. Rather than calling generate_reports you could make a new function that passes the results for every test into the new template.

Version 1.2 has been released with all these wonderful changes:)
Sorry everybody for the delay here. This is all thanks to @JamesMTSloan

hi how it is resolved still looking for this answer

runner = HTMLTestRunner(output='blablabla', report_name='Test_Results', combine_reports=True)
test_suite = unittest.TestLoader().discover('./', 'test_*.py', '.')
runner.run(test_suite)


Error Domain=io.realm Code=6 "Opening Realm files of format version 0 is not supported by this version of Realm"

Goals
store,  update, delete and retrieve data from encrypted Realm database.
Expected Results
should not give error for any of the CRUD operation.
Actual Results
after some CRUD operations suddenly delete operation fails with error and after this never CRUD operation works gives the same error. Once get this error I am not able to open db even if I go to Realm Studio and try to open db file it says Opening Realm files of format version 0 is not supported by this version of Realm
Error :
Error Domain=io.realm Code=6 "Opening Realm files of format version 0 is not supported by this version of Realm" UserInfo={Error Code=6, NSFilePath=/.realm, Underlying=Database has an unsupported version and cannot be upgraded
Exception backtrace:
0   Realm                               0x0000000109e21936 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 6662
1   Realm                               0x0000000109e23dd3 _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 243
2   Realm                               0x0000000109e28646 _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 342
3   Realm                               0x000000010996e0f4 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1348
4   Realm                               0x000000010996cfc2 _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 82
5   Realm                               0x000000010996ce43 _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 371
6   Realm                               0x0000000109bdff14 ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 196
7   Realm                               0x0000000109b286a4 +[RLMRealm realmWithConfiguration:queue:error:] + 2340
8   RealmSwift                          0x000000010b0138e8 $sSo8RLMRealmC13configuration5queueABSo0A13ConfigurationC_So012OS_dispatch_C0CSgtKcfCTO + 152
9   RealmSwift                          0x000000010b049c4f $s10RealmSwift0A0V13configuration5queueA2C13ConfigurationV_So012OS_dispatch_D0CSgtKcfC + 223
10                            0x000000010b1cdfcf $s1014SALogDBManagerC14deleteLogsWith11primaryKeysySaySSG_tF + 287
11                            0x000000010b1d8c26 $s105C06uploadB4Data33_C44EC41053AFF20F90EA0CE16D446877LL4logs4keysySayAA0C10RealmModelCG_SaySSGtFy10Foundation0E0VSg_So13NSURLResponseCSgs5Error_pSgtcfU + 1670
12                            0x000000010b1dad6f $s105C06uploadB4Data33_C44EC41053AFF20F90EA0CE16D446877LL4logs4keysySayAA0C10RealmModelCG_SaySSGtFy10Foundation0E0VSg_So13NSURLResponseCSgs5Error_pSgtcfU_TA + 31
13                            0x000000010b1bfb68 $s10Foundation4DataVSgSo13NSURLResponseCSgs5Error_pSgIegggg_So6NSDataCSgAGSo7NSErrorCSgIeyByyy_TR + 296
14  CFNetwork                           0x00007fff22f5a4d0 CFNetwork + 38096
15  CFNetwork                           0x00007fff22f6d740 _CFHTTPMessageSetResponseProxyURL + 17217
16  Foundation                          0x00007fff2592128c NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7
17  Foundation                          0x00007fff259211ad -[NSBlockOperation main] + 80
18  Foundation                          0x00007fff259240dc NSOPERATION_IS_INVOKING_MAIN + 17
19  Foundation                          0x00007fff259203ee -[NSOperation start] + 731
20  Foundation                          0x00007fff25924a20 NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 17
21  Foundation                          0x00007fff25924540 __NSOQSchedule_f + 182
22  libdispatch.dylib                   0x000000010bd784dc _dispatch_block_async_invoke2 + 83
23  libdispatch.dylib                   0x000000010bd69e8e _dispatch_client_callout + 8
24  libdispatch.dylib                   0x000000010bd6c7a3 _dispatch_continuation_pop + 552
25  libdispatch.dylib                   0x000000010bd6bbbb _dispatch_async_redirect_invoke + 771
26  libdispatch.dylib                   0x000000010bd7b399 _dispatch_root_queue_drain + 351
27  libdispatch.dylib                   0x000000010bd7bca6 _dispatch_worker_thread2 + 135
28  libsystem_pthread.dylib             0x00007fff51c089f7 _pthread_wqthread + 220
29  libsystem_pthread.dylib             0x00007fff51c07b77 start_wqthread + 15, NSLocalizedDescription=Opening Realm files of format version 0 is not supported by this version of Realm}
Steps for others to Reproduce
store more than 2000 entries in encrypted database than try to get data in batch (e.g. 20 at a time) and delete the same.
Version of Realm and Tooling
Realm framework version: ? 5.3.2 / 5.3.3
Realm Object Server version: N/A
Xcode version: 11.5
iOS/OSX version: iOS 13.0
Dependency manager + version: SPM with Xcode 11.5

@bhavintrive
Could you fill out the issue template? This will help clarify the issue.

@bhavintrive
Could you fill out the issue template? This will help clarify the issue.

I have updated the same. hope it is helpful now.

@bhavintrive could you provide us with a code sample that shows us how you are using Realm? Also if you could give more information about your use case (use of multithreading, migrations, etc).
Thanks,
Lee

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@bhavintrive could you provide us with a code sample that shows us how you are using Realm (including how you are setting up encryption)? Also if you could give more information about your use case (use of multithreading, migrations, etc).
I was not able to reproduce the issue with your given steps.
Thanks,
Lee

Just run the examples from  git@github.com:realm/realm-java.git, and you'll see the error.

@IgorGanapolsky
I'm a bit confused. Do you hit this when only using realm-java? Or do your see this error in realm-cocoa too? Which examples in realm-java? All of them? Encryption?
Thanks.

All of the examples in realm-java
On Fri, Oct 16, 2020 at 12:09 PM ericjordanmossman<EMAIL_ADDRESS>wrote:

@IgorGanapolsky https://github.com/IgorGanapolsky
I'm a bit confused. Do you hit this when only using realm-java? Or do your
see this error in realm-cocoa too? Which examples in realm-java? All of
them? Encryption?
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/realm/realm-cocoa/issues/6692#issuecomment-710151764,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABRD6JNHYEDHXM4R2VI6HLSLBV3TANCNFSM4PWX66YA
.

I had a problem with reading version 20.
https://studio-releases.realm.io/ Check this portal for supporting file formats.
The issue is fixed by downloading the latest dmg file
https://static.realm.io/downloads/realm-studio/MongoDB%20Realm%20Studio-10.0.0.dmg

I had a problem with reading version 20.
Version 20 of what - gradle plugin?


About training examples

Hi, if using Chinese, how many examples does it need to train this lora?
Also ,will the lora effect original model ablility heavily?

@lucasjinreal Hi, if you have a Chinese base model, it should not require too many examples to train a lora module to fit you downstream task. I'm not sure if I get it correctly, but based on my experience, the lora module does not affect a lot on the parameters, and so does not "effect original model ability heavily". But it depends on your training method


feat(add proxy): add proxy for upgrade

Signed-off-by: sinhaashish<EMAIL_ADDRESS>

bors try

bors merge

bors try

bors try

bors merge


wsjtx: 1.9.0 -> 1.9.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/wsjtx/versions.
meta.description for wsjtx is: '"Weak-signal digital communication modes for amateur radio"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/wsjtx had a zero exit code or showed the expected version
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/udp_daemon passed the binary check.
Warning: no invocation of /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/message_aggregator had a zero exit code or showed the expected version
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/jt9 passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/ft8code passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/jt65code passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/qra64code passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/qra64sim passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/jt9code passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/jt4code passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/msk144code passed the binary check.
Warning: no invocation of /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/wsprd had a zero exit code or showed the expected version
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/wspr_fsk8d passed the binary check.
Warning: no invocation of /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/fmtave had a zero exit code or showed the expected version
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/fcal passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/fmeasure passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/rigctl-wsjtx passed the binary check.
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/rigctld-wsjtx passed the binary check.
14 of 18 passed binary check by having a zero exit code.
0 of 18 passed binary check by having the new version present in output.
found 1.9.1 with grep in /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1
directory tree listing: https://gist.github.com/1510d1068b9bcc57db3b8029171b3d92
du listing: https://gist.github.com/b71267e0a23b9dd347ca8a40b55c83a5

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 3bf4af73169a838c8bee24d4a276e859ddbdba94 && nix-shell --pure -I nixpkgs=. -p wsjtx

cc @lasandell for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: wsjtx
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: wsjtx
Partial log (click to expand)
shrinking /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/message_aggregator
shrinking /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/fmeasure
shrinking /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin/jt9
gzipping man pages under /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1/bin
patching script interpreter paths in /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1
checking for references to /build in /nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1...
postPatchMkspecs
/nix/store/sa672rkfw7z5jw9dl8v7lzcjj3316532-wsjtx-1.9.1

Success on aarch64-linux (full log)
Attempted: wsjtx
Partial log (click to expand)
shrinking /nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1/bin/message_aggregator
shrinking /nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1/bin/udp_daemon
shrinking /nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1/bin/wsjtx
gzipping man pages under /nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1/bin
patching script interpreter paths in /nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1
checking for references to /build in /nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1...
postPatchMkspecs
/nix/store/4jxbqndfk5z870g1b5zbswbl7i7xwkss-wsjtx-1.9.1


Reverse Word in string

Description
Different approaches to reverse a string
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Refactor the codegen implementation

@manekinekko Is the current refactor and logical separation sufficient? So I close this issue.

should be fine. If needed we'll create another issue.


K8sAPI Executor

I implemented Kubernetes API executor which has been discussed in #902.
Although I implemented the same functions as Kubelet executor, the kubelet originally doesn't work as I submmited the issue #1003. So far, I confirmed argo logs and the hello-world, archive-location, scripts-bash and timeouts-step examples work with my Kubernetes API executor, and I tested other functions by returning nil immediately in Wait() function of the executor and put a short sleep in workflow steps to workaround the issue #1003.
I think it's enough to use Argo with simple examples like hello-world. Could you consider merging it?
By the way, I use Argo in my company Preferred Networks. Please also consider adding my company to the list as described here if it gets merged.

@dtaniwaki thanks for submitting this. Given the limitations of the kubelet executor with artifacts, I think this makes sense to go through API server. Will take a look.

any progress on this?

I resolved the conflicts w/ the master.

is there any chance to document the 3 executors -> kubelet, docker, k8sapi ?

Any suggestion to get this PR merged? As we already have the kubelet executor which doesn't work with artifacts, having the k8s API executor makes sense although it doesn't work with artifacts perfectly but still better than the kubelet executor. One improvement for these imperfect executors is throwing unsupported feature exceptions on unsupported features respectively.


Database Download Issuse

hgtector database -o db_dir/  --threads 16
Database building started at 2024-10-17 17:41:03.528510.
Using local file taxdump.tar.gz.
Reading NCBI taxonomy database... done.
Total number of TaxIDs: 2614239.
Using local file assembly_summary_refseq.txt.
Reading RefSeq assembly summary... done.
Total number of genomes: 400927.
Genome categories: archaea, bacteria, fungi, protozoa
Traceback (most recent call last):
File "/home/stm3/miniforge3/envs/hgtector/bin/hgtector", line 96, in
main()
File "/home/stm3/miniforge3/envs/hgtector/bin/hgtector", line 35, in main
module(args)
File "/home/stm3/miniforge3/envs/hgtector/lib/python3.12/site-packages/hgtector/database.py", line 131, in call
self.retrieve_categories()
File "/home/stm3/miniforge3/envs/hgtector/lib/python3.12/site-packages/hgtector/database.py", line 368, in retrieve_categories
asmset = set(get_categories('RefSeq'))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/stm3/miniforge3/envs/hgtector/lib/python3.12/site-packages/hgtector/database.py", line 330, in get_categories
raise ValueError(
ValueError: "archaea" is not a valid RefSeq genome category.
i try other command also like
hgtector database -o db_dir/ --cats all --threads 10
Database building started at 2024-10-17 16:28:31.818942.
Using local file taxdump.tar.gz.
Reading NCBI taxonomy database... done.
Total number of TaxIDs: 2614327.
Using local file assembly_summary_refseq.txt.
Reading RefSeq assembly summary... done.
Total number of genomes: 397638.
Filtering genomes...
Done.
Filtering genomes by taxonomy...
Dropped 9052 genomes without capitalized organism name.
Dropped 5171 genomes with one or more blocked words in organism name.
Dropped 3 genomes without valid taxId.
Done.
Total number of sampled genomes: 383412.
Downloading non-redundant genomic data from NCBI...
WARNING: Cannot retrieve GCF_000001215.4_Release_6_plus_ISO1_MT_protein.faa.gz.
WARNING: Cannot retrieve GCF_000001405.40_GRCh38.p14_protein.faa.gz.
WARNING: Cannot retrieve GCF_000001635.27_GRCm39_protein.faa.gz.
WARNING: Cannot retrieve GCF_000001735.4_TAIR10.1_protein.faa.gz.
WARNING: Cannot retrieve GCF_000002035.6_GRCz11_protein.faa.gz.
WARNING: Cannot retrieve GCF_000002075.1_AplCal3.0_protein.faa.gz.
WARNING: Cannot retrieve GCF_000002235.5_Spur_5.0_protein.faa.gz.
can you resolve the issues

Hello @Rounak-Kumawat Thank you for reporting this. I noticed that NCBI FTP's structure is evolving, making the old script struggle. I am working on updating the "database.py" script. Will keep you updated!


Irresponsive image

You should see this

Screen Resolution: 1600X900

Thanks for the correction 😸, try to refresh your page now.

Yup its good now!

Oh yes, I remember my display zoom was like 125%

Glad it's all good now.
On Sun, Nov 28, 2021, 11:14 AM Aditya Priyadarshi @.***>
wrote:

Oh yes, I remember my display zoom was like 125%
[image: image]
https://user-images.githubusercontent.com/54215788/143763845-3e81b9ea-6e54-4b5a-9921-a51b1cac0017.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nmasi322/glavid_space/issues/2#issuecomment-981058184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR3ETUL3DQ5K4J7G6ZWB2V3UOH6IDANCNFSM5I5CFSLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


upstream modifications done for OpenRailwayMap

For OpenRailwayMap I did a couple of improvements over the last month. This upstreams most of them which are useful without additional code or are not just a hack (like basic support for "@media" statements).

Ping? If you don't like any of those please speak up, or if you prefer one PR for change I can also do that.

Sorry for delay. Thank you for the pull request, I almost forgot this project.


Issues with go build

When i run: go build /home/uber/gocode/src/github.com/devsisters/goquic/example/server.go
I get the following:
github.com/devsisters/goquic
./lib/linux_amd64/libquic.a(logging.cc.o): In function logging::(anonymous namespace)::TickCount()': ./libquic/build/debug/../../src/base/logging.cc:150: undefined reference toclock_gettime'
./lib/linux_amd64/libquic.a(time_posix.cc.o): In function (anonymous namespace)::ClockNow(int)': ./libquic/build/debug/../../src/base/time/time_posix.cc:98: undefined reference toclock_gettime'
collect2: error: ld returned 1 exit status
Thanks in advance,
Rajesh

Solved it by adding -lrt to cgo

@rajeshUber
I have the same problem.
I change the CMakeLists.txt in libquic as following,but not success.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_C_FLAGS} -std=gnu++11 -lrt")
-lrt, where you add.
thanks

@serialx
can you help me
thanks

@serialx @hodduc
I change the Makefile in dir or goquic, as following(add -lrt):
CFLAGS=-Wall -lrt -Ilibquic/src -Ilibquic/src/third_party/protobuf/src  -DUSE_OPENSSL=1 -Iboringssl/include -g -lrt
but it alse failed when go build server.go.

#cgo LDFLAGS: -pthread -lgoquic -lquic -lssl -lcrypto -lstdc++ -lm -lprotobuf -lrt
change goquic.go can change the problem


Array Decoding Semantics

The current default behavior of the decoder when decoding arrays is to return an empty array even if it couldn't decode individual elements. The only requirement there is that the key must exist.
Updating these functions to return nil instead would make them more consistent with how the rest of the decoder functions behave. Caller gets a value back if the JSON can be decoded and nil otherwise.

suggested changes have been merged into develop.
because this represents an API change, this won't come out until 0.8.0 is released - which may not be for some months. until then, have your project point to develop or commit 39bf67ba74141951a42946716a08cc7e1019e626 to be more specific.

Changes made seem to cover only one of the many array decoding functions. decodeDecodableArray, decodeEnumArray, etc...  needs updating as well.

ah! i only covered fromJSONArray and toJSONArray. will update

updated. you can point toward develop for the latest, or commit 7868347e2fc93487d1a9d2cb4621a88b247986e4 to be more specific


Don't touch the env var JULIA_HOME

for https://github.com/dhoegh/BuildExecutable.jl/issues/9
@dhoegh  @tkelman

Lgmt, thanks.


allow reading dimensions from md groups

[X] I agree to follow the project's code of conduct.
[X] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Added the wrapper for the dimension call for md groups.

can you resolve the conflicts?

i think this PR is good to merge. @lnicola would that be okay for you? Or are there open issues?

bors r=jdroenner,lnicola


Demo is broken

http://julienw.github.io/dollardom/examples/
Basically, because it links to an offline file.

Broken again... ;-)

Are you sure ? This seems to work for me.

Pretty sure... ;-)
Doesn't work in Chrome becaus of the mime type of dollardom-animate.min.js.
This is my console output:
julienw.github.io/:1 - Refused to execute script from 'https://raw.github.com/julienw/dollardom/master/dollardom-animate.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
examples.js:1 - Uncaught ReferenceError: $dom is not defined
http://julienw.github.io/favicon.ico - Failed to load resource: the server responded with a status of 404 (Not Found)

OK; it works in Firefox, that's why I didn't see it.
I'll look how I can make it download with a right mime type in gh. If you have an idea I'm all ears :)

looks like I could use rawgit.com or host the js library on the gh-pages branch.


Upload images and store them as base64

fixes https://github.com/excalidraw/excalidraw/issues/19
This imports images as base64 strings and stores them in the state. From there it automatically being synced on our backend server.
Todo:

[ ] Image is not being rendered and needs a click
[ ] Check performance, do we need to compress?
[ ] Export to SVG

@moritonal just a heads up -- internally we were discussing how current implementation is a show stopper for collaboration. It will need to be rewritten so that the actual image (base64) is stored in a separate data object, and the ExcalidrawImageElement just refers to it, so that the image contents can be synced separately and only once. Or something like that --- we haven't actually settled on any concrete implementation.
On top of that, I think we wanna compress the original image before syncing (or storing to backend when sharing via link), but that's another matter.

I understand..I've got images rendering all neatly with bells and whistles, but writing back and forth to local-storage is killing performance so would likely require being a wholly different concept with the system.

It is not working for me. I have tried the preview mentioned above (:white_check_mark:  Preview: https://excalidraw-git-upload-images.excalidraw.now.sh) and I am unable to open an image.

Any updates on this feature ? I'd be glad to help if the topics have been discussed

@TBG-FR If you are keen for experimentation please feel free to checkout this PR and play around (update with the main branch just to make sure its not way off). AFAIK, we haven't been actively discussing specifically about this but it will fit on great with other performance conversations we are having.

one thing to consider is perhaps ONLY accepting SVG, where the data requirements might be quite a bit lighter?

SVG could get easily bigger than (small) PNG, couldn't it?
(My idea was to add size limit for both, if we would embed them as base64.)

Just in case someone wants to work on this, the implementation should have these attributes:

The image source data (the base64 or whatever format) shouldn't be stored in elements array, but live in a separate data structure (likely in appState.images).
The image source will be linked to an element (of {type: "image"} or something) that will live in elements — this element will be used for manipulation, and act as a normal element would.
In collab, the image source shouldn't be synced more than once per session. Only the element in elements array should be synced freely as we normally do with other elements.
The image source should be compressed (using pako zlib library we're already using for something else) before syncing/storing to database. Note, we're talking about a lossless compression, but we may potentially also implement a lossy compression (thus encode as JPG) on initial upload.
There should be a limit on individual size, and likely a limit on total images per scene.

How to export the image as SVG

I assume as a base64 (I don't think we'd want to host them).

How to export the image as SVG

You can do it

thank you for putting in your effort @kbariotis but why we need to draw a box to upload an image. & the user has to click on that draw box after selecting the image from their computer so there are 2 extra steps to upload an image.
It's much more user-friendly if a user will click on the image icon and then a pop-up box will appear directly to upload an image.

@pratik9722 that wasn't a feature.. 😆 rather a bug in the prototype. I couldn't figure out what was causing so I left it as is.
The whole concept of this PR is to prove how we can handle image uploads rather than a production-ready PR. Also see @dwelle comment above.
Thanks :(


"shalt not indent with 4 spaces" where it should be legal

The following sample produces an error:
module Demo where

f =
  a $ do

    b

5
6     b
  ^^^^ Thou shalt not indent with 4 spaces! ಠ_ಠ

IMO, there are many cases where adding a line break just for the sake of aesthetics should be allowed.
Moreover, the error message could be improved (cause the problem is not related to indentation).

You can use an empty comment -- instead of an empty line. Or, better yet, a non-empty comment: if a code block deserves its own section, then perhaps the section deserves a title


Reduce file size (use lazy load)

After adding support for #2, I started getting this warning.
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  readthedocs-client.js?e7a609ea7aa504ee55ae (244 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  readthedocs-client (244 KiB)
      readthedocs-client.js?e7a609ea7aa504ee55ae

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

Code splitting is a good first step, and making a bundle for jQuery. There is configuration in site-community and ext-theme for setting jQuery as an external library and moving it to a separate file using the webpack common chunks feature. From there, lazy loading is possible and a good next step to reducing load time.
I'd put all of this on a later revision though, we don't need optimizations just yet.

I un-bundled the EthicalAd client in https://github.com/readthedocs/addons/pull/104 for now. This, besides other benefits, also helps to reduce the file size. The main benefit is on commercial since we don't have ads there.


Connectivity to kubernetes service endpoints broken after k8s version upgrade

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
In an environment with 3 control-plane (master) nodes and 3 worker nodes, the communication from pods running on the master nodes to the kubernetes service endpoints is broken after upgrading k8s version from 1.23.5 to 1.23.6 (or from 1.22.2 to 1.22.3). The connectivity still works from the worker (non-master) nodes. The issue can be recovered by restarting the cilium pods running on the master nodes.
Nodes setup:
$ kubectl get nodes -o wide
NAME                                           STATUS   ROLES                  AGE   VERSION   INTERNAL-IP      EXTERNAL-IP      OS-IMAGE             KERNEL-VERSION    CONTAINER-RUNTIME
ip-172-31-141-179.eu-west-3.compute.internal   Ready    control-plane,master   91m   v1.23.6   <IP_ADDRESS>   <redacted>       Ubuntu 20.04.4 LTS   5.13.0-1022-aws   containerd://1.4.13
ip-172-31-141-32.eu-west-3.compute.internal    Ready    <none>                 84m   v1.23.5   <IP_ADDRESS>    <redacted>       Ubuntu 20.04.4 LTS   5.13.0-1022-aws   containerd://1.4.13
ip-172-31-142-157.eu-west-3.compute.internal   Ready    control-plane,master   90m   v1.23.6   <IP_ADDRESS>   <redacted>       Ubuntu 20.04.4 LTS   5.13.0-1022-aws   containerd://1.4.13
ip-172-31-142-232.eu-west-3.compute.internal   Ready    <none>                 84m   v1.23.5   <IP_ADDRESS>   <redacted>       Ubuntu 20.04.4 LTS   5.13.0-1022-aws   containerd://1.4.13
ip-172-31-143-187.eu-west-3.compute.internal   Ready    control-plane,master   89m   v1.23.6   <IP_ADDRESS>   <redacted>       Ubuntu 20.04.4 LTS   5.13.0-1022-aws   containerd://1.4.13
ip-172-31-143-91.eu-west-3.compute.internal    Ready    <none>                 84m   v1.23.5   <IP_ADDRESS>    <redacted>       Ubuntu 20.04.4 LTS   5.13.0-1022-aws   containerd://1.4.13

kubernetes service endpoints:
$ kubectl get endpoints kubernetes
NAME         ENDPOINTS                                                     AGE
kubernetes   <IP_ADDRESS>:6443,<IP_ADDRESS>:6443,<IP_ADDRESS>:6443   101m

apiservers are running in the host namespace of the master nodes:
NAMESPACE     NAME                                                                   READY   STATUS             RESTARTS         AGE
kube-system   kube-apiserver-ip-172-31-141-179.eu-west-3.compute.internal            1/1     Running            0                93m    <IP_ADDRESS>   ip-172-31-141-179.eu-west-3.compute.internal   <none>           <none>
kube-system   kube-apiserver-ip-172-31-142-157.eu-west-3.compute.internal            1/1     Running            0                88m    <IP_ADDRESS>   ip-172-31-142-157.eu-west-3.compute.internal   <none>           <none>
kube-system   kube-apiserver-ip-172-31-143-187.eu-west-3.compute.internal            1/1     Running            0                72m    <IP_ADDRESS>   ip-172-31-143-187.eu-west-3.compute.internal   <none>           <none>

Pods running on the master nodes cannot connect to the kubernetes service after kubernetes version upgrade.
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   <IP_ADDRESS>    <none>        443/TCP   109m

curl --connect-timeout 5 --insecure https://<IP_ADDRESS>:443
curl: (28) Connection timeout after 5001 ms

Connecting directly to the endpoint IPs does not work either (none of them):
curl --connect-timeout 5 --insecure https://<IP_ADDRESS>:6443
curl: (28) Connection timeout after 5001 ms

Connectivity to other pods and services works fine from the same pod.
Pods running on worker nodes can connect to the kubernetes service (and its endpoints) successfully:
curl --connect-timeout 5 --insecure https://<IP_ADDRESS>:443
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "forbidden: User \"system:anonymous\" cannot get path \"/\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}#

curl --connect-timeout 5 --insecure https://<IP_ADDRESS>:6443
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "forbidden: User \"system:anonymous\" cannot get path \"/\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}#

After restart of the cilium pod on the affected master node, the issue recovers and broken pods can communicate with the kubernetes service successfully.
Cilium Version
v1.11.1
Kernel Version
Linux ip-172-31-141-179 5.13.0-1022-aws #24~20.04.1-Ubuntu SMP Thu Apr 7 22:10:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
v1.23.6
Sysdump
cilium-sysdump-20220510-154929.zip
Relevant log output
No response
Anything else?
cilium monitor --type drop does not show anything on affected node.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Reproduced with CIlium v1.11.5 as well, sysdump: cilium-sysdump-20220524-112958.zip

Pods running on the master nodes cannot connect to the kubernetes service after kubernetes version upgrade.

Which pods in particular?

@rastislavs can you get the a cilium monitor output without the --type drop?

Sure, here it is:

the pod struggling to reach the apiserver is:

kube-system   machine-controller-6bff68bdc5-nr78w   0/1     Running     2 (15s ago)    76s    <IP_ADDRESS>     ip-172-31-119-89.eu-west-3.compute.internal    <none>           <none>

full cilium monitor from the node where it runs: monitor-172-31-119-89.txt
some related logs from that file:

>> Endpoint regenerated: {"id":3025,"labels":["k8s:app=machine-controller","k8s:io.cilium.k8s.namespace.labels.kubernetes.io/metadata.name=kube-system","k8s:io.kubernetes.pod.namespace=kube-system","k8s:io.cilium.k8s.policy.serviceaccount=machine-controller","k8s:io.cilium.k8s.policy.cluster=default"]}

-> stack flow 0x2c962165 , identity 24282->kube-apiserver state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:42286 -> <IP_ADDRESS>:6443 tcp SYN

full cilium monitor log from the destination node (<IP_ADDRESS>) captured at the same time: monitor-172-31-118-223.txt
full sysdump of this cluster: cilium-sysdump-20220525-115553.zip

@aanm do you have any ideas based on my previous comment?
This issue affects control plane upgrades of all clusters using Cilium CNI on KubeOne so if you need to reproduce it yourself, it should be fairly easy.

OK, so it seems that the issue was caused by rp_filter settings. The upgrade triggered resetting of net.ipv4.conf.all.rp_filter to default (2) on the control plane nodes. It seems that it broke Cilium datapath until they restart. Since the cilium pods set it back to 0 when they start, restart of the cilium pods after the upgrade resolves the issue.
Our workaround for that would be something like:
echo 'net.ipv4.conf.all.rp_filter = 0' > /etc/sysctl.d/99-override_cilium_rp_filter.conf

Note that the workaround for newer systemd versions mentioned in https://docs.cilium.io/en/stable/operations/system_requirements/#admin-system-reqs (overriding net.ipv4.conf.lxc*.rp_filter = 0) would not be sufficient in this case.
IMHO it would be nice to make rp_filter requirement more explicit in the documentation as it can break datapath in a way that is not easy to debug.

This will be fixed by https://github.com/cilium/cilium/pull/20072

@aanm we had the same issue, and already set "net.ipv4.conf.lxc*.rp_filter = 0" like you do in your PR. This is not sufficient for this issue. Using "net.ipv4.conf.all.rp_filter = 0" fixed this.

@rastislavs @tafkam Did you identify which dev's rp_filter=2 was causing the issue?

physical network devices had rp_filter = 1, all other devices had rp_filter = 0, and additionally net.ipv4.conf.all.rp_filter = 1 was set when all pods lost network connectivity on that node

Just assuming from the fact that apart from lxc* and cilium_* netdevs we only have 3 more on the nodes:

lo
ens5
nodelocaldns

and neither nodelocaldns nor lo are used to actually forward any traffic, it is probably rp_filter=2 on the ens5 which is causing the issue?

@rastislavs Do you know which exact packet is getting dropped? You could run pwru pwru --filter-func=".*kfree_skb.*" --output-tuple --per-cpu-buffer=10000 --filter-proto=tcp --output-stack.

So I did some more debugs:
Initial state, everything is working:
$ sudo sysctl -a | grep rp_filter
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.cilium_host.arp_filter = 0
net.ipv4.conf.cilium_host.rp_filter = 0
net.ipv4.conf.cilium_net.arp_filter = 0
net.ipv4.conf.cilium_net.rp_filter = 0
net.ipv4.conf.cilium_vxlan.arp_filter = 0
net.ipv4.conf.cilium_vxlan.rp_filter = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 0
net.ipv4.conf.kube-ipvs0.arp_filter = 0
net.ipv4.conf.kube-ipvs0.rp_filter = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 0
net.ipv4.conf.lxc94a9b8960b75.arp_filter = 0
net.ipv4.conf.lxc94a9b8960b75.rp_filter = 0
net.ipv4.conf.lxc_health.arp_filter = 0
net.ipv4.conf.lxc_health.rp_filter = 0
net.ipv4.conf.nodelocaldns.arp_filter = 0
net.ipv4.conf.nodelocaldns.rp_filter = 0

Now we break the pod -> apiserver connectivity on the node where the pod is running:
sysctl -w net.ipv4.conf.all.rp_filter=2

So we now have the following rp_filter settings:
$ sudo sysctl -a | grep rp_filter
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.cilium_host.arp_filter = 0
net.ipv4.conf.cilium_host.rp_filter = 0
net.ipv4.conf.cilium_net.arp_filter = 0
net.ipv4.conf.cilium_net.rp_filter = 0
net.ipv4.conf.cilium_vxlan.arp_filter = 0
net.ipv4.conf.cilium_vxlan.rp_filter = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 0
net.ipv4.conf.kube-ipvs0.arp_filter = 0
net.ipv4.conf.kube-ipvs0.rp_filter = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 0
net.ipv4.conf.lxc_health.arp_filter = 0
net.ipv4.conf.lxc_health.rp_filter = 0
net.ipv4.conf.lxcbeaab24adf0b.arp_filter = 0
net.ipv4.conf.lxcbeaab24adf0b.rp_filter = 0
net.ipv4.conf.lxced39fa47491b.arp_filter = 0
net.ipv4.conf.lxced39fa47491b.rp_filter = 0
net.ipv4.conf.lxcfcd5ee7bd2c6.arp_filter = 0
net.ipv4.conf.lxcfcd5ee7bd2c6.rp_filter = 0
net.ipv4.conf.nodelocaldns.arp_filter = 0
net.ipv4.conf.nodelocaldns.rp_filter = 0

Pod IP is <IP_ADDRESS>, apiserver is running at <IP_ADDRESS>:6443 (IP address of one of the master nodes).
What I can see after sysctl -w net.ipv4.conf.all.log_martians=1 in /var/log/messages is:
Jun  8 13:13:51 ip-172-31-167-236 kernel: IPv4: martian source <IP_ADDRESS> from <IP_ADDRESS>, on dev lxcfcd5ee7bd2c6
Jun  8 13:13:51 ip-172-31-167-236 kernel: ll header: 00000000: 62 dd f3 d8 95 eb ae e1 52 cb 80 59 08 00        b.......R..Y..
Jun  8 13:13:52 ip-172-31-167-236 kernel: IPv4: martian source <IP_ADDRESS> from <IP_ADDRESS>, on dev lxcfcd5ee7bd2c6
Jun  8 13:13:52 ip-172-31-167-236 kernel: ll header: 00000000: 62 dd f3 d8 95 eb ae e1 52 cb 80 59 08 00        b.......R..Y..

After setting sysctl -w net.ipv4.conf.all.rp_filter=0 everything starts working normally.
Here are pwru outputs for non-working and working case with the filters on the pod IP (separate connection request made for each pwru run):
pwru-filter-non-working.txt
pwru-filter-working.txt
And a complete sysdump:  cilium-sysdump-20220608-151704.zip

I think this explains it:
From https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt:
	The max value from conf/{all,interface}/rp_filter is used
	when doing source validation on the {interface}.

So even when net.ipv4.conf.lxcfcd5ee7bd2c6.rp_filter is 0, if net.ipv4.conf.all.rp_filter equals 2, the loose mode (2) is in effect on lxcfcd5ee7bd2c6.