Holonomic robot: oscillation when strafing

Looks like when we strafe we don't update the beginning of the trajectory, and so the look-ahead poses gets behind of the robot:
https://user-images.githubusercontent.com/322610/157814372-a72d3f1d-70ca-41e3-9316-3f0a491d49ab.mp4
When moving fw/bw the beginning of the trajectory always starts on current robot pose, so there's no problem:
https://user-images.githubusercontent.com/322610/157814078-4f7e7ac2-846e-4c98-8f43-0236b354ad14.mp4
A workaround that works for us is to set force_reinit_new_goal_dist to 0.0, so TEB is continuously recomputing the trajectory.
Another, possibly better, is to reduce dt_hysteresis, cause the problem seems to be that we don't drop poses fast enough here

After some research, I narrowed down the problem, but still don't have a solution. For some unknown reason, the dt of the TEB poses don't get updated when strafing, I guess because the optimization only considers velocity along x axis. I printed the total time for the trajectory and it remains constant!
You can see on the video how the poses height (as a proxy of estimated reaching time) remains static when strafing, but not when moving straight or even when we have a small vx component:
https://user-images.githubusercontent.com/322610/158321796-1cfd072c-4d2d-4056-b130-5e57ed6fb273.mp4
Reducing dt_hysteresis avoids the issue because we keep dropping the traversed poses even without updating the the dt.

Still not fixed, but I narrowed down the problem a bit more. Looks like the EdgeAccelerationHolonomicStart, as I can avoid the problem by setting _error[1] to 0, or weight_acc_lim_y to 0.
DISCLAIMER: no idea why this happens

@doisyg, remember, I invite u to yakiniku!


Vp09 encoding speeds up videos

Expected behaviour
Using opencv-python video writer with vp09 and webm container to save a video.
Actual behaviour
The resulting video happens to be speeded up : it is 4 times faster than in real life. However the frame rate does not change.
e.g. 10 seconds recording at 20fps results in a 2,5 seconds clip at 20fps. The video start a normal frame rate for about 1 sec and then speeds up.
Steps to reproduce
import cv2
import os
import time

CAPTURE_LENGTH = 10 #seconds

#Capture video from webcam
vid_capture = cv2.VideoCapture(0)
fourcc = cv2.VideoWriter_fourcc(*'vp09')
output = cv2.VideoWriter("cam_video.webm", fourcc, 20.0, (640,480))
start = time.time()

while(time.time() < start + CAPTURE_LENGTH):
     ret,frame = vid_capture.read()
     output.write(frame)
vid_capture.release()
output.release()

operating system : tested on Ubuntu 18.04 x86 and windows 10 20H2 x86
opencv-python version <IP_ADDRESS>

Tested on opencv-contrib-python <IP_ADDRESS> : same issue

@rsoubi Could you try the same code not with real time camera, but with video input or sequence of images. VideoEncoding is computationally heavy procedure. In case if video encoding takes more that 50ms (20 fps) than video encoder gets less frame than it should. 20fps is passed as video meta and players use it for playback. That's why you observe the speedup.


Implement Xcode misplaced finder

I added new Xcode tool to find misplaced constraints on Storyboard/XIB.
Look giginet/dokumi-test#2 to check behavior of this feature

@vincentisambart @slightair Thank you for reviewing.
I use Nokogiri to parse XML and refactor reviewed points.
Please check it out.

LGTM

@slightair Thank you for reviewing.
Can I merge it? @vincentisambart

LGTM


Fix NPE when a player is kicked

closing in favor of https://github.com/twizmwazin/CardinalPGM/pull/270


Feature login

Sorry for the long PR.
Feature login should be working now, with email validation and error handling.
An error message will be displayed accordingly if the login fails or the email is invalid.
For now, if login is successful the user will be redirected to /home route, we'll fix that when we implement route protection in the following days.
Also if you have any advice, suggestion or complementary material regarding project/folder structure for React projects, we'd really appreciate it, cause our folders are starting to get a little messy.
Thanks and have a good evening!

Hi Sara!
The structure is fine. You used custom hooks that's wonderful. Maybe you could put these custom hooks at "hooks" folder.
To finish checking it I need the environment variables, please add them in the readme, just like you did in the backend readme

Hi Sara! The structure is fine. You used custom hooks that's wonderful. Maybe you could put these custom hooks at "hooks" folder.
To finish checking it I need the environment variables, please add them in the readme, just like you did in the backend readme

I added the .env example in the readme!

An eye icon to show password would be fine Sara! For password inputs only.
It works properly.

An eye icon to show password would be fine Sara! For password inputs only. It works properly.

It's done! 😅

Really nice!


Is valid takes mut reference

Change is_valid() to take the connection by reference. This simplifies the API, and lets the resulting connection be kept on error, allowing for features like CustomizeConnection to be implemented in the future. #63

I think this looks good. Thanks!


Bug: Correct stroke sometimes doesn't show

Yeah correct stroke doesnt show occasionally, unknown reason why, needs more debugging

ok i think it should be fixed idk tell me if its not


ImportError: /workspaces/BRNet/mmdet3d/ops/ball_query/ball_query_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceIN3c107complexINS2_4HalfEEEEEPKNS_6detail12TypeMetaDataEv

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
I tried running the demo mentioned in the readme.md and get the following error:
Traceback (most recent call last):
File "demo/pcd_demo.py", line 3, in
from mmdet3d.apis import inference_detector, init_detector, show_result_meshlab
File "/workspaces/BRNet/mmdet3d/apis/init.py", line 1, in
from .inference import inference_detector, init_detector, show_result_meshlab
File "/workspaces/BRNet/mmdet3d/apis/inference.py", line 8, in
from mmdet3d.core import Box3DMode, show_result
File "/workspaces/BRNet/mmdet3d/core/init.py", line 2, in
from .bbox import *  # noqa: F401, F403
File "/workspaces/BRNet/mmdet3d/core/bbox/init.py", line 2, in
from .coders import DeltaXYZWLHRBBoxCoder
File "/workspaces/BRNet/mmdet3d/core/bbox/coders/init.py", line 6, in
from .class_agnostic_bbox_coder import ClassAgnosticBBoxCoder
File "/workspaces/BRNet/mmdet3d/core/bbox/coders/class_agnostic_bbox_coder.py", line 4, in
from mmdet3d.core.bbox.structures import rotation_3d_in_axis
File "/workspaces/BRNet/mmdet3d/core/bbox/structures/init.py", line 1, in
from .base_box3d import BaseInstance3DBoxes
File "/workspaces/BRNet/mmdet3d/core/bbox/structures/base_box3d.py", line 5, in
from mmdet3d.ops.iou3d import iou3d_cuda
File "/workspaces/BRNet/mmdet3d/ops/init.py", line 5, in
from .ball_query import ball_query
File "/workspaces/BRNet/mmdet3d/ops/ball_query/init.py", line 1, in
from .ball_query import ball_query
File "/workspaces/BRNet/mmdet3d/ops/ball_query/ball_query.py", line 4, in
from . import ball_query_ext
ImportError: /workspaces/BRNet/mmdet3d/ops/ball_query/ball_query_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceIN3c107complexINS2_4HalfEEEEEPKNS_6detail12TypeMetaDataEv
Reproduction

What command or script did you run?

CUDA_VISIBLE_DEVICES=0 python demo/pcd_demo.py sunrgbd_000094.bin demo/brnet_8x1_sunrgbd-3d-10class.py checkpoints/brnet_8x1_sunrgbd-3d-10class_trained.pth

I used the config file included so don't think that is a solution to this problem.

It's usually a compile error. You may check your pytorch version, nvcc version, gcc/g++ version for compiling the cuda ops in mmdetection3d.


⚠ Bofrost.be has degraded performance

In 2a4b3f1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1705 ms

Resolved: Bofrost.be performance has improved in 15b47cb.


OpenSSL gladly creates invalid SubjectAltName extensions

When presented with a UTF8 IDN say, räksmörgås.se  as the Subject /CN,  OpenSSL will encode this as a UTF8STRING in the ASN.1 of the CSR.
Passing the same string into SubjectAltName will put UTF8 data into an OCTET STRING, which is bogus. While OpenSSL does the right thing if it gets an ascii string representing, fex. and IP address ( encoded properly) it does the wrong thing when it gets a non-ascii string for DNS.
Preferrably, OpenSSL should punycode such content automatically, or at least not break things.

OpenSSL is not IDNA aware (see RFC5890). So essentially you need to do any punycode transformation prior to using OpenSSL. This is a bit rubbish and we should implement this. But it won't happen in the 1.1.1 timeframe. Marking this as a feature request for post-1.1.1.

When checking the code for this I saw that it was using ia5string. I've not actually tested it though.

Uhmmmm, so I tried this with my master build:
: ; ./util/shlib_wrap.sh apps/openssl req -new -newkey rsa:2048 -out r.pem -addext 'subjectAltName = DNS:macka.se'

Checking it out with openssl asn1parse -in r.pem -i gives me this:
  380:d=4  hl=2 l=   9 prim:     OBJECT            :Extension Request
  391:d=4  hl=2 l=  23 cons:     SET
  393:d=5  hl=2 l=  21 cons:      SEQUENCE
  395:d=6  hl=2 l=  19 cons:       SEQUENCE
  397:d=7  hl=2 l=   3 prim:        OBJECT            :X509v3 Subject Alternative Name
  402:d=7  hl=2 l=  12 prim:        OCTET STRING      [HEX DUMP]:300A82086D61636B612E7365

That doesn't look quite right...?

OpenSSL allows you to create many kinds of "illegal" certificates.  That's a benefit, highly useful for testing.

This is correct encoding for an extension:
Extension  ::=  SEQUENCE  {
     extnID      OBJECT IDENTIFIER,
     critical    BOOLEAN DEFAULT FALSE,
     extnValue   OCTET STRING
                 -- contains the DER encoding of an ASN.1 value
                 -- corresponding to the extension type identified
                 -- by extnID
     }

