Serialization Issues

Describe the bug
I'm having trouble using the serialization process for serverpod. Here's the repo if you'd like to take a look: https://github.com/fhir-fli/fhirpod. All of my classes are freezed, and I've adjusted all of the fromJson to include the serializationManagers. That has no errors. When I try to generate code, if I remove json_serializable from the pubspec and all of the part 'file.g.dart'; code, then it generates fine. However, it doesn't generate the toJson() files that are required.
However, when I do include the json_serializable to generate the toJson() methods, I get this error message:
[SEVERE] json_serializable on lib/r4/resource_types/financial/general/general.dart:

Expecting a `fromJson` constructor with exactly one positional parameter. The only extra parameters allowed are functions of the form `T Function(Object?) fromJsonT` where `T` is a type parameter of the target type.
package:fhir/r4/special_types/special_types.dart:483:16

I'm using   serverpod_serialization: ^1.1.0.
Just hoping someone else had a similar experience and had found a solution.

So I thought I'd update this. Since I couldn't get the above working, I've decided to try a different tack. Ideally it would just be generated from the classes I already have, but since I can't get that to work, I thought I'd try and pull the data from the class directly into the yaml file for generation. I'm still working out some of the details, but I think it general it's a possibility. I'll attach my script here in case anyone else wants to try and play with it:
import 'dart:io';

Future<void> main() async {
  final Directory dir = Directory('.');
  final List<String> fileList = await dir
      .list(recursive: true)
      .map((FileSystemEntity event) => event.path)
      .toList();
  for (final String file in fileList) {
    if (file.contains('.dart') &&
        !file.contains('.g.') &&
        !file.contains('freezed') &&
        !file.contains('enum')) {
      final String fileString = await File(file).readAsString();
      final List<String> stringList = fileString.split('\n');
      String yaml = '';
      bool isClass = false;
      String className = '';
      for (final String line in stringList) {
        if (isClass) {
          if (line.trim().startsWith('///')) {
          } else if (line.endsWith(',')) {
            final List<String> splitLine = line.split(' ');
            yaml += '  ';
            yaml += splitLine.last.replaceAll(',', '');
            yaml += ': ';
            yaml += splitLine[splitLine.length - 2];
            yaml += '\n';
          } else if (line.contains('}) = _')) {
            isClass = false;
            await File('serverpod/${className.toLowerCase()}.yaml')
                .writeAsString(yaml);
            yaml = '';
          }
        }
        if (line.contains('factory') && line.contains('({')) {
          isClass = true;
          className = line.replaceAll('factory ', '').replaceAll('({', '');
          yaml += 'class: $className\n';
          yaml += 'fields: \n';
        }
      }
    }
  }
}

So some progress today, albeit with a different direction. Or at least, a workaround. First step is to generate all of your code as usual using freezed and jsonserializable. Then, add in the SerializationManager as an optional, positional parameter (this way it doesn't interfere if you call fromJson from any other methods or functions). I did a regex lookup and replace in VSCode. End result looks like this:
// ignore_for_file: invalid_annotation_target
// ignore_for_file: sort_unnamed_constructors_first
// ignore_for_file: sort_constructors_first
// ignore_for_file: avoid_unused_constructor_parameters

// Dart imports:
import 'dart:convert';

// Package imports:
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:serverpod_serialization/serverpod_serialization.dart';
import 'package:yaml/yaml.dart';

// Project imports:
import '../../r5.dart';

part 'element.freezed.dart';
part 'element.g.dart';

@freezed
class Element with _$Element {
  Element._();
  factory Element({
    @JsonKey(name: 'id') FhirId? fhirId,
    @JsonKey(name: 'extension') List<FhirExtension>? extension_,
    @JsonKey(name: 'fhir_comments') List<String>? fhirComments,
  }) = _Element;

  factory Element.fromJson(
    Map<String, dynamic> json, [
    SerializationManager? serializationManager,
  ]) =>
      _$ElementFromJson(json);
  }
}

Again, you can't regenerate your code at this point, it will throw an error. But, you can generate serverpod data. In your serverpod_server/config/generator.yaml file, you can add this class in like this:
type: server

client_package_path: ../fhirpod_client

extraClasses:
  - package:fhir/r5.dart:Element

Then run serverpod generate and it will generate the protocol.dart file for the serializationManager, using your class. Next step is to figure out how to generate table data.

The serialization manager is no longer present in the fromJson and toJson interfaces, please have a look at the updated documentation for serialization with freezed classes: https://docs.serverpod.dev/concepts/serialization#custom-class-with-freezed
Closing this issue, but please let me know if you encounter any other issues.


Converting to down sampled values for several series.

R changes for downsampling.
See https://github.com/USGS-CIDA/AQCU/pull/510 for Java changes and context.

Coverage decreased (-14.7%) to 72.408% when pulling 668810dd639e7188b3e0c7f3e356a7e8e050f551 on ee-usgs:AQCU-707_Downsample_UV_data into a5798769b01b75550f5022242610ae2028fd409c on USGS-R:master.

@thongsav-usgs here's the downsampled R changes. Why on earth did coverage decrease by 14%??

@lindsaycarr, I'm betting it counts lines of example json as code. If so, the flip to the downsampled JSON leaves all of that original dense time series json untouched.


What does the opt_out functionally do?

I get that a messageable object can opt_out of a conversation.  Does that simply prevent notifications from going to a participant that is opted out, or is there more to it than that?  If so, where is the code that prevents that notification.  Thanks!

Ok, I see. The opt_outs are used in the has_subscriber?(participant) call, which is checked in the recipient filter before sending the notification.
I'll close this issue, unless this project considers lacking or incomplete documentation an issue.  I'd be happy to write up some of the confusions I've had while trying to implement mailboxer into a project, areas that I think some better docs would have helped.

It would be nice if the docs mention the difference between a subscriber and a participant.

Any documentation you can add would be helpful. The original authors are no longer involved much, so you can assume you understand this code better than anyone else.


[Feature Request]: Add 'Forgot Password' Option on Login Page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I will add the Forget password option in the login page so that if any user forget his/her password he/she can easily reset their password through email

Use Case
If any user Forget their password they can easily reset their password through email
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

As of now it is taking dummy emails also...we have to setup OTP for verification..then we can implement this feature


In a new file pressing enter puts cursor back on first line.

This Bug was fix with Push 7b4061b54ca8711bb408c3a2350d57fe67f55f5c


GREAT IDEA!

I was doing the same thing with my virtual gaming console! :D

Only difference is mine is having a game development kit, and many things to add rather than just linking a button to a game


Add X509_STORE_CTX_set_get_crl and X509_STORE_CTX_set_current_reasons

This change is for feature request #21679.
Adds a couple of setters to aid with custom CRL validation.
Checklist

[x] documentation is added or updated

We will need a CLA for this contribution to be accepted. Could you please sign it? https://www.openssl.org/policies/cla.html

Currently working with my employer to get the CCLA signed.

Closing this one to reopen another with proper CLA


Migrate Model from dlib models to Deepface

Could we migrate the model from the dlib models to Deep face? It is more up-to-date and could potentially improve the accuracy of the detection? There could be an option to switch from one to another if there are resources or other contraints.
I could help with the migration and testing if you need it.

Sounds interesting, especially because v3 will introduce breaking changes anyway. In your personal opinion, what improvements would switch models cause?

Out of the box it allows for just a wide variety of models including their
own implementation of a Dlib model. In addition it seems like accuracy is
much higher. Davisking/dllib models seem to have an accuracy of 99.3 and
the highest model in Deepface, FaceNet /w 512d got a 99.65. The delta in
the performance is small enough that we should probably test this with a
similar data-set since I am unsure which dataset these metrics are deriving
from. In addition, there is a detect, align, represent and verify pipeline
that they have implemented under the hood that might be useful and might
reduce the number of false negatives we get from differing positions of
heads.
https://scontent-sjc2-1.xx.fbcdn.net/v/t1.0-9/63870_148996021805559_6945915_n.jpg?oh=3803dae3f8804f293f70330c1cbb281a&oe=5931A264
Ashvin Nihalani
UC Berkeley - 2020
832-628-6104
https://facebook.com/ash.nihalani.9 https://github.com/ashvinnihalani
https://www.linkedin.com/in/ashvinnihalani/
On Thu, Aug 5, 2021 at 8:51 AM boltgolt @.***> wrote:

Sounds interesting, especially because v3 will introduce breaking changes
anyway. In your personal opinion, what improvements would switch models
cause?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/boltgolt/howdy/issues/577#issuecomment-893477154, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4BE5U6DCWKV34CRYLXMRDT3KJPPANCNFSM5BPXDYCA
.

My worry is that we will be rewriting the absolute core of Howdy without much benefit. Our dlib implementation does already detect (face_detector), align (pose_predictor), represent (compute_face_descriptor?) and verify (numpy) so i'm not sure if that's an improvement. I guess Deepface has a better success rate there?
I think i would like to see a demonstration of how much better it is first, just to be sure we're not doing unnecessary work and introducing bugs into heavily field-tested code.

(also, the ties to Facebook are less than ideal for a project dealing with face recognition unfortunately)


New Watchdog Reloader Is Not Detecting Changes

