#83 Added secret file provider

Related Issues
#83
Description
Added secret file provider. It maps secret is presented as file containing a secret string (i.e. docker secret mounted into container) into environment variable. For instance, for applications which do not support secret files themselves.
Motivation and Context
Mounting secrets into docker container is considered as best practice opposed to passing them as environment variables. However only few applications support secret files out of the box.
https://github.com/SpectralOps/teller/issues/83
How Has This Been Tested?
Tested it manually. For instance with the default config ./teller run env. Covered with unit tests in similar way as other providers.
Tested in linux_amd64 environment manually and with make test.
No possible side effects (on other code) are expected.
Checklist

[x] Tests
[x] Documentation
[x] Linting

Already solved by filesystem plugin.


[wip]Dockerstorage

Dockerstorage clean auto

@BlueShells @mwoodson   So, we need to be careful with this. The reason OpenShift leaves around containers is because once you remove the container, you lose the docker logs. Once we have logging deployed, this shouldn't be as big of an issue, but right now it is.
Have we investigated the docker cleanup stuff that's built into the openshift-node?
I know @mwoodson looked at it a few OpenShift versions back, but we might want to rely more heavily on that. And maybe change this to cleanup at like 90% (some high number that hopefully shouldn't be hit, unless openshift-node isn't doing it's job).


Update the smithy client's call and call_raw bounds

Motivation and Context

This PR enables changes needed to implement quota layers in the smithy client service builder
Description

add: ParseHttpResponse bound to smithy client's call/call_raw
add: 'static to smithy client's call/call_raw T, Retry, and R::Policy bounds
remove: Clone bound from call/call_raw's Service bound
remove: 'static bound from Client::check's R::Policy bound
update: prefer fully qualified std::error::Error to Error
update: smithy client doc comment that was giving IntelliJ trouble
update: unify naming of generic type args related to smithy client

Testing

ran existing tests
Checklist

[ ] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[ ] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Is this a refactoring or a breaking change? I honestly got a bit lost trying to follow how the bounds have been restructured.

Is this a refactoring or a breaking change? I honestly got a bit lost trying to follow how the bounds have been restructured.

It's both, sorry. However, I don't expect it to actually break any users unless they were manually creating timeout futures to test something.
The core of this change is the updated ParseHttpResponse bound. Without that and the other changes, I was unable to add MapRequestLayers into the service builder stack. I don't really understand why I needed to do this; It was just what worked.

Waiting on an internal discussion before merging this.

Closing this since I'm no longer taking an approach that requires this.


Add isFinished to rn-playback event

The purpose of this PR is to support chunked transfer-encoded HTTP requests, such as those returned from OpenAI and ElevenLabs Text-to-speech APIs.
Since these http requests don't contain a content-length, we can't rely on the duration to determine when they have finished.

How about changing variable name to hasChanged?

Sure, but can you explain the name a bit? I'm not sure what "changed" is referring to in this context. Does it mean the playback state has changed from playing to finished?

How about changing variable name to hasChanged?

Sure, but can you explain the name a bit? I'm not sure what "changed" is referring to in this context. Does it mean the playback state has changed from playing to finished?

Oh I am so sorry. I meant hasFinished. I thought has is better choice in this case.
However, I justed asked chatgpt and found that isFinished is better here.

Let me merge this!


Unified cursor for time-based charts

Right now, all time-based charts share one axis and panels (time-based or not) can be placed in any order. Association with the time scale is broken whenever a graph that doesn't have time as the x-axis is placed between a time-based graph and the time scale:

Having a unified cursor for time-based charts creates a much stronger scale/chart association:

Mouse over time-based chart
Mouse over not time-based

Prerequisite: #161

@hriday-panchasara could you link your work you already did to this issue?

fixed by #675


Add select is-dark class type like input component

Description
This PR adds a is-dark class to nes-select and solves #334.
Compatibility
This should not break anything.
Caveats
N/A.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ScrollAction slows down significantly when holding down keys

Steps to reproduce

Place a MaterialApp widget at the root of your widget tree.
Place any scrollable widget below the MaterialApp and make sure it uses the PrimaryScrollController.
Try scrolling down by pressing ctrl+down for desktop or just the down arrow for web.
Then try doing the same, but holding the keys down.

Expected results
I would expect to scroll faster when holding down the keys than when pressing them repeatedly.
Actual results
Scrolling becomes significantly slower when holding down the keys compared to pressing them repeatedly.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() => runApp(const ExampleApp());

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          body: ListView.builder(
            primary: true,
            itemCount: 15,
            itemBuilder: (BuildContext context, int index) => Container(
              color: Colors.primaries[index],
              height: 150,
              child: Center(
                child: Text(
                  'Entry $index',
                  style: Theme.of(context).textTheme.headlineMedium,
                ),
              ),
            ),
          ),
        ),
      );
}

Screenshots or Video

Screenshots / Video demonstration
The first part shows the behavior when pressing the scroll keys repeatedly, and then while holding the scroll keys down.

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.5, on Fedora Linux 41 (Workstation Edition) 6.11.7-300.fc41.x86_64, locale
    en_US.UTF-8)
    • Flutter version 3.24.5 on channel stable at /home/kamil/.local/apps/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dec2ee5c1f (7 days ago), 2024-11-13 11:13:06 -0800
    • Engine revision a18df97ca5
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/brave-browser-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 19.1.0 (Fedora 19.1.0-1.fc41)
    • cmake version 3.30.5
    • ninja version 1.12.1
    • pkg-config version 2.3.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).

[✓] VS Code (version 1.95.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.100.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Fedora Linux 41 (Workstation Edition) 6.11.7-300.fc41.x86_64
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

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

! Doctor found issues in 2 categories.

@kszczek
I observed that on web platform, the scroll is comparatively slower as opposed to native web, as below:
https://github.com/user-attachments/assets/cbf754ce-bc94-49f6-8e0f-91e4d296c3d0
While running on desktop, with cmd + up or down key, the scroll is slightly faster as compared to web.
https://github.com/user-attachments/assets/ec88deb6-a75f-4b32-8a95-9aab5387a4db
Are you reporting this issue for both platforms or only on web ?

This happens and is very noticeable on both Linux web and desktop for me. Judging by your videos it seems like macOS desktop doesn't suffer from this as much as Linux does.

Maybe there is a difference between the amount of key presses dispatched per second when holding down keys between Linux and macOS?
Can you try this? I'm getting 33 scroll action invocations per second when holding down ctrl+down on a Linux desktop.
import 'dart:async';

import 'package:flutter/material.dart';

void main() => runApp(const ExampleApp());

class DebugScrollAction extends ScrollAction {
  DebugScrollAction() {
    Timer.periodic(const Duration(seconds: 1), (Timer timer) {
      print('Events per second: $_invocationCount');
      _invocationCount = 0;
    });
  }

  int _invocationCount = 0;

  @override
  void invoke(ScrollIntent intent, [BuildContext? context]) {
    _invocationCount++;
    super.invoke(intent, context);
  }
}

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) => MaterialApp(
        actions: {
          ...WidgetsApp.defaultActions,
          ScrollIntent: DebugScrollAction(),
        },
        home: Scaffold(
          body: ListView.builder(
            primary: true,
            itemCount: 15,
            itemBuilder: (BuildContext context, int index) => Container(
              color: Colors.primaries[index],
              height: 150,
              child: Center(
                child: Text(
                  'Entry $index',
                  style: Theme.of(context).textTheme.headlineMedium,
                ),
              ),
            ),
          ),
        ),
      );
}

For me on macOS, using cmd + down / up arrow key, it shows below which is quite less than what you mentioned:
flutter: Events per second: 0
flutter: Events per second: 1
flutter: Events per second: 11
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 11
flutter: Events per second: 1
flutter: Events per second: 0
flutter: Events per second: 0
flutter: Events per second: 0
flutter: Events per second: 1
flutter: Events per second: 10
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 0
flutter: Events per second: 1
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 12
flutter: Events per second: 4

I will keep the issue open and label for team's tracking.


Can't view test output in file and console output together using mocha and mochawesome

I'm using latest node, mocha to run UI tests and mochaawesome for reporting. I would like to get output of mocha test command in console output and text file both.
Test works fine but user can't see console output promptly if output is redirected and if i don't redirect then report text file is not created. mochawesome report doesn't create text file, default behavior is html file. I need both kind of output, any alternative using mochawesome report or any other solution to have this facility?
config:
npm install mocha mochaawesome

report.txt:
mocha create-event.js -f Smoke > report.txt

console output:
mocha create-event.js -f Smoke

Write your own custom reporter that writes to two streams?
Or use something like mocha-multi...

