No tests were discovered when running test under vstest.console.exe

When I run it under VS2015 Test Explorer, it works (list tests + run tests). But when running under vstest.console.exe, the TestDiscoverer is not able to pickup any tests listed in the njsproj file.
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" /ListTests:mytestproject.njsproj /UseVSIXExtensions:true
It outputs:
Microsoft (R) Test Execution Command Line Tool Version 14.0.25123.0
Copyright (c) Microsoft Corporation.  All rights reserved.

The following Tests are available:

It says nothing about the tests. In my other projects, vstest.console.exe is able to list out what tests I have in the test case.
Without able to discover any tests in the njsproj file, vstest.console.exe completed without running any tests. It generates no TestResults and outputs:
Microsoft (R) Test Execution Command Line Tool Version 14.0.25123.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...

Tried to debug but vstest.console.exe does not has diagnostic log mode, so I can't see the debug log in the CS file.
The reason why I need it to run under vstest.console.exe is to able to put Node.js tests under Visual Studio Team Services (a.k.a. Visual Studio Online).

Thanks for the report.
I can confirm that running NTVS tests using vstest.console.exe does not work as expected, even when explicitly providing some extra hints and verifying that the NTVS test discoverers and test executors are loaded:
vstest.console.exe Example.njsproj /TestAdapterPath:"%LOCALAPPDATA%\14.0Exp\Extensions\Microsoft\Node.js Tools\1.2\"  /UseVsixExtensions:true

I believe the problem is that vstest.console.exe attempts to treat Example.njsproj as a dll during loading, which fails with a BadImageFormatException. This causes no tests to be found.
Debugging The Test Adapter
I don't know too much about vstest.console.exe and this does not seem like one of our highest priorities at the moment, but anyone is free to take a look and submit a PR with a fix.
Here are some basic instructions for actually debugging the NTVS test adapter for this scenario (on VS 2015 with NTVS 1.2 Alpha):

Get NTVS building locally
Open the nodejstools solution, and set launch target to TestAdapter
Open the properties for the TestAdapter project and go to the debug tab.
Use the following settings:

Start External Program = C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe
Command line Arguments = "C:\FULL_PATH_TO_EXAMPLE_PROJ\Example.njsproj" /TestAdapterPath:".\BuildOutput\Debug14.0\Binaries\TestAdapter\"

Let me know if you run into any problems

Finally figured out!
There is a line in the njsproj:
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>

Under vstest.console.exe, VisualStudioVersion is always set to 11.0. So it went to wrong place for Microsoft.NodejsTools.targets. My vstest.console.exe read 14.0.
If the try-finally block on TestDiscoverer is working properly, it will be much easier to debug. See https://github.com/Microsoft/nodejstools/blob/master/Nodejs/Product/TestAdapter/TestDiscoverer.cs#L55. Despite the try-finally block should throw exception to upstream. The upstream kept its mouth shut. Maybe a bug on vstest.console.exe or by design.
Should we add a catch block and dump the exception by logger.SendMessage(TestMessageLevel.Error, ex.Message);?
BTW, I tried to put breakpoint and Debugger.break() to any code under TestDiscoverer. When running under vstest.console.exe, they  just skipped. But adding logger.SendMessage work, I am pretty sure my TestAdapterPath is correct.
Should we add a Wiki page too? I could give some help.

Interesting findings, so are you able to run the test now?
We definitly want to bump up the VisualStudioVersion. There's a bug tracking removal of VS dev11 and dev12 support (#761). I'll take a look since this this work should probably go in to PR #847. Did you try running vstest.console.exe from a Visual Studio Command prompt? I believe that would have VisualStudioVersion set.
I'm also not seeing any breakpoints in the TestAdapter project being hit. This is strange since all the breakpoints seem to resolve (checked by enabling exception breaking for all com exceptions while debugging). I also do not see any exception being thrown in TestDiscoverer.cs, but adding the extra logging and rethrowing would not hurt. Do you want to submit a PR with that addition?
I agree we could use better documentation for the test explorer. Have you seen this page yet? Creating a section with some of your findings would be great and would help anyone running into similar problems. Let me know if you need any help looking into this.
Thanks.

Yes, it's running okay now.
When I run vstest.console.exe, it defaulted <VisualStudioVersion> to 11.0. vstest.console.exe logo said it is 14.0.25123.0, I think it's a bug on their side.
I am making a PR for adding a message + rethrow to TestDiscoverer.cs. And during the weekend, add a new section to the Wiki page to help others on enabling Mocha testing for VSTS.

@mjbvz I have updated the Wiki page. But since I have no access to Microsoft/nodejstools.wiki, I cannot add a new image, namely VSTSConfiguringTestTask.png. Can you commit it for me?

Thank you for adding this! I've uploaded the image and the new sections look great.
Closing out this issue since the original problems all seem to have been resolved. Having this documentation should help out other people if they run into similar problems.


provide zafira abort functionality for carina shutdown hook

Need more details.

already implemented in 6.2.27 carina


Data backup via thanos s3 api is not working

What did you do?
I deploy a aio ceph enviroment, and make sure I can upload files via s3 api, then I modify /prometheus-operator/contrib/kube-prometheus/manifests/prometheus-prometheus.yaml to enable thanos s3 data backup, but the prometheus-0 pod no show by command: kubectl get po -n monitoring
NAME                                   READY     STATUS    RESTARTS   AGE
alertmanager-main-0                    2/2       Running   0          3d
alertmanager-main-1                    2/2       Running   0          3d
alertmanager-main-2                    2/2       Running   0          3d
grafana-6c5d4c5b66-c8gnz               1/1       Running   0          3d
kube-state-metrics-7564964b9f-cg6bl    4/4       Running   0          3d
node-exporter-9k5bz                    2/2       Running   0          3d
node-exporter-fwjc9                    2/2       Running   0          3d
node-exporter-q58zp                    2/2       Running   0          3d
node-exporter-z6b4c                    2/2       Running   0          3d
prometheus-operator-6bb868644b-npmmp   1/1       Running   0          3d
thanos-query-6f8b699bd8-95xxw          1/1       Running   0          3d

Here is my prometheus-prometheus.yaml
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
  labels:
    prometheus: k8s
  name: k8s
  namespace: monitoring
spec:
  podMetadata:
    labels:
      thanos-peer: 'true'
  alerting:
    alertmanagers:
    - name: alertmanager-main
      namespace: monitoring
      port: web
  baseImage: quay.io/prometheus/prometheus
  nodeSelector:
    beta.kubernetes.io/os: linux
  replicas: 2
  resources:
    requests:
      memory: 400Mi
  ruleSelector:
    matchLabels:
      prometheus: k8s
      role: alert-rules
  serviceAccountName: prometheus-k8s
  serviceMonitorSelector:
    matchExpressions:
    - key: k8s-app
      operator: Exists
  version: v2.3.1
  thanos:
    peers: thanos-peers.default.svc:10900
    s3:
      bucket: files
      endpoint: http://<IP_ADDRESS>:8080
      accessKey:
        key: <redacted>
      secretKey:
        key: <redacted>
      insecure: true

What did you expect to see?
Prometheus pods running correctly, and backup prometheus data by using s3 api
Environment
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.6", GitCommit:"9f8ebd171479bec0ada837d7ee641dec2f8c6dd1", GitTreeState:"clean", BuildDate:"2018-03-21T15:21:50Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.6", GitCommit:"9f8ebd171479bec0ada837d7ee641dec2f8c6dd1", GitTreeState:"clean", BuildDate:"2018-03-21T15:13:31Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
kubeadm

Even though this might be in your environment, just out of security I redacted your keys.
The way the accessKey and secretKey fields work is that they are a pointer to a "key" within a Kubernetes Secret. So what you are looking for is something like this:
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
  labels:
    prometheus: k8s
  name: k8s
  namespace: monitoring
spec:
  podMetadata:
    labels:
      thanos-peer: 'true'
  alerting:
    alertmanagers:
    - name: alertmanager-main
      namespace: monitoring
      port: web
  baseImage: quay.io/prometheus/prometheus
  nodeSelector:
    beta.kubernetes.io/os: linux
  replicas: 2
  resources:
    requests:
      memory: 400Mi
  ruleSelector:
    matchLabels:
      prometheus: k8s
      role: alert-rules
  serviceAccountName: prometheus-k8s
  serviceMonitorSelector:
    matchExpressions:
    - key: k8s-app
      operator: Exists
  version: v2.3.1
  thanos:
    peers: thanos-peers.default.svc:10900
    s3:
      bucket: files
      endpoint: http://<IP_ADDRESS>:8080
      accessKey:
        name: "thanos-s3-credentials"
        key: "s3AccessKey"
      secretKey:
        name: "thanos-s3-credentials"
        key: "s3SecretKey"
      insecure: true

Meaning you will also need a Kubernetes Secret that is called thanos-s3-credentials that has the s3AccessKey and s3SecretKey keys.

Thanks for the reply, after I create the secret and modify
endpoint: http://<IP_ADDRESS>:8080

to
endpoint: <IP_ADDRESS>:8080

it works!:)

Awesome! In that case I will close this issue, but feel free to comment further or open a new issue should you run into any other problems! :slightly_smiling_face:


[Diagnostics] Fix out-of-bounds index while fixing argument mismatch

Although the overload choice has two parameters, it doesn't
mean that there are exactly two arguments passed to it.
Resolves: rdar://87407899

@swift-ci please smoke test


Allow Property Managers to create their own listings on Doorway

As a Partner role type in Doorway,
I want to be able to add new listings in my jurisdiction,
So that I do not need to go through BAHFA to post each listing.
Notes:

They should NOT be able to add other users to a listing (They will need to reach out to BAHFA to do that)
No designs needed here - Their experience should mirror what JAs + Admins see (screenshot attached below)
Do we store who each listing was created by, and when? If not, can we?

AC:

As a partner user in Doorway, I should be able to add a new listing to my jurisdiction from my "listings" page
I should not be able to add new users to each listing
A record of who created each listing and when is stored

Would need to make FE permissioning changes to account for this
Need to make sure that, on the BE, partner can't publish a listing (accounted for on the FE with listing approval, double check this)


problem getting boards from account

there is one profile that the bot cannot get the boards from and I noticed it's one that was apparently upgraded to a business account. Is there an issue getting boards from business accounts or any other type of account? All my other accounts will list the boards fine but this one comes up with empty array every time.
I've tried both of these calls:
$boards = $bot->boards->forMe();
$boards = $bot->boards->forUser($me_username);
both are the same - empty array. And I have six boards full of pins on that account running for about six years now
all my other accounts are pulling the boards just fine, it's only this one account that just does not pull the boards from.
By the way, I discovered that I can pull the boards from this account using the official API but not with the bot
any thoughts? thanks in advance :) h.

Hi! Can you please provide your username?

is there some way I can send it privately seregazhuk? thanks

