Cert manager raises "Certificate will be issued with an empty Issuer DN" warning

While debugging 5248 with tilt I noticed  following events generated by cert-manager
[K8s EVENT: CertificateRequest capi-kubeadm-bootstrap-serving-cert-ffg5p (ns: capi-kubeadm-bootstrap-system)] Certificate will be issued with an empty Issuer DN, which contravenes RFC 5280 and could break some strict clients
[K8s EVENT: CertificateRequest capd-serving-cert-wbgbj (ns: capd-system)] Certificate will be issued with an empty Issuer DN, which contravenes RFC 5280 and could break some strict clients
[K8s EVENT: CertificateRequest capi-serving-cert-mn8zx (ns: capi-system)] Certificate will be issued with an empty Issuer DN, which contravenes RFC 5280 and could break some strict clients
[K8s EVENT: CertificateRequest capi-kubeadm-control-plane-serving-cert-pvh4v (ns: capi-kubeadm-control-plane-system)] Certificate will be issued with an empty Issuer DN, which contravenes RFC 5280 and could break some strict clients

Digging a little bit those warning were added by https://github.com/jetstack/cert-manager/pull/3760, and the explanation of the underlying problem can be found in https://cert-manager.io/docs/configuration/selfsigned/#certificate-validity
According to the above doc, possible  solution could be to add
  subject:
    organizations:
      - cluster-api

To our certificates
/kind bug

/close
Wrong repo 😄
PS. thanks for the great doc.


update: nvidia-drivers

Name: nvidia-drivers
CVEs: CVE-2023-31022, CVE-2024-0074, CVE-2024-0075, CVE-2024-0078,
CVSSs: 5.5, n/a, n/a, n/a
Action Needed: update to >= 535.161.07
Summary:

CVE-2023-31022: NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel mode layer, where a NULL-pointer dereference may lead to denial of service.

https://nvidia.custhelp.com/app/answers/detail/a_id/5491

CVE-2024-0074: NVIDIA GPU Display Driver for Linux contains a vulnerability where an attacker may access a memory location after the end of the buffer. A successful exploit of this vulnerability may lead to denial of service and data tampering.
CVE-2024-0075: NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability where a user may cause a NULL-pointer dereference by accessing passed parameters the validity of which has not been checked. A successful exploit of this vulnerability may lead to denial of service and limited information disclosure.
CVE-2024-0078: NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability in the kernel mode layer, where a user in a guest can cause a NULL-pointer dereference in the host, which may lead to denial of service.

https://nvidia.custhelp.com/app/answers/detail/a_id/5520

refmap.gentoo:

CVE-2023-31022: https://bugs.gentoo.org/916583
CVE-2024-007[458]: TBD

Added CVE-2024-0074, CVE-2024-0075, CVE-2024-0078.
Needs 535.161.07.


Flutter web on mobile browser is not working

Steps to reproduce:
1)Run flutter config --enable-web.
2) flutter run -d chrome
3)inspect on chrome and toggle device toolbar
4)refresh the app
Expected result :
everything works fine
Actual result:
Error below appears on the console and the app freeze

errors.dart:146 Uncaught Error: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/engine/engine/pointer_binding.dart:423:12
sanitizer != null
is not true
at Object.throw [as throw] (errors.dart:195)
at Object.assertFailed (errors.dart:26)
at _engine._PointerAdapter.new.[_getSanitizer] (pointer_binding.dart:423)
at pointer_binding.dart:474
at pointer_binding.dart:440
at pointer_binding.dart:210

Hi @YoussefElsaygh
can you please provide your flutter doctor -v
Thank you

[√] Flutter (Channel master, v1.18.0-5.0.pre.38, on Microsoft Windows [Version 10.0.17763.557], locale en-US)
• Flutter version 1.18.0-5.0.pre.38 at D:\flutter
• Framework revision 19ff596979 (13 hours ago), 2020-04-08 15:42:02 -0700
• Engine revision 5b4b1f33c6
• Dart version 2.8.0 (build 2.8.0-dev.20.0 dcdc71d763)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at C:\Users\yalsayegh\AppData\Local\Android\Sdk
• Platform android-29, build-tools 29.0.1
• ANDROID_HOME = C:\Users\yalsayegh\AppData\Local\Android\Sdk;
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.4)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 39.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] IntelliJ IDEA Community Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.1
• Flutter plugin version 42.1.4
• Dart plugin version 193.5731
[√] VS Code (version 1.44.0)
• VS Code at C:\Users\yalsayegh\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.9.1
[√] Connected device (3 available)
• Android SDK built for x86 • emulator-5554 • android-x86    • Android 8.0.0 (API 26) (emulator)
• Chrome                    • chrome        • web-javascript • Google Chrome 80.0.3987.163
• Web Server                • web-server    • web-javascript • Flutter Tools

i inspected html tree and i found that tag  is making that problem when i removed it from dom everything worked fine

@YoussefElsaygh
I'm trying with master v1.18.0-5.0.pre.47

and default app
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

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

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

I can't see the error. Can you see it after upgrade?

i inspected html tree and i found that tag is making that problem when i removed it from dom everything worked fine

You are absolutely right. Good find :)
This problem was introduced by my earlier PR: https://github.com/flutter/engine/pull/17495
And the fix was merged in this PR: https://github.com/flutter/engine/pull/17595
It's still not rolled into the framework yet, but I'm hoping it'll be rolled soon in this PR: https://github.com/flutter/flutter/pull/54373


Abstract cwd and pwd

I made an issue about this topic previously in #1, where I suggested abstracting the cwd and pwd methods, but you suggested that "resolving relative paths might not be possible from outside of the library." Outside the library determines what path, what protocol, and all that good stuff anyway, how would they not know the current path? Maybe you're saying if some other library passes a trait object or generic, then you wouldn't know, but I think that's more of a responsibility for the outside crate.
You also suggested that std::fs already works with relative paths and that it would make more sense. However, there is a pretty big difference between what you are currently doing and what the std is doing. Like I said before, you are probably already going to know the current working directory because that's something handled by the application itself.
Although, I do see a reasonable use case for working directories and the reason it's implemented is probably that it was useful to you when developing termscp. So I think the solution here is to remove working directories from the RemoteFs trait. The default RemoteFs trait should deal with solid absolute paths, no relative. A separate struct dedicated to working directories could be created that implements the RemoteFs trait, with most of the methods just being relative path + current path then forwarding it down to the inner-wrapped struct (these methods could be inlined). In addition, the struct could have other methods for dealing with the current directory like what we have currently, print and change.
To address the overhead with a protocol using built-in relative paths, specialization could be used. For example, that new relative path struct could have a specific implementation for the FtpFs struct. So instead of adding more overhead by having a custom relative path impl on top of the FTP protocol, you could utilize the underlying one by abstracting it behind this new struct.
But what if a user wants to implement specialization for their own protocol?
I think in this case, remotefs should expose that relative path struct as a trait, with methods like cwd and pwd (or more specifically, change_dir and print_dir). Then users could implement their own wrappers and allow for maximum performance and usability.
Some additional advantages to this feature that I didn't mention were removing tons of boilerplate when implementing your own protocol and removing any additional overhead that it causes. Now users won't have to manually resolve the relative path + the passed-in path and it's all handled behind the scenes. It also gives users the option to use absolute paths, which in the case of the program I'm developing, is a lot more convenient.
This feature is especially useful for the upcoming 0.3.0 update. Requiring multithreaded capabilities (via the Sync trait) will force users to wrap any non-thread-safe code with thread-safe wrappers. This means that if we were to have relative paths, users would need to use a RwLock or a Mutex which is extremely tedious, and since they are most likely going to want to avoid writer-starvation, they would use something like the arc-swap crate, as mentioned in issue #18.

I was just now writing an example implementation in code when I realized that this won't exactly work. I didn't realize the FTP implementation relied on the path parameters being not paths, just the name of the file or directory. There should be a guarantee here that passing paths are always going to be valid, although the issue here is that it could cause a bunch of overhead when being resolved (since for FTP you have to tell the server to change it).
To get around this you could either have FTP cwd on every call (if the path has multiple components) or you could enforce that relative paths are used for every protocol (by only accepting string parameters). Both of these options kinda suck, but it needs to be done to enforce consistency and to have a truly "generic" interface.  It's very annoying and causes an unnecessary amount of overhead to have relative paths on a protocol that does not need relative paths, but the overhead involved definitely doesn't compare to the latency of a network request.
Or maybe having FTP implicitly call cwd is the better option. In the end, users are going to end up in the path they want to go to whether it's relative or not. Plus, on the local side, the implementation could determine whether a cwd request is really necessary, and in the documentation, you could suggest to users that they group up requests that are in the same directory. So overall, I think this is the way to go and relative paths should honestly just be removed completely. This will still solve a lot of issues that I originally described and will end up making everything easier.
@veeso What do u think?

Also, to cover the argument against relative paths or working directories being more convenient, that's fine, just make a wrapper struct around whatever protocol you're using to handle relative paths internally. If they're worried about the extra overhead with FTP, then make a special wrapper impl for FTP that calls the relative path functions internally.

https://github.com/veeso/remotefs-rs/issues/18#issuecomment-1019323932


Create pagination

Only display a certain number of issues, and paginate their display.
Currently, only the first 10 or so issues are queried, and if the limit is increased, thy will be displayed at once.
Instead, created a paginated view, so that the response payload is small, and UI is convinient.

https://github.com/Real-Dev-Squad/website-status/pull/91

