[Windows][Desktop]: Moving the screen shows a black section.

on windows 10 - rendering while part of the window is hidden will not take effect
Steps to Reproduce

make a simple app
breakpoint before runApp
move flutter window to the side of the screen
continue
after app was rendered, move window back to the screen

Expected results:
normaly rendered window
Actual results:
white where the window was hidden for few moments
flutter version

@bar4488
Thanks for the report. Can you provide a short video of what exactly the behavior you are seeing, because from steps to replicate it's not clear.

ive noticed 2 wierd behaviors, short video demonstrating them below:
moving the window, pressing the floating button, and then moving the window back to the screen, makes the part that was invisible not update. hovering over the floating button (or somtimes waiting few seconds) makes the screen update and return to the desired state:
https://user-images.githubusercontent.com/36762719/165038971-08e4c45a-5b8f-4438-825d-07bd11fb2c80.mp4
resiging the window as shown below makes parts of it appere as black. again, hovering over the floating button, or sometimes just waiting reverts to the desired state:
https://user-images.githubusercontent.com/36762719/165039378-05c23ca2-d7bc-4b20-928c-9b0f2a5e73b3.mp4
code:
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
          child: _counter % 2 == 0
              ? Container(color: Colors.red, height: 30, width: 50)
              : null),
      floatingActionButton: FloatingActionButton(
        onPressed: () => setState(() => _counter++),
      ),
    );
  }
}

Thanks for the detailed report with video. It helped to better understand the behaviors you reported. I was able to replicate both the issues as below:

Based on the code sample provided, tapping on FAB hides the red circle and tapping it back shows it up. What's happening in this issue is that, at first, if we move the app screen to partially hide it and then tap on FAB, it should hide the red circle and then tapping it back to show it, but in this case, when half of app screen is hidden and we tap on FAB, it doesnt seem to hide the red circle so when we drag it back to original place and just hover over FAB, it hides it as shown in first video link and in below screenshot:

When we move the app screen around, it resizes based on the layout, but while doing so, when we put it back, it shows the black screen as below:

 flutter doctor -v

[√] Flutter (Channel beta, 2.13.0-0.2.pre, on Microsoft Windows [Version 10.0.19044.1645], locale en-US)
    • Flutter version 2.13.0-0.2.pre at D:\FlutterSDK\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8662e22bac (5 days ago), 2022-04-20 08:21:52 -0700
    • Engine revision 24a02fa5ee
    • Dart version 2.17.0 (build 2.17.0-266.5.beta)
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Win\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.66.2)
    • VS Code at C:\Users\Win\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.38.1

[√] Connected device (4 available)
    • SM G975F (mobile) • RZ8M802WY0X • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.19044.1645]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 99.0.4844.74
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 100.0.1185.50

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

• No issues found!

[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [Version 10.0.19044.1645], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
[√] Android Studio (version 2021.1)
[√] VS Code (version 1.66.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

/cc @gspencergoog

cc @cbracken


feature: Add engine API forkchoice updated information in fixtures

Similar to the following PR: #183 but for engine API forkchoice updated payload attriubes & version.
This information can be extracted and utilized in hive. Tagging https://github.com/ethereum/hive/pull/830.

Please note that this extra information is somewhat redundant as currently we only really need the forkchoice version within the pyspecs simulator, and at the moment this is equal to the EngineNewPayload version.
On the other hand :hand:, it makes the EngineAPI information more complete and future proof. We may get more some use out of it moving forward for other simulators, i.e devp2p followed by engine_forkchoiceUpdated etc

Only keeping the fcu version for now as we don't have a definitive use for payload attributes at the moment.


Add IterableAssert#allSatisfyAnyOf

Feature summary
I need to assert with satisfiesAnyOf for each element in an iterable.
This may be a collection version of #1304 .
List<Some> some = getSome();

// Now each some.other should be asserted by any of multiple conditions.

some.stream.map(Some::getOther).forEach(o -> {
    assertThat(o).satisfiesAnyOf(
        o1 -> assertThat(o1).isNull(),
        o1 -> assertThat(o1).isNotNull().extracting(Other::getId).isEqualTo(x);
    );
});

assertThat(some)
    .extracting(Some::getOther)
    .allSatisfy(o -> {
        assertThat(o).satisfiesAnyOf(
            o1 -> assertThat(o1).isNull(),
            o1 -> assertThat(o1).isNotNull().extracting(Other::getId).isEqualTo(x);
        );
    });

Example
List<Some> some = getSome();
assertThat(some)
    .isNotEmpty()
    .extracting(Some::getOther)
    .allSatisfyAnyOf( // or eachSatisfiesAnyOf
        o -> {},
        o -> {}
    );

allSatisfyAnyOf could be a good addition to keep the assertion light, @scordio thoughts?

If I understood it correctly, we want to transform this:
assertThat(some)
    .isNotEmpty()
    .extracting(Some::getOther)
    .allSatisfy(o -> {
        assertThat(o).satisfiesAnyOf(
            o1 -> assertThat(o1).isNull(),
            o1 -> assertThat(o1).isNotNull().extracting(Other::getId).isEqualTo(x)
        )
    });

into this:
assertThat(some)
    .isNotEmpty()
    .extracting(Some::getOther)
    .allSatisfyAnyOf(
        o -> assertThat(o).isNull(),
        o -> assertThat(o).isNotNull().extracting(Other::getId).isEqualTo(x);
    );

which is indeed easier to read.
However, this would open the door to other combinations:

allSatisfyAllOf
anySatisfyAllOf
anySatisfyAnyOf

Adding anyMatch / allMatch combinations as well would mean four more methods.
Are we willing to add all of these?
With some formatting adjustments, the original example could look like this:
assertThat(some)
    .isNotEmpty()
    .extracting(Some::getOther)
    .allSatisfy(o -> assertThat(o).satisfiesAnyOf(
        o1 -> assertThat(o1).isNull(),
        o1 -> assertThat(o1).isNotNull().extracting(Other::getId).isEqualTo(x)
    ));

which I personally find a good compromise.

Fair point, we don't want to have so many combinations

If I may, I want to contribute to the project by sharing my solution.
I have an abstract base class for my entity classes.
public abstract class _Mapped<T extends _Mapped<T, U>, U> {

    @Transient
    protected @Nullable U _getId() {
        return ...;
    }
}

An here comes one of entities.
@Entity
@Table(name = ...)
public class Some extends _Mapped<Some, Long> {

    public void setOther(final Other other) {
        this.other = other;
        setOtherId(
                Optional.ofNullable(this.other)
                        .map(Other::getId)
                        .orElse(null)
        );
    }

    @Column(name = COLUMN_NAME_OTHER_ID, nullable = false)
    private Long otherId;

    @Valid
    @NotFound(action = NotFoundAction.IGNORE) // -> EAGER!
    @ManyToOne(optional = /*false*/true, fetch = FetchType.LAZY)
    @JoinColumn(name = COLUMN_NAME_OTEHR_ID, nullable = false, insertable = false, updatable = false,
                foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT))
    @EqualsAndHashCode.Exclude
    @ToString.Exclude
    private Other other; // either null or has its `id` equal to `otherId`
}

Now, with a list of selected Some instances, I want to assert that each element's other attribute is either null or its id attribute is equal to sibling otherId.
As an already applicable solution, I can do this.
// GIVEN
List<Some> list = selectSome();
list.forEach(s -> {
    assertThat(s.getOther()).satisfiesAnyOf(
        o -> assertThat(o).isNull(),
        o -> assertThat(o).isNotNull().extracting(Other::getId).isEqualTo(s.getOtherId());
    );
});

Nothing's wrong, as mandated, yet the Condition can help.
public final class _MappedConditions {

    public static <T extends _Mapped<T, U>, U> Condition<T> id(final U id) {
        return new Condition<>(
                t -> {
                    assert t != null;
                    return Objects.equals(t._getId(), id);
                },
                String.format("should has id of %1$s", id)
        );
    }
}

Now the expression may look like this.
        list.forEach(s -> {
            assertThat(s.getOther()).satisfiesAnyOf(
                    o -> assertThat(o).isNull(),
                    o -> assertThat(o).isNotNull().has(id(r.getOtherId()))
            );
        });

And another Condition combining the previous condition may do more.
    public static <T extends _Mapped<T, U>, U> Condition<T> nullOrHasId(final U id) {
        final Condition<T> hasId = id(id);
        return new Condition<>(
                t -> t == null || hasId.matches(t),
                "should be null or " + hasId.description().value()
        );
    }

Which my leads the statements look like this.
        list.forEach(s -> {
            assertThat(s.getOther()).is(nullOrHasId(r.getOtherId()));
        });
        assertThat(list).allSatisfy(s -> {
            assertThat(s.getOther()).is(nullOrHasId(r.getOtherId()));
        });

Reopening to discuss a potential improvement for this use case.
We could transform my example:
assertThat(some)
    .isNotEmpty()
    .extracting(Some::getOther)
    .allSatisfy(o -> assertThat(o).satisfiesAnyOf(
        o1 -> assertThat(o1).isNull(),
        o1 -> assertThat(o1).isNotNull().extracting(Other::getId).isEqualTo(x)
    ));

into:
assertThat(some)
    .isNotEmpty()
    .extracting(Some::getOther)
    .allSatisfy(anyOf( // Assertions.anyOf(...)
        o1 -> assertThat(o1).isNull(),
        o1 -> assertThat(o1).isNotNull().extracting(Other::getId).isEqualTo(x)
    ));

where anyOf is defined as:
public static <T> ThrowingConsumer<T> anyOf(ThrowingConsumer<? super T>... assertions) {
  return e -> assertThat(e).satisfiesAnyOf(assertions);
}

Also, an allOf with similar pattern could be defined.
We already have other anyOf and allOf methods in Assertions but they are related to Conditions.
@joel-costigliola @onacit thoughts?

LGTM

@scordio What an elegant syntax/idiom you suggested! Thanks!

There is one aspect where I see a potential issue.
If we would put anyOf / allOff in Assertions, from a signature perspective there is nothing connecting the new methods to allSatisfy assertions:
public static <T> ThrowingConsumer<T> anyOf(ThrowingConsumer<? super T>... assertions) {
  ...
}

This means they would "steal" the ThrowingConsumer vararg parameter usage. This might still be ok, though.


JSOptional default parameters cause IR checking errors

trait A extends js.Any {
  def foo(x: js.UndefOr[Int] = js.undefined): Int
}

object Impl extends A {
  def foo(x: js.UndefOr[Int]): Int = x.getOrElse(5)
}

 Referring to non-existent method static org.scalajs.testsuite.jsinterop.JSOptionalTest$Impl$1$.foo$default$1(org.scalajs.testsuite.jsinterop.JSOptionalTest$Impl$1$)scala.scalajs.js.$bar

As pointed out by @sjrd (https://github.com/scala-js/scala-js/pull/4324#issuecomment-744420914) we should simply force repetition of default parameters.

I have been digging some more and this is quite puzzling: We seem to have code to exactly detect this condition with @js.native classes:
https://github.com/scala-js/scala-js/blob/5d363521ab2e07edadf27ddf1cb26a7f11d2e329/compiler/src/main/scala/org/scalajs/nscplugin/GenJSExports.scala#L768-L780
The original bug report was #2547.
However, the strange thing is that one would expect either of the following (in the example above):

With default methods: The default getter is owned by A, which is a trait, triggering the (somewhat misleading) error.
Without default methods: B has an impl forwarder for the default getter to the impl class of A, but the impl class of A is not emitted. This in turn would lead to an IR checking error.

However, neither of these two things happen: The owner of the default getter in this case is Impl, yet the resulting IR does not contain said getter.

However, neither of these two things happen: The owner of the default getter in this case is Impl, yet the resulting IR does not contain said getter.

Wild guess: maybe the getter forwarder in Impl gets the annotation @JSOptional, which it inherits from the default getter in the trait. And because of that, it is not emitted, due to this test:
https://github.com/scala-js/scala-js/blob/5d363521ab2e07edadf27ddf1cb26a7f11d2e329/compiler/src/main/scala/org/scalajs/nscplugin/GenJSCode.scala#L653-L656

Yes, exactly. But that in turn means we can actually use this to emit the right thing :) If the (synthesized) getter has @JSOptional just put js.Undefined(). Otherwise, call it (because it will be there).

Ah, that may well be the case, indeed.


question: scrape_url how do you get response as markdown?

I'd like the website as a markdown
if i crawl a website with api as markdown, how do i get the file afterwards?

Hi @ShravanSunder , this would be possible if you first crawl the website with the normal UTF-8 encoded responses. Take the response and use transform to process the content as markdown. return_content: bytes will be available soon so that you can get the raw bytes if you need to download and not loose precision for things like images etc.


API incompatibility with jaxb2-basics-annotate 1.1.0

I needed to update to jaxb2-basics-annotate 1.1.0 in order to get support for removing annotations, however compiling my project afterwards will result in the following error
Failed to execute goal org.jvnet.hyperjaxb3:hyperjaxb3-maven-plugin:0.6.2:generate (generate-domain1) on project DREM-TPS-Backend: Execution generate-domain1 of goal org.jvnet.hyperjaxb3:hyperjaxb3-maven-plugin:0.6.2:generate failed: An API incompatibility was encountered while executing org.jvnet.hyperjaxb3:hyperjaxb3-maven-plugin:0.6.2:generate: java.lang.IllegalAccessError: tried to access field org.jvnet.jaxb2_commons.plugin.annotate.AnnotatePlugin.ANNOTATE_PACKAGE_QNAME from class org.jvnet.jaxb2_commons.plugin.AnnotationTarget
The compilation error will not occur, as long as no <annox:removeAnnotation ...> is defined in your bindings configuration. Specifically <annox:removeAnnotation class="javax.persistence.Transient" /> in my case

PR welcome. :)