Yes, send email it to me. Use email in my GitHub profile.

Hello!
I have the same problem as hhitch described. There is one account for which I can't get a boards list but get an empty array and a message: 'Похоже, произошла ошибка'.

I need more information to solve the problem. As I've said before I cannot reproduce the bug by self. I need credentials from the account with the following issue. You provide a pull request with a fix.

I've found one solution already.
Where you have:
public function forUser($username)
{
    $options = [
        'username'      => $username
      //  'field_set_key' => 'detailed',
    ];

    $result = $this->get(UrlBuilder::RESOURCE_GET_BOARDS, $options);

    return $result ?: [];
}

I've commented 'field_set_key' => 'detailed'.
My version of what caused an issue is that for some accounts a list of 'detailed' boards is too big array for to proceed it. For an account with a problem I have 51 boards. Other accounts with smaller numbers of boards worked fine.
Another possible solution from my point of view can be something with pagination. So, that I can control a number of boards which I get. First 20 boards, next 20 boards, ..., like it is for pins.
Thanks!

Thanks Lemonade, will check that out.
In my case this is an easily reproducable bug -- I have been able to reproduce this with my own and other users' accounts and also the same fix works.
How to reproduce the issue: use an account that has been "upgraded" to a "business account" on Pinterest. Those accounts can reliable fail to pull boards using $boards = $bot->boards->forMe() or $boards = $bot->boards->forUser($username).
This is a reliable, re-creatable issue. Just use any Pinterest account that is a "business account"
While the bot does not pull the boards for those accounts, the regular Pinterest API will pull those boards for said accounts. we now see this as a standard issue - users with business account cannot pull boards with bot

hhitch, hello!
In my case bot works fine also for business accounts.

Hi again I just wanted to follow up and say it seems with a more recent release of the library this issue has gone away. Sorry to pester you about it and keep up the great work :+1:

O'k! That's good news. Thanks.
On Fri, Sep 14, 2018 at 3:06 PM hhitch<EMAIL_ADDRESS>wrote:

Hi again I just wanted to follow up and say it seems with a more recent
release of the library this issue has gone away. Sorry to pester you about
it and keep up the great work 👍
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/seregazhuk/php-pinterest-bot/issues/410#issuecomment-421496793,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhQT2MiuKfq-kBC9pdcqFeQuMPjg2bX2ks5ubCh-gaJpZM4Vvch8
.


Feat id tracking

Todo: put request id header on streamHandler too

Todo: put request id header on streamHandler too

nah won't do - everything is to be moving in serverlessHandler direction anyway

now gotta fix a few logging bugs


i18n(ko-KR): update server-side-rendering.mdx

Description (required)

update server-side-rendering.mdx
#8011

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ko
guides/server-side-rendering.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


chore(main): release 5.3.6

:robot: I have created a release beep boop
5.3.6 (2024-11-18)
Features

bump twilio from 5.3.5 to 5.3.6 (0c90e86)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/somleng/somleng-node/releases/tag/v5.3.6 :sunflower:


initial 5.2 updates & Java version changes

See https://trello.com/c/esod316Q/75-document-dropping-java-1-6 and https://trello.com/c/wSW2lRBp/76-what-s-new-for-5-2-pages-version-history
Summarises 5.2 changes (details still to add for devs / OMERO.web), updates hardcoded version numbers and references to Java 1.6 as minimum requirement.
N.B. have made a separate card for version requirements page, won't tackle that on this PR.

Will be staged at https://www.openmicroscopy.org/site/support/omero5.2-staging/index.html

A few minor points added.  One major thing I think could be improved is that this deletes entirely the new features in 5.1 rather than adding a new section for the 5.2 features.  It would be nice if we instead added a What's new in 5.2 as a new section at the top, leaving the What's new in 5.1 section below it.  This keeps all the features we've added over time quite visible, and is also useful as a reminder for people upgrading from 5.0 or earlier.

These pages weren't intended to replace the version history 3 times over, which is why I deleted the 5.1 features.
I did get rather delete happy removing the version requirements section though, I'll add that back in.

You may wish to change formats/conf.py to update "omero_doc" to "/support/omero5.2/whatever". I don't know if it's worth a card about when to update the "5.1" in omero/sysadmins/unix/walkthrough/README.md, I'm not sure about that file.

I'm leaving the sysadmin install docs to Simon - there's a separate card on the board for that stuff. I'll check the conf.py though, that had slipped my mind.

Having thought some more, I'm going to make a card for the conf.py and hold off changing it for now.

Happy to leave all these things to your judgment. :+1: Good with you too @rleigh-dundee?

Latest commit addresses the stuff you grepped @mtbc

Ok, this is just waiting on developer & OMERO.web updates, which may happen on new PR(s)

@mtbc Yes, fine with me, thanks.

Thanks both, probably easiest to merge this now and then add to the sysadmins & devs whats new files later rather than leaving this lying around to start conflicting. I'll amend cards accordingly.


clblasDaxpy with "incr" input argument set to zero

I'm trying to perform a sum between a scalar and a matrix using clblasDaxpy.
To perform that, I set to zero the increment of the scalar but clblasDaxpy does not accept this value.
daxpy of Ref BLAS  and cuBLAS allow this use, I think that clblasDaxpy should allow this use also.
Is it possible to develop this feature in clBLAS ?

I can't recall the technical reason for this right now

I came across this issue when googling why incx cannot be zero. And for those like me here's a tip from this page:

The last argument incx is the increment. Usually, incx=1 and the vector x corresponds directly to the one-dimensional Fortran array x. For incx>1 it specifies how many elements in the array we should "jump" between each element of the vector x. E.g. if incx=2 it means we should only scale every other element (note: the physical dimension of the array x should then be at least 2n-1).

So incx is not an increment to the elements of a buffer, but instead increment to indexes of the buffer where operations should be applied. You can apply operation to every 1st element (all elements), every 2nd, every 3rd, etc., but obviously you cannot apply it to every 0th element.
As a conclusion, if you just want usual behavior similar to BLAS standard, always set incx to 1.

@dfdx essentially, inc seems semantically identical to stride.  A stride of 0, along one or more dimensions, can be valid, in some libraries, if you want to repeat the same values along those dimensions, which seems to be what CedScilab wants to do.  The use-cases of this are similar to, or at least a subset of, matlab's repmat function.

@dfdx The sentence you have posted is about SSCAL routine, not DAXPY. In fact, in the SSCAL case, it is useless to set incx to zero when we can perform a * x where "a" and "x" has scalar.
however, in my case, I need it, because I want to write the addition (for Scilab) using DAXPY of clBLAS: one of the use is to perform a + B where "a" is scalar and "B" is a vector.
ie: [1] + [1, 2, 3, ...]
The idea is to set the inc of "a" to zero to avoid the allocation of data which will be filled with the same value.

@CedScilab Indeed, I didn't know about such possibility and misinterpreted your question.
Though, I'm curious if simple custom kernel will work for you?

Yes, I can write something in OpenCL to perform that. But, if this feature is directly in clBLAS, the performance will be certainly better and the integration in my development is already done.


[Feature Request] Configure moduleNameMapper and others in scriptFile

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
The "jest" block in package.json allows you to specify script files to perform setup steps prior to running tests. In my case, I set some global variables using a script specified in the "setupTestFrameworkScriptFile" param. There are a number of other configuration options that you can specify in the jest block of package.json, such as moduleNameMapper.
What is the expected behavior?
It would be very helpful if other config options could be set / modified within the setupTestFrameworkScriptFile, particularly for moduleNameMapper. For instance, we use webpack and have an aliases file. It would be a big help to be able to programmatically transform that alias file within the setupTestFrameworkScriptFile into a set of moduleNameMapper directives. Perhaps a global jest.addOptions({<new options>}) could be utilized here.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
jest 20.0.4
npm 5.0.1
node 6.3.1

You can use jest.config.js. See the latest blog post on the website.

This, I guess? The feature doesn't seem to be documented. https://facebook.github.io/jest/blog/2017/05/06/jest-20-delightful-testing-multi-project-runner.html

Well, it works fine. Thanks!


[Bug]: The welcome screen alignment for new  user sign-up looks off in the release instance

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The welcome screen alignment for new  user sign-up looks off in the release instance

Steps To Reproduce

Go to release.app.appsmith.com
click on sign up link
Now sign up with new email id
The welcome alignment looks off and also UI should be same as old

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
v<IP_ADDRESS>

also UI should be same as old

This is not a release blocker and will be tracking as a different issue.
@pranayagarwal96  @RakshaKShetty

@dipyamanbiswas07 Can we also change Almost there header here to use the color: var(--ads-v2-color-fg-emphasis-plus) while working on this issue?

Validated on release https://release.app.appsmith.com/ and welcome page looks aligned for new user sign up. Refer Attached screen below


[Improvement-4884][Common] fix the subsequent processing of getting the YARN ResourceManager address to be empty

What is the purpose of the pull request
this PR close #4884
Acitve ReSourceManager IP = null when obtaining Acitve ReSourceManager address in YARN HA mode fails,the yarn application URL generation failed exception should be thrown here
Verify this pull request
This change added tests and can be verified as follows:

Manually verified the change by testing locally.

Codecov Report

Merging #4885 (28a6d40) into dev (a9e1d31) will decrease coverage by 0.48%.
The diff coverage is 37.50%.

@@             Coverage Diff              @@
##                dev    #4885      +/-   ##
============================================
- Coverage     46.47%   45.98%   -0.49%
+ Complexity     3513     3487      -26
============================================
  Files           539      539
  Lines         23236    23232       -4
  Branches       2710     2710
============================================
- Hits          10799    10684     -115
- Misses        11449    11570     +121
+ Partials        988      978      -10

Impacted Files
Coverage Δ
Complexity Δ

...che/dolphinscheduler/common/utils/HadoopUtils.java
28.07% <37.50%> (-6.23%)
21.00 <1.00> (ø)

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
0.00% <0.00%> (-3.00%)

...phinscheduler/common/utils/KerberosHttpClient.java
0.00% <0.00%> (-58.19%)
0.00% <0.00%> (-5.00%)

...olphinscheduler/server/registry/HeartBeatTask.java
37.50% <0.00%> (-53.13%)
2.00% <0.00%> (-1.00%)

.../server/master/runner/DependentTaskExecThread.java
51.57% <0.00%> (-16.85%)
10.00% <0.00%> (-5.00%)

...ver/master/consumer/TaskPriorityQueueConsumer.java
43.62% <0.00%> (-9.40%)
16.00% <0.00%> (-4.00%)

...olphinscheduler/server/utils/DependentExecute.java
61.84% <0.00%> (-9.22%)
17.00% <0.00%> (-4.00%)

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
3.00% <0.00%> (-1.00%)

...inscheduler/service/zk/CuratorZookeeperClient.java
60.97% <0.00%> (-4.88%)
7.00% <0.00%> (-1.00%)