So what you have there is an extension with an OID for X509v3 Subject Alternative Name, the "critical" flag is absent (and so defaults to "False"), and the extension value is stored as an OCTET STRING. The contents of that OCTET STRING is SubjectAltName data which itself is ASN.1:
   SubjectAltName ::= GeneralNames

   GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName

   GeneralName ::= CHOICE {
        otherName                       [0]     OtherName,
        rfc822Name                      [1]     IA5String,
        dNSName                         [2]     IA5String,
        x400Address                     [3]     ORAddress,
        directoryName                   [4]     Name,
        ediPartyName                    [5]     EDIPartyName,
        uniformResourceIdentifier       [6]     IA5String,
        iPAddress                       [7]     OCTET STRING,
        registeredID                    [8]     OBJECT IDENTIFIER }

Your data is:
30       0A     82                                          08     6D61636B612E7365
Sequence length context-specific tagging: tag 2 == dNSName  length  m a c k a . s e

Ah, thanks for filling in the blanks.  And then, with räksmörgås.se, we end up with this:
  380:d=4  hl=2 l=   9 prim:     OBJECT            :Extension Request
  391:d=4  hl=2 l=  31 cons:     SET
  393:d=5  hl=2 l=  29 cons:      SEQUENCE
  395:d=6  hl=2 l=  27 cons:       SEQUENCE
  397:d=7  hl=2 l=   3 prim:        OBJECT            :X509v3 Subject Alternative Name
  402:d=7  hl=2 l=  20 prim:        OCTET STRING      [HEX DUMP]:3012821072C3A46B736DC3B67267C3A5732E7365

Since it's tagged the same way, the string is therefore assumed to be an IA5String, despite having characters outside of that charset :-/

If this is part of the "usefulness" that @richsalz talks about, then so be it.  Not sure I personally agree, but am willing to bow to popular opinion.

Since it's tagged the same way, the string is therefore assumed to be an IA5String, despite having characters outside of that charset :-/

Right, but that is long standing behaviour. Fixing it in general for IA5String might break all sorts of things, so I don't think we should start now. The "preferred name syntax" does add additional restrictions on the format of a dNSName which we ignore. But again - that could break stuff if we try to enforce that now. I'm of the view that we shouldn't do anything in the 1.1.1 timeframe. We should fix the lack of IDNA support - but that would be post-1.1.1.

Ok then


Norton flags libexif.dll as a Virus

** Dartium installation on Windows 10 **
Norton keeps deleting libexif.dll, because it thinks it is this Threat name: Suspicious.Cloud.7.EP

Turn Off Intrusion Prevention under Firewall and check
You can find more info if you Google for Norton and libexif.dll.


Thanks...

Hi Tino Hager,
Thank you very much for your project. You are the best.
Paulo Nóbrega

Hi Tino Hager,
In the website, how can i increase the number of items in the results?
Thanks,
Paulo Nóbrega

I've been using this framework to make requests to Amazon and I didn't find anything to limit/change results. If I'm not wrong they are always paged in a default way. To implement N items in my code I just counted to a number of max items passed to a method and break the items iteration.

Hi Maximiliano Rios,
Thanks for your response and help.
Paulo Nóbrega

Hi
The limits of the items per request is limited by amazon. If you need more items you need multiple requests and work with paging.

Hi Tino Hager, thanks for your response.


App bar should overlap the side navigation for a neater appearance

Setup
Rancher version: 2.8-head 01127d8
Browser type & version: Chrome
Describe the bug
When we click on the app bar, it overlaps the side navigation but not entirely. If the app bar covers the side nave it provides a neater appearance
To Reproduce

Install rancher server on v2.8-head
Navigate to local cluster explorer
Click on app bar

Result
App bar does not cover side navigation entirely, if covered entirely it looks neater.
Screenshots

@kwwii @edenhernandez-suse any inputs/comments? Thanks 🙏

Bumping out to Q1 for consideration.

There is a series of refinement changes here: https://github.com/rancher/dashboard/issues/9780
This issue won't be applicable since the visual appearance in general will be different.

Closed as a duplicate. As of writing, #9780 is in To Test for 2.9.0


issue #28, add an experiment module to support a very basic flatmap dsl

This support a simplified version of DSL defined at #28
windows function are not supported yet.

wordcount example:
https://github.com/intel-hadoop/gearpump/pull/632/files#diff-b36f1234cc1e7246e1fa35c741608db8
another example to join two stream join:
https://github.com/intel-hadoop/gearpump/pull/632/files#diff-bcf0e9d4f92168f7dc619651eea3e42a

I'll review on Sunday (Monday CST). Thanks Kam

All comments fixed.

DSL UI

README: https://github.com/clockfly/gearpump/blob/dsl/experiments/dsl/README.md

It is easy to test this:
# start master
bin\local -ip <IP_ADDRESS> -port 3000

# start UI
bin\services -master <IP_ADDRESS>:3000

# start example topology
bin\gear org.apache.gearpump.streaming.dsl.example.WordCount -master <IP_ADDRESS>:3000

For now, there are plenty of comments and fix now.
Is it the right time for code merge?
The UI is here:
https://cloud.githubusercontent.com/assets/2595532/6840458/6a12dbbc-d3b3-11e4-9c76-af0ed3c02f19.jpg

+1.


Federated API Gateway in Rust?

Hi, I was wondering if we need to depend on Apollo Gateway to combine federated graphql services because I checked some performance comparisons and it seems Apollo server is slower than express implementation? If so, why not implement in Rust? Is it something on the road map?

We currently have no plan to implement Federation with rust. 😁


Fit rendered markdown div to its content

Fix https://github.com/refined-github/refined-github/issues/7187.
Rendered markdown div automatically fit their content, but for some reason Github explicitly sets the min-height style property to the height of the input textarea.
Simply overriding the min-height to 0 fixes this bug.
Affects any div that renders markdown.
Screenshot

Input
Original
Fixed

Done !


build-dotnet-module/fetch-deps: fixup temp naming when pname has a ca…

…pital X in it
For example, this script doesn't work for xivlauncher because its proper pname is XIVLauncher, and mktemp complains about "too few X's":
$ mktemp -td "XXXXXX-XIVLauncher-home"
mktemp: too few X's in template ‘XXXXXX-XIVLauncher-home’

vs
$ mktemp -td "XIVLauncher-home-XXXXXX"
/tmp/XIVLauncher-home-EdGMei

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Hah, I really didn't see that one coming. I'll watch out for that the future.


[Question] How to provide the path to the configuration.extractor.YAML file

Release version
v6.0
Question Details
I am using a single repo but my repo is organised in such a way that there are specific folders to each API that has the configuration like configuration.extractor.yaml file inside the api folder. When I run the extractor pipeline it has to extract specific artifacts for the API as per it's configuration.extractor.yaml.
Is it possible to update the run.extractor.yaml to provide the path as in '/apis/api1/config/configuration.extractor.yaml'
Expected behavior
I have updated the run.extractor.yaml by hardcoding the value of CONFIGURATION_YAML_PATH to '/apis/api1/config/configuration.extractor.yaml' but the extractor unable to find the config file
Actual behavior
I am getting an error that The configuration file 'apis/api1/config/configuration.extractor.yaml' was not found and is not optional
Reproduction Steps
Update the parameter value of CONFIGURATION_YAML_PATH with a path as above. It is unable to find the config file

@krishnavatsavai - you need to pass the full absolute path of your configuration YAML, not the relative path. Something like C:\user\artifacts\apis\api1\config\configuration.extractor.yaml on Windows.

I attempted to use the local full path to the configuration.extractor.yaml as directed above and got the following error when attempting to run the pipeline on ADO (in the Azure cloud).
System.IO.FileNotFoundException: The configuration file 'H:\EIS\APIConnect-Mark\configuration.extractor.yaml' was not found and is not optional.

Also, where should the configuration.extractor.yaml be located in the ADO repo?


自定义域名后报错Invalid request!

用原本生成的*.workers.dev生成的订阅链接能够正常打开，但是自定义域名后生成的订阅链接就报错了，错误提示Invalid request!

同样的问题

worker改成  _worker
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: zhouSirShow @.>
发送时间: Wednesday, March 27, 2024 7:14:24 PM
收件人: bulianglin/psub @.>
抄送: Subscribed @.***>
主题: Re: [bulianglin/psub] 自定义域名后报错Invalid request! (Issue #13)
同样的问题
―
Reply to this email directly, view it on GitHubhttps://github.com/bulianglin/psub/issues/13#issuecomment-2022512850, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEKLFWSU2DJIFG46MD3CBDLY2KSZBAVCNFSM6AAAAABEBTR76KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRSGUYTEOBVGA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

哪里啊？

worker改成 _worker 获取 Outlook for iOShttps://aka.ms/o0ukef
…
________________________________ 发件人: zhouSirShow @.> 发送时间: Wednesday, March 27, 2024 7:14:24 PM 收件人: bulianglin/psub @.> 抄送: Subscribed @.> 主题: Re: [bulianglin/psub] 自定义域名后报错Invalid request! (Issue #13) 同样的问题 ― Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEKLFWSU2DJIFG46MD3CBDLY2KSZBAVCNFSM6AAAAABEBTR76KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRSGUYTEOBVGA. You are receiving this because you are subscribed to this thread.Message ID: @.>

不太明白，具体哪里改呢


fixed mongo threadpool leak due to not closing connections

refactored: db instance(s) are now attached to the config object (instead of RED.mongo)
refactored: moving the connect() calls to one central MongoConnect()
refactored: adding one central MongoCleanup() function to clean up previous connections
connectionleak fixed: on('close') was only called during deployment, which only closed the last connection
connectionleak fixed: call MongoClose() before node.error() on high-end devices
added singleton threadpool for low-end devices using env-var MONGODB_SINGLETON=1

more info see issue https://github.com/node-red/node-red/issues/651

Hi - we've just shipped 0.10.8 in which we've moved the mongo node, amongst others, out of this repository into their own npm package.
The mongo node is now based here: https://github.com/node-red/node-red-nodes/tree/master/storage/mongodb
So this PR isn't going to merge as is. I'm happy to take your changes and manually apply over in the new repo, to save you the task of opening a new PR over there.


[BUG] svclb-traefik* won't start after host crash and restart.

What did you do

How was the cluster created?

only 1 node, with a volume mapping for /var/rancher.../storage.

What did you do afterwards?
My host crashed and after restarting it and restarting k3d, I am no longer able to connect to any app service through ingress.

What did you expect to happen
Ingress should work
Screenshots or terminal output
[rockylinux@rockylinux8 infra_k3d]$ kubectl -n kube-system logs svclb-traefik-dkgkq lb-port-80
+ trap exit TERM INT
+ echo <IP_ADDRESS>
+ grep -Eq :
+ cat /proc/sys/net/ipv4/ip_forward
+ '[' 1 '!=' 1 ]
+ iptables -t nat -I PREROUTING '!' -s <IP_ADDRESS>/32 -p TCP --dport 80 -j DNAT --to <IP_ADDRESS>:80
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
iptables v1.8.4 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Which OS & Architecture

Linux, Windows, MacOS / amd64, x86, ...?
Linux rockylinux8.linuxvmimages.local 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Thu Mar 10 20:59:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Which version of k3d

output of k3d version

k3d version v5.3.0
k3s version v1.22.6-k3s1 (default)

Which version of docker

output of docker version and docker info
[rockylinux@rockylinux8 infra_k3d]$ docker info

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.8.0-docker)
  scan: Docker Scan (Docker Inc., v0.17.0)