Hi @vennekilde
Hyperjaxb3 has been merged into [jaxb-tools]lhttps://github.com/highsource/jaxb-tools) repository which also contains jaxb-annotate mentionned here.
You can check the migration guide to get the latest version of both artifacts
Regards


[FEATURE REQUEST] Add a silent authentication option to suppress success messages when using Azure MFA authentication

Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it

I use this driver in DBeaver with a lot of tabs open to Azure MFA instances. I am spammed to hell and back with new "Authentication successful" tabs in Edge when I reconnect to these instances. This is only an issue with the Azure MFA flow as far as I can tell, regular SQL Server authentication and integrated authentication works fine and don't open tabs In other words, I don't want any Edge tabs to open telling me authentication was successful.
Describe the preferred solution

I would like an option to suppress these messages. I understand that others may find it useful for testing or debugging purposes, but in this scenario they are very disruptive.
Describe alternatives you've considered

Additional context

Reference Documentations/Specifications

Reference Implementation

Can you turn on FINEST tracing and reproduce your workflow? See here for instructions: https://learn.microsoft.com/en-us/sql/connect/jdbc/tracing-driver-operation?view=sql-server-ver16. I want to know if caching is working correctly for you.

With respect to the logging information, there would need to be a more secure way of sharing that information as this is work-related. You could fairly easily reproduce this issue by creating an Azure SQL connection in DBeaver, closing, and then reopening the program - each time it makes a new connection the dialogue would pop up again.

Hi,
We're currently working on testing this on our end, but in the meantime, can you try the latest versions of the driver (12.2 is the latest stable release). We have done work on fixing issues similar to this since the 9.2 release.

Updating the driver to version 12.2 changed the background from white text on a black background, to white text on a black background, but otherwise no change in the behavior described. I also updated the msal4j library for good measure.

Regarding the logging, can you send it to our email<EMAIL_ADDRESS>? Given that its causing issues still I'm very interested to see if the credentials are being cached correctly.

Hi @mfkolb,
Were you able to send us the logs? I don't see anything matching this issue in our emails.

I see a similar phenomenon using DBeaver.  If my connection times out, then I reconnect, I get at least 5 browser tabs telling me "Authentication complete. You can close the browser and return to the application."  Sometimes its up to 10 browser tabs.  It eventually stopsworks and sasys 'connection successful' in DBEAVER.  The way around this is to 'disconnect' first, and then re-connect, and only 1 browser pops up.  I don't know if this is a DBEAVER issue or a JDBC driver issue.  I am using JDBC Driver 11.2.3.jre11

Please try the latest preview releases. Starting from 12.3, there are changes around token caching that may resolve the issue you're experiencing. If that fixes it, then note that our next stable release will be the end of July (July 31st), if you're looking at a stable release for a production environment.
However, looking at the logs supplied by the author, I don't see anything suspicious on the driver's side. There is only a single connection, and only one auth window being opened. We've asked for additional logging from the author, and you're more than welcome to supply your own; I can take a look at that as well. Given that this issue is only showing up with DBeaver, I believe this may be the fault of the application continually trying to make new connections, each of which does (by design) spawn an "Authentication complete" message.
The resolution for this issue would then not be to fix the driver behavior, as its behaving as intended, each time a new connections (not reconnect) happens, we want a confirmation window, and instead to look into DBeaver, and see why it pushes for multiple connections when the connection has been lost. This would be something you would have to follow-up with that application's team.

Can you please confirm whether you are still seeing the issue with the latest driver? As mentioned there were some fixes relating to caching which may resolve your problem. I'm not sure how DBeaver is using the driver but if it is simultaneously spawning many threads to connect it may not benefit from caching. We are evaluating this operation may be better serialized to prevent this scenario however we are currently busy prepping for our upcoming GA release so we will have to get back to this after the release. Please let us know whether you are still experiencing this issue using the latest 12.3.1 release?

I can confirm that I am still seeing this issue with the latest driver. I supplied more logs to Jeff for additional context.

Given that this issue is only showing up with DBeaver, I believe this may be the fault of the application continually trying to make new connections, each of which does (by design) spawn an "Authentication complete" message.
The resolution for this issue would then not be to fix the driver behavior, as its behaving as intended, each time a new connections (not reconnect) happens, we want a confirmation window, and instead to look into DBeaver, and see why it pushes for multiple connections when the connection has been lost. This would be something you would have to follow-up with that application's team.

You are correct in that this is the driver's intended behavior, but in this instance it is not desired behavior. This is why I opened the issue as a feature request, not a bug report - there are instances where this confirmation dialogue is not useful, and adding an option to suppress this on a successful connect would improve the driver's usefulness in GUI apps like DBeaver.

Hi @mfkolb,
Above you posted a screenshot showing you tested with 12.2, which is the latest stable release. Did you also test with the latest release 12.3.1?

Ok, thank you, then the issue is as you, and the other JDBC team member, described above. This is an enhancement request that we will triage at the appropriate time, and prioritize accordingly.

hi @mfkolb
I have synchronized the calls to it should help with your scenario since the tokens should be cached. Can you please give this a try to see if it resolves your issue?
mssql-jdbc-12.5.0-SNAPSHOT.jre20-preview.zip

hi @mfkolb
We have merged PR #2218 which we think should address your issue as the synchronized calls would benefit from caching. As we haven't heard back from you we are closing this issue due to inactivity. Please free free to request re-opening if you still have problems.


Addon imports on documentation should be named imports

Description
We just updated to version 8.0.0 and followed the docs to create clusters on a map with <MarkerClusterer />. You will get the following error on console:
Warning: React.createElement: type is invalid -- expected a string (for built-in components)
or a class/function (for composite components) but got: undefined.
You likely forgot to export your component from the file it's defined in.

Solution
In documentation example you're importing  as "default import". It should be named import. MarkerClusterer is named export as you can see from line 17. https://github.com/tomchentw/react-google-maps/blob/master/src/components/addons/MarkerClusterer.jsx#L17
InfoBox documentation has the same thing. It should be named import.
How to reproduce
Here's a link to CodeSandbox

Open the link, open console and run. You will get the error mentioned above. Change line 8 on Map.js to named import import { InfoBox } from "react-google-maps/lib/components/addons/InfoBox";
and everything works as intended.

Released v8.1.0


Coding page for non-statistical Data?

Hi @brockfanning,
How do I set up a page like the UK has done for 8.b.1?   With a comment and link for non-statistical data?
https://sustainabledevelopment-uk.github.io/8-b-1/

@dawncomer See their metadata for that indicator. There are 2 key points:

data_non_statistical must be set to true (this prevents the graph from displaying)
Any amount of arbitrary text can appear after the --- at the bottom. In their case they have:---
**Non-statistical indicator**

We have identified the following policies relevant to this indicator: [Education and Skills Act 2008](http://www.legislation.gov.uk/ukpga/2008/25/contents).

A note about the arbitrary text: it supports Markdown. It also supports HTML, but Markdown is a bit easier to work with. Markdown is also good to learn about, since you can use in Github comments as well. :)

thanks @brockfanning I'll try to replicate this

this works! thanks @brockfanning
I've used this approach for 11.4.1


libbgs.KNN() #(if opencv 3.x) not working - white screen

