Revert "policy: Make selectorcache callbacks lock-free"

This reverts commit a75599da7964fb5e24c3362dfbdedf7d2f455089.
has it seems to be causing a lot of FQDN flakes through the entire CI.
Signed-off-by: André Martins<EMAIL_ADDRESS>Fixes: https://github.com/cilium/cilium/issues/16741
Fixes: https://github.com/cilium/cilium/issues/16724
Fixes: https://github.com/cilium/cilium/issues/16722
Not sure if it f-i-x-e-s: https://github.com/cilium/cilium/issues/16717
Fixes: https://github.com/cilium/cilium/issues/16713
Fixes: https://github.com/cilium/cilium/issues/16664
Fixes: https://github.com/cilium/cilium/issues/16659
Fixes: https://github.com/cilium/cilium/issues/16095
Fixes: https://github.com/cilium/cilium/issues/16096

test-me-please

Previous jenkins failures: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.21-kernel-4.9/967/

test-me-please

All Jenkins jobs were green

test-me-please

All Jenkins jobs were green

test-me-please

Previous jenkins failures: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.19-kernel-5.4/577/

test-me-please

All Jenkins jobs were green

test-me-please

All Jenkins jobs were green

test-me-please

Fixes: #16741

That flake started happening before we merged #16529, so the revert is very unlikely to fix it ;)

The commit from https://jenkins.cilium.io/job/cilium-master-runtime-kernel-4.9/2210/ is edf76fb1ef6b58d5ef90b439d54134f314ed086e
$ git ll edf76fb1ef6b58d5ef90b439d54134f314ed086e
* edf76fb1ef6b58d5ef90b439d54134f314ed086e vagrant: Bump all Vagrant box versions
* ba4acfe79bc6732abf85ed18f1dacfae61fd1444 daemon: Warn on disabling iptables
* d9eff9a7637f40b9a10221335bf1d36adc50fb5f ci: Bump cilium-cli version
* f9abe641b01c5e90a5f86533f5d88d82539180f1 ci: Enable flow validation
* 2c10568cada51702d2d2e97ad4ed49d1f8f587a0 test: re-enable K8sDatapathConfig Host firewall tests
* 31927a2e8db5c7ced889cc3618d2372ba4e999c9 bpf: fix iptables masquerading for node -> remote pod traffic
* 037a1d0c296b74c8b159cfde7a451ba409f1f547 build(deps): bump github.com/aliyun/alibaba-cloud-sdk-go
* 4e5272be1e759a33e69c7444270018452b86ecf3 docs: run GitHub action when Charts are touched to check Helm values ref
* 8b83fd3cf318e2ea0fed727ebd1f1798fcd00fb7 .github/workflows: install ginkgo for test suite build test
* 876e9db9f1c8f3b0c2e1a7f0d40e9772440720af fix: missing update verb in hubble-generate-certs
* a75599da7964fb5e24c3362dfbdedf7d2f455089 policy: Make selectorcache callbacks lock-free

Fixes: #16722
Fixes: #16664

These are not FQDN related, so what's the relation here?

Hmm good point, although the flakes might not be entirely FQDN specific since the notifyUsers is not FQDN-specific, thus it might fix this as well. We can always re-open them if they show up.

Not sure if it f-i-x-e-s: #16717

We're sure it doesn't. We know the root cause for that one.

Fixes: #16713
Fixes: #16659
Fixes: #16724

Concerns FQDN and started failing when we merged #16529, so seems likely

Fixes: #16095

That one was caused by Google's anti-abuse engines and happened well before we merged #16529.

Fixes: #16096

That one was a flow validation flake. Nothing to do with #16529.

The commit from https://jenkins.cilium.io/job/cilium-master-runtime-kernel-4.9/2210/ is edf76fb

Thanks for checking :pray: Not sure why I thought https://github.com/cilium/cilium/pull/16529 was merged on the 24th :-/

We can always re-open them if they show up.

I'd rather go the other way around: leave open and close if we see it's not happening anymore. That way contributors are less likely to open a new issue for the same flake (which would mean we'd lose track of previous information unless someone notices the duplicate). I also don't see a benefit to closing the issue; it's not blocking anything.

PR #16529 was never backported to v1.8, removing the needs-backport/1.8 since you can't revert something that was never in the tree.


Disable Google Analytics when running localhost

https://github.com/jekyll/jekyll/issues/1219

{% if site.google_analytics and jekyll.environment == 'production' %}
{% include analytics.html %}
{% endif %}


Changes for Google Maps users

For organization owner, for example:

*theteam is the name of the organization

Changed texts suggesting to contact support instead of change the key.
Added Google Platform logo.

Fixes #2359.
cc @saleiva @javisantana

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


no license

Hi,
I woluld like to use your code, but it has no license.
It would be nice if you chose an open source license and placed it into the repo.

https://github.com/iou90/SankeyDiagram/blob/master/LICENSE


explanation login process

I'm submitting a ...

[ ] bug report
[ ] feature request
[x] support request

General infomration
Prerequisites

[x] Are you running the latest version? YES

Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Context (Environment)
Installation

[ ] I installed the plugin via zip from the Releases page
[x] I´m using the Netflix Repo
[ ] I´m using a different source (Please tell which)

Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[x] Windows (x86/x64)
[ ] Linux (ARM)
[ ] Android

Additional informatin on the environment
Windows 7 64bit
Debug log
No debug
Other information
Hi,
Very good job with this Addon, congratulation.
I have a question about the python code, I would like to know what is the process to check an account (login and password). I have read the login function in NetflixSession.py but it is very difficult to understand all of process without explanations. I use logging.warning() to write variables in kodi.log but I am losted.
Can you tell me where the user_data are created in a first time and particulary authURL ?
Regards and thank you.

Kodi actions are handled in: addon.py + Navigation.py
Then there is a service.py which spawns 2 threads, one for MSL and one for Web communication.
If you enter the router in Navigation.py, and it is not yet logged in, navigation.py asks for user + pwd, passes this via TCP to NetflixHTTPHandler.py and the login is handled in the service addon.

user_data (and specifically authURL) are extracted from the Netflix website. When not logged in, the site at https://www.netflix.com/profiles/manage is requested, which contains the required information in its contents. It's extracted in extract_inline_netflix_page_data in NetflixSession.py.


calver 21.11 breaks plugin.

Running release-it-calver-plugin with the latest versions of calver leads to the following error:
ERROR calver.init is not a function

This is due to a codebase refactor introduced in calver v21.11.0, which removes calver.init().
Workaround: Install older version of calver, e.g. "calver": "~21.1.3".

Upgraded to latest version of calver. Let me know if any issues


Chalkboom progress not saved when redemptions done mid game

If a chalk-board event occurs (e.g.- writing on the wall point redemption, raid, sub, etc..), and a game of chalk-boom is on-going, the chalk-boom game will be interrupted.  Re-configure bot to queue events until the chalk-boom scene is exited.

Fixed with commit 0f026


Epic: User-accessible neon extension metrics

Motivation
We have a lot of data inside the Neon storage system, and quite a lot of metadata too. We should expose these metrics in a user-friendly manner, preferably to PostgreSQL sessions, so that debugging of performance issues is improved.
DoD
Users can access performance metrics about their session and the connection to Neon Storage.
Implementation ideas
Expose various benign statistics to the user, such as IO counts, IO timings, prefetch hit rate, LastWrittenLsn data, replication delay, etc.
Tasks

[ ] Create a new, trusted extension (neon_tools ?)
[ ] Expose prefetch statistics through this new extension
[ ] Expose current prefetch buffer metadata
[ ] Expose LastWrittenLsn state

Other related tasks and Epics

https://github.com/neondatabase/neon/pull/2876#discussion_r1032626185

Ideally prefetch statistic (hits/misses) should be reported by explain analyze.
It seems to be non trivial, because prefetch in implemented in Neon extension.
But we can add hook for custom extension of EXPLAIN data.

It seems that @knizhnik has already extended explain with prefetch option.
Someone asked about access to a slow query log in order to be ready to react.


"OSM File Loader (Load only)" tool does not check for unique Feature Class names

This is a relatively minor issue, but I noticed the "OSM File Loader (Load only)" tool does not check for unique Feature Class names. The tool requires the user to specify three feature class names for the Point, Line and Polygon feature classes, but it does not check if they are unique. If I deliberately insert the same path multiple times, the tool will start, but eventually fails with a "schema" error once it gets to ways processing. See the attached image.
It is a minor issue, but it would be good if the tool (or toolvalidation) scripting enforced unique names for the feature classes.

I'll include a fix for this.

@mboeringa I retested with the Bilbao osm file you had send me. Nodes, ways, and relations are loading ok.

@mboeringa I retested with the Bilbao osm file you had send me. Nodes, ways, and relations are loading ok.

@ThomasEmge
You mean to say you can confirm the issue of the background loading is not caused by the used Bilbao osm file, but some other remaining problem in the code?
By the way, for those reading this, these last two posts by Thomas and me are not related to this closed issue of non-unique feature class names... That was fixed in #133.

@mboeringa Ups, I picked the wrong issue thread.


Update node-haste dependency to v2.1.0

node-haste 2.1.0 has a breaking change in the signature of DependencyGraph#getDependencies. This changes jest’s only call site.

Thanks! I'll merge it once I figure out our www woes :)

@facebook-github-bot import

Well lucky me, it turns out I am a Facebook employee!

@facebook-github-bot shipit


Adding theme dirs into Assetic DirectoryResources

Assetic scans only standard directories for templates, containing assets. These changes will add theme directories (of all bundles and base Resources/themes/a_theme/views) into the list Assetic scans (through CoalescingDirectoryResource)

@ebi has this solution for the problem:
"The Problem is that assetic doesn't scan the theme folders. This can be solved by putting the assetic block into a template that is in Bundle/Ressources/views and include this from the theme template."
see #5
i wonder if this isn't the better solution, than trying to override the ascetic bundle. also this approach should also work for @henrikbjorn as his themes are dynamic. of course its a limitation since you cannot keep everything in your theme folder.

@ebi's solution is more like a workaround. It's not working for our use case.
I still think that ThemeBundle should be able to tell Assetic to scan theme folders for assets. The question is just which way is the right way to do it.
Personally, I would keep the way I suggested for now. It should not break anything (if anybody sees where it breaks something - please let me know). When Assetic changes something (like creating a service which defines which folders should be scanned) - we can adjust ThemeBundle accordingly.
The other option is to create a separate bundle, such as ThemeBundleAsseticBridgeBundle [sounds weird :)] which will add the compiler pass from my PR. I would have offered to do it in a Brigde, but I'm not sure if it's possible to add compiler passes in Bridges, or even if there is a common way use/distribute third-party bridges. Ideas?