Server:
 Containers: 3
  Running: 2
  Paused: 0
  Stopped: 1
 Images: 5
 Server Version: 20.10.13
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 2a1d4dbdb2a1030dc5b01e96fb110a9d9f150ecc
 runc version: v1.0.3-0-gf46b6ba
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.18.0-348.20.1.el8_5.x86_64
 Operating System: Rocky Linux 8.5 (Green Obsidian)
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.19GiB
 Name: rockylinux8.linuxvmimages.local
 ID: RI32:V7KA:PDQG:Q2Z2:DNET:CMMP:3MMG:23OF:RMTN:W6J2:WOQO:N4YA
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

Name:           svclb-traefik-wqjjt
Namespace:      kube-system
Priority:       0
Node:           <none>
Labels:         app=svclb-traefik
                controller-revision-hash=f4f897b4f
                pod-template-generation=1
                svccontroller.k3s.cattle.io/svcname=traefik
Annotations:    <none>
Status:         Pending
IP:
IPs:            <none>
Controlled By:  DaemonSet/svclb-traefik
Containers:
  lb-port-80:
    Image:      rancher/klipper-lb:v0.3.4
    Port:       80/TCP
    Host Port:  80/TCP
    Environment:
      SRC_PORT:    80
      DEST_PROTO:  TCP
      DEST_PORT:   80
      DEST_IPS:    <IP_ADDRESS>
    Mounts:        <none>
  lb-port-443:
    Image:      rancher/klipper-lb:v0.3.4
    Port:       443/TCP
    Host Port:  443/TCP
    Environment:
      SRC_PORT:    443
      DEST_PROTO:  TCP
      DEST_PORT:   443
      DEST_IPS:    <IP_ADDRESS>
    Mounts:        <none>
Conditions:
  Type           Status
  PodScheduled   False
Volumes:         <none>
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     CriticalAddonsOnly op=Exists
                 node-role.kubernetes.io/control-plane:NoSchedule op=Exists
                 node-role.kubernetes.io/master:NoSchedule op=Exists
                 node.kubernetes.io/disk-pressure:NoSchedule op=Exists
                 node.kubernetes.io/memory-pressure:NoSchedule op=Exists
                 node.kubernetes.io/not-ready:NoExecute op=Exists
                 node.kubernetes.io/pid-pressure:NoSchedule op=Exists
                 node.kubernetes.io/unreachable:NoExecute op=Exists
                 node.kubernetes.io/unschedulable:NoSchedule op=Exists
Events:
  Type     Reason            Age    From               Message
  ----     ------            ----   ----               -------
  Warning  FailedScheduling  5m44s  default-scheduler  0/1 nodes are available: 1 node(s) didn't have free ports for the requested pod ports.
  Warning  FailedScheduling  4m32s  default-scheduler  0/1 nodes are available: 1 node(s) didn't have free ports for the requested pod ports.

It has been now over a year and this issue has still not been fixed? There is more and more nft-based systems and this is really annoying...


chore: update cloud.google.com/go/storage v1.22.1

I found that the SDK doesn't work with the latest version of google.golang.org/api (v0.81.0).
https://github.com/googleapis/google-cloud-go/pull/6061 fixed this problem, and it is released as cloud.google.com/go/storage v1.22.1.
% go test ./...
# cloud.google.com/go/storage
../../../../pkg/mod/cloud.google.com/go/storage@v1.21.0/writer.go:451:24: undefined: storage.CommonRequestParams
../../../../pkg/mod/cloud.google.com/go/storage@v1.21.0/writer.go:453:23: undefined: storage.CommonRequestParams
../../../../pkg/mod/cloud.google.com/go/storage@v1.21.0/writer.go:461:3: unknown field 'CommonRequestParams' in struct literal of type "google.golang.org/genproto/googleapis/storage/v2".StartResumableWriteRequest
FAIL	firebase.google.com/go/v4 [build failed]
ok  	firebase.google.com/go/v4/auth	4.368s
ok  	firebase.google.com/go/v4/auth/hash	3.276s
ok  	firebase.google.com/go/v4/db	2.608s
?   	firebase.google.com/go/v4/errorutils	[no test files]
ok  	firebase.google.com/go/v4/iid	1.196s
FAIL	firebase.google.com/go/v4/integration/auth [build failed]
FAIL	firebase.google.com/go/v4/integration/db [build failed]
FAIL	firebase.google.com/go/v4/integration/firestore [build failed]
FAIL	firebase.google.com/go/v4/integration/iid [build failed]
FAIL	firebase.google.com/go/v4/integration/messaging [build failed]
FAIL	firebase.google.com/go/v4/integration/storage [build failed]
ok  	firebase.google.com/go/v4/internal	1.914s
ok  	firebase.google.com/go/v4/messaging	4.046s
FAIL	firebase.google.com/go/v4/storage [build failed]

Thanks @shogo82148 ! Could check the failing CI, please?

We also plan to drop support for 1.15 (#505) and I think we can include the dependency upgrades in the same release. Thanks!

All tests are passed, but running golint fails.
https://github.com/firebase/firebase-admin-go/runs/8223311379?check_suite_focus=true
Run GOLINT=`go list -f {{.Target}} golang.org/x/lint/golint`
  GOLINT=`go list -f {{.Target}} golang.org/x/lint/golint`
  $GOLINT -set_exit_status ./...
  shell: /usr/bin/bash -e {0}
  env:
    GOROOT: /opt/hostedtoolcache/go/1.17.13/x64
missing go.sum entry for module providing package golang.org/x/lint/golint; to add:
	go mod download golang.org/x/lint
Error: Process completed with exit code 1.

It will be fixed by https://github.com/firebase/firebase-admin-go/pull/505, so we can merge this pull request.

Hi @shogo82148, We decided to bump the minimum version to 1.17 (supporting 1.17 to 1.19). I had to update the go.mod in #505 and I think that upgraded the dependencies as well. Let me know if I have missed anything. Thank you again for your contribution. We really appreciate it!


Reference implementation - Identify high level module to be developed

Based on WET5 initial work/research/plan, identify high level module to be developed in order to have a front-end framework fully technology agnostic framework, flexible to fast change, easy to contribute/develop, conform to standard and leverage the resource description framework as the data layer.
reference:

https://github.com/wet-boew/wet-boew-experimental
https://github.com/wet-boew/gcweb-jekyll
https://github.com/wet-boew/GCWeb/pull/1784
https://wet-boew.github.io/wet-boew-documentation/research/2018-14-wet5-summary.html
https://wet-boew.github.io/wet-boew-documentation/research/2020-32-wet-boew-5-year-plan.html

The team would like to hear more about this task. TBD when Pierre is back.
Questions: will we need front-end devs involved in this task? what does "module" mean.

Draft
Goal:

Keep independent as much as possible the Data layer vs HTML vs CSS vs JS
Be compatible with the extension of existing javascript implementation or be a reference for other framework when it's not possible.
Make an environment favourable for non-technical contributor like doing quick prototyping, making editorial fix, developing with no or minimal setup...
Maintain a high quality coding standard.
Make it easy for author and developer to modify and adapt as per their needs.
Be interoperable by following W3C Standard first and use vanilla JS

Module:

Initialization of the reference implementation framework
Load third party libraries on run time during development and production
Testing framework that validate the interaction pattern and the user experience
Architecture of the file system for the framework in development mode and in production mode
Component templating system fully controllable through a data layer.
Full page templating system, enhancing a barebone page with common site header and site footer
RDF centralized data layer and reasoner
Review, rewrite and reorder the CSS/SASS file compilation to allowing more a better/easier overriding mechanism of styled component.

Ongoing work:

GCWeb jekyll: GCWeb theme implementation through a static content management system supported by Github pages
Méli-mélo and thématique feature

@duboisp Should we add another "module" that would be:

Update or remove third-party dependencies such as jQuery, Bootstrap 3 and Datatable


TRACK_ID Format ?

Hi,
first of all, I'd like to thanks all dev for their valuable work.
I'm trying to use the --onevent to get information about the currently played track.
To do this I'm using TRACK_ID environment variable in a python script. However, when querying the Spotify API I got an error result indicating that the track id is invalid. I think there's a transformation (encoding ?) between the spotify track ID and the exported environment one.
for example a valid track in spotify (using official app) 5Fhn1eNY4Eexndp9DWHZnn, is exported in the environment variable TRACK_ID value "ba292267a139477c86f108d66f4f9cc5" which is an invalid spotify track id.
I can't find a hint about how to decode the environment variable TRACK_ID. Does anybody can give me a clue to get the correct value ?

Ok, I found it looking into the code. (is it possible to add it in the doc ?)
TRACK_ID is in base16 so I need to decode it then encode it in base62 to use spotify api.

I guess this is somewhat confusing if spotify uses base62 for its official app.
I would propose to change the TRACK_ID environment variable to base62 in this case.

I don't want to suggest the change (if it's like that, there must be a reason), however I would suggest to document it.

It sounds wrong, the change sounds good. It's supposed to be a format you can easily use.

Agreed, it should be changed to base62 to bring it inline with the other Spotify clients.


Added automatic release when tagging

Summary
Added automatic release when tagging

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.mzitnik seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


reuse inner function when recursive

Hi, I want to create a similar tool until I saw this, looking into the code and found it's better to have inner function reused, at least it's reduce function calls for a large view tree building.

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #22   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines           9     11    +2
=====================================
+ Hits            9     11    +2