Hello all,
I just upgraded to Werkzeug 0.10, after which I install watchdog to get the new inotify reloader working to help reduce CPU usage on my laptop. However, the reloader no longer works (or at am minimum is random in what it detects).
To start debugging, I tried to run the sample watchdog code on their homepage (https://pypi.python.org/pypi/watchdog) in an iPython shell and initially got an error. It related to not being able to allocate inotify watches due to a system constraint. After upping the limit (echo "131072" >> /proc/sys/fs/inotify/max_user_watches), I was able to run the code in the shell.
However, after that, the reloader still does not work. I am not sure what else I can do to help debug this, as watchdog seems to import correctly and my app does not throw any errors. Some diagnostic details:
% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty
Versions:
Werkzeug==0.10.1
watchdog==0.8.3
Flask==0.10.1
Please let me know if you need further information, I would be glad to debug.

@jquacinella are you using Vagrant or Virtualbox?

Ah, should have mentioned that I am using a virtualenv for the application (but this is running directly on a linux laptop, no VM). I rebuilt the virtualenv from my requirements file, and still the same issue of not detecting changes.

@jquacinella Was watchdog working before you upgraded to 0.10? It's not clear from your initial comment if you had it installed before you upgraded.

I did not have it installed prior. I installed watchdog when searching for why Flask takes up so much CPU. This was evidently due to the stat reloader, and it was advised that as of 0.10, that I should install watchdog. I installed it, only to find what I reported above, that the reloader essentially does not work.

Any update on this? The reloader was super conveinent for developing, and the stat reloader kills my laptop. Any ideas on what I can do to help debug the issue?

Please see https://github.com/mitsuhiko/werkzeug/issues/682 regarding the performance problems of the stat-reloader.
Regarding watchdog not working: Which filesystem are you using? Does the inotifywait work correctly for you? (it's not required by Werkzeug, just a useful utility for testing fs events)

After installing the right packages on ubuntu, yes, inotifywait does work:
$ inotifywait ./
Setting up watches.
Watches established.
./ OPEN,ISDIR
So it seems like its able to get at least one event. However, using inotify reloader still does not work:
-> % ./run-local.sh

Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
Restarting with inotify reloader

The script will stay there and never reload, despite making changes to files in the directory. Filesystem is EXT4.

Same issue here (system with ubuntu 14.04, same flask/werkzeug/watchdog versions as the topic starter).
The only change I did see detection on is the following:
  * Detected change in '/usr/local/lib/python3.4/dist-packages/flask_bower/__init__.py', reloading
  * Restarting with inotify reloader

My app.py however does not trigger a restart.

@Humphreybas @jquacinella Could you try https://github.com/mitsuhiko/werkzeug/pull/721:
pip install git+https://github.com/untitaker/werkzeug.git@frozen-reloader

I used pip to install your version of werkzeug, and can confirm from a shell that the verion comes up as:
'version': '0.11.dev0',
Restarting the Flask application still doesn't reload files while in inotify mode.

Sorry, my contribution is quite useless, I can no longer reproduce the problem. However I cannot pinpoint what has changed. I restarted my laptop in the meantime, I did some regular ubuntu updates, but I cannot tell you why it works now..

@jquacinella How does it not reload? Do you still get the "restarting with"-message or does it not react at all (important distinction)?

@Humphreybas Perhaps because a new Werkzeug version has been released? Although it shoudn't have affected the inotify/watchdog reloader.

This is my output:
-> % ./run-local.sh

Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
Restarting with inotify reloader

If I make any changes to files, I see no more output at all.

To clarify, you never see a "detected change" line?

Correct

There seems to be an issue with how some editors/IDEs handle writing files. When I edit a monitored file using vim the reloader picks up the change fine, but when I do so via PyCharm (which accesses the file via SMB), it doesn't.
A simply pyinotify-based script to dump events shows these events when modifying a file using vim (I hope I didn't remove any relevant events from the log):
<Event cookie=3331293 dir=False mask=0x40 maskname=IN_MOVED_FROM name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event cookie=3331293 dir=False mask=0x80 maskname=IN_MOVED_TO name=example.py~ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py~ src_pathname=example/example.py wd=1 >
<Event dir=False mask=0x100 maskname=IN_CREATE name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x20 maskname=IN_OPEN name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x2 maskname=IN_MODIFY name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x8 maskname=IN_CLOSE_WRITE name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x4 maskname=IN_ATTRIB name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x200 maskname=IN_DELETE name=example.py~ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py~ wd=1 >
<Event dir=False mask=0x20 maskname=IN_OPEN name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x1 maskname=IN_ACCESS name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x10 maskname=IN_CLOSE_NOWRITE name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x20 maskname=IN_OPEN name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x1 maskname=IN_ACCESS name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event dir=False mask=0x10 maskname=IN_CLOSE_NOWRITE name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >

When saving the same file in PyCharm I get this log:
<Event dir=False mask=0x100 maskname=IN_CREATE name=example.py___jb_bak___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_bak___ wd=1 >
<Event dir=False mask=0x20 maskname=IN_OPEN name=example.py___jb_bak___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_bak___ wd=1 >
<Event dir=False mask=0x2 maskname=IN_MODIFY name=example.py___jb_bak___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_bak___ wd=1 >
<Event dir=False mask=0x8 maskname=IN_CLOSE_WRITE name=example.py___jb_bak___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_bak___ wd=1 >
<Event dir=False mask=0x4 maskname=IN_ATTRIB name=example.py___jb_bak___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_bak___ wd=1 >
<Event dir=False mask=0x10 maskname=IN_CLOSE_NOWRITE name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event cookie=3331342 dir=False mask=0x40 maskname=IN_MOVED_FROM name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py wd=1 >
<Event cookie=3331342 dir=False mask=0x80 maskname=IN_MOVED_TO name=example.py___jb_old___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_old___ src_pathname=example/example.py wd=1 >
<Event cookie=3331343 dir=False mask=0x40 maskname=IN_MOVED_FROM name=example.py___jb_bak___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_bak___ wd=1 >
<Event cookie=3331343 dir=False mask=0x80 maskname=IN_MOVED_TO name=example.py path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py src_pathname=example/example.py___jb_bak___ wd=1 >
<Event dir=False mask=0x200 maskname=IN_DELETE name=example.py___jb_old___ path=example pathname=/home/adrian/dev/flask-multiauth/example/example.py___jb_old___ wd=1 >

Yes, I can confirm this is the issue.

On Geany, unchecking use_gio_unsafe_file_saving (Edit->Preferences->Various) solved the problem.

Hopefully, in the next release, you will not have to do that.

thanks @jquacinella ! I never thought it would be an issue with Sublime. I am not sure why the PR got declined

FYI for those having an issue with this, I was using app.run() in my code, but this user on SO explained that had weird side effects. In my case, this issue was one of those weird side effects, and using the environment variable, referenced here.

@JasonThomasData Note that the middle part of that answer and the comments are irrelevant.  The Werkzeug reloader does not use Python's reload mechanism, no matter how it's run.  Also, that's not related to what's being discussed here, which is how the reloader didn't pick up files that were saved in certain ways be certain editors.

Same here with Doom Emacs, flask reloader does not detect saves.

Is there a way to configure inotify watcher reloader to detect atomic saves ?

I found a workaround user Pylons hupper:
$ FLASK_APP=myapp hupper -m flask
Starting monitor for PID 9877.
Usage: python -m flask [OPTIONS] COMMAND [ARGS]...

...


Not seeing any of the headers in response

Loving websocketd so far. It's quite possible the headers are working, but I'm doing something wrong. I have viewed the response headers and have not found any of the following custom header. Am I entering them correctly?
websocketd --port=8080 ./count.sh --header="Server:Hello" --header-http="ServerPlain: Demo" --header-ws="HowIs:This" &

Are you using 0.2.10? That feature is not in released websocketd yet. You need to compile your own.

Thanks for getting back to me.
Yes, version = websocketd 0.2.10
I'm running the executable on Ubuntu 14.04

can you try to compile from github? You'd just need need go (golang package I believe), then you can try to do
GOPATH=/path/to/some/dir  go get github.com/joewalnes/websocketd

and you should get websocketd in /path/to/some/dir/bin

Heres what I have so far
sudo apt-get install build-essential checkinstall git-core
sudo chown $USER /usr/local/src
sudo chmod u+rwx /usr/local/src
sudo apt-get install golang
go version
go version go1.2.1 linux/amd64
mkdir ~/.go
echo "GOPATH=$HOME/.go" >> ~/.bashrc
echo "export GOPATH" >> ~/.bashrc
echo "PATH=\$PATH:\$GOPATH/bin" >> ~/.bashrc
source ~/.bashrc
cd /usr/local/src
go get github.com/joewalnes/websocketd
websocketd --version
websocketd DEVBUILD (go1.2.1 linux-amd64) --

So it's now installed. Verified that it's working with the demo. I can see counting 1 -10. I cannot see the response header/s though. Here are the response headers:
Response Headers
Connection:Upgrade
Sec-WebSocket-Accept:O/b9/6n0LnW4S7jSgBQmZbmVcfg=
Upgrade:websocket

Could you give me your command line string again?  If it's what you have above..  you need to move --header* options before command. Otherwise websocketd just uses those args to create command it's going to execute.

That was it, I can see the headers! Thank you.


Fix default min length

When passing 1 to the minimum length I expect at least 1 NOT eof token.
But since 1 is the default value minLengths tensor is nullptr and penalty does't work.

@nv-guomingz

@nv-guomingz

Thanks for your patience, We'll start integration and verification soon.

@nv-guomingz ping :)


fix(reports): fixes report after uuid implementation

Codecov Report

Merging #33 (8f38328) into dev (1851649) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev      #33   +/-   ##
=======================================
  Coverage   42.14%   42.14%
=======================================
  Files          23       23
  Lines        1108     1108
  Branches      195      195
=======================================
  Hits          467      467
  Misses        632      632
  Partials        9        9

Impacted Files
Coverage Δ

pythonium/metrics_collector.py
0.00% <ø> (ø)

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 1851649...8f38328. Read the comment docs.


Extract video/audio URL only

I'm trying to extract the URL of the audio for a video. This is how I'm doing it currently, but it isn't that efficient for my purposes:
ytdl.getInfo(videoURL, [], function(err, info){
    if (err) throw err
    var audioURL = info.formats[0].url

I've also tried calling the youtube-dl binary directly, but it ends up downloading the video regardless of the options being passed:
ytdl.exec(videoURL, ['-g'], {}, function(err, output) {
    if (err) throw err
    console.log(output.join('\n')) // shows the progress of the download
})

In the above case, the '-g' option should force youtube-dl to print the two URLs.

@goldani what's the videoURL ?

Right, videoURL is just the string of any Youtube video link.

@goldani is this what you're looking for formats

@goldani try latest git master it should work fine now:
ytdl.exec(videoURL, ['-g'], {}, function exec(err, output) {
    if (err) { return err.stack; }
    console.log(output.join('\n'))
});

I'll close this issue and try it out soon. If there's still a problem I'll reopen it. Thank you for your help.


Support for webpack 4.0

I'm trying to implement the translate in Angular 6.0.0-rc.1 version, it unable to load the {lang}.json file.
It throws 404 error.
Latest version of ngx-translate support webpack 4.0 and above version ?
Can you please help me to resolve this issue?

Please provide a simple demo of the problem - e.g. on github.
We really don't have the resources to try to reproduce the issue with this vague description.

There are multiple issues dealing with the way to setup the path to load the assets with CLI projects, a quick search should be enough for you to find the solution.


removed a duplicate speaker Praveen

@jig08 There is another one. Let me update it :)

@jig08 Done adding the changes

Thanks. Here you go.

Please do not edit the JSON files directly - they are auto-generated by the scraper and will be replaced every time we updated the schedule. Instead, try to find the underlying problem in the scraper code. See #10 for a good example.


Higress console ingress not work when managed by higress, but it did work when managed by nginx ingress controller.

Ⅰ. Issue Description
When using the following ingress, I can access higress console at https://higress-console.alidev.beisai.com/.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: higress-console
spec:
  ingressClassName: nginx
  rules:
    - host: higress-console.alidev.beisai.com
      http:
        paths:
          - backend:
              service:
                name: higress-console
                port:
                  number: 8080
            path: /
            pathType: Prefix
  tls:
  - hosts:
    - higress-console.alidev.beisai.com
    secretName: alidev.beisai.com

But when I change the ingressClassName to higress, the browser shows another site which managed by nginx ingress controller.
Ⅵ. Environment:

Higress version:  1.4.1
OS :
Others: Aliyun ACK 1.28

I believe the domain higress-console.alidev.beisai.com still points to the nginx gateway, right?

Then how to switch a ingress managed by nginx ingress controller to higress? There is another ingress managed by higress and it works, but it not managed by nginx ever.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:    nginx.ingress.kubernetes.io/rewrite-target: /open/v$1/$2
  labels:
    app.kubernetes.io/component: user-open
    app.kubernetes.io/instance: basicai
    app.kubernetes.io/name: basicai
  name: user-open
spec:
  ingressClassName: higress
  rules:
    - host: open-dev-cloud.alidev.beisai.com
      http:
        paths:
          - backend:
              service:
                name: user
                port:
                  number: 80
            path: /api/v(\d+)/user/(.+)
            pathType: ImplementationSpecific
  tls:
    - hosts:
        - open-dev-cloud.alidev.beisai.com
      secretName: alidev.beisai.com

There are two steps.
1. Let higress accept the ingress.
Changing the ingressClassName to higress would do. Or you can ask higress to watch nginx ingress class during installation (See link).
**2. Make the domain point to the higress gateway
For testing only, you can edit your local hosts file. Adding a record like <IP_ADDRESS> www.yyy.com would do. It would better for you to restart the browser before testing, just in case the browser caches the previous DNS result.
Once it passes testing, you can edit your DNS record to make the config online.
Then how to get the IP of higress gateway? Check out this: link


fix table in README

Noticed the extra newline in the README broke the table rendering. Also aligned some of the vertical bars.

Just noticed there are a couple of these. Closing this one.


Can't transfer zencash

Can't transfer zencash - even to own accounts.
v.0.0.6
Android 7.0
SM-G928

What error are you getting? Please attach the screenshot if possible.

Here is the screenshot:

I had this same issue every time i tried to send funds even to my own wallet for two days.
Looked online for answer, saw your answer to someone else in another thread: something to do with updated certificates.
Tried it: removed cache, data and recovered wallet with passphrase - no success.
Tried removing the app and reinstalling it from Play Market: no success.

Unfortunately I can't reproduce the error.
If you want to transfer your ZEN out to bittrex/somewhere, you can use http://myzenwallet.io/ in the meantime.

But what is the error itself?

The error being thrown is a 400, which can happen with incorrect certificates.
There is a possibility that different variations of android can handle cert caching very differently, resulting in unpredictable and undesirable behaviors like so.

I see.
So, am I right to assume that private key from the mobile app can be imported into ZENCash Desktop Wallet too?

Yep you most certainly can

Alright. Xiexie ni de hezuo.


Go to Definition (F12) doesn't work in decompiled source/assembly metadata

Environment data

dotnet --info output:
.NET SDK:
 Version:           9.0.100-preview.6.24328.19
 Commit:            ef4c241666
 Workload version:  9.0.100-manifests.e32572b3
 MSBuild version:   17.11.0-preview-24318-05+4a45d5633

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19045
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\9.0.100-preview.6.24328.19\

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
 [aspire]
   Installation Source: VS 17.10.35027.167
   Manifest Version:    8.0.1/8.0.100
   Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.0.1\WorkloadManifest.json
   Install Type:        FileBased

Host:
  Version:      9.0.0-preview.6.24327.7
  Architecture: x64
  Commit:       static

.NET SDKs installed:
  8.0.303 [C:\Program Files\dotnet\sdk]
  9.0.100-preview.6.24328.19 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 9.0.0-preview.6.24328.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.0-preview.6.24327.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 9.0.0-preview.6.24327.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

VS Code version:
Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045

C# Extension version: v2.39.29

Steps to reproduce

Create basic console project with dotnet new console
Open it with VS Code code .
Update Program.cs's content toawait Task.Delay(TimeSpan.FromSeconds(1));

Move the text cursor to Delay, press F12, and get navigated to decompiled source/assembly metadata that readspublic static Task Delay(TimeSpan delay);

Move the text cursor to TimeSpan, press F12, and nothing happens

Expected  behavior
I'm navigated to the definition of System.TimeSpan.
"Go to Definition (F12)" should work in decompiled source / assembly metadata to allow deep navigation into libraries.
This always worked in OmniSharp, but never worked with the new language server in my experience.
Actual behavior
A small box shows up that says:

No definition found for 'TimeSpan'

Duplicate of https://github.com/dotnet/vscode-csharp/issues/5787
Should be fixed in the next prerelease version (will be available on the marketplace shortly).


hello yaml example output

I just tried the hello yaml example and I'm pretty sure we are not supposed to output this for every hello line in the container log:
2022-03-16 18:03:54,035 INFO  [info] (Camel (camel-1) thread #0 - timer://yaml) Exchange[ExchangePattern: InOnly, BodyType: String, Body: Hello Camel K from yaml]
I'm running camelk installed through operator (version 1.6.3) over OpenShift 4.9

Have you tested it with the latest Camel K release?  I checked it with 1.9.0-SNAPSHOT and it seems to be fixed already.

@lucamaf is that the output coming from HTML Pod log panel? or is it coming from the CLI (ie, kamel log xyz)?

it is coming from the Pod log panel, the kamel log command output looks good

Then, it is likely some error in the way openshift show certain characters. I don't think we can do much about that :(


MACs value becomes too large if there are shared modules

I think that the calculated MACs value becomes too large if there are shared modules.
The following is a script to reproduce this issue.
from thop import profile
import torch
from torch import nn

class Net(nn.Module):
    def __init__(self, repeat=1):
        super().__init__()
        self.linear = nn.Linear(10, 10)

    def forward(self, x):
        return self.linear(x)

def create_modules(share):
    m0 = Net()
    m1 = Net()
    m = nn.Sequential(m0, m1)
    if share:
        m1.linear = m0.linear
    return m

def measure(share):
    macs, params = profile(create_modules(share=share), (torch.randn(1, 10),))
    print("[share={}] macs={}, params={}".format(share, macs, params))

measure(True)
measure(False)

The execution result is shown below:
$ python3 test.py
[share=True] macs=800.0, params=220.0
[share=False] macs=200.0, params=220.0

If m0 and m1 share the linear module, the MACs value is 800 but it should be the same as the non shared version (i.e., 200).

THOP does the repeative because some recurrent modules require it. For example
class Net(nn.Module):
    def __init__(self, repeat=1):
        super().__init__()
        self.linear = nn.Linear(10, 10)

    def forward(self, x):
        x = self.linear(x)
        x = self.linear(x)
        x = self.linear(x)
       return x

In that case, the linear is indeed called 3 times and should be counted 3 times as well. I think a better way to address you problem is net.clone() before profiling it.

Thank you for your response and for letting me know the workaround (net.clone()).
But, I think, the patch #99 I created can handle the above recurrent module case as the same as the current master branch.
Please let me know if I'm wrong.

Hmm, I tried modifying my example code to call net.clone() before passing the module to profile function as follows:
from thop import profile
import torch
from torch import nn

class Net(nn.Module):
    def __init__(self, repeat=1):
        super().__init__()
        self.linear = nn.Linear(10, 10)

    def forward(self, x):
        return self.linear(x)

def create_modules(share):
    m0 = Net()
    m1 = Net()
    m = nn.Sequential(m0, m1)
    if share:
        m1.linear = m0.linear
    return m

def measure(share):
    macs, params = profile(create_modules(share=share).clone(), (torch.randn(1, 10),))
    print(macs, params)

measure(True)
measure(False)

However, the following error message was raised when I executed the script:
$ python3 thop-issue98.py
Traceback (most recent call last):
  File "/tmp/thop-test.py", line 29, in <module>
    measure(True)
  File "/tmp/thop-test.py", line 25, in measure
    macs, params = profile(create_modules(share=share).clone(), (torch.randn(1, 10),))
  File "/home/ohta/.local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 594, in __getattr__
    type(self).__name__, name))
AttributeError: 'Sequential' object has no attribute 'clone'

Sorry for bothering you, but please let me know if you have any idea to fix the error.

Can you try copy.deepcopy(model)?

Thanks. When I replaced create_modules(share=share).clone() with copy.deepcopy(create_modules(share=share)), the script ran without error. However the profiling result didn't differ between with/without copy.deepcopy invocation.

In [16]: class UnShared(nn.Module):
    ...:     def __init__(self):
    ...:         super().__init__()
    ...:         self.l = nn.Linear(10,10)
    ...:         self.l2=nn.Linear(10,10)
    ...:     def forward(self,x):
    ...:         return self.l(x)+self.l2(x)
    ...:

In [17]: class Shared(nn.Module):
    ...:     def __init__(self):
    ...:         super().__init__()
    ...:         self.l = nn.Linear(10,10)
    ...:         self.l2=nn.Linear(10,10)
    ...:     def forward(self,x):
    ...:         return self.l(x)+self.l(x)
    ...:

In [18]: profile(Shared(), (torch.randn(1,10),))
[INFO] Register count_linear() for <class 'torch.nn.modules.linear.Linear'>.
[WARN] Cannot find rule for <class '__main__.Shared'>. Treat it as zero Macs and zero Params.
Out[18]: (200.0, 110.0)

In [19]: profile(UnShared(), (torch.randn(1,10),))
[INFO] Register count_linear() for <class 'torch.nn.modules.linear.Linear'>.
[WARN] Cannot find rule for <class '__main__.UnShared'>. Treat it as zero Macs and zero Params.
Out[19]: (200.0, 220.0)

Hi, It seems my examples are correct.


'ui simple scrolling dropdown' doesn't work - overflow is visible

Overflow is visible:
https://jsbin.com/lezekicizo/edit?html,output

The simple dropdown example from the docs doesn't have a scrolling class.
http://semantic-ui.com/modules/dropdown.html#simple
Removing the scrolling class fixed the overflow.
If you want a scrollingdropdown follow the proper example:
http://semantic-ui.com/modules/dropdown.html#scrolling

I was under the impressions classes were supposed to be combined.
So this would be a enhancement proposal to support other dropdown options like scrolling in combinations with simple, since javascript is not strictly needed to implement a scrolling dropdown.

+1 on @aristidesfl request

Prepared for Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/718


[TextField] Changing defaultValue results in weird behaviour

I'm using some multi-line TextFields where multiLine={true}, defaultValue={someValue}, disabled={someFlag}, and hintText="some hint". When I update defaultValue and disabled, it keeps the old defaultValue. In the case where I'm going from a non-empty defaultValue to an empty defaultValue, I get this:

Is this expected behaviour?
My current workaround is to manage the values of my TextFields myself and directly setting the value property.
Version: 0.14.0
React: ~0.14.5
Browser: Chrome 48.0.2564.97 on Mac OS X

We handle the defaultValue in our TextField same way ReactDom handles it with the input. Use the value property if you need to change it.

@oliviertassinari When you use value with onChange you get a warning in console regarding changing a controlled input. Why wouldn't you want to allow defaultValue to change after the first render?

@oliviertassinari When you use value with onChange you get a warning in console regarding changing a controlled input. Why wouldn't you want to allow defaultValue to change after the first render?

Why wouldn't you want to allow defaultValue to change after the first render?

That approach is deprecated by React. I encourage you to try it with a default input unless I'm mistaken, you gonna see a warning regarding mutating the defaultValue.

<TextField                     defaultValue={this.props.admin.team_member_invitation_token}                     floatingLabelFixed={true}                     onChange={() => {this.dealWithStateChange("team_member_invitation_token")}}                     ref="team_member_invitation_token"                     floatingLabelText="Team Member Invitation Token"/>
This throws no errors. I do need to wrap the whole block with a state based ternary to make sure react has time to handle the change. It certaintly isn't ideal. @oliviertassinari

I encourage you to try it with a simple .
Unless I'm mistaken, you gonna see a warning regarding mutating the defaultValue.

I tried this and can see that you are correct about mutating defaultValue. When I changed my TextField to use value and onChange. I received a console warning saying that value cannot be null or undefined because some of my fields start off as null.
react ```
{this.props.admin.yada ? this.props.admin.yada : '' }
Which also isn't ideal but is a work around. Any thoughts? And thank you for responding. @oliviertassinari

Which also isn't ideal but is a work around.

It's not clear what your work around is. The solution is to contolle the component.


Drastically decreased quality with the new PoseExtrapolator in LocalTrajectoryBuilder

Hi @wohe, the newest head (currently 11dbdf9) looks like this on a couple of my bags. You can see that the quality of the local trajectory builder has drastically decreased:

And here is how it looked before the pose extrapolator got merged:

Here are the bags and configuration files: https://drive.google.com/file/d/0B695JUjxohhNVWFpUUFuaG95SG8/view?usp=sharing
To reproduce:

Clone https://github.com/larics/cartographer and checkout the rangefinder-decimation branch (decimation is needed for these bags, or the pose estimate diverges with the old velocity model - however, when decimated, it worked great, as you can see from the second picture.). Use vanilla cartographer_ros.
Build and run the offline node (the command line arguments for running the offline node have been provided in offline_node_arguments)
To get back good behaviour, revert the extrapolator commits in cartographer: git revert -n 73b0e^..11dbdf9

I looked into this issue.

I don't think the decimation is needed anymore. The recent change in how extrapolation is done means that linear velocity estimates are now derived from odometry instead.
The change in behavior that probably caused quality to decrease was that only IMU (preferred) or recent poses were used for angular velocity estimation, but not odometry.
At master your bags and configuration work with TRAJECTORY_BUILDER_2D.use_online_correlative_scan_matching = true.
I'll send a PR to use odometry to predict orientation changes when no IMU is available.


bug: insufficient task parallelism with emergency picker enabled

Describe the bug
When there are insufficient compactors in the cluster, it is likely that the compaction emergency picker will be triggered to prioritize L0 compaction tasks. However, we have seen in some users' cluster that the non-overlapping L0 level is too small to trigger intro-L0 compaction while base level is too big due to prioritizing L0 to base tasks in emergency picker. All these combined, we have seen that the in a cluster, there are 16 compactor cores available but only 2 running tasks even though the LSM tree is imbalanced and L0 files are piled up.
Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

related-issue https://github.com/risingwavelabs/risingwave/issues/14034

discuss offline with @hzxa21.
The design purpose of the emergency picker is to ensure that compaction can run stably during the write-stop without being restricted by the validator, thereby avoiding deadlock caused by some bugs. However, we directly rely on the emergency picker to eliminate the accumulation of l0. This makes the emergency gradually bloated. Moreover, it destroys the original compaction priority, causing various problems.

The sst accumulation problem of l0 has spread to lbase
Resources cannot be fully utilized due to accumulation

In short, we are misusing it as a solution for eliminating l0 stacking rather than avoiding deadlock.
Therefore, I plan to reshape this setting. In most cases, follow the default compaction selection strategy, and only try to trigger it when the task cannot be selected and is in write-stop.


Is there any instructions for install and use on Mac?

Came across the repository. I would like to use it but it seems there are c++ code I need to compile first?

No, the C++ code is used for GPU acceleration. I have compiled one for windows. But the version of GPU mode is not stable. If you can not use it, please turn to CPU mode

Thanks for the reply. I will try the CPU mode then.


Scripting for Format string

What are you trying to achieve?
I am trying to loop through all columns in the model and  finding out all columns which have data type of decimal .
Once i have the columns that satisfy the above condition i want to update the format string as "#,##0.00"
What have you tried so far?
Tried foreach loop and if but was not able to update the FormatString , it was throwing some type conversion errors .
I would like some help on doing this through script.

Just Found the solution :
foreach(var c in Selected.Columns) {
    if (c.DataType==DataType.Decimal)
        c.FormatString="#,##0.00";

};


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3993

Questions ?
Please refer to the Backport tool documentation


package @floating-ui/dom doesn't work in Svelte REPL

This package is base of Popup component. now Popover and Tooltip doesn't work in REPL

use Popperjs


Submit only changed fields

Is there a way to submit only the fields that changed (as values)?

No, this up to the client code.
See related issue #701, and if you still need help with it, you may ask on StackOverflow using the redux-form tag.
Thanks!

Thanks @gustavohenke
I'll comment there


Find next/previous interrupt say all

Hi again
In keyboard settings, activate "Allow skim reading" option.
Without this add-on, if you press F3 or shift+F3 (native NVDA commands), the virtual cursor jumps to the next or previous found item and continues say all.
With this add-on installed, if you press F3 or shift+F3 during say all, the cursor jumps to the found location but say all is stopped even if "Allow skim reading" is activated. This is unexpected and the add-on should honour NVDA's option.
Thanks.

Fixed in 1.4.1. Thanks @thgcode !


Tests for operators

Every __operator__ method has a corresponding function which should have the same behavior, meaning the tests for those operators should be able to just reuse the test for the function. We should figure out a clean way to do this. Maybe it's just a question of parameterizing over the function so that something like test_add will parameterize over add(), x1.__add__ and x1.__radd__. There's also the complication of the in-place operators (x1.__iadd__), which work just like the operators except the input shape and dtypes are more restricted (the result shape and dtype must be the same as the lhs). This might just be a case of only testing op= when the inputs would be legal.
These are already split out in the type promotion tests (which are currently the only tests that test the operator methods). I don't know if those tests also need to be merged. If they can be merged simply they can be, but otherwise it is fine to keep them separate as they are now.

Would you mind if I identified paramters like so:

When testing operator dunder methods like __add__, id with the dunder method e.g. [__add__(int8, int8) -> int16]
When testing operator symbols like +, id with the symbol e.g. [int8 + int8 -> int16]
When testing inplace dunder method like __iadd__, id with the dunder method e.g. [__iadd__(int8, int8) -> int16]
When testing inplace symbols like +=, id with the symbol e.g. [int8 += int8 -> int16]

It's not necessary to test both the dunder method and the operator. Python will call the dunder method when the operator is used. The only slight hitch to that is the __r*__ methods are only called when the left operand returns NotImplemented, so we generally have to test them directly. As far as the actual pytest parameter ids, I think either way looks fine.


CI: Move IPsec CI jobs into separate pipelines

This PR moves IPsec test cases from conformance-e2e.yaml to conformance-ipsec-e2e.yaml. It would be beneficial to separate the IPsec test from normal ones as we will have more test specific for IPsec (e.g. #26350 ) and more IPsec features.
Signed-off-by: Zhichuan Liang<EMAIL_ADDRESS>

/ci-ipsec-e2e

/ci-e2e

@pchaigno Should I manually create a new github workflow for .github/workflows/conformance-ipsec-e2e.yaml? Right now https://github.com/cilium/cilium/actions/workflows/conformance-ipsec-e2e.yaml?query=branch%3Apr%2Fgray%2Fsplit-ipsec-ci says "not found".

/ci-ipsec-e2e


Shared Memory settings is not picked up

Expected Behaviour
We are trying to set shared_buffers parameter with following codes
const postgresContainer = new GenericContainer('postgres:14.3-bullseye')
  .withSharedMemorySize(256 * 1024 * 1024)
  .withUser('postgres')
  .withEnvironment({
    POSTGRES_PASSWORD: 'xxxx',
    POSTGRES_DB: 'idmp',
  })
  .withExposedPorts(5432)
  .withHealthCheck({
    test: ['CMD-SHELL', 'pg_isready'],
    interval: 5000,
    timeout: 1000,
    retries: 5,
  })
  .withWaitStrategy(Wait.forHealthCheck());
console.debug(postgresContainer);
const startedTestContainer = await postgresContainer.start();

Actual Behaviour
Below logs show that  ShmSize picks up the value 268435456 (256MB), however, further down the logs testcontainers select default value of 128MB.
Testcontainer Logs
GenericContainer {
  createOpts: {
    Image: 'postgres:14.3-bullseye',
    User: 'postgres',
    Env: [ 'POSTGRES_PASSWORD=example', 'POSTGRES_DB=idmp' ],
    ExposedPorts: { '5432': {} },
    Healthcheck: {
      Test: [Array],
      Interval:<PHONE_NUMBER>,
      Timeout:<PHONE_NUMBER>,
      Retries: 5,
      StartPeriod: 0
    }
  },
  hostConfig: {
    AutoRemove: false,
    **ShmSize: 268435456,**
    PortBindings: { '5432': [Array] }
  },
  imageName: ImageName {
    registry: undefined,
    image: 'postgres',
    tag: '14.3-bullseye',
    string: 'postgres:14.3-bullseye'
  },

testcontainers:containers [9ebe0f3e24e2] fixing permissions on existing directory /var/lib/postgresql/data ... ok +0ms
testcontainers:containers [9ebe0f3e24e2] creating subdirectories ... ok +1ms
testcontainers:containers [9ebe0f3e24e2] selecting dynamic shared memory implementation ... posix +0ms
testcontainers:containers [9ebe0f3e24e2] selecting default max_connections ... 100 +17ms
testcontainers:containers [9ebe0f3e24e2] selecting default shared_buffers ... 128MB +22ms
testcontainers:containers [9ebe0f3e24e2] selecting default time zone ... Etc/UTC +17ms
testcontainers:containers [9ebe0f3e24e2] creating configuration files ... ok +1ms
testcontainers [DEBUG] [9ebe0f3e24e2] Inspecting container... +102ms
testcontainers [DEBUG] [9ebe0f3e24e2] Inspected container +4ms
Steps to Reproduce

In this environment...
With this config...
Run '...'
See error...

Environment Information

Operating System: MacOS 13.5.2 (22G91)
Docker Version:  20.10.8
Node version: v18.17.1
Testcontainers version: 10.2.1

Hi @TieyanFu, the shared memory size is correctly being set by Docker, however I believe that Postgres also needs to be configured to use shared buffers which is currently outside the scope of Testcontainers.


questions: same code run in different linux kernel version shows different memory usage

What version of Go are you using (go version)?

$ go version 1.17.7

Does this issue reproduce with the latest release?
package main
func main() {
    for {}
}

What operating system and processor architecture are you using (go env)?
centos 8.0, kernel version 4.18.0
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/data/local/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/data/local/go"
GOPRIVATE=""
GOPROXY="http://goproxy.cn"
GOROOT="/data/local/golang"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/data/local/golang/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.7"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1416722979=/tmp/go-build -gno-record-gcc-switches"

What did you do?

go build  then run it background
then top -p pid
What did you expect to see?
same execucatable binary uses apparently different memory
the process on centos 8.0(kernel 4.18.0) use 5mb, while centos 7.0(kernel 3.10.0) use less than 1mb
What did you see instead?
i build it based on go version 1.14, same binary use approximate same memory

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


Uncaught ReferenceError: browser is not defined

After You press the button in the chatGPT website you can find this error in the edge://extensions/ page.
The error appears bellow the extension.
The error is on line 7 from popup.js file

This issue was fixed with replacing browser with chrome in popup.js


rvm hangs on importing global gemsets during rvm reinstall all --force

I'm in the process of upgrading from Ruby 2.4.1 to 2.6.3, and it failed during the gemset migration process.
So, borrowing some insights from other threads, I'm in the process of running the following:
sudo apt install libtool <-- DONE, already had it installed
rvm pkg install libyaml <-- DONE
rvm reinstall all --force <-- This is where I'm at currently

The process appeared to get "stuck" during "importing gemset ~/.rvm/gemsets/global.gems. I waited for close to 40 minutes before I decided to take a look at the log files to see if anything was there. I scrolled to the bottom of the file and saw what appeared to be a prompt waiting for user input:
bundler's executable "bundle" conflicts with /home/linux/.rvm/rubies/ruby-2.4.1/bin/bundle
Overwrite the executable? [yN]

So, on a whim, I went back to the "stuck" terminal session, blindly typed y <cr>, and it immediately progressed and finished up the remainder of the reinstall enchilada in a matter of seconds.
It's currently encountering the same "stuck" moment for 2.6.3 and my 'y' trick isn't getting anywhere this time. I'm just going to wait a bit longer and keep trying...
That said, is it possible a user prompt is not being shown, and it's simply waiting for a 'yN' response? Or is it possibly just a coincidence that my keypress matched up with its normal song and dance routine?

UPDATE: Going into the terminal session and pressing y <cr> immediately allowed it to progress to the next steps, it's now on 'pristine'.
It definitely appears that the "stuck" moment is actually just waiting for user input. Is it possible this could be made more apparent to the end-user during the process? Because, at least on my end, no indication of a prompt was ever displayed in the terminal, only the usual "progress" dots and tumbling line.

My apologies, just realized I posted this to the wrong repo!


Slow performance on transaction testing using generated FireFly API.

During several testing, using /api/v1/apis/{API_NAME}/invoke/{METHOD_NAME}?confirm=true (generated FireFly API) vs /api/v1/contracts/invoke?confirm=true (generic invocation) to invoke the same smart contract through FireFly results in very different performance number.
Also, when using the generated FireFly API endpoint, the difference between confirm=true and confirm=false is not significant.

Closing this for now before I gather more evidence and steps to reproduce this bug.


[Feature][Connector-V2] Support write cdc changelog event into hudi sink

Purpose of this pull request

Support  write cdc changelog into hudi sink, and fix #7837
Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Your hudi connector have a bug,please contact me wx<PHONE_NUMBER>1.

cc @liugddx

Overall LGTM.

Thanks @happyboy1024


Support RSA PEM files: replace signature.LoadECDSAVerifier() with signature.LoadVerifier()

Throughout the codebase signature.LoadECDSAVerifier() is used when signature.LoadVerifier() is probably more appropriate.  The docs suggest that RSA should be supported, but many features only support an ECDSA key currently. It appears that signature.LoadVerifier() will load the correct verifier automatically.
Currently some features crash when provided an RSA PEM file: (signed using an RSA cert on a smartcard, but that shouldn't matter)
$ cosign verify "$image" --cert cert.pem
panic: interface conversion: interface {} is *rsa.PublicKey, not *ecdsa.PublicKey

goroutine 1 [running]:
github.com/sigstore/cosign/cmd/cosign/cli/verify.(*VerifyCommand).Exec(0xc00069fc68, {0x68ed5f0, 0xc0001aa008}, {0xc000b7c990, 0x1, 0x32})
        github.com/sigstore/cosign@v1.5.0/cmd/cosign/cli/verify/verify.go:142 +0xbd4
github.com/sigstore/cosign/cmd/cosign/cli.Verify.func1(0xc000b7f900, {0xc000b7c990, 0x1, 0x3})
        github.com/sigstore/cosign@v1.5.0/cmd/cosign/cli/verify.go:107 +0x231
github.com/spf13/cobra.(*Command).execute(0xc000b7f900, {0xc000b7c960, 0x3, 0x3})
        github.com/spf13/cobra@v1.3.0/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc000a94780)
        github.com/spf13/cobra@v1.3.0/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.3.0/command.go:902
main.main()
        github.com/sigstore/cosign@v1.5.0/cmd/cosign/main.go:45 +0x4c

It's mostly a matter of swapping out the calls, but I don't know if there are any side effects of this change. Are there any limitations that currently require ECDSA keys? Regardless, the current behavior is a go panic which is a bug.

I think the rsa change should generally work.

Agreed, let's just test out the updated codepaths with RSA, ECDSA, and ED25519 keys.

There's still implicit assumptions that crypto.PublicKey == *ecdsa.PublicKey scattered about the codebase. It's unlikely we'll be able to completely get rid of error messages, since we (Sigstore's public services) don't support RSA keys

I was playing around with Fulcio yesterday, you can generate certificates with non-ECDSA keys since Fulcio uses LoadVerifier for the request's public key. I'm not sure about Rekor's assumptions.

Closing it! @bburky feel free to re open  it!


Implement Unsplash search by queries

It would be nice to implement the query parameter for unsplash random photo API.
I was thinking about a trivial implementation of the query parameter that always filter for that specific term, or a more complex queries parameters that accepts multiple queries that are randomly selected each refresh.
Single query:
config: {
   query: "birds" // every search will be filtered by birds keyword
}

Multiple queries:
config: {
   // every search will be filtered by one of those keywords, randomly selected or cycled through in order
   queries: [
      "birds",
      "home",
      "sky"
   ]
}

It could be used instead or in conjunction with the collections parameter.

a wonderful idea :)

Do you accept pull requests? I should have a working implementation.

Yep, I do accept pull requests and I've been meaning to put together a contributors doc.
Your code looks great, do you mind adding a description for the queries option to the Configuration Options section in the README.md file and submitting the pull request to the dev branch? Thanks for the feature 👍

Nice work!


⚠ ClamAV has degraded performance

In 9957cdf, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 97 ms

Resolved: ClamAV performance has improved in 9152ace after 5 minutes.


Year-End Statements (Payment Receipts)

User story

For tax purposes, is it possible to get a statement for my 2021 contributions to ___. What I would like is an end-of-the-year statement that I can turn in to my accountant. The spreadsheet needs to have information about who the contributions were made to.

Current solution for this problem

We don't have yearly receipts at the moment. The best we can offer is monthly, can go to Admin > Payment receipts and download the 12 PDFs for the year.

MVP
From @Betree :

We can implement yearly if it's useful, from the engineering perspective it's super simple - just need to find the proper design to display it.

Please enable the user to select the date range for this. In NZ our financial year is Apr-Mar not calendar year, and other places have a different financial year.


add English translation

Add README.en.md with English translation.
Add link to main README.md with link to English README.

Let me know if this looks :ok_hand:

looks :ok_hand:
Thanks @bucaran for your awesome contribution!

Thank you for creating this list :+1:


Fixing translation in clinic changelog [revised PR]

I rule and have completed some work on Case Manager that's ready for review!
I added a Clinic_Id field and its Spanish translation so that the field renders appropriately in the Change Log section of the app.
This pull request makes the following changes:

added "clinic_id: Clinic ID" to mongoid.attributes.patient in en.yml
added "clinic_id: ID de la clínica" to mongoid.attributes.patient in es.yml

It relates to the following issue #s:
Fixes #1921
For reviewer:
Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:
feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.
If it contains neither, no need to tag this PR.

Looks like some tests are still failing. Could you take a look?

Hi Cristina,
Kat and I are meeting about it this evening to resolve.
Thank you!
Arjun
On Thu, Aug 20, 2020 at 11:56 AM Cristina<EMAIL_ADDRESS>wrote:

Looks like some tests are still failing. Could you take a look?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DCAFEngineering/dcaf_case_management/pull/2040#issuecomment-677750958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALCPWDDQVBCNOTQM7V7VHEDSBVBRTANCNFSM4QGE4YGA
.

--
Arjun Rawal
arjunrawal.codes | LinkedIn http://www.linkedin.com/in/arjun-rawal
903-948-0452


[Feature request]

Is your feature request related to a problem? Please describe.
in picture i have seen background color on texts like here:

How do i add it ? if it doesnt exist, is it possible to add for future updates?
Describe the solution you'd like
if not possible to add a bgcolor, at least make it possible to add changable Title Text format etc. so i can emphasis a difference while reading.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
simply add some features like in office word.

That's a great idea, I would love to see this implemented.


Avoid contention in iree_task_executor_coordinate when multiple workers simultaneously wake-wait.

With pathologically bad workgroup distributions (such as tiny elementwise dispatches that run on hundreds of workgroups of ns each) it's possible for every worker to wake at nearly the same time, find that they have no work to do, and then attempt to run coordination before going back to sleep. Since coordination holds a lock this can create situations where all workers are blocked on the lock waiting for whoever was waking them to release it.
In this example (resnet50 on 32 cores with bad dispatches) there's a wide dispatch of nearly zero work followed by the lock storm:

This happens because the post_batch_wake_workers takes awhile and the coordination lock is held until it completes. Since threads are woken in order each will wake, do the work (or discover it's been stolen from them), and try to coordinate while the original waker is still waking other workers. The wake chain progresses as the wake_workers completes and all blocked workers wake and take/release their lock.
There's no additional context switches here over if this didn't happen as the workers would have gone to sleep and then be woken again anyway but it does really mess up statistics and could have other unforeseen consequences. Since the dispatch completes before the waking completes the same coordination run then launches the subsequent dispatch, and since all the threads are marked as woken (but waiting on their lock) the wake is free and all workers get new presents in their mailbox:

Once the workers do their useless coordination they pump and immediately begin processing their work as their wait becomes a no-op:

I don't expect much/any improvements in latency from this, but it's nasty and may prevent broadcast wakes from being used (as the lock futex will only ever wake one waiter at a time). Some ideas are to go back to coordination doing a try_lock/speculative check on whether coordination is required, having two-tiered locks such that workers check their mailboxes outside the lock first, moving waking outside of coordination (as it's the most expensive part), or reworking coordination to be lockless (best but tricky).

Hey @benvanik can you add a priority to this?


Pass grant_date to access_token callback?

Thanks for your work on this!
Small thing -- it looks like the grant_date has been encoded in the access_token so that implementers can expire or deny use of a given access token according to their needs. However, the grant_date is being parsed but not passed to the access_token callback here:
https://github.com/ammmir/node-oauth2-provider/blob/master/index.js#L53
I'm guessing this was just overlooked and needs a quick fix, but is there some other reason for withholding this from the callback?

thanks for catching this omission!
to avoid breaking existing deployed code, i'll create a branch for v1 that you can track (i won't push it to npm for a while, though).

Great, thank you.


application not working after publish my side

I am using this application to in my local it's working fine for me, but i deployed with same code but its not working. can you please provide the solution for this.

@gitdevnaresh how are you deploying it? is it a docker deployment? check the docker file in this repo for a sample. There is no information to help please provide some more info and context.

hi thanks for reply, i am not using docker. i am trying to publish direct with command of "pnpm run build". and trying to publish vscode using azure app service. and i tried to publish vercel too i am facing issue 404 not found.

I tried deployment with Docker i am facing  issue  like this. can you please help me out to solve this issue.

@gitdevnaresh I'm using turbo repo. check here for vercel documentation here https://vercel.com/docs/monorepos/turborepo

@antosubash-dev, can you please check once docker image issue. i am struck with docker image creation
I am facing issue when i run docker command
=> ERROR [7/9] COPY --chown=nextjs:nodejs /apps/abp/.next/standalone ./
In .next path that folder is not there.

How can i resolve this can you please help me out here.

@gitdevnaresh I'm currently using the docker deployment. you can check the repo and GitHub action. I don't know how you have configured your deployment so I'm not sure how I can help. Just by looking at the error it seems like the context is wrong.


Replaced the UUID constant function call with RAND

We need to use some constant value cast to the target type as a workaround, so that Dremio does not optimize away the cast on NULL constants.
Previously, we used the UUID() function to get this constant value, as Dremio is less likely to optimize that compared to just using 0.
However, UUID() is not supported by all Dremio versions. We now use RAND() instead to achieve the same goal.

Was a problem for Dremio Cloud.
Thanks Damian!


Fix field empty string

Fix this issue:

https://github.com/fazpass/goliath/issues/10

thank you @rindibudiaramdhan


Crash on Auto Identify loading in 1.4.3 and 1.4.4a

Hi I just started using this app and immediately this my issue on the windows builds when trying to Auto Identify.
Win 10 x64 21H2

And my log is as such:
ComicTagger.log

Hmm, it appears that one of the issues that it matched with doesn't have a number part for the issue, I'll see what I can do to fix it tonight

Hmm, it appears that one of the issues that it matched with doesn't have a number part for the issue, I'll see what I can do to fix it tonight

Yeah it seems other series work okay and I found out I actually really only need the files renamed to something not crazy and in order to use the app I prefer with my SMB shares. The app doesn't support tags, ComicTagger does not rename the files to fit the tag layout right? I might swap to komga though and then would need them I guess. Thanks for the help.

ComicTagger has full support for renaming comics based on metadata, including moving into folders based on metadata


Change CRD to use lower camel case

Changed all-in-one key (and strategy value) to use allInOne.
Changed cassandra-create-schema to be cassandraCreateSchema.
Signed-off-by: Gary Brown<EMAIL_ADDRESS>

This change is

@jpkrohling Agree. We need to decide when the operator is stable enough to start maintaining backward compatibility and using spec version to make significant changes. We should also do a release soon and document the breaking changes.


gitignore: ignore vim swapfiles

[One line description of your change]
Motivation:
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Modifications:
[Describe the modifications you've done.]
Result:
[After your change, what will change.]

Sure, I don't mind.
One would normally put this into $HOME/.gitconfig I guess, but happy to merge.

@swift-server-bot add to whitelist


[SMALLFIX] Set default mesos JDK url to local

@aaudiber PTAL.

While we're changing this, do you mind adding to the description that "LOCAL" means we will use the jdk already on the system?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19484/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19502/
Test PASSed.

@bf8086 can you make this change in branch 1.7 as well?


Enhance the efficiency of streams by implementing the timestamp extractor interface and defining the grace period for record

The windowing operations are driven by record timestamps, not by wall-clock time. In Kafka Streams, the earliest timestamp across all partitions is chosen first for processing, and Kafka Streams uses the TimeStampExtractor interface to get the timestamp from the current record.
By implementing the TimeStamp extractor interface and defining the grace period for all the records, we would be able to better manage the parallel operations being done by all the analyzers. By defining a grace period ( which is by default 24 hours in Kafka) we would be able to set when the streams stops waiting for out of order records and return the result of computation.
My understanding is also that we do not need a 24 hour grace period for the results from analyzers.
Reference documentation here.

No longer relevant in the current implementation.


feat request: Sendpack

May add support sendpack
https://codesandbox.io/blog/sandpack-announcement
https://github.com/codesandbox/sandpack
Examples : https://github.com/MaximeHeckel/blog.maximeheckel.com

Gonna look into it, thank you for the suggestion!


fail on unhandled rejection

@chriseppstein this is to resolve the issues you pointed out on #443

[x] fail the build on unhandledRejection
[ ] fix all failures

closing in-favor of: https://github.com/broccolijs/broccoli/pull/450


[React-Native] Expo Web doesn't support styled.Component notation

Environment
System:

OS: macOS 10.15
CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 1.31 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh

Binaries:

Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.15.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman

npmPackages:

styled-components: ^4.3.1 => 4.3.1

Reproduction

Create a new project with Expo, using TypeScript.
Add styled-components as dependency.
The target "web" should be specified in app.json, like so:

"platforms": [
  "ios",
  "android",
  "web"
],

Steps to reproduce

Add the following line to any used file: import styled from 'styled-components/native.
Use const Test = styled.View somewhere.

Expected Behavior
Module builds, everything compiles and I get my styled component.
Actual Behavior
Module build warns (does not error for some reason):
Attempted import error: 'react-native' does not contain a default export (imported as 'reactNative').

in
styled-components/native/dist/styled-components.native.esm.js

It works fine if I import the component separately and use styled() as a function, like so:
import styled from 'styled-components';
import { View } from 'react-native';

const Test = styled(View) //...

Can you try using the v5 beta? We reworked this to support RNW that may fix this as well?

same problem here

Can you try using the v5 beta? We reworked this to support RNW that may fix this as well?

I will try and update you about this. I'll need to set the project up without TypeScript though, because last time I check the @typings repository was not updated for v5 beta.

Oooh so I was able to confirm that this is fixed in v5 but only if you import styled from 'styled-components/native' (not import styled from 'styled-components')

Same behaviour with styled(Text) with the same import.
With import styled from 'styled-components', on Expo web you get the DOM version, which is still busted in the same way:

Switching to styled(Text) "works", but treats the Text component like a web component, passing className to it, which ends up with wonky styles:

(Lol, just figured out that that was because I had line-height: 24; not line-height: 24px;. But that shows you about how the DOM and RN versions of SC differ, hey?)
You also get this warning:

Which is discussed in this RNW issue: https://github.com/necolas/react-native-web/issues/1146
As for styled-components/native vs styled-components, I couldn't remember when that changed. Turns out it was part of the v3 release 18 months ago. I'm guessing anyone who's done the RNW conversion until this point has been accidentally injecting className props and things have been mostly ok, until now.
TL;DR: v5 works as long as you import styled-components/native!

Found another way, since something we were doing in our app was conflicting with the hooks implementation of v5.
You can stub out the default export in RNW like this:
// config-overrides.js from react-app-rewired

module.exports = function(config, env) {
  config.resolve = {
    ...config.resolve,
    alias: {
      ...config.resolve.alias,
      'react-native': path.resolve(__dirname, 'mocks/react-native')
    }
  };

  return config;
};

// mocks/react-native.js
import * as RN from 'react-native-web';
export default RN;

export {
  createElement,
  findNodeHandle,
  render,
  unmountComponentAtNode, // modules
  processColor,
  NativeModules,
  TextPropTypes,
  ViewPropTypes, // APIs
  AccessibilityInfo,
  Alert,
  Animated,
  AppRegistry,
  AppState,
  AsyncStorage,
  BackHandler,
  Clipboard,
  DeviceInfo,
  Dimensions,
  Easing,
  I18nManager,
  InteractionManager,
  Keyboard,
  LayoutAnimation,
  Linking,
  NativeEventEmitter,
  NetInfo,
  PanResponder,
  PixelRatio,
  Platform,
  Share,
  StyleSheet,
  UIManager,
  Vibration, // components
  ActivityIndicator,
  Button,
  CheckBox,
  FlatList,
  Image,
  ImageBackground,
  KeyboardAvoidingView,
  ListView,
  Modal,
  Picker,
  ProgressBar,
  RefreshControl,
  SafeAreaView,
  ScrollView,
  SectionList,
  Slider,
  StatusBar,
  SwipeableFlatList,
  SwipeableListView,
  Switch,
  Text,
  TextInput,
  Touchable,
  TouchableHighlight,
  TouchableNativeFeedback,
  TouchableOpacity,
  TouchableWithoutFeedback,
  View,
  VirtualizedList,
  YellowBox, // propTypes
  ColorPropType,
  EdgeInsetsPropType,
  PointPropType, // compat (components)
  DatePickerIOS,
  DrawerLayoutAndroid,
  ImageEditor,
  ImageStore,
  InputAccessoryView,
  MaskedViewIOS,
  NavigatorIOS,
  PickerIOS,
  ProgressBarAndroid,
  ProgressViewIOS,
  SegmentedControlIOS,
  SnapshotViewIOS,
  TabBarIOS,
  ToastAndroid,
  ToolbarAndroid,
  ViewPagerAndroid,
  WebView, // compat (apis)
  ActionSheetIOS,
  AlertIOS,
  CameraRoll,
  DatePickerAndroid,
  ImagePickerIOS,
  PermissionsAndroid,
  PushNotificationIOS,
  Settings,
  StatusBarIOS,
  Systrace,
  TimePickerAndroid,
  TVEventHandler,
  VibrationIOS
} from 'react-native-web';

Ain't pretty, but it works. Gets me styled-components v4.3.2 working with react-native-web v0.11.4

I'm facing some of these issues with NextJS. It only happens with styled-components. Has anyone else hit this?
The issues SEEMS to be something related to improper aliasing of "react-native" from within styled-components. I'm unsure how to solve it though.
I know how to make it work with Razzle.js, but I can't for the life of me figure out how to get to the same working state with NextJS. My suspicion is that it has to do with webpack's config.externals - BUT it could also be something in babel.config.js.
If someone has tackled this issue, you'll be my favourite person of the year.
I've setup to repo's reproducing the issue
--- Next.js
pages/index.js - WORKS
pages/problem.js - FAILS (has styled-components/native)
--- Razzle
pages/Home.js - WORKS
pages/Home.js - WORKS (has styled-components/native)
https://github.com/Aleksion/rnw-styled-next
https://github.com/Aleksion/rnw-styled-razzle

Recommend trying this fix:
https://github.com/styled-components/styled-components/pull/2797
Worked for me.


All urls should be lowercase

Describe the problem
Have tried hook.js but not works
Describe the proposed solution
Via hook.js we can do lowercase url then all should be lowercase
Alternatives considered
No response
Importance
nice to have
Additional Information
No response

all bug reports should follow the issue template


Skip identical imports by looking at the last modified date

Not sure how to test this locally, so I don't know if this actually works or not.
Fixes: #486

Adding the extra tests are still in progress


Book: How can I help?

@Hofer-Julian I was reading through the book and it was awesome, but I also saw some teasers on other interesting chapters. Is there a way how I can help you to finish them sooner? :)

Not Julian, but I guess helping out with issues that are tagged https://github.com/gtk-rs/gtk4-rs/issues?q=is%3Aissue+is%3Aopen+label%3Abook would be of a good help as well

Indeed. Although, make sure to comment on the issue before you are starting to work on it. Most of them need further discussion.

Thank you @bilelmoussaoui.
@Hofer-Julian will do!

I suppose this can be closed now. Please join our Matrix: #rust:gnome.org channel and make use of https://github.com/gtk-rs/gtk4-rs/discussions for questions like this one in the future

@bilelmoussaoui Thank you for the suggestion! I'll join it.


Error message

Category
    [ x] Error
OS
    [ x] Mac
Vim
    [ x] nVim
Shell
    [ x] Zsh

Error detected while processing function 46_on_vimenter[5]
..startify#insane_in_the_membrane[81]..129_show_lists[12]..129_show_files[1]..
129_display_by_path:
line  14: E117:
Unknown function: WebDevIconsGetFileTypeSymbol

Error detected while processing function 46_on_vimenter[5]..
startify#insane_in_the_membrane[81]
..129_show_lists[12]..129_show_files[1].
.129_display_by_path:
line   14: E15:
Invalid expression:
s:leftpad .'['. index .']'. repeat(' ', (3 - strlen(index))) .WebDevIconsGetFileTypeSymbol(absolute_path) ." ". entry_path

What did I do?
I've installed Rnvimr
and afterwards mapped :RnvimrToggle via vim-which-key

result:
I can see the icon upon starting Nvim , but none of the recent numbered files
also startify page is visually very buggy (must be ranger/ how to fix that?)

anyone?

 it looks like this: the intro graphics are there, but the projects are gone


FailedMount in windows node

Describe the bug
We are using Azure Workload identity to fetch secrets from Azure Key Vault. It works perfectly for Linux nodes. Today when we are testing it with windows nodes, the pod with image servercore:ltsc2019 is having issues to spin up due to the FailedMount issue. The pod works without the secret store volume mount.
Steps To Reproduce

Create AKS 1.24.6 from ARM template with azureKeyvaultSecretsProvider addon enabled.
Create AAD spn, Key vault, assign read access to the spn, create federation identity with kubernetes service account, create the Kubernetes service account (use workload identity cli)
Deploy a SecretProviderClass pod targets the key vault
Deploy a windows workload with the volume mount

Expected behavior
The secret values from key vault is fetched and Kubernetes secret is created.
Logs
Type     Reason       Age                  From               Message                                                                                ││   ----     ------       ----                 ----               -------                                                                                ││   Normal   Scheduled    7m59s                default-scheduler  Successfully assigned sitecore/enigma-745c9d8fdb-8bfxb to akswindev000002
││   Warning  FailedMount  3m39s                kubelet            Unable to attach or mount volumes: unmounted volumes=[secrets-store], unattached volumes=[azure-identity-token secrets-store kube-api-access-9z42q]: timed out waiting for the condition
││   Warning  FailedMount  118s (x3 over 6m)    kubelet            MountVolume.SetUp failed for volume "secrets-store" : rpc error: code = DeadlineExceeded desc = context deadline exceeded
││   Warning  FailedMount  81s (x2 over 5m57s)  kubelet            Unable to attach or mount volumes: unmounted volumes=[secrets-store], unattached volumes=[secrets-store kube-api-access-9z42q azure-identity-token]: timed out waiting for the condition        ││
Environment

Kubernetes version (use kubectl version): 1.24.6
Cloud provider or hardware configuration: Azure
OS (e.g: cat /etc/os-release): windows
Kernel (e.g. uname -a):
Install tools:
Network plugin and version (if this is a network-related bug): azure
Others:

Additional context
apiVersion: apps/v1
kind: Deployment
metadata:
  name: enigma
  namespace: sitecore
spec:
  selector:
    matchLabels:
      app: enigma
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    spec:
      containers:
        - command:
            - powershell.exe
            - -command
            - Start-Sleep 1000
          image: velux.jfrog.io/docker-dev/windows/servercore:ltsc2019
          imagePullPolicy: IfNotPresent
          name: enigma
          resources:
            limits:
              memory: 500Mi
            requests:
              cpu: "1"
              memory: 500Mi
          volumeMounts:
            - mountPath: /var/run/secrets-store
              name: secrets-store
              readOnly: true
      imagePullSecrets:
        - name: regcred-dev
      nodeSelector:
        kubernetes.io/os: windows
      os:
        name: windows
      tolerations:
        - effect: NoSchedule
          key: workload
          operator: Equal
          value: win
      volumes:
        - csi:
            driver: secrets-store.csi.k8s.io
            readOnly: true
            volumeAttributes:
              secretProviderClass: cartographer
          name: secrets-store

@JBrejnholt AKV provider for Secrets Store CSI Driver does not use this webhook for workload identity. For issues related to the CSI driver I would recommend opening an issue here: https://github.com/Azure/secrets-store-csi-driver-provider-azure/issues. Also, in the new issue in that repo, please post the provider and driver logs from the same node as workload that'll contain relevant detail on the error (xref: https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/troubleshooting/)


Run shell script command fix for windows

What kind of change does this PR introduce (Bug fix, feature, docs update, ...)?
Bug fix

What is the current behavior?
Dev environment setup on windows system gives error for setup script.

What is the new behavior (if this is a feature change)?
Dev enviroment setup for windows is fixed by invoking the shell script with sh command.

Does this PR introduce a breaking change? If so, what actions will users need to take in order to regain compatibility?
If the PR brakes, then just change remove sh prefix from the run_command()

Checklists
All submissions

[Y] Have you followed the guidelines in our Contributing document?
[N] Is this PR targeting the develop branch, and the branch rebased with commits squashed if needed?
[Y] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New feature and bug fix submissions

[Y] Has your submission been tested locally?
[N] Has documentation such as the README been updated if necessary?
[Y] Have you linted your new code (using rubocop and markdownlint), and are not introducing any new offenses?

Thanks. What Windows shell did you find you needed this change for - Git Bash, or a WSL shell like Ubuntu?
The develop branch has many Windows-related fixes in it although Ruby running through Git Bash still has trouble with sh files, I'm wondering if this would fix that.

Hi,
I used git bash as a terminal, one thing to know here is we need to switch docker to Linux container mode.
In Windows the root path starts with drive name eg D:\ which is an formatting issue.

Your changes seemed to fix the last remaining problem I was encountering with Git Bash, excellent!
Because this PR is targeting master, and I have made significant changes in develop that would make merging a bit tricky, I'm going to close this PR, but rest assured your changes are integrated, and will be in the next release.
I have created a wiki page with suggestions for getting Windows fully working which will apply to the next release - https://github.com/LandRegistry/common-dev-env/wiki/Windows-setup

Thanks @sdchapman


[Removal]: Total BS

Hotspot Name
Snowy Curly Piranha
Hotspot b58 Address
11f24wAUWNDvXAQcjKESzFaMstZK3akE9ebNaP9eXGtC4axtBe9
Discord Handle
Cryptomike82
Hotspot Manufacturer
RAK
Removal Reason
Factory unmodified RAK V2 asserted correctly
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
This is the third time Ive asked to be removed. I have done nothing wrong. Is this a RAK issue? Because now my fathers stock unmodified and corectly asserted hotspot is on the same list as my hotspot. I have waited paitently like the devs suggested, and its been well over a week with no earnings. Helium has serious centralization issues! Please take me off of the deny list. I should not have to beg like this!!!!!!!!!

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Breaks with Next.js

I am trying to figure out what's up with this. I added this library to next-transpile-modules, as well as the d3 library, but no luck. Going to keep trying.

Turns out, the error was this:
const priceText = useDerivedValue(() => {
  let price = selectedPrice.formatted.value || ''
  if (!price && lastPrice != null) {
    price = `${lastPrice}`
  }

  return `$${price}`
})

Looks like you can't use null passed from JS to useDerivedValue, and lastPrice: null | number. Changing it to 0 when it's null fixed it. 🤷♂


dropdown with icons not wide enough

A dropdown menu with icons from a menu-button in a navbar is not wide enough to display its content without scrolling.
Expected Behavior

Dropdown container is wide enough to display its content
Current Behavior

Dropdown container has horizontal scrollbar at the bottom
Steps to Reproduce (for bugs)
see https://codepen.io/anon/pen/WdzxLz
Context
I'm trying to have a nice menu dropping down from a button at the right edge of the navbar.
Your Environment
checked on several desktop browsers under Windows

You can always turn off constrainWidth and set your own width for the .dropdown-content
https://codepen.io/anon/pen/GQOpVJ

Turning off constrainWidth does not help, and setting the width is not so easy since the strings in my app are localized.

.dropdown-content {
  width: auto !important;
  li a {
    white-space: nowrap;
  }
}

worked for me.
Materialize version is 1.0.0-alpha.3

Really? Because turning off constrainWidth works with the pen:
https://codepen.io/anon/pen/GQOpVJ

It doesn't work with
.dropdown-content {
  white-space: nowrap;
}

Why would you need the nowrap? If you turn off constrainWidth the width should auto-adjust to the length of the content within it. So you wouldn't need nowrap since it wouldn't wrap the text to begin with.

If you don't use any icons everything is ok. But if you use an icon, you probably need it on the same line as word..

What is the current status of this issue? Does anyone have any quick fixes that work? I can't seem to wrangle the icon onto the same line with CSS!

This pen works on alpha 4. If you add constrainWidth: false it should work.


Localization of month names

As far as I could gather from the source code, the month names (i18n) are hardcoded? So no way of passing a customI18n props that has month names other then the supported languages (en / zh / jp) ?

the same question... thanks!

I found the solution for changing month names,
The only thing you need to do is to go on the directory where the package is located. Like this :

and then, you find a file called "index.js", open this file.

Now, it's simple, you only need to change the "en" param months by the localization you want.
Regards

It's not recommanded to edit a npm package but it's the only way I found for doing it :/


Converted no-relative-import-in-test from TSLint to ESLint

~WIP. I can't figure out how to get the types to work in test.~ Strange, I'd been under the impression they were failing at some point. But it seems like they're working. ✅
Continues #648 by migrating no-relative-import-in-test from TSLint to ESLint.

I'm going to try to get this up-to-date and matched with a DT fixup today.

lodash is the only package with an exclusion for this rule.
However, with the exclusion removed, I can't get the rule to fail. I stuck some logging in and it looks like ImportDeclaration never gets hit. I think I'm unable to test locally with mismatching typescript versions.
I'm going to merge this and ship it, but I need to figure out how to test locally reliably. It may be that dt-tools needs to update to the same version of typescript that DT uses.


Add taxon restriction for carotenoid/ pombe and S. cerevisae

After speaking to metabolomics experts, we don't think that either pombe or cerevisiae  naturally produce carotenoids
Please add never_in taxon restriction to these 2 yeast (am picking up mappings which I'll deal with separately).

Component GO:0043702	carotenoid vesicle
Process	 GO:0016116	carotenoid metabolic process
Process	 GO:0016118	carotenoid catabolic process
Function	 GO:0046608	carotenoid isomerase activity
Function	 GO:0010436	carotenoid dioxygenase activity
Process	 GO:0016117	carotenoid biosynthetic process
Note: Some fungi do produce carotenoids
Rhodotorula and Rhosporidium spp.  are fed to farmed salmon to ensure pink flesh

Added restrictions for
Component GO:0043702 carotenoid vesicle
Process GO:0016116 carotenoid metabolic process
Function GO:0046608 carotenoid isomerase activity
Function GO:0010436 carotenoid dioxygenase activity
+relationship: never_in_taxon NCBITaxon:4896 ! Schizosaccharomyces pombe
+relationship: never_in_taxon NCBITaxon:4932 ! Saccharomyces cerevisiae
Process GO:0016117 carotenoid biosynthetic process
Process GO:0016118 carotenoid catabolic process
Will inherit the restriction from carotenoid metabolic process


Feature Request: Add ability to modify linter calls

I would like to be able to augment the calls to the linter or at least add additional arguments. I have at least one project in which I would need to add some additional parameters to eslint. From what I understand this is currently not possible.
If users could either define something like g:ale_linter_<lintername>_args to add arguments or g:ale_linter_<lintername>_cmdline wich would specify a format where variables are replaced with current file and such it would be easy to modify linters to individual needs.
Would that be feasible, acceptable? What other options would there be?

Check the documentation to see which linters already support this. Some do not. If you know of a specific linter you want this for, open an issue for it. I don't believe users should be allowed to change the entire set of arguments for a command, as some arguments are required for the plugin to work at all, like options to read from stdin. Most options should be configurable.
For eslint, most of your settings can be changed by writing eslint configuration files, which should be detected.

@w0rp I cannot specify --rulesdir in the .eslintrc ;} hence my need to configure that somehow.

Replaced by #257


[Bug] Theme has merge conflicts markup merged into file

The theme file is invalid because it has merge conflicts merged into them.
                "scrollbar.track.border": "#01EB5F10",
<<<<<<< HEAD
                "scrollbar.thumb.background": "#01EB5FC0",
=======
                "scrollbar_thumb.background": "#01EB5FC0",
>>>>>>> e7a5670351a2dab30eee81fac5a84935c68028df
                "search.match_background": "#01EB5F80",

https://github.com/Takk8IS/call-trans-opt-received-2-19-98-13-24-18-rec-log-theme-for-zed/blob/main/themes/call-trans-opt-received-2-19-98-13-24-18-rec-log.json

Thanks. Review today.


Split MusicLibApi into MusicLib & MusicUtil

To abide by the "Single Responsibility Principle":

MusicLib for fetching data about my music library (e.g. on Spotify)

connects with Spotify and other providers

MusicUtil for organizing & manipulating music data (e.g. grouping by genres)

no need for Spotify connection
should be agnostic about music platform; could work regardless of whether data is fetched from Spotify, Apple Music, or anywhere else

Could be divvied up like this:
MusicLib
    def __init__
    def add_artist_genres(self, albums):
    def get_artist_genres(self, album):
    def create_playlist(self, name, tracks, description=""):
    def spotify_client(self):
    def fetch_albums(self):
    def get_time_utc(self, time_utc_str):
    def was_added_recently(self, time_added):

MusicUtil
    def group_albums_by_genre(self, albums):
    def detect_genre_matches(self, albums_by_id):
    def group_albums(self, album_ids, matches):
    def as_readable_key(self, list_):
    def get_most_popular_tracks(self, album, num_tracks):
    def get_tracks_from_each(self, albums, num_tracks_per_album):
    def get_tracks_most_popular_first(self, album):
    #def get_my_albums_grouped_by_genre(self):

Done a while ago


Adds fix for NAN value and pressure values outside of device reported min and max

Fixes #26624, also adds fix for nan values causing update to incorrectly trigger.

Will this handle Android devices that have no pressure touch features as well? I can see comments about the gesture recognizer only being triggered for devices that have this feature, but my Samsung J7 and OnePlus 6T both report every PointerEvent as having a pressure of 1. This completely breaks CupertinoTextFields on Android as they react to every touch down as if it's a pressure touch, and the widget does not allow disabling or overriding the pressure touch functionality. Sorry if this has been fixed elsewhere already, I'm on the stable branch.


Master

Cleaned my pull request by deleting unnecessary files and leaving only pre-commit & .clang-format