yeah .. its certainly only a workaround.
but this is duplicating a lot of code (then again maybe with some refactoring of the AsseticBundle this could be reduced).
finally it will not work with dynamic themes (though we could say people using dynamic themes will just have to use the above mentioned workaround).
don't think we need to add a separate bundle .. but maybe make it optional .. pondering .. will get back to you :)

havent tested this out .. but refactoring AsseticBundle along these lines seems better to me:
https://github.com/lsmith77/AsseticBundle/compare/template_resource_scanning
then we could just extend that class in our cache warmer to add the dirs for the themes.

@kostiklv: did you have time to look at what I did in my AsseticBundle branch?

we don't really need to replace the original compiler pass, since the directories it adds are still legitimate. we only need to add the theme related paths.
how can we check if the bundle is registered? i guess iterating over the entire list of registered bundles using $container->getParameter('kernel.bundles')

yes, this is the easiest way

here is a first totally untested attempt:
https://github.com/liip/LiipThemeBundle/tree/template_resource_pass

Has this been fixed, I am having this problem. I tried following the previous link but it does not work.
I will for now use the work-around suggested of including block from Resources/views.

no .. there still seems to be an issue .. see #25


Fix observer manager cleanup.

On second thoughts I think this is a non-issue, please ignore this PR :)


Feature Request - In-built Google Maps Integration

Dear @eseidel please can we have a fully functional google maps widget. All we have now is the map_view plugin, and it is difficult to setup, buggy, only supports static maps and doesn't work with the latest flutter update. Please, boys need this thing.

This is work-in-progress and the link @daanvandenhoek provided points to it.


Feature enabling GUI

This PR aims to add a GUI mode to Dep-Scan.

While installing Gooey, it seems that there is a strict requirement:

python >= 3.7.0
gtk-3.0+ package must be installed for the Linux-based machines (sudo apt-get install build-essential libgtk-3-dev)

Gooey under the hood uses wxPython to build the GUI based on the underlying host OS architecture. wxpython requires the gtk-3.0+ package to get installed: https://wxpython.org/blog/2017-08-17-builds-for-linux-with-pip/index.html
Thus, this feature may require additional steps than just simply installing Gooey via pip as the installation is host OS architecture dependent.
The tests are failing because of the same reason that the gtk-3.0+ package is not installed on GitHub Actions runners.

@saketjajoo @prabhu A couple concerns about this right off the bat, although it's a neat idea!

Based on the wxpython article link, I'm wondering if this will present an issue for our binary builds. My impression is that we would have to create releases for different distros, and that we could not even do this using manylinux.
I hesitate to add a dependency that, according to the article, must always be built from source and results in 'very lengthy installation times.'

My preference would be to package the gui as a separate project. Adding an optional feature that will prevent successfully installing and using the cli whether the user wishes to use a gui or not seems imprudent.

I've created a new PR (https://github.com/owasp-dep-scan/dep-scan/pull/180) that is a simple write-up of how the GUI mode could be introduced in the dep-scan environment. Since the changes in the PR are made in a README file under the contrib directory, it can be merged with the master branch.


Added option to delete CaaSP only

If CaaSP deployment goes wrong, user might need to redeploy it.

(This will need rebase after the merge of https://github.com/SUSE-Cloud/socok8s/pull/76)

Hm, I guess we'd need to delete the inventory items as well

In that case, a developer could simply delete the caasp environment on openstack by sourcing the
actions, and running delete_caasp.

So you're basically saying I should not put it into run.sh

In that case, the delete_caasp should remove a few lines from the inventory too.

Yep, I realized that as well

If we split the inventory dir into multiple files, that should be easy to do.

Inventory has been split into multiple files, so it should be far easier to achieve that.


Feature request: Enable debug logs

Terraform has a feature to get debug log by the environment variable which name is TF_LOG with the value "DEBUG" as described below.
https://developer.hashicorp.com/terraform/internals/debugging
However, the TerraformTask task doesn't have any option to enable this setting and even though the environment variable is enabled like this, this setting is not used by this task.

So, it would be great if debug log is enabled when system.debug predefined variable is set true. Or if there is another way to enable the debug log, it would be helpful.

Hi, not really sure how to do this. I don’t think it will be enough with setting values in bash profile.  perhaps setting env in Node.js

Hi again, perhaps you could pass environment variables, like this:
        displayName: "Terraform_plan"
        inputs:
          command: plan
          environmentServiceNameAzureRM: "(REMOVED)"
        env:
          TF_LOG: 'DEBUG'


Grid in modal - scroll propagates to parent window

http://ui-grid.info/docs/#/tutorial/110_grid_in_modal
If you scroll to the bottom of the grid using a trackpad (definitely on OSX, presumably other trackpads too), the scroll propagates to the enclosing page, not to the modal box.  Is this expected?

This behaviour is to expected with the modal implementation, not a defect with the grid, as such closing.


Cherry Pick Azure-SDK automated commit into main branch from Search's November Patch release

This PR Cherry-Picks the automated commit generated from Search's November non-main branch patch release into main.

API change check
API changes are not detected in this pull request.


python310Packages.debuglater: 1.4.2 -> 1.4.3

Description of changes
https://github.com/ploomber/debuglater/blob/master/CHANGELOG.md#143-2022-08-22

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.debuglater
python39Packages.debuglater


VS2022 warning treated as error

`\crtsys\build_2022_x64_deps\ldk-src\src\kernel32\synchapi.c(731,19): error C2220: warning treated as error [\crtsys\build_2022_x64_deps\ldk-build\Ldk.vcxproj]
\crtsys\build_2022_x64_deps\ldk-src\src\kernel32\synchapi.c(731,19): warning C4996: 'ExAllocatePoolWithTag': ExAllocatePoolWithTag is deprecated, use ExAllocatePool2. [\crtsys\build_2022_x64_deps\ldk-build\Ldk.vcxproj]
`

0.75.0
fix: WDK 10.0.22621.0 warning treated as error

`\crtsys\build_2022_x64_deps\ldk-src\src\kernel32\synchapi.c(731,19): error C2220: warning treated as error [\crtsys\build_2022_x64_deps\ldk-build\Ldk.vcxproj]
\crtsys\build_2022_x64_deps\ldk-src\src\kernel32\synchapi.c(731,19): warning C4996: 'ExAllocatePoolWithTag': ExAllocatePoolWithTag is deprecated, use ExAllocatePool2. [\crtsys\build_2022_x64_deps\ldk-build\Ldk.vcxproj] `


Rewrote gradient shader to support alpha channel in color stops

Fixes #61

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


AGN in dwarf galaxies

09/AUG/23

also in progress
expect to submit in Sept

31/AUG/23

expecting October submission instead

04/OCT/23

results are in.
expect to submit by end Nov.

30/NOV/23

about 80% written
may get support by end of year

18/JAN/24

paper written
Sugata reviewing before passing to co-authors.
expect to submit early Feb

14/MAR/24

co-authors have provided comments
incorporating these
hope to submit in late March/April

11/APR/24

will go back to co-authors for final comments

02/MAY/24

ready to submit

23/MAY/24

recvd referee report asking for minor corrections

17/JUN/24

published by MNRAS
expect on ArXiv by 18/JUN/24


fix IPv6 connection problem

https://github.com/henrygd/beszel/blob/4e64d9efad9299c29f96c8a892adbad89c726ab8/beszel/internal/hub/hub.go#L374
The primary issue with the code is its inability to handle IPv6 addresses. The hostname we provides may include hostname or both IPv4 and IPv6 addresses. However, the ssh.Dial function expects an address in the format host:port, which might not be directly compatible with IPv6 addresses, especially when they contain multiple colons. So i use net.JoinHostPort to fix ipv6 address at createSystemConnection.

After fix, it can handle ipv6 address currectly now. I tested with dualstack domain, single ipv4/ipv6 domain and single ipv4/ipv6 address, it all works fine now.
The only change for IPv6 address now is not require a [], just input the ip.

Good catch, thanks! :+1:


NodeJS runtime MODULE_NOT_FOUND error

Hello!
I created an empty NodeJS project with TypeScript, and when I try to import your library, I receive a MODULE_NOT_FOUND error at runtime. The library exists in the node_modules folder, and TypeScript didn't emit any warnings or errors during transpilation.
Can you help with this error?
P.S. The library works fine with the Bun runtime, but I have to use NodeJS.
Contents of my tsconfig.json:
{
  "compilerOptions": {
    "target": "es2016",                                  /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
    "module": "commonjs",                                /* Specify what module code is generated. */
    "outDir": "./dist",                                   /* Specify an output folder for all emitted files. */
    "esModuleInterop": true,                             /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
    "forceConsistentCasingInFileNames": true,            /* Ensure that casing is correct in imports. */
    "strict": true,                                      /* Enable all strict type-checking options. */
    "skipLibCheck": true                                 /* Skip type checking all .d.ts files. */
  }
}

I've resolved the initial issue by adding "main": "dist/index.js" to the library's package.json.
However, another issue has arisen: ERR_REQUIRE_ESM when importing your library. The only way I found to resolve this is to remove "type": "module" from the package.json file and update tsconfig.json as follows:
{
  "compilerOptions": {
    "lib": [],
    "target": "ES2016",
    "module": "CommonJS",
    "outDir": "dist",
    "declaration": true,
    "strict": true,
    "skipLibCheck": true
  },
  "include": [
    "src"
  ]
}

After rebuilding, I can use this library in both NodeJS and Bun.
Is there any other way to make it work with a NodeJS project using the CommonJS module style?

I've found the most straightforward way to import and use the current version of the library: dynamic import, as NodeJS suggests in the error message:
const unisender = await import('unisender-ts');

This works even without the main key in the package.json.
I think it would be helpful to add this information to the README for other NodeJS users.
Thanks for this library!

@capcom6 Hi!

Is there any other way to make it work with a NodeJS project using the CommonJS module style?

gave a detailed reply in the pr

@capcom6 new version 0.1.0 uploaded to npm:
https://www.npmjs.com/package/unisender-ts


Build is failing with a "NoCredentialsError"

The nightly builds for this cookbook have been failing for a while now.
The latest build log shows a NoCredentialsError in the notebook Parquet_Reference_Storage.ipynb.
The same notebook runs without error interactively in the Pythia binder, so I'm not sure what's going on. But will try switching the nightly build to the binder instead of GitHub Actions.

Builds are passing again after https://github.com/ProjectPythia/kerchunk-cookbook/pull/70


[comments] add commenting support to sheets

add threads to SheetType, aligning w/ DocumentType
threads can be anchored to cells
threads should be sorted in the sidebar based on position in the sheet similar to documents
threads should be highlighted based on closest and/or selection of cells similar to documents

closed by #7763


[Sema] Improve -require-explicit-availability precision

Fix a few issues where -require-explicit-availability raised superfluous warnings our could have missed type members declared in extensions:

Correctly detect availability attributes on extensions and pattern binding decls.
Don't require availability on @_spi declarations.
Report missing availability attributes in constructors and subscripts in extensions.

@swift-ci Please smoke test

@swift-ci Please smoke test Linux platform


Install stuck on 'Starting Tectonic components'

Hello,
GUI seems to be stuck on 'Starting Tectonic Components'
Feb 08 19:18:39 ip-10-0-0-50 bootkube-start[2386]: Waiting for Kubernetes components...
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Heapster
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic Namespace
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Initial Roles
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic ConfigMap
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic Secrets
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic Identity
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic Console
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic Monitoring
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Ingress
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic Stats Emitter
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Creating Tectonic Updater
Feb 08 19:18:49 ip-10-0-0-50 bootkube-start[2386]: Waiting for third-party resource definitions...
Feb 08 19:18:52 ip-10-0-0-50 bootkube-start[2386]: Waiting for third-party resource definitions...
Feb 08 19:18:55 ip-10-0-0-50 bootkube-start[2386]: Waiting for third-party resource definitions...
Feb 08 19:18:58 ip-10-0-0-50 bootkube-start[2386]: Waiting for third-party resource definitions...
Feb 08 19:18:58 ip-10-0-0-50 bootkube-start[2386]: Done

Can you help please ..
Thanks

Hey @fii, thanks for filing this issue! It's a little confusing, but it's not actually stuck - you need to download the assets and run those commands. Let me know once you do that step if you see your console!

@mfburnett We've tried that several times and its still the same.  After scp'ing the files its just sits there and dies nothing .

lol, my tectonic installer does not show me that I need to run those commands.
Unlucky I guess.

bootkube.service - Bootstrap a Kubernetes control plane with a temp api-server
Loaded: loaded (/etc/systemd/system/bootkube.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-02-09 20:23:42 UTC; 1s ago
Process: 28964 ExecStart=/opt/bootkube/assets/bootkube-start (code=exited, status=255)
Main PID: 28964 (code=exited, status=255)
Feb 09 20:23:42 ip-10-0-0-50 bootkube-start[28964]: [ 1286.328781] bootkube[5]: E0209 20:23:42.486630       5 server.go
Feb 09 20:23:42 ip-10-0-0-50 bootkube-start[28964]: [ 1286.341833] bootkube[5]: I0209 20:23:42.499608       5 leaderele
Feb 09 20:23:42 ip-10-0-0-50 bootkube-start[28964]: [ 1286.354518] bootkube[5]: I0209 20:23:42.512359       5 leaderele
Feb 09 20:23:42 ip-10-0-0-50 bootkube-start[28964]: [ 1286.453047] bootkube[5]: [restful] 2017/02/09 20:23:42 log.go:30
Feb 09 20:23:42 ip-10-0-0-50 bootkube-start[28964]: [ 1286.453424] bootkube[5]: [restful] 2017/02/09 20:23:42 log.go:30
Feb 09 20:23:42 ip-10-0-0-50 bootkube-start[28964]: [ 1286.507586] bootkube[5]: I0209 20:23:42.665383       5 serve.go:
Feb 09 20:23:42 ip-10-0-0-50 bootkube-start[28964]: [ 1286.508070] bootkube[5]: F0209 20:23:42.665900       5 genericap
Feb 09 20:23:42 ip-10-0-0-50 systemd[1]: bootkube.service: Main process exited, code=exited, status=255/n/a
Feb 09 20:23:42 ip-10-0-0-50 systemd[1]: bootkube.service: Unit entered failed state.
Feb 09 20:23:42 ip-10-0-0-50 systemd[1]: bootkube.service: Failed with result 'exit-code'.
~
~
~
~
~
~
~

@pompomJuice your point is ? Does one need luck to evaluate a product ?

@fii have you done chmod +x /opt/bootkube/assets/bootkube-start?
That looks like it just dies. Run it manually paste the logs.

hey @pompomJuice - what version of Tectonic are you running? Thanks!
@fii - looking into your issue today. Will post back here soon.

@mfburnett [fii@laptop linux]$ ./installer -version
1.5.2-tectonic.1
[fii@laptop linux]$
Thanks.

@fii this looks an issue with the tectonic updater third party resources not initializing correctly. Assuming you still have access to the affected cluster, could you ssh into the master node and curl the following endpoints.

http://<IP_ADDRESS>:8080/apis/coreos.com/v1/channeloperatorconfigs
http://<IP_ADDRESS>:8080/apis/coreos.com/v1/appversions

I think the output will inform further debugging.

@mfburnett Yes I am attempting the bare metal setup.
But I suspect these two issues should stay related because the issue that it points out is the same. Customer focus. early adopters have but days to take marketing material promises to results.
Encountering scripts that have incorrect paths in them really breaks our opinion of how streamlined this evaluation period is going to be.
Just have your engineers try to run through the installation documentation steps and fix the little niggles.
For example, why must I copy the assets to /opt/bootkube manually when tectonic can give that config to matchbox's ignition config and so deploy it for me? That is what I expected would happen so when I heard that I have to copy it manually I was like... how should I have guessed that??

@colhom
Here you go ...
ip-10-0-0-50 core # curl http://<IP_ADDRESS>:8080/apis/coreos.com/v1/channeloperatorconfigs
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "the server could not find the requested resource",
"reason": "NotFound",
"details": {},
"code": 404
}ip-10-0-0-50 core # curl http://<IP_ADDRESS>:8080/apis/coreos.com/v1/appversions
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "the server could not find the requested resource",
"reason": "NotFound",
"details": {},
"code": 404
}ip-10-0-0-50 core #
Thanks