Impacted Files
Coverage Δ

index.js
100% <100%> (ø)
:arrow_up:

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 05f0055...6deba9b. Read the comment docs.

Hey 👋 looks cool. Have you managed to run any perf tests on it? I am curious to see the gains.

Sure, for 2nd commit, please check
https://jsperf.com/check-is-array
isArrayRef is 31% faster than isArrayFunction (in Firefox, since V8 will optimize then inline the function, which will transform the test result), it's obvious that invoke a function each time is slow.
For 1st commit, please check
https://jsperf.com/ijk-pr-22
AfterPR is 18% faster than BeforePR, in Chrome, 17% faster in Firefox.
Moreover, I believe 1st commit allow more nested children since it has lower stack size in each recursive. (not tested, but it is not worse at least!)

Thanks for taking the time to do this 💯 the changes make sense, perf has increased and tests are passing; so I am happy to merge this and do a release as soon as I get time.

Thats for the contribution @futurist 🙇 let me know if you have any other bright ideas!

Master has been published to npm<EMAIL_ADDRESS>


Provide ApplicationContext instead of Config classes

Added ability to provide custom ApplicationContext. For Spring testing, made objects that can potentially be shared by multiple tests classes and methods beans.

In the latest commit I've added the ability to initialize the library with an implementation of WebApplicationContext, would that work?

It's a little more complicated than just adding this. The main issue is that if you are using an applicationContext generated by Spring when running tests, making a call to refresh() will cause the test to fail because refresh() can only be called once.
The other fix here is that the tests were not using the Spring test framework, which I think is important because that's how Spring developers are going to be using this library. By adding that, I was able to catch the refresh issue above. I also made the SpringLambdaContainerHandler a bean because this object needs to be shared by multiple test classes. If you try to initialize two instances of it, it will fail because both instances will try to update the shared applicationContext.

I see, makes sense. The only change I would suggest from your last commit is that we don't use the refreshContext boolean as a constructor parameter, instead we create a setter for it. This way, the constructor remains clean and simple with a single parameter and you can call the setter only from your unit tests - the default value for refreshContext is true. What do you think?

Sure makes sense. Just pushed changes for this.


New Icon Request: wrap-off icon

Icon name
wrap-off
Use cases

opposite of wrap
good in rich text editor especially in code base text editor

Design ideas

the wrap icon with the off line

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

Like this?
Open lucide studio

This one is fixed:
Open lucide studio


TERMINAL background color issue

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:32:36.023Z)
OS Version: Windows_NT x64 10.0.14393
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.3

githistory
don
0.2.3

tslint
eg2
1.0.24

Angular2
joh
2.11.2

vscode-exec-node
mir
0.5.0

python
ms-
0.8.0

team
ms-
1.122.0

material-icon-theme
PKi
3.1.0

vscode-hexdump
sle
1.6.0

Steps to Reproduce:
On my Windows10 I changed the cmd background color to grey.
In VS Code dark theme, the TERMINAL background color is the default black.
But when running global command like 'npm', 'bower' etc. the background color of these commands output will turn to other color(whit or light grey) so the output is hard to read.

yeah, i having this problem also

On my Windows10 I changed the cmd background color to grey.

This is the issue, unfortunately you cannot use cmd.exe themes as they mess with VS Code's terminal.


Does pigpio support the I2C GPIO expanders SX150x ?

We use a RPi CM3+ module with I2C GPIO expander SX1509.
Our /boot/config.txt contains the following dtoverlay:
dtoverlay=sx150x,sx1509-0-70,sx1509-0-70-int-gpio=8
Does pigpio contain an API to control/configure the 16 IO pins of this expander?

No, not directly.  You would need to implement some interface code using the pigpio APIs.


Migrate from Restify to Restler

In order to remove the need for a compiler, I have started a fork that uses restler instead of restify.
Thoughts?

What compiler is actually needed? NPM still does all the installing?

Restify uses dtrace-provider which is a native module and needs a C++ compiler installed. NPM will still install it, but will fail doing the install if there is no C++ compiler (like gcc or llvm) installed. I always have Xcode installed on my Mac so it isn't an issue for me, but not all of the SNow developers that I work with have a compiler on their computer.

experimental branch now contains your fork. Initial testing seems fine. 1 part needs re-testing for dodgy https/SSL setups. I will test this branch a bit more before merging it in to master.
Thanks for the awesome upgrade!


'How to' section should include how to use with a div background

One of the very common ways of using images after img and picture tags are using a div with a CSS background-image. I'd like to know what's the optimal way of adding lazyload in that case, along with any configurations available.
It'd be great if this could be noted in the first section itself so it's easily visible to people.

This is fully documented. Here is how you can built your own thing:
https://github.com/aFarkas/lazysizes#js-api---events
And then you can find also 2 plugins that are already using background-image. You only have to read the manual
Most of the time people want to use background-image instead of real images because they can use background-size. For those people I strongly advice to use real images in combination with object-fit (and the object-fit polyfill plugin).


broken link in reverse z sample

https://thxforthefish.com/posts/reverse_z/ redirects to the iolite voxel game engine

The nvidia article is still good, but imo let's keep this link by replacing it with https://web.archive.org/web/20220724174000/https://thxforthefish.com/posts/reverse_z/


fix: re-establish pre-3.2.1 copy_data_to_bin behavior

Fixes #716 (and breaks #411 again).

Changes are visible to end-users: yes/no

Searched for relevant documentation and updated as needed: yes
Breaking change (forces users to change their own code or config): no (re-establishes backwards compatible behavior).
Suggested release notes appear below: no

Test plan

New test cases added

I have manually checked that the new tests:

Pass at 3.2.0
Fail at 3.2.1

Ready for review.
An alternative would be to not include the additional parameter in the macro.

Sorry for the delayed reply, I was on vacation. I've answered here: https://github.com/aspect-build/rules_ts/pull/723#issuecomment-2459315003


Don't include removed thrift options when running against C* 4.0

This is to support https://issues.apache.org/jira/browse/CASSANDRA-11115, and work at least as far as cassandra-dtests are involved on 4.0. Hopefully this doesn't break anything for earlier versions.

+1 after that small fix


Update Spring dependencies - End of Support for OS November 2023

Hi,
could you please update the used Spring dependencies to the latest 3.1.x version? The Open-Source support will end in November 2023 according to the following article. Be aware that there are several changes like variable accessing configuration variables and the Web Configuration.
https://spring.io/blog/2022/05/24/preparing-for-spring-boot-3-0#consider-commercial-support
https://spring.io/projects/spring-boot#support
KR,
BlackRose01

Hi,
thank you very much for pointing out this approaching deadline. We're already progressing on updating to Spring 3.1.X. I will update and close this issue whenever the PR is being merged.


Vine matrix utilities

I created a class RVineMatrix. It contains methods for computing some derived matrices required in the estimation and evaluation algorithms (reorderRVineMatrix, createMaxMat, neededCondDistr in VineCopula).

Impressive work... you had a productive week-end ;)
Just a question about design of the RVineMatrix class: why are no_matrix_, max_matrix_, needed_hfunc1_ and needed_hfunc2_ data members?
I would avoid storing them an compute them whenever needed (unless their computation is really expensive, but I don't think that's the case).
In my opinion, the code would be much neater if we just made the matrices accessible through getters that would call the methods to_natural_order , to_max_matrix , compute_needed_hfunc1 , compute_needed_hfunc12 (or simply remove the four functions from the header and use them as definitions of the getters).


Cannot edit front50-local.yml

Page: /setup/install/storage/minio/
Feedback:
The directions for configuring minio ask me to add a line to a file at ~/.hal/$DEPLOYMENT/profiles/front50-local.yml; this file does not exist.
I think I've followed the instructions pretty faithfully, but the ~/hal/default/profiles directory does not exist. I've run halyard in kubernetes, attempting to install to that kubernetes cluster. All of the steps in the instructions have run as expected.

I think I understand now that the directory and file would most likely have to be created at that point. Could a note be added to that part of the documentation indicating that the file should be created if it does not exist?

Sure: https://github.com/spinnaker/spinnaker.github.io/pull/1125


[MXNET-703] Add TensorRT runtime Dockerfile

Description
Add a CUDA 9.0 Dockerfile for TensorRT.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Notes: The TensorRT walk-through is written assuming this image is pushed to mxnet/tensorrt

@mxnet-label-bot can you please add [pr-awaiting-review]


Incomplete awsexports file leads to a 401 error in Amplify CI/CD deployment

** Which Category is your question related to? **
AppSync? Cognito? Amplify
** What AWS Services are you utilizing? **
AppSync,
Cognito,
Amplify CLI,
Amplify console,
DynamoDB
** Provide additional details e.g. code snippets **
Sorry, I'm sure this is something simple that I'm missing. Deployment to S3 and working locally I'm able to log in, query and mutate data but I get a 401 error on my Amplify Console deployment. I'm able to log in with email address and password no problem but the errors start as soon as I query for data.
Here is the repo for the project: https://github.com/ntrabue/amplify-todo
Please let me know if there is any more info I can provide.
Thank you!

Update: Turns out its because there is a version mismatch between the Console and the CLI. You can set the version of the CLI to the latest here: https://docs.aws.amazon.com/amplify/latest/userguide/custom-build-image.html#setup-live-updates
This will fix the issue.


When releasing a pre-release version, the pre-release version number from the remote repository was not obtained.

Failure to retrieve the pre-release version number from the remote repository during the release of a pre-release version results in an error when attempting to publish a pre-release version that already exists in the remote repository, causing the CI to interrupt during execution.

I believe it is related to https://github.com/changesets/changesets/issues/1285


Plugin usage with QueryCursor.eachAsync

Hello,
In our codebase we were doing
ourModel.find(OUR_QUERY)
   .lean({ virtuals: true })
   .cursor()
   .eachAsync(p => {
      // p is not a POJO but a Model instance
      // w/ save, update... methods
   });

Still as the comment in the callback suggest, p is not a POJO (and it should be as stated here).
This is not a bug related to this plugin since mongoose itselft checks the explicit true value of the lean options before hitting the eachAsync callback (here).
Should the verification done by mongoose check the truthyness of the lean option instead of the explicit true value ?
Or should this be marked as the expected behavior in the documentation of this plugin ?
Also how to get the virtuals in the async w/ the lean 🤔  (dropping the lean and using .toObject() works, but it makes no use of the lean feature...)
In any case, I'ld be glad to help :)
Thank you.
edit: checking the truthyness in mongoose would not help because the .cursor method does not trigger post find hooks, which this plugin relies on.