... and 4 more

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 a9e1d31...28a6d40. Read the comment docs.


CIP-???? | Conway Era Key Chains for HD Wallets

The Conway Ledger era introduces many new features to Cardano, notably features to support community governance via CIP-1694. This includes the introduction of the new first class credentials; drep_credential, committee_cold_credential and committee_hot_credential.
We propose a HD wallet key derivation paths for registered DReps and constitutional committee members to deterministically derive keys from which credentials can be generated. Such keys are to be known as DRep keys, constitutional committee cold keys and constitutional committee hot keys. Here we define some accompanying tooling standards.
TODO:

[x] Add definitions for "Constitutional Committee keys".
[x] Add rationale for Constitutional keys

📰 Rendered proposal on branch

@Ryun1 I've put this on the meeting # 74 agenda so you can introduce it & maybe give it a quick review if attendees are up for it? 🤔

I have addressed all outstanding todos, and have thus added this to meeting # 76 agenda.

Welcome to the family #105 (in anticipation of Last Check at next CIP meeting # 77, 2 weeks from today: https://hackmd.io/@cip-editors/77); please update the directory name & Rendered proposal on branch link 🤩 ... I'll green-tick this as soon as the housekeeping is done ✅

Constitutional Committee Cold Keys derived:
cardano-signer keygen --path cc-cold --vkey-extended --json-extended

{
  "workMode": "keygen",
  "path": "1852H/1815H/0H/4/0",
  "mnemonics": "tube sport this leg couch tooth live place relief tenant kite fiscal travel wasp lion lady insect duty sure together edit before silent suspect",
  "secretKey": "2085e1acca5...7974407dfa10f08e0cd96048a9fe4d0555003fe9f86b4a408c6531e354d2aa514e252fa88cb81c7966641911ee015b28f0ed4eb26d0",
  "publicKey": "516f025e8d41ec21ff30a7974407dfa10f08e0cd96048a9fe4d0555003fe9f86b4a408c6531e354d2aa514e252fa88cb81c7966641911ee015b28f0ed4eb26d0",
  "XpubKeyHex": "ddbaf1524a2a0307c9b661e5f335e06103821e4e23d5aa68ae3b66efc9642c0c33b84c0267f2d22c537ee26dff5149253aa660b8a1e0726454809e4d0e877d1e",
  "XpubKeyBech": "xpub1mka0z5j29gps0jdkv8jlxd0qvypcy8jwy026569w8dnwljty9sxr8wzvqfnl953v2dlwym0l29yj2w4xvzu2rcrjv32gp8jdp6rh68sd9jlea",
  "ccColdIdHex": "f99fc61869992baa2ae384ce1f68b87ccd12a056b1bc835b26b98017",
  "ccColdIdBech": "cc_cold1lx0uvxrfny4652hrsn8p769c0nx39gzkkx7gxkexhxqpwr4ccr3",
  "secretKeyBech": "cc_cold_xsk1yzz7rtx2t4neh0h982qq...v98jazq0happuywpnvkqj9flexs24gq8l5ls662gzxx2v0r2nf2552wy5h63r9cr3ukveqez8hqzkeg7rk5avndqw5uhjr",
  "publicKeyBech": "cc_cold_xvk129hsyh5dg8kzrles57t5gp7l5y8s3cxdjczg48ly6p24qql7n7rtffqgcef3ud2d92j3fcjjl2yvhqw8jenyryg7uq2m9rcw6n4jd5qst2a88",
  "output": {
    "skey": {
      "type": "ConstitutionalCommitteeColdExtendedSigningKey_ed25519_bip32",
      "description": "Constitutional Committee Cold Extended Signing Key",
      "cborHex": "58802085e1acca5d679bbee53a800.....974407dfa10f0d96048a9fe4d0555003fe9f86b4a408c6531e354d2aa514e252fa88cb81c7966641911ee015b28f0ed4eb26d0"
    },
    "vkey": {
      "type": "ConstitutionalCommitteeColdExtendedVerificationKey_ed25519_bip32",
      "description": "Constitutional Committee Cold Extended Verification Key",
      "cborHex": "5840516f025e8d41ec21ff30a7974407dfa10f08e0cd96048a9fe4d0555003fe9f86b4a408c6531e354d2aa514e252fa88cb81c7966641911ee015b28f0ed4eb26d0"
    }
  }
}

Constitutional Committee Hot Keys derived:
cardano-signer keygen --path cc-hot --vkey-extended --json-extended

{
  "workMode": "keygen",
  "path": "1852H/1815H/0H/5/0",
  "mnemonics": "help under taste three yellow draw shoulder castle donor urge present because wise borrow prepare mango guilt quote bracket inside obvious harbor siren online",
  "secretKey": "f81096d00a4fcf6ccaf00d4...fd3deb4c5433fef9847be08394f404ab4b1e3f9e8f49107fe4acf518f332a78ea2c7097d912d4fd81c68ee4c6267e7bc3cd7e037e0",
  "publicKey": "34570e6f59b60b05d3242afd3deb4c5433fef9847be08394f404ab4b1e3f9e8f49107fe4acf518f332a78ea2c7097d912d4fd81c68ee4c6267e7bc3cd7e037e0",
  "XpubKeyHex": "1aba5a0005b27cb57291fdb24683070c12d4f044d8223b131ab10e8fa99be3bb6147b5ada1267d1c6773217da209944f28905fd1f58a544507a0ba054278be92",
  "XpubKeyBech": "xpub1r2a95qq9kf7t2u53lkeydqc8psfdfuzymq3rkyc6ky8gl2vmuwakz3a44ksjvlguvaejzldzpx2y72ystlgltzj5g5r6pws9gfutayszlzyft",
  "ccHotIdHex": "bf5f496e660543d02c6ac09853df9959c687d12d91b8c8ecbbeb0013",
  "ccHotIdBech": "cc_hot1ha05jmnxq4paqtr2czv98huet8rg05fdjxuv3m9mavqpxska8d0",
  "secretKeyBech": "cc_hot_xsk1lqgfd5q2fl8kejhsp49pw9jv0fd6qq...kpvzaxfp2l577knz5x0l0nprmuzpefaqy4d93u0u73ay3qlly4n633uej578293cf0kgj6n7cr35wunrzvlnmc0xhuqm7qtcjck6",
  "publicKeyBech": "cc_hot_xvk1x3tsum6ekc9st5ey9t7nm66v2sela7vy00sg8985qj45k83ln685jyrlujk02x8nx2ncagk8p97ezt20mqwx3mjvvfn700pu6lsr0cqxj5uws",
  "output": {
    "skey": {
      "type": "ConstitutionalCommitteeHotExtendedSigningKey_ed25519_bip32",
      "description": "Constitutional Committee Hot Extended Signing Key",
      "cborHex": "5880f81096d00a4fcf6ccaf00d4a17164c7a5ba002ba...5433fef9847be0839f9e8f49107fe4acf518f332a78ea2c7097d912d4fd81c68ee4c6267e7bc3cd7e037e0"
    },
    "vkey": {
      "type": "ConstitutionalCommitteeHotExtendedVerificationKey_ed25519_bip32",
      "description": "Constitutional Committee Hot Extended Verification Key",
      "cborHex": "584034570e6f59b60b05d3242afd3deb4c5433fef9847be08394f404ab4b1e3f9e8f49107fe4acf518f332a78ea2c7097d912d4fd81c68ee4c6267e7bc3cd7e037e0"
    }
  }
}


Filter challenges by year / start date

Tasks

[ ] Add the properties Challenge.startDate and Challenge.endDate
[ ] Filter challenges by year

Current UI

Notes

We could add an "information icon" with a tooltip that specifies that "Challenge Year" refers to the challenge start year.
We don't have the exact date of most past DREAM Challenges. We could set by default the date to the January 1st 00:00 and include this time has the lower bracket for the date range filter.

Spring Boot does not support query parameter with deepObject?
Swagger UI generates correctly the request URL when replacing the default:
      @Parameter(
              name = "startDateRange",
              description = "Return challenges that start during the date range specified.")

by
      @Parameter(
              name = "startDateRange",
              description = "Return challenges that start during the date range specified.",
              style = ParameterStyle.DEEPOBJECT,
              explode = Explode.TRUE)

However, the value of the properties start and end are not set correctly and instead are set to null.

Addressed in #1137


Uncaught TypeError on UI Access at Port 8080

Hello,
I've encountered an issue when starting services with Docker Compose for the open-balena-admin interface. After initiating the services and navigating to the IP and port 8080 in my browser, I'm presented with a JavaScript error in the console:
Uncaught TypeError: Cannot read properties of undefined (reading 'resources')
This error prevents the interface from loading properly. I followed the standard Docker Compose setup instructions without making modifications to the codebase. Could you please provide guidance on how to resolve this issue?
Thank you.
Regards
Matias
@dcaputo-harmoni
@barribarrier

Same here, seems to be an issue with the open-balena-api image version. The index.js expects a maximum value of 0.185.0, whilst I'm currently using 29.1.1.

If you set your version env var to "v0.185.0", it'll work. Mind the 'v'!


Safe access fixes for core/action/registry.go

Locking a mutex on reads was not being done and the wrong mutex was being used on copy.

From a conceptual point of view, having a single Mutex controlling access to two completely unrelated objects sounds everything but clear to me. What clarity does it add?
From a practical point of view, denying access to the factory map while working with the action map may turn into a slow down. Probably speed is not that critical here but ...
Implementing a single mutex is trivial (swap factoryMu and actionMu for mutex and delete one of the declarations), feel free to do it if you feel it will work better.

You are right!, The wrong use of the factoryMu in the Actions() function made me think that both maps were related.
But I can see that your changes fixes that.
Your fix looks great! I am merging it!
Please keep the contributions coming!
Thanks again!


Redesign and develop the docs app

Redesign the docs app with the following considerations.

Think of changing it to gatsby.
Having a competitive design which should be comparable with material UI / Ant UI. (Mobile responsive)
Use the components from lite-ui itself.

Shared the basic theme / navbar and documentation page through zeplin.


About license

According to the website we can:
Create one single website/app for one client
However the pdf file included with the download says we can't
so the pdf one is outdated?

@lein00 thank you for pointing out. Yes, you're right, you can use it for a client, we will update the PDF too.
Best,
Alex


[Doc] Unlock an account on proxy and new celostats address on baklava