thanks for the info, @fii - @colhom will get back to you after the weekend.
I understand your frustration, @pompomJuice. We absolutely are working to improve the BM install process to address some of the issues you've been having. Would you mind breaking this out into a separate issue with an actionable bug report so we can focus on helping you without confusing those who may be coming to this issue for help? Going to take the bare metal label off this issue. Thanks!

@fii sorry to delay.
Could you try manually creating the TPRs that are missing?
  curl -H "Content-Type: application/yaml" -XPOST -d"$(cat assets/updater/tectonic-channel-operator-config-kind.yaml)" "http://<IP_ADDRESS>:8080/apis/extensions/v1beta1/thirdpartyresources"
  curl -H "Content-Type: application/yaml" -XPOST -d"$(cat assets/updater/app-version-kind.yaml)" "http://<IP_ADDRESS>:8080/apis/extensions/v1beta1/thirdpartyresources"

Don't worry about it. Just close it.

Hi, I am having the same problem, trying to install on AWS:
The curl response:
core@ip-10-0-12-141 /opt/bootkube/assets $ curl http://<IP_ADDRESS>:8080/apis/coreos.com/v1/channeloperatorconfigs

{
	"kind": "ChannelOperatorConfigList",
	"items": [{
		"apiVersion": "coreos.com/v1",
		"appID": "6bc7b986-4654-4a0f-94b3-84ce6feb1db4",
		"automaticUpdate": false,
		"channel": "tectonic-1.5",
		"kind": "ChannelOperatorConfig",
		"metadata": {
			"name": "default",
			"namespace": "tectonic-system",
			"selfLink": "/apis/coreos.com/v1/namespaces/tectonic-system/channeloperatorconfigs/default",
			"uid": "9301755f-04f4-11e7-9934-0a3ae35ce943",
			"resourceVersion": "788",
			"creationTimestamp": "2017-03-09T18:16:54Z"
		},
		"server": "https://tectonic.update.core-os.net",
		"triggerUpdate": false,
		"triggerUpdateCheck": false,
		"updateCheckInterval": 2700
	}],
	"metadata": {
		"selfLink": "/apis/coreos.com/v1/channeloperatorconfigs",
		"resourceVersion": "152174"
	},
	"apiVersion": "coreos.com/v1"
}

core@ip-10-0-12-141 /opt/bootkube/assets $ curl http://<IP_ADDRESS>:8080/apis/coreos.com/v1/appversions
{
	"kind": "AppVersionList",
	"items": [{
		"apiVersion": "coreos.com/v1",
		"kind": "AppVersion",
		"metadata": {
			"name": "kubernetes",
			"namespace": "tectonic-system",
			"selfLink": "/apis/coreos.com/v1/namespaces/tectonic-system/appversions/kubernetes",
			"uid": "9308c303-04f4-11e7-9934-0a3ae35ce943",
			"resourceVersion": "790",
			"creationTimestamp": "2017-03-09T18:16:54Z",
			"labels": {
				"managed-by-channel-operator": "true"
			}
		},
		"spec": {
			"desiredVersion": "1.5.3+tectonic.1",
			"paused": false
		},
		"status": {
			"currentVersion": "1.5.3+tectonic.1",
			"paused": false
		}
	}, {
		"apiVersion": "coreos.com/v1",
		"kind": "AppVersion",
		"metadata": {
			"name": "tectonic-cluster",
			"namespace": "tectonic-system",
			"selfLink": "/apis/coreos.com/v1/namespaces/tectonic-system/appversions/tectonic-cluster",
			"uid": "930267f3-04f4-11e7-9934-0a3ae35ce943",
			"resourceVersion": "789",
			"creationTimestamp": "2017-03-09T18:16:54Z",
			"labels": {
				"managed-by-channel-operator": "true"
			}
		},
		"spec": {
			"desiredVersion": "1.5.3-tectonic.1",
			"paused": false
		},
		"status": {
			"currentVersion": "1.5.3-tectonic.1",
			"paused": false
		}
	}],
	"metadata": {
		"selfLink": "/apis/coreos.com/v1/appversions",
		"resourceVersion": "152198"
	},
	"apiVersion": "coreos.com/v1"
}

Tectonic version:
# bhernas @ BHMBP in ~/Downloads/tectonic/tectonic-installer [10:24:48]
$ ./darwin/installer --version
1.5.3-tectonic.1

I have reproduced it while trying to set up cluster on AWS in Ireland (eu-west), using t2.medium instances, with etcd set up by Tectonic (tried 1 instance and 3 instances)


add new program: Livesport

URL
https://bugbounty.livesport.eu/
Contact
https://bugbounty.livesport.eu/#report
Bounty
Yes
Additional Information
Vuln Disclosure Policy: https://bugbounty.livesport.eu/docs/Vulnerability Disclosure Policy.pdf
Safe harbor implemented
The bug bounty program applies to Livesport's projects, such as flashscore.com, livesport.cz, diretta.it etc.

I've added in https://github.com/disclose/diodb/commit/bacd4e1979ff953c5dd93d5be7b397f2784f044e. Thank you for your contribution!


Allow Access to Clients HTTPS Public Key

Describe the feature
Simply allow programmatic access to the Public Key sent by the Client in the SSL/TLS Handshake
Additional context
Maybe already existing but i couldn't find it in the docs / search on my own.

Where do you want to access this?

Where do you want to access this?