I built the library with Python3 and everything seems to be working, but I noticed that "bgs = libbgs.KNN()" (if opencv 3.x) is not working. The output of KNN is a plain white screen window. Any ideas?
(testpy3) nvidia@tegra-ubuntu:~/cviz/bgslibrary$ python Demo.py
PYTHON TYPE CONVERTERS exported
KNN()
~KNN()
System:
ubuntu 16
opencv 3.3
python3

(testpy3) nvidia@tegra-ubuntu:~/cviz/bgslibrary/build$ cmake -D BGS_PYTHON_SUPPORT=ON -D BGS_PYTHON_VERSION=3 ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- BGSLIBRARY WITH PYTHON SUPPORT: ON
-- PYTHON VERSION: 3
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-8.0 (found suitable exact version "8.0")
-- Found OpenCV: /home/nvidia/opencv/build (found version "3.3.0")
-- OpenCV library status:
--     version: 3.3.0
--     libraries: opencv_calib3d;opencv_core;opencv_cudaarithm;opencv_cudabgsegm;opencv_cudacodec;opencv_cudafeatures2d;opencv_cudafilters;opencv_cudaimgproc;opencv_cudalegacy;opencv_cudaobjdetect;opencv_cudaoptflow;opencv_cudastereo;opencv_cudawarping;opencv_cudev;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_shape;opencv_stitching;opencv_superres;opencv_video;opencv_videoio;opencv_videostab
--     include path: /home/nvidia/opencv/build;/home/nvidia/opencv/include;/home/nvidia/opencv/include/opencv;/home/nvidia/opencv/modules/cudev/include;/home/nvidia/opencv/modules/core/include;/home/nvidia/opencv/modules/cudaarithm/include;/home/nvidia/opencv/modules/flann/include;/home/nvidia/opencv/modules/imgproc/include;/home/nvidia/opencv/modules/ml/include;/home/nvidia/opencv/modules/objdetect/include;/home/nvidia/opencv/modules/video/include;/home/nvidia/opencv/modules/cudabgsegm/include;/home/nvidia/opencv/modules/cudafilters/include;/home/nvidia/opencv/modules/cudaimgproc/include;/home/nvidia/opencv/modules/cudawarping/include;/home/nvidia/opencv/modules/dnn/include;/home/nvidia/opencv/modules/imgcodecs/include;/home/nvidia/opencv/modules/photo/include;/home/nvidia/opencv/modules/shape/include;/home/nvidia/opencv/modules/videoio/include;/home/nvidia/opencv/modules/cudacodec/include;/home/nvidia/opencv/modules/highgui/include;/home/nvidia/opencv/modules/ts/include;/home/nvidia/opencv/modules/features2d/include;/home/nvidia/opencv/modules/calib3d/include;/home/nvidia/opencv/modules/cudafeatures2d/include;/home/nvidia/opencv/modules/cudalegacy/include;/home/nvidia/opencv/modules/cudaobjdetect/include;/home/nvidia/opencv/modules/cudaoptflow/include;/home/nvidia/opencv/modules/cudastereo/include;/home/nvidia/opencv/modules/stitching/include;/home/nvidia/opencv/modules/superres/include;/home/nvidia/opencv/modules/videostab/include
-- SEARCHING FOR BOOST COMPONENT FOR PYTHON 3
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   python3
-- Found PythonInterp: /home/nvidia/.virtualenvs/testpy3/bin/python (found version "3.5.2")
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.5m.so (found version "3.5.2")
-- Boost library status:
--     version: 106000
--     libraries: /usr/local/boost-1.60.0/lib/libboost_python3.so
--     include path: /usr/local/boost-1.60.0/include
-- Python library status:
--     executable: /home/nvidia/.virtualenvs/testpy3/bin/python
--     version: 3.5.2
--     library: /usr/lib/aarch64-linux-gnu/libpython3.5m.so
--     include path: /home/nvidia/.virtualenvs/testpy3/include/python3.5m
-- NUMPY_INCLUDE_DIR: /home/nvidia/.virtualenvs/testpy3/lib/python3.5/site-packages/numpy/core/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nvidia/cviz/bgslibrary/build

I've got the same white screen problem. But it seems libbgs.KNN() is just using the BackgroundSubtractorKNN API in OpenCV, you can use the OpenCV API instead. The ways they are used are similar.


cldf dataset

I need to parse the data (maybe I find time next week or this week), so we have them in CLDF form.

Excellent. Let me know if there is anything I can start doing. Or something I should read up on.


Bug when connecting with oauth2-proxy

https://github.com/oauth2-proxy/oauth2-proxy

Done, see tutorial here: https://studygolang.com/topics/15475


build on windows, error: plugin process ended by an uncaught signal: 1033

swift.exe build -c release
error: plugin process ended by an uncaught signal: 1033 <command: d:\tmp\swift-format\.build\plugins\cache\generate_pipeline_plugin.exe>, <output:
>

As a quick sanity check/workaround, could you please try the following:
path C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\lib\swift\pm\PluginAPI;%Path%
swift build -c release

I suspect that the error 1033 is "dll not found" as we do not inject the path to the plugin API runtime support into Path (there is no rpath equivalent on Windows, Path is the approach) when the plugin is executed, and you happened to actually properly receive an error message for that.

We had to revert the plugin for other reasons, so can you please pull down the latest changes and try the build again?

As a quick sanity check/workaround, could you please try the following:
path C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\lib\swift\pm\PluginAPI;%Path%
swift build -c release

I suspect that the error 1033 is "dll not found" as we do not inject the path to the plugin API runtime support into Path (there is no rpath equivalent on Windows, Path is the approach) when the plugin is executed, and you happened to actually properly receive an error message for that.

We had to revert the plugin for other reasons, so can you please pull down the latest changes and try the build again?

I pull down the latest code,  not working
[5/10] Compiling SystemPackage Errno.swifterror: command Archiving d:\tmp\swift-format\.build\x86_64-unknown-windows-msvc\release\libSwiftSyntax.a failed: unable to spawn process 'ar' (The system cannot find the file specified.
)

Please use a more recent Swift toolchain.  Something like the 2022-10-08-a snapshot should do.  Alternatively, workaround this by using set AR=llvm-ar.


feat: sb docs overview Avartar.tsx

can I write FormControl docs overview in [36-storybook-data-display-docs-overview-missing] branch...???

FormControl-missing Des

Sure


nuxt context combined inject

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[x] question about how to use this project
Summary
When using vuex-simple with nuxt - the store has to be integrated via 'classical mode'
https://nuxtjs.org/guide/vuex-store/#classic-mode
see https://github.com/sascha245/vuex-simple/issues/12
First issue: the classical mode is deprecated for Nuxt 3
Second issue: nuxt provides 'combined inject' for its store modules
https://nuxtjs.org/guide/plugins#combined-inject
which allows to define & inject objects/functions into SFC & the vuex store, used e.g. by the axios-plugin to access the configured axios instance in module actions this.$axios.
So not sure what my question really is :-)
I'm not necessarily expecting all of those nuxt specific issues solved by vuex-simple - but as it's a really nice project I'd love to use it with nuxt... so I wanted to start a discussion on how nuxt support could be improved vs. just highlight the limitations I run into with the current state (2.1.0).
(I might be able to provide an example app in a few days once the nuxt <> TS support has been finalised)

Hi @hartmut-co-uk,
I would be quite interested in adding more support for nuxt, so I am open to any ideas you might have.
Concerning the classic mode, as it has been deprecated, does that mean that only the modules mode will be available in the future?
Anyway, I will have to test out multiple things for both points you pointed out, though I won't be able to do anything for now as my PC broke down today...

I guess there should be a custom plugin for nuxt.
I have also spent a lot of time integrating too different DI technologies in one project (I am talking about inject() and vue-typedi)
You can read more here: https://github.com/sascha245/vue-typedi/issues/2


Interest in supporting video datasets?

Hi. Thanks for the amazing repository. It really makes the workflow very easy. I was wondering if you are considering to add video datasets as well. Some are based on urls, while some others are derived from youtube or segments from youtube.

Hi, indeed video is interesting!
I'm collaborating with Maciej on https://github.com/iejMac/video2numpy and https://github.com/iejMac/clip-video-encode recently
The first one gets frames from videos, the second gets clip embeddings from frames
Not fully ready for use yet, but I think that kind of packaging makes sense.
Encoding videos is less obvious than images: directly downloading and storing doesn't make a lot of sense due to their large size, so various encoding options should be explored (small resolution, clip, vqgan,...) and used inside a tool like img2dataset

@rom1504 Ah, interesting. I wasn't aware of video2numpy project. If I understand correctly, it would store it individual frames but that would result in very large files. Webdataset has some recommendations on directly saving the .mp4 files into tar format (https://webdataset.github.io/webdataset/video-loading-example/), maybe that case is simpler.
Another way would be to use ffmpeg or decord to subsample and resize the videos.

If I understand correctly, it would store it individual frames but that would result in very large files.

no not exactly. The idea of this module is to subsamples frames at eg 1fps and provide them to user through shared memory / a generator so that user modules can actually represent the dataset in an useful way
storing raw frames would be very big indeed, hence the clip-video-encode dataset that allow storing clip embedding instead
other paths include resizing and storing only small frames, and yet another pass is to store image sequences using vqgan

it would probably be possible to directly use video2numpy in a data loader for people that want to train on raw frames (but that seems difficult)

Currently, codebases like pytorchvideo are using pyav, ffmpeg or decord to extract raw frames from mp4 files. Training on kinetics requires high fps (30) for models such as SlowFast.

yeah we've been targeting much lower fps but that's interesting

see https://github.com/iejMac/video2dataset


Capture card models wiki page

It looks like the factories in China are pumping out a good amount of different ~$10 USB capture cards. It might be a nice idea to create a wiki page documenting the different models.
I think it would be interesting to see if there are any quality/hardware/functionality differences.
So far I've found about 9 different looking models in the ~$10 range.

Small update, I've ordered 6 or 7 models.

Good idea. Added!
https://github.com/mtlynch/tinypilot/wiki/HDMI-Capture-Devices


[DO NOT MERGE] v2.1.0.dev0

…nda-forge-pinning 2<IP_ADDRESS>.59.39

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Loading npms.io locally animates the closed-by-default menu

When the page is opened, the white "morph" effect plays for closing the menu on the right, despite the fact that the menu was never opened.
EDIT: This appears to only occur when developing locally: localhost:8080, but not on the live site: npms.io