Description
Currently celostats require an unlocking account on the proxy to report correctly. This account can be any and do not have to be related in any way with any other address.
Additionally, updated the celostats reporting address. Websocket implementations are not required to follow redirects (https://tools.ietf.org/html/rfc6455) and seems that geth is not able to follow the redirects when setting up the websocket connection to celostats.

Hi Guys,
Is there a reason the creation of a new account is different here than from the rest of the running a validator document.
docker run --name celo-proxy-password -it --rm  -v $PWD:/root/.celo $CELO_IMAGE account new --password /root/.celo/.password
and not
docker run -v $PWD:/root/.celo --rm -it $CELO_IMAGE account new


angularAMD for Angular 1.6.X

Hi,
Does current release suits for Angular 1.6.X.
I used angularAMD for my previous project with Angular 1.3.X.
Thanks
PV

yes.it runs well.

maybe things in the release notes can update that fact?  I almost just moved on when I saw version xxx for Angular 1.3x is latest version.


Support systems with no access to syscontext

From @martindsouza on September 23, 2013 18:11
Would open it up to more people. Could use function result cache (but requires 11g?)
Copied from original issue: tmuth/Logger---A-PL-SQL-Logging-Utility#48

Dup of #82


Apply transformation is not working

I use .circleCrop() this way but it is not applied to the image:

 GlideToVectorYou
                    .init()
                    .with(context)
                    .requestBuilder
                    .load(url)
                    .circleCrop()
                    .into(imageView)

Also any kind of .apply(RequestOptions.bitmapTransform(transformation)) is not working either

Same ask for here, transformation is not working
But regards, awesome library, save my day


assert a screen keep awake / option to keep awake

My screen timeout is 15 seconds and when the screen turns off, often the game stops and goes back to the level select. Several apps assert keeping the screen on.
Also when rotating the screen from portrait to landscape the game goes back to level select and you lose progress and any tokens gathered during that level.

from version 1.23, the game won't switch to landscape mode. Also, it tries to keep the screen on.


Development

Our current development conflicts with Issues/150 branch. Please review updates and make appropriate updates on your end.

Made corrections to the main conflicts, namely generation_mix, generation, solar_thermal_upstream, solar_upstream, and wind_upstream.


Update scrapy & dependencies

Motivation for this change
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @jskrablin

@drewkett you ok with these changes?

Looks fine to me, though I'd probably add a comment to the nix file explaining why the permissions patch is needed rather than having that information only be in a commit message.
I'm not using this package at the moment, so feel free to take over as maintainer if you'd like.

I left you in as the maintainer for now - I'm not directly using them either, had some unrelated code that needed a newer scrapy.
Updated according to your comment.

@FRidh - I think this is ready to merge.

thanks


Loading 3D App after injecting into Chrome leads to crash

Diagnostic Log: https://gist.github.com/olie304/8440a622ca1c6abfa12635caaecfc501
I launch Chrome with the flags --disable-gpu-sandbox --gpu-startup-dialog --use-angle=gl
I tried specifying DX11 and DX12 Angles but it had the same result.
Injecting into Chrome is fine and gives no errors but as soon as I load a web page that loads 3D content (e.x. https://3dviewer.net/) RenderDoc disconnects and Chrome starts a new GPU process
Environment

RenderDoc version: v1.5
Operating System: Windows 10
GPU: RTX 2080 Ti
API: All of them

Injecting into processes can regularly fail for many reasons and is not directly supported. It's provided as an advanced feature for those who know what they are doing is safe.
In addition due to high numbers of people using RenderDoc with chrome for illegal copyright infringing uses I provide absolutely no support for capturing WebGL this way. RenderDoc is intended for debugging your own programs directly and debugging chrome does not qualify. I'm closing this and will not help with any similar issues.


Update vlan-interfaces.sh to indicate specific API

In my case, I had 2 resources which matched clusters shortcut

clusters.clusterregistry.k8s.io
clusters.cluster.x-k8s.io

If specific resource is not specified, kubectl get clusters command can return empty list, which is unexpected.

/ok-to-test

It seems to be working
/lgtm

/retest

/lgtm

looks good
/approve


eosio.token transfer succeeds or fails depending on decimal digits count

EOS created with
cleos push action eosio.token create '{"issuer": "anton", "maximum_supply": "1000000.0000 EOS", "can_freeze": 0, "can_recall": 0, "can_whitelist": 0}' -p eosio.token

transfer 7 EOS succeeds
cleos push action eosio.token transfer "{ \"from\": \"anton\", \"to\": \"anton\", \"quantity\": \"7 EOS\", \"memo\": \"transfer $I\" }" -p anton
executed transaction: a6b7d58438d482478f16f363c2cf25e8974ec4856082de8e20fcb2e53380d055  264 bytes  109568 cycles
#   eosio.token <= eosio.token::transfer        {"from":"anton","to":"anton","quantity":"7 EOS","memo":"transfer "}
>> transfer
#         anton <= eosio.token::transfer        {"from":"anton","to":"anton","quantity":"7 EOS","memo":"transfer "}
anton@ubuntu:~/eos/build$ cleos push action eosio.token transfer "{ \"from\": \"anton\", \"to\": \"anton\", \"quantity\": \"7.000 EOS\", \"memo\": \"transfer $I\" }" -p anton

transfer 7.01 EOS fails
cleos push action eosio.token transfer "{ \"from\": \"anton\", \"to\": \"anton\", \"quantity\": \"7.01 EOS\", \"memo\": \"transfer $I\" }" -p anton
Error 3030000: transaction validation exception
Ensure that your transaction satisfy the contract's constraint!
Error Details:
condition: assertion failed: unable to find key

transfer 7.0001 succeeds
cleos push action eosio.token transfer "{ \"from\": \"anton\", \"to\": \"anton\", \"quantity\": \"7.0001 EOS\", \"memo\": \"transfer $I\" }" -p anton
executed transaction: 75f003fb6047a047cf3db20e9a1de3f6fde0bbeea54ae13e2f20fcc7e0401ac0  264 bytes  109568 cycles
#   eosio.token <= eosio.token::transfer        {"from":"anton","to":"anton","quantity":"7.0001 EOS","memo":"transfer "}
>> transfer
#         anton <= eosio.token::transfer        {"from":"anton","to":"anton","quantity":"7.0001 EOS","memo":"transfer "}

@moskvanaft this is fixed in #2291.
But you need to use the same precision as when the token was created, otherwise transfer/issue will fail saying comparison of assets with different symbols is not allowed since precision is included in the token symbol.

@elmato
Yep, I checked this by creating a currency in whole numbers and another with 4 decimals spaces, both named "EOS". I then issued them to my account, and when I passed get currency token balance <my-account-name>  I got something like:
1000000 EOS
1000000.0000 EOS


Failed to install BeakerX for JupyterLab

Below is the error message.
[91m> /usr/local/bin/npm pack @jupyter-widgets/jupyterlab-manager
[0m jupyter-widgets-jupyterlab-manager-0.32.3.tgz
[91m "<EMAIL_ADDRESS>is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab                            Extension                        Package

=0.13.1-0 <0.14.0-0         >=0.14.1-0 <0.15.0-0       @jupyterlab/application
=0.13.0-0 <0.14.0-0        >=0.14.1-0 <0.15.0-0       @jupyterlab/rendermime
=0.13.0-0 <0.14.0-0        >=1.0.1-0 <2.0.0-0           @jupyterlab/coreutils
=0.4.3-0 <0.5.0-0           >=1.0.1-0 <2.0.0-0           @jupyterlab/rendermime-interfaces
=0.52.0-0 <0.53.0-0       >=1.0.1-0 <2.0.0-0           @jupyterlab/services
=0.13.0-0 <0.14.0-0        >=0.14.1-0 <0.15.0-0       @jupyterlab/notebook

Hey Ben thanks for letting us know.  I will try this when I get back to my workstation, I am still on holiday.
As I am sure you know, Jupyter Lab is evolving rapidly and we have had to make updates to continue to work with it.


Update CoffeeScript version

Fixes #120 (error with yield keyword, since it was not added until CS 1.9.0)

Thanks!


[Question] .history() returns empty array

When I do .load_pgn() on this, I get empty array on .history(). Can anyone tell me  please how do I properly sanitize messy pgns like this one ?
Headers are trimmed in chess.js itself and seems special characters are escaped too, I cannot find what's wrong with this. Passing only the mainline SAN works though.
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[FEN "r3kb1r/pbq2ppp/2p2n2/1pn1pP2/4P1P1/2NB1Q2/PPPBN2P/R3K2R w KQkq - 0 1"]
[Setup "1"]

1. a4 { [%csl Rh1,Ra8,Gf6,Gc5,Gc3,Gb5,Yb4,Yb7,Yc6,Ra1,Rg2,Rf3,Re4,Rd5][%cal
Gf6e4,Gc5e4,Gc3d1,Gd1f2,Rb7e4,Re4h1,Rg4g5,Rf6d7]}  ( 1. g5)1... b4 2. Nd1 Nfxe4
3. Bxe4 Nxe4 4. Qxe4 c5 5. Qc4 Bxh1 6. Bxb4 Be7 7. Ne3 O-O 8. O-O-O Bf3 9. Nd5
Qb7 10. f6 Bxd5 11. Qxd5 Qxd5 12. Rxd5 gxf6 13. Bxc5 Rfd8 14. Rxd8+ Bxd8 15. b4
h5 16. h3 hxg4 17. hxg4 Kg7 18. Ng3 Bb6 19. Be7 Kg6 20. c4 Bf2 21. Nf5 Kg5 22.
Nd6 Kxg4 23. c5 Kf3 24. c6 e4 25. c7 Bd4 26. Nb5 Be5 27. Bd6 e3 28. Bxe5 fxe5
29. Nd6 Kf2  *

console.log(pgn);
var fen = FEN;
chess = new Chess();
    var loadedpgn =  chess.load_pgn(pgn, {sloppy:true});
    var moveHistory =chess.history();
    console.log(moveHistory);
    console.log("hello world");

Try with [SetUp "1"] with uppercase U

Thank you for the response.
No luck, I get [] array length = 0
Most of the time the moves must be plain like 1. a3 g4 2.b4 h7 or it returns empty array.

ExtremeCoolDude I did a lot of testing and spent hours pouring through documentation only for the issue to be a missing empty string between the tag pair section and the movetext section.  I have no idea if you moved on to better projects, but I hope this still helps.

Thanks a lot @bhx4874 much appreciated. It was much more headache-less to parse pgn separately with entirely different tool  : https://github.com/mliebelt/pgn-parser and then only feed the "move" to chess.js.

@ExtremeCoolDude Maybe I'm missing something, but this appears to parse without issue for me:
const { Chess } = require('./chess.js')
const chess = new Chess()

const moves = `[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[FEN "r3kb1r/pbq2ppp/2p2n2/1pn1pP2/4P1P1/2NB1Q2/PPPBN2P/R3K2R w KQkq - 0 1"]
[SetUp "1"]

1. a4 { [%csl Rh1,Ra8,Gf6,Gc5,Gc3,Gb5,Yb4,Yb7,Yc6,Ra1,Rg2,Rf3,Re4,Rd5][%cal
Gf6e4,Gc5e4,Gc3d1,Gd1f2,Rb7e4,Re4h1,Rg4g5,Rf6d7]}  ( 1. g5)1... b4 2. Nd1 Nfxe4
3. Bxe4 Nxe4 4. Qxe4 c5 5. Qc4 Bxh1 6. Bxb4 Be7 7. Ne3 O-O 8. O-O-O Bf3 9. Nd5
Qb7 10. f6 Bxd5 11. Qxd5 Qxd5 12. Rxd5 gxf6 13. Bxc5 Rfd8 14. Rxd8+ Bxd8 15. b4
h5 16. h3 hxg4 17. hxg4 Kg7 18. Ng3 Bb6 19. Be7 Kg6 20. c4 Bf2 21. Nf5 Kg5 22.
Nd6 Kxg4 23. c5 Kf3 24. c6 e4 25. c7 Bd4 26. Nb5 Be5 27. Bd6 e3 28. Bxe5 fxe5
29. Nd6 Kf2  *`

chess.load_pgn(moves)
console.log(chess.history())
[
  'a4',   'b4',   'Nd1',   'Nfxe4', 'Bxe4', 'Nxe4',
  'Qxe4', 'c5',   'Qc4',   'Bxh1',  'Bxb4', 'Be7',
  'Ne3',  'O-O',  'O-O-O', 'Bf3',   'Nd5',  'Qb7',
  'f6',   'Bxd5', 'Qxd5',  'Qxd5',  'Rxd5', 'gxf6',
  'Bxc5', 'Rfd8', 'Rxd8+', 'Bxd8',  'b4',   'h5',
  'h3',   'hxg4', 'hxg4',  'Kg7',   'Ng3',  'Bb6',
  'Be7',  'Kg6',  'c4',    'Bf2',   'Nf5',  'Kg5',
  'Nd6',  'Kxg4', 'c5',    'Kf3',   'c6',   'e4',
  'c7',   'Bd4',  'Nb5',   'Be5',   'Bd6',  'e3',
  'Bxe5', 'fxe5', 'Nd6',   'Kf2'
]

@bhx4874 I'm sorry you ran into issues with the library. Maybe this requirement (the empty line between the Tag Pair and Movetext sections of the PGN file) is something we should add to an FAQ?

Thanks a lot for the reply, creator jhlywa, much appreciated for this awesome lib. If someone stumbles onto this issue via google, use chess.js for only chess logic, use some library based on peg.js + grammar files to specify rules to parse pgn,  like the tool I mentioned above, will save you a lot of trouble.


Use of Sapiens model for antibody representation?

Greetings, and thank you for your work!
I have been searching for a transformer model that has been trained on antibody sequences so I can extract learned representations of my dataset, and this repo has been suggested to me.
After tokenizing a sequence using the dictionary.encode_line method, I call the sentence_encoder to get the encoding of my sequence. In your opinion, for downstream tasks, should I ideally be working with the 'encoder_embedding' values of the output dictionary, or with the 'encoder_out' values?
More importantly, is there a built-in method that I can use to get reconstructed sequences back? I wrote a linear decoder that tries to reconstruct the 'encoder_out' values back to the original tokenized sequences, and although it does a somewhat decent job, it is not good enough for my downstream tasks.
Thank you for your time!

Hi @ScubaChris, thanks. Although we are interested in the embeddings, we haven't looked into them much yet, only into the attention. So not sure about encoder_out vs encoder_embedding.
As for reconstructing sequences, our model is not an auto-encoder - it is not trained to reconstruct the input. It's trained on human sequences using masked language modeling, so you could say that it's trained to reconstruct & de-noise (therefore humanize) the input. So the single default RoBERTa head that's included with the Sapiens model is doing just that - taking the embedding and predicting the humanized form of the input sequence. So if you don't mind getting a humanized sequence, you can already use that classification head.
If you wanted to get the original input sequence back, you would probably need to train a new classification head, but it would  need to predict a class for each token & also you would need to freeze the encoder to make sure you only train the new head and not the full network. Not sure how well this is currently supported in fairseq.
Also keep in mind that the representation is more of a "residue representation" than a "sequence representation", since it was trained on a sequence-to-sequence task and not a sequence-to-task class. So if you want to get just a single vector for the whole sequence, you would need to figure out how to get it from the residue vectors (e.g. mean). Taking the BOS/EOS token representation won't work, because we're not using that token to train the classifier (as was the case in BERT).

Thank you very much for your reply!
I already freeze the encoder, and my decoder does exactly that, predicts a class for each token, although like I said, it's just a linear block for now. Since the encoder out dimension per residue is not that large (128 if I remember correctly), I just concatenate the residue vectors to get the full sequence representation. Using that representation with a downstream binary classifier (2 target antigens), gives better results than by using the mean of the residue vectors.
I will see about training a more sophisticated decoder, and perhaps it will work well enough eventually!

Sounds exciting, keep us posted :)
About concatenating the vectors - If I understand your approach correctly, this might have some caveats, because we don't align the sequence, so you will get a variable number of feature dimensions based on the length of the sequence (there will be some whitespace token vectors at the end, after the EOS token). So the nth block of the 128 feature vectors corresponds to the nth residue in raw numbering, which might not be what you want.


Updated instructions to use elastic/tap

Replacing previous PR since I forgot to sign the commit .. :/
I've also noticed master was not fully aligned with v1.0.0-beta1 branch so aligned as part of this commit. Happy to split to a different PR if needed.

Thanks for the quick review! Anyone with write can you please merge.


Add Image writing API

Currently we can only read images in a specific format, but writing them is also important.
A possibility is to abstract this away into a ImageWriter or ImageFile abstract class, where a subclass per image format exists. An instance can then be made to write to an arbitrary file or just return a ubyte[].
Another option is to separate the different image formats into separate, but very similar APIs (much like image loading), possibly with a common metadata format. This would mean we could also supply metadata alongside loading images.

Basically done


Compiling issue

I'm having trouble compiling the code.
I'm a newb to coding and generally us chatGPT for codes which so far has worked for my projects but this doesn't seem to want to compile.
Compilation error: 'ledcSetup' was not declared in this scope
I'm using this board https://www.amazon.co.uk/dp/B0BGY69RCK?psc=1&ref=ppx_yo2ov_dt_b_product_details which I think is pretty much the same as the TTGO.
I've tried selecting different boards but still the same error
Please help as I have no idea!

Use the espressif board manager for the TTGO t_display. However, you must install versions 2.17. The 3.x versions do not work. I'm working on a fix for this. The ledcSetup is easy to fix, but the 3.x versions break the TFT_eSPI display library and I don't have a fix for that yet.


Windows Explorer stays open

I thought this was fixed with the last update but apparently it is not. I do some work on my computer that requires me to have multiple instances of Windows Explorer open. Or I'll close some, reopen other windows in new explorers, etc. Potentially 20 times or more depending on what I'm doing. The issue arises when I go to task manager because my fans are loud and see that Windows Explorer.exe has 10-15 instances all taking up 3-10% of my CPU. I initially posted about this on Microsoft forums but they just gave their generic responses but recently someone posted a comment and said that the latest version of Shell fixed the issue. That does not seem to be the case sadly.

someone posted a comment and said that the latest version of Shell fixed the issue.

its me :)
There was a bug in version 1.7 when the explorer process finished and it was fixed in version 1.8.
Please uninstall Shell and try the explorer. If the issue persists, there will be a problem with the explorer.
If the issue is resolved after uninstalling Shell, let me know so we can continue fixing it.

Uninstalling Shell did seem to make the issue go away. I can't replicate it no matter how many instances of explorer I open/close now.


removed gzip compression as its pointless

it turns out with the most recent version of h5py, that using compression and fletcher32 with variable-length sequences (such as strings) will print an error since those filters cannot be applied to it

Codecov Report

Merging #21 (63f2f76) into main (ca72f4a) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   17.19%   17.19%
=======================================
  Files           8        8
  Lines        1064     1064
=======================================
  Hits          183      183
  Misses        881      881

Impacted Files
Coverage Δ

bigplanet/bp_extract.py
45.16% <ø> (ø)

bigplanet/bp_process.py
3.47% <0.00%> (ø)

Continue to review full report at Codecov.

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


cmake: snippets: Store DTC_OVERLAY_FILE and OVERLAY_CONFIG to cache

This commit updates the snippets module to store the content of the local DTC_OVERLAY_FILE and OVERLAY_CONFIG variables in the cache to ensure that the future zephyr_get operations on these variables do not end up overwriting the local changes made by the snippets module.
Note that these variables are initially set to the cache content (e.g. when -DDTC_OVERLAY_FILE=... or -DOVERLAY_CONFIG=... is passed to the CMake command line) at the time of module entry and appended with the snippet overlay file list during the module execution.

Fixes #57139

I've been meaning to get to this. Thanks for posting a patch, @stephanosio.
I tend to agree with @tejlmand. My idea for solving this was to add the appends we need to do to some CMake property at snippets.cmake time, which we could then extract at dts.cmake and kconfig.cmake time and append on to the right lists.

As discussed offline, @tejlmand will look into coming up with a more comprehensive solution for all scopes. Marking this DNM for now.

Closing this for now since the solution proposed in this PR is never going to be accepted.
I will try to take a different approach fixing #57139 as described in https://github.com/zephyrproject-rtos/zephyr/pull/57142#discussion_r1183416962.


For "disrupt reality", we need to fix timings and stylings

Feel free to modify the audio files provided. You can use the FOSS audacity.
We need to make the website look very innocent and cute at first, and then one by one replace the normal elements with the cooler themed ones. The nav bar's text should be kept not glitched until the button is pressed.
Don't show the Words "Disrupt Reality". Rather, when the button is clicked we replace the button with the words. Other information like the date can be hidden until button clicked.

done


drop user labels from aggregation:grafana_analytics_sessions_total

Towards: https://github.com/giantswarm/giantswarm/issues/18571
This PR:

adds/changes/removes etc

Checklist

[x] Update changelog in CHANGELOG.md.
[ ] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

Tested successfully on ghost


⚠ Bofrost.lu has degraded performance

In 44eb98a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 973 ms

Resolved: Bofrost.lu performance has improved in 76cf1d7 after 13 minutes.


Data Directories should not be editable after creation

Summary
Fixes #12455

Occurred changes and/or fixed issues

disable Data Directories inputs in edit mode
update unit tests

Technical notes summary

Areas or cases that should be tested

create a cluster with some Data Directories config (RKE2)
edit that cluster and check that inputs are disabled and radio options are hidden

Areas which could experience regressions

Screenshot/Video

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

FYI @nwmac @yonasberhe23


demo fix highlighting bug

Does this fix a reported bug? If so, could you please provide a link to the bug in the description of your PR? Also could you please provide a general description of what you did to fix the bug in your PR?
As it stands now, your PR is mostly unrelated whitespace and comment changes which is not sufficient for a hacktoberfest contribution. Please see our guidelines for hacktoberfest contributors

Superseded by #66709.


Marker requests' Host header is always "localhost"

I want to test a custom rule set with a specific pre-configured vhost, which listens on localhost (<IP_ADDRESS>).
I added Host header to each test, eg:
          headers:
            User-Agent: "OWASP CRS test agent"
            Host: "my.vhost.com"
            Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
            Content-Type: "application/xml"

The test request is sent with the specified header, but when go-ftw sends the marker requests before and after it, they has "localhost".
So the markers' logs are written to the original log, but the test result is written into the vhost's own log (if there is).
It would be nice if the marker requests also use the Host header like the test itself.
Workaround: use the same error.log for specific vhost as the default.

Hmmm... but this only works in local mode, right? I mean, go-ftw will be reading local files, in the local host (or mounted filesystem) to know where to find the logs.

Hmmm... but this only works in local mode, right? I mean, go-ftw will be reading local files, in the local host (or mounted filesystem) to know where to find the logs.

Yes, only in local mode. I would try to use different rule sets for different VHOST's.

Oh, hadn't anticipated the use of multiple log files depending on the host. This is pretty easy to add, how urgently to you need it?

Just saw the open PR.

Thanks guys!


iOS 16 beta 2 - landscape mode wrong orientation

My app is in landscape only, but the toast is shown on portrait (it worked well on iOS 15)

I had the same issue.

I've come up with the same issue, Has anyone of you fixed it ?

I created a PR for it. Can someone test it, please? https://github.com/devxoul/Toaster/pull/215

I created a PR for it. Can someone test it, please? #215

I can confirm that the solution works:
Change line 186 in ToastWindow.swift:
From:
if self.shouldRotateManually {
To:
if #unavailable(iOS 16.0), self.shouldRotateManually {
Thanks for the update!

Actually this library breaks the device orientation when we try to force one controller to landscape.

me too.


instanceof checks are failing after updating to the latest version

Describe the bug
After updating to the latest version, our instanceof checks started to fail, e.g.
expect(
  services.paidProjectAnalytics.logFirstPaymentReceivedEvent,
).toHaveBeenCalledWith({
  paidProjectId,
  paidProjectTerms: expect.any(PaidProjectTerms),
});

While previously this was working, now it is failing with:
-     "paidProjectTerms": Any<PaidProjectTerms>,
+     "paidProjectTerms": PaidProjectTerms {

From the error it seems like they both share the same constructor.
However, checking the referenced object indeed confirms that the property is not an instance of PaidProjectTerms.
services.paidProjectAnalytics.logFirstPaymentReceivedEvent.mock
          .calls[0][0].paidProjectTerms instanceof PaidProjectTerms
// false

console.log(
  '>>>',
  services.paidProjectAnalytics.logFirstPaymentReceivedEvent.mock
    .calls[0][0].paidProjectTerms.constructor,
  services.paidProjectAnalytics.logFirstPaymentReceivedEvent.mock
    .calls[0][0].paidProjectTerms.constructor instanceof PaidProjectTerms,
  PaidProjectTerms,
  services.paidProjectAnalytics.logFirstPaymentReceivedEvent.mock
    .calls[0][0].paidProjectTerms.constructor === PaidProjectTerms,
);
// >>> [class PaidProjectTerms] false [class PaidProjectTerms] false

Reproduction
I am unclear as to how to debug this further or how to reproduce it in isolation.
System Info
System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.05 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.9.0 - ~/.nvm/versions/node/v19.9.0/bin/node
    npm: 9.6.3 - ~/.nvm/versions/node/v19.9.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 114.0.5735.133
    Edge: 114.0.1823.43
    Firefox: 113.0.2
    Safari: 16.3

  System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.01 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.9.0 - ~/.nvm/versions/node/v19.9.0/bin/node
    npm: 9.6.3 - ~/.nvm/versions/node/v19.9.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 114.0.5735.133
    Edge: 114.0.1823.43
    Firefox: 113.0.2
    Safari: 16.3
  npmPackages:
    vitest: ^0.32.2 => 0.32.2

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This does have a smell of https://github.com/vitest-dev/vitest/issues/2824
devDependencies:
vitest 0.32.2
├─┬ @vitest/expect 0.32.2
│ └─┬ @vitest/spy 0.32.2
│   └── tinyspy 2.1.1
└─┬ @vitest/spy 0.32.2
  └── tinyspy 2.1.1
vitest-mock-extended 1.1.3
└─┬ vitest 0.32.2 peer
  ├─┬ @vitest/expect 0.32.2
  │ └─┬ @vitest/spy 0.32.2
  │   └── tinyspy 2.1.1
  └─┬ @vitest/spy 0.32.2
    └── tinyspy 2.1.1

CC @sheremet-va

And why does it use different dependencies there? 🤷🏻

And why does it use different dependencies there? 🤷🏻 Maybe deleting/reinstalling helps? Or lockfile is wrong?

Where do you see different dependencies?
As far as I can tell, they are all the same version.

I don't see how to repro this in StackBlitz.

You don't have to use stackblitz

The last working version is v0.31.1 to v0.31.2
v0.31.1 is the last version where it is still working.
Tagging contributors to v0.31.2
@ghiscoding @PCreations @jcbhmr @fenghan34 @gtm-nayan @ghry5 @dammy001 @Dunqing @fooddilsn @rxliuli @btea @rluvaton @sheremet-va @AriPerkkio
Trying to look at what changed in the code between those versions.

It is definitely vitest related change. I removed all other changes from our PR and isolated just to dependency update, and it breaks all instanceof checks.

Please, provide reproduction.

Please, provide a reproduction.

Just for added context, this is a breaking change in monorepos where your directory structure is something like:
./apps/...
./packages/...


dbnl footnotes

Separates footnotes from the the main content in the DBNL corpus (close #1346)
This still needs to be re-indexed on production.

Should I hold off on merging until reindexed? Or safe to merge?

Let's hold off - I don't want the notes field to show up if it doesn't have values yet.


Fix descriptors for flyers that do not implement read_configuration

Description

Fix descriptors for flyers that do not implement read_configuration.
Motivation and Context

Previously if read_configuration was not defined we would not put an entry in the configuration key in the descriptor.  While the RE would run OK, this would case issues on data access with newer versions of databroker.
I do not think we want to make a distinction between in the documents between "the device reported configuration and it was empty" from "the device did not report any configuration".
How Has This Been Tested?

Added new test

This was found by @MikeHart85 @mrakitin and @JunAishima at AMX today.


Omit empty status fields.

Primary motivation is to avoid an empty string phase value, which is
awkward to map to JSON in languages other than Go, and surprising as
it only arises in ADDED events.
This is could be a disruptive change for workflow clients expecting the
empty value, but not sure this is likely in practice.
A newly added workflow now gives:
    "status": {
        "finishedAt": null,
        "startedAt": null
    }

The time values already have omitempty but as they're structs this
doesn't help. The nulls here are consistent with time serialization
elsewhere in Kubernetes so probably best left as is.

As discussed with @jessesuen on slack.

LGTM


i18n plugin: swap "code" for "lang"

swapped code for lang  in locale_links filter, as the returned array is actually:
{"url":"/es/blog/","lang":"es","label":"Español"}

Thank you!


Remove xgboost workaround

This PR removes the temporary workaround for xgboost that was added in #243. It can be removed now that https://github.com/dmlc/treelite/issues/244 is closed.

@raydouglass while I'm touching this file, can this conditional block also be removed/consolidated?
https://github.com/rapidsai/docker/blob/87bbdcf5b7ba5f59c6df9ab820a0137f6b6a0fcc/templates/rapidsai-core/Devel.dockerfile.j2#L116-L140

@raydouglass while I'm touching this file, can this conditional block also be removed/consolidated?

Yes, I think just keep the CUDA_VER == 11.0 block.


Regarding TLS-1.3 ClientFinished during post-handshake authentication

In TLS-1.3 draft section 4.4 [page 65],
base key mentioned for MAC key to be used while generating FinishedMessage
during post handshake authentication is  client_application_traffic_secret_N . But  client_finished_secret
is being used regardless of whether it is post-handshake authentication or not.

    if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashlen)) {
        /* SSLfatal() already called */
        goto err;
    }

    if (str == s->method->ssl3_enc->server_finished_label)
        key = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, NULL,
                                           s->server_finished_secret, hashlen);
    else
        key = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, NULL,
                                           s->client_finished_secret, hashlen);

    if (key == NULL
            || ctx == NULL
            || EVP_DigestSignInit(ctx, NULL, md, NULL, key) <= 0
            || EVP_DigestSignUpdate(ctx, hash, hashlen) <= 0
            || EVP_DigestSignFinal(ctx, out, &hashlen) <= 0) {
        SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSL_F_TLS13_FINAL_FINISH_MAC,
                 ERR_R_INTERNAL_ERROR);
        goto err;
    }

    ret = hashlen;
 err:
    EVP_PKEY_free(key);
    EVP_MD_CTX_free(ctx);
    return ret;
}