Did not know the procedure... Prematurely closed it.
Linked it to the PR now!


multi-module project setup and fix running tests with imported spring-eureka-common

Howdy - thanks for the tutorial. I had trouble building, so I made this a multi-module maven setup.
root/pom.xml is a the root, parent-project/pom.xml is the parent, and all the submodules use the parent-project as parent.
I also changed the build of the spring-eureka-common to use maven-surefire-plugin.
A couple of other minor changes.

root folder .gitignore.
fixed naming errors in the spring-eureka-gallery and spring-eureka-images poms.
mvn install works for me.

D'oh - I took out devtools (thinking earlier it was the build problem).

Howdy - thanks for the tutorial. I had trouble building, so I made this a multi-module maven setup.
root/pom.xml is a the root, parent-project/pom.xml is the parent, and all the submodules use the parent-project as parent.
I also changed the build of the spring-eureka-common to use maven-surefire-plugin.
A couple of other minor changes.

root folder .gitignore.
fixed naming errors in the spring-eureka-gallery and spring-eureka-images poms.
mvn install works for me.

You have taken common as a child in other projects?

Modules doesn't work for me, I'm still getting the same problem.


Session timeout - no warning

As expected, the session times out due to inactivity - not traversing pages nor initiating Ajax requests - but there is no warning. When the user finally interacts with the website after their session has timed out, they are prompted to log in again. This is especially inconvenient if they had taken some time to draft an (Action Out) email, and they finally clicked 'Done', only to discover that their work was lost.
Propose adding a session timeout warning message that either prompts the user to save their work or keep their session active (the latter could just ping the server through an Ajax request).

Solution included in next release.

Solved in Version 2.6.1


Let #defined functions on 32-bit have same signatures as on 64-bit.

Because Rust treats isize and i32 as different types even when they are the same size, aliasing SetWindowLongPtrW to SetWindowLongW doesn't work without a cast. So, let's do the cast in winapi on x86.

This branch has conflicts that must be resolved


Add Icons to Completions

Fixes #2327.

Note that neither Jedi nor Rope return method as a type, only function.

That means that methods will be listed as functions? or?
What about the privacy of the elements, anything to also have that?

Methods are listed as functions.  The privacy can be inferred from the name, but the type cannot. I say the less icons the better.

Seems fine for now. It would be great to only display matching options instead of the full list

That is for another PR.

Indeed

Cool, cool, really cool!! I've wanted to have this for years!!

A note about the new icons here: please add them to our LICENSE file :-)

Ok, first review done.

@ccordoba12, comments addressed.

Merge merge merge merge :+1:

I can make a new set of icons (pngs.) for this after merged, I am ok doing that (now I have some xp), so @blink1073 can focus on functionality and not on looks, ok?
My idea of the privacy is not to include more icons (indeed can become confusing), the point is that if we can for now return that info we could eventually use it to make some things... like never display super private methods in completion outside the module they are defined (as an option in the global preferences), or only display private methods if you are inside the actual class defining them. Also maybe Python special methods should be always on top?

I don't see a need to get any more complicated than what we have.  The underscore methods are moved to the bottom by default because you are more often looking for other attributes.  Also, Python is built on the "we're all consenting adults" mantra, which arbitrarily hiding private methods would go against that.

ok

On the icons I meant for the current ones, which look pixelated... I do not intend to make new icons, but make the existing ones more uniform.

@goanpeca or just make bitmap versions of the new qtawesome ones, once I made them pixel perfect.

Other than my minor remarks, this is ready to merge!
Great work @blink1073!!

And I think I'm done.

Let's wait for Travis before merging :-)


Add groupby.pipe?

MCVE Code Sample

In [1]: import xarray as xr

In [3]: import numpy as np

In [4]: ds = xr.Dataset(
   ...:       {"foo": (("x", "y"), np.random.rand(4, 3))},
   ...:       coords={"x": [10, 20, 30, 40], "letters": ("x", list("abba"))},
   ...: )

In [5]: ds.groupby('letters')
Out[5]:
DatasetGroupBy, grouped over 'letters'
2 groups with labels 'a', 'b'.

In [8]: ds.groupby('letters').sum(...) / ds.groupby('letters').count(...)
Out[8]:
<xarray.Dataset>
Dimensions:  (letters: 2)
Coordinates:
  * letters  (letters) object 'a' 'b'
Data variables:
    foo      (letters) float64 0.4182 0.4995

In [9]: ds.groupby('letters').pipe(lambda x: x.sum() / x.count())
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-9-c9b142ea051b> in <module>
----> 1 ds.groupby('letters').pipe(lambda x: x.sum() / x.count())

AttributeError: 'DatasetGroupBy' object has no attribute 'pipe'

Expected Output
I think we could add groupby.pipe, as a convenience?
Output of xr.show_versions()

In [12]: xr.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.6.8 (default, Aug  7 2019, 17:28:10)
[...]
python-bits: 64
OS: Linux
OS-release: [...]
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.utf8
LOCALE: en_US.UTF-8
libhdf5: 1.10.4
libnetcdf: None
xarray: 0.14.1
pandas: 0.25.3
numpy: 1.18.1
scipy: 1.4.1
netCDF4: None
pydap: None
h5netcdf: None
h5py: 2.10.0
Nio: None
zarr: None
cftime: None
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: 3.1.2
cartopy: None
seaborn: 0.10.0
numbagg: None
setuptools: 45.0.0
pip: 20.0.2
conda: None
pytest: 5.3.2
IPython: 7.11.1
sphinx: 2.3.1

How is this different from map or apply

Pipe operates on the whole object, not on each group; consistent with the other objects like Dataset

I think I see your point @dcherian: given that groupby.map also reduces, and there isn't much else you can do with a groupby, this probably isn't needed...