Thanks for reporting, will investigate. Opened up an issue in Mongoose to track

Thank you @vkarpov15 ! 🍪


Allow cell padding to be changed

The default cell padding is one character left and right. This can look cramped for some data sets.
Can we add a table-level property to allow the padding on the left and right side of the heading/data to be set?
I would imagine we would keep the padding symmetrical and apply one value to all columns.
I think at this stage we would ignore vertical spacing between rows, although this could be addressed in a separate issue.

This sounds good. Can I start working on it ?

@Ravikc Thanks for your interest. It's all yours! 😄
If you have any thoughts on how you plan to implement this, I'd be more than happy to discuss them here.

I am thinking about using custom padding only when ContentAlignment and HeaderAlignment are both set to Center. Later we can figure out how the padding behaves when the either one is not set to Center ?

How do you want me to handle it when applying the user defined Padding value exceeds the MaxWidth property of a Column class ?

The MaxWidth property of a column is read-only. It is currently calculated from the maximum width of the actual content - ignoring the current implicit padding of 1 character.
As this property is primarily used whilst rendering (i.e. it's not of much direct value to an end-user), I suppose we could alter its behaviour without too much of a headache.
On the other hand, it feels to me that incorporating the padding into the MaxWidth property is going to tangle things too much. Best to keep the concerns separated. For this reason, I suggest that Padding is applied in OutputBuilder.cs. In other words, we'd change lines like this:
sb.Append(" " + table.HeaderAlignment.ProcessString(col.ColumnName, col.MaxWidth) + " " + style.Wall);

To something like this:
sb.Append(Padding + table.HeaderAlignment.ProcessString(col.ColumnName, col.MaxWidth) + Padding + style.Wall);

Where Padding is defined in Table as something like:
new String(' ',PadWidth);

So what we end up with in terms of the total width of the column is Padding + MaxWidth + Padding. For example:
+-----------------+
|     Name        |
+-----------------+
|     Mercury     |
|     Venus       |
|     Earth       |
+-----------------+

W<-P-><--M--><-P->W
   5     7     5

Where P = padding, M = max width, and W = wall.
What do you think?

Closed by #38 - thanks @Ravikc!


Add support for "translationZ" transform property

Since Android 5.0+ there is a new property called "elevation": https://www.google.com/design/spec/what-is-material/elevation-shadows.html#elevation-shadows-elevation-android-
It allows to raise a widget on the z-axis.
The translationZ is a transform property similar to translationX that can also be animated during an animation.

This issue is a sub issue of https://github.com/eclipsesource/tabris-js/issues/602

Implemented for the 1.5 release.


Fix build errors with legacy compiler with nojit

I accidentally built with nojit and legacy at the same time and it found some interesting oversight

This change is

I don't think we got any coverage for this scenario and I don't know if we care about it, but I figured I might as well fix them since I stumbled upon it

@MikeHolman Can you take a look at the missing constructors in WebAssembly new objects?

Okay, sounds like this is good to merge?

Yes I just didn't have time before the weekend, thanks for reminding me


Support New Twitch API endpoints(2021‑01‑15)

Hi there, thanks for excellent API library!
There are new API endpoints for New Twitch API, Get Channel Editors, Delete Videos, Get User Block List, Block User, andUnblockUser.
You can see https://dev.twitch.tv/docs/change-log for detail.
Thanks!

If you have a minute to spare, do you mind add these the list of endpoints in the README.md?

yup sure! Also I can add those API codes too :)
I'll make PR once I made one.

Hi !

Get Channel Editors
Delete Videos
Get User Block List
Block User
Unblock User

Those features are now available 😃

Thanks @Scorfly


DRA driver fails with P4

I am working on a demo of using DRA to have a deployment with mixed GPU models. Trying it against a GKE node with P4 GPUs results in a failure in NodePrepareResources.
Pods:
[hi on] jbelamaric@jbelamaric:~/proj/gh/johnbelamaric/GoogleCloudPlatform/kubernetes-engine-samples/autoscaling/custom-compute-classes/dra$ k get po
NAME                           READY   STATUS              RESTARTS   AGE
ccc-gpu-5969dcb484-c9gkd       1/1     Running             0          21m
ccc-gpu-67c77c9bdf-hlgwt       0/1     ContainerCreating   0          10m
ccc-gpu-deb-5f54d99d8f-zbb5p   1/1     Running             0          12m
[hi on] jbelamaric@jbelamaric:~/proj/gh/johnbelamaric/GoogleCloudPlatform/kubernetes-engine-samples/autoscaling/custom-compute-classes/dra$ k describe po ccc-gpu-67c77c9bdf-hlgwt

IPs:              <none>
Controlled By:    ReplicaSet/ccc-gpu-67c77c9bdf
Containers:
  ctr:
    Container ID:
    Image:         ubuntu:22.04
    Image ID:
    Port:          <none>
    Host Port:     <none>
    Command:
      bash
      -c
    Args:
      while [ 1 ]; do date; echo $(nvidia-smi -L || echo Waiting...); sleep 60; done
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-2vpsr (ro)
Conditions:
  Type                        Status
  PodReadyToStartContainers   False
  Initialized                 True
  Ready                       False
  ContainersReady             False
  PodScheduled                True
Volumes:
  kube-api-access-2vpsr:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              cloud.google.com/compute-class=inference-1x8x24
Tolerations:                 cloud.google.com/compute-class=inference-1x8x24:NoSchedule
                             node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
                             nvidia.com/gpu:NoSchedule op=Exists
Events:
  Type     Reason                         Age               From               Message
  ----     ------                         ----              ----               -------
  Normal   Scheduled                      10m               default-scheduler  Successfully assigned default/ccc-gpu-67c77c9bdf-hlgwt to gke-drabeta-n1-standard-4-4xp4-f7feecbe-4h4q
  Warning  FailedPrepareDynamicResources  1s (x8 over 10m)  kubelet            Failed to prepare dynamic resources: NodePrepareResources failed for claim default/ccc-gpu-67c77c9bdf-hlgwt-gpu-428dx: error preparing devices for claim e9504d19-2894-4331-aa0b-2c4536de9322: prepare devices failed: error applying GPU config: error setting timeslice config for requests '[gpu gpu gpu gpu]' in claim 'e9504d19-2894-4331-aa0b-2c4536de9322': error setting time slice: error running nvidia-smi: exit status 3
[hi on] jbelamaric@jbelamaric:~/proj/gh/johnbelamaric/GoogleCloudPlatform/kubernetes-engine-samples/autoscaling/custom-compute-classes/dra$

Looking at the driver log:
I1220 17:52:58.757018       1 driver.go:97] NodePrepareResource is called: number of claims: 1
E1220 17:53:10.813853       1 nvlib.go:534]
Failed to set timeslice policy with value Default for GPU 0 : Not Supported
Failed to set timeslice for requested devices : Not Supported

Reference: https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/pull/1569

This is a know issue with a pending PR to fix it:*

https://github.com/NVIDIA/k8s-dra-driver/issues/81
https://github.com/NVIDIA/k8s-dra-driver/issues/41
https://github.com/NVIDIA/k8s-dra-driver/pull/58

For my previous demo on GKE, I had used v100 and t4 GPUs:
https://github.com/NVIDIA/k8s-dra-driver/blob/main/demo/clusters/gke/create-cluster.sh#L64-L114

Thanks, I can look into switching to v100s.


Improve pdfplumber parsing to format markdown and detect hyperlinks

The Rect attributes of each URI in the PDF byte string are used to locate the text corresponding to the hidden URIs.

One of benchmark, i was referring to earlier --> https://github.com/py-pdf/benchmarks


No file size info in device panel

Hi,
I checked out openMTP today to look for some big files on my device which are eating up the storage space. I found surprising that I need to copy the files to my mac just to find out their size. Did I miss something?

Can you try the latest stable build?
And then go to Settings>File Manager > View as grid (uncheck for phone)

Can you try the latest stable build?
And then go to Settings>File Manager > View as grid (uncheck for phone)


DPoP fixed sign/verify over HTTP

Coverage: 82.556% (+0.03%) from 82.53% when pulling d8177db5426826e74059fedcce449a023a366f3c on dissoupov into a686cf0a12c7645a1f575e70222de2bf504318d6 on main.


Remove workaround for invalid remove events from Python API

Closes https://github.com/microsoft/vscode-python/issues/20292

Converting to draft as it was noted here that tests are flaky: https://github.com/microsoft/vscode-python/issues/20292#issuecomment-1450717811

@DonJayamanne ready for review


Spark move with history

Codecov Report

Merging #96 (4962e4c) into main (64e14cc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #96   +/-   ##
=======================================
  Coverage   89.27%   89.27%
=======================================
  Files          13       13
  Lines         541      541
=======================================
  Hits          483      483
  Misses         58       58

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 64e14cc...4962e4c. Read the comment docs.


Make it easier to add parking spaces for disabled people

I try to spend most of my time mapping on things that I think will have real world value for people, and especially for people with special needs (benches, drinking water, toilets, etc), and so I think marking where there are parking spaces for disabled people is especially important.
Unfortunately, trying to do this in iD was a difficult and frustrating task for me.
First there's no specific feature for this in the Feature dropdown. Second, after choosing Parking lot there's no visible field for this. Then there's nothing obviously relevant in the Fields drop-down, except for "Wheelchair access", but I'm almost positive that's just to indicate if you can access the area with a wheelchair, not if the parking space is exclusively for disabled people. Lastly, there's no obvious tag in the Tags dropdown either.
Then I looked in the wiki, and I found this total mess: https://wiki.openstreetmap.org/wiki/How_to_map_for_the_needs_of_people_with_disabilities#Designated_parking_space I mean, seriously, am I supposed to choose the best way of all those possibilities and do all of that for every single parking space?
Please do something with this. Either add a specific feature for this, or a field that's visible by default for tagging it as a space for disabled people.
I know this is the editor only, and I'm not asking you to change how these spaces are tagged, just asking that we shouldn't have to tag them manually.
Thanks! :)