If s->post_handshake_auth is set as SSL_PHA_REQUESTED , should we not use s->client_app_traffic_secret?
Sorry if I have misread something here.

I believe your analysis is correct; thank you for reporting it!.  @mattcaswell what are your thoughts?

Looks correct to me. Fix in #6297.
I'm intrigued to know how you found that! Is there another implementation somewhere that does post handshake authentication? I think this remains untested from an inter op perspective (because no one else had it).

I work for Cavium and we use OpenSSL stack to offload some of the SSL operations during handshake to our crypto accelerator. I noticed the difference from TLS draft while trying to offload post handshake authentication.

Ah! Makes sense! Thanks.


GitHub Issue Duplicate Detector

As there are lots of open issues (9k+ when writing this), the likelihood for the community of inadvertently introducing new duplicates is fairly high.
The only way for contributors to mitigate this risk is to follow the recommended guidelines and rigorously searching (manually) similar issues prior to open a new one.
Needless to say, this is error prone as it depends on the quality of the research itself.
Result: while everybody agrees on the rulebook, life is too short so let's submit new issue right away... 🤷🏻♂
The new GitHub action ghidd delivers a seamless repo maintainer experience aiming to simplify triage tasks by automatically spotting and tagging duplicate issues.
📑 Read more at https://github.com/marketplace/actions/github-issue-duplicate-detector
Contributions are highly welcome 🙏🏻