Please use tee command to view console output and redirecting output to file together. Please use powershell especially for windows (doesn't work via normal cmd) and bash/sh for linux.
mocha create-event.js -f Smoke | tee report.txt


Add Academicol.ru

The educational program provides training in the following areas:
09.02.07 INFORMATION SYSTEMS AND PROGRAMMING (3 years 10 months)
The educational organization has a license to conduct educational activities and accreditation
Proof: https://academicol.ru/sveden/document/
Training program:
https://academicol.ru/profes/programmirovanie-v-kompyuternykh-sistemakh/

The educational organization has a license to conduct educational activities and accreditation
Proof: https://academicol.ru/sveden/document/

@nazbav Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add Cancellation Token Support

This is my first pass at solving https://github.com/AlexanderKrutov/DataTables.Queryable/issues/25
@AlexanderKrutov
Major changes:

Remove net40 support from DataTables.Queryable
Update Sample to Core 2.1 and add EF Core with SQLite support

Can you look at this pretty closely and make sure that it looks okay? https://github.com/AlexanderKrutov/DataTables.Queryable/commit/98a4a989c20fcd231b3d48aeb5eca84d6b48f371 I had to try and tap into the internals of EFCore to get access to the ToListAsync and CountAsync goodies.
Also, it would super nice if we had some really basic tests and TravisCI. We could have some broad integration tests just as smoke tests. I hit all the Samples and they all work perfectly. I did not make any major changes to the actual views or DT libraries but i made a small change for the POST example to POST JSON instead of form post.

https://github.com/dncuug/X.PagedList/issues/61

The async implementation is using Task.Factory.StartNew() but that is not good in ASP.NET environment, it is better to be using the approach done by Entity Framework here because that is not creating a new thread.

Maybe just doing return await Task.Run(() => superset.ToList(), cancellationToken); is good enough instead of offloading all that to EF by detecting the query type and all that? Then you could keep your net40 support.


feat(graph): add Spanner Graph support to LangChain GraphStore interface

Add SpannerGraphStore implementation of GraphStore;
Add an integration test;
Add a notebook to demonstrate the usage;
Misc updates: requirements, init

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

Thank you mtyin for raising the PR. The code looks well organized and modular.
I have reviewed the source code file and not test file. From the functionality point of view, it looks good but I need to do one more iteration.
Other than mentioned comments, few general things:

You can use isort and black to format and style the code.
Null Checks are missing at various places, can you please add it?

Resolve this.


feat: add ruby example (Rails)

This is just the output of rails new with a single home controller which outputs the example page.
It can be created on deplo.io with this command:
nctl create application rails-example --git-url=https://github.com/ninech/deploio-examples --git-sub-path=ruby/rails-basic --git-revision=ruby --env=SECRET_KEY_BASE=$(rails secret)

Works fine, but I guess there should be some context around the command to run it and the need for the SECRET_KEY_BASE env var. Definitely tripped me up because I didn't have rails installed and nctl did not clearly tell me that this was the issue.
Arbitrary 127 char string seems to work fine for that value though

Yeah I already started a branch to update the README.md with how to create each example and I'll add that additional context there.


[BUG]  Trying to run-applio.bat

After I ran the run-install.bat , when I try to run the run-applio.bat shows this error.
Should I installed all of these in the main C root ???

https://github.com/IAHispano/Applio/issues/198


Feature Request: OpenBSD ELF x64 Patching Support

Same as the x86 OpenBSD issue.

https://github.com/secretsquirrel/the-backdoor-factory#the-backdoor-factory-is-no-longer-maintained-or-supported


Potential Issue: Customer Group Not Stored with Order Could Lead to Inconsistent Behavior

PHP Version: 8.3   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Actual behaviour:
It seems that Shopware does not store the customer group with the order, instead retrieving it from the customer record when the order is updated. This behavior might lead to potential inconsistencies in how orders are processed, especially if the customer group changes over time.
Additional Notes:

Other shop systems store the customer group along with the order to maintain consistency.
Shopware triggers specific rules or actions based on the customer group, so this behavior may cause issues with rule application or order management.
While this may be intentional, it could lead to unintended changes in customer-specific behavior, such as pricing or discounts.

Expected behaviour:
It would be preferable for the customer group to be stored with the order so that it reflects the state of the customer group at the time the order was placed. This is a behavior that other shop systems commonly implement to avoid inconsistencies when updating or modifying orders.
Would it be possible to store the customer group directly with the order upon placement to avoid potential discrepancies when editing an order later? If this is not intended behavior, it might be worth revisiting the design.
How to reproduce:
Steps to Reproduce:

Place an order with a specific customer group.
Update the order at a later time.
If the customer group has changed in the meantime, the updated order may reflect the new customer group rather than the one that was originally assigned.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39822
[created from NEXT-39822, comment 517679]


The specified column query is invalid

Describe the bug
.
The fuzzy query lists some existing data, and then queries according to the id result but cannot find the content.
Expected behavior
How to find specific document.
Configuration:
Please provide:

quickwit --version: 0.3.1
The index_config.yaml

I am not sure how to fix this but this is a UI bug.
The first screen is actually the wrong one.
The JSON API is returning a different value, but the browser, as it parses the JSON, uses a 64 bit float point, and cannot represent this number
One easy way to confirm is to run this in a browser console.
s = "{\"id\":<PHONE_NUMBER>36395745351}";
'{"id":<PHONE_NUMBER>36395745351}'
v = JSON.parse(s)
{id:<PHONE_NUMBER>36395750000}

Two workarounds  in the meanwhile:

Redo you test without using the UI. You can hit the API with query=*, get the real id, and run the search query with the correct id value.
Index your id as a raw text.

You can also wait for us to come up with a fix :)

I am not sure how to fix this but this is a UI bug.
The first screen is actually the wrong one. The JSON API is returning a different value, but the browser, as it parses the JSON, uses a 64 bit float point, and cannot represent this number
One easy way to confirm is to run this in a browser console.
s = "{\"id\":<PHONE_NUMBER>36395745351}";
'{"id":<PHONE_NUMBER>36395745351}'
v = JSON.parse(s)
{id:<PHONE_NUMBER>36395750000}

Two workarounds in the meanwhile:

Redo you test without using the UI. You can hit the API with query=*, get the real id, and run the search query with the correct id value.
Index your id as a raw text.

You can also wait for us to come up with a fix :)

Thanks, I confim that is a BUG of UI

I'll create a separate issue so we can track it.

@yangjinming1062 thank you for all of the bug reports! It is really helpful for us.


Improve Azure Identity SDK Error Messages and logging details

Add verbose/debug level logs to Azure Identity that help to explain the code flow to day zero users and provide guidance on issues that the users may encounter.
Add aka.ms Links to the troubleshooting guide in the Error Messages.
PR to port: Azure/azure-sdk-for-java#23502

Covered by https://github.com/Azure/azure-sdk-for-python/pull/20684.


Quit Button on Loading Screen

The quit button is supposed to be clickable after a couple of seconds, well this bug causes it to only be clickable when there's an update. Fortunately, this bug will be fixed in the next update. [This is mainly a mental note :)]

Fixed in v0.2.2


bug: Enhance the error message when an admin.kubeconfig already exists, but is corrupt

Describe the bug
Recently I was performing a kcp startup, which failed with the following errors:

cannot create the 'admin.kubeconfig` file with an empty token for the shard-admin user

Later, I determined the issue was due to a pre-existing corrupt kubeconfig (did not have any token or context details for shard-admin user) at .kcp/admin.kubeconfig. After cleaning up .kcp, I re-ran go run ./cmd/kcp start, and it progressed well!
Would it be feasible to enhance the error message, when the admin.kubeconfig file already exists but does not have token details of the shard-admin user, rather than just stating that "it couldn't be created with empty token"? Let me know your thoughts!
If this seems like a useful change, I would like to work on it. Thanks!
Steps To Reproduce

Remove the context and token details for shard-admin user in the .kcp/admin.kubeconfig.
Build and start the kcp: go run ./cmd/kcp start

Expected Behaviour
A clearer message that indicates the missing context & token details from the existing kubeconfig.
Additional Context
No response

using kcp-dev/helm-chart
Error: cannot create the 'admin.kubeconfig' file with an empty token for the shard-admin user

in the kcp volume:
ls -la
total 8
drwxrwxrwx. 1 root  root    48 Feb 14 10:49 .
drwxr-xr-x. 1 root  root   462 Feb 14 10:49 ..
-rw-------. 1 65532 65532   32 Feb 14 10:49 .admin-token-store
-rw-------. 1 65532 65532 3243 Feb 14 10:49 sa.key
root@kcp-control-plane:/var/local-path-provisioner/pvc-cd809aff-299a-4a58-b7a2-350a460aff52_kcp_kcp# cat .admin-token-store
LYk.bezB4x'x&>j

after deleting the .admin-token-store and restart it worked :shrug:
cat .admin-token-store
qB!EKv0rr


fluxgui will not start if old ppidfile is present

Hi, i'm using fluxgui 1.1.8.
sometimes on shutdown fluxgui issn't able to remove it's pid-file, which wiredly lays in /tmp.
But that shouldn't matter since it is a pid-file, not a lock-file, but fluxgui uses it as a lockfile, it will not start if that file is present, even if there is no process with the pid in the pid-file:
$ cat /tmp/fluxgui_dicky.pid
19170 $(cat /tmp/fluxgui_dicky.pid)
  PID TTY      STAT   TIME COMMAND
$ fluxgui
fluxgui is already running, exiting
$ rm /tmp/flux*
$ fluxgui

imo should fluxgui check if there is a process with the id in the pid-fileand should check if that process is indeed a fluxgui.
Are there some information on how to build? if so, i might have a look into the source and maybe send a pullrequest addressing this...

You are right, it does function as a lock file currently.
Running should work with "python src/fluxgui/" provided you have xflux in your path. The PID file function is here: https://github.com/xflux-gui/xflux-gui/blob/master/src/fluxgui/fluxapp.py#L55 and is pretty self-contained, so would make for a nice pull request :)

i can't get the code here up and running, but i might have spot some thing.
to check if a process with the old PID exist you use:
ps -q %i -o comm= | grep -i python > /dev/null