Thanks, @forteller, I didn't realize this tagging was so well developed already. It's always great to make accessible mapping easier. I added an Accessible Parking Space preset and an Accessible Spaces field to parking presets.

Wow, that was fast! Thank you! :)


Broken links

6 broken links have been identified
https://strwebstgmedia.blob.core.windows.net/media/lib mnjci/transgender-people-and-osteoporosis-fact-sheet- march-2018.pdf
https://www.unlockfood.ca/fr/Articles/Perdre-du-poids/Evaluez-votre-IMC.aspx?aliaspath=%2Fen%2FArticles%2FWeight-Management%2FBMI-Calculator

The issue is with the FR content file


Use of interface instead of generics in Nodes.LoggerNet.Extract.TOA5Extractor

Instead of genetics in loggernet transformer, can I just pass a Meterology/Flux object as a parameter? If I do that, I can allow other types passed at runtime allowing new document types to be used instead of those defined in Models.LoggerNet.TOA5.DataTables

Replaced generics with interface param in ee45807


Prop init bug

The constructor for the Fsm class failed to mention the m_num_timed_transtitions in the member initialization list.
Since this is an initialization problem the bug may not demonstrate itself because the likely intial value of zero is also the intended default value.  Adding debug statements caused the problem to go away in my test sketches.
I added two simple test cases to verify basic functionality of the FSM.

Thanks for this. Especially that nasty initialization bug. I should be getting my motherboard back in next week so will be able to fix/merge everything in the issue list and made a release.


Merge pull request #11 from penpea/main

update branch "20.x"

uuummmm...
not gooding?

yes, not gooding!


Multiple outputs per code cell not supported

Thanks again for your fixes and quick response times.
I found another issue, this time related to multiple outputs, especially outputs of different mime types per cell.
The following could should display 5 headings and 5 tables. The xls sheet however only shows the latest table, and no headings:
import pandas as pd
from IPython.display import *

for i in range(5):
    display(Markdown(f'# Markdown Loop {i}'))
    display(pd.DataFrame(pd.np.random.random((5,5))))

Thanks a lot - it was down to my misinterpretation of the nbformat spec, and ultimately no examples of this scenario. So thank you for providing the test case!
Released as version 0.1.5.
It would be great to find out more about how and why you're working with this project, so please do get in touch when you get a chance<EMAIL_ADDRESS>


[feat] create a visual rule editor

A rules editor for those who don't know the syntax of firebase rules

Andamento da atualização!

Finished, available in version 1.0.4


Drop support for Django 1.7 and below

Django 1.8 is the current long-term support version of Django. There is some code that mentions Django 1.6; but, the South migrations haven't been update along with the standard Django migrations. This could probably fixed; but, it would be simpler to drop support for older versions and remove the cruft from the codebase.

I've created https://github.com/python-social-auth/social-app-django/issues/5 to properly track this work.


Extract !quant.uniform types and pack into tflite function signature for TfLiteQuantizationParams

The tflite importer some some quantization stuff and produces signatures like:
func @QuantizeConv2D(
  tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>
) -> tensor<1x112x112x32x!quant.uniform<u8:f32, 0.023528476789885875>>

It should be trivial during import to extract these into metadata we tag onto the iree.reflection attribute and then query them at runtime to satisfy TfLiteTensorQuantizationParams requests.

I don't even know if this is a thing anymore or if we want to support it. Closing for now.

That is an oddly specific title for what looks like a cat walked across the keyboard.


Updated for Swift 2.2

Hi @scottbyrns,
thanks for taking the time to do the upgrade to Swift 3, however I needed to do a couple of more changes (in tests in particular), so I did the work in #16. :blush: Now it's merged so master is Swift 3 compatible - hopefully exactly what you needed.

That was exactly what I needed. When you say swift 3 what are you meaning exactly? I thought I was on swift 2.2 when I made these changes. We made roughly the same changes and your 0.1.0 release was interchangeable with the 0.0.4 release I did on my fork. I'm just getting started developing libraries in swift on linux so I'm not really sure what all is what yet.

Yeah the changes I made were for Swift 3. Previously it was 2.2 compatible, but there were source breaking changes in 3.

Maybe I've been building against 3 over here. I pulled the latest dev builds from swift.org to work from. Your changes compiled into my project with no issues and 2.2 code hasn't been compiling always for my local environment.

So here: https://swift.org/download/#releases the Releases section at the top is Swift 2.2, and the master snapshots are of Swift 3. The changes I made above are definitely for Swift 3 (those were the changes to make the APIs more Swift-y, usually less verbose).


Sales tax code, step no 3 needs clarifications

[Enter feedback here]
The expected input in the fields in the form "External codes" in the form groups "Overview" and "Value" should be explained in more detail.  What is the relation between the Overview and Value?

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

ID: d8904993-84a8-8983-dcc5-4499b6e1e9d5
Version Independent ID: f40dc67d-74a2-dab3-182c-fbbd6f0e46e0
Content: Standard Audit File for Tax (SAF-T) for Norway - Finance | Dynamics 365
Content Source: articles/finance/localizations/emea-nor-satndard-audit-file-for-tax.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @liza-golub
Microsoft Alias: elgolu

@bjool, thank you for providing this feedback.
@liza-golub, please consider enhancing the content based on this feedback.

@bjool, thank you for providing this feedback.
@liza-golub, please consider enhancing the content based on this feedback.

Bug 549605 has been logged to track this issue.

Bug 549605 has been logged to track this issue.

This content has been updated.


barBorderRadius support custom function

What problem does this feature solve?
itemStyle.barBorderRadius support custom function like itemStyle.color.
What does the proposed API look like?
series: [
{
  type: 'bar',
  ...,
  itemStyle: {
    // barBorderRadius: [4, 4, 0, 0],
    barBorderRadius (data) { // current not work
      return data.value >= 0 ? [4, 4, 0, 0] : [0, 0, 4, 4]
    },
    color (data) { // for positive and negative values
      return data.value >= 0 ? '#E82724' : '#00A212'
    }
  },
},
]

Currently this customization can only be implemented by custom series.

Currently this customization can only be implemented by custom series.

Hi @100pah, I currently have an issue like the issue mentioned above. I have try to use some custom expample in the https://echarts.apache.org/examples/en/index.html#chart-type-custom. After many try, I still can't achieve the thing that @kairyou  mentioned. Do you have any suggestions or example code that I can follow?
Here is my current code: example


Quarkus LTS Upgrade to 3.8.4

Related https://github.com/apache/incubator-kie-issues/issues/958
Ensemble:
https://github.com/apache/incubator-kie-drools/pull/5853
https://github.com/apache/incubator-kie-optaplanner/pull/3076/files
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3477
https://github.com/apache/incubator-kie-kogito-apps/pull/2039
https://github.com/apache/incubator-kie-kogito-examples/pull/1908
https://github.com/apache/incubator-kie-kogito-images/pull/1760

Change in build-chain config won't take effect in the jenkins PR check, so it will keep failing, GHA PR checks to be considered here.

A note here - due to length of the build the jenkins PR runs downstream projects in "quickly" mode, so it's rather a compile downstream build - that's why there's fail in kogito-apps GHA, but jenkins PR check is green. The GHA failure is relevant and should be considered.


standing still sometimes jitters in y

Related to #53 and the integration of gravity, I think.
Is it because gravity drives the body down every tick? Is it too much gravity?
Should I alter gravity on is_on_floor?
collsionShape3D.custom_solver_bias ??

fixed in #53


Added the contributors page

Description
Added the contributors page to the website with sleek ui, matching the theme of the website, integrated footer and navbar in it, fully responsive over all screen sizes, dynamic ui updates as the new contributors are added the repository and best practices while coding.
So i think it deserves a level 3 for my efforts on this page.
Related Issue
Fixes #226
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented on my code, particularly in hard-to-understand areas
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

https://github.com/user-attachments/assets/0ed71742-68ce-4056-b6e0-8ad358fa0def
@jahnvisahni31 Please check this PR and merge this and assign this to me and put relevant labels such as gssoc 2024 ext, hacktoberfest and level.

Conflicting files
app/contributors/page.tsx


Allow any node version

Since npm is sloppy, it allows installing packages that say to only use node 4.0.0, even if you're using a different version of node.
Yarn is not so sloppy.
I want to switch to yarn, but picnic is causing problems.
I don't know if the version of node actually matters for picnic. If it does, then a range of node versions can be specified. I doubt it matters, though!

Oh I thought in NPM it meant "From 4.0.0". I don't remember why I put "4.0.0", but I will require ">=4.0.0" from here on just in case. I just pushed it, and bumped the version to the 6.3.2 so you should be able to npm install<EMAIL_ADDRESS>--save-dev (or I guess similar in yarn). Does that work?

Yep, that'll work! Thanks!


Can not delete shard rules of splitting method in log monitoring

Describe this problem
After click on confirm, no responding.
To Reproduce
Add a shard rule and try to delete.
Expected behavior
The shard rule can be deleted.
Additional Information
None.

Well, I will check this, and reponse later.


bcdec_rs/image_dds: add BC4 and BC5 SNORM variants

This PR adds support for signed (SNORM) BC4/BC5 formats, resolving #18.
API Changes:

bc4 and bc5 functions in bcdec_rs now take in a is_signed argument.
Added Bc4S and Bc5S BC types to image_dds.