VScode did have some bot that used to suggest similar issues
but it seemed pretty useless at the time, as it would bring up random non-related issues
because VSCode has sooo many issues
I personally found searching with is:issue in:title to be waay more effectived than GitHubs default is:issue is:open query

Thanks for your expertise. I see what you mean and I can agree on the currently available workarounds.
However, results totally rely on exploiting best various advanced search criteria to (hopefully) maximizing matching results found.
Often is just hard to find your needle in large open issue haystack as terminology and context easily vary (sometimes greatly), so is not necessarily intuitive to know what to search for, thus requiring lots of search iterations with different filters, words, etc. to be cross-reviewed and consolidated to a meaningful output.

Similar (short lived) suggestion in TS repo https://github.com/microsoft/TypeScript/issues/59923

https://github.com/microsoft/TypeScript/issues/59923#issuecomment-2344574762


Code changes for gpu

Inorder to run on gpu,what changes must be done?Can I know if you have used zero stage in accelerator to run this code?

The only thing you need to do to use GPU is to remove the accelerate_cpu parameter in the example script. After that, it is up to your accelerate config setup.
https://github.com/fashn-AI/tryondiffusion/blob/master/examples/test_tryon_imagen_trainer.py#L96
Regarding DeepSpeed - I haven't been able to integrate it for this repository. I am compiling the model with torch.compile and training with DDP.