Closing for now. Given almost any useful groupby method maps-and-reduces the groups, map covers almost all use cases.
(ref https://github.com/pydata/xarray/issues/1251).


⚠ Bofrost.at has degraded performance

In 92d5ae6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1617 ms

Resolved: Bofrost.at performance has improved in 2441bdf.


In Zuul2 make it configurable on whether or not to block startup on groovy compile fail.

If a groovy file fails to compile on original startup, I'd much prefer to have the zuul instance bomb out than potentially have an unsafe edge security situation due to an important filter missing.
On the other hand, if a groovy file fails to compile during reload (which is also questionable in general) then it would be okay to skip in order to keep the server running. Ideally, it would be possible to have an atomic operation in case filters are related in some way that would cause a runtime exception or change in behavior if one is loaded and not the other.

@dstengle I agree with your comment about startup failing if a filter fails to compile and ignore if the filter changed and compilation fails.
I am not sure about the filter dependency and atomic upgrade, I personally believe that it makes things too complex specifically introducing dependency management of sorts between filters.
Are you interested in working on the startup failure change?

@NiteshKant  Sure, I can give this a try. Need to clear up what we want to do, though.
If we ignore, for the moment, that a failure to reload one out of two filters could cause other runtime problems to happen due to context vairables not getting set, etc, the change is a lot simpler.
In this case, it seems like we would want two behaviors:

during init, propagate exceptions and prevent zuul startup, since there is a large potential for a bad situation
post-init, catch exceptions and log, but continue, since everything might just be okay.

FilterFileManager looks like it has an init() where we can differentiate between these two.
The other question is whether to make this a configurable item and let people start up a zuul that might not have all of the intended filters.

Great, will look forward to the changes.
Yes the two behaviors you have specified is what make sense to me.
I am not a fan for driving such behaviors through configuration. I think what will be good is if FilterFileManager takes an argument in the constructor to continue if filters fail and anyone who wants to change this behavior can bind an instance of the same with the appropriate flag.


Additional tests for EVM Equivalence

Description:

Related issue(s):
Fixes #2012
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

This PR has been in a draft state for a couple of months.  Is it still relevant?

Closing this PR as it is still in a draf state and many tests have been added since it was opened.


Support for global device IDs in operation collective permute

Request description
The Collective permute operation does not support the mode use_global_device_ids as do the other collective operations. It has support only for the cross-replica and cross-partition modes of operation.
I am doing SPMD partitioning of StableHLO that already has collective operations in it. This requires to more flexibly group devices in the collective permute operation.
I understand that StableHLO got this limitation due to its origin as port of HLO and the lack of global device IDs mode in XLA.
I would like to open the discussion here and propose an extension.
It is desirable the extension to be compatible with existing code that uses StableHLO. For example the conversion of StableHLO to HLO should fail if it encounters something other than cross-replica or cross-partition instead of silently doing a wrong conversion.

The straightforward solution is to change the meaning of the the attribute source_target_pairs if the attribute use_global_device_ids is present. This will be consistent with the other collective operation.
Unfortunately, this approach will not be compatible with current implementations that do not know about the possible existence of the use_global_device_ids attribute.

Hi @sogartar! That's a good point - unlike other collective ops, neither all_to_all nor collective_permute don't have use_global_device_ids, and indeed this is something that StableHLO has inherited from HLO (through MHLO, when it was bootstrapped last summer).
In principle, I can't immediately see a reason to restrict the expressivity of all_to_all and collective_permute, so from the consistency reasons this seems like a good idea. Let me loop in some folks with additional background to get to the bottom of this.


use jQuery UI for number controls

We can delete formstone once we migrate this to jQueryUI.

Fixed in https://github.com/aristath/kirki/commit/dbece9a456f6406e92af13eca358146c5d464715


Use bundle exec with jekyll serve in local dev env

Since you're using Bundler to install gems in your local dev environment setup, I think you need to use bundle exec with the jekyll serve command.
For example:
I just set up a fresh dev environment following the instructions in CONTRIBUTING.
Plain jekyll serve fails due to a Gem version mismatch:
[~/local/repos/m-lab.github.io]
$ jekyll serve
Traceback (most recent call last):
	10: from /Users/janke/bin/jekyll:23:in `<main>'
	 9: from /Users/janke/bin/jekyll:23:in `load'
	 8: from /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/exe/jekyll:11:in `<top (required)>'
	 7: from /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler'
	 6: from /usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler.rb:107:in `setup'
	 5: from /usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:26:in `setup'
	 4: from /usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:26:in `map'
	 3: from /usr/local/Cellar/ruby/2.5.3_1/lib/ruby/2.5.0/forwardable.rb:229:in `each'
	 2: from /usr/local/Cellar/ruby/2.5.3_1/lib/ruby/2.5.0/forwardable.rb:229:in `each'
	 1: from /usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:31:in `block in setup'
/usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:319:in `check_for_activated_spec!': You have already activated jekyll-sass-converter 1.5.2, but your Gemfile requires jekyll-sass-converter 1.5.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

Adding bundle exec fixes it:
[~/local/repos/m-lab.github.io]
$ bundle exec jekyll serve
Configuration file: /Users/janke/local/repos/m-lab.github.io/_config.yml
       Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
            Source: /Users/janke/local/repos/m-lab.github.io
       Destination: /Users/janke/local/repos/m-lab.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
  Conversion error: JekyllJupyterNotebook::Converter encountered an error while converting 'notebooks/discard-analysis-2018.ipynb':
                    No such file or directory - jupyter
jekyll 3.6.2 | Error:  No such file or directory - jupyter

This change is

Thanks for catching that @apjanke


Issues starting gnome-keyring outside MATE or GNOME

Issue description
Using the option:
services.gnome3.gnome-keyring.enable
should automatically start the gnome keyring. However, since a short period of time, the keyring is not started anymore.
This prevents all apps relying on the keyring to not work properly.
Steps to reproduce
Use stable channel and enable the mentioned option by adding the following to your system's configuration.nix:
services.gnome3.gnome-keyring.enable  = true
Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.42, NixOS, 19.03.172604.7cd2e4ebe8c (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(user): `"nixos-unstable-19.09pre179307.bc94dcf5002"`
 - channels(root): `"nixos-19.03.172604.7cd2e4ebe8c"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Related to #59833
@lethalman @jtojnar @hedning @worldofpeace

There's not enough information here for me to try to understand what's happening.
How do you start the session? Are you using a DE or WM? (other relevant parts of configuration.nix)

@worldofpeace sry for the late response.
My related configuration:

No DE
i3 as WM
lightdm as DM with autologin

I enabled gnome-keyring by setting services.gnome3.gnome-keyring.enable = true.
I expect the gnome-keyring to be unlocked after boot or after login (logging in after logging out), but I neither see any running service nor does any program relying on it. If I manually start the gnome-keyring-daemon by hand, e.g. with gnome-keyring-daemon --start -d --components=pkcs11,secrets,ssh, everything works as expected. Hence, it seems that the service is not started.
Configuring the implementation of the option does not solve the issue.
    environment.systemPackages = [ pkgs.gnome3.gnome-keyring ];
    services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ];
    security.pam.services.login.enableGnomeKeyring = true;

However, this options worked earlier.
Furthermore, I'd like to unlock it automatically but this does not work either (using e.g. pam.services.lightdm.enableGnomeKeyring = true).

The related parts of my configuration are:
  service = {
    xserver = {
      displayManager = {
        lightdm = {
          enable = true;
          autoLogin = {
            enable = true;
            user = "user";
          };
        };
      };

      desktopManager = {
        xterm.enable = false;
        default = "none";
      };

      windowManager = {
        i3 = {
          enable = true;
          extraPackages = with pkgs; [ feh rofi i3status i3lock gnome3.gnome-keyring ];
          extraSessionCommands = ''
            xsetroot -bg black
            xsetroot -cursor_name left_ptr
            gnome-keyring-daemon --start -d --components=pkcs11,secrets,ssh # this is only workaround
          '';
        };
        default = "i3";
      };
    };

    gnome3 = {
      gnome-keyring.enable = true;
    };

  };

  security = {
    pam.services.login.enableGnomeKeyring = true;
  };

I'm having the same problem. While trying to use Fractal, I can't start it because it can't store the secrets apparently, see https://github.com/NixOS/nixpkgs/pull/65610#issuecomment-516576109
It seems that gnome-keyring is exclusively used as a dbus service, so I don't expect anything to be running constantly. I also tried running gnome-keyring-daemon --start -d --components=pkcs11,secrets,ssh manually, but that doesn't seem to work for Fractal (maybe because it asks via dbus?).
One thing I did figure out however is: I can start the user dbus service: systemctl --user start dbus (which is not running by default for some reason?), and when I then start Fractal, I see these messages in journalctl --user -u dbus -f:
Aug 25 18:54:24 vario dbus-daemon[8631]: [session uid=1000 pid=8631]
  Activating service name='org.freedesktop.secrets' requested by ':1.23' (uid=1000 pid=26688 comm="/nix/store/0kg7vizajzcpzmprk729pn9pxfipnday-fracta")
Aug 25 18:56:24 vario dbus-daemon[8631]: [session uid=1000 pid=8631]
  Failed to activate service 'org.freedesktop.secrets': timed out (service_start_timeout=120000ms)

I have no idea how I could further debug this though. Why does it timeout? Are there any logs somewhere? No clue

gnome-keyring is started through xdg autostarts, they have the following key in them
OnlyShowIn=GNOME;Unity;MATE;

Because of that, they will only be autostarted in those desktop environments.
Additionally, your session manager needs to support this specification.

Oh hmm, now to find out if there's an easy way to adhere to xdg autostart with a simple xsession

@Infinisil Arch wiki to the rescue: https://wiki.archlinux.org/index.php/XDG_Autostart

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/i3-and-gnome-keyring/5719/4

Hello.
I don't feel to open new issue so ask a question here.
I'm using LightDM with XFCE4 on unstable channel. I have enabled the options for Gnome Keyring like this:
security.pam.services.lightdm.enableGnomeKeyring = true;
services.gnome3.gnome-keyring.enable = true;
programs.seahorse.enable = true;

But it runs without ssh and pkcs11:
$ ps aux | grep gnome
# /nix/store/iknzr9pz5nqiwmgzr6wfp0j3w3gqwd9q-gnome-keyring-3.36.0/bin/gnome-keyring-daemon --start --foreground --components=secrets

How to enable it?

UPDATE I believe that I have managed to enable everything from GUI.
I have turned on option "Lounch GNOME ..." in "Settings Manager / Session and Startup / Advanced":

Hello.
I don't feel to open new issue so ask a question here.
I'm using LightDM with XFCE4 on unstable channel. I have enabled the options for Gnome Keyring like this:
security.pam.services.lightdm.enableGnomeKeyring = true;
services.gnome3.gnome-keyring.enable = true;
programs.seahorse.enable = true;

But it runs without ssh and pkcs11:
$ ps aux | grep gnome
# /nix/store/iknzr9pz5nqiwmgzr6wfp0j3w3gqwd9q-gnome-keyring-3.36.0/bin/gnome-keyring-daemon --start --foreground --components=secrets

How to enable it?

You can use Home Manager with the following code
https://github.com/gmarmstrong/dotfiles/blob/a159e3574dbd1b8c8431a3f0de151fec93a40516/nixpkgs/home.nix#L197

@skvl The configuration where you enable the pam module for lightdm shouldn't be needed on stable or unstable. Just thought I should mention this.
The reason you don't have those components starting in XFCE is because the following xdg-autostarts in gnome-keyring:
gnome-keyring-pkcs11.desktop gnome-keyring-secrets.desktop  gnome-keyring-ssh.desktop

have an OnlyShowIn key like:
OnlyShowIn=GNOME;Unity;MATE;

This means that they will only be started under those desktop environments.
The module in NixOS starts in a way that only supports those desktop environments, at least in a straightforward manner. However, as suggested by @lbkvu, the home-manager module creates a systemd service manually, so it doesn't rely on the autostart at all. This is actually a better way, but in nixpkgs we prefer to use what is used upstream.

@lbkvu

You can use Home Manager with the following code
https://github.com/gmarmstrong/dotfiles/blob/a159e3574dbd1b8c8431a3f0de151fec93a40516/nixpkgs/home.nix#L197

This actually is supported in the module in home-manager directly, and I can see you are using this https://github.com/gmarmstrong/dotfiles/blob/a159e3574dbd1b8c8431a3f0de151fec93a40516/nixpkgs/home.nix#L170. For reference, this is how home-manager starts the keyring https://github.com/rycee/home-manager/blob/master/modules/services/gnome-keyring.nix#L36 (so I'd think you'd spawn an extra process). Why did you need to do this?

@skvl: to develop further from @worldofpeace's comment, you can use the following commands to auto start secrets & pkcs11 components
mkdir ~/.config/autostart
cd $(dirname $(readlink -e $(which gnome-keyring)))
cp ../etc/xdg/autostart/*.desktop ~/.config/autostart
sed -i '/^OnlyShowIn.*$/d' ~/.config/autostart/gnome-keyring*.desktop

@worldofpeace I didn't notice line 170. I just blindly copy-paste the line that seems working. Thanks for pointing out.

@worldofpeace, @lbkvu thank you very much!

@GRBurst Is this still an issue?


_eth_1 exited with code 0

after an update using the command sudo ./ethd update --keep-targets
Logs from sudo ./ethd logs | grep eth_1  shows the following:
Attaching to eth-docker_eth_1, eth-docker_validator_1, eth-docker_consensus_1
eth-docker_eth_1 exited with code 0

Logs from sudo ./ethd logs shows the following:
consensus_1          | Jul 02 05:08:20.441 CRIT Could not connect to a suitable eth1 node. Please ensure that you have an eth1 http server running locally on http://localhost:8545 or specify one or more (remote) endpoints using `--eth1-endpoints <COMMA-SEPARATED-SERVER-ADDRESSES>`. Also ensure that `eth` and `net` apis are enabled on the eth1 http server, warning: BLOCK PROPOSALS WILL FAIL WITHOUT VALID, SYNCED ETH1 CONNECTION, service: eth1_rpc
consensus_1          | Jul 02 05:08:20.441 ERRO Failed to update eth1 cache             error: Failed to update Eth1 service: "All fallback errored: http://execution:8545/ => EndpointError(RequestFailed(\"Request failed: reqwest::Error { kind: Request, url: Url { scheme: \\\"http\\\", cannot_be_a_base: false, username: \\\"\\\", password: None, host: Some(Domain(\\\"execution\\\")), port: Some(8545), path: \\\"/\\\", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError(\\\"tcp connect error\\\", Os { code: 111, kind: ConnectionRefused, message: \\\"Connection refused\\\" })) }\"))", retry_millis: 60000, service: eth1_rpc

This looks like you are not running an EL or it's not synced. eth_1 is not the EL, it's a helper container that will be removed with the next major version.
Verify that you have the yml for an EL in COMPOSE_FILE inside ./env. Logs for it show should with ./ethd logs -f --tail 50 execution, exception Erigon (for now), where it is ./ethd logs -f --tail 50 erigon
This will be easier to troubleshoot interactively in ethstaker Discord.

thanks, the eth_1 is exit with code 0 as soon as it starts.
What is ethstaker discord? i'll join and take it from there. Thank you!!!

Just FYI, i disabled eth_1 and changed EL_NODE to point to infura for now


Hide the text selection toolbar on mobile when orientation changes

Hide the text selection toolbar on Android and iOS when orientation changes by keeping track of the previous orientation in didChangeDependencies. Hide text selection handles as well on Android to match native project behavior.
Fixes https://github.com/flutter/flutter/issues/72004
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

This behavior is also present on Android. Tested on Pixel 6 Pro running Android 12 May Security Update in native Messages App, Google Keep, and Gmail.

@markusaksli-nc Yeah the selection handles are also hidden, forgot to mention that.

I thought of a weird niche scenario where this logic might fail:
On my Galaxy Tab S8 Ultra I can attach a physical keyboard + touchpad and switch to Samsung's pseudo-desktop environment Samsung Dex. There you can resize app windows (making the constraints go from portrait to landscape). When compared to a basic Android native application, however, there is no difference in behavior so this PR is fine.
That being said @justinmc I didn't see this in your context menus design doc and I just found this out myself: did you know that right-clicking with a physical touchpad on Android in said basic Android native app gives this expanded huge context menu by default (at least on my Tab S8 Ultra).

This is obviously completely different from flutter, where it just shows the regular text selection toolbar. Didn't find an issue for this either.

@justinmc need some help with failed google testing

(from triage): The failures looked unrelated. I've kicked off another test run to verify...

@goderbauer did it fail again?

Could you rebase this with the latest master to try again?


Include txId in response for TransactionDetails

Closes #684

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

39 of 40 (97.5%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 84.893%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/handlers/details.rs
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
7890

Relevant Lines:
9294

💛  - Coveralls


VM Images for driver=overlay fix in Ubuntu packages

For https://github.com/containers/buildah/pull/2631

c6102133168668672

c6102133168668672


Help for free-text search expressions

Same as what https://libris.kb.se/katalogisering/search/libris has:

Done in 11a4588


Failure on finding service with default K8s cluster domain

Brief summary
K8s cluster domain is set to cluster.local by default. However, our K8s cluster has changed this config to others which caused the operator not to be able to find the service of an object whose kind is K6. Hence, the StartJob can not be started as expected.
The code to find the K8s service is hardcoded in the StartJobs function.
https://github.com/grafana/k6-operator/blob/7ce63b1790f30f6b9693e8a4a2f0fed0bb47c2ac/controllers/k6_start.go#L20
k6-operator version or image
https://github.com/grafana/k6-operator/releases/tag/v0.0.11
K6 YAML
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "4"
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"labels":{"control-plane":"controller-manager"},"name":"k6-operator-controller-manager","namespace":"k6-operator-system"},"spec":{"replicas":1,"selector":{"matchLabels":{"control-plane":"controller-manager"}},"template":{"metadata":{"labels":{"control-plane":"controller-manager"}},"spec":{"containers":[{"args":["--secure-listen-address=<IP_ADDRESS>:8443","--upstream=http://<IP_ADDRESS>:8080/","--logtostderr=true","--v=10"],"image":"gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0","name":"kube-rbac-proxy","ports":[{"containerPort":8443,"name":"https"}]},{"args":["--metrics-addr=<IP_ADDRESS>:8080","--enable-leader-election"],"command":["/manager"],"image":"registry-gitlab.zalopay.vn/top/docker-images/k6-extended:v1.1","name":"manager","resources":{"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"100m","memory":"50Mi"}}}],"serviceAccountName":"k6-operator-controller","terminationGracePeriodSeconds":10}}}}
  creationTimestamp: "2023-10-31T04:14:56Z"
  generation: 4
  labels:
    control-plane: controller-manager
  name: k6-operator-controller-manager
  namespace: k6-operator-system
  resourceVersion: "313185098"
  uid: 710fda5c-1c3d-43fd-b09b-08e14a505a10
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      control-plane: controller-manager
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        control-plane: controller-manager
    spec:
      containers:
      - args:
        - --secure-listen-address=<IP_ADDRESS>:8443
        - --upstream=http://<IP_ADDRESS>:8080/
        - --logtostderr=true
        - --v=10
        image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
        imagePullPolicy: IfNotPresent
        name: kube-rbac-proxy
        ports:
        - containerPort: 8443
          name: https
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      - args:
        - --metrics-addr=<IP_ADDRESS>:8080
        - --enable-leader-election
        command:
        - /manager
        image: ghcr.io/grafana/k6-operator
        imagePullPolicy: IfNotPresent
        name: manager
        resources:
          limits:
            cpu: 100m
            memory: 100Mi
          requests:
            cpu: 100m
            memory: 50Mi
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      imagePullSecrets:
      - name: registry-gitlab-secret
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: k6-operator-controller
      serviceAccountName: k6-operator-controller
      terminationGracePeriodSeconds: 10
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2023-10-31T04:22:05Z"
    lastUpdateTime: "2023-10-31T04:22:05Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2023-10-31T04:14:56Z"
    lastUpdateTime: "2023-10-31T10:19:59Z"
    message: ReplicaSet "k6-operator-controller-manager-64c65bdbc5" has successfully
      progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 4
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1

Other environment details (if applicable)
No response
Steps to reproduce the problem
Use make deploy as mentioned in README.md
Expected behaviour
K6 Operator is able to find the required service
Actual behaviour
Not able to find the service via DNS record due to hardcoded URL
Operator Log:
2023-10-31T10:21:07Z ERROR controllers.K6 failed to get status from k6-sample-service
github.com/grafana/k6-operator/controllers.isServiceReady
/workspace/controllers/k6_start.go:23
github.com/grafana/k6-operator/controllers.StartJobs

@nhatnam1198, this issue got a bit lost in the torrent of others, but it's actually a duplicate of an older issue #233 which was recently fixed. Please try the latest version of k6-operator: it should work. If it doesn't, please re-open with additional details. Thanks.


Revert "Bump java-driver-core from 4.6.1 to 4.7.0"

This reverts commit d76327213f73581cfdcbe8db61c033cddb68e22d added via #3210
Signed-off-by: Nigel Jones<EMAIL_ADDRESS>This reverts the update to java-driver-core from cassandra, that breaks our cassandra connectors.
Fixes #3211

Merging as this is a critical fix to a breakage in the docker environment


[JAST-004] WTG Writer Integration

As a user, I would like the tool to be able to write out a war3map.wtg file based on the script file so that I can more easily load the map in the World Editor with readable scripts.

Probably won't do.


Instrumentation for nats

I would like to add nats instrumentation for opentelemetry-js
you can assign me for it
Is your instrumentation request related to a problem? Please describe

Yes i am running a simple application with nats and i would like to see a trace that generated from it
Is it applicable for Node or Browser or both?
applicable for Node
Do you expect this instrumentation to be commonly used?
Weekly Downloads:
What version of instrumentation are you interested in using?
Versions:
Additional context

Any progress on this?

would be curious to know as well!

Has this stalled?

Added up-for-grabs label. Hopefully someone will find the time to do the work and contribute it here.

There seems to be some info here that may help with the implementation: https://github.com/nats-io/not.go

@haimrait Was this completed in a PR?

I think someone already started and got stuck:
https://github.com/open-telemetry/opentelemetry-js-contrib/pull/667

@haimrait  ah yes, I just asked because it seems you "closed this as completed" according to the log above. If it is not yet done perhaps this issue can stay open?


Feat: add circle animation for quickmoves

The pvpoke training mode uses colorful circles to show that a quickmove is used. Add something similar.

Are you talking about this? https://fdossena.com/?p=html5cool/clickfx/i.frag


vimscript plugin

Currently swim is only executable from the command line. It would be nice to have a :swim with <alias> command from within vim which triggers a live reload.

Not resolving unless repeated by user & fix is desired.


AUTOMATIC1111 Colab Extension Error Pytorch

Hello everyone,
I have a problem with the installation of inpaint anything extension in combination with Automatic1111 in Googl Colab Pro.
Procedure:

installation in Google Colab Pro with the following workbook (https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb)
for analysis purposes and to avoid dependency errors with other extensions (e.g. train tool), I use the installed version without other extensions
start SD. Everything works.
install extension, reload ui -> error:

*** Error loading script: inpaint_anything.py     Traceback (most recent call last):       File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1146, in _get_module         file (str, optional): The file to join with the path. Defaults to "__init__.py".       File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module         return _bootstrap._gcd_import(name[level:], package, level)       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load       File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked       File "<frozen importlib._bootstrap>", line 688, in _load_unlocked       File "<frozen importlib._bootstrap_external>", line 883, in exec_module       File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed       File "/usr/local/lib/python3.10/dist-packages/transformers/models/speecht5/modeling_speecht5.py", line 37, in <module>         from ...pytorch_utils import torch_int_div     ImportError: cannot import name 'torch_int_div' from 'transformers.pytorch_utils' (/usr/local/lib/python3.10/dist-packages/transformers/pytorch_utils.py)

if I interpret the error correctly, "torch_int_div" is missing in "transformers/pytorch_utils.py".
does anyone have an idea how to add the missing element or get inpaint anything to work?

Found finally solution by myself on the Web: [(https://github.com/huggingface/transformers/issues/28189)]
For me, installing transformers was the solution:
!pip3 install git+https://github.com/huggingface/transformers.git # to install transformers !pip3 install transformers[torch] # to install accelerate>=0.21.0

can be closed


Harmonize the structure with for example MaterialApp widget for easy switch

Hello, first thank you for this amazing library
I have been looking around this and one drawback is that choosing to use this on the existing app will not work since it is a new structure completely different to MaterialApp for example, would love that this library has the same structure as MaterialApp as it will make adoption quite easy.
Thank you for your comments on this or considerations.

Could you explain more? You mean FluentApp vs MaterialApp?
About fluent app and material app, their implementation is the same, with the same methods provided:
FluentApp( // Could easily be replaced by MaterialApp
  title: 'My App',
  initialRoute: ....,
  routes: ...,
  theme: ....,
  themeMode: ...,
);

I was wrong !


needs two "clicks: per count

Hello. I am using and Arduino D1 mini. (esp8266).
I have a generic RE and switching from a library based encoder to this one.
Most libraries let you select how many counts per revolution to set the count type.
I am wondering if anyone know how to have ...one click = one count. At the moment, two clicks = one count.
Cheers

@svdrummer Hello!
Your "generic" rotary encoder might behave the same as my Bourns (PEC11R-4215F-S0012) model, where the manufacturer has decided it would give an extra indent (click) part way through the "full cycle". In some circumstances I'm sure this is desirable and useful, but not in our case.
The code I use here, ensures the full cycle has occurred before another detection takes place. So the intermediate detent (click) is merely half way through the cycle (one pin has changed value but we have not yet returned to the start position).
Thus the intermediate position within the cycle is not (yet) valid and should be ignored. This gives you the two-clicks = one count.
The only way I've discovered to differentiate the two types is to look at the datasheet for "resolution" which is given in "pulses per revolution, or ppr" and "number of detents". If the two don't match then you will get extra clicks that are not what we expect (or want).
Other rotary encoders do it the way you expect, one click per full cycle.
Of course, you could change the software to detect "half clicks" which is what the above gives you, which is basically a state change on either of the output pins (A, B or DT, CLK) without executing a "full" cycle back to the starting state.

Thank you for the feedback. I have cheap rotary encoders from AliExpress. 20 clicks per 360 degrees. I have noticed some SMD resistors on the PCB. I will remove them and try again.

The SMD resistors are pull-up resistors so you don't have to worry about setting the input pins to INPUT_PULLUP in your code, that is all. But it does require a VCC connection for that to work.


Project Root Env Var

We are going to set an environment variable for PROJECT_ROOT that we can reference in our bash scripts.

das


connection.onopen fire twice each time when new person connect to room

connection.onopen fire twice for both creator and participator when i use data-only connection.
//creator code
var connection = new RTCMultiConnection();
connection.session = {
	data: true
};
var room = 'room1';
connection.open(room);

//participator code
var connection = new RTCMultiConnection();
connection.session = {
	data: true
};
var room = 'room1';
connection.connect(room);

Maybe you're using Firefox? Are you using RTCMultiConnection-v2.2.5 or other versions?
It seems that peer.createDataChannel along with ondatachannel causes multiple data-channel objects until you handle it like following:

Offerer invokes peer.createDataChannel. Make sure that, this method isn't invoked for answerer (for Firefox only)
Answerer sets peer.ondatachannel event handler. It works only in Firefox. It'll be not fired in Chrome.

This issue is already fixed in v3.0 which is planned to be released at the end of this week.

Thanks for reply!
Yes I am using Firefox35, RTCMultiConnection-v2.2.4 on Win7.
RTCMultiConnection is the best WebRTC library I have found, expect the coming v3.0.


Do @envnot Annotation works?

IMPORTANT: If you have a general question please use Stack Overflow instead where Karate has a dedicated "tag": https://stackoverflow.com/questions/tagged/karate
If you are sure you have found a bug, please make sure you follow the instructions here: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue
Want to check if Do @envnot Annotation works? in 1.4

see the second link above to re-open please

@ptrthomas I just wanted to know as a Info, can you please tell me? I couldn't find the doc for it

@rishiCS we use stack-overflow for questions. anyway the answer to your questions is "it is supposed to work in 1.4"


Connection refused from interactive example

In the fully interactive example, all actions including step, clear, random noise, and random feature fail to connect due to connection refused.

I'm not seeing that problem -- this might be a issue due a proxy (or similar) on your end disliking the example being served through port 8001. Does the example (via port 80) on my Stack Overflow profile work for you?

Yes, your Stack Overflow profile does work; which is where I noticed this.
Ah, right - on GitHub these are port 8001, which explains my issue.
Sorry - disregard.  Cool Node.js web app.


:arrow_up: babel-eslint 4.1.1, standard 5.2.1

The dev/3.x.x merge (a9a4c675c018370294c34ed12e9d920a72270030) and 3.x releases to npm downgraded the standard and babel-eslint versions (previously updated in PR #43).
This PR also removes the duplicate standard dependency in devDependencies.
Like, @chibicode, I need an updated version of standard and babel-eslint to fix the issue discussed in xjamundx/eslint-plugin-standard#3.

oh nice spotted, going to merge it and release a minor version asap.

Done install the latest version (3.1.0). Thanks! :+1:


CreateProcessW failed 216

when i running flutter doctor error CreateProcessW failed 216?
anyone may be ever met this..
thanks

I am not sure about your particular case but https://stackoverflow.com/questions/37624369/android-studio-error-errorcreateprocess-error-216-this-version-of-1-is-not-c . looks similar

i get this problem when try flutter doctor

The first message is important:
Flutter requires PowerShell 5.0 or newer

I already install power shell version6
But old version not uninstall.
I looking way to uninstall from my pc

Does make effect if the old version is'nt deleted??

@haris21 did you manage to solve it?

No.


BufCompose "macros" need a home

BufCompose macros that used to live in the bufcompose help file need a place to live. I think that a sensible place would be a vignette for the object, maybe back in the help file (with some refactoring and cleaning up) or in the tutorial system.

there was also a lot of advance examples that have disappeared. we can make the list before they are forgotten...

there was also a lot of advance examples that have disappeared. we can make the list before they are forgotten...

merge, stack, concatenate
They live in the git history forever.

as do all the other deleted examples I am referring to (invert stereo and power edits and even the MS ones which had been put back to the example folder already)

as do all the other deleted examples I am referring to (invert stereo and power edits and even the MS ones which had been put back to the example folder already)

Oh yeah these ones.

My feeling was these are really idiosyncratic advanced use cases. Vignettes would be more appropriate.

Snippets are a good place to put these.

Solved in feb349c


⚠ Bofrost.lu has degraded performance

In 21fb085, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1371 ms

Resolved: Bofrost.lu performance has improved in 49043bf after 33 minutes.


ignoring certificate validation

We are an ISV and we are deploying a self sign certificate in order to use SSL to encrypt the transport (not for mutual authentication)
We would like to have the option to ignore certificate validation on the client (like in http_clinet, http_client_config.set_validate_certificates)
is this available somehow in the current API, if not can this be added?

You can now set the client config https://github.com/aspnet/SignalR-Client-Cpp/blob/2021090834777493837c9cc70a948b186fa617c7/include/signalrclient/signalr_client_config.h#L23
This version is not on NuGet yet but until it is published you can use a nightly build from this feed: https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json (here is the gallery: https://dotnet.myget.org/gallery/aspnetcore-ci-dev)


Windows build instructions and pip wheels

Hard Core Demand!!!!!!!!

+1, likely the source of some issues/confusions when installing hloc: https://github.com/cvg/Hierarchical-Localization/issues/149 https://github.com/cvg/Hierarchical-Localization/issues/140

+1 I would like windows wheels available as well. I am struggling to build the library on windows with the given instructions and latest commit in master.

I would highly recommend to use the Ubuntu subsystem WSL 2 this. WSL2 + VSCode with Remote Explorer Extension.

I would highly recommend to use the Ubuntu subsystem WSL 2 this. WSL2 + VSCode with Remote Explorer Extension. In this way you can install and use pycolmap (or rather any Linux only project) on Windows without problems.

what if I use pycolmap on Windows?

I have got the same error ,  But I cannot find a valid way to solve it. Could you help me?

Am attempting to work on this in https://github.com/colmap/pycolmap/pull/114 ...
Dumb question: how are windows users installing pycolmap today?  It seems the windows binary release for COLMAP doesn't necessarily include everything you need... but vcpkg can install it maybe?  Do windows users use vcpkg to install COLMAP?

I never installed it myself, but most people I know use vcpkg on windows .
Maybe you can take a look at the following guide to compile PyCOLMAP on Windows - https://github.com/colmap/pycolmap/pull/85/files (but I think this way broke at some point)

thank you @mihaidusmanu !  I'll keep pushing on vcpkg ...  it looks like part of that recommended path still works
https://github.com/pwais/pycolmap/actions/runs/4220906865/jobs/7327625654

@mihaidusmanu  FWIW I've messed around some more and now I'm installing COLMAP via vcpkg.  I have a modern Core i7 laptop with good internet and it's taking now over 4hrs and still going...  I wonder, do you think the COLMAP maintainers might be open to just building pycolmap wheels as part of their own release?  That's probably a longer conversation... but it would save a bit of build confusion and afford a better tie between pycolmap and colmap releases.
Thus far I've failed to get Github CI to build a wheel.  It'll run for 4+hours but I'm concerned about running out of minutes on my account.  Other alternatives I'll try:

use the Windows binary release plus the source release headers.  I've never tried something like that on Windows CMake but it might work.  that strategy works on linux cmake / C++ usually at least.
see if there's a way to have conda and vcpkg work together for pycolmap windows wheels.. https://github.com/conda-forge/vcpkg-feedstock  I guess most windows users use conda?  And so that might be a fruitful avenue.

cc https://github.com/colmap/pycolmap/issues/70

https://github.com/colmap/pycolmap/pull/85/files
this worked for me, just use: vcpkg install colmap[cuda]:x64-windows --head
if you want to use dense reconstruction...
if vcpkg fails to build with cuda (nvcc errors) - there is another way...

install colmap without cuda using vcpkg (this will also install all deps)
compile colmap independently from source using cmake (with cuda)
copy the libs from 3 to vcpkg installed/colmap folder
if you want to build pycolmap from source - go to C:\dev\vcpkg\installed\x64-windows\share\colmap\colmapConfig.cmake find the line with "set(COLMAP_CUDA_ENABLED ON)" - make sure its on.
add env variable CMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake
in pycolmap folder - pip install .

+1, likely the source of some issues/confusions when installing hloc: cvg/Hierarchical-Localization#149 cvg/Hierarchical-Localization#140

Hello, yes I've cloned this repo but cant run because i can't install pycolmap. Any ideas on how to solve? I'm on Windows

We now have instructions to build PyCOLMAP on Windows. We also have pre-built wheels that are available here and can be installed with pip. I don't have a Windows machine at hand so it'd be great if someone could confirm that they work. We'll then release them on PyPI.

I'm closing this issues now that we have on PyPI wheels for Windows. We also have instructions for building pycolmap from vcpkg dependencies. Feel free to open a new issue in case you run into any trouble.


Discussion on compression changes

Goals:

avoid aggressive gzip compression (see https://github.com/elastic/go-docappender/issues/94)
implement document retries without decompressing the whole payload/request
more efficient compression (optional)

What changed ?

Before gzip changes
After gzip changes

Why ?
If events are compressed in batches of size compressThreshold we can store the offsets and decompress that specific "container" to avoid decompressing the whole request in memory.
A buffer can also skip the compression completely if the flush timeout is hit and there's not enough data for compression.
Additional optimization technique: if we know there's only 1 event in a "container" we don't even need to decompress at all, we can just copy the compressed bytes since we have the offsets.
On the compression ratio/efficiency
There was some discussion on how compression worked before. To futher clarify the picture above:
The compression logic happened inside the bulk indexer: https://github.com/elastic/go-docappender/blob/0de03a5e3cfc15a9fa968e21c2af4efd193adf8c/bulk_indexer.go#L174-L184
The event was written to the gzip.Writer immediately and we were not buffering and then compressing all the events.
(The gzip.writer has buffers data internally but it's arbitrary and can't be configured)
Now we write to a buffer compress if we reach a certain size (configurable).
Testing
The open PR for document retries (https://github.com/elastic/go-docappender/pull/99) has testing to ensure the feature is working as intended.
Additional testing can be performed, see https://github.com/elastic/go-docappender/issues/98
Infinite retries
IMO this is an issue with the PR so it should be discussed there but we can discuss it more holistically.
In the current implementation events are submitted to the buffer and flushed in the next flush request. There's no max retry setting.

The event was written to the gzip.Writer immediately and we were not buffering and then compressing all the events.
(The gzip.writer has buffers data internally but it's arbitrary and can't be configured)
Now we write to a buffer compress if we reach a certain size (configurable).

gzip uses DEFLATE, which is block-based, and uses a 32KB sliding window dictionary. So why does it matter if we stream data in, compared to buffering and then compressing? If there's an improvement, can you please provide some benchmark comparisons?

@kruskall could you provide an update on this?

Please provide a bit more details on some of the decisions and the rationale behind them:

implement document retries without decompressing the whole payload/request

Do I understand correctly that this can be solved by iterating over an array and reading chunks of data without decompressing the whole body into memory?

We've also decided to discard the optimization to send uncompressed data if the request is too small.

Can you motivate the decision please? I'm not against it, but the rationale should be documented since it had been an open discussion before.

Albeit slower, the new approach is a lot simpler.

What does slower mean and can this be quantified?

The event was written to the gzip.Writer immediately and we were not buffering and then compressing all the events.
(The gzip.writer has buffers data internally but it's arbitrary and can't be configured)
Now we write to a buffer compress if we reach a certain size (configurable).

Are you reverting back to this solution, or are you looking into optimizing, given that you showed that the previous approach wasn't efficient with respect to compression ratio?


feature: Auto-fit text to shape

Able to set auto-fit behavior of a text frame:

no auto-size
resize shape to fit text
resize text to fit shape

Hi, I want to give this a try. Can you teach me how to do it?
Thank you.

python-pptx while inserting text in predefined pptx template text placeholder i am using below options to fit text in text placeholder.
TP.auto_size = MSO_AUTO_SIZE.TEXT_TO_FIT_SHAPE
TP.word_wrap = True
TP.fit_text()
none of options fit text properly inside placeholder. text is overflowing out of placeholder. when opened ppt manually we have to set autofit text.

resize shape to fit text

Text overflow has been an issue for me. The resize-text-to-fit-shape functionality doesn't seem to function well. Yes, it's a simply fix by modifying the placeholders, but there's not an easy way to do that for all slides. What I have been doing is selecting and dragging all elements to trivially change their position.


no implicit conversion of nil into String in 1.2.0

Seeing this now in our setup - see attachment for trace. This is in EC2 Ubuntu 14.04, fresh node.
chef.txt

I'll get to the bottom of this. Thanks for the report @kpmueller

We also see this happening in 1.2.0.

I submitted https://github.com/chef-cookbooks/omnibus_updater/pull/124 for this. looks like there were some string -> symbol issues

Thank you, that fixed it for me!


Add weight of evidence encoding

Hey Eyad, are you interested in working on a PR for this?

Sure!

Excellent, thanks.

@eyadsibai This sounds great!
For those who are not sure what it is here is a nice example of it!

I started it. It is not a lot of work. I should resume soon

@eyadsibai, the library now contains WOEEncoder. Can you check the newest code before it gets into the release?
The implementation is based on LeaveOneOutEncoder. And it implements regularization via Laplace correction. To my disappointment, the performance of WoE appears to be in all respects (runtime, training and testing accuracy) comparable to LeaveOneOutEncoder even if evaluated with logistic regression (see plots). I will be glad if you find bugs.


pnpm dev or pnpm run dev break composable auto-load when modified

Environment

Operating System: Windows_NT
Node Version:     v16.17.0
Nuxt Version:     3.1.2
Nitro Version:    2.1.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      css
Runtime Modules:  -
Build Modules:    -

Reproduction

Start the dev server with pnpm dev or pnpm run dev
Edit a composable return
Refresh your web page and an error 500 should appear saying your composable useXXX is not defined

If you stop and restart the server with pnpm dev or pnpm run dev it work again until you edit your composable again.
Describe the bug
Starting the dev server with pnpm dev or pnpm run dev break the auto-load or something related when a composable is modified.
Everything work as expected if I use pnpm nuxi dev
Additional context
No response
Logs
No response

Would you provide a reproduction? 🙏

Sure !
https://stackblitz.com/edit/github-ywg4lu?file=composables%2FuseFoo.ts
I added some comments to reproduce the problem. I hope the instructions are clear. 😄

I can't reproduce this in stackblitz - can you?

I have made a video. Hope this will help.
https://streamable.com/kvbved

Can reproduce 👍🏻

Hello everyone,
I don't know if something was fixed in the last updates, but now when I use export default function() {} to create my composable, the error 500 never happens.
The error only occurs when export const useFoo = () => {} is used.
I hope it will help 😄

I have a same issue too. If HMR several times (by edited any files in /composables), random '<composable_name> is not defined' error happened. Stop and restart it will back to normal.

cc: @antfu

@manniL Can you provide any more information about how to reproduce? 🙏

Sorry I don't understand if you need more information to reproduce it or not.
The issue is still persisting for me.

Any solution for this issue? It is annoying when you just edit one line in composable and need to stop and restart the dev server again

Any solution for this issue? It is annoying when you just edit one line in composable and need to stop and restart the dev server again

For me work this
`const useNetworkLatencyComposable = async (url) => {
console.log(url)
}
export function useNetworkHealth() {
return {
useNetworkLatencyComposable
}
}`
you should define each function as an arrow function and export a global function with variables, function inside composable js file.
I tried to use export function functionName() {} but having some problems.

@manniL Can you provide any more information about how to reproduce? 🙏

@danielroe I can exactly reproduce as described in the StackBlitz ☺
But only when I fork the original repo by changing the content first. (that part is not in the video)
nuxt-18897.webm

As demonstrated in #21673, this might not be related to pnpm only(?) I've updated the title to better reflect that for visibility.


allow a 'global' port properties file configuraiton option

right now the portPropertyFile needs to be specified on a per run basis for images which means i need to load/read multiple files instead of just one.
as an enhancement, we should support defining a global portPropertyFile element for all images.
the behavior will be similar to that of the registry configuration, if the image specifies the element it will take precedence over what is globally defined.

If both are given, should the image specific property file override to the global one or should both be merged (and only a specific container port mapping overrides a global mapping) ?
Maybe we can define a 'default' <run> configuration on the global level so that also for other properties defaults can be specified ?

i based this on how the registry is handled where the more specific value takes precedence, so i think from a consistency standpoint we should stick w/ that.
i'm also not sure i understand the other questions - i'm only proposing the global portPropertyFile element here that will override the properties file that the dynamic port values get written to.
are you suggesting we offer a way to default values for various run options, such as defining a global 'wait' that will apply to all containers that could then be overwritten?
if yes, i like that idea a lot b/c i think env vars would be a perfect fit. if no, please explain. :)

Ok, understand. Its about writing out the port properties only (so, of course merigng is not needed here). Sorry, misunderstood my own plugin ;-). Think thats a good idea. I have still other things with higher prio, so if you like it, a PR is welcome (as always ;-)
For the global <run> stuff it's probably a bit over the top (one has to explain it and debugging becomes harded), but a global <env>  might be nice (but then again, for build, run or both ?)


ocamlPackages.slug: init at 1.0.1

Description of changes
Add an OCaml package for slug, an URL-safe slug generator for OCaml.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[X] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 226669 run on x86_64-linux 1

Result of nixpkgs-review pr 226669 run on x86_64-linux 1


the "RES" of  microros agent keep increasing

Issue template

Hardware description: STM32F103
RTOS: freertos
Installation type: micro_ros_setup
Version or commit hash: foxy

Steps to reproduce the issue
we created a publisher and a subscription on STM32F103 and created a test.sh regularly published irrelevant topic. I found micro_ros_agent RES keep increasing.
When we created 7 publishers, 4 subscribers, 10 service servers. I found the RES Increase faster. What could be the cause? Can this problem be solved?
test.sh
#!/bin/bash
while true
do
   ros2 topic pub -t 1 /vel_mcu geometry_msgs/msg/Twist
done

a publisher and a subscription

6 publishers, 4 subscribers, 10 service servers

Expected behavior
Actual behavior
Additional information

Which are the QoS of those micro-ROS entities?

Which are the QoS of those micro-ROS entities?

a publisher and a subscription
a default publisher, a best_effort subscription.
6 publishers, 4 subscribers, 10 service servers
3 default publisher, 3 best_effort publisher, 3 best_effort subscriptions, 1 default publisher, 10 best service servers.

"/vel_mcu" is an unrelated topic.

We will try to replicate this a find a solution.

Solved here: https://github.com/micro-ROS/micro-ROS-Agent/pull/107

Solved here: micro-ROS/micro-ROS-Agent#107
@chrisjaxy can you test this branch with your use case in order to ensure that it is solved?

Thank you for your help, we will test on our machine and tell you the conclusion.

Solved here: micro-ROS/micro-ROS-Agent#107
@chrisjaxy can you test this branch with your use case in order to ensure that it is solved?

Thank you for your help, I think it has solved the issue

Nice, I'm closing.


Add a few codes to show the face landmarks

In this python-caffe veision of MTCNN, the demo does not draw face landmarks  upon the face box.  However, this can be done by simply adding  a few lines of codes in "demo.py".   Here is my fix

Thus it'll show the image with annotated face landmarks .

Thanks.

wow，you guys are amazing! Thank you so so much


Add a new school from Saint - Petersburg

Official site - http://www.kirov.spb.ru/sc/387/
E-mail -<EMAIL_ADDRESS>

@Olfad0 I am sorry, this domain does not belong to a school, it belongs to educational department of the municipal government.
If you do not have an email which your school provided you with, please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for the understanding!


Add ReverseString, ToReverseScriptHash method

Closes #280

Codecov Report

Merging #281 into dev will increase coverage by 0.06%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##              dev     #281      +/-   ##
==========================================
+ Coverage   54.37%   54.44%   +0.06%
==========================================
  Files          86       87       +1
  Lines        3042     3062      +20
==========================================
+ Hits         1654     1667      +13
- Misses       1218     1222       +4
- Partials      170      173       +3

Impacted Files
Coverage Δ

pkg/wire/util/uint160.go
56.09% <100%> (+7.37%)
:arrow_up:

pkg/wire/util/address/address.go
50% <71.42%> (ø)

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 fb672c0...38e98e6. Read the comment docs.


DxcChip - Icon alignment issue

Describe the bug
only icon without any text, then icon position is not center.
To Reproduce
// Icons
import { FaArrowRight, FaHistory } from "react-icons/fa";

// code ...
 <DxcChip
     prefixIcon={<FaHistory className="dxc-icon-size" />}
  />

Example:

Install the<EMAIL_ADDRESS>dependencies and run the app.

Screenshots

Expected behaviour
Additional context
For example, If we add extra space then is it working..
<DxcChip
    prefixIcon={<FaHistory className="dxc-icon-size" />}
    label=" "
  />

result

Hello @HanojHanu!
The use case where you are getting that visual error (the icon-only DxcChip) is not valid. Chips are for filtering content, they should always have a label. That's why you are getting that visual defect, because that scenario is not covered by our component.
In this case, a DxcButton would be a better choice.

As there has been no further activity, this issue is closed.


DLL load failing for OSQP solver in version 0.1.5.post2

When using cvxpy for optimization, I am getting the following error message:
(CVXPY) Dec 20 02:25:38 PM: Encountered unexpected exception importing solver OSQP:
ImportError('DLL load failed while importing qdldl: The specified module could not be found.')

This error only occurs when qdldl-python==0.1.5.post2. If I update my conda environment to qdldl-python==0.1.5, it fixes the issue, which suggests that the issue might be resulting from the post2 release of qdldl.
See also: https://github.com/cvxpy/cvxpy/issues/1946

We are now up to 0.1.7.post versions of qdldl, so closing this as possibly outdated. If this still occurs, please let us know.

I can confirm this is still an issue with the current version (0.1.7); I was only able to load cvxpy by installing qdldl-0.1.5


How to remove empty/unused cells and shift data up (simulate rowspan)

Is this a general question about implementation, support, api, or anything else?
implementation, support
What version of React-Table are you using?
6.8.6
What bug are you experiencing, or what feature are you proposing?
Replace pivot cells by actual data (shift cells up).

Sandbox
https://codesandbox.io/s/py9m9noqkj
What are the steps to reproduce the issue?

Just checkout my codesandbox link above to see what I mean.
I'd like to shift all rows up and remove the empty cells in the first row of the aggregation. I simply want to simulate a rowspan functionality. If there's a better solution to use rowspan, let me know. If not, how can I remove the empty cells please?

@tannerlinsley any update on this? I'm facing the same issue!

This feature/issue has been tagged as one that will likely be fixed or improved in the next major release of React-Table. This release is expected to be completed in the next 6 - 8 months. Please see #1143 for more detail. If you believe this feature can be easily fixed, we invite you to fork the project, attempt the fix, and use it until the latest version is available. If the fix is simple enough, we will also consider it as a PR to the current version.


A problem occurred configuring project ':background_locator'.

While build the app get an error like
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':background_locator'.

Could not load compiled classes for build file 'C:\flutter.pub-cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\build.gradle' from cache.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 18s
Exception: Gradle task assembleDebug failed with exit code 1
How to resolve this issue.

Wild guess but check repositories in build.gradle. Both in buildscript and allprojects (see example project)


Add API method for accessing attachments on messages

DeliverHQ provided a feature to directly access stored attachments:
In the DeliverHQ parameters:
payload => {
  .....
  .....
  attachments: [{filename: '123.pdf', content_type: 'application/pdf', size: 123, url: 'link/to/attachment.pdf'}]
}

Postal:
params => {
   ...
   ...
    attachments: [{filename: '123.pdf', content_type: 'application/pdf', size: 123, data: Base64_data }]
}

In Postal it is only possible to directly download the attachments via the interface itself, by accessing the download urls:
xxxxxxxxxxxxx.com/org/xxxx/servers/test/messages/15/attachment?attachment=0
It would be really nice to also include the url to the attachment in the inbound e-mail payload. (preferably via an unauthenticated hashed route or token auth)


app start fail on mono

i'm try run mvc app with ApplicationInsights over microsoft/aspnet 1.0.0-beta4 docker image.
'dnx kestrel' return exception:
Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(
TelemetryConfiguration)' on type 'TelemetryClient'. ---> An exception was thrown by the type initializer for Mi
crosoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource (See inner exception for detai
ls.) ---> System.TypeInitializationException: An exception was thrown by the type initializer for Microsoft.App
licationInsights.Extensibility.Implementation.Tracing.CoreEventSource ---> System.InvalidProgramException: Inva
lid IL code in Microsoft.Diagnostics.Tracing.EventSource:Initialize (System.Guid,string,string[]): IL_00cc: stl
oc.1
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings, System.String[] traits) [0x
00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings) [0x00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor () [0x00000] in :0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..ctor () [0x00000] in <
filename unknown>:0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..cctor () [0x00000] in
:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in :0
at System.Threading.Tasks.Task.Execute () [0x00000] in :0
--- End of inner exception stack trace ---
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () [0x00000] in :0
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (IComponentContext context, IEnume
rable1 parameters) [0x00000] in <filename unknown>:0                                                             at Autofac.Core.Resolving.InstanceLookup.Activate (IEnumerable1 parameters) [0x00000] in :
0
at Autofac.Core.Resolving.InstanceLookup.b__0 () [0x00000] in :0
at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare (Guid id, System.Func1 creator) [0x00000] in <fil ename unknown>:0                                                                                at Autofac.Core.Resolving.InstanceLookup.Execute () [0x00000] in <filename unknown>:0                           at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (ISharingLifetimeScope currentOperationScope,  IComponentRegistration registration, IEnumerable1 parameters) [0x00000] in :0
at Autofac.Core.Resolving.ResolveOperation.ResolveComponent (IComponentRegistration registration, IEnumerable
1 parameters) [0x00000] in <filename unknown>:0                                                                  at Autofac.Core.Resolving.ResolveOperation.Execute (IComponentRegistration registration, IEnumerable1 parame
ters) [0x00000] in :0
System.TypeInitializationException: An exception was thrown by the type initializer for Microsoft.ApplicationIn
sights.Extensibility.Implementation.Tracing.CoreEventSource ---> System.InvalidProgramException: Invalid IL cod
e in Microsoft.Diagnostics.Tracing.EventSource:Initialize (System.Guid,string,string[]): IL_00cc: stloc.1
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings, System.String[] traits) [0x
00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings) [0x00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor () [0x00000] in :0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..ctor () [0x00000] in <
filename unknown>:0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..cctor () [0x00000] in
:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in :0
at System.Threading.Tasks.Task.Execute () [0x00000] in :0
System.InvalidProgramException: Invalid IL code in Microsoft.Diagnostics.Tracing.EventSource:Initialize (System
.Guid,string,string[]): IL_00cc: stloc.1
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings, System.String[] traits) [0x
00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings) [0x00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor () [0x00000] in :0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..ctor () [0x00000] in <
filename unknown>:0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..cctor () [0x00000] in
:0
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for Microsoft.ApplicationIn
sights.Extensibility.Implementation.Tracing.CoreEventSource ---> System.InvalidProgramException: Invalid IL cod
e in Microsoft.Diagnostics.Tracing.EventSource:Initialize (System.Guid,string,string[]): IL_00cc: stloc.1
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings, System.String[] traits) [0x
00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings) [0x00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor () [0x00000] in :0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..ctor () [0x00000] in <
filename unknown>:0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..cctor () [0x00000] in
:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in :0
at System.Threading.Tasks.Task.Execute () [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type init
ializer for Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource ---> System.Inva
lidProgramException: Invalid IL code in Microsoft.Diagnostics.Tracing.EventSource:Initialize (System.Guid,strin
g,string[]): IL_00cc: stloc.1
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings, System.String[] traits) [0x
00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings) [0x00000] in :0
at Microsoft.Diagnostics.Tracing.EventSource..ctor () [0x00000] in :0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..ctor () [0x00000] in <
filename unknown>:0
at Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource..cctor () [0x00000] in
:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in :0
at System.Threading.Tasks.Task.Execute () [0x00000] in :0

@s-Tarasov, can you please try to move to 0.17 version of Application Insights SDK. It is uses System.Diagnostics.Tracing.EventSource instead which should be more stable on docker.
@vancem, have you seen this before? Our constructor is empty...
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.CoreEventSource ---> System.InvalidProgramException: Invalid IL code in Microsoft.Diagnostics.Tracing.EventSource:Initialize (System.Guid,string,string[]): IL_00cc: stloc.1

at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings, System.String[] traits) [0x 00000] in :0
 at Microsoft.Diagnostics.Tracing.EventSource..ctor (EventSourceSettings settings) [0x00000] in own>:0

@SergKanz, i'm try to move to Application Insights 0.17
master and beta5 branches has dependency on Microsoft.Framework.Configuration, but beta5 release has only Microsoft.Framework.ConfigurationModel package...
You planning myget feed for beta5 "release" branch?

@s-tarasov Microsoft.Framework.ConfigurationModel was renamed to Microsoft.Framework.Configuration, see https://github.com/aspnet/Announcements/issues/25
You should be able to use develop branch for using ASP.Net 5 beta5. We will have a release for this soon enough.


bert base fintune报错：AttributeError: 'paddle.fluid.core_avx.Tensor' object has no attribute 'astype'

请提出你的问题
使用bert static目录下代码使用官方例子进行fintune。报错：AttributeError: 'paddle.fluid.core_avx.Tensor' object has no attribute 'astype'

我的运行环境：
python==3.8
paadlepaddle-gpu==2.3.2
paddlenlp==2.4.2

i delete the astype in the line 428 of model_utils.py .Now it run successs.

glad to see that you have found the trick to fix this issue.
But, this is actually a bug when doing dynamic-to-static, we will try to fix it later.  Thanks for your posting.

glad to see that you have found the trick to fix this issue.
But, this is actually a bug when doing dynamic-to-static, we will try to fix it later. Thanks for your posting.

ok. thx!

@wj-Mcat hi， do you have fix the bug？thx

yes, you can pip install --upgrade pip or git clone https://github.com/PaddlePaddle/PaddleNLP to use the latest feature.


set_ldap_user_pw: AAC Restart required ?

Hi,
We have found that when using role 'set_ldap_user_pw' to set an existing embedded_ldap account's  password (such as the one for easuser) that it only become effective after the AAC Runtime is restarted. This would be quick code change to add a "Runtime Restart" after the "Commit". But is it a good thing ? Woud there be cases where the AAC Runtime should not be restarted right away ?
Just looking for advise. Will test the code and submit a pull if I found that it resolves this behavior.

I did not think easuser was stored in an LDAP, I thought it was stored in a
WAS local datastore "someplace".  And WAS is not going to cache any LDAP
results.
Are you sure an AAC runtime restart is required?
===================================================
Jeffrey L. DeMent
IBM Security Systems | Directory & Security Architect
602.284.0100 (cell) |<EMAIL_ADDRESS>From:	Sylvain Gilbert<EMAIL_ADDRESS>To:	IBM-Security/isam-ansible-roles
<EMAIL_ADDRESS>Cc:	Subscribed<EMAIL_ADDRESS>Date:	03/16/2018 03:22 PM
Subject:	[IBM-Security/isam-ansible-roles] set_ldap_user_pw: AAC Restart
required ? (#65)
Hi,
We have found that when using role 'set_ldap_user_pw' to set an existing
embedded_ldap account's password (such as the one for easuser) that it only
become effective after the AAC Runtime is restarted. This would be quick
code change to add a "Runtime Restart" after the "Commit". But is it a good
thing ? Woud there be cases where the AAC Runtime should not be restarted
right away ?
Just looking for advise. Will test the code and submit a pull if I found
that it resolves this behavior.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

My understanding is that it is stored in the "Embedded LDAP" of the appliance where the AAC runs. It is kind of local system "account", nothing to do with External LDAP user registry that you would configure along the Policy Server topology.
I tested the role that updates the password of easuser and yes, it becomes only effective after the AAC Runtime is restarted. Maybe because like as you say it is stored in some internal WAS/Liberty registry, or that it is really stored in an embedded_LDAP (openldap) and that then the "WAS/Liberty" runtime caches the cred/password for some time, or some other reaason.
It is easy to reproduce.

Use role  'set_ldap_user_pw' to update password of existing easuser

Use this URL to test if the password change is immediate (fails for us)

https://aacruntimehost/TrustServerWS/SecurityTokenServiceWST13 (will get BA prompt)

Restart AAC Runtime

Use URL again and then it works

So my proposal is to notify that at end of play to restart the Runtime:
notify:
- Commit Changes
- Restart AAC Runtime

As Jeff indicated - the easuser is stored in WebSphere Liberty config files. Adding the Restart AAC Runtime should be okay - the handler gets triggered only at the end of a run. Besides AAC Runtime will not restart unless it is flagged for it.

Really ? Thanks for clearing that out. The api name, role name  can lead one to think this is really an embedded "ldap". But it explains all. If it had been really an "LDAP" server, then normally a password change should not have required an WebSphere/Liberty restart.


Update testing.md (excluding ide act features)

Simplify the REPL steps, defer updating TA activities until #796.