My Personal use case would be to authorize the Client before using my endpoints.
So basically when handeling the Request with the Context instance

Does this sound like what you want? https://stackoverflow.com/questions/54312823/unable-to-get-certifiacte-in-httpservletrequest-httpservletrequest-getattribut

Does this sound like what you want? https://stackoverflow.com/questions/54312823/unable-to-get-certifiacte-in-httpservletrequest-httpservletrequest-getattribut

Wonderful! Works like a charm.


--cleanup on From headers with utf-8 characters

Please confirm the following:

I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue.
v1.55 for Windows
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki
Using ./gyb --email<EMAIL_ADDRESS>--action restore --local-folder<EMAIL_ADDRESS>--cleanup

Full steps to reproduce the issue:
Try to cleanup and restore an email that has utf-8 characters in the From header
Expected outcome (what are you trying to do?):
Email is cleaned up and restored
Actual outcome (what errors or bad behavior do you see instead?):
Traceback (most recent call last):
  File "gyb.py", line 2532, in <module>
  File "gyb.py", line 2007, in main
  File "gyb.py", line 1769, in message_hygiene
  File "gyb.py", line 1713, in cleanup_from
  File "email\utils.py", line 215, in parseaddr
  File "email\_parseaddr.py", line 513, in __init__
  File "email\_parseaddr.py", line 256, in getaddrlist
TypeError: object of type 'Header' has no len()
[8912] Failed to execute script 'gyb' due to unhandled exception!

Normally, the line
https://github.com/GAM-team/got-your-back/blob/e6f3c7b056a971dec9081d5254aceed941d414af/gyb.py#L1728
will return a string containing the contents of the From header
But if the From header has a utf-8 character (U+00AE in my case), the above line will return an email.header.Header object
Then in line
https://github.com/GAM-team/got-your-back/blob/e6f3c7b056a971dec9081d5254aceed941d414af/gyb.py#L1706
parseaddr dies because it's passed an email.header.Header object, not a string.
I'm not even sure if From headers are supposed to have utf-8 characters in them, as this only came up in 3 emails I was restoring that happened to be spam.
My workaround was to run the restore operation without the cleanup option for a block of 15 emails (that contained the offending character), then Ctrl-C, and run the restore operation with the cleanup operation on the rest of my emails.

I can confirm I am also seeing this issue.


Which files do I modify to turn it into the demo?

Hi,
I ran the commands on terminal but I don't know which changes to make to which files to make it look like the live demo. Help greatly appreciated.
The project is running correctly on localhost with a login form but I don't know how to go from there to having the larger form from the example and the file to be edited to enable form changes.

Sorry for late response, take a look at this file in the sample project:
https://github.com/codetrial/element-form-builder/blob/develop/examples/simple-demo/src/components/FormBuilderPreview.vue


Pulsar build failed

Describe the bug
Error in - Building Pulsar Shaded Broker 2.7.0-SNAPSHOT                    [41/137]
To Reproduce
Steps to reproduce the behavior:

Clone the repository
mvn install -DskipTests -e
See error

Expected behavior
Build successful
Desktop (please complete the following information):

Apache Maven 3.6.0                                                                                │·······Maven home: /usr/share/maven                                                                                │·······Java version: 11.0.7, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64                                                                     │·······Default locale: en, platform encoding: UTF-8                                                                                │·······OS name: "linux", version: "5.3.0-1028-azure", arch: "amd64", family: "unix"

Logs
errors.log

@sundar-10 Can you try to build this using java8?

@sijie Yeah I just tried, I am getting the same error.

@sijie We made it work, we saw the Dockerfile and we ran the following commands and it worked:
sudo apt-get update && \      sudo apt-get install -y tig g++ cmake libssl-dev libcurl4-openssl-dev \                  liblog4cxx-dev libprotobuf-dev libboost-all-dev google-mock libgtest-dev \                  libjsoncpp-dev libxml2-utils protobuf-compiler wget \                   curl doxygen openjdk-8-jdk-headless clang-format-5.0 \                  gnupg2 golang-1.10-go zip unzip libzstd-dev libsnappy-dev


Compund tasks (dependsOn) shouldn't prompt for problem matchers.

Looks like this got done already. Tested with:
{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "one",
			"command": "echo one",
			"type":"shell",
			"dependsOn":["two", "three"]
		},{
			"label": "two",
			"command": "echo two",
			"type":"shell"
		},{
			"label": "three",
			"command": "echo three",
			"type":"shell"
		},
	]
}

And I only got prompted for the root task one. When I specified [] as the problem matcher for one I got no prompts.


Make run-levels explicit for compatibility with newer OSes.

Without this change the service fails to start on Raspbian Fetch.

Have you seen this on the dmesg output ?
On which hardware : Raspberry Pi 3B/3B+/A+/Zero ?