I don't know how to move forward with perhaps adding test data or unit tests for this code, so I would appreciate any guidance on that. However, I've tested around 10K BC5 SNORM normal maps and haven't found any issues with decompression.
Docs for BC5 (https://learn.microsoft.com/en-us/windows/win32/direct3d10/d3d10-graphics-programming-guide-resources-block-compression) state that the last two additional values should be -1.0 and 1.0 respectively, but I've kept it the same as the UNORM variant as most implementations seem to do that

I don't know how to move forward with perhaps adding test data or unit tests for this code, so I would appreciate any guidance on that.

I would run the fuzz tests I just added after syncing your fork. The fuzz tests only run on nightly Rust on Linux or MacOS at the moment. Use the updated C code as a reference for your implementation. bcdec tends to have pretty well optimized code. The fuzz tests will make sure it gets ported accurately.
I won't require it for this PR, but you can also look at adding dedicated f32 decoding and look at how the test data is generated in bcn_test. I use paint.net on Windows to generate the PNG since it seems to use slower but more precise arithmetic in DirextXTex. I haven't decided yet how I want to generate the output for signed formats.

Should the less precise version of smooth_alpha_block remain? Also, am I incorrect in assuming that the implementation for it is for float only in bcdec_rs (basically, should I only implement bcdec__bc4_block_float)?


allow forcing all private repos

It would be nice to have a config option forcing all repos to be created as private repos. This is to compartmentalize access to repos, which I would like to give on a per-team or per-user basis. Otherwise, no user without specific rights should be able to see repos.

Thanks your feedback!
If I'm understanding your situation correctly:
More than one teams are working together in one Gogs instance, and you don't want them to see each others repository?

Actually, I have a team where some users should not see these repositories,
so in principle I could have everything public except these. However, other
external users should be given access to only specific repos. This would
force me to make everything private and manage everything by giving users
permision. So this feature would help with this situation.
Otherwise, it would be better to have some form of "guest" user which does
not have access to anything except particular teams/repos.
On Fri, Sep 18, 2015 at 8:21 AM, 无闻<EMAIL_ADDRESS>wrote:

Thanks your feedback!
If I'm understanding your situation correctly:
More than one teams are working together in one Gogs instance, and you
don't want them to see each others repository?
—
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/issues/1657#issuecomment-141422218.

Thanks for the details!
Just some thoughts as follows:
Why can't create an organization help?
Having a config option to force all repos to be private is kind of overkill because check the private checkbox is all you have to do and Gogs now remembers it so you don't need to check it every time.
And then, you create a team called "guests" and only given them read access.

Well, another issue I have is that I'm used to gitolite where I had
"namespaces" for repos, to avoid having one big mess of repos for everyone.
So, it would not be just one team, but one for each organization (which is
the closest to a "namespace"). Also, this means that for each new user, I
have to manually add it to the relevant team of each organization.
By setting everything to private, I'm relying on every user not
accidentally forgetting of clicking "private". Thus, under this scheme, I
would need to force everything to be private.
In gitolite it is easier, since "teams" (or "groups") are independent of
"namespaces" or "organizations", so I just defined the access rules for
each group, and for new users I just add it to the corresponding group.
Also, I can make everything unreadable by-default, to have special users
not part of any group.
On Fri, Sep 18, 2015 at 4:03 PM, 无闻<EMAIL_ADDRESS>wrote:

Thanks for the details!
Just some thoughts as follows:
Why can't create an organization help?
Having a config option to force all repos to be private is kind of
overkill because check the private checkbox is all you have to do and Gogs
now remembers it so you don't need to check it every time.
And then, you create a team called "guests" and only given them read
access.
—
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/issues/1657#issuecomment-141536788.

@v01d thanks again!
Make sense, Gogs right now have different mechanism which GitHub uses. So, hmm, sorry about that. (PS: it can be a separate feature request but no promise in case it conflicts too much with current design).

Maybe just adding support for "guest" users would be enough for this use
case. These would not be able to see even public repos, unless they are
added as collaborators for that repo. If you think this would be feasible,
I can rename this request. Otherwise, feel free to close it =)
On Fri, Sep 18, 2015 at 6:49 PM, 无闻<EMAIL_ADDRESS>wrote:

@v01d https://github.com/v01d thanks again!
Make sense, Gogs right now have different mechanism which GitHub uses. So,
hmm, sorry about that. (PS: it can be a separate feature request but no
promise in case it conflicts too much with current design).
—
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/issues/1657#issuecomment-141576698.

Maybe just adding support for "guest" users would be enough for this use
case

Can you define this "guest"? Who guests to what? Is it like something read-only access collaborators?

These users are not part of my everyday colleagues. But they may want to
contribute to some of our repos. Thus, since I would have mostly everything
public (since I assume only logged-in users can access gogs), for these
"guest" users, I need them to not be able to see anything but the specific
repo I want.
On Fri, Sep 18, 2015 at 6:55 PM, 无闻<EMAIL_ADDRESS>wrote:

Maybe just adding support for "guest" users would be enough for this use
case
Can you define this "guest"? Who guests to what? Is it like something
read-only access collaborators?
—
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/issues/1657#issuecomment-141577650.

Hmm... understand some of, but not entirely.
Anyway, I'm going to add this config option for you.

Maybe it helps with an actual example. This is a research group where we
have repos for c++ projects, latex presentations and also maybe some data
sensitive repos. Researchers are able to see everything. Then we have
master students who can create personal repos. They can see everything but
data-sensitive repos (which can be marked as private). Then there are
persons not working at our lab, who may we want to work with over a
specific code repo and thats it. So we dont want to let everything be
readable for them just to access a single repo.
Since we would organize repos under different organizations, this
protection would require setting several teams which would be cumbersome.
So, by marking these users as "guests" they can log-in but cannot see
anything unless they are marked as collaborators.
Makes sense?
On Fri, Sep 18, 2015 at 7:00 PM, 无闻<EMAIL_ADDRESS>wrote:

Hmm... understand some of, but not entirely.
Anyway, I'm going to add this config option for you.
—
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/issues/1657#issuecomment-141579420.

I understand now! Thanks a lot!
Yeah, so if access control can cross organization can make things much easier in your case, like the namespace you talked about.
PS: Maybe this is something you're looking for https://github.com/gogits/gogs/issues/1062

Yes, that would also make everything easier, and might be a more general
solution. Maybe it would be called "global teams".
I don't really need wild repos, as I switched to manual repo creation. Too
many botched repos were created by typos =b
On Fri, Sep 18, 2015 at 7:13 PM, 无闻<EMAIL_ADDRESS>wrote:

I understand now! Thanks a lot!
Yeah, so if access control can cross organization can make things much
easier in your case, like the namespace you talked about.
PS: Maybe this is something you're looking for #1062
https://github.com/gogits/gogs/issues/1062
—
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/issues/1657#issuecomment-141581583.

LOL.

This feature (all private repos) is useful for company environment.

Please try out develop branch!

Forgot to mention the config option is [repository] FORCE_PRIVATE = true.

Close as implemented.


feat(Topology/Order): assorted lemmas

Add upperBounds_closure, lowerBounds_closure, bddAbove_closure, bddBelow_closure.
Add IsAntichain.interior_eq_empty.
Generalize nhds_left'_le_nhds_ne and nhds_right'_le_nhds_ne to a Preorder.

Partly forward-ports https://github.com/leanprover-community/mathlib/pull/16976

Can you put the PR that this forward-ports in the PR description?

LGTM modulo Eric's comment. Thanks!
bors d+

bors merge


jrcs/letsencrypt-nginx-proxy-companion won't work with HTTPS_METHOD=nohttp

I think, when using HTTPS_METHOD=nohttp, letsencrypt-nginx-proxy-companion cannot be used any more.
Example
nginx-proxy:
  image: 'jwilder/nginx-proxy:latest'
  ports:
    - '80:80'
    - '443:443'
  volumes:
    - '/var/run/docker.sock:/tmp/docker.sock:ro'
    - /usr/share/nginx/html
    - /etc/nginx/vhost.d
nginx-proxy-letsencrypt:
  image: 'jrcs/letsencrypt-nginx-proxy-companion:latest'
  volumes:
    - /etc/nginx/certs
    - '/var/run/docker.sock:/var/run/docker.sock:ro'
  volumes_from:
    - nginx-proxy
web:
  image: 'php:5.6-apache'
  environment:
    - HTTPS_METHOD=nohttp
    -<EMAIL_ADDRESS>    - LETSENCRYPT_HOST=www.test.com
    - LETSENCRYPT_TEST=true
    - VIRTUAL_HOST=www.test.com

Result
Nginx will return 503 on http://www.test.com/.well-known/acme-challenge/X, because HTTP is not allowed/configured for the host.
Any ideas?

As stated on the doc:

Check your firewall rules and do not attempt to block port 80 as that will prevent http-01 challenges from completing.
For the same reason, you can't use nginx-proxy's HTTPS_METHOD=nohttp.

This is the way ACME's http-01 challenge works and there is nothing we can do to change this from this container's end.
Closing.


Add saveAll feature in active record

I'm sorry to give some references from other framework
http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveall-array-data-null-array-options-array
http://www.rijalasepnugroho.com/blogs/view/Membuat Form Master Detail dengan CakePHP
$this->SomeModel->saveAll($data, array(
    'fieldList' => array(
        'SomeModel' => array('field_1'),
        'AssociatedModel' => array('field_2', 'field_3')
    )
));

The saveAll function is just a wrapper around the saveMany and saveAssociated methods. it will inspect the data and determine what type of save it should perform. If data is formatted in a numerical indexed array, saveMany will be called, otherwise saveAssociated is used.

https://github.com/mootensai/yii2-relation-trait

this is covered mostly by updateAll(). With respect to saving links, this is already covered with #3224 and #1990


How can I fix the map to our coordinates? i don't want it to move when scroll on it?

check out the "static map" demo. It works on ios the way you want. This is an android bug currently because it will still scroll on android.

thank you!


Fix sync schema pos bug

In which case it is null?

In which case it is null?

After the file is created for the first time, the system fails before the pos data is written, and then the file will be empty when the IoTDB system is restarted, which will lead to null.


IA543 feat : enable non-superusers to access Tasks

Changes

access to Tasks screen can be enabled from Dialog box in Users' screen
added "iaso_data_tasks" to /iaso/hat/menupermissions/model.py's permissions list
created migration

https://user-images.githubusercontent.com/38907762/121664698-0741c780-caa8-11eb-8bbf-06ebed39e1b3.mov

But why shepherd?


A little Benchmark and a few ideas on how to improve the output

Hey,
I just did a little Benchmark with a few typical things to see how good the output looks. This is my result.
Logseq PDF Export Benchmark.pdf
And this is how it looks in Logseq

As you can see, it does look way better in Logseq. But that is probably because of the way you handle printing: As far as I understand you use the native print-dialog, therefore the theme would have to use@media print CSS to style the output.
This sounds like a great approach, as it allows the result to be customizable via CSS. Maybe, however, you could add another option, which could lead to very pretty results: Chrome has a feature, which allows you to print in a wysiwyg-fashion, meaning it prints exactly as shown in Logseq. This could make it easy to render even custom elements added by other plugins.
https://superuser.com/questions/846082/how-to-get-wysiwyp-print-what-you-see-in-a-web-browser
I don't know if it is possible to access these APIs from JavaScript, but it would be very cool. You could just hide things like the menubar and we would get an output which looks exactly like in Logseq. What do you think?

