WIP. Sync with Git Repositories

Short description of what this resolves:
Adding git sync. WIP. Requesting review.

[x] 1. It should ask either backup needs to be saved on Github Gist or simple Git Repository.
[x] 2. Once the User select the Git Repo, it should setup accordingly.
[ ] 3. Provide user option to either use Github or GitLab and create a repository from there by their profile tokens.

[x] Create Repository on Github
[ ] Create Repository on GitLab

[x] 4. By Download means, user can do git pull forcefully.
[x] 5. By Upload means, user can do git push forcefully.
[x] 6. Allow user to setup branches or profiles like master and office and keep the selected profile / branch in Sync Global Settings and download/ upload to that branch.
[x] 7. When user is switched to Gist, it should not upload the Git folder there.
[ ] 8. Support Github and Gitlab Enterprise versions

At the moment creating / pushing to different branches on github works.
Haven't wrote the gitlab service.
Will need to rework regex for enterprise versions probably.
Changes proposed in this pull request:

WIP.

Fixes: #413
How Has This Been Tested?

Screenshots (if appropriate):
Checklist:

[x] I have read the contribution guidelines.
[x] My change requires a change to the documentation and GitHub Wiki.
[ ] I have updated the documentation and Wiki accordingly.

Why do you need to access Github/Gitlab API directly? Wouldn't it be a lot more convenient to use just plain git interface using git clone/pull/push/fetch/etc?
Since you're heavily tying your implementation to limited number of services it won't allow it to use with your private Git repos (self-hosted or just local) and it requires internet access to use synchronisation.
It doesn't solve issue in the way it was meant to be implemented.

I'm really excited about a feature like this, I really don't want my settings on a gist that can be found by anyone as it contains sensitive information.

I'm really excited about a feature like this, I really don't want my settings on a gist that can be found by anyone as it contains sensitive information.

The gists have always been private by default. Also your user's local vscode settings (settings.json) do not contain sensitive information by default.

I'm really excited about a feature like this, I really don't want my settings on a gist that can be found by anyone as it contains sensitive information.

The gists have always been private by default. Also your user's local vscode settings (settings.json) do not contain sensitive information by default.

The gists have always been private by default.,however It can be seen by anyone who get the gist url.It is unsafe.

Will this still require github access or will it also accept ssh urls like<EMAIL_ADDRESS>

Let me know if you want to work on it. I will reopen this PR


Attributes - disabled attribute config fields are suppressed

For an Attribute that is not enabled, the values of some of its config fields (Storage Option, checkboxes, Default value) are not displayed.
If the attribute is enabled (turned On), the values are now shown.
If an enabled attribute is disabled (turned Off), the values of is config fields remain displayed; they are not suppressed as they were initially.
What is the intention / benefit of suppressing display of a disabled attribute's config values? Should either make it behave consistently, or abandon it and always display attribute config values regardless whether the attribute is enabled or not.

Hey @tecimovic, I discussed with Jason and Jing, we think that the fields for each attribute should always be displayed and visible, regardless whether the attribute is enabled or disabled. The option for each field should be pre-filled or preselected.

I believe this is still broken. If an attribute is disabled I should not be able to manipulate its values. It seems now I a can manipulate the values of an attribute once I enable it even if I then disable it.


Plan graph image is too small / unreadable

Is your feature request related to a problem? Please describe.

When generating a plan graph, the resulting image is too small to be readable
The horizontal span of the plan is too wide for reasonable use.  A vertical layout would be more usable for documentation/presentations.

focus-converter explain --provider azure --image-path ~/Desktop/focus.png

Describe the solution you'd like
I would like to be able to specify the image dimensions and orientation.  E.g. --orientation vertical --width 2000 .  This would generate the plan in a vertical layout with the branches going out horizontally, 2000 pixels wide.
Describe alternatives you've considered
Up-scaling the existing output does not produce clear/readable text.

Sure - current output attached.

Hi @sxdjt, did you try the new version. It produces left to right graph which can be scaled much better.

@varunmittal91 That is much better!  Thank you for the work.


⚠ ClamAV has degraded performance

In 915ea2c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in 39d968b after 11 minutes.


HtmlEncoder, JavaScriptEncoder and UrlEncoder injection

Hi! Having worked with Autofac before, I was wondering where are these services (HtmlEncoder, JavaScriptEncoder, UrlEncoder) registered? Is there a pre-defined set of "services" that are already registered and can be injected into controllers, besides the above? If I could guess, I would think the services.AddMvc() extension method, inside ConfigureServices(). If so, is there a list of all the available services available out of the box?

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

ID: 33c64844-bd39-46c9-8b52-192834fa625a
Version Independent ID: 94f92690-9791-a4eb-9256-30a497afccd1
Content: Prevent Cross-Site Scripting (XSS) in ASP.NET Core
Content Source: aspnetcore/security/cross-site-scripting.md
Service: unspecified
Product: asp.net-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

See https://docs.microsoft.com/en-us/aspnet/core/security/cross-site-scripting?view=aspnetcore-2.0#accessing-encoders-in-code
I don't know of a list of all available services.

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


RHEL 6: Not possible to containerize ANY systemd based image (any docker version)

---- TRIAGE -----
Problem: Systemd is not supported on RHEL6 kernels (and this won't be fixed). As such containers which include systemd will not work.
Resolution: Update docs to reflect issues attempting to run systemd based images on kernels < 3.8
---- END TRIAGE ----
Hi,
this is more a documentation / information related problem:
"Develop, Ship and Run Any Application, Anywhere" NOT true for:

Anywhere = [Redhat | CentOS] 6) AND
Application dependent on systemd

This should be at least mentioned in the install description for RH6.
In our case we realized this only when we wanted to deploy ready, working containerized Apps to production at a customer. Their operations and security departments disallows major Kernel or OS upgrades so we have a real problem - which bit us unexpectedly, due to the claim that the docker enabled series 2 RH kernel is fine.
Description of problem:
Any systemd enabled container can't start on RH 6, with systemd as Pid 1

With --privileged or without
With -e 'container:docker' or without

The root cause is the missing /sys/fs/cgroup interface of the kernel - which can't be created there (sysfs) - allthough all cgroups are actually supported, mounted to /cgroup
I'm clear that docker supports the one container per process approach but for various reasons (many legacy) we require a full init system - and systemd is the default in Linux these days.
docker version:
Tried 1.3.0 and also Docker version 1.6.2, build 7c8fca2
docker info:
[root@ip-172-30-0-24 ~]# docker info
Containers: 19
Images: 11
Storage Driver: devicemapper
Pool Name: docker-202:80-3145731-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file:
Metadata file:
Data Space Used: 2.375 GB
Data Space Total: 107.4 GB
Data Space Available: 105 GB
Metadata Space Used: 2.879 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.145 GB
Udev Sync Supported: false
Library Version: 1.02.82-git (2013-10-04)
Execution Driver: native-0.2
Kernel Version: 2.6.32-504.el6.x86_64
Operating System:  (containerized)
CPUs: 1
Total Memory: 994.7 MiB
Name: ip-172-30-0-24.eu-west-1.compute.internal
ID: IZBN:IMN5:OGHI:L2LQ:IVB7:RBPC:7KPS:KKSW:ZKZF:SHMD:EPNF:ABXB
uname -a:
Linux ip-172-30-0-24.eu-west-1.compute.internal 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Environment details (AWS, VirtualBox, physical, etc.):
[root@ip-172-30-0-24 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Reproduced on AWS (ami-9cfd53eb)
On customer site its in vmware server.
How reproducible:
100%
Steps to Reproduce:
We tried various ways. Here the most naive ones:
a) # docker run -ti --privileged -e "container=docker" debian:jessie  /sbin/init
-> Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory
b) # docker run -ti --privileged -e "container=docker" -v '/cgroup:/sys/fs/cgroup' debian:jessie  /sbin/init
-> FATA[0000] Error response from daemon: Cannot start container 3c37ba2028310fcfbe7fa3e8f8f084ecb28670d7b1566e4865d3c9ff0eeca590: [8] System error: mkdir /var/lib/docker/devicemapper/mnt/3c37ba2028310fcfbe7fa3e8f8f084ecb28670d7b1566e4865d3c9ff0eeca590/rootfs/sys/fs/cgroup: no such file or directory
c) # ./docker-1.3.0 run -t -i --privileged --lxc-conf="lxc.mount.auto = proc:rw sys:rw cgroup-full:mixed" -e 'container=docker' debian:jessie  /sbin/init
-> Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory
d) # ./docker-1.3.0 run -it --privileged cloudbees/archbase
-> Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory
e) # ./docker-1.3.0 run -it cloudbees/archbase
-> Failed to mount tmpfs at /run: Operation not permitted
Expected Results:
systemd as pid1 inside (as working with ubuntu as base OS or also when we upgrade the kernel according to http://nareshv.blogspot.com/2014/02/installing-docker-08-version-on-centos.html  (which is not allowed in production))
Additional info:

https://github.com/jpetazzo/dind/issues/17
http://developerblog.redhat.com/2014/05/05/running-systemd-within-docker-container/ (which is only working on RH7)
https://registry.hub.docker.com/u/offlinehacker/nixos/ (does also not work)

In general I want to say that the problem is not a bug in docker as such. Since it is also not possible to get systemd up on RH6 using lxc.
But it should be made very clear to users of dockers that their containers can't work on default RH 6 - if systemd is used as init system inside.
PS: If there is any workaround whatsoever (dind?) I would be very happy if I'm proven wrong with the main claim of this issue.

Here a definite confirmation from Lennart:
https://bugs.freedesktop.org/show_bug.cgi?id=90517
=> You might really want to provide this information in your install notes for Red Hat, Cent Os 6 type OSes. Since it will save users a lot of time finding out the hard way :-/

Thanks! I updated the issue to reflect what needs to be done

#dibs

Docs now state only v7 is supported.  Suggest closing this issue.

@mikebrow thanks, yes, I think this can be closed now that we no longer have RHEL/CentOS 6 in the list of supported versions

@mikebrow thanks also from here. Sorry was pretty much for quite some time.


P2P mode only room for 2 participants

I haven't seen anywhere in the site or docs if it's possible to enable rooms with P2P only, with fallback to SFU if P2P cannot be established

P2P is not in scope for LiveKit. see https://github.com/livekit/client-sdk-js/issues/270


Fix undefined error when trying to get branches on some jobs

Sometimes I get an undefined reference for elem.commit.branch, this change works around that although I'm not sure what the root cause is...

Still an issue?

Not important enough to fix even if it is


Generate daily/weekly/monthly clips of progress

Hourly gifs were added w/ #8
Ideally this would be setup so that it could be generated with a command-line call
e.g. python bot.py -gif --alltime or python bot.py -gif --time 24hours
so it can easily be called by a cron job


Pinned windows can not open fullscreen - breaks Firefox

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)