The hardware is 3B+. The OS is the current one: Raspbian Stretch (not Fetch, sorry) Lite April 2019.
The pifacertc does not show up on syslog because the script is not run on normal boot, unless you install it with the fixed version. I guess (but haven't checked) that it would only run on single-user mode.


Setup Main Layout

As a developer
I want to set up main layout and CSS
So that all pages inherited common properties from the main layout
Given: To Doit app
When: App is running
Then:  The main components have displayed based on the main layout and CSS
Acceptance criteria:

background color
headers (to doit, my lists)
font

Refactoring:

changed the project structure
renamed To-Do App to ToDoit

You can find them here:

The ticket for this PR.

The expected design.


Please make this a wonderful plugin for Velocity

julian did you forget to close this issue

No, this is intentionally still open

okay


Union type

Hi @jagi,
In updating from v1 to v2, I have found that I now have to specify a type for a field, where as before I did not.
I have a schema for a constraint, which in v1 looks like this:
Stanza = Astro.Class({
  name: 'Stanza',
  fields: {
    field: 'string',
    operator: 'string',
    value: {
      // type is NOT defined to allow string or number types
      optional: true,
    },
    column: {
      type: 'string',
      optional: true,
    },
  },
});

As the comment suggests, type can be either a String or a Number, however in v2 I have converted the class to this:
Stanza = Astro.Class.create({
  name: 'Stanza',
  fields: {
    field: {type: String},
    operator: {type: String},
    value: {
      // type is NOT defined to allow string or number types
      optional: true,
    },
    column: {
      type: {type: String},
      optional: true,
    },
  },
});

It is now giving me the following error:
TypeError: ["Stanza" class]["fields" property]["value" field] Type does not exist
Is it possible to have a field with multiple types?
If not, I can work around it by having two optional fields and some logic to use stringValue or numberValue.

Right now it's not possible to provide two or more types for a field. You may try using Object type which should store numbers as the Number instance and strings as the String instance. I haven't tested it but in theory it should work. In Astronomy 2.2 I will try to introduce type similar to GraphQL union, where you can create the Union type which can take 1+ types

Thank you for the suggestion, but unfortunately it does not:
import { Meteor } from 'meteor/meteor';
import { Class } from 'meteor/jagi:astronomy';

const Model = Class.create({
  name: 'Model',
  fields: {
    type: {type: Object}
  }
});

Meteor.startup(() => {
  let models = [
    new Model({type: Number(123)}),
    new Model({type: String('abc')}),
    new Model({type: 123}),
    new Model({type: 'abc'}),
  ];

  models.forEach((m) => {
    try {
      m.validate();
    } catch(e) {
      console.log(e);
    }
  });
});

This throws an error for every model with the message "type" has to be an object [validation-error].  I'm looking forward to being able to use multiple types for a field.

Ok so I have to implement unions to allow that

It would be awesome to have this feature sometime soon, the workaround for this is really ugly.

Hey, I will work on that as the next feature. I will probably find some time next week. API will probably be sth like this:
import { Union } from 'meteor/jagi:astronomy';

var StringOrNumber = Union.create({
  name: 'StringOrNumber',
  types: [String, Number]
});

Btw. I've abandoned the idea of integrating Astronomy with GraphQL. I've been testing this and didn't find any proper solution. So Astronomy will be in its current shape for a while.

Will this also support something like this:
import { Union } from 'meteor/jagi:astronomy';

var StringOrNumber = Union.create({
  name: 'StringOrNumber',
  types: [[String], [Number]]
});

So an array of Strings or Numbers.

It will work but not the way you wrote:
const Item = Class.create({
  name: 'Item',
  fields: {
    strOrNumList: [StringOrNumber]
  }
});

Feature implemented in v2.4.0

Sorry I didn't see it was not a class. Yup that works well.
How well does this work with auto casting?

It's described in docs. It can't be done automatically. You have to provide your own casting function.


Windows icon bad antialiasing

Not sure why this happens, and the icon.ico seems nice. But compared to other apps, it looks really bad. (Windows 7, 1920x1080)
Screenshot:

+1

I don't see the problem here


Fix illegal client class loading (#102)

This PR fixes the unprotected client code class loading on dedicated servers erroneously.

Hi! Thanks for the PR. I recently did a rewrite for 1.16 and have been backdating it to 1.14 so that should resolve the issue this PR fixed. Thank you :)


Possibility to show legend with only one series

As by design, the legend doesn't show if there is only one series. I have a project where legend should be shown all the time regardless of series amount (the amount can change). This cannot be achieved now with this library :(
https://codepen.io/tkirahvi/pen/PooeQXz

legend: {
  showForSingleSeries: true
}

In your codepen, you have apexcharts v2.1.2.
Please use the latest one to enable this behavior.

I must have missed that option. Sorry about that.


Feature Request: access gradients for a specific layer

Currently tensorflow will provide the gradients for the entire network, i.e. getting grads_and_vars will return all of the gradients but there isn't any nice way to specifically get the gradients of a specific layer.
An example use case:  For the paper Neural Networks are easily fooled, they took the gradients from the last layer and added them to the original image.
There is no current way to do this in tensorflow as far as I know.

You can get gradients for any layer, tf.gradients(loss, layer2) will give you gradients at layer2 . (ps this q is better suited for stackoverflow)

Sorry I didn't know it was already implemented.  I'll read the documentation more thoroughly next time.


Update the android native libraries

http://www.un4seen.com/forum/?topic=13225.0
https://github.com/tanersener/mobile-ffmpeg/releases/tag/v4.2.2.LTS
Please note that newer releases of mobile-ffmpeg require at least Android 7.0.
The version v4.2.2.LTS requires Android 4.1.

What does this PR do exactly? It's hard to tell by the description and impossible by the blobs in diff - did you change ffmpeg to the LTS version?
Is there a chance this will address #2864?

@bdach The libraries located in this repository are outdated. This PR will update them.
There is a really small chance that this PR fixes https://github.com/ppy/osu-framework/issues/2864.
Cannot test that, as I do not own a device that has armv8.

If we’re going to break support for <v7 we better be sure as hell the game can’t run on those systems anyway

@peppy this PR includes the version that still supports android 4.1.
The update that comes after this one has an higher android sdk requirement

This needs testing by someone at least a v8 android device handy

What is the status of this PR?

hasn't been tested yet

Would be great if some android users could volunteer to test these changes.

I think I have an armv8 device? Will queue this up.

v7 should still work too, i believe.

BASS seems to be working but this PR breaks video on my device.
2020-06-01 20:26:24 [verbose]: VideoDecoder faulted: System.DllNotFoundException: libavformat.so assembly:<unknown assembly> type:<unknown type> member:(null)
2020-06-01 20:26:24 [verbose]: at (wrapper managed-to-native) osu.Framework.Android.Graphics.Video.AndroidVideoDecoder.avformat_alloc_context()
2020-06-01 20:26:24 [verbose]: at osu.Framework.Graphics.Video.VideoDecoder.prepareDecoding () [0x00001] in <1bfbbbc9b39f41feaec6dc2753cf0ff8>:0
2020-06-01 20:26:24 [verbose]: at osu.Framework.Graphics.Video.VideoDecoder.StartDecoding () [0x00011] in <1bfbbbc9b39f41feaec6dc2753cf0ff8>:0

Not sure I'll be able to give more detail today but I'll try to look into it.

Thankfully logcat spared me from a lengthy investigation.
06-01 22:43:09.001 D/Mono    (28700): DllImport error loading library 'libavformat.so': 'dlopen failed: library "libcpufeatures.so" not found'.
06-01 22:43:09.001 W/Mono    (28700): DllImport unable to load library 'dlopen failed: library "libcpufeatures.so" not found'.

After looking at the links to the ffmpeg mobile releases above, it's become quite clear that the libraries were updated without their newly-required dependencies (ticks indicate things that have been updated in this PR, while crosses - .sos that are missing here):

@miterosan: before I go in pushing those missing files in here, was there any particular reason why you omitted them? Or did you just update only the files that existed in the repository before?

I've pushed in the missing libraries. Tested on an armv8 device, by running both framework visual tests and the game with a local framework checkout. Seems to do fine (although video visual tests in framework seem to be triggering the memory leak at #3519 - I'm getting crashes/hangs after Video too far out of sync log messages, both here and on master).
As per commit message, the libraries added here are the "full" variant.
Would be good to have this tested on armv7 and x86 (although I don't really know if there are x86 android devices out there other than emulators?)

In attempting to test on the armv8 device I have handy, the video test looks to crash, but on SSL issues rather than video playback. Is that something we've seen happen before? @bdach what's your build setup? Just wondering if something has regressed in newer xamarin versions or something..

Yeah, I think I might have gotten a little confused, it does seem like it could be ssl-related. Closest thing to an error logcat shows me is this:
06-03 05:58:39.081 D/Mono    (21838): DllImport attempting to load: 'libmono-btls-shared'.
06-03 05:58:39.084 D/Mono    (21838): DllImport error loading library './libmono-btls-shared': 'dlopen failed: library "./libmono-btls-shared" not found'.
06-03 05:58:39.090 D/Mono    (21838): DllImport loaded library './libmono-btls-shared.so'.
06-03 05:58:39.090 D/Mono    (21838): DllImport searching in: 'libmono-btls-shared' ('./libmono-btls-shared.so').
06-03 05:58:39.090 D/Mono    (21838): Searching for 'mono_btls_ssl_ctx_new'.
06-03 05:58:39.090 D/Mono    (21838): Probing 'mono_btls_ssl_ctx_new'.
06-03 05:58:39.091 D/Mono    (21838): Found as 'mono_btls_ssl_ctx_new'.

but judging by output it looks like it succeeded in the end...? Not sure.
I was building through rider in debug config. Didn't change anything in the build config as far as I can tell.

As described on Discord something really bad is happening with the web request that fetches the video in the test scene on Android. I thought it was due to single-threaded mode, but it doesn't break that way on desktop. I guess I'll open an issue and document findings there...?
Not sure whether that should block this PR or not.

Ignoring the ssl / network issue I think this looks OK. I don't have an armv7 device to test against so let's deploy and let the users do the testing.


Allow templated tags

Allow setting a tag that uses tpl vars to substitute values from a label or annotation. e.g., "mytag": "{{ metadata.namespace}}-{{ labels.app }}" or something like that.

any update with this?

Honestly I had been waiting to see if there was any real interest in the feature. If there is, I'm happy to work on it. :)

Honestly I had been waiting to see if there was any real interest in the feature. If there is, I'm happy to work on it. :)

yes i will be happy!
i need to add custom tags.
moreover, if i understand well, you cant add Name tag for the volume with this tool? i tried to add the Name tag and couldn't do it for some reason, it just jump to the next tag

we will be happy to use' .Values.name ' and those kind of things

do you have any expectation for this?
how long should it take?

Due to some ongoing family issues my spare time is extremely limited at the moment. I do want to do this but I can't commit to any sort of eta at this time. If I had to hazard a wild guess I'd say sometime in late May.

Due to some ongoing family issues my spare time is extremely limited at the moment. I do want to do this but I can't commit to any sort of eta at this time. If I had to hazard a wild guess I'd say sometime in late May.

ok all good.
thanks!

@bengoldenberg I've released the latest version of the app & helm chart with this functionality. Enjoy!

@bengoldenberg I've released the latest version of the app & helm chart with this functionality. Enjoy!

thanks!
i will take a look soon and will reply if there will be any problem


MonteCarlo request with empty WQE SiteWhitelist

As reported here: https://its.cern.ch/jira/browse/CMSCOMPPR-699
the workflow has a proper SiteWhitelist (and it was properly assigned) and even so the GQE have an empty SiteWhitelist list.
For the record, this is the dict posted during assignment
{u'AcquisitionEra': 'pPb502Winter16GS',
 u'AutoApproveSubscriptionSites': [u'T1_DE_KIT_Disk'],
 u'BlockCloseMaxEvents': 2000000,
 u'BlockCloseMaxWaitTime': 172800,
 u'CustodialSites': [],
 u'CustodialSubType': 'Replica',
 u'Dashboard': 'production',
 u'GracePeriod': 300,
 'HardTimeout': 159900,
 u'MaxMergeEvents': 200000,
 u'MaxMergeSize':<PHONE_NUMBER>,
 u'MaxRSS': 2355200,
 u'MaxVSize':<PHONE_NUMBER>,
 u'MergedLFNBase': '/store/himc',
 u'MinMergeSize':<PHONE_NUMBER>,
 u'NonCustodialGroup': 'DataOps',
 u'NonCustodialSites': [u'T1_DE_KIT_Disk'],
 u'NonCustodialSubType': 'Replica',
 u'ProcessingString': 'MB_80X_mcRun2_pA_5TeV_v4',
 u'ProcessingVersion': 3,
 u'RequestStatus': u'assigned',
 u'SiteBlacklist': [],
 u'SiteWhitelist': [u'T1_IT_CNAF',
                    u'T2_DE_DESY',
                    u'T2_AT_Vienna',
                    u'T2_CH_CSCS',
                    u'T2_FI_HIP',
                    u'T2_TW_NCHC',
                    u'T2_UK_SGrid_RALPP',
                    u'T2_FR_GRIF_LLR',
                    u'T2_UK_SGrid_Bristol',
                    u'T2_PT_NCG_Lisbon',
                    u'T2_KR_KNU',
                    u'T1_ES_PIC',
                    u'T1_UK_RAL',
                    u'T2_IT_Legnaro',
                    u'T2_IT_Rome',
                    u'T2_UK_London_Brunel',
                    u'T2_RU_JINR',
                    u'T2_IT_Pisa',
                    u'T2_US_Vanderbilt',
                    u'T2_IN_TIFR',
                    u'T2_FR_CCIN2P3',
                    u'T2_CH_CERN_HLT',
                    u'T1_FR_CCIN2P3',
                    u'T2_FR_GRIF_IRFU',
                    u'T0_CH_CERN',
                    u'T2_UK_London_IC',
                    u'T2_IT_Bari',
                    u'T2_ES_CIEMAT',
                    u'T1_DE_KIT',
                    u'T2_FR_IPHC',
                    u'T2_RU_IHEP',
                    u'T2_HU_Budapest',
                    u'T2_CN_Beijing',
                    u'T2_US_MIT',
                    u'T2_BE_IIHE',
                    u'T2_CH_CERN',
                    u'T2_PL_Swierk',
                    u'T1_RU_JINR'],
 u'SoftTimeout': 159600,
 u'Team': 'production',
 u'TrustPUSitelists': False,
 u'TrustSitelists': False,
 u'UnmergedLFNBase': '/store/unmerged'}

global_workqueue logs show the following:
2017-03-09 01:43:27,115:INFO:WorkQueue:queueWork() begin queueing "https://cmsweb.cern.ch/couchdb/reqmgr_workload_cache/pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524/spec"
2017-03-09 01:43:29,436:INFO:WorkQueue:Splitting /pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524/Production with policy MonteCarlo params = {'ResubmitBlock': {'args': {}, 'name': 'Resub
mitBlock'}, 'MonteCarlo': {'args': {}, 'name': 'MonteCarlo'}, 'Dataset': {'args': {}, 'name': 'Dataset'}, 'Block': {'args': {}, 'name': 'Block'}, 'DatasetBlock': {'args': {}, 'name': 'Block'}}
2017-03-09 01:43:29,444:INFO:WorkQueue:Queuing element 2c0da21b2d78e9d93c600de309c834b7 for /pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524/Production with 1000 job(s) split with MonteC
arlo on events 1-478000
...
2017-03-09 01:43:29,452:INFO:WorkQueue:Queuing element 8815cb3f41831b7ab1ef7e79a3999c5e for /pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524/Production with 762 job(s) split with MonteCarlo on events 29636001-30000000
2017-03-09 01:43:58,541:INFO:WorkQueue:Split work for request(s): "pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524"
...
...
2017-03-09 01:49:27,157:INFO:WorkQueue:queueWork() begin queueing "https://cmsweb.cern.ch/couchdb/reqmgr_workload_cache/pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524/spec"
2017-03-09 01:49:27,799:INFO:WorkQueue:Resume splitting of "pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524"
2017-03-09 01:49:28,620:INFO:WorkQueue:Request "pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524" already split - Resuming
2017-03-09 01:49:28,620:INFO:WorkQueue:Split work for request(s): "pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524"

as can be seen, it tries to split work again twice. Checking...

I didn't manage to reproduce this issue in my VM. Just in case, this is the content of one of the GQE:
{"_id":"029bec0a615bdfa28e2a252e34e8cc71","_rev":"1-de6deb4cc51f0dab404f9d253e5760da","updatetime":1489020225.3563029766,"WMCore.WorkQueue.DataStructs.WorkQueueElement.WorkQueueElement":{"ParentQueueId":"pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524","NumberOfEvents":478000,"StartPolicy":"MonteCarlo","CreationTime":0,"NumOfFilesAdded":0,"Priority":85000,"ParentData":{},"PileupData":{},"RejectedInputs":[],"ParentFlag":false,"TaskName":"Production","Status":"Available","Inputs":{},"NumberOfLumis":5000.0,"Jobs":1000.0,"ParentQueueUrl":null,"ChildQueueUrl":null,"PercentSuccess":0,"PercentComplete":0,"WMBSUrl":null,"OpenForNewData":false,"EndPolicy":{"policyName":"SingleShot"},"FilesProcessed":0,"SiteWhitelist":[],"ACDC":{},"NumberOfFiles":0,"TeamName":"production","NoPileupUpdate":false,"RequestName":"pdmvserv_HIN-pPb502Winter16GS-00003_00003_v2_MB_170309_001506_524","SubscriptionId":null,"NoInputUpdate":false,"blowupFactor":1.0,"TimestampFoundNewData":0,"ProcessedInputs":[],"SiteBlacklist":[],"Mask":{"LastRun":1,"FirstRun":1,"inclusivemask":true,"runAndLumis":{},"LastEvent":17208000,"FirstEvent":16730001,"LastLumi":180000,"FirstLumi":175001},"Dbs":null,"EventsWritten":0},"timestamp":1489020225.3563029766,"thunker_encoded_json":true,"type":"WMCore.WorkQueue.DataStructs.WorkQueueElement.WorkQueueElement"}

https://cmsweb.cern.ch/reqmgr2/fetch?rid=prebello_RVCMSSW_9_0_0NuGun__resub_170324_153902_8575 is another instance with https://cmsweb.cern.ch/couchdb/workqueue/_design/WorkQueue/_rewrite/element/fe0f5c6d954f2e43daa5c37e88a73ef4

I was going to say it's related to the fact that this TaskChain starts with MC from scratch AND has the TrustSitelists flag enabled. However, the previous workflow reported was not assigned with any of those Trust flags enabled.
I'm looking at this issue and we should have it fixed for the next cmsweb production upgrade (next week).


desktop app do not show pasted image

Description:

Server Setup Information:

Version of Rocket.Chat Server: 0.58.4
Operating System: ubunut 16.04 x64
Deployment Method(snap/docker/tar/etc): tar
Number of Running Instances:  1
DB Replicaset Oplog: Disabled
Node Version: v4.5.0
desktop app version: 2.9.0
desktop app OS: windows 7 x64

Steps to Reproduce:

paste a image in channel
desktop app do not show the image

Expected behavior:
desktop app show the image
Actual behavior:
desktop app do not show the image,but in navigator,the image is shown.
after some research ,I find the diffrent between the desktop app and navigator:
in navigator, the image src is
https://mydomain/chat/chat/file-upload/YRZki2DeLLtZibXHk/WX20171016-093654.png
in app ,the image src is
/chat/file-upload/YRZki2DeLLtZibXHk/WX20171016-093654.png
and my server run behind a reserve proxy server sub directory /chat
https://mydomain/chat/
It seems that the desktop app ignor the sub path /chat/
Is this a bug?

Hey, thanks for reporting. This is an issue on the server running behind a proxy, please check the main repository for similar issues and add your case as well.
Thanks.


Support copyFile

This PR adds support for copyFile, which can also return EMFILE
errors. I'm currently experiencing this via a third-party build tool that
copies many copies in parallel using Promise.all.
This PR also augments the write-then-read test to additionally copy
the written files and ensure that they exist and have the expected
content.
Resolves #122.

To add a bit more context: the issue is arising while using Yarn v2's PnP functionality, which also patches fs. As I understand it, Yarn does this in order to transparently support its zipped-up (i.e., non-node_modules) storage of dependencies, while allowing arbitrary packages to read the zipped-up files using normal fs calls. Since those Yarn-internal implementations of copyFile (and other functions) use other fs methods directly (bypassing graceful-fs), they can run into EMFILE errors. See @yarnpkg/fslib for details.

@ramosbugs @isaacs The API fs.copyFile has 4 parameters, see:
https://nodejs.org/docs/latest-v8.x/api/fs.html#fs_fs_copyfile_src_dest_flags_callback
Fix at #202 .


please open https://jsfiddle.net/amazingzhang/obfst2c2/ with IE, you will see the first data is "no data".

is it closed?


ZRS Managed disk and a VM that is not bound to a zone

Hi,
I have a lot of VMs that are not bound to a Zone (single VM applications). Those currently all use LRS managed disks. I am wondering if I could use ZRS to get achieve a quicker recovery in case of a zonal failure. Would a VM that is not bound to a zone automatically start in another zone upon a zone failure? Or would I still need to create a new VM and attach the ZRS disk in case of a zone failure?

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

ID: 2ca709b7-462b-66c0-ed1b-c757e786061f
Version Independent ID: 972b31ed-cb41-ad74-27ce-4e1fe2656c1b
Content: Redundancy options for Azure managed disks - Azure Virtual Machines
Content Source: articles/virtual-machines/disks-redundancy.md
Service: virtual-machines
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

@Klaas-
Thanks for your Question! We are currently investigating and will get back on this.

My understanding is that you are trying to understand the best option for you between LRS and ZRS.
When deciding which redundancy option is best for your scenario, consider the tradeoffs between lower costs and higher availability. The factors that help determine which redundancy option you should choose include:
-How your data is replicated in the primary region
-Whether your data is replicated to a second region that is geographically distant to the primary region, to protect against regional disasters
-Whether your application requires read access to the replicated data in the secondary region if the primary region becomes unavailable for any reason
LRS is the lowest-cost redundancy option and offers the least durability compared to other options. LRS protects your data against server rack and drive failures. However, if a disaster such as fire or flooding occurs within the data center, all replicas of a storage account using LRS may be lost or unrecoverable. To mitigate this risk, Microsoft recommends using zone-redundant storage (ZRS), geo-redundant storage (GRS), or geo-zone-redundant storage (GZRS).
Microsoft recommends using ZRS in the primary region for scenarios that require high availability.
Would a VM that is not bound to a zone automatically start in another zone upon a zone failure? No
Or would I still need to create a new VM and attach the ZRS disk in case of a zone failure?  If an entire zone went down, a ZRS disk can be attached to a VM in a different zone.  ZRS by itself may not protect your data against a regional disaster where multiple zones are permanently affected. For protection against regional disasters, Microsoft recommends using geo-zone-redundant storage (GZRS), which uses ZRS in the primary region and also geo-replicates your data to a secondary region.
This document has very detailed information on the redundancy options which would help you make the right decision: https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
Let me know if you have further questions after going through the above document and I would be happy to help.
We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.

@Karishma-Tiwari-MSFT

Would a VM that is not bound to a zone automatically start in another zone upon a zone failure? No

why not? Is there anything besides the disk that needs to be zone redundant for this to work? Or let's put it another way: is this a planned feature?


add onClose callback for invisible mode

If invisible mode can't auto-detect a human, it asks for a challenge like checkbox, selecting images, etc.
The user can close this overlay by clicking outside, but there is no way to handle this close by the component nor the offical Google API.
But there are some hacky ways, to poll it's state:
https://stackoverflow.com/questions/43488605/detect-when-challenge-window-is-closed-for-google-recaptcha
https://caniuse.com/#feat=mutationobserver

Hey! I'm sorry but I don't think i want to add this kind of hacks into the library. reaptcha should just expose the Recaptcha API, nothing else. The problem you're mentioning can be solved without adding anything to reaptcha.

I thought that you wouldn't like.
I don't like it myself, though it's an annoying fact, that the recaptchad could ask the user for challenge like selecting images during invisible mode, which shows an overlay, which itself can be closed... but the API does not offer any callback, to be notified upon close 😞 🙍♂

@AndyOGo It's best to move to Recaptcha V3, which does not introduce any UI elements, everything is based on data.

I had to give it a try at least^^

I appreciate the contribution! :)

@sarneeh
We evaluated V2 versus v3 for our use case, the main reason we can't/won't use v3 is that it would need to integrated into the whole user workflow.
Our product is a widget for integration in various apps at server outside of our control, that's why v3 isn't suitable for us.
Hehe, thank you. It's my pleasure, it's a joy to contribute to such clean projects! :)

We evaluated V2 versus v3 for our use case, the main reason we can't/won't use v3 is that it would need to integrated into the whole user workflow.
Our product is a widget for integration in various apps at server outside of our control, that's why v3 isn't suitable for us.

Oh, I didn't think about this kind of use case.

Hehe, thank you. It's my pleasure, it's a joy to contribute to such clean projects! :)

