continue extension failing onstart

Type: Bug
i installed Continue in wsl2. however, it doesn't work as expected. Instead i get the uncaught error below. no matter how many times i reload the extension, it still doesn't work but breaks with an onStartupFinished error below
The specified module could not be found. \?\c:\Users\Sam.vscode\extensions\continue.continue-0.9.124-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node

Extension version: 0.9.124
VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
23.84GB (8.40GB free)

Process Argv
--crash-reporter-id e06d819a-bc66-47b0-810c-b9fd9649036f

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2111)

Memory (System)
11.60GB (7.67GB free)

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r6:30993542
dsvsc020:30976470
pythonait:31006305
chatpanelt:31018789
dsvsc021:30996838
jg8ic977:31013176
pythoncenvptcf:31022791
dwnewjupytercf:31035177

@sestinj  could you kindly help here

yes @sestinj , the file exists at this location  "C:\Users\Sam\.vscode\extensions\continue.continue-0.8.25-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node" on my local machine

Good to know, thank you! I will dig around onnxruntime_node to see what I can find

Hello,
I have the same issue on Windows VSC 1.89 and on Nixos VSC 1.84.

@AndreasRosenberger there is ongoing conversation about NixOS here. There's no complete solution yet, but I believe in a few situations it's been discovered what dependencies are needed

Hi @sestinj
I encountered a similar issue, with my error message being The specified module could not be found. ?\c:\Users\AtomVW.vscode\extensions\continue.continue-0.8.27-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node. This resembles the error Nanayeb34 reported: The specified module could not be found. ?\c:\Users\Sam.vscode\extensions\continue.continue-0.9.124-win32-x64\bin\napi-v3\win32\x64\onnxruntime_binding.node.
I noticed that the concatenation of the user directory and .vscode seems to be incorrect, suggesting a simple path error.
Sam.vscode AtomVW.vscode
I also observed that both Nanayeb34 and I are using Windows 10, so I attempted to install it on another machine running Windows 11, where I didn't encounter the same issue. Therefore, I speculate that this might be a path error specific to Windows 10?

@sestinj, @AndreasRosenberger, @Nanayeb34, @Atomesh
I encountered the same problem.
windows 10
vscode 1.87.2
continue 0.8.27
Found this discussion:
https://stackoverflow.com/questions/69859120/the-specified-module-could-not-be-found-d-next-js-firstapp-node-modules-n
The issue is because the package is failing due to a missing library on the computer. fs-search requires Microsoft Visual C++ 2015 Redistributable (x64).

You can get the download here -> https://aka.ms/vs/17/release/vc_redist.x64.exe

After installing this everything worked.

These are very outdated versions. Current VSCode is 1.90.0 and current Continue extension is 0.8.40 (Continue is getting relevant changes, even with minor release, so I'd recommend to stay as much as possible up-to-date).


Filter operator support multi expr

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I find that current Filter operator just can include one expr.
I understand it could be because predicate is applied one by one instead of apply together in one tuple/batch.
But in my opinion, we should allow the  Filter operator include multi expr. Because it's more clear, and it don't affect the execution.
After I implement this change, I will do the merge adjacent filter. in the future, we also can implement  filter reorder applied in physical execution based on this.
How do you think about it? @alamb @Dandandan
Describe the solution you'd like
Replace the expr with vec expr, and change some related code.
Describe alternatives you've considered
Additional context

What' more, Filter include the BinaryExpr which can be used as Expr And Expr. It can also have same function/ability with Vec Expr.
But, I don't think it is a good way, because BinaryExpr is usually used for the logic operation.
Put multi expr in it is easy, but it isn't easy to get Expr from it.

I think the filter already support multiple predicates using And, Or etc.
The planner / optimizers could be changed to use this fact better.

FWIW I do think it is common practice for convenience in optimizers / database to represent filters as Vec<Expr> that logically represent expr ANDed together.  However, I agree that logically there is no difference to using an ANDed list

Yes, It's equivalent logically. But, Depending on the scenario, the choice of database will have a preference.
For vectorized and columnar storage, It's common use the vec<Expr> way, because the execution layer generally executes expressions one by one.
As for the Row oriented storage, we can apply the conjunction expression in a row  together.
In conclusion, this may not be a very important thing, maybe we can consider it in the future.

Yes, It's equivalent logically. But, Depending on the scenario, the choice of database will have a preference.

Indeed -- in fact in the filter pushdown logic, there is a function that takes apart a AND expression into a Vec<Expr> (and then there is code to put it back again).
https://github.com/apache/arrow-datafusion/blob/74bf7ab4f578edda8dcb4fe70ec43560992f5bab/datafusion/src/optimizer/filter_push_down.rs#L162-L177


A lack of API documentation

I find that when contributing to projects, it is important to understand the rationale for public types and methods. The absence of such means that it is hard to navigate through a project and learn what does what. A case in point presently is learning how library resolution takes place so that I can leverage it within my build. It is hard to understand sbt and its organization and this probably inhibits contributions.
Another example - see https://www.scala-sbt.org/1.0.0/api/sbt/Keys%24.html - not a single line of documentation explaining each key...
I realize that the code base is quite mature, but perhaps all future pull requests should put this right and ensure that new public types and methods have sufficient rationale explaining their existence.
WDYT?

I agree that having some Scaladoc might help, but I am not 100% sure if that would explain the overall organization of the sbt code base, or how library management works.
Keys are not explained in Scaladoc because we have sbt help instead.
What's the success criteria of this issue? Changing the coding guideline? https://github.com/sbt/website/blob/1.x/src/reference/90-Developers-Guide/02-Coding-Guideline/00.md

Yes, changing the coding guidelines would suffice for me. Want me to have a stab at that?

Closing this.


AVRO-3897: [Rust] Disallow invalid namespace in fully qualified name for Rust SDK

AVRO-3897
What is the purpose of the change
This change aims to fix an issue that the current Rust SDK accidentally allows invalid namespace in fully qualified name with Name::new().
The specification says about Names as follows
The name portion of the fullname of named types, record field names, and enum symbols must:

start with [A-Za-z_]
subsequently contain only [A-Za-z0-9_]

The null namespace may not be used in a dot-separated sequence of names. So the grammar for a namespace is:

  <empty> | <name>[(<dot><name>)*]

So the following usages of Name:::new() should return a kind of Err but actually return Ok.
Name::new("ns.0.record1");
Name::new("ns..record1");

The root cause is that the regex SCHEMA_NAME_R is not correct.
So this PR fixes the regex.
Verifying this change
New tests are added.
Documentation

Does this pull request introduce a new feature? (no)

Thank you, @sarutak !


Wheel file doesn't exist for current release

The README tells us to wget the current release file's wheel file (.whl extension) from github and use that to download from wheel. But it doesn't exist in the current release for 0.0.9 while it does for previous releases.

@anishgoyal1108 Thanks for letting me know. I have just added the wheel file. Apologies for the delay


pressmove event doesnt distinguish mouse button number in firefox

We have an app that runs on Firefox and Chrome.  In Firefox, he pressmove event event is firing ok, but the button number (0,1,2) is always 0 for a pressmove.  It is correct for mousedown, mouseup etc.  This occurs all the way up to firefox 39.0
My solution is to capture the button used on the mousedown and when the pressmove is fired i look at the button number captured during the mousedown.
However in chrome, pressmove event DOES return the proper button number.  In Firefox it doesnt.
Is this a firefox bug or something that can be corrected in Easel. Thanks!

Out of curiosity, I just tried this, and I seem to get get the correct button in the nativeEvent (i.e. 2) in Firefox on Mac.


Dkg v2 improved

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 27 (22.22%)  changed or added relevant lines in 3 files are covered.
8 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.02%) to 95.687%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

dkg/pedersen/controller/action.go
0
6
0.0%

dkg/pedersen/mod.go
3
10
30.0%

dkg/pedersen/handler.go
3
11
27.27%

Files with Coverage Reduction
New Missed Lines
%

dkg/pedersen/handler.go
2
83.77%

mino/minogrpc/server.go
2
99.33%

internal/traffic/mod.go
4
97.45%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
13710

Relevant Lines:
14328

💛  - Coveralls


Fix typo in test_keras_binary_classification_model() name

Fixes #2235, which is a minor typo.

@aakashkumarnain
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

@googlebot I signed it!
On Tue, 10 Nov 2020 at 19:01, google-cla[bot]<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot
I signed it! and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Ftensorflow%2Faddons%2Fpull%2F2236
for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/addons/pull/2236#issuecomment-724900656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAEHXRWM5B2UM6RTZ7KL7LSPGEX3ANCNFSM4TRBGY3Q
.


Allow opt out of home screen prompt

Originally created by Tom Smyth at 2019-04-14 17:14, migrated from redmine-#9590

Status changed from New to Closed

By Tom Smyth at 2019-05-10 03:16


add some padding when highlighting long sentence

Describe the bug
when using highlighting using   there is no spacing between words
To Reproduce
the words getting too close to each other when highlighting long sentence
Expected behavior
it should has some spacing or padding
Screenshots

Desktop (please complete the following information):

OS:Windows 10
Browser :Chrome
Version :73.0.3683.86

I think this is not simply possible, because the main limitation is CSS display: inline here. You don't know where the break will happen. And yes, there is padding already, but inline element will break into more lines like this.

I think the best solution is to increase the line-hight (leading-normal/loose), I'll try tomorrow

will be available soon in the next version


Allow associations to be cast/put inside of embedded schema changesets

Closes https://github.com/elixir-ecto/ecto/issues/4500

@josevalim any chance we could get a 3.12.3 release soon to be able to make use of this change?


Failed to install POSH-SSH in windows 2012

Hi,
I used to install the POSH-SSH on my windows 2012 machine.
when i execute the iInstall-Module -Name Posh-SSH -RequiredVersion 2.1
its failed.
WARNING: Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
WARNING: Unable to download the list of available providers.
Please advise on how to install the Posh-ssh module.
Thanks.

https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/ https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/ it is due to a change in the PS Gallery, you need the latest PowerShellGet module.