Yes that's normal.. and I don't know what to do to avoid it. If you want to preview the built version run npm run build && npm run serve -- --env prod


chore: upgrade to storybook 7

Description
Fixes https://github.com/appsmithorg/appsmith/issues/25000

Type of change

Chore (housekeeping or task changes that don't impact user perception)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.
Delete anything that is not important

Manual on storybook
Manual on main repo
Jest
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

While testing for sanity, noticed an issue in the icons used in ToggleButton
https://design-system-git-chore-upgrade-to-storybook-7-get-appsmith.vercel.app/?path=/story/design-system-toggle-toggle-button--toggle-button-story vs https://design-system.appsmith.com/?path=/story/design-system-toggle-toggle-button--toggle-button-story
I think it's because during the update in svgr, something changed. Am holding off on merging this PR until this is fixed.

svgr viewBox fixed

Tests have passed locally

Tests have passed on https://github.com/appsmithorg/appsmith/pull/25002, so merging


Research item: Azure Container Instance - ACI as FaaS backend

Item - Research into running FaaS with Azure CNI as a back-end
This may be via the Azure API or through the ACI Kubernetes Connector.
ACI:
https://azure.microsoft.com/en-us/blog/announcing-azure-container-instances/
Kubernetes connector:
https://github.com/Azure/aci-connector-k8s
Container instances have granular billing, public or private IPs and can be deployed to multiple regions easily. No backing VM is necessary either.

I'd like to see how this works when using the Kubernetes connector and what the effective cost is. It should (I am guessing) deploy as-is without changes? There are instructions in the faas-netes repo
The second idea is also very interesting - deploying the Gateway onto a Kubernetes cluster and introducing a new external plugin that manages functions via the ACI API.

Ping @bketelsen

I'm pretty busy until this weekend, is there something specific you want help with?  Do you just want to stand up FaaS on ACI with kubernetes?

I have tried the ACI-connector. Are some bugs on the Azure side that need to be worked out.
Bug 1: You cannot connect ACI services to functions spun up with the ACI-connector. This might be solved by deploying the whole application to ACI, but this runs in to bug 2. https://github.com/Azure/aci-connector-k8s/issues/51
Bug 2: When creating deployments with replicas the ACI-connector node starts spinning up pods for your deployment continually. So instead of 1 pod, you might have 20. https://github.com/Azure/aci-connector-k8s/issues/24
As of right now I have been stalled out on this feature, but I say try it out anyway and keep adding comments to the issue threads ;).
Let me know your thoughts.

On bug 1. I meant you cannot connect regular k8s services to pods spun up by the ACI-connector node, or vice versa.

Thanks for the updates @JockDaRock. @bketelsen would love your input on this and if you could try setting things up with ACI.

Derek add label: hacktoberfest

@alexellis @JockDaRock - so if I understand correctly, you deployed using the aci-connector and encountered some issues - I know the second bug is now solved as part of https://github.com/Azure/aci-connector-k8s/pull/54
For the first bug I don't think there's a fix (I'm not working on Azure Container Instances, cannot officially speak 😄) - my question, @alexellis - what does it mean if the function pod cannot talk back to the rest of the system?
I will try to deploy later tonight (hopefully) and document the process.

The function should be able to make use of other Kubernetes services as exposed by kubedns, but it's not necessarily a deal-breaker for some workloads. I'd appreciate your input @radu-matei - looking forward to seeing how you get one and maybe you could put together a quick blog or guide too?

@bketelsen what state is ACI in.. can containers talk to each other yet over private networking?

On the the issue on https://github.com/Azure/aci-connector-k8s/issues/51, there is someone there that seems to think testing with k8s version 1.8.1 might be worth a try on integrating with the k8s connector for ACI...

@radu-matei @bketelsen I hear that it may be time to take another look at this issue? "Virtual Node" sounds like it might do what we wanted originally a year ago.

Hey! What was the summary of blockers? I can give you an updated run down for what's supported today.

Hi! :)
I believe Jock and maybe one or two others tried to get this working. There was no support for inter-container communication over the network.
Ideally the core components will run on a regular node pool and function Pods will run using ACI / Virtual Node etc. They won't have any public IPs but private and will be accessed through Kubernetes Services.
https://docs.openfaas.com/architecture/gateway/
Does this help?
We have this guide in the MSFT docs if you'd like to spin it up with Helm? https://docs.microsoft.com/en-us/azure/aks/openfaas
Thanks,
Alex

Hey great! We have "bring your own vnet" for ACI now so open faas should just work :)


[IMPROVEMENT ] Add requests timeouts + mypy

Signed-off-by: Aadi Bajpai<EMAIL_ADDRESS>Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):

[x] I have read and understood the contributors guide.
[x] I have checked that another pull request for this purpose does not exist.
[x] I have considered, and confirmed that this submission will be valuable to others.
[x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
[x] I give this submission freely, and claim no ownership to its content.

My familiarity with the project is as follows (check one):

[x] I am an active contributor to the project.

Integrated mypy into CI, added request timeouts as per https://requests.readthedocs.io/en/master/user/quickstart/#timeouts
It is 10s for API and 20s for all other

@thealphadollar, this takes care of a minor track for this phase

Hello @aadibajpai! Thanks for updating this PR.

In the file swaglyrics/cli.py:

Line 10:65: E231 missing whitespace after ','


Feature Request - Offer an "offline" mode

Even though I run tftui with the -d flag, in the background the CLI runs 2 HTTP requests:

POST https://us-api.i.posthog.com/batch/
GET https://pypi.org/pypi/tftui/json

It would be great to have a way to run the tool when behing a proxy with no access to the Internet
Also, I think that the -d flag should not send any POST to posthog. Is it a bug?

Hi Benoit,
The -d flag prevents the usage tracking, as advertised. It seems that simply importing the posthog module issues the POST request. I'll switch the import into a conditional one to prevent this from happening. I'll also make this flag render the application "offline" and prevent any outbound calls.
Thanks for bringing this to my attention, you can expect a new patched version sometime this week.

Just released v0.13.1 with the fix and an "offline" flag 😄


WFNEWS-739

The conflict in the code appears to be attempting to change the code in a nearly identical way as the current code... Can you make sure to pull the latest and ensure the change you have here is still valid?

@dhlevi the change seems to be no longer valid, the issue was solved and seems like I did not have the latest change, sorry. Moving the issue to Ready for testing to double check,


Shared session between domains

My app changes url when I change client, this is I can change company in my application and url change to http://company.localhost: 4200, then go to http://company2.localhost: 4200 and so on.
Most of the time I change of company and the login is restored, but sometimes the session together with the localStorage is lost. So I can not simulate this error. Can anyone help me with this?
look my custom authenticator
import Ember from 'ember';
import Base from 'ember-simple-auth/authenticators/base';
import gql from 'graphql-tag';

const {
  RSVP,
  isEmpty,
  get,
  inject: { service }
} = Ember;

export default Base.extend({
  session: service(),
  apollo: service(),

  restore(data) {
    return new RSVP.Promise((resolve, reject) => {
      if (!isEmpty(data.token)) {
        resolve(data);
      } else {
        reject();
      }
    });
  },

  authenticate(options) {
    if (options.token) {
      return this.withToken(options.token);
    } else {
      return this.withPassword(options.email, options.password);
    }
  },

  invalidate() {
    let mutation = gql`
      mutation Logout {
        logout(input: { clientMutationId: "" }) {
          session {
            token
          }
        }
      }
    `;
    return this.get('apollo').mutate({ mutation }).then((data) => data.logout.session);
  },

  withPassword(email, password) {
    let mutation = gql`
      mutation Login($input: LoginInput!) {
        login(input: $input) {
          session {
            token
          }
        }
      }
    `;
    let variables = { input: { email, password, clientMutationId: '' } };

    return get(this, 'apollo').mutate({ mutation, variables }).then((data) => data.login.session);
  },

  withToken(token) {
    return RSVP.Promise.resolve({ token });
  }
});

@marcoow

You should not use the session service in the authenticator. The session calls the authenticator but not the other way round. Also what does your session store definition look like? You cannot actually share localStorage between subdomains as it is isolated per origin which includes the subdomain. You can use the cookie store and set the cookie domain so that the cookie will be shared across all subdomains though.

I've also been looking into achieving this using Localstorage as it's benefits greatly outweigh Cookies for my use case.
So far, it seems the acceptable hack to this is using iframes and postMessage

https://stackoverflow.com/a/7722326/5100895
A hack similar to how Google uses it's AMP cache. Also, a pretty nice library has been open-sourced by Zendesk for the same
https://github.com/zendesk/cross-storage

Wondering if these hacks are worth looking into for the core ember-simple-auth or just to be left to individual developers to work it out for their projects.

Wondering if these hacks are worth looking into for the core ember-simple-auth or just to be left to individual developers to work it out for their projects.

This is out of scope for ESA. Tackling this means opening a huge can of problems and edge cases only to fix something that only a minority of ESA's users need anyway.
Of course that doesn't mean it wouldn't be valuable to some if a reusable solution for this problem existed. You could publish this in its own package though that provides a session store based on localStorage but with cross-origin support, e.g. ember-simple-auth-cross-origin-localstorage or whatever name you come up with ;)


Add backspace button

Added a backspace button successfully which cuts numbers one by one and clears the input field if it contains a string.
#89 Resolved

Please resolve the merge conflicts @SaadOps

Please resolve the merge conflicts @SaadOps

Done :)

Thank you @SaadOps for your contribution.


feat: Add electrophoresis/BENCHLING/2024/09 schema and mapper and update Aglient Tapestation parser to use it.

Move electrophoresis rec 09/24 as benchling 09/24 schema
Implement schema mapper for electrophoresis benchling 09/24
Update Agilent Tapestation Analysis parser to use electrophoresis benchling 09/24 schema

James ask me to add the processed data aggregate document to DeviceControlAggregateDocument instead of just removing the previous processed data document


samples: net: Socket based echo samples

I found them useful for testing, hence I'm sharing.
This PR provides echo_client and echo_server samples converted to run on top of sockets.
Currently, default configuration for qemu_x86 is provided, that exchanges TCP/UDP packets over IPv4/IPv6.
echo_client application runs in a single thread, using non-blocking mode. echo_server provides separate thread for each running server (up to 4 threads, depending on the configuration).
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #8342   +/-   ##
=======================================
  Coverage   64.53%   64.53%
=======================================
  Files         422      422
  Lines       40265    40265
  Branches     6797     6797
=======================================
  Hits        25986    25986
  Misses      11157    11157
  Partials     3122     3122

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 1a96f2b...b62f9d6. Read the comment docs.