I tried the approach and it wasn't really working because the print dialogue firstly printed the top bar, but more importantly only printed what was shown on screen and nothing that was shown off the screen. This is partly due to the weather Logseq handles blocks on large pages. I noticed that there was a lot of space on the top and bottom. Are you not exporting an A4?
How does the preview Windows look, as a approach I've  taken is to first convert the blocks in the page to HGML, then apply CSS and finally use the native print dialogue to print what's on the screen.
And have you selected the inherits CSS option in settings?
On 8 Apr 2022, 7:47 PM +0400, Lukas Mertens @.***>, wrote:

Hey,
I just did a little Benchmark with a few typical things to see how good the output looks. This is my result.
Logseq PDF Export Benchmark.pdf
And this is how it looks in Logseq
As you can see, it does look way better in Logseq. But that is probably because of the way you handle printing: As far as I understand you use the native print-dialog, therefore the theme would have to @.*** print CSS to style the output.
This sounds like a great approach, as it allows the result to be customizable via CSS. Maybe, however, you could add another option, which could lead to very pretty results: Chrome has a feature, which allows you to print in a wysiwyg-fashion, meaning it prints exactly as shown in Logseq. This could make it easy to render even custom elements added by other plugins.
https://superuser.com/questions/846082/how-to-get-wysiwyp-print-what-you-see-in-a-web-browser
I don't know if it is possible to access these APIs from JavaScript, but it would be very cool. You could just hide things like the menubar and we would get an output which looks exactly like in Logseq. What do you think?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I believe that you can add custom CSS. You can go to plug-in settings and edit custom  CSS and other settings for the plug-in from there Including the option to inherit from your current log 16
On 8 Apr 2022, 10:14 PM +0400, Aryan Sawhney @.***>, wrote:

I tried the approach and it wasn't really working because the print dialogue firstly printed the top bar, but more importantly only printed what was shown on screen and nothing that was shown off the screen. This is partly due to the weather Logseq handles blocks on large pages. I noticed that there was a lot of space on the top and bottom. Are you not exporting an A4?
How does the preview Windows look, as a approach I've  taken is to first convert the blocks in the page to HGML, then apply CSS and finally use the native print dialogue to print what's on the screen.
And have you selected the inherits CSS option in settings?
On 8 Apr 2022, 7:47 PM +0400, Lukas Mertens @.***>, wrote:

Hey,
I just did a little Benchmark with a few typical things to see how good the output looks. This is my result.
Logseq PDF Export Benchmark.pdf
And this is how it looks in Logseq
As you can see, it does look way better in Logseq. But that is probably because of the way you handle printing: As far as I understand you use the native print-dialog, therefore the theme would have to @.*** print CSS to style the output.
This sounds like a great approach, as it allows the result to be customizable via CSS. Maybe, however, you could add another option, which could lead to very pretty results: Chrome has a feature, which allows you to print in a wysiwyg-fashion, meaning it prints exactly as shown in Logseq. This could make it easy to render even custom elements added by other plugins.
https://superuser.com/questions/846082/how-to-get-wysiwyp-print-what-you-see-in-a-web-browser
I don't know if it is possible to access these APIs from JavaScript, but it would be very cool. You could just hide things like the menubar and we would get an output which looks exactly like in Logseq. What do you think?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yes, I used the default settings for the templates. Inherits css is enabled in template 1, which I used.
The css to hide everything which should be hidden for printing should be:
.cp__sidebar-help-btn,#left-sidebar,#right-sidebar,#head {
  display: none !important;
}
#main-container {
  padding-left: 0 !important;
}

I then used the developer tools to set the page to an appropriate resolution by using the "responsive" feature:

You can then use the "capture full size screenshot"-function to export an image with full resolution.

This results in a screenshot like this (right now I don't have the bear theme set up in my browser and the image didn't load properly, but it should demonstrate my point):

I dont know what I'm doing wrong, inherit Logseq CSS as well as manually setting css for Templates does not work for me, it all looks like the following screenshot:

Try the new 4th option called print with retained formatting :)


Initializing sf::SoundBuffer crashes whole program in llvm clang UCRT

Prerequisite Checklist

[X] I searched for existing issues to prevent duplicates
[X] I searched for existing discussions on the forum to prevent duplicates
[X] I am here to report an issue and not to just ask a question or look for help (use the forum or Discord instead)

Describe your issue here
There's something wrong with sf::SoundBuffer initializing it causes whole thing crash  without any clue.
I tried debugging setting breakpoint and it seems like I couldn't
see below for a better understanding of what's going on...
Here's a bare minimum code.
#include <SFML/Audio.hpp>
#include <iostream>

int main()
{
    std::cout << "SB test\n" << std::flush;
    sf::SoundBuffer sb{};
    std::cout << "PASS" << std::flush;
}

I have cloned branch 2.6.x
Here's my compiler Details and demo .

Your Environment

OS / distro / window manager:  Windows 10
SFML version: 2.6.x (git cloned)
Compiler / toolchain:  clang version 18.1.0rc ( https://github.com/llvm/llvm-project.git 6c90f8dd546334b01c9a86387950e8c72d459f1e )
Special compiler / CMake flags: Nothing

Steps to reproduce
#include <SFML/Audio.hpp>
#include <iostream>

int main()
{
    std::cout << "SB test\n" << std::flush;
    sf::SoundBuffer sb{};
    std::cout << "PASS" << std::flush;
}

Expected behavior
Should atleast print "SB test" but it doesn't.
Actual behavior
Atleast it should run and print something on screen.

Isn't UCRT known to cause issues with SFML since the dependencies are compiled with MSVCRT

We fixed that with #3115 for 2.6.x, backmerge still pending.
Did you build it in debug mode?

This has been back-merged by now.


Error saving the output figures in png or pdf format

empty figures
Hi
I am runing NCEM code from the scratch for coupling and cell enrichment analysis. Meanwhile, I wanted to save all the imaging output in png (or pdf) format. But except for the sc.pl.umap output , I am getting empty png file for the remaining analysis.  I tried different ways to save the "image output" but still its not working.
import ncem as nc
import numpy as np
import matplotlib.pyplot as plt
import scanpy as sc
import squidpy as sq
sc.settings.set_figure_params(dpi=100)
import warnings
warnings.filterwarnings("ignore")
from ncem.interpretation import InterpreterInteraction
from ncem.data import get_data_custom, customLoader
results_folder = 'test'
run_name = f'{results_folder}/anndata/'
import scanpy as sc
import anndata as an
adata_file = f"{run_name}/sp.h5ad" # sp_cluster
ad = an.read_h5ad(adata_file)
ncem = InterpreterInteraction()
adata_vis = ad
ncem.data = customLoader(
adata=adata_vis, cluster='region_cluster', patient='sampleid', library_id='sample', radius=150
)
get_data_custom(interpreter=ncem)
var_decomp = ncem.data.compute_variance_decomposition()
ncem.data.variance_decomposition(var_decomp, figsize=(5,3))
plt.savefig('test.png')
ncem.data = customLoader(
adata=adata_vis, cluster='region_cluster', patient='sample', library_id='sample', radius=52
)
get_data_custom(interpreter=ncem)
adata_img, adata_vis, log_pval, fold_change = ncem.data.compute_cluster_enrichment(
image_key=['S1_A1_Complete'],
target_cell_type='2',
clip_pvalues=-5,
n_neighbors=50,
n_pcs=None,
)
sc.pl.umap(adata_vis, color='2 substates', palette='tab10')
plt.savefig("subclust_test.png")
plt.show()
I would appreciate your help
Thanks

Hi @archanabhardwaj ,
thanks for opening this issue and your interest in using ncem.
all ncem plotting functions have a save argument that allow the user to specifiy the path where figures should be stored, e.g.
https://github.com/theislab/ncem/blob/9b6d3fb410a93978bde92004d87158e424d33878/ncem/data.py#L900-L912
I am closing this issue, but feel free to open it again in case of further questions.


Add contributors

@all-contributors
please add @sullivanpj for design,code,tool,doc,test.
please add @tbenning for design.

@all-contributors
please add @sullivanpj for design,code,tool,doc,test.
please add @tbenning for design.


Allow parameter to specify the filename for "the main template"

In the location test for the TTK there is a flag to check if the file is the $IsMainTemplate. This boolean is if the file name is one of 'mainTemplate.json', 'azureDeploy.json', 'prereq.azuredeploy.json'. If so then check the parameter location for the correct definition of resourceGroup.location() being the default.
This prohibits any deployment files from being named differently.
Here is the code for the test:
if ($IsMainTemplate){
    if($locationParameter.defaultValue -and "$($locationParameter.defaultvalue)".Trim() -ne '[resourceGroup().location]') {
    Write-Error "The defaultValue of the location parameter in the main template must not be a specific location. The default value must be [resourceGroup().location]. It is
`"$($locationParameter.defaultValue)`"" -ErrorId Location.Parameter.Hardcoded -TargetObject $parameter
}
# In all other templates:
# if the parameter named "location" exists, it must not have a defaultValue property
# Note that Powershell will count an empty string (which should fail the test) as null if not explictly tested, so we check for it
}else {
    if($locationParameter.defaultValue -ne $null){
        Write-Error "The location parameter of nested templates must not have a defaultValue property. It is `"$($locationParameter.defaultValue)`"" -ErrorId Location.Parameter.DefaultValuePresent -TargetObject $parameter
    }
}

This is problematic as if deploying multiple arm templates it isn't always ideal to be naming the same.

This is intentional...  the scenario is this:
If the file is the top level deployment template, then it's permissible to provide a defaultValue on the location parameter.  If the file is a nested template, then the value of location must be passed through.  If there is a defaultValue, then it's easy to forget to pass the value through.  We check on the nested template (instead of the invocation of the template in the deployments resource) because it's much easier.
Now re: the naming... it's conceivable to have a param that indicates the name of mainTemplate - so if your "top level template" is called foo.json, you could pass something to the tests to indicate that you don't have a mainTemplate.json (for example) but it's called "foo.json".
If that sounds right to you, we can change the title of this issue to reflect that...

That sounds potentially good to me.

Fixed via #261

Fixed via #261