Thanks carlos
On Wed, Mar 3, 2021, 4:47 PM Carlos Perez<EMAIL_ADDRESS>wrote:

https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/
https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/
it is due to a change in the PS Gallery, you need the latest PowerShellGet
module.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/383#issuecomment-789545598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVT6FOGHM7DGHWEL4B3TP3TBXZRLANCNFSM4YQRFUOQ
.


chore: updated ui-toolkit to latest version 3.2.6

PR Checklist

[ ] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. open-amt-cloud-toolkit/repo#365 )

:tada: This PR is included in version 8.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Test Issue created at Wed, 02 Jun 2021 13:37:22 GMT

Test issue body  Wed, 02 Jun 2021 13:37:22 GMT

Comment on issue at Wed, 02 Jun 2021 13:37:23 GMT


Cannot load gringotts plugin on Magma server core (NoClassDefFoundError PersistenceException)

Describe the bug
On newly created server, with fresh installed plugins server console emits error when loading gringotts plugin:
[Server thread/ERROR] [Minecraft/]: Could not load 'plugins\gringotts-2.12.5.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: javax/persistence/PersistenceException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:142) ~[forge-1.18.2-40.2.9-universal.jar%2358!/:?] {re:classloading}
        ...
Caused by: java.lang.NoClassDefFoundError: javax/persistence/PersistenceException
        at org.gestern.gringotts.Gringotts.<init>(Gringotts.java:97) ~[gringotts-2.12.5.jar:?] {}
        ...
Caused by: java.lang.ClassNotFoundException: javax.persistence.PersistenceException
        at org.magmafoundation.magma.remapping.loaders.RemappingURLClassLoader.findClass(RemappingURLClassLoader.java:96) ~[forge-1.18.2-40.2.9-universal.jar%2358!/:?] {re:classloading}
        ...
[Server thread/ERROR] [Minecraft/]: Could not load 'plugins\gringotts-towny-2.12.5.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: Unknown dependency Gringotts. Please download and install Gringotts to run this plugin.
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:268) ~[forge-1.18.2-40.2.9-universal.jar%2358!/:?] {re:classloading}
        ...

To Reproduce
Steps to reproduce:

Download and start Magma server. Accept EULA.
Restart server to create folders.
Place all plugins into folder
Restart server
See console error

Expected behavior
A Gringotts plugin to load correctly on server boot.
Versions:
Server Type: Magma-1.18.2-40.2.9-cd023882
Towny: <IP_ADDRESS>
Vault: 1.7.3-b131
Gringotts: 2.12.5
Gringotts-towny: 2.12.5
Screenshots
If applicable, add screenshots to help explain your problem.

Hello :)
We currently have no intentions to extend support to other platforms besides Spigot and Paper, mainly because of the additional complexity that involves.


Better error handling

I removed the pprint debug call and fixed error handling by adding a third parameter, so now you have success, error_type, error_message.
I only tested the json part of it.

Thanks!


defer not triggering fallback when navigating to same route with different params

What version of Remix are you using?
1.18.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce

Go to https://codesandbox.io/p/sandbox/wizardly-mccarthy-ht58h5?file=%2Fapp%2Froutes%2F%24packageId.tsx%3A31%2C13
On route "/A" initially verify that "Loading package location..." is shown
Click on one of the link
....

I have also tried with react-router directly and there it work: https://stackblitz.com/edit/github-aokyrn?file=src%2Fapp.tsx
Furthermore I have created an bug report test where it works too; So I am unsure what is wrong
import { test, expect } from "@playwright/test";

import { PlaywrightFixture } from "./helpers/playwright-fixture";
import type { Fixture, AppFixture } from "./helpers/create-fixture";
import { createAppFixture, createFixture, js } from "./helpers/create-fixture";

let fixture: Fixture;
let appFixture: AppFixture;

test.beforeEach(async ({ context }) => {
  await context.route(/_data/, async (route) => {
    await new Promise((resolve) => setTimeout(resolve, 50));
    route.continue();
  });
});

test.beforeAll(async () => {
  fixture = await createFixture({
    config: {
      future: { v2_routeConvention: true },
    },
    files: {
      "app/routes/$packageId.jsx": js`
        import { Await, useLoaderData, NavLink, useParams } from "@remix-run/react";
        import { defer } from "@remix-run/node";
        import * as React from "react";

        export async function loader({ params }) {
          return defer({
            packageLocation: new Promise((resolve) => {
              setTimeout(() => {
                resolve({ address: "address" + params.packageId });
              }, 2000);
            }),
          });
        }

        export default function Index() {
          const data = useLoaderData();
          const params = useParams();

          return (

Let's locate your package

              <NavLink to={"/A"}>Package A</NavLink>

              <NavLink to={"/B"}>Package B</NavLink>

              <React.Suspense key={params.packageId} fallback={
Loading package location...
}>
                <Await resolve={data.packageLocation}>
                  {(packageLocation) => (

Your package is at {packageLocation.address}

                  )}
                </Await>
              </React.Suspense>

          );
        }
      `,
    },
  });

  // This creates an interactive app using puppeteer.
  appFixture = await createAppFixture(fixture);
});

test.afterAll(() => {
  appFixture.close();
});

test('should show "Loading package location..." when naviating to same route with different params', async ({
  page,
}) => {
  let app = new PlaywrightFixture(appFixture, page);
  // You can test any request your app might get using `fixture`.
  await app.goto("/A");
  await app.clickLink("/B", { wait: false });

  await page.waitForSelector("#LOADER");
  expect(await app.getHtml()).toMatch("Loading package location");

  await page.waitForSelector("#DATA");
  expect(await app.getHtml()).toMatch("Your package is at addressB");
});

Expected Behavior
Should show "Loading package location..." and then the info
Actual Behavior
Page is blocked and only rendered when promise is complete

I got it working;
The key is required with some value which are unique for the page.
The reason for why my application failed, was that I had multiple Suspense and each of them needed an key.. I had only added it to one of them, so the other Suspense was ignored, and caused the blocking.


[FIX] Handle all nan columns in tabular dataset

We need to handle columns with all missing values in either training or testing data. Ideally, we want to drop the column if it contains all nan in the training set. If there are all nans in testing data for a column and not in the training data for that column, it should be imputed later in the pipeline. But this requires special handling as the dtype of the column changes from training and testing.
See the implementation in the refactor_development_reugularization_cocktails branch. Here

Currently, this is handled in the development branch such that all nan columns are set to be a numerical column and the SimpleImputer either drops or imputes it based on the fit. So we don't need to follow what reg_cocktails did.


FR: Support markdown syntax in chats

Currently, text can only appear in plaintext. For example, when you surround text with ** ** or insert links (internal or external) like so

the text is rendered in plaintext. Cannot click on links to open them.

Adding markdown support would enhance the capabilities of the plugin.
By the way, thank you for this plugin 🍪. I like to use it to create clean views of conversations.

I may be able to support general markdown syntax. Internal links, however, are a Obsidian specific feature. I won't be able to put that in there.

Hi @JeloKuneho. With the latest release of the Chat View Plugin: Version 1.3.0, I have added Markdown and HTML Rendering Support to the Chat View Message. Please refer to the README for more information.
Closing this issue.

Yep, its working good. Thank you!


Closes #37 Hot fix for Flutter 2.0 stable version

@znjameswu this resolves #37 to fix the currently broken version of this package on the latest Flutter stable. Can you please review and accept pull request.

@beingentangled If you need the null-safety version you should probably use the following repo as discussed by @creativecreatorormaybenot
https://github.com/simpleclub-extended/flutter_math_fork
If you need the non null-safety version which resolves the dependency issue you see above, you will need the following:
  flutter_math:
    git:
      url: git://github.com/walsha2/flutter_math
      ref: 37-flutter-2-hot-fix-0.2.x

Closing this PR in favor of https://github.com/simpleclub-extended/flutter_math_fork for the null-safety version


Refresh of state "motion detected"

Great work so far!
I have one concern regarding the state of motion detected. I wanted to use it as a trigger to control lights. After coding a while I recognized that the "motion detected" state changes differ from the push notifications I get from homekit.
"Motion detected" state: Stays ~10sec on true
Next possible "motion detected" state: >2min
Is there any possibility to change the refresh loops?

"Motion detected" is set to true when receiving a push notification from Eufy. In order for this to work, you must of course have this functionality enabled in the Eufy app.
I can't help you with homekit as I don't use it.

Everything is enabled and I am receiving the states in iobroker => "eufy-security.0.xxx.cameras.xxx.motion_detection = true"
Again my issue/question:
If I get a  "eufy-security.0.xxx.cameras.x.motion_detected = true" it will stay ~ 10 seconds, then switch to "false".
If now a motion is detected by the camera (camera status led switch to red), no state change is received in iobroker (but in Homekit) for more than 2 minutes.
My question is if there is any possibility to reduce these 2 minutes until it is possible to get a state change published in iobroker.

As already mentioned, this status is directly determined by the push notifications received from the Eufy Cloud. There is no "refresh" on my side.
So the answer is no.


phantomjs fails to load any page that does not set a Content-Type header

<EMAIL_ADDRESS>commented:

What steps will reproduce the problem?

Set up a server that does not specify a Content-Type header, but does everything else right ( I used jetty-server, so I could craft everything )

Try to have a phantom script open a page with new WebPage().open(function(status){console.log(status);phantom.exit()});
Watch it ALWAYS say fail

What is the expected output? What do you see instead?
I always see fail, and I really wanted to see success.
What version of the product are you using? On what operating system?
Linux, git tag 1.1.0, then head (da34ca2d04cdf5ae519fd1515b2c24e84fd47c16)
Please provide any additional information below.
On all of my testing, the only thing that REALLY mattered was that I sent  the Content-Type header -- It was not being sent by a service of mine, and it took me a long while to figure out why curl was happy and phantomjs was not.
Workaround: Add a Content-Type header to your service.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #128.
:star2:   14 people had starred this issue at the time of migration.