yeah i tried already removing accelerate_cpu the only problem is that i am facing oom error.Thank you


Parallax Layers work very strangely with different camera zooms

Godot version
4.0.2.stable
System information
Arch Linux, Vulkan, Intel Haswell-ULT (Integrated Graphics using CPU: Intel i5-4310U)
Issue description
Unexpected Behavior
Any parallax layer that has a scroll scale/factor of anything that isn't 1.0 will start to shift everything in it to the bottom right when a Camera2D is active and the zoom is changed to anything below/above 1.0.
The problem worsens the lower/higher the scroll scale is.
Expected Behavior
Any parallax layer that has a scroll scale/factor of anything that isn't 1.0 will correctly display everything in it to be centered like the sprite shown as 1.0 scroll factor in the video below.
https://user-images.githubusercontent.com/49110074/232971841-09c63b0b-6ce9-400f-862f-3d7b8b9e90d1.mp4
Steps to reproduce
Put some ParallaxLayers in a ParallaxBackground and put any kind of sprite in those layers, and change the scroll scale of each layer to be lower than the other
Minimal reproduction project
Here's a project that showcases the issue in the clearest way i can think of:
parallax layer plus cam zoom issue.zip

I figured out that this is apparently intentional (https://github.com/godotengine/godot/pull/58567), but how could i work around this?

Have you seen the explanation in #75858?

I have but i'm having trouble understanding what exactly they mean

I was thinking of somehow adjusting the offsets of the parallax layers to the camera zoom
But i don't know how i would since i usually don't have my cameras in the same node as the parallax background

@swordcube adjust them from a common parent or use groups.
As for KoBeWi's explanation, they explained it very clearly imho

@swordcube adjust them from a common parent or use groups.
As for KoBeWi's explanation, they explained it very clearly imho

I have trouble understanding certain things sometimes
Thanks though, i'm gonna close this issue now


Build error

Fix CC2650_sensotag bluetooth samples build error: CONFIG_BT_UART_ON_DEV_NAME undeclared

Codecov Report

Merging #7422 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7422      +/-   ##
==========================================
+ Coverage   55.26%   55.26%   +<.01%
==========================================
  Files         467      467
  Lines       51641    51641
  Branches     9886     9886
==========================================
+ Hits        28540    28541       +1
+ Misses      19191    19190       -1
  Partials     3910     3910

Impacted Files
Coverage Δ

lib/posix/pthread.c
69.84% <0%> (+0.5%)
: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 77e9e27...28063ab. Read the comment docs.

@a46554 your PR is not passing CI because of several issues with the commit messages. Please follow the rules described here: http://docs.zephyrproject.org/contribute/contribute_guidelines.html#pull-requests-and-issues

@a46554 can you please rework this PR or, if you don't know how or don't have the time, let us know so we can take over?


Feature/delete item enhancement

Codecov Report

Merging #75 (127a13f) into main (81b523f) will increase coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
+ Coverage   96.59%   96.69%   +0.09%
==========================================
  Files          23       23
  Lines         499      514      +15
  Branches       58       60       +2
==========================================
+ Hits          482      497      +15
  Misses         17       17

Impacted Files
Coverage Δ

src/lib/op-connect.ts
98.07% <100.00%> (+0.20%)
:arrow_up:

src/lib/resources.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


golua panic: Cannot compile r2

Description
Panics immediately at startup with latest master build. I've attached the full stack trace, but the initial panic message is this:
panic: Cannot compile r2 := Op(257)(r1, r4): invalid op [recovered]
        panic: Cannot compile r2 := Op(257)(r1, r4): invalid op

System info:

Hilbish v1.2.0-48-g1e48a3e
Void Linux in WSL2
Go 1.18.1

hilbish_panic_log.txt

this only happens when compiled with go 1.18 (works normally with 1.17.9), just waiting for a respond from golua


Update deps

Please provide a description of this PR:

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio_release-1.20
79ae643832ad2d9b5ad88a9653b6da6f6d014ca5
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes

Not sure why only build sha was updated, but this is what I get from update_deps.sh

@zirain PTAL, thanks


fix compile errors due to parallel compilation conflicts

When attempting to compile files from the given path, the lib will fail to compile due to compilation race conditions.
Change module loading to loading into AST, and extracting from there instead.

Pull Request Test Coverage Report for Build 91e553a5978df057cc64af17248a0038ca3119eb-PR-45

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
56 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-16.5%) to 30.294%

Files with Coverage Reduction
New Missed Lines
%

lib/inngest/function/step.ex
2
33.33%

lib/inngest/function.ex
54
14.12%

Totals

Change from base Build 45295348a571bbcc66e20f4487cce7434f8a6d3d:
-16.5%

Covered Lines:
103

Relevant Lines:
340

💛  - Coveralls


Persistent SSH Child Process

Is it possible to create a persistent connection to an IP over ssh and then be able to execute commands at will without having to ssh again?

You can call ssh but it won't be persistent out of the box. If the connection fails ssh will exit with an error. Have you looked at mush?

Is this what you mentioned: https://mosh.org?
All I really want to do is open several ssh connections (between raspberry pis) to be able to send commands at will without having to ssh every time. All the pis are on the same local network.

Yes I ment mosh sorry.
If you want to send messages between them why not use RabbitMQ with https://github.com/jakubkulhan/bunny ?

It sounds like you may want to run multiple commands in a single shell session? In this case, perhaps this may help you: https://github.com/clue/php-shell-react/blob/master/examples/bash.php
$shell = $launcher->createDeferredShell('ssh example.com');
$shell->execute('echo -n $USER')->then(function ($result) {
    var_dump('current user', $result);
});
$shell->execute('env | sort | head -n10')->then(function ($env) {
    var_dump('env', $env);
});

I hope this helps :+1:

What is the difference between the two? They seem to do relatively the same thing if I’m not mistaken. If I used the Child Process to establish a SSH connection, would it not persist until the connection is manually closed/on error? And then wouldn’t I be able to send commands through the connection? Or am I wrong? I didn’t see an example on the GitHub page that uses SSH. And if I used the PHP Shell React, would it be best to be used in conjunction with the child processes to prevent the rest of my app from being held up or does it already know to run as a child process? Thanks.

On Aug 12, 2017, at 4:09 AM, Christian Lück<EMAIL_ADDRESS>wrote:
It sounds like you may want to run multiple commands in a single shell session? In this case, perhaps this may help you: https://github.com/clue/php-shell-react/blob/master/examples/bash.php https://github.com/clue/php-shell-react/blob/master/examples/bash.php
$shell = $launcher->createDeferredShell('ssh example.com');
$shell->execute('echo -n $USER')->then(function ($result) {
var_dump('current user', $result);
});
$shell->execute('env | sort | head -n10')->then(function ($env) {
var_dump('env', $env);
});
I hope this helps 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/reactphp/child-process/issues/48#issuecomment-321974565, or mute the thread https://github.com/notifications/unsubscribe-auth/ALoAbkbW4GCXYEOY4QWba8N7kx7skQSxks5sXYfrgaJpZM4O1EJp.

You can of course also use new Process('ssh example.com'); and send commands via STDIN and receive the command output via STDOUT. This is exactly what the above project does under the hood, plus it takes care of providing a sane interface to detect where the output of the first command ends and the output of the next command begins.


Nice feature. Thanks. I will test it and then merge it.

I made some other mods, got a couple more I want  to do.
Will push these next week.
In the screenshot version below:

Many times I want to create a new subfolder for a bookmarm
-> It does stop instant bookmarking when an existing folder is selected, but that could made a simple option
Make it easy to launch Bookmark tab as sometime you just need to go in there if you decide you need to do some organising before bookmarking :)


apache-nginx-referral-spam-blacklist Integration

Would be super-awesome if your reverse proxy would support this project inside nginx: https://github.com/Stevie-Ray/apache-nginx-referral-spam-blacklist
So we could say definitely good bye to all these bad referrals from our websites :)
Thank you in advance!

Seems that it raises no interest. I found another way to do it. So I'm closing the issue.


Wrong distance for edge-based CH when using AStar

cacd3d7cdeef8eb1480ca592a2d888f8637d53ec
This caused the build to fail in #2060:

Unfortunately #2054 introduced a bug and there seem to be cases where AStar finds a worse path than Dijkstra. Therefore I made Dijkstra the default again for now here: f738fdfc4371477dfe39f433b7802f9f6348627a. We should also revisit why not more of our tests failed because of this.

Not sure if the same thing, but I just looked at today's failing test in the debugger, and it doesn't look very wrong to me.
The test complains about a "wrong distance" -- however, we are not optimizing for distance, but for travel time. The travel time difference between the reference route and the testee route is just 1 millisecond. This could be a rounding error.

The test complains about a wrong distance -- however, we are not optimizing for distance, but for travel time. The travel time difference between the expected route and the actual route is just 1 millisecond. This could be a rounding error. Meaning there are multiple best paths. Meaning no problem.

This can also happen, but was not the problem here. If there are equal weight paths that have different time/distance/nodes that is only counted as 'soft validation' and the tests will only fail when this happens too many times (normally it does not).


CI: Add Codecov token

codecov-action@4 requires a token.
Add it to the repository secrets.
See: https://github.com/vim/vim/pull/13978#issuecomment-1935336624

codecov-action is used twice in ci.yml

Ah, for linux and for windows. Fixed.


Sensor firmware download

The smartmicro sensors every now and than require firmware updates. As of now the firmware download is available using the internal smartmicro DriveRecorder tool. This issue is created to initiate a new feature for the smartmicro ros2 driver. The driver should be able to perform a firmware download on the connected sensor. A PR would follow which will tracks this development.

The feature is now available and I am closing this issue.


fix: parse $refs containing the hash symbol correctly

What/Why/How?
Since the last release, $refs has been resolved incorrectly when a file names contain the hash character. This was due to splitting URIs by '#' instead of '#/'.
This PR reverts this change while still allowing URIs to end with '#'.
Reference
Fixes https://github.com/Redocly/redocly-cli/issues/1441
Corresponding docs: https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-00#idExamples
Testing
Screenshots (optional)
Has code been changed?