neither the ps on my linux-machine nor the ps at my work-mac knows about a -q switch...
couldn't you just use
ps %i

instead of ps -q %i -o comm=
we also can simplify the grep part:
ps %i | grep -iq python

-q writes nothing to stderr, just set an errorcode.
but having ps -q exit with an errorcode not 0 would mean it will never refuse to start, even if there is a process running.
Knowing that i inspected the code installed from the deb.
That's not the same code!
my first few lines of /usr/lib/pymodules/python2.7/fluxgui/fluxgui.py
looks like:
#!/usr/bin/python
import appindicator
import gtk
import gtk.glade
import gconf
import sys
import pexpect
import os
from xdg.DesktopEntry import DesktopEntry
VERSION = "1.1.8"

class Fluxgui:
    def __init__(self):
        self.check_pid()
        self.indicator = Indicator(self)

        self.color = None;
        self.settings = Settings(self)
        self.start_xflux(self.settings.latitude, self.settings.longitude,
                         self.settings.zipcode, self.settings.color)

        if self.settings.latitude is "" and self.settings.zipcode is "":
            self.open_preferences("activate")

    def check_pid(self):
        pid = str(os.getpid())
        self.pidfile = "/tmp/fluxgui_%s.pid" % os.environ['USER']

        if os.path.isfile(self.pidfile):
            print "fluxgui is already running, exiting"
            sys.exit()
        else:
            file(self.pidfile, 'w').write(pid)

That package is from:
deb http://ppa.launchpad.net/kilian/f.lux/ubuntu trusty main
i am confused?!

Hi,
First thank you for your work on this tool.
I encounter the same error as above :

Package fluxgui from :
deb http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial main
deb-src http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial main
My computer :


Update decksite.wsgi

Hey @silasary,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: a4ee26a0-19b4-11ea-a744-67689bca182d


React New York Conf

This PR is for adding React NewYork conference to the conference list

Hey guys can I get this merged in?


GUI conflict with StoneQuarry?