Thank you! 😄

No worries, we just completely removed invisible mode and won't run into this close problem 🤦♂


data preprocessing for pre disaster images to extract binary masks fo…

…r building localization

Merging from sowmiya to main branch


chore: rename feature with-codec => with-scale

@sorpaas PTAL

BTW, @sorpaas could you invite me to help to maintain this repo?


Heikin ashi and supertrend functionality returning duplicate values | 27-Aug-2022

Supertrend is returning duplicate values while processing a stock's OHLC (open, high, low, close) data.
Have attached unprocessed OHLC data df.csv file below.
First: I am processing this OHLC csv data frame to Heikin Ashi candle data using ta.ha from pandas_ta
Then: I am processing this Heikin Ashi processed data with ta.supertrend from pandas_ta.
In both pandas_ta methods, I am getting duplicate values.
Though SuperTrend signal is provided accurately. Values are duplicate.
Unprocessed CSV FILE - df.csv

I'm not sure if this is a bug or not.
Sometimes the supertrend value stays the same, it's a property of the indicator.
Can you verify that the duplicate values are actually wrong when compared to other libraries?

Will check and revert.
If those values are of range, then what you said might be true.
Thanks

No problem,
Let me know if you encounter any other issues.


sync settings

I have two suggestions for you:

the settings of vscode be synced by email. Then when we use a new device we do not need to adjust the settings again.
Adding the shortcut key Ctrl + D for duplicate line (like pycharm).

Can we use something like Git repo for this?
Would really like to avoid yet-another-account-to-register-and-maintain, and also to keep ability to sync settings over restricted corp networks

/duplicate of #2743 (already on draft of January iteration plan)
In the meantime you can use https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
As for shortcut: Ctrl+D is already assigned to another action since release, so it doesn't make any sense to break that.
You can always reassign it yourself or use https://marketplace.visualstudio.com/items?itemName=k--kato.intellij-idea-keybindings for most of Idea keybindings


Manual Travis+Appveyor CI runs with full set of environments

!! Do not merge this PR !! This PR stays on its branch and is never merged.
The change in this PR causes Travis and Appveyor to run with the full set of test environments, compared to the other branches which run with a minimal set of test environments.
Usage:

This PR is run automatically on Travis as a daily build.
To trigger a manual build on both Travis and Appveyor, rebase the branch of this PR to master:git checkout master
git pull
git checkout manual-ci-run
git rebase master
git push -f

For build results, see branch manual-ci-run in https://travis-ci.org/zhmcclient/zhmccli/branches.

Note: If you make changes to .travis.yml, the automatic daily build on Travis will not pick them up until you rebase this PR on them.

Coverage increased (+41.06%) to 41.062% when pulling 347e2f65e8540f846ecb481e49ecd4000d47cff5 on manual-ci-run into 3fc4d220fc0f68097dfb5400bb9671ba30d28816 on master.

Coverage remained the same at 0.0% when pulling 35638d55f270cb29e03168ba2f0f31b94fc1ef7b on manual-ci-run into a66ff40047c809a833e8e0910f648728cbcc11fc on master.

Coverage remained the same at 41.176% when pulling 40d2480dc194093203ecd58dbd7e29b8ad5a2711 on manual-ci-run into ff34f8e4afb156cfd9bb1804332d6aef226215d7 on master.

Abandoned because it is now done by scheduled workflow as of PR #75


v1.1.0 release tasks

[x] Rebase Develop (Casey)

Testnet Release:

[x] Create pre-release v1.1.0 (Casey)
[x] Create Release Notes (Eric)
[x] Update releases.md, label as "pre-release" (Casey)
[ ] Create msigs for Testnet (Casey/Bohdan)
[ ] Post msig and release info to FIO Testnet

Mainnet Release:

[ ] Update releases.md with final contract info (Casey)
[ ] Create msigs for Mainnet (Casey/Bohdan)
[ ] Post msig and release info to FIO Mainnet and FIO
[ ] Send API/History node upgrade notifications to all channels (Eric)

Rebase PR #126 has been submitted

Closing this out tracking in Jira.


Adding support for SSH access via SSM agent to EMR instances

what

Adding boolean flag to control attachment of SSM IAM policy to EMR cluster EC2 instance profile
README update

why

The IAM policy provides required permission to the SSM agent, which facilitates remote SSM shell connections via the AWS console and cli.

references

#46

/test all

/test all


embed go playground

https://ggicci.me/goplay-embed-go-playground-on-your-website/#how-it-works
https://hrishikeshpathak.com/blog/golang-code-playground
https://gitlab.com/gitlab-org/gitlab/-/issues/212769 (gitlab wanted to add)
https://github.com/bbalet/soksan

go.dev example

ideally write go code in markdown, and make it executable in go playground

https://github.com/ggicci/goplay


Add ability to set MaxConcurrentReconciles for controller

implementation for #83

@vazirim tests have been fixed

@walkamongus Thank you for this contribution, it looks good.
Could you please sign the commit (please see below "Learn more about signing commits")?

@vazirim commit signed and all green!


fix(index): run with older versions of node

Older versions of node require 'use strict' when using const/let/...

I pushed version 1.0.1 with this fix.
https://www.npmjs.com/package/nist-randomness-beacon


Asking for src, even if provided

Challenge Add Images to your Website has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

Please ask in  room before filing an issue.
Hope you enjoy your coding experience in FreeCodeCamp. :blush:
Thank you.


[Modeling] Add training for RetinaNet 🐹

It looks quite difficult, but you can do IT! 🐿
Thanks detail and nice issue!

@MijeongJeon Please Give me a cup of coffee...
Oh. You already did!
thank you, dear


[BUG] dartls timeout

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Occasionally encountering the error [LSP][dartls] timeout, LSP is unable to perform code formatting and autocompletion.

Expected Behavior
Able to properly format code and provide code autocompletion.
Steps To Reproduce
Using gd to navigate through the Flutter framework classes several  times, this situation is encountered.
Environment
- OS: macOS 13.3
- Flutter version: Flutter 3.7.6
- Is flutter in $PATH: yes
- neovim version: NVIM v0.9.0

Anything else?
I'm using LazyVim + flutter-tools.nvim .
And after I exit nvim, the Dart process is still running.
  501 56484     1   0  8:41PM ??         0:21.65 ~/.asdf/installs/flutter/3.7.6-stable/bin/cache/dart-sdk/bin/dart ~/.asdf/installs/flutter/3.7.6-stable/bin/cache/dart-sdk/bin/snapshots/analysis_server.dart.snapshot --lsp
  501 56584 56484   0  8:41PM ??         0:00.71 ~/.asdf/installs/flutter/3.7.6-stable/bin/cache/dart-sdk/bin/dart pub upgrade

@bruce3x I don't believe this issue is caused by this plugin and is likely coming from neovim's lsp client or from dart ls itself. This plugin doesn't actually control the internal of the language server it starts and most of the moment to moment is essentially between neovim and the dart ls.

First of all, thank you for developing this very useful plugin.
I am using Neovim for development for a short time and am not familiar with it. Could you guide me on how to troubleshoot or analyze this issue?

Honestly @bruce3x I don't really know I guess one thing you can do is to check the LSP logs to see if there is any information or errors that might point to what is going on
e.g. :lua vim.cmd('edit '..vim.lsp.get_log_path()) this will show you the log file. I would look for errors in there that might explain what is happening.

I am also having this problem since a couple of weeks back. Neovim freezes entirely due to what I assume are LSP timeouts from dartls. It only happens sometimes but it is reproducable, as in if it happens I can trigger it by trying the same completion that made it freeze the first time.
OS: Arch Linux
Flutter version: 3.7.8
Dart SDK version: 2.19.5 (stable)
Neovim version: VIM v0.9.0 (using LazyVim)
I find nothing in the LSP log. I realize this might be a problem with dartls, but seeing as I don't even know where to begin debugging this I am calling out here where there are people a lot more experienced with these specific tools.

I am also facing similar issues, once the lsp server quits even :LspRestart does not help.
To reproduce it

:FlutterRun
Once Flutter Run command is complete, a command dialog asks to press any key to continue.
Once you confirm, the file you are editing suddenly goes into readonly mode. You can use :w! to recover from that.
After which you get an error -  "LSP: unable to edit document because not previously opened"? <- this is where lsp quits and fails to recover even with autostart = True.

My guess is though you can recover the buffer you are editing from readonly mode. But the LSP still sees it in readonly mode. Also there is nothing about it in the logs, errors are visible with :messages.
Workaround - reload the file with :e!  -> https://vi.stackexchange.com/questions/41588/to-whom-do-i-report-error-lsp-unable-to-edit-document-because-not-previously-o
Hope this helps.
and @akinsho  great work on the plugin :clap:

Once you confirm, the file you are editing suddenly goes into readonly mode. You can use :w! to recover from that.
After which you get an error - "LSP: unable to edit document because not previously opened"? <- this is where lsp quits and fails to recover even with autostart = True.

I think this report might be beginning to mix too many things since the OP post refers directly to and includes a screenshot of a timeout. The second post refers to a freeze but it's not actually clear if it's from a timeout and @rishin27 your post is more talking about the fact that this plugin actually deliberately makes your dependency files readonly since presumably you do not intend to edit the code of a dependency file. This was actually copied from the dart-vim plugin which was actually written by a member of the dart team. I don't know if that now causes some issue with neovim but since I encounter readonly files in other environments and neovim behaves properly that doesn't sound likely.
In either case thanks for the reports but at the moment I don't really have any single clear mechanism for how to reproduce the main thing that this issue is for I don't really think I understand specifically what I should be thinking about fixing and more importantly if it really truly relates to this plugin or not.
What versions of flutter are people using? what actually is the specific problem statement if it's not the same as the OP I think it's best to not include it etc.
Re. reproduction I need minimal lua init files please, not dotfiles please, going through people's dotfiles to reproduce bugs is a huge pain.

@brutusmcforce
For the issue of neovim freeze, I searched a lot and finally found a solution in the LazyVim discussions.
After disabling noice plugin, I haven't encountered the freezing issues recently.
{"folke/noice.nvim", enabled = false}

If @bruce3x's fix doesn't work for anyone reading this, I've found that indent-blankline.nvim can cause freezing as well. Try excluding dart files in your filetype_exclude opt.

@bruce3x I'm facing the same problem with you (dartls timeout), try to uninstall dart in treesitter using TSUninstall dart. I haven't encountered the timeout again.

@bruce3x I'm facing the same problem with you (dartls timeout), try to uninstall dart in treesitter using TSUninstall dart. I haven't encountered the timeout again.

Without treesitter dart neotest does not work.

@bruce3x I'm facing the same problem with you (dartls timeout), try to uninstall dart in treesitter using TSUninstall dart. I haven't encountered the timeout again.

Without treesitter dart neotest does not work.

You may add this in the test adapter config, and then LSP information will be used instead of Treesitter to get test names:
use_lsp = true,

@bruce3x I'm facing the same problem with you (dartls timeout), try to uninstall dart in treesitter using TSUninstall dart. I haven't encountered the timeout again.

Without treesitter dart neotest does not work.

You may add this in the test adapter config, and then LSP information will be used instead of Treesitter to get test names:
use_lsp = true,

But after parsing, the tests do not run.
https://github.com/Hecatoncheir/neovim/blob/main/lua/plugins/neotest.lua#L14

Hmm, @Hecatoncheir, could you register a bug with repro steps in https://github.com/sidlatau/neotest-dart/issues?

All work perfect with that configuration: https://github.com/Hecatoncheir/neovim/blob/main/lua/plugins/neotest.lua

All work perfect with that configuration: https://github.com/Hecatoncheir/neovim/blob/main/lua/plugins/neotest.lua

I've copy your config yet still got No test found, do you know why?

It's look like this for now:  https://github.com/Hecatoncheir/neovim/blob/a8cb48858c426a1c647a5c81c389d014b703bf2b/lua/plugins/languages/dart.lua#L65
Neotest add here: https://github.com/Hecatoncheir/neovim/blob/a8cb48858c426a1c647a5c81c389d014b703bf2b/lua/core/plugins.lua#L39 and setup: https://github.com/Hecatoncheir/neovim/blob/a8cb48858c426a1c647a5c81c389d014b703bf2b/lua/plugins/ui/tests.lua#L2

Closing this, as it looks like other plugins are causing an issue, and there is no clear action on how to move forward.


Clear properties when resource is missing in storage

When resource is deleted using other app or system, its properties still remain in storage. We need to clean storage after external resource deletion
ARK-Builders/ARK-Memo#8

We had similar feature planned in Navigator :

https://github.com/ARK-Builders/ARK-Navigator/issues/114

I'm not sure what is implementation status of it.. But we should not hurry with any garbage collection, because user-defined metadata (properties, tags, scores) is very important and we must not lose it. Better to have garbage in it but not remove something if index says it's not there any more. Another tricky spot is that resource could lag while syncing and properties can come earlier than the resource itself. In this case, we would erroneously remove the metadata.