[x] Tested with redoc/reference-docs/workflows (internal)
[x] All new/updated code is covered with tests

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Hi @maininformer! I've updated your change a bit. Could you check if it still works for you?

Hi @maininformer! I've updated your change a bit. Could you check if it still works for you?

Hey @tatomyr, I have an e2e test for this; if it passes I'm happy, it's called reference-ending-in-hash. See here
Maybe unrelated, but I see in your changes:
  const [uri, pointer = ''] = ref.split('#/');
  return {
    uri: (uri.endsWith('#') ? uri.slice(0, -1) : uri) || null,

I am not sure if uri will ever end with #, unless there is a typo; because we are splitting it by #/ here. Example:
> 'someUri#/pointer'.split('#/')
['someUri', 'pointer']

@tatomyr sorry for the confusion, I was referring to this line:
uri: (uri.endsWith('#') ? uri.slice(0, -1) : uri) || null,

After running const [uri, pointer = ''] = ref.split('#/'); on a ref, the uri will not end in # anymore, because we have split on #/. Meaning, we will never reach uri.slice(0, -1).
Unless we have something like: someUrl##/somepointer

After running const [uri, pointer = ''] = ref.split('#/');

if ref = './info.json#' then after splitting we will recieve uri = './info.json#', pointer = '' (because there's no #/ splitter in the ref). Then, the uri.endsWith('#') statement will be true. Does that make sense?

Ah I see. Smart! Thanks for explaining.


EmotionDetectionNN

Based on RTSPFaceDetection.ino,
how do I create the following add into FDPostProcess ?
img = CV2.crop(frame)
img = CV2.rgb2gray(img)
img = CV2.resize(img, (48, 48))
emo = NNemotiondetection.predict(img)
my emotion detection model is trained by
kaggle.com/rkuo2000/fer2013
Pretrained README
file : fer2013_cnn.h5 (1.26MB)
total params = 103,143
input_shape = (48,48,1)
test accuracy = 54.89% (model size is minimized, so accuracy is reduced ! )

RTSPFaceDetection is based of mobilefacener and scrfd model not CNN. refer to common_nn_models


Fix unreleased link in CHANGELOG

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.54%. Comparing base (2030831) to head (bbcffed).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
- Coverage   87.88%   87.54%   -0.35%
==========================================
  Files          11       11
  Lines         586      586
==========================================
- Hits          515      513       -2
- Misses         71       73       +2

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


How to access image files with URL

I am trying to store an image in the static files directory "public/", but I'm getting a 404 error.
How can I access images like this:
localhost:5000/image.jpg

Nvm, I was silly and didn't restart the server.


Yosys Optimization Error: Optimization Stuck in PEEPOPT Pass

Version
Yosys 0.30+48
On which OS did this happen?
Linux
Reproduction Steps
Hello,
I encountered an issue while using Yosys to synthesize a Verilog file.
I used the Verilog file rtl.v, and during the Yosys synthesis, the process got stuck for a long time.
I have minimized the test case as much as possible to help with troubleshooting. Attached is the Verilog file (rtl.v) that triggers this issue. I hope to get the community's help and attention.
design_file.zip
Expected Behavior
The synthesis process completes successfully within a reasonable time frame.
Actual Behavior
The synthesis process gets stuck at the PEEPOPT pass and does not complete.

This is another variant of the peepopt issues already seen. The newly merged #4455 should prevent this type of issue, but unfortunately because of the int precision issues -offset*shiftadd_max_ratio overflows and becomes negative, preventing the check from catching this.
#4448 (not yet merged) fixes this by limiting the widths so you can't get int overflow.

This is another variant of the peepopt issues already seen. The newly merged #4455 should prevent this type of issue, but unfortunately because of the int precision issues -offset*shiftadd_max_ratio overflows and becomes negative, preventing the check from catching this.
#4448 (not yet merged) fixes this by limiting the widths so you can't get int overflow.

Thank you very much for your response and help.


chore: extra orchestrator debug logs

Overview

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Summary by CodeRabbit

Chores

Enhanced logging for connection recovery and various network operations to improve monitoring and troubleshooting.

Refactor

Streamlined debug logs to reduce redundancy and improve clarity of log messages.

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

Comparison is base (2496504) 25.91% compared to head (a5927d5) 25.81%.

Files
Patch %
Lines

orchestrator/orchestrator.go
0.00%
12 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #633      +/-   ##
==========================================
- Coverage   25.91%   25.81%   -0.11%
==========================================
  Files          29       29
  Lines        3044     3056      +12
==========================================
  Hits          789      789
- Misses       2160     2172      +12
  Partials       95       95

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


provide a way to unshare files

[ ] egui
[ ] iOS
[ ] macOS
[ ] cli
[ ] android

"exists in core just needs uis to expose" - @tvanderstad

Once we have this, we should cleanup the old accounts on our lockbook folder


feat: Better VS Code Server documentation

🆒 Your use case
I found it a little confusing to install, as there exists concepts such as code tunnel which isn't the code-server the dev tools use.
🆕 The solution you'd like
I think the link in the devtools should point to a different page which explains the difference between code server and code tunnel, and additionally link them to coder.com

Yeah, I still can't figure how to make it work


ValueError: Variable <tf.Variable 'conv1_5/kernel:0' shape=(3, 3, 3, 32) dtype=float32> has None for gradient. Please make sure that all of your ops have a gradient defined (i.e. are differentiable). Common ops without gradient: K.argmax, K.round, K.eval.

I'm trying a new model involving word embedding for labels as well as Image classification in order to increase accuracy of the Image classifier.
I'm using tensorflow 1.15.0 Version.
Here is the code of the model and summary.
def build_mobilenet_embedd_model(img_input ):
    input_x = Input(shape = (img_input.shape[1:]), name='feature')
    base_model = MobileNet(include_top= False, input_shape=img_input.shape[1:], weights='imagenet')(input_x)
    avgpool_x = GlobalAveragePooling2D()(base_model)
    dense1_x = Dense(2048, activation='relu')(avgpool_x)
    batch1_x = BatchNormalization()(dense1_x)
    dropout1_x = Dropout(0.2)(batch1_x)
    dense2_x = Dense(512, activation='relu')(dropout1_x)
    batch2_x = BatchNormalization()(dense2_x)
    dropout2_x = Dropout(0.2)(batch2_x)
    predictions = Dense(len(all_labels), activation='relu')(dropout2_x)
    embedd_layer = Embedding(13, 100, weights=[embedding_matrix], trainable=False,name = "embedding_1")(predictions)
    flatten = Flatten(name="flatten")(embedd_layer)
    final_predictions = Dense(13, activation='relu')(flatten)
    model = keras.models.Model(inputs= input_x, outputs = final_predictions)
    model.compile(optimizer='adam', loss='binary_crossentropy', metrics= METRICS
    model.summary()
    return model

and here is the summary:-
Model: "model_4"
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
feature (InputLayer)         [(None, 128, 128, 3)]     0
_________________________________________________________________
mobilenet_1.00_128 (Model)   (None, 4, 4, 1024)        3228864
_________________________________________________________________
global_average_pooling2d_5 ( (None, 1024)              0
_________________________________________________________________
dense_16 (Dense)             (None, 2048)              2099200
_________________________________________________________________
batch_normalization_10 (Batc (None, 2048)              8192
_________________________________________________________________
dropout_10 (Dropout)         (None, 2048)              0
_________________________________________________________________
dense_17 (Dense)             (None,<PHONE_NUMBER>
_________________________________________________________________
batch_normalization_11 (Batc (None, 512)               2048
_________________________________________________________________
dropout_11 (Dropout)         (None, 512)               0
_________________________________________________________________
dense_18 (Dense)             (None, 13)                6669
_________________________________________________________________
embedding_1 (Embedding)      (None, 13, 100)           1300
_________________________________________________________________
flatten (Flatten)            (None, 1300)              0
_________________________________________________________________
dense_19 (Dense)             (None, 13)                16913
=================================================================
Total params: 6,412,274
Trainable params: 6,383,966
Non-trainable params: 28,308
_________________________________________________________________

Adding embedd_layer  and flatten layer after the layer prediction resulted in this error to pop-up,
when I run the model fit I'll get this error message.
ValueError: Variable <tf.Variable 'conv1_5/kernel:0' shape=(3, 3, 3, 32) dtype=float32> has `None` for gradient. Please make sure that all of your ops have a gradient defined (i.e. are differentiable). Common ops without gradient: K.argmax, K.round, K.eval.

@WrathofBhuvan11,
TensorFlow 1.x is not actively supported. Could you please update TensorFlow to v2.3 and check if you are facing the same issue? Thanks!

@WrathofBhuvan11,
TensorFlow 1.x is not actively supported. Could you please update TensorFlow to v2.3 and check if you are facing the same issue? Thanks!

I tried in tf Version 2
I'm getting this error,
InvalidArgumentError:  assertion failed: [predictions must be <= 1] [Condition x <= y did not hold element-wise:] [x (model/dense_3/Relu:0) = ] [[0.179184318 1.62250423 0...]...] [y (metrics/auc/Cast_2/x:0) = ] [1]
[[{{node metrics/auc/assert_less_equal/Assert/AssertGuard/else/_11/Assert}}]] [Op:__inference_distributed_function_8508]
Function call stack:
distributed_function

@WrathofBhuvan11,
TensorFlow 1.x is not actively supported. Could you please update TensorFlow to v2.3 and check if you are facing the same issue? Thanks!
Hello sir I have given complete detail of this new error which I'm getting in tf version 2 in this link
https://github.com/tensorflow/tensorflow/issues/45241

@WrathofBhuvan11,
Can you please close this issue as it is already being tracked in #45241. Thanks!


Time for training teacher model is quite slow.

I have trained the teacher model from the scratch with 14900 utterances ~ 40 hours on the Vietnamese dataset.
The model takes about 30 minutes for an epoch with GPU V100 32G VRAM and batch size = 64.

According to your paper, this model is trained by GPU GTX 1080 batch_size = 64. It takes about 4.56 minutes for one epoch.

Can you help me improve the training speed?

Hi, thanks for trying this model out! Could you share the code adjustments you had to make in order to to train on your dataset?
Could you please try to train the teacher with the LJSpeech dataset and provide how long one epoch takes?
Some things that could be happening:

Your audio has different sample rate and it gets resampled every time you load a batch into memory (happens on the fly)
If you use a different phonemizer, the phonemizer could be slow (conversion happens on the fly)
Your machine has slow I/O for some reason - where do you store your dataset?

I will be able to help more if yo show me your code changes. Regards :)

faced the issue 1), and to workaround, did preprocessing to generate normalized spectrogram (both minmax normalized and standard normalized) and used for teacher and student model respectively.

So is the training working fast now? Or did you do the workaround before and there is some other problem? Btw you can resample your dataset with sox or ffmpeg and use the resampled audio too.

Good news :) Let me know how the training goes or if there are any issues.