Hi, Great Mod.  I have been using it for several weeks.
I added 'stonequarry' and the game crashed.  I had not run the stonequarry object mapping yet, so I removed prospectorinfo and reran the game; the object mapping completed.  I then readded prospectorinfo and the game crashed again.  GUI conflict?
Thanks for your consideration :)
Running on 64 bit Windows with 32 GB RAM
Game Version: v1.17.8 (Stable)
10/15/2022 6:02:11 PM: Critical error occurred in the following mod<EMAIL_ADDRESS>Loaded Mods<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Vintagestory.API.Client.GuiElementDropDown.ComposeCurrentValue() in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementDropDown.cs:line 238
at Vintagestory.API.Client.GuiComposer.Compose(Boolean focusFirstElement) in VintagestoryApi\Client\UI\GuiComposer.cs:line 395
at ProspectorInfo.Map.GuiProspectorInfoSetting.SetupDialog()
at ProspectorInfo.Map.GuiProspectorInfoSetting..ctor(ICoreClientAPI capi, ModConfig config, Action1 rebuildMap)    at ProspectorInfo.Map.ProspectorOverlayLayer..ctor(ICoreAPI api, IWorldMapManager mapSink)    --- End of inner exception stack trace ---    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)    at System.Activator.CreateInstance(Type type, Object[] args)    at Vintagestory.GameContent.WorldMapManager.OnLoaded() in VSEssentials\Systems\WorldMap\WorldMapManager.cs:line 218    at System.Action.Invoke()    at Vintagestory.Client.NoObf.ClientMain.OnAllAssetsLoaded_ClientSystems(Int32 i) in VintagestoryLib\Client\ClientMain.cs:line 947    at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 1168    at Vintagestory.Client.GuiScreenConnectingToServer.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenConnectingToServer.cs:line 381    at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 720    at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 624    at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 131    at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 479
at OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 454
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 375
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Vintagestory.API.Client.GuiElementDropDown.ComposeCurrentValue() in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementDropDown.cs:line 238
at Vintagestory.API.Client.GuiComposer.Compose(Boolean focusFirstElement) in VintagestoryApi\Client\UI\GuiComposer.cs:line 395
at ProspectorInfo.Map.GuiProspectorInfoSetting.SetupDialog()
at ProspectorInfo.Map.GuiProspectorInfoSetting..ctor(ICoreClientAPI capi, ModConfig config, Action`1 rebuildMap)
at ProspectorInfo.Map.ProspectorOverlayLayer..ctor(ICoreAPI api, IWorldMapManager mapSink)

Were you able to replicate?

Sorry wasn't able to look at it yet
I will try to look at it this week

S'all good.  Just wanted to let you know what I found.  Thanks.

Sadly I haven't been able to replicate the issue by installing ProspectiorInfo 4.1.2 and stonequarry 2.0.0-rc.4 completely fresh.
If I understand correctly you managed to "fix" the problem yourself for now? Then I wouldn't prioritize this until there is a consistent way to replicate the issue.

Thanks for your help.  Yes, removing the config file and letting the mod recreate it seems to have resolved the problem.


minimal CLI

We should have a binary alongside the library code that exercises all the (sub)modules of this crate.
It can be used as a quick demonstrator of the integrated functionality exposed by the crate, e.g.:

crypto verification

$ ccatoken verify token.cbor tastore.json

evidence appraisal

$ ccatoken appraise token.cbor rvstore.json

As discussed with @kevinzs2048, another useful functionality that could be added is reference values extraction for both Realm and Platform.


BUG: python setup.py creates mne.egg-info

python setup.py sdist creates a mne.egg-info in the root dir that can then mess up the importlib.metadata resolution of the package version. See discussion in https://github.com/mne-tools/mne-bids/pull/1160#discussion_r1281947981. The TL;DR is that @hoechenberger and I had versions reported as 1.4.2 when we were on 1.5.0.dev because this file sat around out of date.
Ideally this file would not be produced at all, but even python -m build . seems to create it.

Where is this relevant? When doing mne.__version__? Can importlib.metadata be instructed to only use specific directories (not sure what exactly you are referring to though)?

The discussion linked above https://github.com/mne-tools/mne-bids/pull/1160#discussion_r1281947981 shows how/where it's relevant

Can importlib.metadata be instructed to only use specific directories

Not that I know of but feel free to investigate

It's probably not pip, because a minimal example is working as expected:
❯ tree
.
├── mypackage
│   └── __init__.py
└── pyproject.toml

❯ cat pyproject.toml
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "mypackage"
version = "0.1.0"

❯ cat mypackage/__init__.py
from importlib.metadata import version

__version__ = version(__package__)

print(__version__)

Install that package with
❯ pip install -e .

This creates the mypackage.egg-info folder. Test with
❯ python -c "import mypackage"

Now change the version to e.g. "0.2.0" in pyproject.toml, run pip install -e . again, and python -c "import mypackage" will show the updated version.
So I think the problem might be in the fallback _version.py?

@larsoner given the changes to our build system, can this be closed now?

Yes setup.py is gone and even just now doing pip install --no-build-isolation -ve . the problematic mne.egg-info was not created


Getting error "metric function identifier" error

I get the following error in a notebook, and a similar error when running the corresponding code at the command line:
ValueError: ('Could not interpret metric function identifier:', <keras_tqdm.tqdm_notebook_callback.TQDMNotebookCallback object at 0x7eff8b8872b0>)
The code I am using is:
from keras_tqdm import TQDMNotebookCallback
...
model.compile(loss='binary_crossentropy', optimizer='adam', verbose=0, metrics=[TQDMNotebookCallback()])

I think you must use callbacks=[TQDMNotebookCallback()],   it is not a metric function.

Yes, duh! And your observation led me to fix another couple of errors. All working now.
Perfect timing too. I'd put the project aside for a bit but picked it up again just today. Thanks!


Create Clusters Api

stream-registry PR
Create /Clusters Api
Added
/Clusters as First class citizen with put(), get(clusterName), getAll()
PR Checklist Forms

[X] CHANGELOG.md updated
[X] Reviewer assigned
[X] PR assigned (presumably to submitter)
[X] Labels added (enhancement, bug, documentation)

Closes #36

Why are you trying to merge in commits from December? Please rebase.


Add borders to Journey Card based on the Tansport Mode

#203  👈
main

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

Join @ksharma-xyz and the rest of your teammates on  Graphite


Hook for local, global, shell

I have a use case for a hook for rbenv local, rbenv global, and rbenv shell...
I would use the hook to look for /opt/chefdk and if it existed then symlink it into the versions directory before switching.  It would make my ChefDK plugin complete.
I suppose the hook should also be run before rbenv versions as well.

Interesting use case, but not sure whether we want to define so many extra hooks just for this one use-case. Shouldn't people explicitly opt to symlink versions into their RBENV_ROOT/versions so that they're aware which exact Ruby version they're using?

I have that as the current instructions but I was trying to think how to make it more user friendly.
I totally understand if it adds to much of a maintenance cost for the benefit. I appreciate the clean and readable code in rbenv.
I suspect the rbenv-use and rbenv-aliases could make use of an rbenv versions hook.

Take a peek at #637 for an upcoming feature about aliases ;)

Love it!  What happens if the symlink points to something in /opt?

What happens if the symlink points to something in /opt?

It is displayed like before. "Aliases" are only symlinks within the same directory.

A hook for version-name was added in https://github.com/rbenv/rbenv/commit/258e4413b165b87e4c0c3190b45c1a167678b4d5.

Closing this due since I don't really think we'd be adding extra hook anytime soon.


Variables View

Likely a different widget than #220 due to including non-stack variables like register/flag vars.
It would be great to have a widget where all of the variables in the current function can be inspected/modified. Specific features include:

See all the variables in the function
Edit their names
Edit their types
Use dataflow to display their value at the current address
Use UIDF to edit their values
Highlight live variables at the current address
Highlight variables whose value is modified at the current address
Optionally sort live variables above nonlive
Show additional context eg global pointer

Available in build 2919


[Smartphone] Translations - incorrect data display

Precoditions:

Smartphone 4,7'

[x] Go to: admin/translations/index/admin

Results:

[x] Second thing -  don't know, why is there french flag all the time: https://image.prntscr.com/image/9eXBHjPEQ86uqBu3EejtfQ.png

@dawid-g Yeah, you're right. Little CSS conflict as a result of brand styling. Should be allright now, though.

it's ok now, closed.


Caching

For https://phabricator.wikimedia.org/T119282 task.
Will work on the refactoring of ResponseListeners etc on another branch after we have concluded what we want to do, and will hopefully merge this branch with that later.

Looks OK to me.

Currently using JAR created by Nicolas

@niedzielski @nicolas-raoul - Are there any other modifications needed for this branch? (the real device bugfix is in a separate branch)


Impossible to search

Hi.
I already met this bug and it is still present today.
Best regards.

Isn't it a duplicate of #61?


.NET Core SDK 1.1.0 Preview 1

The .NET Core SDK (CLI) is being updated to version 1.1.0 in Visual Studio 2017 15.3. The changes, which are listed in the SDK release notes are in support of Visual Studio 2017. 1.1.0 Preview 1 is available for download and the previously released Runtime-only installers and binaries can be found on the .NET Core 1.0.5 and 1.1.2 installer pages.
Discussions for this release should be posted in the .NET Core SDK repo.

Reopening according to process.


Can't get answer index

problem in def format_paragraph, working on the issue

`def format_paragraph(doc):
questions = []
options = []
document = docx.Document()
current_options = []
current_question = ""
# Loop through the paragraphs in the document
for paragraph in doc.paragraphs:
# Create a new paragraph with the same formatting
new_paragraph = document.add_paragraph()
for run in paragraph.runs:
# Copy the runs and their formatting from the original paragraph
new_run = new_paragraph.add_run(run.text)
new_run.bold = run.bold
new_run.italic = run.italic
new_run.underline = run.underline
new_run.font.size = run.font.size
new_run.font.highlight_color = run.font.highlight_color
# Check if the paragraph contains a question
text = run.text.strip()
if text.startswith("Câu "):
# Save the previous question and its options if they exist
if current_question:
questions.append(current_question)
options.append(current_options)
# Reset the current question and options
current_question = text
current_options = []
elif is_option(text):
# Split the options if multiple are on the same line
for option in split_options(text):
current_options.append(option)
print(option)
# Append the last question and its options if they exist
if current_question:
    questions.append(current_question)
    options.append(current_options)

# Print the extracted questions and options
for i, question in enumerate(questions):
    document.add_paragraph(question)
    for option in options[i]:
        document.add_paragraph(option)

document.save('temp.docx')`

`def format_paragraph(doc):
questions = []
options = []
document = docx.Document()
current_options = []
current_question = ""
# Loop through the paragraphs in the document
for paragraph in doc.paragraphs:
# Create a new paragraph with the same formatting
new_paragraph = document.add_paragraph()
for run in paragraph.runs:
# Copy the runs and their formatting from the original paragraph
new_run = new_paragraph.add_run(run.text)
new_run.bold = run.bold
new_run.italic = run.italic
new_run.underline = run.underline
new_run.font.size = run.font.size
new_run.font.highlight_color = run.font.highlight_color
# Check if the paragraph contains a question
text = run.text.strip()
if text.startswith("Câu "):
# Save the previous question and its options if they exist
if current_question:
questions.append(current_question)
options.append(current_options)
# Reset the current question and options
current_question = text
current_options = []
elif is_option(text):
# Split the options if multiple are on the same line
for option in split_options(text):
current_options.append(option)
print(option)
# Append the last question and its options if they exist
if current_question:
    questions.append(current_question)
    options.append(current_options)

# Print the extracted questions and options
for i, question in enumerate(questions):
    document.add_paragraph(question)
    for option in options[i]:
        document.add_paragraph(option)

document.save('temp.docx')`


Bug - tools.CalcImageOffset

When using tools.CalcImageOffset(image, addr) with a coreboot firmware image I get a warning.
2021/04/09 08:12:22 error parsing ME Flash Partition Table: ME Flash Partition Table signature 0x24465054 not found: first 20 bytes are:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 30 00 00 |.0..|

Is this intended? Can we fix this?

This is related to fiano package. Supressed the warning now.

A better fix: https://github.com/linuxboot/fiano/pull/331


failed to install Docker in RHEL and SUSE for RKE-provisioned cluster

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

run rancher:master-head f3fbe1449
add 2 node templates for AWS nodes:

AMI RHEL-7.7_HVM_GA-20190723-x86_64-1-Hourly2-GP2; SSH user: ec2-user
AMI suse-sles-12-sp2-v20161214-ecs-hvm-ssd-x86_64:  SSH user: ec2-user

create 2 clusters using the each of the above node templates

Result:

Rancher fails to install Docker in both clusters
For the RHEL cluster, Rancher logs and the UI show error message, and Rancher keeps deleting and creating new instances in AWS

2019/12/11 17:04:06 [ERROR] NodeController c-9x85j/m-8r5l6 [node-controller] failed with : Error creating machine: Error running provisioning: error installing docker:

For the SUSE cluster, the cluster fails at the health check stage for worker nodes. The error message shows an old version of Docker, not the one we set in the node template, is used

2019/12/11 17:21:16 [ERROR] ClusterController c-82b7k [cluster-provisioner-controller] failed with : [workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Failed to check http://localhost:10248/healthz for service [kubelet] on host [<IP_ADDRESS>]: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused, log: F1211 17:21:03.371518   18279 server.go:271] failed to run Kubelet: failed to create kubelet: docker API version is older than 1.26.0]

More Info:

Both images are from the community
the SSH User for both is ec2-user
the Docker Install URL in the node template is the default value which is https://releases.rancher.com/install-docker/19.03.sh
Rancher can install Docker in Ubuntu and RancherOS and provision clusters successfully

For RHEL, the repository that is needed for dependencies for the docker-ce package live in the rhel-7-server-rhui-extras-rpms repository. We need to enable this in our install-docker scripts. As soon as 19.03.5 PR is merged, I can submit a new PR for all 19.03 versions to include enabling tis repository.
For SLES, the AMI mentioned comes with Docker pre-installed (as were two others that I tried), and because the AMI is that old, you get a very old Docker. The install script does not support SuSE and will just error out, and the Docker version already installed will be used which is 1.12 and is not supported.

the fix is validated in v2.3.4-rc5 and master-head 189e4337c with the default docker install script: https://releases.rancher.com/install-docker/19.03.sh
For RHEL, the AMI is the same as the issue provides: RHEL-7.7_HVM_GA-20190723-x86_64-1-Hourly2-GP2, Docker 19.3.5 is installed successfully, and the cluster is up and active with the k8s version 1.16.4
For SLES, since the install script does not support SUSE, the tests are skipped. Validation for SLES with preinstalled docker 19.03.x will be done separated.


Replace "skip-duplicate-action" GHA jobs pre-check with native GHA concurrency functionality

This pull request updates all the workflows and switches from skip-duplicate-actions GHA action to native "concurrency" functionality.
Ability to cancel old and redundant builds is now part of native GHA functionality. Utilizing native functionality allows us to simplify the workflows and remove that pre_job check.

I confirmed the change works as expected (https://github.com/apache/libcloud/actions/runs/5725752694?pr=1924), so I will go ahead and implement it for all the workflows.


[MRG] Elevates scikit-learn warnings to errors

Addresses a piece of #263
This PR elevates warnings to errors.

Through the use of nans, dask seems to frequently run into numpys RuntimeWarnings: https://github.com/dask/dask/issues/3245
This PR has been updated to ignore RuntimeWarnings.

Thanks.
I'm hoping to solve the LabelEncoder issue (from #333) later today. Sorry about that.
Do you know if there's a way to restrict the elevation to just warnings coming from a specific package (scikit-learn?)

Great, thanks.
It seems to be working properly now. I'll fixup the labelencoder issue the weekend, and we can start to remidy the warnings coming from scikit-learn.

This PR has been updated to address the errors and warnings from sklearn. Only LabelEncoder related issues are left.

Thanks a ton for doing this. I hope to have the LabelEncoder failure fixed on dask master today.

Merged in master with the labelencoder fix. Hopefully everything passes.

FYI, if you're finding the style checking annoying, I'd recommend installing pre-commit hooks to run it for you: https://dask-ml.readthedocs.io/en/latest/contributing.html#pre-commit-hooks

Thanks for the pre-commit tip!
There are two DeprecationWarnings appearing in our dask-ml tests that are fixed in sklearn master. The latest release, sklearn 0.19.2, does not contain the commits: https://github.com/scikit-learn/scikit-learn/commit/fe6e562c777179f60e43cca40d86203bf2276178 and https://github.com/scikit-learn/scikit-learn/commit/c554aad456b6302a8dd8838769769eeecc1cf734 that fixes the issue. For now, I choose to ignore the DeprecationWarnings in dask-ml tests.

LGTM, thanks!
Just pushed a commit removing some stray dask-worker-space files (I have those globally ignored, sorry). Merging on green.

It seems like circleci was having issues earlier today. This may have caused the error in https://circleci.com/gh/dask/dask-ml/1872?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

I've noticed that test stalling occasionally. Haven't bothered to investigate since it's just python 2.
Thanks again!


BOLT PROJECT is gone

Describe the bug
I was editing some features today with "email server" and this is only one thing I wanted change in the project and after few errors it has started me new project with loosing all features.
Link to the Bolt URL that caused the error
https://bolt.new/~/bolt-nextjs-shadcn-1fgwnr
Steps to reproduce
Restore my project before editing email server from today
Expected behavior
restore my working project
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 57642264,
  "usedJSHeapSize": 55409852,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = awiaczek
Chat ID = 3339c18872f3

Additional context
No response

@awiaczek can you find your project using the instructions in #39?


Fix bug with resolving drift when trying to export class lists

Who is this PR for?
K5 principals
What problem does this PR fix?
Fixes https://rollbar.com/somerville-teacher-tool/somerville-teacher-tool/items/169/; when students are withdrawn or move schools, there's drift between the set of students in the class lists and the current set of students.  The class list UI code resolves this in a few places, but not in the export list.  So if a student is withdrawn, this page raises an error.
What does this PR do?
Calls the resolve function for the ExportList component too.

selfie


Default generics

Hi @goodmind thanks for the PR. Can you notice the merge conflicts and resolve them? :)

@staltz

?

Strange, I was sure there were conflicts before. Anyway, looks good now. Thanks!


1.16.x: 2 - BiomeGenerator

Implement the OTG BiomeGenerator for 1.16.x.
Implement console commands:

/otg biome (all except /otg biome -m).
/otg map (see #537 ).
/otg lookup.

Fixed by @SuperCoder7979 , could you fill in which biome modes / settings should work now, and which still need to be done? (beforegroups mode for BB, fromimagemode?)

BeforeGroups mode implemented, FromImageMode still TODO

Normal(groups)/BeforeGroups/FromImageMode work. Oceans implementation is incomplete atm, needs to be updated for new ocean biomes, will make a separate ticket.


Expose Client Telemetry with custom metadata fields API

Expose Client Telemetry with custom metadata fields API

This is done.


Text shaping backend switch: SkShaper and SkParagraph

This is a tracking issue to monitor, document, and discuss the development of Skia's SkParagraph module as a replacement for LibTxt.
SkParagraph is currently enabled under a flag --enable-skshaper as of https://github.com/flutter/engine/pull/9556 (eg, ./flutter/tools/gn --unoptimized --android --enable-skshaper)
SkParagraph's POC on Skia is @Rusino

cc @Hixie You probably want to be kept in the loop regarding this! :)

https://github.com/flutter/engine/pull/13008 further integrates SkParagraph with LibTxt

@chunhtai See comments here for a few updates.

Update: We are currently working on bringing SkParagraph to parity with LibTxt. Please see the skia bug tracker "TextLayout" label for issues we have uncovered and are working on: https://bugs.chromium.org/p/skia/issues/list?q=Area="TextLayout"

If anyone wants help with the effort, you can try using SkParagraph with a local engine build and including the --enable-skshaper flag in the gn command (eg, ./flutter/tools/gn --android --android-cpu=arm64 --unoptimized --no-lto --enable-skshaper)
Reporting any bugs found to https://bugs.chromium.org/p/skia/issues/list, particularly around text editing would be extremely helpful!

@GaryQian I'm interested in trying it out, but could you include a few more setup steps (or link to directions)? I've never done a local engine build.

We happen to have a guide on https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment
Once you have your engine built, you can run your app with the local engine via flutter run --local-engine=android_debug_unopt_arm64. You should replace the specific engine version with the version you have built/want to use. Please note that you also need a matching "host" version of the engine, which supplies dart.

@suragch's article brought me here. Am excited about this as well.

This was brought to my attention from my one of our top customers and they indicated that this issue was quite urgent on their side. Can we get an ETA from Skia?

@zoeyfan Should the priority of this one be bumped up to customer critical as well since it is a pre-requisite for the customer critical bug of https://github.com/flutter/flutter/issues/18761?

Thanks @goderbauer for the reminder. I have marked this issue as customer critical as well.

thanks for great work!
any timeline for the switch?

Reducing to P3 since the bug that depended on this has itself reduced to P3.

any update?

/cc @kf6gpe

this feels like an eternity :cry:

Brief update, we are currently still in the process of improving SkParagraph performance as well as fixing remaining bugs to ensure that the switch will not be a regression for end users. @jason-simmons if you wanted to add more detail.

@GaryQian Thanks for keeping us updated. I'm glad to hear about the progress.

Is there any chance the methods drawString or drawSimpleText from SkCanvas could be exposed through Flutter as part of this switch? This would be useful where we need just a single run of text, and so can avoid the overhead of building paragraphs.
In my use case, I control the position of each character on the canvas directly, painting one character at a time. The added overhead of creating a ParagraphBuilder to then create a Paragraph and do Paragraph.layout for painting a single character is not quite ideal (though works OK in profile mode for small cases). (See https://github.com/flutter/flutter/issues/58478 for more details.)

Any update on this?

Any update on this?

@GaryQian
Can I help with the testing right now?

Removing the web labels. We are already using SkParagraph for everything.

I'm getting old :laughing:

Hi guys, any updates on this issue?

Any updates? :)

@jason-simmons @GaryQian I believe we switched the default to SKParagraph now. Is there anything left to do on this issue or should we close it?

SkParagraph is now the default text renderer on the Flutter master branch.

@jason-simmons @GaryQian @goderbauer
I'd love to learn more about the implications of this change. Is it a straight one-to-one parity with LibTxt? Does it introduce any new user facing functionality? Is there a write-up about this change anywhere?

SkParagraph implements the same APIs as Libtxt, and the change should be essentially invisible to users.


fix typo in 404-server README

fix typo in 404-server README :)

This change is

Thanks for the fix.


fix #2651 and partial #2652

Menu, decided to move the download to the more info menu and add the help option to avoid having even more items:

Footer:

Codecov Report

Merging #2657 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #2657   +/-   ##
=======================================
  Coverage   94.38%   94.38%
=======================================
  Files         166      166
  Lines       19563    19563
=======================================
  Hits        18465    18465
  Misses       1098     1098

Continue to review full report at Codecov.

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


Sample query inconsistent with sample query result

[Enter feedback here]
Examples for IS_NULL, IS_NUMBER and other functions are inconsistent: sample query returns an object with 7 properties, but result set listed right after the query is an object with 6 properties.

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

ID: 46fe839e-e108-404c-03b7-3e93efc0af65
Version Independent ID: 6d90520e-63ea-5820-abad-9541dedb551a
Content: SQL language syntax in Azure Cosmos DB
Content Source: articles/cosmos-db/sql-api-query-reference.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@HardToChoose Thank you for pointing out the issue, I have updated document. The changes should be live EOD or tomorrow.
We will now close this issue. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. We love to take community contributions.


[build] Fix issue in maven build that recompiles all classes

Motivation
Maven has a bug that recompiles all classes on every build invocation.
The PR has a workaround for the maven bug https://issues.apache.org/jira/browse/MCOMPILER-205 .

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Wormhole Bug: BTC (ERC-20) to BTC (SOL) stuck on "Awaiting completion on Solana..."

It’s happened again..My transfer has been stuck on "awaiting completion on solana" for a while now.  it’s been over 8 hours now (last time this happened it cleared in about 4 hours)
ETH:
https://etherscan.io/tx/0xc3f5d7df58cdce90d4c68e4832d9d9e067299eadd64c8d46f8152f8c74a583bb
This usually doesnt take that long.
Please help.  Thank you.

There you go, gave it a nudge: https://explorer.solana.com/tx/5a7Bj9KHpydWnAro7DkXAWna7DgnnctEGZw838UdvoyfPZqA7yw4Nm57NGjk66GnvozqUXgYaeAVGF6EY3d4FuL

thanks alot!!


Add SwiftPDFGenerator to the ProjectList

Project URL
https://github.com/kayoslab/SwiftPDFGenerator
Description
The Library generates a PDF directly from interface builder with Auto-layouted views! Swift Version of UIView_2_PDF.
Checklist

[x] Only one project is in the request
[x] Addition in chronological order (bottom of category)
[x] Travis CI pass
[x] Supports iOS 7 and later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Add SwiftPDFGenerator to the PDF Category

Thank you!


updates for clarity on daemonset alternatives

I'd be happy to update the prose here with a bit of guidance!

This change is

@tkellen I'll be glad to help with this. Can you clarify what guidance you'd like me to provide? Thanks.

Hi @steveperry-53, thanks for chiming in! Let me see if I can put a fine point on what I was confused about...
This section reads:

In Kubernetes version 1.6 and later, you can perform a rolling update on a DaemonSet.
Future releases of Kubernetes will support controlled updating of nodes.

This section (where I left my note) reads:

Future versions of Kubernetes will likely support integration between DaemonSet-created Pods and node upgrade workflows.

It seems to me that the first section is a confirmation of the second, and that the second should be removed, or expanded somehow.
What do you think?

I'd like to vote for removing both. The documentation should be only about what things are today, and even better, what things were yesterday. Any prediction about the future might risk being false hope.

I've taken your vote and implemented it @tengqm!

rebase needed, otherwise lgtm.

Whoops. Updated!


Fix withdrawable collateral in case of liquidations

In case of EXPIRED status, if a borrower has not borrowed anything from the PooledCreditline and has deposited collateral. He should be able to get his totalCollateral tokens back, right? But in the current scenario, the user will not be able to get back his collateral if he calls withdrawCollateral function. Is that the desired scenario or does the borrower have to go and do all the pool operations (borrow, repay, etc) to get back his collateral?

In case of EXPIRED status, if a borrower has not borrowed anything from the PooledCreditline and has deposited collateral. He should be able to get his totalCollateral tokens back, right? But in the current scenario, the user will not be able to get back his collateral if he calls withdrawCollateral function. Is that the desired scenario or does the borrower have to go and do all the pool operations (borrow, repay, etc) to get back his collateral?

True.... I have allowed closing of pool in expired state as well as long as principal is 0. That should fix this.

lgtm


PBID-96: Store request-filter status in compound cookie

@victorigualada I wasn't sure how to merge upstream/master into both the parrableIdSystem branch and the PBID-96 branch this PR references. So I rebased parrableIdSystem onto upstream/master and then rebased PBID-96 into that. Force pushing both.
When you go to work on this locally you'll need to do a git fetch, followed by a git reset origin/parrableIdSystem/PBID-96_requestFilterStatus and git reset origin/PBID-96_requestFilterStatus
@alvarobrey might know a better way to do this in the future.

@victorigualada I wasn't sure how to merge upstream/master into both the parrableIdSystem branch and the PBID-96 branch this PR references. So I rebased parrableIdSystem onto upstream/master and then rebased PBID-96 into that. Force pushing both.
When you go to work on this locally you'll need to do a git fetch, followed by a git reset origin/parrableIdSystem/PBID-96_requestFilterStatus and git reset origin/PBID-96_requestFilterStatus
@alvarobrey might know a better way to do this in the future.
Nope, rebasing seems like the right call. We could merge instead but that would result in merge commits.

@victorigualada I've merged in upstream/master into this PR's base branch. Instead of rebasing both branches like I did last time because I'm not confident I can correct the merge conflicts caused by the thirdPartyCookie changes when merging this work in.
Please take a look at these conflicts and solve them!


End-to-end example needs to be changed to deploy tfjob into user profile namespace

https://www.kubeflow.org/docs/gke/gcp-e2e/
(I'll file a kubeflow/examples bug too).
Looks like this example is broken right now; looks like the tfjob needs to be deployed into a user profile namespace now. The quick workaround is to just direct the output of 'kustomize build' to a yaml file rather than piping directly to kubectl; then editing that file to change the namespace, then applying it.  The more principled fix would be to change the set of kustomize commands.
(for googlers, see this discussion for background)

@jal06 please open a separate issue for katib examples.

Bump to P0 because we should fix for 1.0.

@amygdala Are you working on this tutorial and if so, can I assign this issue to you?

@jal06 please open a separate issue for katib examples.

Thanks for your answer
I open a new issue for Katib : https://github.com/kubeflow/website/issues/1599

/cc @DanSanche
@DanSanche I'm cc-ing you on this bug about the end-to-end tutorial (not the afore-mentioned Katib issue). @amygdala is planning to chat to you about it.

Related issue in the kubeflow/samples repo: https://github.com/kubeflow/examples/issues/713

I might suggest that we create a notebook to run this mnist example. Similar to what we do for xgboost_synthetic
The guide would then be

Deploy Kubeflow
Start a notebook
Clone kubeflow/examples
Open the notebook
Run the notebook

This has a couple advantages

It should make it easier to add E2E testing for the example

We can just run the notebook like we do for xgboost_synthetic and make sure it runs to completion

It should be much easier for users they can just run the notebook
We can potentially simplify the example by using RAW YAML rather than introducing kustomize

We can write simple python snippets to do any substitution necessary

A notebook SGTM; leaving this issue open.


Wrong format of minutes when 24hours format is used

Hi, when I'm trying to user 24hours format and insert 0-9 minutes, it is not formatted correctly. E.g for 23:02, the result is 23:2.
I guess the problem is in timepicki.js on line https://github.com/senthilraj/TimePicki/blob/master/js/timepicki.js#L37 as it ruins previously prepared value for values lower than 10.

Same problem. Have you solved it?

I'm using downloaded library in my project, so I just removed line https://github.com/senthilraj/TimePicki/blob/master/js/timepicki.js#L37
I quickly analyzed the code and I think it is OK without this line...just give it a try...

Martin is absolutely correct, removing line 37 was the fix I was coming here to suggest. From a quick assessment of the code, it seems this line should not be there at all, it simply overrides the string modification on the previous few lines causing the picker to display the wrong format for minutes.
For the record, the line to be remove should read:
mini = Math.min(Math.max(parseInt(mini), 0), 59);

Martin solved the puzzle!


Fix broken links to the readme.md of all examples

Links for examples pointed to <..>/example/example/.., which lead to an "page not found" error. Links were fixed to point to the correct URLs again.

@googlebot I signed it!

Codecov Report

Merging #410 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #410   +/-   ##
=======================================
  Coverage   78.57%   78.57%
=======================================
  Files          34       34
  Lines        2273     2273
=======================================
  Hits         1786     1786
  Misses        487      487

Continue to review full report at Codecov.

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

Thanks! One comment

@ludgerpaehler thanks so much for alerting us to this problem.  When investigating why it was happening I discovered that it was due to a mis-configured internal<-->external repo-sync script.  When I fixed this it automatically applied the same fixes that you have here as PR #413 .  (I hope you'll forgive me for fixing it this way instead of merging this PR first, but there was a complicated sequencing issue that required me to do the config fix first.)  I'll close this issue for now, but thank you again so much for pointing out the problem to us!


Bodyslide no image

Please use the below as a template when making your report.
when trying to edit armors on bodyslide nearly all armors come up under the preview as no image, the skin texture is also messed up. the ingame sliders do work however but not on armor only the naked body.
Is it already a known issue?
i dont believe so
Steps to reproduce
i reinstalled the modpack and its still doing it
Environment

OS: windows 10
Hardware i9 12900K, rtx 2070, 32gb ddr5 6000mhz
Other details that you think may affect.

Contact:
axiss

Additional context

i figured it out, gotta change the game data path to the modpacks stock game folder and not the actual game data path


[beta] Duplicated Google Font challenge

Challenge use-a-google-font has an issue.
Similarly to #13463, there are two versions of this challenge, one in Basic CSS (the original one) and one in Applied visual design (this one was added with the new curriculum).
Actually both have a good description, I think the best thing would be to merge the two challenges to have only one on the subject, rather than just deleting one.

@Atomk Nice catch!
This is likely an artifact from the curriculum expansion.
/cc @HKuz

Thanks for flagging this for me @Greenheart. @Atomk - yes, there will be some overlap with the new curriculum and the original challenges, and we welcome folks pointing out where we can clean this up. I think your idea to blend the two Google Font ones so we only cover the concept once, in one challenge, is a good idea. We can combine the points from both so no info is lost. I can take a crack at editing the original to include info covered in the new one 👍


Update Quantum README

Brief info about the envisioned work, which we expect to commence this summer.

@singular-value That looks great, thanks.


Switch only the theme once

Overview (Required)
Steps To Reproduce

Go to Setting
Click on Theme
Clink on any theme
Clink on any theme
See app color

Expected behavior
Change to the selected theme
Screenshots
https://user-images.githubusercontent.com/38370581/111781982-d2383580-88fb-11eb-8ebc-4952c6beffc9.mp4
Env:

Device: Pixel3a
OS: 11.0
App Version or the branch [master]

Additional context
It is resolve to change compose version to "1.0.0-beta01" from "1.0.0-beta02"

Probably related to this?
https://github.com/DroidKaigi/conference-app-2021/issues/379

It is resolve to change compose version to "1.0.0-beta01" from "1.0.0-beta02"

Oh! Thank you for your information!

Yes, it is related.
Sorry, I missed it.


New node js tag added

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ArpitKotecha sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@takedatritedar didn't get you?


No module named ‘src.models’

when I tred to complie image_matting, here is the error that I got. Does anyone know how to fix it ? I am kinda new for programming. Thx.

Hi, thanks for your attention!
Our code is organized as a python package. Therefore, please switch to the root path of the project, and run:
python -m demo.image_matting.colab.inference

BTW,  demo/image_matting/colab/inference.py is the inference code for our Colab demo. If you want to run it from the terminal, you may need to make some necessary changes.

Hi, thanks for your attention!
Our code is organized as a python package. Therefore, please switch to the root path of the project, and run:
python -m demo.image_matting.colab.inference

BTW, demo/image_matting/colab/inference.py is the inference code for our Colab demo. If you want to run it from the terminal, you may need to make some necessary changes.

THX, that helps!


Item report should indicate if the item has a custom rights statement associated with it or not.

#3094 adds the ability for users to indicate if a custom rights statement is needed for a work.
The item report (e.g. https://sdr-stage.stanford.edu/admin/work_reports/new) should add a new column indicating if the deposit has a custom rights statements. These can reported as yes/no and should be yes if whether the statement was required by the collection manager or entered by the user.
Design: https://projects.invisionapp.com/share/NP138M0QX7T3#/screens/473602644_custom_Statement_Y
Requirements: https://docs.google.com/document/d/1eWkkCIbdxO4UGT-YQoMCx-O3m_Bo3UaEaDj8OVkcTc0/edit#

part of #3093

@amyehodge should there be any reporting on if the collection allows the custom statement? Or simply a yes/no on if it exists on the work?

Yep. That's #3095


Error spamming log

This error keep spamming the log during the game loading.
[07:25:07] [ForkJoinPool.commonPool-worker-3/ERROR]: Could not find parent software/bernie/shadowed/fasterxml/jackson/databind/util/PrimitiveArrayBuilder for class software/bernie/shadowed/fasterxml/jackson/databind/util/ArrayBuilders$DoubleBuilder in classloader jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a on thread Thread[ForkJoinPool.commonPool-worker-3,5,main]
[07:25:07] [ForkJoinPool.commonPool-worker-3/ERROR]: An error occurred building event handler
java.lang.ClassNotFoundException: software.bernie.shadowed.fasterxml.jackson.databind.util.PrimitiveArrayBuilder
	at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606) ~[?:?]
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
	at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:62) ~[eventbus-4.0.0.jar:?]
	at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-4.0.0.jar:?]
	at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:21) ~[eventbus-4.0.0.jar:?]
	at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:20) ~[eventbus-4.0.0.jar:4.0.0+65+master.6080a3f]
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.9.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.util.ArrayBuilders.getDoubleBuilder(ArrayBuilders.java:78) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.std.PrimitiveArrayDeserializers$DoubleDeser.deserialize(PrimitiveArrayDeserializers.java:900) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.std.PrimitiveArrayDeserializers$DoubleDeser.deserialize(PrimitiveArrayDeserializers.java:872) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:195) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:21) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1608) ~[?:?]
	at software.bernie.shadowed.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1216) ~[?:?]
	at software.bernie.geckolib3.geo.raw.pojo.Converter.fromJsonString(Converter.java:63) ~[?:?]
	at software.bernie.geckolib3.file.GeoModelLoader.loadModel(GeoModelLoader.java:21) ~[?:?]
	at software.bernie.geckolib3.resource.GeckoLibCache.lambda$null$9(GeckoLibCache.java:85) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) [?:?]
	at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) [?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) [?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) [?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) [?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [?:?]

This still requires attention

Same as me, but only happen when I use JDK 8+ to start the game.

Yeah it happens only when using a java version upper than 8.

cc: @cpw who was looking into this yesterday
The crux of this issue comes from the fact it only manifests itself with Java 9+, this has only been working on Java 8 from an implementation detail of ForkJoinPool. The issue itself is one of classloading, why mod code is trying to be read from the classpath rather than the mod classloader, but it is how EventSubclassTransformer#buildEvents is classloading which is especially relevant. It tries to load the parent type of the actively loaded class to see if it is an Event subclass, and does so directly referencing the current thread's context classloader. As this is from the context of ForkJoinPool's common pool, what that context classloader actually is depends on what the JRE has decided it should be.
On Java 8, with system property java.util.concurrent.ForkJoinPool.common.threadFactory unset and no security manager used, the common pool's ForkJoinWorkerThreadFactory is ForkJoinPool#defaultForkJoinWorkerThreadFactory (see ForkJoinPool#makeCommonPool()). That default thread factory is ForkJoinPool$DefaultForkJoinWorkerThreadFactory:
static final class DefaultForkJoinWorkerThreadFactory implements ForkJoinWorkerThreadFactory {
	@Override
	public final ForkJoinWorkerThread newThread(ForkJoinPool pool) {
		return new ForkJoinWorkerThread(pool);
	}
}

These ForkJoinWorkerThreads will inherit the context classloader from that of the thread which makes them, i.e. the mod classloader in this case.
After Java 8 ForkJoinPool#makeCommonPool() moved to ForkJoinPool#<init>(byte), but otherwise works the same way. What doesn't work the same way is ForkJoinPool$DefaultForkJoinWorkerThreadFactory:
private static final class DefaultForkJoinWorkerThreadFactory implements ForkJoinWorkerThreadFactory {
	private static final AccessControlContext ACC = contextWithPermissions(
		new RuntimePermission("getClassLoader"),
		new RuntimePermission("setContextClassLoader")
	);

	@Override
	public final ForkJoinWorkerThread newThread(ForkJoinPool pool) {
		return AccessController.doPrivileged(new PrivilegedAction<>() {
			@Override
			public ForkJoinWorkerThread run() {
				return new ForkJoinWorkerThread(pool, ClassLoader.getSystemClassLoader());
			}
		}, ACC);
        }
    }

These ForkJoinWorkerThreads will not inherit the context classloader from that of the thread which makes them, but instead the system classloader.
From here it seems quite clear what has happened, with the common pool threads now using the system classloader the event transformer has no chance of finding the parent types, hence the exceptions. (In case it was not clear the common pool is being used from the CompletableFutures in GeckoLibCache#resourceReload) Why it doesn't happen more frequently/at all is possibly just a result of mods having already loaded any types before the common pool might use them (if they're using the common pool at all which most mods wouldn't be).

As it happens having helped with unrelated debugging on ForgeCraft I had rewritten GeckoLibCache#resourceReload in a way which probably fixes this. Not to say that's the only way to fix it, quite the contrary, but using the resource loading Executors is arguably the best and simplest fix for what you're doing.

@Chocohead I don't understand 90% of this but thank you for the help! I'll change GeckoLibCache to have your changes. Thanks a ton!

Thanks for the help @chocohead and @cpw I'll be implementing your suggested fix here tonight into the main branches. Thanks again for the awesome help!

This should be resolved in the latest update. If a user of Java 9+ could please test the newest version and respond here as I don't have Java 9+ myself. If I hear nothing in a week, I'll go ahead and close this issue.

I just tried, it works now, the error doesn't appear more.

Alright! Closing this issue now


FiniteElementVector copy constructor bugfix

In the FiniteElementVector copy constructor, the underlying vector data was not being copied.

Codecov Report

Merging #899 (91efc68) into develop (10de734) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #899   +/-   ##
========================================
  Coverage    94.75%   94.75%
========================================
  Files          153      153
  Lines        10760    10761    +1
========================================
+ Hits         10196    10197    +1
  Misses         564      564

Impacted Files
Coverage Δ

src/serac/physics/state/finite_element_vector.hpp
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

oops, wrong account


"Unable to find bundled Java version" when using Android Studio Arctic Fox Beta

Steps to Reproduce

Download Android Studio Arctic Fox Beta.
Do the usual stuff to install Flutter on macOS
Run flutter doctor.
Eventually you will receive this error:

Android Studio
✗ Unable to find bundled Java version.

In Android Studio Arctic Fox Beta, the bundled Java version is installed at this path:
/Applications/Android\ Studio\ Preview.app/Contents/jre/Contents/Home
However flutter doctor searches at this path:
/Applications/Android\ Studio\ Preview.app/Contents/jre/jdk/Contents/Home
This code should be fixed:
https://github.com/flutter/flutter/blob/3c72ef374d748ef07bb2f6781161fa6bcb0b4289/packages/flutter_tools/lib/src/android/android_studio.dart#L465
Logs

Logs

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-arm, locale
    en-PL)
    • Flutter version 2.2.3 at /Users/user/development/flutter
    • Framework revision f4abaa0735 (9 days ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/user/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at:
      /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/jav
      a
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build
      1.8.0_292-b10)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (2 available)
    • iPhone 11 (mobile) • F45B25FD-BA13-4048-AB4B-70DAFD4A7F9C • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)       • chrome                               • web-javascript
      • Google Chrome 91.0.4472.114

! Doctor found issues in 1 category.

A duplicate of https://github.com/flutter/flutter/issues/85602

Hi @Mikilll94
Thanks for filing the issue, Yes I can confirm, I've added it as part of https://github.com/flutter/flutter/issues/85602


fix: Allow underscores in security group rule names

Description

Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

@Aashiq-J Did you attempt to create a security group to ensure updated regex is allowed? Can you paste the value that you tried?

@ocofaigh , I tested the change.

and any underscore before or after the name will give an error.


Add AutoSymbolics

Extensions

Add AutoSymbolics backend (which is actually what AutoModelingToolkit was meant to be in ADTypes)

Tests

In correctness tests, do the preparation with randomized x and seed to avoid leaks

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.34%. Comparing base (a22ccc7) to head (db76011).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #182      +/-   ##
==========================================
- Coverage   93.17%   89.34%   -3.83%
==========================================
  Files          61       15      -46
  Lines        2988     1483    -1505
==========================================
- Hits         2784     1325    -1459
+ Misses        204      158      -46

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


If Fresh /components/ folder doesn't return JS, should I even bother with memo()?

I understand that everything in /components/ are basically html and only served as such to the client without any javascript.
If that's the case, should I even bother wrapping the functions into a memo(..) in any files in the /components/ folder?
If islands' javascript code works, then that means data will change and pass down to components in /components/ files. But if they are html, and not javascript, does it matter?
Should all /components/ be written in pure functions? Should memo() ever be used except islands?
Please advise.

In 99% of cases you don't need memo(), even in React land. You only need it when you notice a performance problem that you are 100% sure  is caused by rendering a component unnecessarily.
With Fresh's islands architecture this is even more rare as most components are only rendered once on the server. This makes memo() useless as it can only help when the exact same component instance is rendered multiple times. This never happens on the server.
The only scenario where it could theoretically matter (in 99% of cases it doesn't) is with islands or components that are rendered inside islands. But again, this is very rare.

yes, that's what i assumed.
But what about inside islands where there are changing data that's passed down to stateless /components/ ?
For example:

When creating a form, I'll have dynamic state changes inside /islands/
When handling dynamic data without route changes such as an "infinite scroll" load more feature?

These 2 are good use cases where components need to re-render frequently. And I don't think these are rare cases, these are very common in every app.
In these 2 examples, should I only use memo() inside /islands/ ?
What about /components/ that are re-rendered frequently due to data changes in /islands/ ?
For example, if I have an infinite scroll list, and the list contains 1000 items. Those 1000 list items will be written in /components/, if the list data changes in /islands/ will that cause the 1000 item to re-render? Will it re-render 1000 more times every time the list gets appended? What do I do then?
Or how about a chat app? Same related problem there.
So what's the proposed solution in this case? Should I...

import the stateless components from /components/ in /islands/ and the memo() each stateless component before using it?
Or should I continue using memo() inside /components/ and expect that the memo() will be respected (ie. not a raw html) when I use it in /islands/ ?

Thank you. Please advise best practice.

The component/ folder has no special meaning in Fresh, it's like any other folder. The more important distinction is if something is an island or rendered inside of one. If you render a list of 1000 items inside an island then these things start to matter. That said if you're rendering such a long list or something like a message view of a chat you you likely want some form of virtualization anyway, which is the proper solution to such a problem. If you combine that with some clever signal usage to bypass list rendering entirely, then the signals will automatically ensure that only the relevant parts will be updated. Think of them as automatic memoization on the data level.

I see, so your proposed solution is don't use memo() and rely on signals.
Got it. Make sense.


Call for Feedback

If you find sqlean useful in your work or personal projects — I'd love to know more about your use cases. It will really help me to focus on the most important aspects and not waste time on things nobody cares about.
So if you'd like to help this project, please answer the following 3 questions in the comments:

What is your role in the organization? (e.g. "I'm a mobile app developer" or "I'm a data analyst")
What do you use sqlean for? (e.g. "To work with Unicode data in the app" or "For math statistics in financial reports")
What is the top 1 thing you miss in sqlean? (e.g. "An extension for working with dates" or "A Python package")

If you'd rather answer privately — drop me a line at<EMAIL_ADDRESS>Thank you for your support!

Is there a precompiled binaries for Android (Java or Kotlin)?

Hi Anton 👋.

Software Engineer

We maintain a CLI that uses a database (via SQLAlchemy) to store job execution history and data sync state.
I'm experimenting with shipping our application with its own SQLite binary dependency to avoid problems where users install the application in an environment with an older version of SQLite (e.g. EC2) that are missing key features, such as ALTER TABLE ... RENAME ... TO. One workaround is to use pysqlite3, but the binary package (pysqlite3-binary) only has wheels for Linux, so at best Windows and MacOS users would have to build their own wheels.

This is where sqlean.py would come to save the day by having more wheels available, allowing us to ship an application users can install without needing to build any wheels on their end.

PyPI wheels for <IP_ADDRESS> 😅

Thanks for creating sqlean and sqlean.py!

Edgar, thank you for the feedback! (also for the PR) I screwed up the <IP_ADDRESS> release, but now, thanks to you, the <IP_ADDRESS> should be published.

What is your role in the organization?
I'm the head of engineering at my day job and a freelance Rails developer as well
What do you use sqlean for?
I have used the UUID extension for a freelance application.
What is the top 1 thing you miss in sqlean?
I'd love Ruby gem packages distributed as well. Alex Garcia has setup a GitHub Action workflow that releases to RubyGems alongside Python and Node and Deno and Go. You can see his extensions and how they support this from this directory project: https://github.com/asg017/sqlite-ecosystem

What is your role in the organization?
Network Management Architect

What do you use sqlean for?
ETL and Reports

What is the top 1 thing you miss in sqlean?

out-of-the-box static build binary shell (ie. musl linked), because for various reasons i need provide a dependency-free standalone shell
a jdbc driver with sqlean enabled similar to the xerial one for stock sqlite

Thanks everyone! Due to the lack of interest from the community and my lack of free time, I do not plan to spend much time on this project in the near future, so this topic is no longer relevant.


[EBPF-592] gpu: add collector interface for NVML metrics

What does this PR do?
This PR adds a Collector type that will be the interface to collect metrics from the different NVML subsystems.
Motivation
https://datadoghq.atlassian.net/browse/EBPF-592
There are different APIs that we need to use to collect the metrics from NVML: there are metrics that we get via specific API functions, others that we get via GPM and others via the FieldValues call. This interface will transparently initialize, check support for and execute all subsystem collectors, and generate metrics that will be usable by the agent core check.
Describe how to test/QA your changes
Unit tests provided
Possible Drawbacks / Trade-offs
Additional Notes
Followup PR: https://github.com/DataDog/datadog-agent/pull/30271

/merge


Decrypting backup on WSL: Invalid(?) QR Code

I'm currently trying to decrypt a backup. However, when I do I get a QR code that is not valid.
Here's the demo

Guess this is related... https://github.com/mnooner256/pyqrcode/issues/80


How to train a random forests model?

Random forests model is mentioned in the FedTree draft paper, could you please add some example code for that

I would be interested as well

Hi @hy101 and @Ch33s3Burger ,
Currently random forest is implemented by merging all trees trained by different parties in the federated setting. There is no performance guarantee for the federated random forest. If setting bagging=1, FedTree takes the average of the output of each tree as the prediction value. More features (e.g., instance and feature bagging) and documentation will come in the future.

Those are the parameters i set to train a random forest model. Are those parameters correct to simulate the training of a federated forest model with the data?
clf = FLRegressor(n_trees=1, n_parties=NUM_CLIENTS, mode="horizontal",
                  max_depth=MAX_DEPTH, objective="reg:linear", bagging=1, n_parallel_trees=NUM_TREES)
clf.fit(x_train, y_train)

Hi @Ch33s3Burger ,
No, your code will only train a single tree. FedTree does not support n_parallel_trees currently. I'll let you know when this parameter is enabled.


any idea about UnhandledPromiseRejectionWarning: RequestError: Timeout: Request failed to complete in 15000ms

Hi, thanks for your repo.
I tried like this,
npx typeorm-model-generator@no-engines -h xxxxx -p 1433 -u username -x password -d dbname -e mssql -o ./src/entities
but get error like this:
npx: installed 1 in 2.034s
The "path" argument must be of type string
npx: installed 196 in 19.965s
C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\bin\typeorm-model-generator
[09:42:41] Starting creation of model classes.
tedious deprecated The `IntN` data type is internal and will be removed. ..\..\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\mssql\lib\tedious.js:63:20
(node:1688) UnhandledPromiseRejectionWarning: RequestError: Timeout: Request failed to complete in 15000ms
    at Request.tds.Request.err [as userCallback] (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\mssql\lib\tedious.js:578:19)
    at Request._this.callback (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\tedious\lib\request.js:60:27)
    at Connection.message (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\tedious\lib\connection.js:1936:24)
    at Connection.dispatchEvent (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\tedious\lib\connection.js:992:38)
    at MessageIO.<anonymous> (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\tedious\lib\connection.js:886:18)
    at MessageIO.emit (events.js:180:13)
    at ReadablePacketStream.<anonymous> (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\tedious\lib\message-io.js:102:16)
    at ReadablePacketStream.emit (events.js:180:13)
    at addChunk (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\readable-stream\lib\_stream_readable.js:291:12)
    at readableAddChunk (C:\Users\dell\AppData\Roaming\npm-cache\_npx\1688\node_modules\typeorm-model-generator\node_modules\readable-stream\lib\_stream_readable.js:278:11)
(node:1688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1688) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

what can I do next? Thanks!

It looks like request took to much time to complete. Not sure why, 15 seconds is a long period.
Could there be a schema lock while generating models(someone altering tables, probably in a transaction)?
You can try running queries by hand - to see if it is something database related(locks) or driver related.
https://github.com/Kononnable/typeorm-model-generator/blob/master/src/drivers/MssqlDriver.ts - search for request.query and replace in (${schema}) with in ('dbo')

After run queries by hand(it's ok), I retry the command, it works.
Maybe the db is in high load that day.
Thanks for ur repo again!
Btw, @no-engines would be better in doc.

How to increase the timeout, my database contains many tables and the average query time is 21000 ms.


chore: prepare to create release-8.3 branch

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/hold
wait for few days.

/unhold


.NET Tour: Move 'using' statement example to section on unmanaged resources

Fixes #1508
Presently this branch removes the using statement example from the Automatic memory management section, and re-adds it to a new Handling unmanaged resources section.
We could also choose to just remove the example with no replacement; or merge both managed and unmanged resource handling into a single section, but with a clear demonstration that using statement deals with unmanaged resources.
(This is a repeat of PR #1527, but under an employer-sanctioned account).

Hi @Joe-Sewell-PreEmptive, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@Joe-Sewell-PreEmptive, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Thanks @Joe-Sewell-PreEmptive once again! I took care of @danmosemsft's comment (thanks for the review!)

@richlander do you want to take a look to see if you approve the PR now?

Thanks for your contribution!