System Information:
System name: Linux
Node name: SimplyRed
Release: 6.8.5-201.fsync.fc39.x86_64
Version: #1 SMP PREEMPT_DYNAMIC TKG Sat Apr 13 04:06:22 UTC 2024

GPU information:
0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c0) (prog-if 00 [VGA controller])

os-release: NAME="Nobara Linux"
VERSION="39 (KDE Plasma)"
ID=nobara
ID_LIKE="rhel centos fedora"
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Nobara Linux 39 (KDE Plasma)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=nobara-logo-icon
CPE_NAME="cpe:/o:nobaraproject:nobara:39"
DEFAULT_HOSTNAME="nobara"
HOME_URL="https://nobaraproject.org/"
DOCUMENTATION_URL="https://www.nobaraproject.org/"
SUPPORT_URL="https://www.nobaraproject.org/"
BUG_REPORT_URL="https://gitlab.com/gloriouseggroll/nobara-images"
REDHAT_BUGZILLA_PRODUCT="Nobara"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Nobara"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-05-14
VARIANT="KDE Plasma"
VARIANT_ID=kde

plugins:

Bug or Regression?
Bug
Description
If you have a floating window - picture in picture in this case - and try to open the fullscreen view, nothing happens.
If you do the same with a Firefox window, floating, pinned and click several times, the whole window gets pretty much unusable. If you unfloat, it reacts only sporadically, wrong and fairly broken.
How to reproduce
Example Firefox:

Open some video on Youtube
Float window
Pin window
Click the fullscreen button
Unfloat
Click the fullscreen button

Crash reports, logs, images, videos
Some video on Youtube - the Firefox window is broken after these steps
https://github.com/hyprwm/Hyprland/assets/5329652/872b1be9-c7f3-4654-b874-a7a92ece75fa

pretty sure this is a firefox bug. Whether its fullscreen requests are honored or not is:

Firefox seems to not acknowledge rejections

pretty sure this is a firefox bug. Whether its fullscreen requests are honored or not is:

Thank you for looking into it.

Firefox seems to not acknowledge rejections

This may be correct, but the broken window is only one part of this issue.
I would still love to allow pinned windows being able to open fullscreen views. This works pretty well on every DE I tested. Not sure about other tilers though.

#1147


ILMerge operation

Hi,
I'm unable to merge my dll EZreceiptDll2.dll with Newtonsoft.Json.dll.
Is there any detail I missed?
Here is my options:

Here is my ILMerge configuration:
(BTW, I'm not very sure what to write down in this textarea)

Information from Data tab:
Installed: True; 1.7.4+c1cc52f; invoked: 1.7.4
Project type: Cs
Storage: ProjectFiles
Compiler.Platform: x86
Compiler.ordinalsBase: 1
Compiler.rSysObj: False
Compiler.ourILAsm: False
Compiler.customILAsm:
Compiler.genExpLib: False
Compiler.peCheck: PeIl
Compiler.patches: None
PreProc.Type: ILMerge, DebugInfo, IgnoreErr
PreProc.Cmd: Newtonsoft.Json.dll EZreceiptDll2.dll
PostProc.Type: Predefined, DependentX86X64, SeqDependentForSys
PostProc.ProcEnv: $(SolutionPath);$(MSBuildThisFileFullPath);TargetDir
PostProc.Cmd: ...
SignAssembly:
Identifier: 5F0765BA-6964-4A7D-AC90-D7DD394FC718
Instance: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64\MSBuild.exe
Project path: C:\Users\jackkuo\Desktop\EZreceiptDll2\EZreceiptDll2.csproj
Action: Configure
PlatformTarget: x86
TargetFramework:
TargetFrameworks:
TargetFrameworkVersion: v4.7.2
RootNamespace: EZreceiptDll2
AssemblyName: EZreceiptDll2
MgrArgs: -action Configure
MetaLib: tools\raw\lib\net20\DllExport.dll
MetaCor: tools\raw\lib\netstd\DllExport.dll
Proxy:
StoragePath: .net.dllexport.targets
ddNS: System.Runtime.InteropServices
ddNS max buffer: 500
UseCecil: True
intermediateFiles: False
timeout: 30000
Options: None
RootPath: C:\Users\jackkuo\Desktop\EZreceiptDll2\
PkgPath: C:\Users\jackkuo\Desktop\EZreceiptDll2\packages\\DllExport.1.7.4\
SlnFile:
SlnDir: C:\Users\jackkuo\Desktop\EZreceiptDll2\
DxpTarget: tools\net.r_eg.DllExport.targets
MsgGuiLevel: -1
LockIfError:

I'm not very sure what to write down in this textarea

The list of modules (.exe, .dll) separated by a whitespace char to be merged with the main module in the selected EZreceiptDll2 project.
For your case, only Newtonsoft.Json.dll is needed in this list. Remove EZreceiptDll2.dll then try again.

I'm not very sure what to write down in this textarea

The list of modules (.exe, .dll) separated by a whitespace char to be merged with the main module in the selected EZreceiptDll2 project.
For your case, only Newtonsoft.Json.dll is needed in this list. Remove EZreceiptDll2.dll then try again.

Thanks for your explanation!
If I only write down Newtonsoft.Json.dll, it shows the error message while compiling:
C:\Users\jackkuo\Desktop\EZreceiptDll2\Class1.cs(16707566) : error : syntax error at token '-' in:     IL_0027:  ldc.r8     -inf	EZreceiptDll2

But I'm pretty sure my code in Class1.cs is right. 🤔

Thanks for your explanation!
If I only write down Newtonsoft.Json.dll, it shows the error message while compiling:
C:\Users\jackkuo\Desktop\EZreceiptDll2\Class1.cs(16707566) : error : syntax error at token '-' in:     IL_0027:  ldc.r8     -inf	EZreceiptDll2

But I'm pretty sure my code in Class1.cs is right. 🤔

error : syntax error at token '-' in:     IL_0027:  ldc.r8     -inf

#128
Your case requires Inf/-Inf token patching. Activating the related option should help.

error : syntax error at token '-' in:     IL_0027:  ldc.r8     -inf

#128
Your case requires Inf/-Inf token patching. Activating the related option should help.

@3F Thank you~  It works!
Sorry for not knowing how to find this problem via the keyword "inf".
This project is so nice and your reply is so fast 🥰
Although I've written a Chinese post about this 1 year ago, I think it's time to write a more detailed one to promote this project :)

@3F Thank you~  It works!
Sorry for not knowing how to find this problem via the keyword "inf".
This project is so nice and your reply is so fast 🥰
Although I've written a Chinese post about this 1 year ago, I think it's time to write a more detailed one to promote this project :)