Crash fix

Request handler may be last in chain.

The next function is required. You can use a module like finalhanlder if you want to call this module outside a middleware environment (i.e. manually). The stub next function here does not handle errors.

There are two examples of this on the readme you can look at :)


Fix taskbar detection for setAdventuresLeft.

Right now, useDockIconBadge is overriding our careful taskbar feature detection. This is generating debug logs for users who have this preference set to true (e.g. if they previously used these settings on a Mac once upon a time).

Thanks for fixing this!


Item checkin not returning any response

It seems there is an issue with item checkin. I have the following code in express
router.get('/checkin',  async (req: Request, res: Response) => {

   const item_barcode: string = `${req.query.item_barcode}`;

   if (!item_barcode) {
       return res.status(400).send("Item barcode is required");
   }
   const sipTwo = new SipTwo(sip2ConnectionOptions);
   // sipTwo.setPatron({
   //     patronIdentifier: "123456",
   //     password: "demopass"
   // });
   try {
       await sipTwo.login();
       let datetime_now = new Date(); //getFormattedDated();
       let checkinRequestDto: ICheckinRequestDto = {
           location: sip2ConnectionOptions.institutionId,
           offline: false,
           returnDate: datetime_now,
           itemIdentifier: item_barcode
       };
       const checkinResponse: ICheckinResponse = await sipTwo.requestCheckin(checkinRequestDto);
       sipTwo.connection.close();
       res.status(200).send(checkinResponse);
   } catch (e) {
       console.log(e);
       sipTwo.connection.close();
       res.status(500).send("Error: Internal Server Error");
   }
});

There is no response from the server, ever.
However, if a non-existing item identifier is provided, then we get Invalid Item response, which is expected.
I tested with the sip-testing-tool on the same sip server and was able to check-in the same item.
There could be an awaitable that is not being awaited and I have not been able to fix it. @jblyberg

@jblyberg Below is the original error message. I made some changes locally that checks if SipTwo.descriptor is set before getting the value of SipTwo.descriptor.value.
TypeError: Cannot read properties of undefined (reading 'authenticated')
    at SipTwo.descriptor.value (C:\projects\siptwo\node_modules\siptwo\src\lib\decorators\MessageGuard.ts:7:19)
    at SipTwo.login (C:\projects\siptwo\node_modules\siptwo\src\lib\SipTwo.ts:79:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@otuoma Thanks for the report. I don't have a sip server handy at the moment. I'll have to spin up an evergreen box to work on this.

Inside CheckinRequest.js, I made the following change to check if patronCredentials have been set before trying to read the password
From
if (this.commonRequestDto.patronCredentials.password) {
            this.append('|AD');
            this.append(this.commonRequestDto.patronCredentials.password);
        }

To
if (this.commonRequestDto.patronCredentials && this.commonRequestDto.patronCredentials.password) {
            this.append('|AD');
            this.append(this.commonRequestDto.patronCredentials.password);
        }

Then in DateTimeHelpers.js, I changed the date formatting string from
const formatSipRequestDateTime = (request_date = new Date()) => {
     return date_and_time_1.default.format(request_date, 'yyyymmdd    HHMMss');
};

To
const formatSipRequestDateTime = (request_date = new Date()) => {
    // return date_and_time_1.default.format(request_date, 'yyyymmdd    HHMMss');
    return date_and_time_1.default.format(request_date, 'YYYYMMDD    HHMMss');
};

This changes the date format in my checkin request message from this 09Nyyyy18Sa    151244yyyy18Sa    151244APCPL|AOCPL|AB123456|ACTestPass22|BIN to a properly formatted date  09N20231223<PHONE_NUMBER>1223    151244APCPL|AOCPL|AB123456|ACTestPass22|BIN
These changes solved the issue for me, but unfortunately I have not been able to create a PR for now.


[Event Request] Report 5607 "Fixed Asset - Projected Value" - OnAfterOpenPage

Hi, would it be possible to get an OnAfterOpenPage event in report 5607 (Fixed Asset - Projected Value), like this:
        trigger OnOpenPage()
        begin
            GetFASetup;
            OnAfterOpenPage(DeprBookCode, StartingDate, EndingDate); // New Event
        end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterOpenPage(var DeprBookCode: Code[10]; var StartingDate: Date; var EndingDate: Date)
    begin
    end;

Note: in view of introducing a new object type - reportextension (https://docs.microsoft.com/en-us/dynamics365-release-plan/2021wave1/smb/dynamics365-business-central/report-extensibility), this event can be replaced just by adding the protected keyword to DeprBookCode, StartingDate, EndingDate variables. This approach will be also suitable for us.
Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Increase DEFAULT_MAX_SQUEAKS_PER_ADDRESS_IN_BLOCK_RANGE

https://github.com/yzernik/squeaknode/blob/1715ef1613baa71e3b0fb1a5341ed44035bf6cc5/squeaknode/config/config.py#L41
The current default 100 is too low.

https://github.com/yzernik/squeaknode/pull/1378


Confusion about perMessageDeflate in Readme

When you recommend in your Readme that it's recommended to set perMessageDeflate to false for best throughput, then why is its default set to true?
Any reasons for this? And on a side note, I wonder when it's not recommended to set it to true?

cc @lpinca

The extension has been added in<EMAIL_ADDRESS>(https://github.com/websockets/ws/pull/409) and since then it has always been enabled by default. I honestly don't know why, I wasn't a collaborator at the time but it wasn't a good idea imho.
A lot of modules now assume that permessage-deflate is enabled so we avoided adding an unnecessary breaking change in ws@2.
permessage-deflate basically kills ws performance and uses huge amount of memory. There is also an outstanding issue we are not sure how to solve (https://github.com/websockets/ws/issues/804).
That said, you should use permessage-deflate if you want to minimize the amount of data transmitted over the network. Bandwidth consumption if not free.

i see and need a recommendation from you if you don't mind? should i enable or disable perMessageDeflate for the following scenario?
in www.videomail.io i am sending image frames through a pipe over this websocket-stream to the server at an FPS of 15. each frame is about 7kB.

Most services make you pay for only for outgoing bandwidth and I assume that those image frames are already compressed so I think you should definitely disable permessage-deflate.
Anyway I would check what's the difference with permessage-deflate on and off, calculate the costs and decide based on this info.

i'd like to clarify few things here. obviously it is documented that you can set the perMessageDeflate option here: https://github.com/maxogden/websocket-stream#optionspermessagedeflate
but when you are using the native implementation
    if (isNative && isBrowser) {
      socket = new WS(target, protocols)
    } else {
      socket = new WS(target, protocols, options)
    }

then this option is never passed on because its native implementation does not support options as a third parameter, see https://github.com/maxogden/websocket-stream/issues/82
but according to this rfc this option should be embraced:
https://tools.ietf.org/html/rfc7692
all that makes me question how i really can disable perMessageDeflate at all?

@binarykitchen the extension is negotiated so you can just disable it on the server.
It can be disabled on the client because ws / websocket-stream can be used only as client to connect to a server you don't control.

oh i see ... ok, i tried to disable that on server side and tested again. but i still see Sec-WebSocket-Extensions: permessage-deflate in the response header, see screenshot:

does disabling it really works and is tested?

ah, never mind, i figured it out. was using the wrong constructor :)


Auto corrected by following Lint Ruby Style/CaseLikeIf

Auto corrected by following Lint Ruby Style/CaseLikeIf
Click here to configure it on awesomecode.io

Coverage remained the same at 80.877% when pulling 7452fc510d42909bf02168905841f616a4a7824f on awesomecode-lint-ruby-style-caselikeif-48236 into ed40b1d9634eccd994a408834183ce70271b7d5b on master.


'make lint' reports errors in build/ directory

Running something like
pip install .

from the root of this repo creates a build/ directory which contains a copy of the library's source code.
flake8 and other static analyzers will then check that directory when running e.g. make lint, which is undesirable because:

it is wasted time and processing (since the errors raised will be identical to those raised on the code in src/)
it adds visual noise to the make lint logs that makes it more difficult to understand exactly what to fix

For example:
./build/lib/pydistcheck/cli.py:116:30: C414 Unnecessary list call within sorted().
./src/pydistcheck/cli.py:116:30: C414 Unnecessary list call within sorted().

How to fix this
Add configuration to setup.cfg and pyproject.toml to exclude the build/ directory from flake8, mypy, black, and pylint.

I just tested tonight. Seems that this was fixed somewhere in recent commits.
I added some trailing whitespace to a Python file in src/, ran pip install ., then pre-commit run--all-files.
pre-commit only reported issues in src/, not build/.


Does it work with monorepo architecture?

Just wondering if greenkeeper works with mono repo architecture
If it does not, I would like to request the ability to have .greenkeeper.json in project root which has a map of all the packages that points to their roots like
{
  "babel-core": "./packages/babel-core"
}

Hey @steelbrain,
thanks for your feedback. I'm closing this issue as a duplicate of #139.
Please subscribe to that issue for updates.
Best,
Stephan


Time to build Hour of Code Assets and Webpages for 2022!

Describe your design or art need by answering the questions below:
What are the requirements for the project?
We need art / pages for Hour of Code 2022!
Art -  Lots of carnival relates sprites, backgrounds, etc.
Webpage - HoC 2022 Landing page (super simple and quick to grok)
Build-A-Carnival page - A "carnival in a box" for classrooms and clubs
Educator page - A page of resources for teachers who will be doing this in the classroom
Is there a deadline or date this is needed by?
Art needs will start trickling in over the next couple of weeks, but the overall everything needs to be done by 8/1 (at latest) this year.
Please share any existing references, screenshots, links, etc. here that will help us better understand your requirements
Let's not cloud 2022 with what we did for 2020/2021
Optional Additional Questions:
Who are the stakeholders that need to sign off on this design? Tag them here.
The team…but mostly @ElizabethRiffle @Jaqster @kiki-lee @BeckHaru @alex-kulcsar Catherine @asmeets
What audience is this request for?
Late elementary and their teachers (4th-5th grade ideal)
What does success look like?
Evokes feelings of a carnival…but without chaos
How will we measure if this is successful or not?
@ElizabethRiffle will host user studies throughout the summer and @kiki-lee will test in-class with Smithsonian and DigiGirlz in August.

This issue need not be tracked anymore.


Fixed aws endpoint issue

This PR resolves the issue
Failed to upload to AWS, with the exception:
SocketException: Failed host lookup: 'bucket-name.s3-us-east-1.amazonaws.com' (OS Error: No address associated with hostname, errno = 7)
Changed endpoint from bucket-name.s3-us-east-1.amazonaws.com to bucket-name.s3.us-east-1.amazonaws.com

Thanks for this!


I want to add this calculator
Example : 6 is a ugly number as it have only 2 and 3 as prime factor.
I want to add this calculator
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

Proceed @Anshika14528