Oh dear, I wish I had known about this six months ago.  If it's still an issue in PJS 2.0 it is very likely to have invalidated a huge chunk of my scraping. :frowning:
That said, I'm unable to reproduce the problem-as-described in PJS 2.0, using https://httpbin.org/response-headers?Content-Type= which sends back a minimal page with no Content-Type header.
@ariya Do you know to what extent this is still relevant?


When deploying efk, it should be possible to setup a PersistentVolumeClaim

Currently, when we deploy an EFK stack, it is deployed without any PersistentVolumeClaim, resulting in all data loss in case of any pod movement.
It should be possible to specify a PersistentVolumeClaim (possibly using dynamic volume provisioning if setup).

You can modify the deployment after. This is not something Kubespray should handle as it's very individually pr cluster


work on stepGrow - barchart

from left to right/ or right to left the bars grow in order, as opposed to all at once

implemented basic formula for it.


Swift 4.2 support

Simple change to support Swift 4.2

This will resolve #190

Hello @chlumik 👋
Thanks a lot for this PR 🙏
It's now merged. I've created a new version 2.3.3 available via CocoaPods and Carthage 🚀

@kevin-hirsch You're welcome.

@22Round, have you tried to configure the framework for the 4.2 version?

Hello @22Round 👋
I forgot to update the .swift-version file that CocoaPods uses to determine the Swift version that the project uses (which still was 4.0)
It should now work if you try using the latest version DropDown v2.3.4 🎉
Thanks for noticing 🙏

@kevin-hirsch @saormart Thanks, I updated pod and it compiles
only one warning remained, please fix it ;)

Hey @22Round,
It's done and available in version 2.3.5 😉

Hey @22Round,
It's done and available in version 2.3.5 😉


[Idea] Add Eq to non-operators

Would you be opened to add Eq to the non-operators, such as:
public export
0 Eq : Bits8 -> Bits8 -> Type
Eq m n = m = n

This would enable to easily get refinements for listings. For example:
myFunc : Bits8 -> MyType
myFunc val = case hdec0 {p = (Eq 0 || Eq 15)} val of
  Just0 _ => Just (MkMyType val)
  Nohting0 _ => Nothing

But maybe I'm not aware of an already function allowing this?
If it would make sense to add this, I would be happy to come with a pull request!

I'll definitely accept a PR adding such a non-operator. However, I'm not sure if this needs to be specialized as in your example, or if we could just use
public export
0 Eq : a -> a -> Type
Eq = (===)

Thank you, I'll first try with a non-specialized version and make the PR in the next few days.

You were right, the generalized version works perfectly. I'm currently implementing it and need to check some details.

However, Eq is not a good name as it creates an ambiguity check issue when using more than 3 disjunctions.
Equal also creates the same issue, so I would propose Equals (but of course if you have any other suggestions, let me know!)


feat(ui): broadcast refresh node info

Pull Request Test Coverage Report for Build 981913415

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 19.566%

Totals

Change from base Build 981884639:
0.0%

Covered Lines:
3610

Relevant Lines:
19569

💛  - Coveralls


Using --debug could lead with an ### Environment-header

Description

Using --debug could lead with an ### Environment-header, so that including debugging information would be trivial
Steps to reproduce

Debug Logs

expand to view
COPY THE DEBUG LOGS HERE

Environment

OS:
Node.js:
lint-staged:

This is a good idea, sorry for missing it earlier!


Upgrade the ng-example?  Latest combination of packages aren't working?

Would it be possible to upgrade the ng-example to the latest packages (e.g. capacitor) and latest keycloak?  I too am using ionic w/ keycloak and this package. But I've upgraded my app's dependencies to the latest packages (including ionic v7) and something isn't working.  I've re-created a minimal example and it's similarly not working.
The problem seems to be when keycloak redirects back to the app on iOS, using a custom URL scheme, that the app does get resumed, but it essentially ignores the query string information.  At least the keycloak service doesn't indicate that the user is logged in upon returning back to the app.  What part is supposed to notice that it came back to the app via the custom url scheme, there's a query string representing the state that must be used to obtain the refresh token, etc.?
My own example works when the adapter is "default" and I test in a browser, but when using the capacitor adapter and iOS, it does not.
I'm at a loss for the problem.  I came here to try and run its example, but can't get it even to install the npm packages at this point.
Any help would be appreciated.