@3F Thank you~ It works!

Good! Nice to hear that everything works well

This project is so nice and your reply is so fast 🥰

I am trying :) https://twitter.com/github3F/status/1343482999766200320

Although I've written a Chinese post about this 1 year ago, I think it's time to write a more detailed one to promote this project :)

Thank you! This is a good article!
Because sometimes I'm watching some really crazy instructions like Install/Uninstall then again Install via NuGet (?). I don't even know where this came from and why it was so hard to just click the .bat file (in 1.7 added automated execution of this .bat for nuget, and seems like it helps better than popup warn in 1.6.x).
Thanks for your interest in my projects!
https://github.com/3F

@3F Thank you~ It works!

Good! Nice to hear that everything works well

This project is so nice and your reply is so fast 🥰

I am trying :) https://twitter.com/github3F/status/1343482999766200320

Although I've written a Chinese post about this 1 year ago, I think it's time to write a more detailed one to promote this project :)

Thank you! This is a good article!
Because sometimes I'm watching some really crazy instructions like Install/Uninstall then again Install via NuGet (?). I don't even know where this came from and why it was so hard to just click the .bat file (in 1.7 added automated execution of this .bat for nuget, and seems like it helps better than popup warn in 1.6.x).
Thanks for your interest in my projects!
https://github.com/3F

@3F
Here is a new step-by-step tutorial blog post in Traditional Chinese. (maybe you could use Google Translate XD)
It's welcome to use my screenshot to write an English version ~

@3F
Here is a new step-by-step tutorial blog post in Traditional Chinese. (maybe you could use Google Translate XD)
It's welcome to use my screenshot to write an English version ~

@JackKuo-tw
Good! Just a few clarifications:

.\DllExport.bat -action Configure the Configure is the default action for 1.6.3+ thus it can be simply omitted. Other commands here

Some specific namespace is not required. I don't know Chinese but it was translated as "2. Select the corresponding Namespace and use it here ... (need to be introduced separately)"

You can also point to the following important places:

First steps (C#, VB, F#) - https://github.com/3F/DllExport/wiki/Quick-start
Project example (source code C++, C#, VB) - https://github.com/3F/Examples/tree/master/DllExport/BasicExport
for Java, yet only screencast;
btw, we need to upgrade it to 1.7.4

And welcome if you want push some example for python, here https://github.com/3F/Examples/tree/master/DllExport/
Thanks!

@JackKuo-tw
Good! Just a few clarifications:

.\DllExport.bat -action Configure the Configure is the default action for 1.6.3+ thus it can be simply omitted. Other commands here

Some specific namespace is not required. I don't know Chinese but it was translated as "2. Select the corresponding Namespace and use it here ... (need to be introduced separately)"

You can also point to the following important places:

First steps (C#, VB, F#) - https://github.com/3F/DllExport/wiki/Quick-start
Project example (source code C++, C#, VB) - https://github.com/3F/Examples/tree/master/DllExport/BasicExport
for Java, yet only screencast;
btw, we need to upgrade it to 1.7.4

And welcome if you want push some example for python, here https://github.com/3F/Examples/tree/master/DllExport/
Thanks!

the Configure is the default action for 1.6.3+ thus it can be simply omitted. Other commands here.

Thanks! It's helpful.

Also, some specific namespace is not required. I don't know Chinese but it was translated as

You're so patient that really use the translation tool to read my blog 😇
Ok, I understand the namespace & Interop concepts after reading Microsoft docs. (newbie in Window dev)
In my observation, the options contain only 1 namespace and other DllExport built-in namespace, even if there is more than 1 namespace in the project. Is it a bug?

You can also point to the following important places

No problem! The next version must attach it!

And welcome if you want to push some example for Python

Sure, I'm still figuring out how to use ctypes lib.

Actually, there are so many programmers not familiar with English in Taiwan & China, especially those who are 40+ y.o.
I hope my blog can help them to develop more powerful & secure software, even if I'm not in the desktop application development industry (cloud instead).
Thank you very much!

the Configure is the default action for 1.6.3+ thus it can be simply omitted. Other commands here.

Thanks! It's helpful.

Also, some specific namespace is not required. I don't know Chinese but it was translated as

You're so patient that really use the translation tool to read my blog 😇
Ok, I understand the namespace & Interop concepts after reading Microsoft docs. (newbie in Window dev)
In my observation, the options contain only 1 namespace and other DllExport built-in namespace, even if there is more than 1 namespace in the project. Is it a bug?

You can also point to the following important places

No problem! The next version must attach it!

And welcome if you want to push some example for Python

Sure, I'm still figuring out how to use ctypes lib.

Actually, there are so many programmers not familiar with English in Taiwan & China, especially those who are 40+ y.o.
I hope my blog can help them to develop more powerful & secure software, even if I'm not in the desktop application development industry (cloud instead).
Thank you very much!

Ok, I understand the namespace & Interop concepts after reading Microsoft docs. (newbie in Window dev)

Wait, I meant only DllExport project. This is specific to its injection and more. While the namespaces are the common practice in many other programming languages just to isolate your space.
It can be also empty to expose the feature using global namespace. And unicode support starting with 1.6.3

In my observation, the options contain only 1 namespace and other DllExport built-in namespace, even if there is more than 1 namespace in the project. Is it a bug?

No. I think you don't need to change anything if you're not sure what to do with it.

Sure, I'm still figuring out how to use ctypes lib.

Use my old example here https://github.com/3F/regXwild/issues/6#issuecomment-647149786

I hope my blog can help them to develop more powerful & secure software, even if I'm not in the desktop application development industry (cloud instead).

Wish you success!

Ok, I understand the namespace & Interop concepts after reading Microsoft docs. (newbie in Window dev)

Wait, I meant only DllExport project. This is specific to its injection and more. While the namespaces are the common practice in many other programming languages just to isolate your space.
It can be also empty to expose the feature using global namespace. And unicode support starting with 1.6.3

In my observation, the options contain only 1 namespace and other DllExport built-in namespace, even if there is more than 1 namespace in the project. Is it a bug?

No. I think you don't need to change anything if you're not sure what to do with it.

Sure, I'm still figuring out how to use ctypes lib.

Use my old example here https://github.com/3F/regXwild/issues/6#issuecomment-647149786

I hope my blog can help them to develop more powerful & secure software, even if I'm not in the desktop application development industry (cloud instead).

Wish you success!


Adding my university to JetBrains school domain lists

University website: https://www.puc-campinas.edu.br/
IT related course with one year more duration: https://www.puc-campinas.edu.br/graduacao/engenharia-de-computacao/
My official enrolled student e-mail domain:

Da hora

@rckmath Pull request merged. Thank you!


add kfp v2 introduction

Some outstanding content, such as cross-section links, to be added once merged into the pipelines-v2-docs branch.

/cc @chensun
for content review


Fix the breakage of mesh expansion due to IsValidIP in iptables-start.sh

Bug description
Mesh expansion does not work due to #13291

iptable-starts.sh stops on a mesh expansion VM instance.
Cluster.env file is

ISTIO_SERVICE_CIDR=<IP_ADDRESS>/20
ISTIO_SYSTEM_NAMESPACE=istio-system
ISTIO_CP_AUTH=MUTUAL_TLS

Expected behavior
istio-sidecar.deb package after installed on a VM, we are able to start Envoy side car.
Steps to reproduce the bug

Build sidecar Debian package, install it on a VM.
iptable-start.sh will fail at IsValidIP function

function isValidIP() {
   if [ "$1" != "${1#*[0-9].[0-9].[0-9].[0-9]}" ]; then
      true
   elif [ "$1" != "${1#*:[0-9a-fA-F]}" ]; then
      true
   else
      echo "not valid ip $1"
   fi
}
isValidIP "<IP_ADDRESS>"

output not valid ip <IP_ADDRESS>, and the iptable setups stops.
More description can be found at https://github.com/istio/istio/pull/13291#issuecomment-486001220

Apart from the fix, I really think we should invest less on bash script... They are hard to be unit testable and maintain and syntax is quirky, IMHO. We've already have 500+ LOC of iptables.sh
For this particular case, we might need to live with what currently have, but we should really starts thinking about better language(python, e.g) for new tasks like this.
fyi @utka @kyessenov @louiscryan ...

Besides the choice of the language, what is missing is testing with a sufficient functional coverage.

@incfly Agree 100%, I would love to refactor it into a nice go code with bunch of unit tests ;)

@kyessenov yup on testing coverage. I actually find the issue when writing e2e test for mesh expansion. I will add that to our PR gate. I just think switching to a more maintainable language still benefit us additionally.


Update-MarkdownHelp adding back in a space that VSCode removes

Steps to reproduce
Set up VSCode to trim trailing whitespace.
Create a markdown for a function.
Save it from VSCode with trim trailing whitespace enabled.
Run Update-MarkdownHelp on the markdown file.
Expected behavior
The command should not modify the file because we haven't changed it.
Actual behavior
The command is adding back in a space after Aliases::

Environment data
v0.7.2

Sure would be nice if platyPS didn't add the space after Aliases: in the first place.  That would play better with editors like VSCode where users can configure the editor to trim trailing whitespace automatically which is very useful for PowerShell scripts.

Agree, it would be nice to have.
Should be pretty easy to add.

Might look at taking this one on, still in the latest build, and it is annoying me :)

Ah that's a good one! @BernieWhite let me know if you have any questions

Thanks. So do you think if any sort of feature switches going be required, or will trailing spaces always be removed?

@vors This one turned out to be broader then expected. Existing help used in unit tests use trailing whitespace in multiple places.
It wasn't something that could easily be solved, so the fix was scoped to only address yaml blocks used for header and parameters, which will address @rkeithhill original request.

Always removed

Fixed in #225


9.1 features

Fixes #893

Should we mention worker_create_schema, worker_repartition_cleanup, get_rebalance_table_shards_plan and alter_role_if_exists? I thought they looked somewhat internal, so didn't cover them.

They are all pretty internal, although get_rebalance_table_shards_plan might be made useful for users in the future.

Great suggestions, thanks.


Merge v4.4.168 into mc master

Closing in favor of Pull https://github.com/MasterControlIncPublic/pdf.js/pull/70


Backpacks can be placed via dispensers

Expected behavior
Backpacks should not be placable
Observed/Actual behavior
Backpacks are for now just shulkers, so dispensers can place them
Steps/models to reproduce
Put a backpack in a dispenser and fire it
Other
Seems to be easily handled via this. Could just cancel it but it should rather drop the item
Agreements

[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] I have made a detailed description of the bug so that it can be reproduced.

i can try to start on that XD


LHN - Pin icon seems clickable when it's not

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Expected Result:
Click icon can be clicked to remove a pinned conversation
Actual Result:
Click icon seems clickable when it's not.
Action Performed:

Log in to expensify.chat
Navigate to a conversation
Pin the conversation
Navigate to LHN

Workaround:
No need, visual issue.
Platform:
Where is this issue occurring?
Web ✔
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.35-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
View all open jobs on Upwork

From @Luke9389 https://expensify.slack.com/archives/C01GTK53T8Q/p1619810459269400

On web, does anyone else try clicking the pin in the LHN to 'unpin' a chat? Or is that just me?

Triggered auto assignment to @mateocole (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Triggered auto assignment to @tgolen (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

This is a design-related issue so I am going to ping @Expensify/design to get their take on this. I think this issue is fairly low-value, but I don't know if there have already been discussions to improve this visualization or not.

I actually don't think this should be a clickable element. I think clicking anywhere in the row should just take you to that chat - everything else is meant to just indicate the state/content/etc of that row. I think we should close this one.
FWIW, if you pin a chat in WhatsApp, you can't interact with the pin icon on the chat row there either.

Thanks, Shawn! Is there any consideration to changing the icon so it looks less "clickable"? Maybe removing the circle from around it? I definitely do not feel passionate about changing it, that was just the only other thought I had about this issue.

Yeah. But does it look good with the draft icon?

Not too bad:

Yeah, I like it without the circle better, but I like the size of the pin from the circle version (maybe even decreasing the size of the draft icon as well). I think having the icon in the LHN a smaller size than the pin icon in the report header would help visually to set the apart (so people don't keep mistaking it for the same functionality)?
This is what it looks like to reduce the LHN icons from 20x20 to 15x15 and I think it looks really good!

I can get down with that, but we try to use multiples of 4 for all of our sizing, so I would opt for either 16x16 or even 12x12 for the icon size.

OK! I like 16. PR incoming!


Cryptographic enhancements

A couple of cryptographic enhancements to increase the cryptographic robustness of the system. Ideally this should make the system closer to being formally provable secure and harder to compromise in case of programming errors or future design errors.
Note: No usable attacks are known that take advance of these enhancements not being in place.

Ensure that the Proofs of Knowledge are linked to their specific usage and cannot be reused. This should be the case both for the usage proof (in relation to the Attestation request) and the equality proof. See this post for details.
Include a hash of the signed Attestation request in the attestation itself. This will allow anyone to verify that the user who holds the key attested to has actually requested an attestation. This is to prevent a malicious Attestation authority constructing fake attestations that the Ethereum users did not consent to.

Part 1 has been partially handled in PR #113 where support for nonce in the ZK proofs have been added (though it is optional). So far it is only used in attestation requests. Furthermore, note that the nonce currently is context and time-based. I.e. short term replay attacks are possible for the same service.


Define where to put catalog level metadata in a STAC API

For static catalogs we have fields like 'tags' and 'contact', as well as proposals like 'homepage' in #137. It is less clear where to put this type of metadata in a stac api.
Static catalogs tend to have a 'catalog' field, that refers to its root catalog that has this field. But that root catalog is also the 'starting point' to point someone at to learn about the dataset and dive in. There should be a well known place in the STAC API that has that info. It's likely either a set of json fields in /collections/{collectionId} or a little document that hangs off it, like /collections/{collectionId}/catalog.json
The latter likely makes more sense, especially if there's a nice way to have it work the same for static and dynamic catalogs.
Related to #81 as well as concepts around collection level metadata.

This will be done with #172 - the conclusion was that STAC API's should have a /stac endpoint that has a catalog structure that follows the static spec.

Not sure why I closed this - should be closed when #172 is fully merged and the concept is fully explained.

closed with #172 and #258


Rename sync task so it doesn't clash with the CMS.

What's up with that weird Travis failure?

I've pushed the branch by mistake to the root repo, before realising Im not pushing to a fork. That branch is now removed - it looks like github oddity triggered by branches that match by name. I'd say safe to ignore.


fix weird behavior on segmentio collection view at pushing back contr…

…oller on ios 11

@grifas Could you please provide more information about "weird behavior" you've fixed?

See https://stackoverflow.com/questions/45573829/weird-uitableview-behaviour-in-ios11-cells-scroll-up-with-navigation-push-anima

We reviewed your PR and realized that your changes do not change anything for Segmentio. So we close this PR.


disallow dropping phrase divs within groups

easier said than done. check out line 3515 in editorComponent.vue


Install openopt-0.5625, FuncDesigner-0.5620, DerApproximator-0.52

What changes were proposed in this pull request?
Install openopt-0.5625, FuncDesigner-0.5620, DerApproximator-0.52
How was this patch tested?
Anaconda/tests/ittests/openopt/basic.p

Merged by https://github.com/wangyum/Anaconda/pull/22


force routing

I know this is only a simple router.  But, I was trying to create a password-protected area of a site.  I was attempting to run a quick check of the firebase user on navigation to the page and if there was no logged in user, force navigate them back to the homepage.  I admit this is a little user-hostile, perhaps an error message on the page would be more appropriate.
The other use case is the exact opposite and less hostile, If they are on the home page and sign in, I assume they are going to the user dashboard, so I want to force navigate there.
I can't seem to work out a way to force nav without getting the router confused or the state mixed up in redux.  Am I missing something, or is this just beyond the scope of this router?

As you mentioned, this is the really simple router and it is good as long as you want to use Redux actions and write all the logic yourself.
For your use cases, I suggest you to try vaadin-router w

That's pretty clever and much more consistent than what I ended up with.  The great benefit with your method here is that it can be triggered the same from anywhere.
Thanks for the assist @jsilvermist!

Yup, that's totally the way to do it. I'll send a PR to add a comment note about that.


renderer: refactor extension loading code

refactor extension loading code
also make sure extension loading is always logged (and the same way)

I'm generally having trouble understanding the purpose of this PR. The code on the left side of the diff seems easier to understand. Also it's not good to add macros when there is no compelling reason (see e.g. https://stackoverflow.com/a/14041847).
If there are any bugs that need to be fixed, it would help to add more details in the commit message and/or have smaller focused commits.

@slpiher, I experimented the need for a refactor when I toyed during my holidays to see if it would be possible to use EXT_framebuffer_object when ARB_framebuffer_object is missing (full disclosure: it went nowhere). Basically, either this or any feature or new extension we may want to support would benefit from this.
I also faced that need when I toyed with GL_ARB_texture_swizzle in the past: adding new extensions reveals current code is very inconsistent, and adding new code just adds more noise.
As it is before:

the code is not consistent: to do the same thing sometime a function is called, sometime the function body is copy pasted, sometime custom code was written, whith risk to not do things the same way and introducing mistakes or inconsistencies when editing parts of the code;
not every used extensions had a log line telling it was loaded (or not);
people writing new code may copy paste one of the various ways to do the same thing with risk for copy-pasting the non-optimal one;
strings for the same message were duplicated many times, if we re-implement translation later, it would be better to translate them once for all;

I'm not really happy with the macros, but at least I extended a macro that was already there so I'm not introducing macro-related issue. Also, I consider more valuable to get proper in game logging than gdb-aware functions: users will not use gdb and we need their testimony to troubleshoot their issues.

Can't you fix the "inconsistencies" without adding new macros?

Can't you fix the "inconsistencies" without adding new macros?

It would be very verbose unfortunately and this will not remove the need for at least one or two macros…

I may use some enum to reduce the number of macros…

I don't see what new capabilities are being introduced in the proposed changes, which would require new macros to be created.

purpose was readability, to be able to do:
LOAD_EXTENSION(ARB_debug_output);

instead of:
LOAD_EXTENSION(false, false, ARB_debug_output, false);

Note that there seems to be at least one required macro to turn macro name into a string at compile time, so using optional arguments may be tricky to implement.

It's possible to make a function with optional arguments, so you could pass the trailing arguments of a macro into such a function.
But for the purpose of getting rid of the ugly boolean arguments here, a flags argument seems better. Something like
enum class Extension Flags {
    CORE = 1 << 0,
    REQUIRED = 1 << 1,
};

The TEST variants should be removed - just use if statements. the CVAR variants are also unnecessary to have a function for, since you only used them one time.

A flag is nice idea but I still don't see how to mlake a macro with an optional argument, without relying on huge verbose stuff that would not make it better.
The optional argument is for the optional test. I can merge _WITH_CVAR and _WITH_TEST so when there is a cvar I pass cvar_name->value instead of cvar_name, this would still reduce to two macros.

That's why my suggestion was to get rid of the "test" thing. There is no need to write code like this:
		if ( formats == 0 )
		{
			logger.Notice("...GL_ARB_get_program_binary found, but with no binary formats");
			glConfig2.getProgramBinaryAvailable = false;
		}

		glConfig2.getProgramBinaryAvailable = LOAD_EXTENSION_WITH_TEST(ARB_get_program_binary, formats > 0);

Instead,
		if ( formats == 0 )
		{
			logger.Notice("...GL_ARB_get_program_binary found, but with no binary formats");
			glConfig2.getProgramBinaryAvailable = false;
		} else {
			glConfig2.getProgramBinaryAvailable = LOAD_EXTENSION(ARB_get_program_binary);
		}

In both snippets in your comment, the logger is written by the one who write the code, and the extension name has to be hardcoded. The whole purpose of this PR is to make sure those two things are never done by hand by the one who write the code, this to avoid any mistake, inconsistencies, or omission.

What? The first snippet in my previous comment is code in the proposed change, written by you yourself.

Ah, yes, that's the only use case where the logger is custom (we would do a custom logger for the Nvidia 340 test, for example), except those special cases, it's better to not have custom loggers. To be honest I was already looking for ways to get rid of the need to hardcode the ext name (maybe by extending macros) in that special case when you started to talk about reducing macros so I stopped there.

Looking at _WITH_TEST without looking at _WITH_CVAR is misleading, because the TEST one is a variation of the CVAR one and they can be merged. Once merged there is 13 occurrences of _WITH_TEST.
Look at my work-in progress code that reduces to two macros. I haven't implemented the flag yet, I used enum instead because I wrote it before you suggested the flag.

Somehow you have reverted the r_noBorder changes. Also please squash the fixup commits.

OK, I fixed things, this is my current implementation with basic enum, I tried to do the flag thing the c++ way but it went nowhere.

Anyway, about this:

There is no need to write code like this:
		if ( formats == 0 )
		{
			logger.Notice("...GL_ARB_get_program_binary found, but with no binary formats");
			glConfig2.getProgramBinaryAvailable = false;
		}

		glConfig2.getProgramBinaryAvailable = LOAD_EXTENSION_WITH_TEST(ARB_get_program_binary, formats > 0);

Instead,
		if ( formats == 0 )
		{
			logger.Notice("...GL_ARB_get_program_binary found, but with no binary formats");
			glConfig2.getProgramBinaryAvailable = false;
		} else {
			glConfig2.getProgramBinaryAvailable = LOAD_EXTENSION(ARB_get_program_binary);
		}

The second one does not print what it it expected to be print.
It is expected the user get this on his log:
...GL_ARB_get_program_binary found, but with no binary formats
..ignoring GL_ARB_get_program_binary.

The first notice is just the explanation for the log that comes after, I want this log printed in all case. First notice may be rewritten in a way this is printed:
...no binary formats found,
..ignoring GL_ARB_get_program_binary.

The same way the Nvidia workaround is planned to display something like that:
...found buggy Nvidia 340 driver,
..ignoring GL_ARB_texture_gather.

I want the ..ignoring notice to always be printed by LoadExt(), if there is something custom to say, it would be said before calling LoadExt(). Calling LoadExt() in all case ensures the notices are consistent.

So, basically in the end the code would looks like:
		if ( formats == 0 )
		{
			logger.Notice("...no binary formats found");
		}

		glConfig2.getProgramBinaryAvailable = LOAD_EXTENSION_WITH_TEST(ARB_get_program_binary, formats > 0);

OK, this now looks like I want it to be (ie. with only two macros) but without the flags thing. I don't know how to do the flags things, it would be better to do it the flags way.

I think you know how to use flags - I have seen some commits involving them before. For example in https://github.com/DaemonEngine/Daemon/pull/357/files the IF_* are a set of flags.

Yeah, but those are simple C enum, not C++ enum class. In my WIP branch I add to define some operators etc…
I'm on it anyway, I wanted to push the implementation with booleans earlier so you can have a picture of what I'm doing, while keeping in mind that at some point ext_NOCORE, ext_NOTREQUIRED would be replaced by ExtFlag::NONE and ext_CORE, ext_REQUIRED would be replaced by ExtFlag::CORE | ExtFlag::REQUIRED or something like that.

I just pushed an implementation using flags the C enum way. I'll attempt a C++ way but you can already look at the code to get a picture of how it's done.


Question about img_idx

Hi, i'm confused about the img_idx in function render_nerfw_imgs
I found that the img_idx here is a list of numbers, my question:
Why it is not cooresponded to the pose one by one?
I can't figure out what kind of pose and img_idx is passed to the NeRF-W's render function

Solved,thanks


Python-proxy on Android or Windows

Hello guys .
Is there a way to use python-proxy on Android or Windows as client ?
The server on a VPS and create the tunnel ?
Maybe the app send the request and connect to shadowsocks app via local Host ?
I would like to use it on Android or Windows , please .

You can install Python on Windows.
python-proxy is compatible with Windows system.
It seems there is no way to use standard Python on Android system.

@qwj one more question sir.
If someone create a app and the sockdroid as a template or base ?
https://github.com/ycmmonkey/socksdroid
I am not a expert , I just want to be clear .

there are many socks clients on android with similar features

@qwj there is app called Qphyton for Android too.
https://play.google.com/store/apps/details?id=org.qpython.qpy3
Is it not possible to use python-proxy on Android ?

If it is compatible with standard Python 3.6, python-proxy will be possible to run.

@qwj can you create a script to run it on Qphyton for Android , please , I am not a programmer . It will not take you much time .
I have one question : is it possible he is using shadowproxy ?? The URL is encode .
Request :
GET #0=a179912768a2445fd9900d471690f81c&1=0&2=s&ss=1589252103950&ope=1# HTTP/1.1
ٌُُُُُُّّّّْْْْْْْْْْْْْْْْْْ
Look the screenshot :

Look the request :

Please I need your opinion and know if he is using your method .


Throttling sometimes fails on Appveyor

TESTS FAILED
shake-test.exe: ASSERTION FAILED: Bad throttling, expected to take 1.4s + computation time (cap of 0.2s), took 1.6250988s

Best approach is to make it happen in a tight loop and see what I can do to make it faster.

Hasn't failed in ages.


Fix nightly builds and publishing

Run apt update before installing ffmpeg and latex.
Install gems locally to avoid permission issues.
Update qutip branches for 4.7.X and 5.0.X.

Branches updated.

Many of the QIP circuit examples fail because of https://github.com/qutip/qutip-qip/pull/190/, so we'll need that to be fixed before these will pass.
There are also other miscellaneous failures to look at.

@Ericgig I think I've addressed all of the issues. Would you mind having another quick check?


MINOR: Throttle consumer timeout increase

The test_throttled_reassignment test fails because the consumer that is used to validate reassignment does not start on time to consume all messages. This does not seem like an issue with the throttling of the reassignment, since increasing the timeout allowed the test to pass multiple consecutive runs locally.
This test seemed to rely on the default JmxTool for the console consumer that was removed in this commit: 179d0d7
The console consumer would check to see if it had partitions assigned to it before beginning to consume. Although the test occasionally failed with the JmxTool, it began to fail much more after the removal.
Error messages of failures followed the below format with varying numbers of missed messages. They are the first messages by the producer.
535 acked message did not make it to the Consumer. They are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19...plus 515 more. Total Acked: 192792, Total Consumed: 192259. We validated that the first 535 of these missing messages correctly made it into Kafka's data files. This suggests they were lost on their way to the consumer.
In the scope of the test, this error suggests that the test is falling into the race condition described in produce_consume_validate.py, which has the timeout to prevent the consumer from missing initial messages.
This can serve as a temporary fix until the logic of consumer startup is addressed further.

This is a port of https://github.com/apache/kafka/pull/8185 against trunk.  The previous PR was also reviewed and approved by @hachikuji

Merged #8188 into trunk.

cherry-picked to 2.5 and 2.4


[6.x] Restore php 7.4 compatibility for paginator resources and objects

Restores php 7.4 compatibility for paginator resources that receives objects (for example from the query builder) instead of models.
Fixes #31703 and fixes #29916

I feel like I keep saying that resources are an Eloquent specific feature.

I feel like I keep saying that resources are an Eloquent specific feature

@taylorotwell  I highly disagree with this because of the support of non-eloquent queries (and stdClass) is very very very useful for real enterprise apps that grab data from legacy enterprise DBs with a big amount of difficult joins and/or where Eloquent cannot be used (for example, in our case response data much different from how they are stored in db). Moreover, stdClass still works perfectly (other fixes can be found in #29916). So I really don't understand why you don't want to fix it on framework level :|


build error

Sending build context to Docker daemon  55.5 MB
Step 1/16 : FROM golang:1.10.3-stretch as builder
Error parsing reference: "golang:1.10.3-stretch as builder" is not a valid repository/tag: invalid reference format
make: *** [build] Error 1

Please update Dockerfile golang:1.10.3-stretch to golang:1.10-stretch. @leventeliu


Correction for ca-certificates-java symlink

Fixes #6

@igorljubuncic Actually I copied the idea from here. This was suggested by @popey & @diddledan in response to my random question on Ubuntu Podcast's telegram channel.


Change logo of SBC and RSC

This PR will be closed, it's no valid and needs to be changed, it's made for seniorblockchain.


Formatting with Apple HD SC Setup only makes 20mb drive

Info
Create a 100mb drive, mount it, attempt to format with Apple HD SC Setup
Expected: 100mb drive
Actual: 20mb drive

Which version of Pi are you using: 4b
Which github revision of software: latest
Which board version: 2.2
Which computer is the RaSCSI connected to: Classic 1

Likely cause:

I came across an interesting issue when playing around with PCE/macplus. I used Linux dd command to create a 1000MB hard disk image, attach it to the machine using the config file, and use Apple HD SC Setup to initialize the drive and create the partitions. Surprisingly, despite changing various options, the tool only created a 20MB partition while leaving the rest of the emulated hard drive unallocated. I have been using this tool on several large hard drives up to 2GB, both emulated and real, with no issues. So what was wrong this time?

After much debugging, the issue is due to PCE/macplus faithful attempt to emulate the original Apple hard disk drive, down to specifying SEAGATE and ST225N as the vendor and product strings in the config file respectively:
device {
id      = 0
drive   = 0x81
vendor  = " SEAGATE"
product = "          ST225N"
}

This config emulates the Seagate ST225N 20MB hard disk drive that comes with many compact Macintoshes of the time. Although this is good in a sense because the emulated hard drive will show up in Apple HD SC Setup immediately without the need for a patch, it also causes Apple HD SC Setup to think that the hard drive is only 20MB and creates a single 20MB partition, without even querying the drive for its real size. The solution is to change the vendor and product name to something else (while maintaining the original string length), and use the patched version of Apple HD SC setup to initialize the drive.

http://www.toughdev.com/content/2016/11/pcemacplus-the-ultimate-68k-classic-macintosh-emulator/

With the new easyinstall.sh assistant, we can create Hard Drives that are already formatted HFS.  This isn't solving this particular problem, but at least it can help some people.
When I get the opportunity, I will link up the Web UI with easyinstall.sh, so that we can create drives easily.

I can confirm this also happens on my system. Pi 3b, develop branch, v2.3 board, connected to Mac Classic II.
with the HD SC setup for 7.5.3.

@erichelgeson @BleuLlama This should be resolved now in the latest develop (8a3642b) with RaSCSI reporting the following SCSI inquiry information by default when a 100MB image is attached:

Vendor: RaSCSI
Product: SCSI HD 100 MB

I tested using Apple HD SC Setup 7.5.3  (patched) and it automatically identified and initialized a file system with 98.2 MB available to the system.
Of course, if you configure RaSCSI to present different inquiry information that Apple HD SC Setup will identify as, say, a 20 MB Seagate drive, then it is likely to format only a 20 MB partition even if you present it with a larger image. E.g.:

rasctl -i 3 -c attach -f ~/images/testseagate.hda -n "SEAGATE:ST225N: "


Emulator Doesn't See File Changes In Debug Mode

Environment details

OS: MacOS 10.13.4
Node.js version: v6.11.5
npm version: 3.10.10
@google-cloud/functions-emulator version: 1.0.0-beta.4

Steps to reproduce

deploy function: functions deploy helloGET
call function: functions call helloGET --data='{"stuff":"things"}' (observe results)
make change to file
call function: functions call helloGET --data='{"stuff":"things"}' (observe modified results from step 3)
debug function: functions debug helloGET
call function: functions call helloGET --data='{"stuff":"things"}' (observe results)
make change to file
call function: functions call helloGET --data='{"stuff":"things"}' (observe UNmodified results)
re-deploy function: functions deploy helloGET
call function: functions call helloGET --data='{"stuff":"things"}' (observe results)
make change to file
call function: functions call helloGET --data='{"stuff":"things"}' (observe modified results from step 11)
Note: at no time did I actually attach a debugger in the scenario above, but even when connecting a debugger I find the exact same results whether I set breakpoints or not.

I've tried searching all over and looked at the functions --help output as much as I can.  I don't know if this is expected behavior, then I can't find it in the docs.  If this has already been asked, I apologize but I couldn't find another issue with this same scenario.
Thanks!

See feature added in #62.


Time-slot component on create-poll not working as expected on mobile

The react-available-times component has some isses on mobile like not being able to adjust the interval or move the slots around. This would require some PRs at the react-available-times' upstream. It's quite old and throws some deprecation warnings too.

It would be great if the time slot component scrolls to the current time :)

I was wondering on how to implement adjusting the interval and moving the slots. One idea that came to my mind would be to use press and hold (long press) and then drag either for adjusting the interval or for moving the slots.
Any other ideas?

I was wondering on how to implement adjusting the interval and moving the slots for mobile devices. One idea that came to my mind would be to use press and hold (long press) and then drag either for adjusting the interval or for moving the slots.

Thanks! Yep, this could work.

Updates: on mobile, only 1 hour slots can be created due to limitations in react-available-times. We would contribute to react-available-times but I think we should wait for some time to see how many users would want this to be fixed.
If you want to be able to select more than 1 hour slots on mobile, please let us know!

Let's checkout https://github.com/jquense/react-big-calendar too

Let's checkout https://github.com/jquense/react-big-calendar too

Kukkee's using this now, so closing this issue.


if results too large get each result one at a time

Could not find a test for the original method so i did not add one here.
Closes #1107

Codecov Report

Merging #1118 (c278fff) into master (daa1550) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1118   +/-   ##
=======================================
  Coverage   39.28%   39.28%
=======================================
  Files          37       37
  Lines        1876     1876
=======================================
  Hits          737      737
  Misses       1051     1051
  Partials       88       88

Flag
Coverage Δ

unittests
39.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Question: will this not hit rate limit really fast? The blocks where this hits have hundreds of transactions and that will result in a lot of hits against the grpc endpoint.

The gateway should take care of handling rate limits I think. So basically outgoing calls would automatically be delayed if they are getting close to the rate limit. I did something like that here previously https://github.com/onflow/flow-batch-scan/blob/main/client/interceptors/uci_rate_limit.go

I just figured out that this will not work for some scenarios. Basically the only way atm to get SystemChunkTransactionResults is through the method that hits the limits.

Block id 55179362 is a block that has systemChunkTransactions and it is not possible to get all transactionResults for that block since it is too large, how do i then get the systemChunkEvents?

Ammended the pr with using the new GetTransactionByHeight that i exposed in another PR.

I pushed changes but they do not appear here

We have decided to not do this, it should be done on another level.


[English workshop]: Cytoscape automation with RCy3

Abstract
RCy3 is a Bioconductor package that operates Cytoscape from R. In this workshop, you will learn about the integration of Cytoscape into programmatic workflows and pipelines using RCy3 Bioconductor package and the Orchestra platform.
Following a brief review of the capabilities of Cytoscape in network analysis, you’ll learn how to translate these into scriptable use cases for practical applications. The bulk of the workshop will be a demonstration of how to access and control Cytoscape from RCy3 to perform a network analysis of tumor expression. Since all Cytoscape operations are done in R, not manually, it is efficient and reproducible.
By the end of this workshop you will be able to:

Command programmatic control over Cytoscape
Integrate Cytoscape into your bioinformatics pipelines
Pull together various tools and resources into a single R Markdown

Language used in the workshop
English
Convenient day for your Long workshop.
I submitted an abstract of the workshop with the same content in Japanese.
https://github.com/Bioconductor/BiocAsia2021/issues/63
If you accept https://github.com/Bioconductor/BiocAsia2021/issues/63 ,
please assign this workshop on a different day.
Contact Details
<EMAIL_ADDRESS>Comment field
No response
Checklist

[X] This workshop has a Bioconductor focus or interest to Bioconductor users/developers.
[X] I checked and confirmed the BioC Asia 2021 Code of Conduct.
[X] I understood that it would be desirable for the workshop to be based on this template project.

@kozo2 Thank you for submitting the abstract.
The Assignees will start the review.
Once accepted by the Assignees, this issue will be closed and your abstract will be posted on https://biocasia2021.bioconductor.org/ .

I accept this abstract.


Added CONTRIBUTING.md

Resolves issue #15
Added a contribution guide so that others are easily able to contribute to this repo and make a clean pull request.

Looks good 🔥
Thanks for contributing, hope to see you again around the project 🚀


Added http testing framework and http test

did you see the linting errors?

did you see the linting errors?

Yes, had to run to class before fixing ;(

did you see the linting errors?

Yes, had to run to class before fixing ;(

swag


Add Node Version to README

Currently, when you clone this repository as a fresh project and run a yarn dev (after the yarn install), you get the Error: error:0308010C:digital envelope routines::unsupported error if you are running Node v17. We should probably add a little note in the README detailing that Node v16 is required. Saves troubleshooting time of new contributors?

@ChrisJBurns Is this up for grabs? If yes, can you assign me this? Thanks!

@Neilblaze  Go for it :)


Precipitation forecast: Add total rain sum

At the moment the forecast text for the precipitation only shows the highest hourly rate and signal words for significant rain events, but there is no information about the total amount per day. This information needs to be added for a better precipitation forecast.

Done with #14.


'cabal update' followed by 'cabal install pandoc-include' fails to build

I've tried several times over a couple of days to the same effect:
error.txt
macOS 10.14 (18A391)
Any ideas how to fix this?

I confirm that in macOS 10.13.6 today, after cabal update.

Same on Ubuntu 18.04.2 LTS

Doesn't work:
$ cabal install pandoc-include                                                                    Resolving dependencies...
Configuring pandoc-include-0.0.1...
Building pandoc-include-0.0.1...
Failed to install pandoc-include-0.0.1
Build log ( /home/nikhil/.cabal/logs/pandoc-include-0.0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-30507/pandoc-include-0.0.1'
Configuring pandoc-include-0.0.1...
Warning: 'hs-source-dirs: src' directory does not exist.
Building pandoc-include-0.0.1...
Preprocessing library pandoc-include-0.0.1...
Preprocessing executable 'pandoc-include' for pandoc-include-0.0.1...
[1 of 1] Compiling Main             ( IncludeFilter.hs, dist/build/pandoc-include/pandoc-include-tmp/Main.o )

IncludeFilter.hs:71:53: error:
    * Couldn't match type `[Char]' with `Data.Text.Internal.Text'
      Expected type: Data.Text.Internal.Text
        Actual type: String
    * In the second argument of `readMarkdown', namely `content'
      In the second argument of `($!)', namely `readMarkdown def content'
      In the expression: return $! readMarkdown def content
cabal: Leaving directory '/tmp/cabal-tmp-30507/pandoc-include-0.0.1'
cabal: Error: some packages failed to install:
pandoc-include-0.0.1 failed during the building phase. The exception was:
ExitFailure 1

It's a bit heavy-weight, but I do this sort of thing now via the pandocs API and classes, which is a joy but there are quirks. http://hackage.haskell.org/package/readme-lhs is an example.

Same on Ubuntu 20.10

Same here on OSX 11.1
Resolving dependencies...
Build profile: -w ghc-8.10.3 -O1
In order, the following will be built (use -v for more details):
 - pandoc-include-0.0.1 (exe:pandoc-include) (requires build)
Starting     pandoc-include-0.0.1 (exe:pandoc-include)
Building     pandoc-include-0.0.1 (exe:pandoc-include)

Failed to build exe:pandoc-include from pandoc-include-0.0.1.
Build log ( /Users/dfu/.cabal/logs/ghc-8.10.3/pndc-ncld-0.0.1-ef6aa3ce.log ):
Configuring executable 'pandoc-include' for pandoc-include-0.0.1..
Warning: 'hs-source-dirs: src' directory does not exist.
Preprocessing executable 'pandoc-include' for pandoc-include-0.0.1..
Building executable 'pandoc-include' for pandoc-include-0.0.1..
[1 of 1] Compiling Main             ( IncludeFilter.hs, dist/build/pandoc-include/pandoc-include-tmp/Main.o )

IncludeFilter.hs:71:53: error:
    • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’
      Expected type: Data.Text.Internal.Text
        Actual type: String
    • In the second argument of ‘readMarkdown’, namely ‘content’
      In the second argument of ‘($!)’, namely ‘readMarkdown def content’
      In the expression: return $! readMarkdown def content
   |
71 | ioReadMarkdown content = return $! readMarkdown def content
   |                                                     ^^^^^^^

IncludeFilter.hs:91:22: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: [[Char]]
        Actual type: [Data.Text.Internal.Text]
    • In the second argument of ‘elem’, namely ‘classes’
      In the expression: "include" `elem` classes
      In a stmt of a pattern guard for
                     an equation for ‘doInclude’:
        "include" `elem` classes
   |
91 |   | "include" `elem` classes = do
   |                      ^^^^^^^

IncludeFilter.hs:92:44: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: String
        Actual type: Data.Text.Internal.Text
    • In the first argument of ‘getProcessableFileList’, namely ‘list’
      In the expression: getProcessableFileList list
      In an equation for ‘toProcess’:
          toProcess = getProcessableFileList list
   |
92 |     let toProcess = getProcessableFileList list
   |                                            ^^^^
cabal: Failed to build exe:pandoc-include from pandoc-include-0.0.1. See the
build log above for details.

Same here on OSX 11.1
Resolving dependencies...
Build profile: -w ghc-8.10.3 -O1
In order, the following will be built (use -v for more details):
 - pandoc-include-0.0.1 (exe:pandoc-include) (requires build)
Starting     pandoc-include-0.0.1 (exe:pandoc-include)
Building     pandoc-include-0.0.1 (exe:pandoc-include)

Failed to build exe:pandoc-include from pandoc-include-0.0.1.
Build log ( /Users/dfu/.cabal/logs/ghc-8.10.3/pndc-ncld-0.0.1-ef6aa3ce.log ):
Configuring executable 'pandoc-include' for pandoc-include-0.0.1..
Warning: 'hs-source-dirs: src' directory does not exist.
Preprocessing executable 'pandoc-include' for pandoc-include-0.0.1..
Building executable 'pandoc-include' for pandoc-include-0.0.1..
[1 of 1] Compiling Main             ( IncludeFilter.hs, dist/build/pandoc-include/pandoc-include-tmp/Main.o )

IncludeFilter.hs:71:53: error:
    • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’
      Expected type: Data.Text.Internal.Text
        Actual type: String
    • In the second argument of ‘readMarkdown’, namely ‘content’
      In the second argument of ‘($!)’, namely ‘readMarkdown def content’
      In the expression: return $! readMarkdown def content
   |
71 | ioReadMarkdown content = return $! readMarkdown def content
   |                                                     ^^^^^^^

IncludeFilter.hs:91:22: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: [[Char]]
        Actual type: [Data.Text.Internal.Text]
    • In the second argument of ‘elem’, namely ‘classes’
      In the expression: "include" `elem` classes
      In a stmt of a pattern guard for
                     an equation for ‘doInclude’:
        "include" `elem` classes
   |
91 |   | "include" `elem` classes = do
   |                      ^^^^^^^

IncludeFilter.hs:92:44: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: String
        Actual type: Data.Text.Internal.Text
    • In the first argument of ‘getProcessableFileList’, namely ‘list’
      In the expression: getProcessableFileList list
      In an equation for ‘toProcess’:
          toProcess = getProcessableFileList list
   |
92 |     let toProcess = getProcessableFileList list
   |                                            ^^^^
cabal: Failed to build exe:pandoc-include from pandoc-include-0.0.1. See the
build log above for details.

cabal install --force-reinstalls pandoc pandoc-include --constraint 'pandoc < 2'


Cannot read properties of null (reading 'hits')

🐛 Current behavior
We see that on Sentry we get a lot of the error "Cannot read properties of null (reading 'hits')".

It's hard to investigate for us as the stack trace leads us from ../../../../node_modules/instantsearch.js/es/connectors/autocomplete/connectAutocomplete.js in indices at line 63:84 to ../../../../node_modules/instantsearch.js/es/lib/utils/defer.js in progress at line 18:16.
Our dependencies are:
  "dependencies": {
    "algoliasearch": "^4.22.1",
    "react-instantsearch": "^7.5.5",
    "react-instantsearch-nextjs": "0.2.4",
    "search-insights": "^2.13.0"
  },

This project is not using nextjs, but we are in a monorepo and so are sharing some packages. We are just importing from react-instantsearch for things like useInfiniteHits, useHits, useRefinementList, the Configure component.
We have about 26 files using react-instantsearch so I'm happy to share some code examples although it's hard for us to know which part is causing the issue. So I wanted to open this issue incase it is a library bug. Happy to try and work through to understand if it's userland or not.
🔍 Steps to reproduce

Use react-instantsearch
See this error reported in Sentry

Live reproduction
n/a
💭 Expected behavior
No error is thrown
Package version
<EMAIL_ADDRESS>Operating system
No response
Browser
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The most interesting part to reproduce would be the part where you're using connectAutocomplete. I wonder if it's possibly rendering conditionally and therefore at some timing where there's no results? It's odd because this is in a loop with the scopedResults array which therefore is definitely present, but it seems to imply that one of the results is null. Could this maybe be an adjacent index widget which is rendered conditionally as well?
We could guard for the case but I'd rather find out why results is null before, maybe something larger is wrong?

What could help you here? Shall I share some more of our set up code?

a minimal reproduction that shows the issue is the most efficient way for us to dig down.


Multiple config files for the building modifier

Would be great to be able to use single config files as module for the building modifier. And also parse subfolders so they could be organized.

I could try myself on it if you dont mind.

Go ahead, any contribution is welcome.


WebView SSL vulnerability

https://github.com/liveservices/LiveSDK-for-Android/issues/63
Has the Live SDK issue been addressed in this project as well?

This project doesn't not include that terrible SSL hack.  This library is vastly more security compliant and uses the HTTP libraries as per the latest guidance from the Android documentation.

Let me know if this issue is not resolved, closing this out


Deleted account

I deleted a discord account with my league account attached, so now I can't connect my league account to my new discord account. I tried using the discord profile it tells you to add for issues and that aslso didn't work.

Hey sorry, I read this but forgot to respond. Please contact me by adding molenzwiebel#2773 as a friend on Discord. If that doesn't work, try joining https://discord.gg/bfxdsRC


support for data resources?

Hi,
May I know if we have support for terraform data sources?
for example:
data "aws_autoscaling_group" "foo" {   name = "foo" .......... }
is there a way to read the name or any attribute inside data block? Thanks in advance!

Technically possible. Marking as enhancement. Will have a look this weekend, hopefully.

thank you!

Could you please try your cases with 1.0.11 ?
Also please let me know about the use cases, I couldn't find much by myself really.

Thanks for the quick turnaround.
I took the aws_avaialability_zones data source example from terraform site and ran terraform plan it and generated the plan.out and plan.json, however the data.example.feature failed with Error:
  Scenario: Subnet Count         SKIPPING: Can not find aws_availability_zones defined in target terraform plan.         Given I have aws_availability_zones defined         When it contains zone_ids         And I count them         Then I expect the result is greater than 2
and when I see the plan.json, it actually has the data block as shown below
{ 					"address": "data.aws_availability_zones.available", 					"mode": "data", 					"type": "aws_availability_zones", 					"name": "available", 					"provider_config_key": "aws", 					"expressions": { 						"state": { 							"constant_value": "available" 						} 					}, 					"schema_version": 0 				}
however for some reason, TC could not recognize that data block.
I have attached my test terraform file, plan.json and results screen shot for your reference.
Please let me know if am doing anything wrong here... thanks!
111.zip

I think I found the reason why TC is not able to recognize the data block in the plan json
The hierarchy of resources for standard resource is like this, i.e. planned_values >root_module>resources as shown in below screen shot

However, for data resources, the hierarchy is little different, it is configuration>root_module>resources as shown in below screen shot

so, I changed  terraform.py , line#84 inside def _parse_resources(self) function with the below code
 # Resources ( exists in Plan )         for findings in seek_key_in_dict(self.raw.get('configuration', {}).get('root_module', {}), 'resources'):
then my BDD is able to recognize the data resource, however my when and Then steps were failing, so I had to change the def it_condition_contain_something(_step_obj, something): in steps.py

after the above changes, my BDD has passed 2 steps but I think we still need to make changes to steps.py for handling data resources as they are different from standard resources.

below is my data resource from plan  json

Smashing issue report :D
Will have a look after I fix another bug that I am in the middle of it.

Could you please have a try with 1.0.15 version ?

Awesome...Thanks for the quick turnaround.
However, we have some good and bad news..
Good news is, the Data Resources tests are working as expected
Bad news is, the standard resources tests are failing with errors.. the same testes were executed successfully before 1.0.15. I ran a test with a standard resources use case and it failed with errors
Example :

my tf has the below configuration for the 2 encryption properties

at_rest_encryption_enabled    = true
transit_encryption_enabled    = false

And the test gets executed successfully when I have both the above properties set to true, however when any of the properties set to false, the tool fails to read and throws AttributeError

Terraform configuration

#90

That's why we need #74 :(
Fixing this problem.

Can you please try with 1.0.16 ?

Thank you!
Its working as expected now, however the I think the Failure message is little bit confusing, pls see below
Examples:
| encryption                 | value |
| at_rest_encryption_enabled | true  |
| transit_encryption_enabled | true  |
Failure: transit_encryption_enabled property in False named aws_elasticache_replication_group resource does not match with true regex. It is set to False.

Thanks for testing. Error message will be fixed in 1.0.17 along with another fix.

So I am trying to test a data source but it keeps saying it can't find it. I am trying to test the filter conditions on the aws_ami data source.
data "aws_ami" "amazon_ami" {
  most_recent = true
  owners = ["xxxxx"]
  filter {
    name   = "name"
    values = ["test-name"]
  }
}

And my scenario is :
```
Scenario: AMI enforcement on EC2 instances
  Given I have aws_ami defined
  When it contains a filter
  Then it must contain name
  And its value must be name

I see the appropriate JSON like above in the plan ouput, but it still says it cant find `aws_ami`

hi @andrewjkeith,
It is better to re-open the issue or create a new issue in these situations :)
It couldn't find, because you are looking for a resource. https://terraform-compliance.com/pages/bdd-references/given.html#given-i-have-name-defined
Can you try with ;
Scenario: AMI enforcement on EC2 instances
  Given I have aws_ami data configured
  When it contains a filter
  Then it must contain name
  And its value must be name

Sorry, didnt realize I could re-open issues.
But yes, thank you, that worked!
It ultimately ended up being (without the 'a' in the when):
Scenario: AMI enforcement on EC2 instances
  Given I have aws_ami data configured
  When it contains filter
  Then it must contain name
  And its value must be name

Glad that it worked! 🎉
Closing the issue, please don't hesitate to re-open this or open a new issue! :)


Insta frontend Clone

Hello Sir,
I want to add my Insta Clone frontend project in this repo.
Screenshot

Additional Context
Please assign me this issue under OSEN

@Shu12388y Please assign me this issue under OSEN

@apu52 start working


failed to run health check for "nvim" plugin

Hi, I got this after upgrading neovim

That looks like an NVim issue? I'd suggest reporting it there.

That looks like an NVim issue? I'd suggest reporting it there.

We don't have a neovim plugin.

We don't have a neovim plugin.

@lnicola @flodiebold sorry... I'm silly to open an issue in bad place...

@lnicola @flodiebold sorry... I'm silly to open an issue in bad place...