This PR provides echo_client and echo_server samples converted to run on top of sockets.

Well, it shows that it was "converted" - code isn't exactly easy to follow ;-). Was that a specific requirement to have it converted, instead of just performing echo client/server function (in which case they would be likely written from scratch)?

Was that a specific requirement to have it converted, instead of just performing echo client/server function (in which case they would be likely written from scratch)?

I don't think there were. Obviously I wanted to keep the behaviour unchanged, so they can be used with the samples from net-tools. Also I didn't find the file structure or the top level functions bad, so I kept it as they were. Internals were rewritten from scratch.

code isn't exactly easy to follow

Of course I'm not objective here as I wrote the code, so I might not see where exacly it gets complicated. I'm open for constructive criticism though.

Of course I'm not objective here as I wrote the code, so I might not see where exacly it gets complicated. I'm open for constructive criticism though.

Thinking about it, I always expressed a hope that people would give a try to socket API and share their results/code. That's actually what happens, and it's great, and of course it's only better if it's written not the way I'd do (or imagine how to do it, I very well could end with about the same code ;-) ). So, thanks for this, and I'll be happy to give my +1 when I test it (I'm at a code sprint now, so apologize if that may take some time).

I'll be happy to give my +1

@rlubos , actually, I had another question: I don't see poll() being used in these samples, and classical non-blocking socket programming depends on it (or select() which is equivalent of it). Ideally I'd like to wrap my mind around the code to understand it, but as it may take some time, maybe you can comment on it.

I don't see poll() being used in these samples

That's my overlook, while I focused on debugging and stability, I forgot about poor CPU. Will fix.

I've applied config-related fixes.

@rlubos can you check the sanitycheck errors/warnings, we could merge this one after that.

@jukkar Done.


Migrate current dispatcher to use ReactiveKafkaConsumer instead of Vertx KafkaConsumer. (#3177)

Initial changes in the dispatcher

Create Mock for Testing, and migrate some test

OffseManagerTest migrated

OrderedConsumer verticle test

Set ConsumerRebalanceListener

added Object not null check

consumer verticle changed

Fixed RecordDispatcherMutatorChainTest

MockReac... poll() waits for timeout, fixes Unor..

Move test Mock consumer to the right place

Add dataplane support

Remove Old Consumer Factory

script file updated to use the dispatcher-vertx

added missing licence header

Benchmark

Profiler Run changed to use vertx impl

third party txt

Use for instead of while

        message: |
          Picked up JAVA_TOOL_OPTIONS: -XX:+CrashOnOutOfMemoryError
          no main manifest attribute, in /app/app.jar

#733 should fix it

OCF Webhook is merging this PR


WU shouldn't try to install older version of WSLg when newer one is installed

Steps to reproduce
Install prerelease of wslg 1.0.20
Expected behavior
Windows update won't try to install older version 1.0.19
Actual behavior
Windows update tries to install older version 1.0.19 and fails.
https://ss.codeone.pl/ss-2021-05-15_20-33-51-1621103631.png
https://ss.codeone.pl/ss-2021-05-15_20-33-25-1621103605.png

Thanks for the report. This is currently a known limitation with the update pipeline through Microsoft Update that WSLg uses to deliver these MSI. The pre-release MSI from GitHub aren't official release and are not understood by MU. Later this summer we will be switching to a new update pipeline through the Microsoft App Store which should address this limitation.


switch to "standard" way of supporting Django 1.7 migrations

migrations to container Django 1.7 migrations and south_migrations to contain South migrations.

I believe this was fixed by 5984caf1ab0393b73d478723ffa5657baca81406.

Fixed in #540


Sampling with HMC can hang if AD is bugged

Minimal working example
using Turing

@model function model1()
    σ ~ InverseGamma(2, 3)
    V ~ truncated(Normal(0, σ), 0, Inf)
end

sample(model1(), NUTS(), 100)

Description
Hangs.
This isn't because of a bug in Turing; it's actually a bug in ForwardDiff, which returns NaN's when calculating the gradient. (This is true of all other currently supported AD backends too, see https://discourse.julialang.org/t/help-cant-get-turing-to-work-on-a-simple-model/122107/2)
Because the gradient is always returned with NaN's, isfinite() on it returns false, and this block goes into an infinite loop:
https://github.com/TuringLang/Turing.jl/blob/397d1a7c521f72ab18675f3d65c20925ed55f69f/src/mcmc/hmc.jl#L176-L194
It would probably make sense to just error after a sufficiently large number of attempts (not sure about the exact number, but 1000 seems reasonable perhaps?).
Julia version info
versioninfo()
julia> versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12ad (2024-10-16 10:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M1 Pro
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

Manifest
The relevant parts are:
(ppl) pkg> st
Status `~/ppl/Project.toml`
  [f6369f11] ForwardDiff v0.10.37
  [fce5fe82] Turing v0.35.1

I did paste the whole thing here because I'm the one who made this issue template and I had better abide by it 😄
]st --manifest
(ppl) pkg> st --manifest
Status `~/ppl/Manifest.toml`
  [47edcb42] ADTypes v1.9.0
  [621f4979] AbstractFFTs v1.5.0
  [80f14c24] AbstractMCMC v5.6.0
  [7a57a42e] AbstractPPL v0.9.0
  [1520ce14] AbstractTrees v0.4.5
  [7d9f7c33] Accessors v0.1.38
  [79e6a3ab] Adapt v4.1.1
  [0bf59076] AdvancedHMC v0.6.3
  [5b7e9947] AdvancedMH v0.8.4
  [576499cb] AdvancedPS v0.6.0
  [b5ca4192] AdvancedVI v0.2.10
  [66dad0bd] AliasTables v1.1.3
  [dce04be8] ArgCheck v2.3.0
  [4fba245c] ArrayInterface v7.16.0
  [a9b6321e] Atomix v0.1.0
  [13072b0f] AxisAlgorithms v1.1.0
  [39de3d68] AxisArrays v0.4.7
  [198e06fe] BangBang v0.4.3
  [9718e550] Baselet v0.1.1
⌅ [76274a88] Bijectors v0.13.18
  [fa961155] CEnum v0.5.0
  [082447d4] ChainRules v1.71.0
  [d360d2e6] ChainRulesCore v1.25.0
  [9e997f8a] ChangesOfVariables v0.1.9
  [861a8166] Combinatorics v1.0.2
  [38540f10] CommonSolve v0.2.4
  [bbf7d656] CommonSubexpressions v0.3.1
  [34da2185] Compat v4.16.0
  [a33af91c] CompositionsBase v0.1.2
  [88cd18e8] ConsoleProgressMonitor v0.1.2
  [187b0558] ConstructionBase v1.5.8
  [a8cc5b0e] Crayons v4.1.1
  [9a962f9c] DataAPI v1.16.0
  [864edb3b] DataStructures v0.18.20
  [e2d170a0] DataValueInterfaces v1.0.0
  [244e2a9f] DefineSingletons v0.1.2
  [8bb1440f] DelimitedFiles v1.9.1
  [b429d917] DensityInterface v0.4.0
  [163ba53b] DiffResults v1.1.0
  [b552c78f] DiffRules v1.15.1
  [a0c0ee7d] DifferentiationInterface v0.6.18
  [31c24e10] Distributions v0.25.112
  [ced4e74d] DistributionsAD v0.6.57
  [ffbed154] DocStringExtensions v0.9.3
  [366bfd00] DynamicPPL v0.30.3
  [cad2338a] EllipticalSliceSampling v2.0.0
  [4e289a0a] EnumX v1.0.4
  [e2ba6199] ExprTools v0.1.10
⌅ [6b7a57c9] Expronicon v0.8.5
  [7a1cc6ca] FFTW v1.8.0
  [9aa1b823] FastClosures v0.3.2
  [1a297f60] FillArrays v1.13.0
  [6a86dc24] FiniteDiff v2.26.0
  [f6369f11] ForwardDiff v0.10.37
  [069b7b12] FunctionWrappers v1.1.3
  [77dc65aa] FunctionWrappersWrappers v0.1.3
⌅ [d9f16b24] Functors v0.4.12
⌅ [46192b85] GPUArraysCore v0.1.6
  [34004b35] HypergeometricFunctions v0.3.24
  [22cec73e] InitialValues v0.3.1
  [505f98c9] InplaceOps v0.3.0
  [a98d9a8b] Interpolations v0.15.1
  [8197267c] IntervalSets v0.7.10
  [3587e190] InverseFunctions v0.1.17
  [41ab1584] InvertedIndices v1.3.0
  [92d709cd] IrrationalConstants v0.2.2
  [c8e1da08] IterTools v1.10.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [692b3bcd] JLLWrappers v1.6.1
  [682c06a0] JSON v0.21.4
  [63c18a36] KernelAbstractions v0.9.29
  [5ab0869b] KernelDensity v0.6.9
  [5be7bae1] LBFGSB v0.4.1
  [929cbde3] LLVM v9.1.3
  [8ac3fa9e] LRUCache v1.6.1
  [b964fa9f] LaTeXStrings v1.4.0
  [1d6d02ad] LeftChildRightSiblingTrees v0.2.0
  [6f1fad26] Libtask v0.8.8
  [d3d80556] LineSearches v7.3.0
  [6fdf6af0] LogDensityProblems v2.1.2
  [996a588d] LogDensityProblemsAD v1.12.0
  [2ab3a3ac] LogExpFunctions v0.3.28
  [e6f89c97] LoggingExtras v1.1.0
  [c7f686f2] MCMCChains v6.0.6
  [be115224] MCMCDiagnosticTools v0.3.10
  [e80e1ace] MLJModelInterface v1.11.0
  [d8e11817] MLStyle v0.4.17
  [1914dd2f] MacroTools v0.5.13
  [dbb5928d] MappedArrays v0.4.2
  [128add7d] MicroCollections v0.2.0
  [e1d29d7a] Missings v1.2.0
  [d41bc354] NLSolversBase v7.8.3
  [872c559c] NNlib v0.9.24
  [77ba4419] NaNMath v1.0.2
  [86f7a689] NamedArrays v0.10.3
  [c020b1a1] NaturalSort v1.0.0
  [6fe1bfb0] OffsetArrays v1.14.1
  [429524aa] Optim v1.9.4
  [3bd65402] Optimisers v0.3.3
  [7f7a1694] Optimization v4.0.5
  [bca83a33] OptimizationBase v2.3.0
  [36348300] OptimizationOptimJL v0.4.1
  [bac558e1] OrderedCollections v1.6.3
  [90014a1f] PDMats v0.11.31
  [d96e819e] Parameters v0.12.3
  [69de0a69] Parsers v2.8.1
  [85a6dd25] PositiveFactorizations v0.2.4
  [aea7be01] PrecompileTools v1.2.1
  [21216c6a] Preferences v1.4.3
  [08abe8d2] PrettyTables v2.4.0
  [33c8b6b6] ProgressLogging v0.1.4
  [92933f4c] ProgressMeter v1.10.2
  [43287f4e] PtrArrays v1.2.1
  [1fd47b50] QuadGK v2.11.1
  [74087812] Random123 v1.7.0
  [e6cf234a] RandomNumbers v1.6.0
  [b3c3ace0] RangeArrays v0.3.2
  [c84ed2f1] Ratios v0.4.5
  [c1ae055f] RealDot v0.1.0
  [3cdcf5f2] RecipesBase v1.3.4
  [731186ca] RecursiveArrayTools v3.27.3
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.0
  [79098fc4] Rmath v0.8.0
  [f2b01f46] Roots v2.2.1
  [7e49a35a] RuntimeGeneratedFunctions v0.5.13
⌅ [26aad666] SSMProblems v0.1.1
  [0bca4576] SciMLBase v2.58.0
  [c0aeaf25] SciMLOperators v0.3.12
  [53ae85a6] SciMLStructures v1.5.0
  [30f210dd] ScientificTypesBase v3.0.0
  [efcf1570] Setfield v1.1.1
  [ce78b400] SimpleUnPack v1.1.0
  [a2af1166] SortingAlgorithms v1.2.1
  [9f842d2f] SparseConnectivityTracer v0.6.8
  [dc90abb0] SparseInverseSubset v0.1.2
  [0a514795] SparseMatrixColorings v0.4.8
  [276daf66] SpecialFunctions v2.4.0
  [171d559e] SplittablesBase v0.1.15
  [90137ffa] StaticArrays v1.9.8
  [1e83bf80] StaticArraysCore v1.4.3
  [64bff920] StatisticalTraits v3.4.0
  [10745b16] Statistics v1.11.1
  [82ae8749] StatsAPI v1.7.0
  [2913bbd2] StatsBase v0.34.3
  [4c63d2b9] StatsFuns v1.3.2
  [892a3eda] StringManipulation v0.4.0
  [09ab397b] StructArrays v0.6.18
  [2efcf032] SymbolicIndexingInterface v0.3.34
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.12.0
  [5d786b92] TerminalLoggers v0.1.7
  [9f7883ad] Tracker v0.2.35
  [28d57a85] Transducers v0.4.84
  [fce5fe82] Turing v0.35.1
  [3a884ed6] UnPack v1.0.2
  [013be700] UnsafeAtomics v0.2.1
  [d80eeb9a] UnsafeAtomicsLLVM v0.2.1
  [efce3f68] WoodburyMatrices v1.0.0
  [700de1a5] ZygoteRules v0.2.5
  [f5851436] FFTW_jll v3.3.10+1
  [1d5cc7b8] IntelOpenMP_jll v2024.2.1+0
  [dad2f222] LLVMExtra_jll v0.0.34+0
  [81d17ec3] L_BFGS_B_jll v3.0.1+0
  [856f044c] MKL_jll v2024.2.0+0
  [efe28fd5] OpenSpecFun_jll v0.5.5+0
  [f50d1b31] Rmath_jll v0.5.1+0
  [1317d2d5] oneTBB_jll v2021.12.0+0
  [0dad84c5] ArgTools v1.1.2
  [56f22d72] Artifacts v1.11.0
  [2a0f44e3] Base64 v1.11.0
  [ade2ca70] Dates v1.11.0
  [8ba89e20] Distributed v1.11.0
  [f43a241f] Downloads v1.6.0
  [7b1f6079] FileWatching v1.11.0
  [9fa8497b] Future v1.11.0
  [b77e0a4c] InteractiveUtils v1.11.0
  [4af54fe1] LazyArtifacts v1.11.0
  [b27032c2] LibCURL v0.6.4
  [76f85450] LibGit2 v1.11.0
  [8f399da3] Libdl v1.11.0
  [37e2e46d] LinearAlgebra v1.11.0
  [56ddb016] Logging v1.11.0
  [d6f4376e] Markdown v1.11.0
  [a63ad114] Mmap v1.11.0
  [ca575930] NetworkOptions v1.2.0
  [44cfe95a] Pkg v1.11.0
  [de0858da] Printf v1.11.0
  [9a3f8284] Random v1.11.0
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization v1.11.0
  [1a1011a3] SharedArrays v1.11.0
  [6462fe0b] Sockets v1.11.0
  [2f01184e] SparseArrays v1.11.0
  [4607b0f0] SuiteSparse
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [8dfed614] Test v1.11.0
  [cf7118a7] UUIDs v1.11.0
  [4ec0a83e] Unicode v1.11.0
  [e66e0078] CompilerSupportLibraries_jll v1.1.1+0
  [deac9b47] LibCURL_jll v8.6.0+0
  [e37daf67] LibGit2_jll v1.7.2+0
  [29816b5a] LibSSH2_jll v1.11.0+1
  [c8ffd9c3] MbedTLS_jll v2.28.6+0
  [14a3606d] MozillaCACerts_jll v2023.12.12
  [4536629a] OpenBLAS_jll v0.3.27+1
  [05823500] OpenLibm_jll v0.8.1+2
  [bea87d4a] SuiteSparse_jll v7.7.0+0
  [83775a58] Zlib_jll v1.2.13+1
  [8e850b90] libblastrampoline_jll v5.11.0+0
  [8e850ede] nghttp2_jll v1.59.0+0
  [3f19e933] p7zip_jll v17.4.0+2

Minor comment (of course doesn't apply to the general problem here): The problem in this specific example is the line
    V ~ truncated(Normal(0, σ), 0, Inf)

One should always use
    V ~ truncated(Normal(0, σ); lower=0)

or
    V ~ truncated(Normal(0, σ), 0, nothing)

Since the latter is less descriptive, I'd only use it if keyword arguments are problematic (e.g. in broadcasting).

@devmotion Indeed, I found that out too when experimenting 😄 While you're here: I hadn't gotten round to reporting the actual NaN gradients:
using DynamicPPL: @model, LogDensityFunction
using Distributions
using LogDensityProblems: logdensity_and_gradient
using LogDensityProblemsAD: ADgradient

@model function model1()
    σ ~ InverseGamma(2, 3)
    V ~ truncated(Normal(0, σ), 0, Inf)
end

import ForwardDiff
ℓ = ADgradient(:ForwardDiff, LogDensityFunction(model1()))
logdensity_and_gradient(ℓ, [1.0, 2.0])
# --> (-3.0285667753085077, [NaN, NaN])

Would you consider this a bug in the AD backends (i.e. we can attempt to minimise the issue and report upstream), or improper usage of Distributions (i.e. maybe the user should be told that they shouldn't do that)?

Mainly improper usage of Distributions, I would say. Introducing Inf in calculations makes it very likely that you'll get NaN derivatives, regardless of the AD system.
In the ForwardDiff case, sometimes you can actually get around this problem by switching to NaN-safe mode (https://juliadiff.org/ForwardDiff.jl/dev/user/advanced/#Fixing-NaN/Inf-Issues). But IMO this is only the second-best alternative and doesn't address all Inf/NaN issues.


Execute tests

Test definitions were async yet executed as synchronous.

We will need Object.assign fallback for node 0.12

@ertrzyiks  :+1:

We will need Object.assign fallback for node 0.12

kk i add it


Add BEIR BGE prebuilt flat indexes and repro bindings

Still work in progress, but ultimate goal is to make something like this work:
nohup java -cp target/anserini-0.36.2-SNAPSHOT-fatjar.jar io.anserini.reproduce.RunBeir >& log.flat &

"Work" = include BGE regressions using flat indexes.

@UShivani3 @16BitNarwhal this is ready for CR now.

Everything checks out on my end.


Update scala3-compiler to 3.3.4

About this PR
📦 Updates org.scala-lang:scala3-compiler from 3.3.3 to 3.3.4
📜 GitHub Release Notes - Version Diff - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (3.3.3).
You might want to review and update them manually.
.github/workflows/pr-checks.yml
README.md

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala3-compiler" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala3-compiler" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

@mccartney, would you issue a new release?


[azure-iot-sdk-c] Update macro-utils and umock-c to differentiate master and public-preview installations

This change is necessary to keep the chain of submodule dependencies versions correct on the azure-iot-sdk-c vcpkg ports when installing using different flavors (from master or public-preview).
Note: all features test pass with following triplets:

x86-windows
x64-windows
x64-windows-static
arm64-windows
x64-linux

Comments addressed, could you please let us know if there are any other blockers to merge? Thanks.

@ewertons The CI system does not test all features, so we need to test them in all triplets before merging this PR.

It looks like azure-c-shared-utility [public-preview] does not support uwp, if this is correct, please add vcpkg_fail_port_install (ON_TARGET "UWP")  on top of PORTS/azure-c-shared-utility/portfile.cmake .
Thanks.

@JackBoosY , would it be possible to check why the vcpkg-osx-PR pipeline run hasn't started yet? It's been queued since yesterday.

@ewertons Our OSX CI system is now being updated, so we need to wait a few days.

Folks, we have our release automation solution waiting for this to get in.
Could you please let us know when this will be merged?

@ewertons After repairing the CI system and re-running this PR test, we will merge this PR.


feat: Support Sso for SharePoint bot ACEs

Fixes
This change allows SharePoint Bot Driven Aces to use SSO.
Description
Currently a bot driven ace in SharePoint can only use the magic code flow. This flow is not ideal as it requires a user to copy and paste a code from a different window or at a minimum we get flicker of the window being shown. This change allows us to use the SSO flow so that not authentication prompts are shown.
#minor
Specific Changes
Adds a new cardExtension/token activity for doing a token exchange.
Testing

@ceciliaavila and team.  Can you review this PR and look into the test failures?

@ceciliaavila Bumping this one for help with unblocking, thank you!

@ceciliaavila Addressed your comments, thank you!

@ceciliaavila @tracyboehrer How can we override/resolve the transient error?


Cargo Clippy crashes on this package.

As a new rust users cargo clippy is useful for looking at idiomatic code. Cargo clippy crashes on latest version.

Hi. Closing for now. Feel free to reopen.


Fixing constant to disallow period at beginning or end

Coverage increased (+0.08%) to 98.61% when pulling 8a51e5be540bf3a6280eb20ed9ecb0233e45100b on constant into eb6c5bad30d7c1ee25cdc464ae872b5aa3a54efd on master.


Misleading use.txt

When you run hackmyresume with no arguments there is a discrepancy between the yellow:
Please give me a command (BUILD, ANALYZE, VALIDATE, CONVERT, or NEW)
and the list:
<COMMAND> should be BUILD, NEW, CONVERT, VALIDATE, ANALYZE or HELP
If you attempt hackmyresume HELP as per the use.txt you get an invalid command error. I'm not sure if HELP needs to be removed from use.txt, or implemented in whatever source code handles this.

Thanks for the note -- agreed (and fixed for next version).

Please give me a command (BUILD, ANALYZE, VALIDATE, CONVERT, or NEW).

Usage:

   hackmyresume <command> <sources> [TO <targets>] [<options>]

Available commands:

   BUILD        Build your resume to the destination format(s).
   ANALYZE      Analyze your resume for keywords, gaps, and metrics.
   VALIDATE     Validate your resume for errors and typos.
   CONVERT      Convert your resume between FRESH and JSON Resume.
   NEW          Create a new resume in FRESH or JSON Resume format.

Available options:

   --theme      Path to a FRESH or JSON Resume theme.
   --pdf        Specify the PDF engine to use (if any).
   --opts       Load options from an external JSON file.
   --format     The format (FRESH or JSON Resume) to use.
   --debug      Emit extended debugging info.
   --assert     Treat resume validation warnings as errors.
   --no-colors  Disable terminal colors.
   --no-tips    Disable theme messages and tips.
   --help       Display help documentation.
   --version    Display the current version.

Not all options are supported for all commands. For example, the
--theme option is only supported for the BUILD command.

Examples:

   hackmyresume BUILD resume.json TO out/resume.all --theme modern
   hackmyresume ANALYZE resume.json
   hackmyresume NEW my-new-resume.json --format JRS
   hackmyresume CONVERT resume-fresh.json TO resume-jrs.json
   hackmyresume VALIDATE resume.json

Tips:

   - You can specify multiple sources and/or targets for all commands.
   - You can use any FRESH or JSON Resume theme with HackMyResume.
   - Specify a file extension of .all to generate your resume to all
     available formats supported by the theme. (BUILD command.)
   - The --theme parameter can specify either the name of a preinstalled
     theme, or the path to a local FRESH or JSON Resume theme.
   - Visit https://www.npmjs.com/search?q=jsonresume-theme for a full
     listing of all available JSON Resume themes.
   - Visit https://github.com/fluentdesk/fresh-themes for a complete
     listing of all available FRESH themes.
   - Report bugs to https://githut.com/hacksalot/HackMyResume/issues
     for a quick fix, often within 24 hours.

That looks much better, but including short options would be good too:
    Available options:

Agreed -- will add those before pushing to master. Let us/me know if you have any other feedback -- our help docs are intended to be a little quirky but basically in line with git and similar.


Update the root README with verbose configuration information

To help out people who may not be super familiar with GPG configuration, and may have trouble debugging.
This is probably far too verbose as-is, but it's an abbreviated version of the steps in #3 .

I'm still struggling to understand why my touchID won't be prompted, and I have exactly the same setup as you're describing :/ My keychain has saved the gpg key's passphrase, I replaced my pinentry-program to /usr/local/bin/pinentry-touchid and it doesn't work...
Git signing with pinentry-mac works though, but I only have to put my key passphrase once and it stays in memory (probably cache)
I tried adding default-cache-ttl 1 max-cache-ttl 1 but it's not working

My pinentry-mac doesn't have an option to Save to Keychain, so I cannot use pinentry-touchid. I tried everything I could. Tried GnuPG package, but nothing works.

Looks like the problem is a missing key in defaults:
defaults write org.gpgtools.pinentry-mac DisableKeychain -bool no

You must set this to NO, otherwise it will be "true" and doesn't show, even if you have UseKeychain = yes.

I can't get pinentry-mac to display the Save in keychain option, I've already tried:

defaults write org.gpgtools.pinentry-mac DisableKeychain -bool no
defaults write org.gpgtools.pinentry-mac DisableKeychain -bool false
https://github.com/pstadler/keybase-gpg-github/issues/19#issuecomment-1189565494

@inakiabt Can you check if any of the suggestions in this thread helps?

@jorgelbg
killall gpg-agent
killall gpg2
killall gpg
killall dirmngr

Make it work. Thanks!
FYI:
$ defaults read org.gpgtools.common
{
    DisableKeychain = 0;
    UseKeychain = YES;
}

Happy to hear that it is working!🎉
pinentry-touchid should've been able to persist the password in the keychain even without the "Save in keychain" option in pinentry-mac. Curious why it didn't work 🤔. Would you mind sharing the logs from $TMPDIR/pinentry-touchid.log?

Since I wasn't seeing the "Save in keychain" option I didn't save my passphrase and then try pinentry-touchid 😅
I lost the logs at some point.
I'm automating this setup for my "dotfiles" setup, so I will try it in virtual machine I'm using and let you know.


Vivekrawat21 guide

@gabrysia694 i added a new guide please check

ok to resolve this i have to create another req


[Professional Plan] Update text from signup with new Pro Plan info

As part of first step of implementation (once Pro Plan is enabled in production), copies from the sign up page need to be changed.

Tasks to do:

Replace 30-day Personal Trial Account  with 14-day Trial Professional Account

Closed, solved here: https://github.com/CartoDB/cartodb-central/issues/2456


add none theme

In browser/query we have multiple editors mounted, but only want to show one as active - leaving the others grayed out. I ran into performance and stability issues when I rapidly turned all of cypher support on and off, so I figured a "no-highlighting" theme could be a better solution. Thoughts?

Hmm, a disabled prop or a special disabled  css class name prop could be a better option since then we’d allow styling it for both light and dark themes. Wdyt?
also what performance/ stability issues did you hit when turning cypher language on and off? It’s not intended to be changed frequently as there’s a cost to loading the whole grammar from scratch but it still shouldn’t be causing stability issues.

I'll add a "disableHighlighting" prop :+1:
It was quite a while ago I tried it but it crashed from calling language support before it was defined. Many of these kind of bugs should get ironed out as we move to typescript

Closing this for now, while it's still in the air exactly how the ndl integration is meant to work


limit with css class not working

I have tried with different classes and IDs in the footer but the fixed sidebar element  doesn't stop scrolling to the .footer class. The issue is live on this website http://goo.gl/Rzyfei
There are two more subjects below "Political Science" but they are hidden.
Screenshot: http://i.imgur.com/NRpKglg.png

A couple of suggestions:

The limit is actually applied at the top of the target element, so you have to deduct the height of the target to get the limit to kick in when the footer touches the bottom. Deduct for some padding too.

The target will most likely jump out of position when the limit kicks in as it appears that the target is not in a container that will hold its position. Try the removeOffsets option. If that does not work, put the target in a div that stays in place.

If you have any dynamic content, I like to use the limit as a function. Wrapping the limit in a function causes it to recalculate each time it is evaluated in case heights change.

Good luck!

Thanks @monzanovending  If you could provide a code sample It would help me get your suggestion better. The current relevant code is as follows
FOOTER

SyllabusMan.com

JS
$(document).ready(function() {

  $('.fixed').scrollToFixed({
	marginTop: 10,
	limit: $('.footer').offset().top
  });

});

Thanks a lot @monzanovending

Done
removeOffsets worked.
Not dynamic

Could you please check the result?

@nviror The results look good. To reduce that jump when the limit kicks in, make the .three.column position: relative. Nice work!
I am actually @monzanovending too; I was logged into a client account.

Just wanted to say, you're awesome @bigspotteddog :)

Thanks!


[STORM-2134] - improving the current scheduling strategy for RAS

Please see modified documentation for more info on what changed

Also re-add some RAS related tests that were accidentally deleted in the past

@revans2 thanks for the reviews.  I have addressed your comments

+1


Output piped via PowerShell on Windows into .gitignore not recognized by git

Steps to reproduce:

Open PowerShell to a new empty git repo
Create a file or folder (with a file in the folder) that should be ignored, such as a "bin" folder for the "visualstudio" template
Run joe visualstudio > .gitignore per the documentation in README
Run git add .
Run git status. Note that the "bin" folder has been added as a staged change, despite being ignored.

This is due to PowerShell using some UTF-8 marks that git doesn't like but for some reason git doesn't warn you. You can see this output in Atom, with some line ending issues as well (note the presumably Unicode-related marks at the beginning of the file):

Note that if you run echo "bin/" > .gitignore it also doesn't work - so this is definitely a problem with either PowerShell or git, and not a problem with Joe. Also of note is that the piping works if this is run from Git Bash which is installed with Git for Windows. However, this means that either Joe should have functionality to create the .gitignore without redirecting standard output (such as a --create flag), and the documentation should at least be updated to note that redirecting output with > in PowerShell results in a file that is not usable by git. Unless there's some other way to work around this limitation in PowerShell.

You probably want to look into https://technet.microsoft.com/en-us/library/hh849882.aspx. PowerShell defaults to Unicode output if you use '>', so you must instead pipe to out-file and set the encoding there.

@awarrenlove Workarounds like that are acceptable, but updating the docs/readme to reflect that would be in order (if that's the only option) since the readme as-is doesn't work in PowerShell.
@karan: can you confirm?


Only get a recordingCHpower value every second hour

Describe the bug
recordingCHpower only record every second hour.
To Reproduce
Steps to reproduce the behavior:
I just go to my energy board
Expected behavior
Record every hour
Screenshots

Version

HA version? 2022.11.2
HA Bosch component version? 0.19.4

** Debug SCAN **
** IMPORTANT **
bosch_scan.json.txt

(more info)

Are you able to install bosch lib manually so you could use bosch_cli ?

Works with 0.20 again

Okay, didn't work again. Just todays Data until the Update are shown in energy-dashoard.
what should I do with bosch_cli @pszafer ?

Do you have proper timezone set?

Debug-Scan
{       "id": "/gateway/DateTime",       "type": "stringValue",       "writeable": 1,       "recordable": 0,       "value": "2022-12-12T11:13:27"     },
looks good. may one or two minutes incorrect

System zone. One/two minutes shift for database is big issue.

HA runs on:
Synology -> VM -> HassIO -> BoschComponent
Checked every single time-settings
Syno fine, VM fine, HassIO fine, Heating fine (i have set the time).
Same issue

Issue still there

It should be fixed in 0.21.0. Prerelease is ready to test it: https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.21.0dev1
also, as it took some time to make a fix for me, I added service to manually download one day, so everybody can fix wrong data.
But if you want to fix, then fetch from the oldest day to the most recent day.
The data which is available from the past depends from bosch device, so for some users it is 30 days, for some even 90 days.

Looks good, thank you <3


SharedState observe() method and SharedStateCollection for same node

The documentation of the observemethod states:

The states that are created by the same node are not propagated through the observe callback.

While I understand that their is a use for this, it seems a bit counter-intuitive as the default behaviour. In particular, when moving code from a client (controller, pure observer) to the server (where creation of states may happen), the result changes.
The wide implications of this to the SharedStateCollection seem even more bizarre to me. It is not documented, but as most of the methods rely on on underlying observe, no locally created state ever appear in them: find, forEach, onAttach, onUpdate, etc.
I do not know what would be a good solution

an excludeLocal parameter (for both the observe and the getCollection methods.
a separate observeOthers method (and getCollectionOfOthers?)

Yup right, I would go for the excludeLocal parameter solution, i.e. something like:
StateManager::observe(schemaName, callback, { excludeLocal = false } = {});
StateManager::getCollection(schemaName, { excludeLocal = false } = {});

Fixed with d0d255e and d0d255e


n_partitions vs n_workers in dasked operations

These should fairly easily be resolvable. I'd assume that n_chunks has to be smaller than len(series). Curious that dask does not catch this!
n_workers = len(series) - 1

/.local/lib/python3.6/site-packages/starepandas/tools/spatial_conversions.py in series_intersects()
    495             # Cannot have more partitions than rows
    496             n_workers = len(series)
--> 497         ddf = dask.dataframe.from_pandas(series, npartitions=n_workers)
    498         meta = {'intersects': 'bool'}
    499         res = ddf.map_partitions(lambda df: series_intersects(df, other, method, 1), meta=meta)

~/.local/lib/python3.6/site-packages/dask/dataframe/io/io.py in from_pandas()
    211
    212     if chunksize is None:
--> 213         chunksize = int(ceil(nrows / npartitions))
    214
    215     name = name or ("from_pandas-" + tokenize(data, chunksize))

ZeroDivisionError: division by zero

argh. probably quite the oposite: I'd assume this happens when len(series) == 0

right so we say:
if n_workers > len(series):
        n_workers = len(series)

so if len(series) == 0, then we set n_workers to 0. We then shove that into the ddf factory:
ddf = dask.dataframe.from_pandas(series, npartitions=n_workers)

I think the logic is still not sound. It would seem like len(series) could still be 0. Then n_workers will be -1, which is accepted by dask; though I am not sure what it means.
ddf = dask.dataframe.from_pandas(series, npartitions=-1)

So the following would recursively spin up more workers and end up breaking things.
starepandas.sids_from_geoseries(countries[0:0].geometry, resolution=6)

This may become an issue when we do mapped/multiprocessed intersects tests. A worker might end up with a chunk of zero-length.

huh. PR #68  should have closed this


Creating a worker on electron doesn't include Node.js

Hi, amazing library.
I'm having problems because when I create a simple worker like this one:
// node.js library
var child_process = require('child_process');

console.log("This is a testing string");

If I create the worker like this:
var worker1 = new Worker('./workerTest.js');
It works, but when I create the worker like this:
var worker2 = new Worker('./workerTest.js', { type: 'module' });
It shows this message Module not found: Error: Can't resolve 'child_process' meaning that the worker2 doesn't include Node.js. I don't know if I should include another option apart from type: 'module'  or if this is not supported by this library.
Also, I can't use worker1 method because the real worker is more complex and has a lot of imports.

I'm using electron": "^8.0.0 and node version v12.15.0

Hiya - this module bundles Web Workers, not Node workers_threads. I think it might be possible to add an option for outputing worker_threads, but I worry that { type: 'module' } is misleading for that use-case, since Node does not actually have any plans to support a "type" option that I'm aware of.

I'm actually going to close this issue since it's a duplicate of #10 - we can continue discussion there!

Hey @developit - I'm also facing this issue.
The scenario isn't to use worker_threads, it's to use a Worker with a NodeJS context in Electron:
https://www.electronjs.org/docs/tutorial/multithreading#multi-threaded-nodejs
My use-case is to use OffscreenCanvas within a Worker, which is impossible in a worker_therad.
I'm trying to migrate from worker-loader, but facing the same Module not found: Error: Can't resolve 'child_process' as @Fransebas had back in Feb.

@2xAA did  did you manage to workaround this issue? Im facing it too..

@edenhermelin Unfortunately not. I wrote some pretty awful __dirname hacks around a library we were consuming to make it work with worker-loader.
Worked for a while but has broken with Electron 11 for some reason.

I'm trying to solve this exact issue also.
@edenhermelin or @2xAA did either of you figure this out?
I also followed the directions in #75, which DOES let me create a worker from the main process, but not from the renderer process.

@developit can we re-open this issue? It is not the same as creating a node worker.
What this is about:

Creating a webworker
That references node.js APIs
That also references externalized native dependencies.

@edenhermelin or @2xAA did either of you figure this out?

Nope, sorry.
This was my awful workaround for the library I was consuming. Might be quite specific, however.
https://github.com/vcync/modV/commit/81eac0a13017f776af913449fad8c06a7c408821#diff-7b4e11be73603a3ee2c4d37bd49f053930d6056507a005e5639cea7c15686d5fR7-R14


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/27406

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/27406

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28099

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28099

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29160

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29244

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/34607

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/35595

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/40468


Move Augur App sync information to browser

In preparation for v2, we would like to move the sync information to the browser and be able to show the user the sync progress there.  This will need some guidance from the Design team.

Dupe of #287


steven: not rendering player head items in a slot

Steven is not rendering player head items in a slot.
Steven:

versus Minecraft:

Merged into #55


Problem with auto-selecting the first item in completion menu.

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      luasnip.lsp_expand(args.body)
    end,
  },
  completion = {
    autocomplete = false,   -- invoke autocompleteion only manually
    completeopt = 'menu,menuone,noinsert',  -- sudgeseted in issue #209
  },
  mapping = {
    ['<C-n>'] = function(fallback)
      if cmp.visible() then
        cmp.select_next_item()
      else
        cmp.complete()
        -- some kind of workaround to select first item, does not always work
        --
        -- if cmp.visible() then
        --   vim.api.nvim_feedkeys(
        --     vim.api.nvim_replace_termcodes('<C-j>', true, true, true),
        --     'm', true)
        -- end
      end
    end,
    ['<C-j>'] = cmp.mapping.select_next_item(),
    ['<CR>'] = cmp.mapping.confirm({ select = true })
  },
  sources = {
    { name = 'buffer' },
  },
}
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require'lspconfig'.cssls.setup {
  capabilities = capabilities,
}
EOF

Description
I have configured nvim-cmp to open auto-complete menu only when I push <C-n>.
When I push this key combination the auto-complete menu gets open as expected, the first element is selected, but the text of the item is not inserted in program text.
Steps to reproduce
Open sample file with following contents:
#!/usr/bin/env/python

def method(param1, param2, param3, arg1, arg2, arg3):
    """Dummy method"""
    par

move to the end on the file and push <C-n>
Expected behavior
Completion menu should appear and it should like this:

Actual behavior
Completion menu appears but looks like this:

Additional context
Actual behavior is inconsistent with standard "Keyword completion" behavior (how vim/nvim reacts to <C-n> keys combination without any custom configuration)
To actually complete the word to 'param1' I have to push <CR> or push <C-n> several times to cycle through the whole menu back to the first item.
Expected behavior is that if the auto-completion first guess is correct I just continue to type program text.
There are similar (but different) issues reported previously: #209 and #750 .
The problem described in issue #209 is that the first menu element is not selected by default. I used the solution to this issue, the first element is selected, but the text is not automatically inserted.
I also tried to apply solutions described in #750 - but without any success.

Yes. This is an architectural issue of nvim-cmp.
Could you try the following config?
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      luasnip.lsp_expand(args.body)
    end,
  },
  completion = {
    autocomplete = false,
  },
  mapping = {
    ['<C-n>'] = function(fallback)
      if cmp.visible() then
        cmp.select_next_item()
      else
        cmp.complete()
        vim.wait(500, function()
          return cmp.visible()
        end)
        cmp.select_next_item()
      end
    end,
    ['<C-j>'] = cmp.mapping.select_next_item(),
    ['<CR>'] = cmp.mapping.confirm({ select = true })
  },
  sources = {
    { name = 'buffer' },
  },
}
EOF

Thanks a lot! Looks like suggested workaround works fine.

For posterity, I tried the vim.wait() solution and while it worked normally, it would cause nvim to freeze completely if completion was invoked while the LSP was loading initially.
My workaround is to replace vim.wait() with the following logic built around vim.defer_fn():
local function doWhenCmpVisible(fn, timeout, poll_interval)
  if cmp.visible() then
    fn()
    return
  end

  if timeout <= 0 then
    return
  end

  vim.defer_fn(function()
    doWhenCmpVisible(fn, timeout - poll_interval, poll_interval)
  end, poll_interval)
end

local function completeAndInsertFirstMatch()
  cmp.complete()
  doWhenCmpVisible(function()
    cmp.select_next_item()
  end, 1100, 10)
end

Then my mapping looks like:
  mapping = {
    ["<Tab>"] = cmp.mapping({
      c = function()
        if cmp.visible() then
          cmp.select_next_item()
        else
          completeAndInsertFirstMatch()
        end
      end,
      i = function(fallback)
        if cmp.visible() then
          cmp.select_next_item()
          -- You could replace the expand_or_jumpable() calls with expand_or_locally_jumpable()
          -- they way you will only jump inside the snippet region
          -- elseif require('luasnip').expand_or_jumpable() then
          --   require('luasnip').expand_or_jump()
        elseif has_words_before() then
          completeAndInsertFirstMatch()
        else
          fallback()
        end
      end,
      s = function(fallback)
        if cmp.visible() then
          cmp.select_next_item()
          -- You could replace the expand_or_jumpable() calls with expand_or_locally_jumpable()
          -- they way you will only jump inside the snippet region
        elseif require('luasnip').expand_or_jumpable() then
          require('luasnip').expand_or_jump()
        elseif has_words_before() then
          completeAndInsertFirstMatch()
        else
          fallback()
        end
      end
    }),
...
}