The logged output is this...
2023-06-14 01:20:27.226739-0500 App[15066:1930027] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/jsmith/Library/Developer/CoreSimulator/Devices/16D30770-7A62-46C3-B8C9-5D5B79190892/da
ta/Containers/Data/Application/D5B5B09E-B01A-4229-96F6-C75C06A87312/Library/Cookies/com.acme.authexample.binarycookies
2023-06-14 01:20:27.409759-0500 App[15066:1930027] KeyboardPlugin: resize mode - native
⚡ Warning: isWebDebuggable only functions as intended on iOS 16.4 and above.
⚡  Loading app at com.acme.mobileapp://localhost...
⚡  [log] - onscript loading complete
⚡  WebView loaded
⚡  [log] - Ionic Native: deviceready event fired after 133 ms
⚡  To Native ->  App addListener 117317815
⚡  To Native ->  App addListener 117317816
⚡  To Native ->  Keyboard getResizeMode 117317817
⚡  TO JS {"mode":"native"}
⚡  To Native ->  Keyboard getResizeMode 117317818
⚡  TO JS {"mode":"native"}
To Native Cordova ->  BrowserTab openUrl BrowserTab779295891 ["options": [https://acme.com/auth/realms/acme/protocol/openid-connect/auth?client_id=mobile&redirect_uri=com.acme.mobileapp%3A%2F%2Ftabs%2Ftab1&state
=0a4302dc-5ff1-4678-8387-bf7ab3206169&response_mode=query&response_type=code&scope=openid&nonce=b1ea6b31-6b96-4e4f-848d-c81a214bcefc]]
⚡  To Native ->  App addListener 117317819
⚡  TO JS {"iosSourceApplication":"com.apple.SafariViewService","iosOpenInPlace":"","url":"com.acme.mobileapp:\/\/tabs\/tab1?state=0a4302dc-5ff1-4678-8387-bf7ab3206169&session_state=1825b3be-a0b9-4a5e-9291-4e445
334eb2f&code=e68eea75-9ecd-4cff-98d7-7e182b4ff735.
⚡  TO JS {"iosSourceApplication":"com.apple.SafariViewService","iosOpenInPlace":"","url":"com.acme.mobileapp:\/\/tabs\/tab1?state=0a4302dc-5ff1-4678-8387-bf7ab3206169&session_state=1825b3be-a0b9-4a5e-9291-4e445
334eb2f&code=e68eea75-9ecd-4cff-98d7-7e182b4ff735.
⚡  [log] - handling appUrlOpen for URL: com.acme.mobileapp://tabs/tab1?state=0a4302dc-5ff1-4678-8387-bf7ab3206169&session_state=1825b3be-a0b9-4a5e-9291-4e445334eb2f&code=e68eea75-9ecd-4cff-98d7-7e182b4ff735.182
5b3be-a0b9-4a5e-9291-4e445334eb2f.53e64b2e-4c4c-436d-be4a-31d82f5517f1
⚡  [log] - slug: tabs/tab1
To Native Cordova ->  BrowserTab close BrowserTab779295892 ["options": []]
⚡  To Native ->  App ⚡  [warn] - Using addListener() without 'await' is deprecated.
removeListener 117317820
⚡  [error] - ERROR Error: Uncaught (in promise): [object Undefined]

The bit that logs "handling appUrlOpen" is my deep link handler.  So it's getting that far.  In that handler I parse the slug from the custom schemed-url and would do the internal navigation.
That final error occurs upon redirecting back to the app.  I'm wondering if that is a sign that processing is being halted before the  returned state is able to be processed.  Though, I thought the response data would have been handled earlier than that point.  So that error may be benign.

I'm going to close this.  I re-performed the upgrade, and I don't know if it was the order that things where done, or flushing out older dependencies, but it is working now with Angular 15, Ionic 7 and Capacitor 5


locale English week starting on Monday

How can I get the English locale version with weekdays starting on Monday?
How about adding a week starts on setting that overwrites the locale if given?

see the docs: http://eonasdan.github.io/bootstrap-datetimepicker/Options/#locale

I did see that and read through it.
I want 'en' locale.. however with weekdays starting on Monday.
Example google calendar: I have locale set to 'en' and week starts on set to Monday.

en isn't a valid moment locale. If by English you mean UK/GB then you need en-gb

Sorry.. you are right.
However I cannot set the week-start day that way.

start of the week is controlled by what locale you are using, thus if you include and set the locale to en-gb it will (should) set the start of the week to Monday

The default locale on my system is english.. however across my system all calendar weeks start on Monday. What locale would that be in this case?

Once again, the locale option sets the start of the week. There isn't a option on the picker to change this without changing the locale. If you can't use the British locale, create your own locale file.
https://jsfiddle.net/Eonasdan/0Ltv25o8/2429/

Nice.. it works nicely in the fiddle.
I feel really incapable now.
I included 'moment.min.js' instead of 'moment-with-locales.min.js' ..I thought I used the other one.
Bug was on my side sorry. And thank you for helping me find where the error was. :D
cheer


Open project (pipelines view) after import

Describe the problem this improvement solves
It's unclear whether import was successful if you have many projects and you don't see it listed immediately.
Describe the solution you'd like
Open project (pipelines view) after import

Open project (pipelines view) after import

We are already doing this. If it is not working then it is a bug.

I just tested again on dev and after importing a project it is automatically opened (i.e. going to its pipelines view). This worked for both Orchest and non-Orchest owned projects.

projects?import_url=https://github.com/orchest-examples/orchest-pipeline-r-python-mix/
I should have probably mentioned this happens when you're importing a project that's triggered through the query argument parameter import_url (e.g. via the Open in Orchest button)

Still couldn't reproduce this issue with the query argument in the Cloud version (i.e. master branch) or in dev branch locally.

I think I might have found the issue. When importing the project without giving a name, this behavior is indeed broken. Will fix.


Now we can control the neighbour type for search algorithms

Codecov Report

Merging #64 into master will increase coverage by 0.11%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #64      +/-   ##
=========================================
+ Coverage   87.98%   88.1%   +0.11%
=========================================
  Files           5       5
  Lines         308     311       +3
=========================================
+ Hits          271     274       +3
  Misses         37      37

Impacted Files
Coverage Δ

py_ai_sdk/algorithms/graph_search.py
93.42% <100%> (+0.27%)
:arrow_up:

py_ai_sdk/core/shapes.py
90% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dfa684c...5abff41. Read the comment docs.


Fix issue 542 (Fails to resolve URI on Windows when imported via catalog)

This pull request derives from #543. So needs to be handled after that.

Fixes #542

bb9acbd0bea43d0ad50b45a90480e372e26522f9 reproduces the problem: AppVeyor

An intentional test failure is removed from tutorial/schematron/demo-04.xspec. It was introduced for testing Ant <fail>. The same role (i.e. intentional test failure) is now in test/catalog/02/imported-schematron.xspec.

a2c05fe40a7714804fe3f16aeb1991f148e846b2 fixes the problem

@cirulls
Merged this workaround for an Apache XML Resolver bug.


Psychic cantrip Forbidden Thought needs an immunity timer

Many abilities that state the target is temporarily immune include a timed effect to track that immunity. The Psychic cantrip Forbidden Thought lacks this, even though the description states that targets are immune for 1 minute.

We don't make these purely tracking effects anymore, sorry.


added home country to users

changed nationality nullable to true
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

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

added home country to schema.

home_country added to init.

4th times a charm.


Feature/remove dbt metrics v1

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (656ae3a) 80.90% compared to head (771d735) 82.21%.

Files
Patch %
Lines

metrics_layer/core/parse/project_loader.py
33.33%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
+ Coverage   80.90%   82.21%   +1.30%
==========================================
  Files          47       46       -1
  Lines        5656     5346     -310
  Branches     1392     1314      -78
==========================================
- Hits         4576     4395     -181
+ Misses        831      721     -110
+ Partials      249      230      -19

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix HDC-S camera service losing config on restart

HDC-S cameras keep creating 1920*1080 imagery even on updated firmware.

Fixed here: https://gitlab.com/hivemapper/hivemapper-hdc-os/-/commit/6e7d31fc37ef10c16d0a9cb55376423600fb0af9

Jurcek is going to provide the fix tomorrow,
@ste00martin I will give you more details on how to get this thing out for testing

@ste00martin do you know if we have any updates on this topic?

Yes https://hivemapper.slack.com/archives/C05HPP79MPC/p1695070105998399

Jurcek has also mentioned creating a new image here to fix this: https://drive.google.com/file/d/1poMVWi6GAKSjE2xNjZyiovDaclLqKX-1/view?usp=drive_link
I don't have permissions to see this drive folder

@ste00martin What you can do is:

request an access to the file from Jurcek
download image
ssh to camera, copy an image to it
install it using mender -install <image>
reboot the camera, connect to it again
systemctl stop odc-api, that will stop ODC API from preventing camera from running
systemctl start camera-bridge, that will initiate the frames being created in /data/recording/pic folder
check that resolution is 2024 * 1024
systemctl restart camera-bridge, restart the bridge couple of times
and validate that all new frames coming with the same resolution.

Can you please check this?
You can also do mender -commit command, if you want this firmware to stay on your camera. Otherwise it will be gone after second reboot

it works - I'm testing to verify that it works for usb stick later

still need to verify that usb still saves to 4k video

Stefan validated it works for saving 2k images. Haven't validated 4k video works yet.
Testers reporting some videos are 0kb.

New build for 3.5 should have config changes. To be validated.


Identify the schema of Challenge organizers

Added to Sprint 23.02

Update
It would be great to be able to include information about organizer in the private preview. Give it some thought as how this feature could be supported long term, i.e. how could we collect this information with the automated data ingress workflow?

Returning to Backlog


feat(app): version endpoint

Fixes #879
/deploy

You can access the deployment of this PR at https://renku-ci-nb-938.dev.renku.ch

One more thing I just thought of Mohammad. Please remember the register the schema so that it properly works with swagger here: https://github.com/SwissDataScienceCenter/renku-notebooks/blob/master/renku_notebooks/init.py#L142.


Release Google.Analytics.Data.V1Alpha version 1.0.0-alpha06

Changes in this release:

Commit ac367e2: feat: Regenerate all APIs to support self-signed JWTs

Created release for Google.Analytics.Data.V1Alpha-1.0.0-alpha06


Support for Handlebar.js

System Details
Versions

Type
Version

Kibana
6.4.2

Elasticsearc
6.4.2

Server OS
Ubuntu 16.04

Browser
Chrome 72.0.3626.119

Original Install Method

[X ] Release pkg link
[ ] Gulp
[ ] Source
Other:

Bug Details
Bug Description
Steps to Reproduce

Create an Elasticsearch query which returns multiple buckets (.e.g. metrics for 3 keys which you want to alert on)
Push that query into an advanced watcher with the intent to alert on any single value being below a threshold
Get discouraged when you realize you need to create an alert for each metric, rather than comparing any metric to the threshold

Expected Behavior
Sample of data you have in Elasticsearch
{
  "took": 17,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 8640,
    "max_score": 0,
    "hits": []
  },
  "aggregations": {
    "2": {
      "buckets": [
        {
          "1": {
            "value": 25.4
          },
          "3": {
            "value": 24
          },
          "4": {
            "value": 25
          },
          "5": {
            "value": 25
          },
          "6": {
            "value": 23.32
          }
        }
      ]
    }
  }
}

Full Watcher JSON
{
  "actions": {
    "email_html_alarm_69546495-4344-45e1-8cb5-a9dd5cc34b21": {
      "name": "email html alarm",
      "throttle_period": "1m",
      "email_html": {
        "stateless": false,
        "subject": "{{payload.hits.total}} new results from watcher {{watcher.title}}",
        "priority": "high",
        "html": "
Hi {{watcher.username}}
\n
There are {{payload.hits.total}} results found by the watcher {{watcher.title}}.
\n\n
\n
\n
This watcher sends alerts based on the following criteria:
\n

{{watcher.wizard.chart_query_params.queryType}} of {{watcher.wizard.chart_query_params.over.type}} over the last {{watcher.wizard.chart_query_params.last.n}} {{watcher.wizard.chart_query_params.last.unit}} {{watcher.wizard.chart_query_params.threshold.direction}} {{watcher.wizard.chart_query_params.threshold.n}} in index {{watcher.wizard.chart_query_params.index}}

\n
",
        "from"<EMAIL_ADDRESS>        "to"<EMAIL_ADDRESS>      }
    }
  },
  "input": {
    "search": {
      "request": {
        "index": [
          "bmc-*"
        ],
        "body": {
          "query": {
            "bool": {
              "filter": {
                "range": {
                  "@timestamp": {
                    "gte": "now-5m/m",
                    "lte": "now/m",
                    "format": "epoch_millis"
                  }
                }
              }
            }
          },
          "size": 0,
          "aggs": {
            "dateAgg": {
              "date_histogram": {
                "field": "@timestamp",
                "time_zone": "American/Denver",
                "interval": "1m",
                "min_doc_count": 1
              },
              "aggs": {
                "metricAgg": {
                  "1": {
                    "avg": {
                      "field": "beckhoff_fan_current_1_1"
                    }
                  },
                  "3": {
                    "avg": {
                      "field": "beckhoff_fan_current_1_2"
                    }
                  },
                  "4": {
                    "avg": {
                      "field": "beckhoff_fan_current_2_1"
                    }
                  },
                  "5": {
                    "avg": {
                      "field": "beckhoff_fan_current_2_2"
                    }
                  },
                  "6": {
                    "avg": {
                      "field": "beckhoff_fan_current_3_1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "condition": {
    "script": {
      "script": "{{#payload.aggregations.dateAgg.buckets}}{{#each .}}{{value}} < 24{{/each}}{{/payload.aggregations.dateAgg.buckets}}"
    }
  },
  "trigger": {
    "schedule": {
      "later": "every 2 minutes"
    }
  },
  "disable": false,
  "report": false,
  "title": "Beckhoff Fan Current",
  "wizard": {},
  "save_payload": false,
  "spy": false,
  "impersonate": false
}

Screenshots (if relevant)
Errors in Browser Console (if relevant)
Error: Execute watcher:Execute 'watcher'
Error: Execute 'watcher'
    at new SentinlError (http://my-test-server/bundles/sentinl.bundle.js:3:92075)
    at WatcherService._callee$ (http://my-test-server/bundles/sentinl.bundle.js:25:352531)
    at tryCatch (http://my-test-server/bundles/vendors.bundle.js:50:580793)
    at Generator.invoke [as _invoke] (http://my-test-server/bundles/vendors.bundle.js:50:584675)
    at Generator.prototype.(anonymous function) [as throw] (http://my-test-server/bundles/vendors.bundle.js:50:581916)
    at step (http://my-test-server/bundles/sentinl.bundle.js:25:351051)
    at http://my-test-server/bundles/sentinl.bundle.js:25:351211

Kibana logs and/or server output (attached if relevant)
{"type":"log","@timestamp":"2019-03-07T23:08:00Z","tags":["error","Sentinl","scheduler"],"pid":2791,"message":"watcher a58b4150-3fb8-11e9-b4f7-a34019239f3d: schedule execute: WatcherWizardHandlerError: execute wizard watcher:exec search:search:[named_object_not_found_exception] [1:268] unable to parse BaseAggregationBuilder with name [1]: parser not found: [named_object_not_found_exception] [1:268] unable to parse BaseAggregationBuilder with name [1]: parser not found :: {\"path\":\"/my-test-index-*/_search\",\"query\":{},\"body\":\"{\\\"query\\\":{\\\"bool\\\":{\\\"filter\\\":{\\\"range\\\":{\\\"@timestamp\\\":{\\\"gte\\\":\\\"now-5m/m\\\",\\\"lte\\\":\\\"now/m\\\",\\\"format\\\":\\\"epoch_millis\\\"}}}}},\\\"size\\\":0,\\\"aggs\\\":{\\\"dateAgg\\\":{\\\"date_histogram\\\":{\\\"field\\\":\\\"@timestamp\\\",\\\"time_zone\\\":\\\"America/Denver\\\",\\\"interval\\\":\\\"1m\\\",\\\"min_doc_count\\\":1},\\\"aggs\\\":{\\\"metricAgg\\\":{\\\"1\\\":{\\\"avg\\\":{\\\"field\\\":\\\"beckhoff_fan_current_1_1\\\"}},\\\"3\\\":{\\\"avg\\\":{\\\"field\\\":\\\"beckhoff_fan_current_1_2\\\"}},\\\"4\\\":{\\\"avg\\\":{\\\"field\\\":\\\"beckhoff_fan_current_2_1\\\"}},\\\"5\\\":{\\\"avg\\\":{\\\"field\\\":\\\"beckhoff_fan_current_2_2\\\"}},\\\"6\\\":{\\\"avg\\\":{\\\"field\\\":\\\"beckhoff_fan_current_3_1\\\"}}}}}}}\",\"statusCode\":400,\"response\":\"{\\\"error\\\":{\\\"root_cause\\\":[{\\\"type\\\":\\\"named_object_not_found_exception\\\",\\\"reason\\\":\\\"[1:268] unable to parse BaseAggregationBuilder with name [1]: parser not found\\\"}],\\\"type\\\":\\\"named_object_not_found_exception\\\",\\\"reason\\\":\\\"[1:268] unable to parse BaseAggregationBuilder with name [1]: parser not found\\\"},\\\"status\\\":400}\"}\n    at respond (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:307:15)\n    at checkRespForFailure (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:266:7)\n    at HttpConnector.<anonymous> (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:159:7)\n    at IncomingMessage.bound (/usr/share/kibana/node_modules/elasticsearch/node_modules/lodash/dist/lodash.js:729:21)\n    at emitNone (events.js:111:20)\n    at IncomingMessage.emit (events.js:208:7)\n    at endReadableNT (_stream_readable.js:1064:12)\n    at _combinedTickCallback (internal/process/next_tick.js:138:11)\n    at process._tickDomainCallback (internal/process/next_tick.js:218:9)"}

Any additional information
This would work if we had handlebar.js, however mustache does not support iterating over values in a bucket such as this. If it does, I haven't found the correct syntax. The current workaround would be for me to create an alert for each of these individual buckets, which is hard to difficult to setup and maintain.

Manual mode is manual and the beauty is the freedom to be complex. The wizard in the latest versions should address this by providing easy access for the same condition. Is this something you've already tried or considered?

I'll give it a shot. Thanks


better compatibility

incase node not installed at /usr/bin/node.
refers
https://en.wikipedia.org/wiki/Shebang_(Unix)
https://stackoverflow.com/questions/33509816/what-exactly-does-usr-bin-env-node-do-at-the-beginning-of-node-files

Nice! thank you for contributing, @isayme!


NotebookProfileViewer: Work with more than two profiles

Currently, the NotebookProfileViewer only accepts two profiles (target and reference). It would be useful to be able to simultaneously compare more than two profiles, with one being the reference profile and the remaining multiple target profiles.

I'm concerned that this would become unreadable if they are all on top of each other. Later on we could introduce a stacked area chart https://observablehq.com/@d3/stacked-area-chart.
Other idea chatting with @jamie256 what about merging a list of reference profiles together to compare the target with a tail of reference?

I'm going to go ahead and close this, but if we want to reopen it as a design later on we could.


Why this plugin? -> SpecFlow.DependencyInjection

Hi,
I'm curious, why this plugin while there is SpecFlow.DependencyInjection with the exact same reason? Is that other plugin hard to find or missing some features?
It's looks a bit funny (link)

Hello,
At the time I created this plugin I needed to inject services injected in the original DI container of SpecFlow (BoDi) like the ITestOutputHelper
I achieved this with the extension method I created in this project .AddDelegated<T>()
I may had other motivation at the time but, honestly, I don't remember.


IESG evaluation record is not shown

Describe the issue
When I-D is scheduled for IESG telechat, a grid with individual AD ballots is shown right to the document. Before, when you click on this grid box, a pop-up window showing IESG evaluation record appeared. Currently when you click on this grid box the screen just becomes darker and nothing more happens.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

I can't reproduce.
@smyslov - could you please verify you are still encountering this issue?
If so, could you look at the javascript console and forward anything it is complaining about?

Yes, I stll encounter this issue. In particular, at https://datatracker.ietf.org/wg/ipsecme/documents/ when I click on IESG evaluation for draft draft-ietf-ipsecme-add-ike-13 (URL to be open is https://datatracker.ietf.org/doc/draft-ietf-ipsecme-add-ike/ballotpopup/915379/ , nothing happens (no popup window appears). When I open this URL in a new window (or a new tab) the content is shown as HTML page with no formatting. There is no any suspicious in JavaScript console (favicon.ico failed to load, but I don't think this matters). Two screenshots are attached.
I observe this behaviour on Edge (Chromium based) and Chrome (both desktop and mobile). Let me know what other information you need.

Thank you - the pointer to exactly which page the issue is occurring on (https://datatracker.ietf.org/wg/ipsecme/documents/) is enough. I can replicate the issue now (I had been looking at /iesg/agenda and /iesg/agenda/documents).


Upgrade Axios to 1.7.4 to fix security bug

Jira Ticket: https://broadworkbench.atlassian.net/browse/[Ticket #]

Summary of changes:

What
Upgrading axios: https://github.com/axios/axios/releases/tag/v1.7.4
Why
Fix a security bug
Testing strategy

[ ]

Looks good, @lucymcnatt ! Please make sure to add the ticket number to the PR.


Nested Exclude has unexpected behavior

TypeScript Version:
$ tsc --version
Version 3.3.0-dev.20181122

Search Terms:
unexpected, exclude
Code
/*
  Some basic definitions of unions
*/
type Union = 'a' | 'b';
type Product<A extends Union, B> = { f1: A, f2: B};
type ProductUnion = Product<'a', 0> | Product<'b', 1>;

/*
  These work as I would expect. Each element in the union is mapped
  the complement or the double complement with nested Exclude
*/
type UnionComplement = {
  [K in Union]: Exclude<Union, K>
};
// {a: "b"; b: "a"}
type UnionComplementComplement = {
  [K in Union]: Exclude<Union, Exclude<Union, K>>
};
// {a: "a"; b: "b"}

/*
  This also works as I would expect
*/
type ProductComplement = {
  [K in Union]: Exclude<ProductUnion, { f1: K }>
};
// {a: Product<'b', 1>; b: Product<'a', 0>}

/*
  Double complement on the other hand doesn't work
*/
type ProductComplementComplement = {
  [K in Union]: Exclude<ProductUnion, Exclude<ProductUnion, { f1: K }>>
};
// {a: ProductUnion; b: ProductUnion}

/*
  Explicit inlining works as I would expect
*/
type First = Exclude<ProductUnion, Exclude<ProductUnion, { f1: 'a' }>>;
// {f1: 'a'; f2: 0}
type Second = Exclude<ProductUnion, Exclude<ProductUnion, { f1: 'b' }>>;
// {f1: 'b'; f2: 1}

/*
  Making parametrized types works as I would expect
*/
type Complementor<T> = {
    [K in Union]: Exclude<T, { f1: K }>
};
type DoubleComplementor<T> = {
    [K in Union]: Exclude<T, Exclude<T, { f1: K }>>
};
type Complement = Complementor<ProductUnion>;
// {a: Product<'b', 1>; b: Product<'a', 0>}
type DoubleComplement = DoubleComplementor<ProductUnion>;
// {a: Product<'a', 0>; b: Product<'b', 0>}

Expected behavior:
I would expect the parametrized and non-parametrized type to work the same way but that's not
the case.
Actual behavior:
See the comments.
Playground Link:  link
Related Issues:  Some issues related to Pick and Exclude but didn't seem to apply.

I've run into a similar (likely related) issue, probably also having to do with distribution over Exclude:
const f = <U extends Exclude<any, Function>>(a: U | ( () => U )): U => {
    if (typeof a === "function" ) {
        return a(); // Cannot invoke an expression whose type lacks a call signature.
                    // Type '(() => U) | (U & Function)' has no compatible call signatures.
    }
    return a;
};

My understanding is that U & Function would expand into Exclude<any, Function> & Function, which would presumably be never.

@riggs I'm confused by what Exclude<any, Function> can mean? I think your intent is to exclude function types. Woldn't a conditional type be better in that case?
type NonFunction<U> = U extends Function ? never : U;

From the library:
type Exclude<T, U> = T extends U ? never : T;

I think this is a smaller repro:
type Union = 'a' | 'b';
type Z<K extends Union> = false extends ([Union] extends [K] ? never : false) ? 'LEFT' : 'RIGHT';

If you hover over Z it appears to have already resolved to RIGHT.

Essentially the compiler is trying to eagerly resolve the conditional type using wildcard types, substituting type parameters for any. For example:  K ==> any, or [K] ==> [any]. The compiler knows that any conditional type with a wildcard extends type resolves to the wildcard type, but it misses the case when the wild card is wrapped in a 1-tuple.
(I think).

Amazing turnaround. Thanks @ahejlsberg and team.


Debug: viewlet should implement focus() method

This method is called in various cases, e.g. when triggering the viewlet action from the left activity bar. You should pass on focus to one of your trees in the split views, ideally the one that last had focus.

Now I am passing focus to my first view, i.e. variables view


Chroma value formatting

The Chroma value looks confusing, because it’s actually 0.319.

Is there a strong reason to format it as 31.9?

Yep, for real values it's better to use "OkLCH (CSS)" mode, see comment on #2 .

Sure, let’s then close this one and continue in #2.


Image Upload failed

Hi,
I have set up a test installation of pageflow. I finally got it running but now I have an issue regarding the image upload. It just would not do. When I try to upload an image I always get an “Upload failure”. It does not seem to work at all.
As I followed the installation guide from start to finish I do not know where the problem comes from. Unfortunately the failure message does not provide any extra information why it fails. And I also do not know where I could find such information as I do not see any logs or else.
Anybody an idea what the problem could be or where I should look for?
I would appreciate any help.
Cheers,
madsirt

The setup for Zencoder/AWS is indeed a bit tricky.  Have you had a look atthe guide explaining the setup of these external services?
https://github.com/codevise/pageflow/wiki/Setting-up-External-Services

Hi kioopi,
yes indeed. I followed the instruction step by step and as I wrote Zencoder is working so far. It encodes the video and even sends it back to my S3 output bucket. And there it kinda breaks as Pageflow somehow cannot access/download the encoded video files from there.

Hi kioppi,
yes indeed. I followed the instruction step by step. And for video it (almost) works. See my issue https://github.com/codevise/pageflow/issues/291. I do not know if the problems are related somehow.

This seems like there is something wrong with the bucket policy of the output bucket.  There are two different policies for main and output bucket.
The second one is the output bucket:
https://github.com/codevise/pageflow/wiki/Zencoder-Bucket-Policies

Hi kioopi,
thanks for your help but I found the problem. It was the missing paket 'imageMagick'. As soon as I installed the paket the upload worked. And it was also the problem for my other issue (https://github.com/codevise/pageflow/issues/291).
So thanks again for your help. I appreciate it a lot.
Cheers,
madsirt

Great!  We will try to document this better.


Trouble building docs locally

I'm trying to build the docs locally following the steps on the Contribute page. When running the make.jl file I get the error:
ERROR: LoadError: Unsupported mime: text/html
Stacktrace:
...

Are there new steps for building the docs since the guide was written 5 months ago? The error seems to happen when building the docs_bridge.jl file, though I'm sure it's because it's just the first place that a plot is built and attempted to be displayed.
julia> versioninfo()
Julia Version 1.10.2
Commit bd47eca2c8 (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 24 × AMD Ryzen 9 3900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver2)
Threads: 24 default, 0 interactive, 12 GC (on 24 virtual cores)
Environment:
  JULIA_NUM_THREADS = auto
  JULIA_EDITOR = code

I managed to figure it out. I needed to set my Julia environment variables
ENV["GKSwstype"] = 100
ENV["JULIA_DEBUG"] = Documenter
ENV["DATADEPS_ALWAYS_ACCEPT"] = true

as well as dev the docs project
julia --project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate()'

From there I was able to run
julia --project=docs/ --color=yes docs/genfiles.jl
julia --project=docs/ --color=yes docs/make.jl

I think the contribute page should be updated to include this extra info. I can update the page and make another pull request.


fix: temporarily not run ci test

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


⚠ ClamAV has degraded performance

In 26c0aae, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 601 ms

Resolved: ClamAV performance has improved in 1f450a7.


Refreshing temporary credentials failed during advisory refresh period

At around 2022-08-28T09:10:03-0400 we noticed our live page on usopen.org that shows our match insights for tennis went blank. This data comes from our CDN that has an origin of Cloud Object Storage (COS). We have a published that runs every 10 minutes and updates data in the buckets.
However, I saw the following errors from IAM, which appears in our code engine logs. It seems as though the IAM service periodically fails. It recovered fully around 10am EST.
This has caused impact on our other projects too.
Could we understand why this disruption of service happens and how we can mitigate it?
Here is the error:
WARNING:ibm_botocore.credentials:Refreshing temporary credentials failed during advisory refresh period.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 978, in validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 371, in connect
ssl_context=context,
File "/usr/local/lib/python3.7/site-packages/urllib3/util/ssl.py", line 386, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.7/ssl.py", line 423, in wrap_socket
session=session
File "/usr/local/lib/python3.7/ssl.py", line 870, in _create
self.do_handshake()
File "/usr/local/lib/python3.7/ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 727, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 410, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 978, in validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 371, in connect
ssl_context=context,
File "/usr/local/lib/python3.7/site-packages/urllib3/util/ssl.py", line 386, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/lib/python3.7/ssl.py", line 423, in wrap_socket
session=session
File "/usr/local/lib/python3.7/ssl.py", line 870, in _create
self.do_handshake()
File "/usr/local/lib/python3.7/ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(0, 'Error'))

COS 'Bucket name'where these requests are being sent to
a: 'fact-sheet-output' and 'fact-sheet-output-dev'

'Source IP' address of machine making requests to COS with boto application
a: The application is running in IBM Code Engine: wpipublisherprod.95zyfbovnzk.us-south.codeengine.appdomain.cloud

Can you give us more insight into the frequency of these errors? How often do these happen?
a: 100 times per hour

IBM support found the following github related to the same errors using boto3:
https://github.com/IBM/ibm-cos-sdk-python-core/issues/15
We reached out to #cos-sdk-support (https://ibm-cloudplatform.slack.com/archives/C01CSELQ2G2/p1661772831078759) and confirmed this is related to  https://github.com/IBM/ibm-cos-sdk-python-core/issues/15 and https://github.com/IBM/ibm-cos-sdk-python-core/issues/12.
The solution proposed in the above slack convo was:

The default time out value is 5 sec and it seems that for the customer use-case, it is not sufficient so while creating the client, he can change the value of this timeout by the following code
DefaultTokenManager.set_default_auth_function_timeout = <more time than 5 sec>
The client has additional questions regarding this:

I am creating a new COS instance with:
self.cos = ibm_boto3.client(service_name='s3',
ibm_api_key_id=kwargs['api_key'],
ibm_service_instance_id=kwargs['instance_id'],
config=Config(signature_version='oauth'),
endpoint_url=kwargs['endpoint_url']
)
The code you referenced DefaultTokenManager.set_default_auth_function_timeout = x, what package is the DefaultTokenManager within?
As of now, I am using:
from ibm_botocore.client import Config, ClientError
Would I need to import another package?
We are live for the US Open now for day 1 so I am hesistant to make any code changes in production. We will have other events where this might need to implemented such as ESPN Fantasy Football.
Alternatively, is there any changes or scaleouts you can make on your end to resolve this from a CODe engine perspective?
Regards,
Gary S.
ACS-Storage Support Lead
IBM Cloud Support

The default timeout value is 5 sec. In your case it seems like the default value of 5 sec is not sufficient. To resolve this problem, you can increase the timeout value to a value greater that 5 sec according to your use case.
Creating a client to set default timeout value is as below
// Need to import this
from ibm_botocore.credentials import DefaultTokenManager

// creating client
token_manager = DefaultTokenManager(api_key_id=<api-key>, service_instance_id=<service-instance-id>)
client = ibm_boto3.client(service_name='s3', token_manager=self.token_manager,
                          config=Config(signature_version='oauth'), endpoint_url=<end-point>)

Hello - Is this a problem with the SDK or version that the customer is using? (IE bug). Or is the SDK team making a recommendation based on just the error?
If there any sort of debugging we could do to help better identify the issue and why it may be occurring?
Regards,
Gary S.
ACS-Storage Support Lead
IBM Cloud Support

@gaskinner84 In case the above explanation is satisfactory can we close this issue.
Thanks

Closing this ticket as resolved.


fix: Removed ARM & graph tokens on signout

Description
Removed ARM & graph tokens on web app when user  signs out.
Task Item
fixes #6561

Coverage decreased (-0.003%) to 50.959% when pulling 9e6190ffe554c492ad8ed74f3ff04e008e6b492b on vmodem/6561 into c8283fa57f7326d9172c7f98561d593397084999 on main.


Is it possible to use FIDO2 keys with this?

Same question

I think not. Only PIV part of Yubikey is used.

OpenSSH 8.2 has added support for FIDO/U2F: https://superuser.com/questions/1420840/ssh-authentication-with-fido2-yubico-security-key

couple issues with OpenSSH FIDO2 support on Windows:

the Windows port of openssh-portable doesn't have FIDO2 support yet (https://github.com/PowerShell/Win32-OpenSSH/issues/1557)
any other kind of SSH (like WSL SSH or MSYS SSH) needs to use their own SecurityKeyProvider bridge to talk to Windows's FIDO2 implementation (like https://github.com/mgbowen/windows-fido-bridge or https://github.com/tavrez/openssh-sk-winhello)

WinCryptSSHAgent only provides SSH agent services so it doesn't need to implement FIDO2. Plus if you are using Yubikey/PIV for SSH authentication then you can get effectively the same level of security.


could not find ucontext in nix for aarch64-linux-android

error[E0433]: failed to resolve: could not find ucontext in nix
--> src\main.rs:22:39
|
22 |             if let Ok(context) = nix::ucontext::UContext::get() {
|                                       ^^^^^^^^ could not find ucontext in nix
nix = { version = "0.28.0", features = ["signal","ucontext"] }

Yeah, it is currently exclusive to Linux, we can add it for Android if the required libc types and constants are available

@yujack008 are you sure that setcontext and getcontext are implemented on Android?  My googling suggests that they are not.
https://android.googlesource.com/platform/bionic/+/c124baa/libc/arch-arm/include/machine/ucontext.h
https://groups.google.com/g/android-ndk/c/rbrQGZxuUSM?pli=1
https://lwn.net/Articles/496359/

Yeah, it seems that they are not implemented on Android.

So there's nothing we can do.


Feat kpis

Describe your changes :

Feature #8472

Type of change :

[x] Improvement
[x] New feature

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[x ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@mohityadav766 what do you think about moving the basic.json and kpi.json to the dataInsight folder?

@TeddyCr moved to suggested location


Possible issue with default configuration docs and block media

Have been wrestling with trying to add media to a block. Various bits of documentation reference adding the 'crops' field to the twill.php config file and to look at the 'Default configuration' page (https://twill.io/docs/block-editor/default-configuration.html)
Nothing was working, the media was never saved on blocks. Until I came across a comment here:
https://github.com/area17/twill/issues/1395#issuecomment-1019282742
Adding the 'block_editor' field immediately solved the issue. Should the default configuration example not have this key also or do they serve different purposes? Either way this comment was the first reference to 'block_editor' I've managed to come across and so probably shows a potential need to tweak something somewhere.
Thank you!

Am on Twill 2.7.0 and Laravel 8 fyi. Fresh install.

Hey @broakenmedia,
This key is now specified in the 3.x docs.


Compiled Caddy 2.0.0 with this module but TLS handshake error during challenge

I have used xcaddy to compile a customized Caddy 2 with this caddy-dns/cloudflare module. Running caddy list-modules reveals the presence of dns.providers.cloudflare. Caddyfile was setup correctly with tls { dns cloudflare api_token }, where api_token is the Cloudflare API Token. caddy -validate confirms the Caddyfile is good.
Below are the error messages from systemd journal, (CF CDN was set to enabled during this time):
2020/05/06 06:28:59 [ERROR] error: one or more domains had a problem:
May 06 06:28:59 austin caddy[27755]: [dllm.com] [dllm.com] acme: error presenting token: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]
May 06 06:28:59 austin caddy[27755]:  (challenge=dns-01 remaining=[])
May 06 06:29:01 austin caddy[27755]: 2020/05/06 06:29:01 [ERROR] attempt 1: [dllm.com] Obtain: [dllm.com] error: one or more domains had a problem:
May 06 06:29:01 austin caddy[27755]: [dllm.com] [dllm.com] acme: error presenting token: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]
May 06 06:29:01 austin caddy[27755]:  - retrying in 1m0s (2.671103756s/720h0m0s elapsed)...
May 06 06:29:01 austin caddy[27755]: 2020/05/06 06:29:01 http: TLS handshake error from [2400:cb00:35:1024::ac45:8662]:25722: no certificate available for 'dllm.com'
May 06 06:29:01 austin caddy[27755]: 2020/05/06 06:29:01 http: TLS handshake error from [2400:cb00:35:1024::a29e:a7b7]:47448: no certificate available for 'dllm.com'
May 06 06:29:03 austin caddy[27755]: 2020/05/06 06:29:03 http: TLS handshake error from [2400:cb00:12:1024::ac45:2219]:36592: no certificate available for 'dllm.com'

When reverting back to the standard HTTP challenge (after disabling CDN mode from CF), or downgrading to 1.0.4 (with a different systemd service file), the site is able to come up, passing all LE challenges.

You seem to be having the same problem as https://caddy.community/t/v2-caddyfile-problem-with-cloudflare-plugin/7886?u=matt and I'm not sure what it is yet.
What is your entire config (no redactions except credentials) and what is the full output after starting the process? (Please enable the --environ flag if it's not already. Feel free to redact only credentials.)
I will need the full config + output without redactions (except credentials) in order to help.

What is your entire config (no redactions except credentials) and what is the full output after starting the process? (Please enable the --environ flag if it's not already. Feel free to redact only credentials.)
I will need the full config + output without redactions (except credentials) in order to help.

Caddyfile (the actual API token was replaced with a random 37-char hex string:
dns.jitdor.com
tls {
   dns cloudflare 9daff1d265ffa667cc77c8c754c21ca64385c
}
root * /var/www/netflix
encode gzip
php_fastcgi unix//run/php/php7.4-fpm.sock

/etc/systemd/system/caddy.service file:
[Unit]
Description=Caddy
Documentation=https://caddyserver.com/docs/
After=network.target

[Service]
User=www-data
Group=www-data
ExecStart=/usr/local/bin/caddy run --environ --config /etc/caddy/Caddyfile
ExecReload=/usr/local/bin/caddy reload --config /etc/caddy/Caddyfile
TimeoutStopSec=5s
LimitNOFILE=1048576
LimitNPROC=512
PrivateTmp=true
ProtectSystem=full
AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target

Results executing /usr/local/bin/caddy run --environ --config /etc/caddy/Caddyfile as root:
caddy.HomeDir=/root
caddy.AppDataDir=/root/.local/share/caddy
caddy.AppConfigDir=/root/.config/caddy
caddy.ConfigAutosavePath=/root/.config/caddy/autosave.json
runtime.GOOS=linux
runtime.GOARCH=amd64
runtime.Compiler=gc
runtime.NumCPU=1
runtime.GOMAXPROCS=1
runtime.Version=go1.14.2
os.Getwd=/var/www/netflix

SHELL=/bin/bash
PWD=/var/www/netflix
LOGNAME=root
XDG_SESSION_TYPE=tty
LS_OPTIONS=--color=auto
HOME=/root
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
SSH_CONNECTION=<IP_ADDRESS> 5250 <IP_ADDRESS> 22
XDG_SESSION_CLASS=user
TERM=xterm
USER=root
SHLVL=1
XDG_SESSION_ID=9999
XDG_RUNTIME_DIR=/run/user/0
SSH_CLIENT=<IP_ADDRESS> 5250 22
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin
MAIL=/var/mail/root
SSH_TTY=/dev/pts/0
_=/usr/local/bin/caddy
OLDPWD=/var/www/netflix/css
2020/05/06 10:00:23.288 INFO    using provided configuration    {"config_file": "/etc/caddy/Caddyfile", "config_adapter": ""}
2020/05/06 10:00:23.294 INFO    admin   admin endpoint started  {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["localhost:2019", "[::1]:2019", "<IP_ADDRESS>:2019"]}
2020/05/06 10:00:23.295 INFO    http    enabling automatic HTTP->HTTPS redirects        {"server_name": "srv0"}
2020/05/06 10:00:23.296 INFO    tls     cleaned up storage units
2020/05/06 10:00:23.297 INFO    http    enabling automatic TLS certificate management   {"domains": ["dns.jitdor.com"]}
2020/05/06 18:00:23 [INFO][cache:0xc0006fc9b0] Started certificate maintenance routine
2020/05/06 10:00:23.330 INFO    autosaved config        {"file": "/root/.config/caddy/autosave.json"}
2020/05/06 10:00:23.330 INFO    serving initial configuration
2020/05/06 18:00:23 [INFO][dns.jitdor.com] Obtain certificate; acquiring lock...
2020/05/06 18:00:23 [INFO][dns.jitdor.com] Obtain: Lock acquired; proceeding...
2020/05/06 18:00:23 [INFO][dns.jitdor.com] Waiting on rate limiter...
2020/05/06 18:00:23 [INFO][dns.jitdor.com] Done waiting
2020/05/06 18:00:23 [INFO] [dns.jitdor.com] acme: Obtaining bundled SAN certificate given a CSR
2020/05/06 18:00:23 [INFO] [dns.jitdor.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/4400770148
2020/05/06 18:00:23 [INFO] [dns.jitdor.com] acme: Could not find solver for: tls-alpn-01
2020/05/06 18:00:23 [INFO] [dns.jitdor.com] acme: Could not find solver for: http-01
2020/05/06 18:00:23 [INFO] [dns.jitdor.com] acme: use dns-01 solver
2020/05/06 18:00:23 [INFO] [dns.jitdor.com] acme: Preparing to solve DNS-01
2020/05/06 18:00:24 [INFO] [dns.jitdor.com] acme: Cleaning DNS-01 challenge
2020/05/06 18:00:24 [WARN] [dns.jitdor.com] acme: cleaning up failed: no memory of presenting a DNS record for dns.jitdor.com
2020/05/06 18:00:24 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/4400770148
2020/05/06 18:00:24 [ERROR] error: one or more domains had a problem:
[dns.jitdor.com] [dns.jitdor.com] acme: error presenting token: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]
 (challenge=dns-01 remaining=[])
2020/05/06 18:00:26 [ERROR] attempt 1: [dns.jitdor.com] Obtain: [dns.jitdor.com] error: one or more domains had a problem:
[dns.jitdor.com] [dns.jitdor.com] acme: error presenting token: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]
 - retrying in 1m0s (2.832489454s/720h0m0s elapsed)...
2020/05/06 18:01:02 http: TLS handshake error from [2400:cb00:35:1024::a29e:a6f4]:39524: no certificate available for 'dns.jitdor.com'
2020/05/06 18:01:02 http: TLS handshake error from [2400:cb00:12:1024::ac45:2130]:16670: no certificate available for 'dns.jitdor.com'
2020/05/06 18:01:03 http: TLS handshake error from [2400:cb00:35:1024::ac45:871b]:37978: no certificate available for 'dns.jitdor.com'
2020/05/06 18:01:26 [INFO] [dns.jitdor.com] acme: Obtaining bundled SAN certificate given a CSR
2020/05/06 18:01:26 [INFO] [dns.jitdor.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/54491140
2020/05/06 18:01:26 [INFO] [dns.jitdor.com] acme: Could not find solver for: tls-alpn-01
2020/05/06 18:01:26 [INFO] [dns.jitdor.com] acme: Could not find solver for: http-01
2020/05/06 18:01:26 [INFO] [dns.jitdor.com] acme: use dns-01 solver
2020/05/06 18:01:26 [INFO] [dns.jitdor.com] acme: Preparing to solve DNS-01
2020/05/06 18:01:26 [INFO] [dns.jitdor.com] acme: Cleaning DNS-01 challenge
2020/05/06 18:01:26 [WARN] [dns.jitdor.com] acme: cleaning up failed: no memory of presenting a DNS record for dns.jitdor.com
2020/05/06 18:01:26 [INFO] Deactivating auth: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/54491140
2020/05/06 18:01:26 [ERROR] error: one or more domains had a problem:
[dns.jitdor.com] [dns.jitdor.com] acme: error presenting token: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]
 (challenge=dns-01 remaining=[])
2020/05/06 18:01:28 [ERROR] attempt 2: [dns.jitdor.com] Obtain: [dns.jitdor.com] error: one or more domains had a problem:
[dns.jitdor.com] [dns.jitdor.com] acme: error presenting token: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]
 - retrying in 2m0s (1m5.385374746s/720h0m0s elapsed)...
^C2020/05/06 10:01:34.499       INFO    shutting down   {"signal": "SIGINT"}
2020/05/06 18:01:34 [INFO][cache:0xc0006fc9b0] Stopped certificate maintenance routine
2020/05/06 10:01:34.501 INFO    admin   stopped previous server
2020/05/06 10:01:34.501 INFO    shutdown done   {"signal": "SIGINT"}

Starting via systemd as www-data:
-- Logs begin at Wed 2020-05-06 06:55:38 +08. --
May 06 17:43:39 wilshire caddy[28079]: {"level":"info","ts":1588758219.137319,"logger":"admin.api","msg":"load complete"}
May 06 17:43:39 wilshire systemd[1]: Reloaded Caddy.
May 06 17:47:41 wilshire caddy[28079]: 2020/05/06 17:47:41 http: TLS handshake error from <IP_ADDRESS>:60664: tls: client offered only unsupported versions: []
May 06 17:58:47 wilshire caddy[28079]: {"level":"info","ts":1588759127.41298,"msg":"shutting down apps then terminating","signal":"SIGTERM"}
May 06 17:58:47 wilshire systemd[1]: Stopping Caddy...
May 06 17:58:47 wilshire caddy[28079]: 2020/05/06 17:58:47 [INFO][cache:0xc0004dc870] Stopped certificate maintenance routine
May 06 17:58:47 wilshire caddy[28079]: {"level":"info","ts":1588759127.470796,"logger":"admin","msg":"stopped previous server"}
May 06 17:58:47 wilshire caddy[28079]: {"level":"info","ts":1588759127.4710622,"msg":"shutdown done","signal":"SIGTERM"}
May 06 17:58:47 wilshire systemd[1]: caddy.service: Succeeded.
May 06 17:58:47 wilshire systemd[1]: Stopped Caddy.
May 06 18:03:03 wilshire systemd[1]: Started Caddy.
May 06 18:03:03 wilshire caddy[20229]: caddy.HomeDir=/var/www
May 06 18:03:03 wilshire caddy[20229]: caddy.AppDataDir=/var/www/.local/share/caddy
May 06 18:03:03 wilshire caddy[20229]: caddy.AppConfigDir=/var/www/.config/caddy
May 06 18:03:03 wilshire caddy[20229]: caddy.ConfigAutosavePath=/var/www/.config/caddy/autosave.json
May 06 18:03:03 wilshire caddy[20229]: runtime.GOOS=linux
May 06 18:03:03 wilshire caddy[20229]: runtime.GOARCH=amd64
May 06 18:03:03 wilshire caddy[20229]: runtime.Compiler=gc
May 06 18:03:03 wilshire caddy[20229]: runtime.NumCPU=1
May 06 18:03:03 wilshire caddy[20229]: runtime.GOMAXPROCS=1
May 06 18:03:03 wilshire caddy[20229]: runtime.Version=go1.14.2
May 06 18:03:03 wilshire caddy[20229]: os.Getwd=/
May 06 18:03:03 wilshire caddy[20229]: LANG=en_US.UTF-8
May 06 18:03:03 wilshire caddy[20229]: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
May 06 18:03:03 wilshire caddy[20229]: HOME=/var/www
May 06 18:03:03 wilshire caddy[20229]: LOGNAME=www-data
May 06 18:03:03 wilshire caddy[20229]: USER=www-data
May 06 18:03:03 wilshire caddy[20229]: INVOCATION_ID=1319e86162c14d9380e628450ea0baba
May 06 18:03:03 wilshire caddy[20229]: JOURNAL_STREAM=9:5065205
May 06 18:03:03 wilshire caddy[20229]: {"level":"info","ts":1588759383.6770444,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":""}
May 06 18:03:03 wilshire caddy[20229]: {"level":"info","ts":1588759383.6857662,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","<IP_ADDRESS>:2019"]}
May 06 18:03:03 wilshire caddy[20229]: {"level":"info","ts":1588759383.686817,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
May 06 18:03:03 wilshire caddy[20229]: {"level":"info","ts":1588759383.6891603,"logger":"tls","msg":"cleaned up storage units"}
May 06 18:03:03 wilshire caddy[20229]: {"level":"info","ts":1588759383.6899235,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["dns.jitdor.com"]}
May 06 18:03:03 wilshire caddy[20229]: {"level":"info","ts":1588759383.7065501,"msg":"autosaved config","file":"/var/www/.config/caddy/autosave.json"}
May 06 18:03:03 wilshire caddy[20229]: {"level":"info","ts":1588759383.7069793,"msg":"serving initial configuration"}
May 06 18:03:03 wilshire caddy[20229]: 2020/05/06 18:03:03 [INFO][cache:0xc0006f09b0] Started certificate maintenance routine

... and then nothing.

@jitdor Thanks -- I just realized something, my API token is not a hex string. (But it is ASCII encoded.) Are you using an "API Key" or an "API token"?
This plugin does not use API keys:

But it does use API tokens which have these permissions:

Was definitely the API Key - the same one from the previous systemd Environment=CLOUDFLARE_API_KEY= setting. So this could be the reason!

Yes, for me as well! Going to test it out right now with the token.

I can confirm that this was indeed the problem. There should be a note in the docs that it uses API Token and not API key. Thanks for the help.

Excellent, thanks! That was fast 🏃♂ 💨
I've updated the readme already: https://github.com/libdns/cloudflare
Glad we got that sorted easily enough!


Credhub integration with AWS KMS

What version of the credhub server you are using?
1.2.0
What version of the credhub cli you are using?
2.2.1
If you were attempting to accomplish a task, what was it you were attempting to do?
We are trying to explore how to integrate Credhub with AWS KMS
What did you expect to happen?
Since AWS classicHSM's are soon getting retired, We want to integrate our credhub with new cloudhsm v2 or AWS KMS.
What was the actual behavior?
There is some documentation provided here https://docs.cloudfoundry.org/credhub/kms-plugin.html But we are wondering if there are any existing templates how to integrate aws kms with bosh based credhub which we can use as an example.
Any guidance here would unblock couple of key projects for us.

@RamS2225 - I now see that these two GitHub issues are related. Apologies. Here is our example KMS plugin: https://github.com/pivotal/sample-credhub-kms-plugin. Let me know if this helps.


Allow returning information from findroot solvers

This information can be used to create basin diagrams for roots. I have some large exponentials and luckily mpmath is able to solve roughly 2/3 of the points for which SciPy overflows. I don't know if the iteration counts are comparable with those from SciPy's "hybr" solver.
The general approach is provided in findroot with an example in MDNewton. I assume more information can be returned from other solvers as the need arises.

No activity here.  I'm closing this, feel free to address review and reopen.


CRA编译失败

执行yarn build后报错
问题复现地址 https://github.com/usercao/react-test
vite build可以正常编译通过

https://github.com/facebook/create-react-app/discussions/10095

thanks🙏


[Bug]: Special token IDs (BOS, EOS, etc.) not matching the tokenizer's configuration

Describe the bug
This is a minor issue and probably not affecting the results so much. I noticed that special token IDs are often not matching the tokenizer's configuration. For example in https://github.com/speechbrain/speechbrain/blob/develop/recipes/CommonVoice/ASR/transformer/hparams/train_fr.yaml#L87, bos_index: 1 and eos_index: 2. But in SentencePiece's configuration (https://github.com/speechbrain/speechbrain/blob/develop/recipes/CommonVoice/ASR/transformer/train.py#L408) we do not specify the bos_id and eos_id arguments. By default, SentencePiece adds only one special token at index 0, <unk> (to handle out-of-vocabulary text), but no BOS nor EOS. Therefore, at index 1 and 2, we will find real tokens learned from the transcriptions (e.g. "▁", "E" if using character-level tokenization), and these will be mistakenly used as BOS and EOS tokens to build the tokens_bos and tokens_eos tensors, respectively.
Expected behaviour
Set special token IDs consistently with the tokenizer's configuration.
To Reproduce
No response
Environment Details
No response
Relevant Log Output
No response
Additional Context
No response

Hello @lucadellalib,
Thanks for opening this issue.
I think one way to solve this issue is by changing a bit our yamls such that we would have a new dict object containing all relevant informations :
sentencepiece_parameters:
     save_folder: !ref <save_folder>
     output_neurons: !ref <output_neurons>
     bos_id: !ref <bos_id>
     eos_id: !ref <eos_id>
     ... # the others parameters

And inside our train.py file, instead of having:
    # Defining tokenizer and loading it
    tokenizer = SentencePiece(
        model_dir=hparams["save_folder"],
        vocab_size=hparams["output_neurons"],
        annotation_train=hparams["train_csv"],
        annotation_read="wrd",
        model_type=hparams["token_type"],
        character_coverage=hparams["character_coverage"],
    )

we would have:
    # Defining tokenizer and loading it
    tokenizer = SentencePiece(
        **hparams["sentencepiece_parameters"],
)

This way, we could ensure that all the relevant parameters specified inside of the YAML file are used.
What do you think @lucadellalib ? Would you like to do it ?

One note of caution: this might lead to backward incompatibility changes as there is a mismatch between the old tokenizer and the new one. What do you think @lucadellalib and @Adel-Moumen ?

I have been thinking about this. I'm not fully sure that it will be backward incompatible. Given a ckpt pretrained model with its own tokenizer, the Pretrainer will load the tokenizer and thus, the "old" vocab and will override the new one (i.e. the one with bos/eos)

Hello @lucadellalib,
Do you have any news w.r.t my proposal ?
Thanks :)

I'm also not sure, it might lead to other incompatibilities. I think we should keep this in mind for future recipes and be more careful about setting the correct token IDs. Regarding the current recipes, I think it's not worth retraining. If we have to retrain those models for some other reason, we should take the chance to double-check the token IDs and fix them if wrong.


PermissionError: [Errno 13] Permission denied: 'C:\Users\Jude\OneDrive\Desktop\song'

How do i fix these

Take it out of the ondrive folder, put it in downloads