error - SavedNodeMissingMacaroonData

running under btcpayserver
docker run -it --rm --network="generated_default" -v $HOME/.bos:/home/node/.bos -v $HOME/.lnd:/home/node/.lnd:ro alexbosworth/balanceofsatoshis balance --node xxxxx
credentials.json inside xxxxx folder
{
"socket": "lnd_bitcoin:10009"
}
getting this error
err:

400
SavedNodeMissingMacaroonData

removed all macaroons from lnd data directory, restarted lnd, but same error
any ideas how to solve this?

if you use credentials.json you need to put the macaroon or macaroon path and cert or cert path

I'm not sure how btcpayserver is laid out, but it will look for the cert at the default path like ~/.lnd/tls.cert

got it working to a certain state, and after "No connection established" message, added an IP instead of lnd_bitcoin in credentials.json, but now have the TLS error and it pretty much freezes the terminal...tried to replace IP with hostname but then still get "No connection established" - Also trying to run the tradesecret to get into the private telegram group but i think i got the syntax wrong..;)...(docker run -it --rm -v $HOME/.bos:/home/node/.bos alexbosworth/balanceofsatoshis trade-secret: 626f73ff0001010425002302210288be11d147e1525f7f234f304b0)

trade-secret will require bos can connect to lnd first
no connection implies some kind of networking issue

got it working to a certain state, and after "No connection established" message, added an IP instead of lnd_bitcoin in credentials.json, but now have the TLS error and it pretty much freezes the terminal...tried to replace IP with hostname but then still get "No connection established" - Also trying to run the tradesecret to get into the private telegram group but i think i got the syntax wrong..;)...(docker run -it --rm -v $HOME/.bos:/home/node/.bos alexbosworth/balanceofsatoshis trade-secret: 626f73ff0001010425002302210288be11d147e1525f7f234f304b0)

did you get his to work?
if I use the docker containers name of lnd btcpayserver_lnd_bitcoin
i get a
- 503
- UnexpectedErrorWhenGettingChainBalance
-
  err:
    message: 14 UNAVAILABLE: No connection established. Last error: Hostname/IP does not match certificate's altnames: Host: btcpayserver_lnd_bitcoin. is not in the cert's altnames: DNS:1991ddf8dcfd, DNS:localhost, DNS:lnd_bitcoin, DNS:unix, DNS:unixpacket, DNS:bufconn, IP Address:<IP_ADDRESS>, IP Address:0:0:0:0:0:0:0:1, IP Address:<IP_ADDRESS> (2023-12-30T10:22:35.983Z)
    stack:
      - Error: 14 UNAVAILABLE: No connection established. Last error: Hostname/IP does not match certificate's altnames: Host: btcpayserver_lnd_bitcoin. is not in the cert's altnames: DNS:1991ddf8dcfd, DNS:localhost, DNS:lnd_bitcoin, DNS:unix, DNS:unixpacket, DNS:bufconn, IP Address:<IP_ADDRESS>, IP Address:0:0:0:0:0:0:0:1, IP Address:<IP_ADDRESS> (2023-12-30T10:22:35.983Z)

@alexbosworth do you have an Idea why we dont get bos connected to btcpay servers lnd container?

Looks like a networking/tls error so like maybe telnet to the ip if that works then look at the certificate to make sure it's scoped to the ip/name

@alexbosworth
Hinalex. We got a working config
Thanks to @petzsch
Maybe you can put this into your MD
# run as root (run: sudo su -)
nano $HOME/.bos/btcpay/credentials.json

{
  "cert_path": "/root/.lnd/tls.cert",
  "macaroon_path": "/root/.lnd/admin.macaroon",
  "socket": "lnd_bitcoin:10009"
}

docker run --user root:root -it --rm --network=generated_default -v $HOME/.bos:/root/.bos -v /var/lib/docker/volumes/generated_lnd_bitcoin_datadir/_data:/root/.lnd:ro alexbosworth/balanceofsatoshis --node btcpay report

Greetings


Would this help me secure a REST API with SAML?

Sorry, I know this isn't an issue but rather a question :D

yes it can i had it work with netflix zuul as a service gateway. So every thing below the gateway was protected which allowed me to not have any security logic in my service code

that's great @samtheprogrammer thanks for jumping in. Would you be able to produce a sample app that we can add to the examples repo?

Sure i can do that

awesome, thanks!

@samtheprogrammer that sounds interesting. I'd totally appreciate a sample too!

hey @samtheprogrammer any progress on the sample app?

Any update on the sample? @samtheprogrammer

sorry been busy with work. Yeah i have the sample

I would also be very interessted by an example of how to solve this problem. I'll do some research on my side in the meantime and post it here if I find anything.

I added the code here https://github.com/samtheprogrammer/springboot-saml-gateway
you guys can check it out

Thanks for the demo which I can download and run. Is there a username and password to log in to the demo?

@java-dude  i think it was user<EMAIL_ADDRESS>pass: Test1234!

@java-dude i think it was user<EMAIL_ADDRESS>pass: Test1234!

@samtheprogrammer Thanks, that worked! Nice when a simple demo helps to explain some tricky concepts :)
@samtheprogrammer @ulisesbocchio and team
Since you originally put this together it seems Spring security team completely overhauled the SAML core library back in Oct 2019 with a major v2 release so would you recommend doing this a different way now? Again I'm looking for a simple example being new to SAML.
We  do have a Zuul gateway in front of all our microservices which currently implements spring security access via JWT and is called by our webapps when they want to access the microservices. But now we have a separate requirement from the business to implement SAML authentication for our web apps (not behind gateway) and I'm wondering whether to implement it in the same gateway or if possible as a separate service called by the webapps via the gateway.
Any pointers would be appreciated from experienced people such as yourselves who have already travelled down this path :)

@java-dude  what you asking is more of a design question. I would prefer same gateway for all apps and microservices, pass user context in headers or some other form to the microservices.  It will be easier to maintain if you decide to change authentication protocol in the future. Also lot of load balancers support saml like nginx if you are looking for more performance

I haven't tried the new SAML v2 library from Spring. Last time I checked it wasn't fully fleshed out. It looks to me that's still the case. I agree with you that it's better to keep the authentication implementation on your gateway. The one aspect you'd have to deal with is that SAML is not an API authentication protocol, so you can't really use SAML after the user signs in for future API requests. The are usually 2 options around this:
1 - Use session. Once your user is authenticated through SAML your Spring app can generate an authenticated session and push a session cookie to the client. Then session is then retrieved on each request to remember the user. You'd need a central session store (Redis, Database) and the Spring session plugin. This is not the most secure approach so you'd have to keep the sessions relatively short lived, forcing the user to re-authenticate every so often.
2 - Use a different protocol. OAuth2 is typically used for this purpose. One option you have is to use Spring CF UAA (https://starkandwayne.com/blog/configure-uaa-with-saml-as-service-provider/) with a SAML Service Provider. Your apps only speak OAuth2 and UAA will do the heavy lifting and provide an OAuth2 Token after you successfully login through SAML. Or you can create create something similar to UAA yourself, having a Spring Boot app with 2 inter-connected security realms, one SAML, one OAuth2 and plugin the SAML auth flow to the beginning of your OAuth flow. Something like OAuth2 -> SAML -> OAuth2. Which is essentially what UAA does

@ulisesbocchio Thanks for the detailed feedback. Hmm so as i suspected seems like v2 library is in flux and going for Spring saml v1 library may still be the way to go. So was originally thinking to try keep the current Spring Security JWT authentication we already have in the gateway for APIs but also implementing the SAML user authentication for the webapps for SSO here somehow or as a service called by the gateway although not sure how this would work in reality as being new to this. Will look at both options you suggested above though - thanks for the link.

@java-dude i think it was user<EMAIL_ADDRESS>pass: Test1234!

@samtheprogrammer Looks like its changes, can you share updated one


HTTP 502 json: cannot unmarshal string into Go struct field .expires_in of type float64

Describe the bug
I'm trying to build a fairly simple demo environment with Azure AD.
Config:
app:
kind: Service
apiVersion: v1
metadata:
  name: nginx-service
  namespace: default
spec:
  selector:
    app: nginx
  type: ClusterIP
  ports:
  - name:  web
    port:  80
    targetPort:  80
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  namespace: default
  labels:
    app: nginx
spec:
  replicas: 3
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.14.2
        ports:
        - containerPort: 80

Filter + Policy:
---
apiVersion: getambassador.io/v2
kind: Filter
metadata:
  name: azure-ad
  namespace: default
spec:
  OAuth2:
    authorizationURL: https://sts.windows.net/<tenant-id>/
    clientID: <clientid>
    secret: <password>
    protectedOrigins:
    - origin: "https://localhost/backend/"
---
---
apiVersion: getambassador.io/v2
kind: FilterPolicy
metadata:
  name: nginx-policy
  namespace: default
spec:
  rules:
    - host: "*"
      path: /backend/
      filters:
        - name: azure-ad

When going to the url, i'm properly redirected to Azure AD, and redirected back. But I receive this response:
time="2020-08-03 08:57:15" level=error msg="HTTP 502 json: cannot unmarshal string into Go struct field .expires_in of type float64" func=github.com/datawire/apro/cmd/amb-sidecar/filters/handler/middleware.errorResponse file="github.com/datawire/apro/cmd/amb-sidecar/filters/handler/middleware/errors.go:82" FILTER=azure-ad.default MAIN=http REQUEST_ID=16837556474841453502 SUB=http-handler
Logs of the ambassador pod do not show anything else.
To Reproduce
Steps to reproduce the behavior:

Deploy files
Go to https://localhost/backend/
Login
See error

Expected behavior
Backend response
Versions (please complete the following information):

Ambassador: 1.6.2
Kubernetes environment: Docker Desktop
Version 1.16

Hey @FireDrunk did you found out what was the issue?

I had also the issue and it was azure ad version conflict. Make sure you have the right setup.
if it's v2.0 should be something like that in filter.yaml
authorizationURL: "https://login.microsoftonline.com/{{ tenantId }}/v2.0"

Please retry on Azure AD 2.0 and feel free to reopen if not resolved.


during docker-compose ... up there are many exceptions

mn-kraken.log

Fixed the exception from db migrations script. Now it waits for postgresql to be up.


Improve world hopper sorting

Put worlds with unknown ping at the bottom of the list and fix secondary sorting when sorting by activity, e.g. when sorting by "Ping" and then by "Activity".
Here's a couple of images comparing the results of sorting by "Ping" and then by "Activity":

Before
After

Closes https://github.com/runelite/runelite/issues/8176

This looks like a nice cleanup. Can you split the behavior change (which I think is just the ping sorting?) into a separate commit from the order refactoring?


Rename errno.h and stdio.h to swiftsyntax_errno.h and swiftsyntax_stdio.h

In some build scenarios compilers get confused if a file named errno.h includes errno.h, even if it’s intended to be from a different directory. Renaming the files in swift-syntax works around that issue.

@swift-ci Please test


Will there be an update to support Expo router V2?

Currently, the package requires Expo router V1.5 and Expo router V2 released and is stable. I am desperate for TopTab support with the expo router. Are you going to update this package to support V2?

Yes - this would be awesome

@vinodsptharsha What issue do you have with Expo Router V2?

I am able to use this with V2 but do get a decent amount of warnings as its dependencies are outdated

@BoavistaLudwig Unable to install as dependencies are outdated.

You can setup top tab for expo router v2 like so.
`import { createMaterialTopTabNavigator } from "@react-navigation/material-top-tabs";
import { withLayoutContext } from "expo-router";
const Tab = createMaterialTopTabNavigator();
const { Navigator } = createMaterialTopTabNavigator();
export const TopTab = withLayoutContext(Navigator);
`

the example given is for material top tab, how about expo-router-top-tabs?

How can I make the Top Tab Scroll upwards whenever I scroll up on the screen.
For example: The YouTube Channel Screen has a header, then below it a similar Top Tab Navigation Bar and then below the bar the content according to the tab of Top Tab Nav. When u scroll on that screen the content and the top tab and the header all move up

How can I make the Top Tab Scroll upwards whenever I scroll up on the screen.
For example: The YouTube Channel Screen has a header, then below it a similar Top Tab Navigation Bar and then below the bar the content according to the tab of Top Tab Nav. When u scroll on that screen the content and the top tab and the header all move up


Impossible to update braces to ^3.0.3

Describe the bug
On my local machine
After running npm audit and npm audit fix I get the warning:
1 high severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
quasi@quasiBlip astro-ananda % npm audit
# npm audit report

braces  <3.0.3
Severity: high
Uncontrolled resource consumption in braces - https://github.com/advisories/GHSA-grv7-fg5c-xmjg
fix available via `npm audit fix`
node_modules/netlify-cli/node_modules/braces

1 high severity vulnerability

To address all issues, run:
  npm audit fix

When checking the braces package in node_modules/netlify-cli/node_modules/, I see it's version's 3.0.2
On GitHub
Also trying to solve the issue through Dependabot throws an error:
 Dependabot encountered an unknown error

Steps to reproduce

In the netlify UI, I've created an Astro site with the astro-netlify-platform-starter
Installed the netlify-cli on my local machine by running npm install netlify-cli --save-dev
Linked my local project to the Astro site on Netlify, to an empty repo on Github, and linked the Netlify site to the repo.
Updated my local installation through npm update
I get the above mentioned error.

Configuration
[[redirects]]
from = "/es/*"
to = "/es/404.html"
status = 404
[[redirects]]
from = "/*"
to = "/404.html"
status = 404
Environment
Had to use npx node_modules/netlify-cli/node_modules/envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli
  System:
    OS: macOS 14.5
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 809.07 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.5.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.2.4 - /usr/local/bin/npm
    pnpm: 9.0.6 - /usr/local/bin/pnpm
  npmPackages:
    netlify-cli: ^17.29.0 => 17.30.0

Here's the content of the package.json:
{
  "name": "astro-netlify-platform-starter",
  "type": "module",
  "version": "0.1.0",
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro build",
    "preview": "astro preview",
    "astro": "astro"
  },
  "dependencies": {
    "@astrojs/netlify": "^5.2.0",
    "@astrojs/partytown": "^2.1.1",
    "@astrojs/react": "^3.3.0",
    "@astrojs/sitemap": "^3.1.6",
    "@astrojs/tailwind": "^5.1.0",
    "@fontsource-variable/montserrat": "^5.0.19",
    "@fontsource/inter": "^5.0.18",
    "@netlify/blobs": "^7.3.0",
    "@netlify/functions": "^2.8.0",
    "@types/react": "^18.2.79",
    "@types/react-dom": "^18.2.25",
    "aos": "^2.3.4",
    "astro": "^4.6.2",
    "astro-favicons": "^2.0.2",
    "blobshape": "^1.0.0",
    "marked": "^13.0.0",
    "marked-shiki": "^1.1.0",
    "netlify-cli": "^17.29.0",
    "node-html-parser": "^6.1.13",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "sass": "^1.77.6",
    "swiper": "^11.1.4",
    "tailwindcss": "^3.4.3",
    "unique-names-generator": "^4.7.1"
  },
  "devDependencies": {
    "@types/blobshape": "^1.0.3",
    "@types/node": "^20.12.7",
    "daisyui": "^4.10.2"
  }
}

cc @sarahetter

fwiw this has been around for about a month - I was hoping the new tooling mentioned in #6508 would have meant this got addressed in a timely fashion, but it has not 😞

I have the same issue.
I have manually removed Netlify CLI form modules and package.json to reinstall and the problem just comes back.

@DavidWaters-AP it's because Netlify use npm-shrinkwrap.json so it locks every dependency in its entire tree, which npm does not allow you to ignore so we're reliant on Netlify to keep their dependencies up to date

Closing as resolved for braces (has been updated) and as duplicate topic for #6731


PARQUET-935: Set version to shared library

.deb package builder assumes that shared libraries have version.
See also: https://www.debian.org/doc/debian-policy/ch-sharedlibs.html

Oops, can you rebase? thanks

Done!


Revise static beam formulation

TBD

The two unit test failures seem to be identical to what was on the branch before my CUDA fixes were pushed.  Let me know if it looks like I changed behavior on the CPU side

@deslaughter @ddement This needs some additional work with the non-zero force regression test case, however, I think we can go ahead and merge this upon review. I'll add more regression tests (and likely logic to add generalized forces) as a separate PR.


[BOP-96] Improve the install process

https://mirantis.jira.com/browse/BOP-96
This makes it so the install script supports specifying a version and uses the checksum to verify the file. I also updated the docs to reflect this.
Running Locally
The script will now look for a VERSION env file and install the specified version if it is defined. Otherwise it will default to the latest.
VERSION=<desired version> install.sh

@ranyodh @nwneisen I tried install.sh, it fails with:
Verifying checksum...
+ sha256sum -c boundless_.0.16-alpha_checksums.txt --ignore-missing
+ [[ 127 -ne 0 ]]
+ echo 'Checksum verification failed. Exiting without installing'
Checksum verification failed. Exiting without installing
+ exit 1

It expects sha256sum that I don't have it on my mac and most users won't have it if on mac. I also wonder if we need checksum test? e.g. Comparing with other popular CLI tools, https://github.com/k3d-io/k3d/blob/main/install.sh they do not seem to test it - not that we need to blindly follow them but install should be almost simplest and secure experience, so if we indeed need to do checksum test, we should do in such a way it works across all platforms out of the box.

@vivek Thanks for checking this. I meant to double back.
I would prefer we run the checksum so that we are "secure by default". shasum looks to be the default command on mac but it is not on all linux distros. I've seen this handled before by checking which is installed and running the command accordingly. I will do a followup PR to fix this.

Thanks @nwneisen. Because install.sh is broken for Mac users, maybe we revert this merged PR?

Quick fix so I didn't mess with rolling back this change: https://github.com/Mirantis/boundless/pull/9


divide by zero exception (zero height?)

was testing some stretched screen stuff with map info: https://github.com/sylae/tm-map-info/issues/3
The game is in fullscreen (not boarderless) and I get this when alt tabbing:
https://github.com/nbeerten/tm-refresh-leaderboard/blob/b30b5803c284e3bedb50217add1b8aaf2fe4fe70/src/Main.as#L55

Thanks!

Also fixed the thing in your comment now; Check's for Draw::GetHeight() and Draw::GetWidth() are done independently now.


doc: added blog

Added Blog on IntelSGX in the main documentation for a better grasp of the subject.

It is my opinion that all content on the Enarx website should be for Enarx and the supporting technologies. Any editorials should be part of Enarx, and not on third party domains. There shouldn't be a reason to look at a blog post about SGX for a project which uses SGX. The Enarx site should be a source of SGX information as needed by the project itself, or to links to Intel as the definitive and authoritative source.
That said, having a link to Wasm.builders as part of a set of links related to community would be fine, but not for any one individual's blog.

Thanks.
So can we do this ??

Thanks.
So can we do this ??
"Checkout relatable blogs on" ?

How about a link to Wasm.builders under the community section of the menu? Just simply called something like "Wasm Builders" or "Wasm.builders", using the same icon as the others (box with arrow on the right) to indicate that the link takes the visitor to a new domain.

I think we already have it in the initiative section.

Perhaps @nickvidal can weigh in. Also, we should probably remove the cryptle hack challenge, that's been done for a while.

@rjzak  My motive was to direct people to the topic-related blog. So that they don't have to search it on the WASM BUILDERS.  So the intel SGX used in ENARX, diving deep into its introduction could be helpful. That's why I wrote blogs specifically on a particular subject that we are using in order to build enarx. Linking just below what the topic actually is might save some time.
I Would like to know what you think bout this. Otherwise I understand with what your intents are here.https://github.com/enarx/website/pull/128#issuecomment-1464819556

@maveraw Then it should be a link to a tag or category, not your blog post. But it's @nickvidal's decision. Or better, have some of the content as documentation in the Enarx website, where appropriate, not a separate site. All the information that people need to use Enarx should be on Enarx's page, or at some Intel/AMD source documentation. Blogs aren't authoritative.


Add Scikit Learn Choosing the Right Estimators cheatsheet

What does this PR do?
Add cheatsheet
For resources
Description
SVG cheatsheet from scikit-learn doc. The reason it's in a separate subsection because the list is focused on machine learning. There is nothing much related to vanilla Python.
Why is this valuable (or not)?
Yes it is. Choosing the right estimator is a really difficult task. Multiple one have to be tested, which is time consuming.
How do we know it's really free?
It's from official scikit learn documentation which is an open source library.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[X] Read our contributing guidelines.
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction).
[X] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

you should add https://scikit-learn.org/stable/user_guide.html as book, not chapter 12 as a cheatsheet. it should be in machine learning

Thank you for your feedback. I have done as you said so.
But now I'm getting this false positive linter error. The title of web page is just "User Guide" which is ambiguous. So I appended "[Scikit Learn]" before the title.
Technically, sc should come before sp. But due to introduction of "[]", maybe linter got it wrong.
Can you please tell me how to proceed?
@eshellman

You have discovered that our linter wants to include punctuation in its sorting - that's just what it does.
One other source for titles is the page's title tag, which in this case contains "User Guide — scikit-learn 1.5.2 documentation".
So I would use "User Guide — scikit-learn" because we're not interested in tracking the version number. One reason we use titles from the resource is that we want contributors to pick the same title years from now and avoid duplications.

You have discovered that our linter wants to include punctuation in its sorting - that's just what it does.
One other source for titles is the page's title tag, which in this case contains "User Guide — scikit-learn 1.5.2 documentation". So I would use "User Guide — scikit-learn" because we're not interested in tracking the version number. One reason we use titles from the resource is that we want contributors to pick the same title years from now and avoid duplications.

Done.
Please review again.


refactor(frontend): refine the doc & impl for batch traits

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?

Improve docs for ToBatch traits
Some implementation of to_xxx_with_required is useless, so remove them. Actually there are no useful implementations for now.

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

@mergifyio requeue


GestureDetector.onTap is triggered instead of onLongPress inside tester.runAsync

Steps to Reproduce
I have a GestureDetector with a onLongPress callback to open an AlertDialog. My Dialog contains a Timer so I have to wrap my test code inside tester.runAsync but I discovered that the onTap callback is triggered instead of onLongPress.
This is a simplified example. Same behavior between stable and master channels

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(home: MyApp()));
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: GestureDetector(
        child: Icon(Icons.settings),
        onTap: () {
          print("tap");
        },
        onLongPress: () {
          print("long press");
        },
      ),
    );
  }
}

import 'package:flutter/material.dart';
import 'package:flutter_playground/main.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('without runasync', (WidgetTester tester) async {
    await tester.pumpWidget(MaterialApp(home: MyApp()));
    await tester.longPress(find.byIcon(Icons.settings)); // onLongPress triggered
  });

  testWidgets('with runasync', (WidgetTester tester) async {
    await tester.runAsync(() async {
      await tester.pumpWidget(MaterialApp(home: MyApp()));
      await tester.longPress(find.byIcon(Icons.settings)); // onTap triggered !
    });
  });
}

Logs

$ flutter test test/test_widget.dart
00:02 +0: without runasync
long press
00:02 +1: with runasync
tap
00:02 +2: All tests passed!

$ flutter analyze
Analyzing flutter_playground...
No issues found! (ran in 16.8s)

flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.1006, on Fedora Linux 35 (KDE Plasma) 5.15.6-200.fc35.x86_64, locale fr_FR.UTF-8)
    • Flutter version 2.6.0-12.0.pre.1006 at /home/william/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 08f779a328 (il y a 14 minutes), 2021-12-13 17:44:07 +0000
    • Engine revision f16c96c31f
    • Dart version 2.16.0 (build 2.16.0-85.0.dev)
    • DevTools version 2.9.1

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/william/Android/Sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 13.0.0 (Fedora 13.0.0-3.fc35)
    • cmake version 3.22.0
    • ninja version 1.10.2
    • pkg-config version 1.8.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:198:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:302:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at /home/william/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.5744.223
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.63.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Fedora Linux 35 (KDE Plasma) 5.15.6-200.fc35.x86_64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.93

! Doctor found issues in 3 categories.

Hi @woprandi, thank you for filing this issue, I verified this on the latest stable and master channel and it is reproducible.

logs
  long press
✓ without runasync
tap
✓ with runasync
Exited

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.0, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.8.0 at /Users/flo/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (5 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 93.0.4577.63
    ! Device emulator-5554 is offline.

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.6.0-12.0.pre.1027, on macOS 11.6.1 20G224 darwin-x64, locale en-US)
    • Flutter version 2.6.0-12.0.pre.1027 at /Users/flo/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 31d366a051 (2 hours ago), 2021-12-14 00:59:08 -0500
    • Engine revision 30f048de39
    • Dart version 2.16.0 (build 2.16.0-85.0.dev)
    • DevTools version 2.9.1

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/flo/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 93.0.4577.63
    ! Device emulator-5554 is offline.

! Doctor found issues in 1 category.

Thank you

I have got the same problem, I think the problem is :
' await pump(kLongPressTimeout + kPressTimeout); '(in longPressAt function)
is not work as expected, in runAsync environmen.
a simple work around is :
replace
'await pump(kLongPressTimeout + kPressTimeout); '
with
'await Future.delayed(kLongPressTimeout + kPressTimeout); ' in longPressAt function.

That fix didn't actually work for me, although I had to use tester.binding.delayed to prevent a pending timer. Does anyone have any good workarounds? Especially since this is marked as unlikely to be addressed

Any update?


[BUG] Compiler warnings/errors - can't build no matter what i try

I am unable to build this. I've been very careful, tried a bunch of things, no luck. I am following instructions very carefully. On Ubuntu, I install deps first:
apt-get install -y git wget flex bison gperf python3 python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 python3-pip

then I install esp-idf:
cd ~/esp
git clone -b v4.4.2 --recursive https://github.com/espressif/esp-idf.git
esp-idf/install.sh esp32

Now from this directory I do
. $HOME/esp/esp-idf/export.sh
idf.py set-target esp32
idf.py build

I get pretty far into the build, but then it fails, here are some snippets of the errors I am seeing. I can't find any solutions searching around:
/home/md/Documents/bird-buddy-v2-esp/main/networking/wifi/app_wifi.c:218:79: warning: passing argument 3 of 'esp_event_handler_register' from incompatible pointer type [-Wincompatible-pointer-types]
     ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL));
                                                                               ^~~~~~~~~~~~~~
/home/md/esp/esp-idf/components/esp_common/include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK'
         esp_err_t err_rc_ = (x);                                        \
                              ^
In file included from /home/md/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:56,
                 from /home/md/Documents/bird-buddy-v2-esp/main/networking/wifi/app_wifi.c:12:
/home/md/esp/esp-idf/components/esp_event/include/esp_event.h:153:58: note: expected 'esp_event_handler_t' {aka 'void (*)(void *, const char *, int,  void *)'} but argument is of type 'void (*)(void *, const char *, long int,  void *)'
                                      esp_event_handler_t event_handler,
                                      ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
[1179/1194] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/demo_tasks/temp_sub_pub_and_led_control_demo/temp_sub_pub_and_led_control_demo.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/demo_tasks/temp_sub_pub_and_led_control_demo/temp_sub_pub_and_led_control_demo.c.obj

...
/home/md/Documents/bird-buddy-v2-esp/main/demo_tasks/temp_sub_pub_and_led_control_demo/hardware_drivers/app_driver.h:22:10: fatal error: driver/temp_sensor.h: No such file or directory
 #include "driver/temp_sensor.h"
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[1180/1194] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/networking/mqtt/core_mqtt_agent_manager.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/networking/mqtt/core_mqtt_agent_manager.c.obj
/home/md/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/
...

cc1: some warnings being treated as errors
[1181/1194] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/demo_tasks/sub_pub_unsub_demo/sub_pub_unsub_demo.c.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/demo_tasks/sub_pub_unsub_demo/sub_pub_unsub_demo.c.obj

...

/home/md/Documents/bird-buddy-v2-esp/main/demo_tasks/sub_pub_unsub_demo/sub_pub_unsub_demo.c:764:13: note: in expansion of macro 'ESP_LOGI'
             ESP_LOGI( TAG,
             ^~~~~~~~
cc1: some warnings being treated as errors
[1186/1194] Building C object esp-idf/libsodium/CMakeFiles/__idf_libsodium.dir/libsodium/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Any ideas/ways for me to fix? Thanks

Hi @mjdietzx,
Thanks for your feedback!
Unfortunately I can't reproduce it on my environment.
I have one suggestion for you to try.
This repository is created for esp32c3, not esp32. So, could you help to install esp32c3 tool chain and build it again?
Steps:

esp-idf/install.sh
. $HOME/esp/esp-idf/export.sh
idf.py fullclean
idf.py set-target esp32c3
idf.py build

Please let me know the result after you try.
Thanks.

Built for me.  I'm working on Windows with VS Code and the ESP plug-in.   I just cloned the repository recursively, opened that directory, and launched the tool.

Hey --  I know what your problem is.    Here, I just changed target to the exp32s3 and found that a number of features are unique to the c3 device.   Above, you have your target set to esp32,  and now I see you have the undefined reference to the temp sensor.  Evidently, that c3 device has that temp sensor but the esp32 does not (at least in its library).    Just comment out the functions which are not supported, and you'll build.   The temp sensor area won't work for you (is that is a hardware unique device to the c3??).   You may also see errors related to %ld formatting in logging messages.   Change those to %d (for 32 bit integers).

Hi all - @SolidStateLEDLighting is spot on. Some of the functionality of this repository is exclusive to the C3 - its why esp32c3 is in the name of the repo :). I believe the ESP32-S2 should also work if you change the target as it has both the DS peripheral and temp sensor as well. I imagine you could get this to work on an ESP32 if you disable the temp and led demo, and do not provision using the DS peripheral - which is a config for this demo (and make sure the right configs are set for the esp_secure_crt_manager component to not use the DS peripheral although if I remember correctly it should disable that by default if the target doesn't support it). Let me know if this issue can be closed @mjdietzx.


HL-581 | Add GDPR API to Helsinki-lisä

Description :sparkles:
This is at the point where this should be tested in test environment.
Issues :bug:
HL-581
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #1569 (9c26cd7) into develop (9a26796) will decrease coverage by 20.87%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop    #1569       +/-   ##
============================================
- Coverage    65.99%   45.11%   -20.88%
============================================
  Files         1053       32     -1021
  Lines        29067      461    -28606
  Branches      2970      153     -2817
============================================
- Hits         19183      208    -18975
+ Misses        9435      243     -9192
+ Partials       449       10      -439

Impacted Files
Coverage Δ

backend/benefit/helsinkibenefit/settings.py

backend/benefit/helsinkibenefit/urls.py

backend/benefit/users/api/v1/views.py

backend/benefit/users/models.py

...r/src/components/reviewSection/useReviewSection.ts

...lications/migrations/0015_application_batch_api.py

.../applications/migrations/0021_allow_blank_batch.py

...rc/components/forms/section/FormSectionDivider.tsx

...d/src/__tests__/utils/create-axios-test-context.ts

backend/benefit/calculator/rules.py

... and 1011 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

The branch could go through a rebase 💅  as the commits are a bit incoherent.

I don't know whether you are aware of the GDPR API tester but it doesn't hurt to mention it as I have heard good things about it—haven't used it myself though:

Announcement on #helsinki-profiili: https://helsinkicity.slack.com/archives/CB3HG29K8/p1674115908002619
GDPR API Description: https://helsinkisolutionoffice.atlassian.net/wiki/spaces/KAN/pages/80969736/GDPR+API+Description
GDPR API Tester: https://github.com/City-of-Helsinki/profile-gdpr-api-tester/
Example backend: https://github.com/City-of-Helsinki/example-backend-profile/
Django app for implementing Helsinki profile GDPR API: https://github.com/City-of-Helsinki/helsinki-profile-gdpr-api

@nenonja Is the failing acceptance test here just the same you mentioned that has been broken for ages?


Implemented side parameter (resolves #1)

This PR includes:

C++ code for searchsorted with correct support of side=[left|right]
CUDA code for searchsorted with correct support of side=[left|right]
helper functions for broadcasting numpy arrays and pytorch tensors to be used in searchsorted
more unit tests to make sure all of the above work
minor changes in the README (how to check CUDA availability during installation, how to run tests, how to run the benchmark)
new benchmark script that uses the builtin timeit

Please check out the new implementation (the CUDA and C++ part should be much more readable), run the unit tests and let me know if you get similar times in the benchmark ;)

thank you very much I'll review this shortly

I've noticed the speed issue, I think it could be related to the left/right side, which at least in this version gives correct results. Anyway, I'll look into speeding up the implementation ;)


MXNet -> Apple CoreML converter (Review-only. Don't merge)

This tool helps convert MXNet models into Apple CoreML format which can then be run on Apple devices.
This PR is currently for review only since we are in the process of figuring out the licensing issues with Apple. We got the initial code from them and they have handed over the maintenance and development of this tool to MXNet community from now on.
This has been tested against MXNet 0.10.0 as well as against the current master branch.
Example of a sample command to convert squeeze-net model.
python mxnet_coreml_converter.py --model-prefix='squeezenet_v1.1' --epoch=0 --input-shape='{"data":"3,224,224"}' --output-file="squeezenet_v11.mlmodel"
This tools is currently able to convert Inception/Resnet/VGG/Squeezenet models. Support for more vision models as well as nlp models will be added later.
Unit tests have been added which test 1/ each layer individually 2/ some of the standard models from mxnet zoo against random data as well as on a subset of imagenet data. In all the tests we compare the accuracy of MXNet vs that of CoreML using the converted model.
@mli @piiswrong @madjam @arank @jiajiechen @indhub

@pracheer could you take a look and see if it can support mxnet.gluon.model_zoo.vision models.

Superseded by https://github.com/apache/incubator-mxnet/pull/7438

Previous pull request: https://github.com/apache/incubator-mxnet/pull/7337


Testing POC branch

Description:
Testing a branch with prefix poc
Related:
#31
TODO:
N/A this is just a test and should be closed after it is created

This is just a proof of concept that poc/* branches will be prevented from being merged


New text fields are not working

Hi, I have added new fields in this existing code but not getting fetched address to text boxes
is it customized code or not ? plz let me know

hi @Rajachandar can you give more details please!


[WIP] Fixing issues to compile and execute bidaf-9 model in the model zoo.

PR to fix issues to compile and execute bidaf-9 model in the model zoo ( https://github.com/onnx/models/blob/main/text/machine_comprehension/bidirectional_attention_flow )
Scan output(=final_state_and_scan_outputs) consists of (1) N
// state ovariables and (2) K scan_outputs. K scan outputs.
// dimensions of K scan outputs should have an extra leading
// dimension to the shapes.
This PR fixes the following issues, but some issues are still remaining.
(1) Output shapes of onnx.Scan is not correct.
Scan output(=final_state_and_scan_outputs) consists of (1) N state ovariables and (2) K scan_outputs, and dimensions of K scan outputs should have an extra leading dimension to the shapes. (Look at https://github.com/onnx/onnx/blob/main/docs/Operators.md#Scan for the details).
This PR introduces a scan-specific importer to insert an extra leading dimension to the shapes for K scan_outputs.
(2) Errors in ONNXToKrnl lowering pass for Scan
In the ONNXToKrnl pass, inputs should not be tensor but memref, but this PR converts input tensor type from tensor to memref.
(3) onnx.ClipV6 not supported
This PR supports onnx.ClipV6 shape-inference and conversion. (TODO)
(4) Errors in onnx.CategoryMapper
This PR fixes some errors in KrnlToAffine pass and KrnlToLLVM pass.
(5) Symbol conflict occurs for "free" between c function and string constants.
This PR fixes the conflict to prepend "om_" for symbols for string constants
(6) An error occurs in KrnlToLLVM conversion pass for onnx.ml.CategoryMapper with dynamic-shape model.
This PR fixes a wrong shape for krnl.getref op.
Current status
With this PR, onnx-mlir can generate LLVM file successfully from the Bidaf-9 onnx file, but cannot generate so file (by --EmitLib), because the compiler was killed while compilation, because of memory shortage (probably).

This PR is closed, because other PR2054, 2056, 2055, 2086  and 2073 cover modifications by this PR.


Web validator retries with bad zip file

Describe the bug
I fed a (really) bad zip file to the Web validator. The file is just a text file for which I changed the extension to .zip.
After that I can see in the web validator logs (here You need access) that the validator failed with the data as expected but then reruns the validator multiple times.
Which give the same results since it's the same input data.
Steps/Code to Reproduce
See above
Expected Results
Some error message saying the file is no good and not do any retry with the same data.
Actual Results
According to the logs the system is retrying with the same data a bunch of times. See screenshot
Screenshots
Here are the logs with the retries:

Files used
No response
Validator version
4.2.0
Operating system
irrelevant
Java version
No response
Additional notes
No response

A note about the logs:
Since the web validator can receive many requests at the same time, it's quite difficult in the logs to know which entry goes with which request.
The job id can be used for some logs.
Sometimes it's the thread name, but these are reused randomly.
We should some common string for all the logs related to a request so the logs can be easily filtered.

A note about the logs: Since the web validator can receive many requests at the same time, it's quite difficult in the logs to know which entry goes with which request. The job id can be used for some logs. Sometimes it's the thread name, but these are reused randomly.
We should some common string for all the logs related to a request so the logs can be easily filtered.

We need to use a logger in the Spring web context that has access to the HTTP span and trace-id.

Tasks:

Modify web validator cloud run retry policy. When the zip file is corrupted, don't retry.
Test with valid and invalid zip files.

Based on my research, this bug is caused by an invalid condition of a while loop in the gtfs web validator. It keeps waiting until a report.html is generated. I'll share details in standup. @davidgamez

Scope of this issue is to add the GCP logging - #1688 and #1689 created for the other tasks.


Column default value not work

Thanks for this great lib~
i have defined the user bean as:
@Table(name = "User")
@Entity(model = "global")
interface IUser : Persistable {

    @get:Key @get:Generated var id: Long

    @get:Column(value = "'Newer'")
    var name: String?

    var avatar: String?

}

when i use the follow code to insert a new User into the db, the name column in the db is empty..
db.insert(User().apply {
                    this.avatar = "http://......"
                })

it sense like insert a "null" name into the db and cover the default value
how can i fix it?

This may be related to #505 basically the null value is not ignored on insert. The create table should be defined to have name with a default value though.

Fixed by change for #505

Thanks～～


Added Recapture to Form in ASP.NET MVC App User can login without checking

A user is about to login without performing recapture function:

@Html.DisplayNameFor(m => m.Input.RememberMe)

Log in

@utech626 can you please provide with more details? I am using the code with no issues. The sample code would be appreciated.

@utech626 I am closing this issue.


Full scene as input

Hi,
I am amazed by your work of great quality. I would like to try your different optimization techniques on KPConv architecture. I only started to look at your code, but I already have one question.
When I read your paper, it seems that you consider loading the entire scene as input as a training augmentation. I am curious if it is really the case, or if it is just at test time that you load the entire scene.
When I look at the default configuration for S3DIS:
https://github.com/guochengqian/PointNeXt/blob/f49f3e6d9b3d9e8cfb353f4ea61502796eba4693/cfgs/s3dis/default.yaml#L10
It seems that for training there is a limit to the input size. Is it right? Have you managed to train with an entire scene of S3DIS as input? I don't see how you could do it without running OOM on your GPUs
Followup question, for the bigger networks like pointnext-xl, even a simple inference could lead to OOM errors on a big scene like S3DIS Area_5. Does the inference fit on your GPU or do you have tricks to separate the workload on multiple GPUs?
Best,
Hugues

Dear @HuguesTHOMAS
Thank you very much for the encouraging words. Your KPConv is the most influential paper from year 2019 in point cloud domain.
For your question, we trained all models using one 80G A100. All models should also be able to run in one V100 with 32G mem. I will double check and let you know.
If it can not feed in one GPU in your case, you should use more GPUs, but keep the total number of batches to be the same as our default in order to reproduce. Failing to do so may make performance around 1 mIoU lower.
For inference, PointNeXt-XL is runable using only one GTX2080Ti, but just using a smaller val_batch_size. Note batch size does not influence performance in testing. I will write documentation to clarify this point.
Thanks for your interest,
let me know if you have further question.
Best,
Gordon

Dear Gordon @guochengqian,
Thank you for your kind words, and your detailed answer.
I have another question about your code, I tried to compile your FPS subsampling cuda function located at:
https://github.com/guochengqian/openpoints/tree/410d7dc0f930bc19b9e2f603ac653cbbbe060e0c/cpp/pointnet2_batch
I manage to build the function but I am surprised by how slow it is. In the test I conducted I found the following speeds:
Subsampling S3DIS input point cloud spheres initially subsampled a 4cm.
FPS stride = 4
Avg ptcloud size    Avg FPS time    Avg subsample size
     18394            29.109 ms            4598
     30342            73.770 ms            7585
     46334           161.788 ms           11583
     67112           328.652 ms           16777
     88391           559.842 ms           22097

It does not seem fast enough to me. For the same amount of points, grid subsampling takes less than 10 ms on CPU and less than 1 ms on GPU.
did you have similar performances or is it faster on your side?

I would also like to make the point-based methods even faster using Grid sampling. Now our code supports random sampling, but with a cost of performance drop.

The FPS implementation is from pointnet2 repo.

I know, but it seems to be the one you use in your code. However, you would never have the TP you claim if the speed of FPS was the same as on my computer. Can you share with me the speed of FPS subsampling on your computer?

Could you locate me to the implementation of your grid_sampling so that we can support them in this repo.

I am currently in the middle of testing subsampling in a new project. I can share my current code with you:
gpu_subsampling.zip
It is inspired by https://github.com/qinzheng93/Easy-KPConv
This works on GPU or CPU

@HuguesTHOMAS
Did you profile the speed using the same setting as we mentioned in the paper? batch_size=16 num_points=15000. Machine: 32 G V100, 32 CPU cores.
anyway, I am in the process of releasing ShapeNetPart and ScanNet in my spare time. Meanwhile, I will look into the speed profiling and the grid sampling.

I will try my best to finish this profiling and update the code in one or two weeks.

@HuguesTHOMAS  I tested the throughput again. it is consistent with the paper.
46 instances / second for PointNeXt-XL with input batch_size=16 num_points=15000
python examples/profile.py --cfg cfgs/s3dis/pointnext-xl.yaml batch_size=16 num_points=15000 timing=True


Request a u250 platform similar to the waa provided in issue #474

Hello,
I have not been able to find any TRD for a U250 DPU based on DPUCADF8H. The u200 example for the waa resnet50 is a good baseline, but I need to deploy my app on the Azure cloud which uses a U250.
Can .xo file located at /Vitis-AI/dsa/WAA-TRD/accel/DPUV3INT8/dpdpuv3_wrapper.xo be used for a u250 waa build?
If not, can you provide one?
Thanks

Hello. You can use the DPU TRD from here - https://github.com/Xilinx/Vitis-AI/tree/master/dsa/DPUCADF8H-XO
It has instructions for U250 as well.

Thanks for the link. I forgot to specify that I am currently using Vitis AI 1.4.1. Do you know if the DPUCADF8H-XO can be used to build a custom application under Vitis AI 1.4.1?

@sumitn-xilinx I was able to complete the build with some errors of the DPUCADF8H-XO for a U250 using platform xilinx_u250_gen3x16_xdma_3_1 and Vitis/Vivado 2021.2. It looks like two of the SLR builds (0 and 2) created errors, but the one for SLR 3 completed. I was then able to run the adas_detection demo with the xclbin created by the build.
Here is the output of the errors from the U250 DPUCADF8H build:
INFO: [v++ 60-1441] [20:41:53] Run run_link: Step xclbinutilinfo: Completed Time (s): cpu = 00:00:00.99 ; elapsed = 00:00:01 . Memory (MB): peak = 2039.004 ; gain = 0.000 ; free physical = 104040 ; free virtual = 125309 INFO: [v++ 60-1443] [20:41:53] Run run_link: Step generate_sc_driver: Started INFO: [v++ 60-1453] Command Line:  INFO: [v++ 60-1454] Run Directory: /data1/Software/Xilinx/Vitis-AI/dsa/DPUCADF8H-XO/projects/ml_shell/build_dir.hw.xilinx_u250_gen3x16_xdma_3_1_202020_1/link/run_link INFO: [v++ 60-1441] [20:41:53] Run run_link: Step generate_sc_driver: Completed Time (s): cpu = 00:00:00 ; elapsed = 00:00:00.01 . Memory (MB): peak = 2039.004 ; gain = 0.000 ; free physical = 104040 ; free virtual = 125309 ERROR: [v++ 60-2334] Compute unit DPUCADF8H_1 appears to span more than one SLR. SLR0 was specified. ERROR: [v++ 60-2334] Compute unit DPUCADF8H_2 appears to span more than one SLR. SLR2 was specified. INFO: [v++ 60-2331] SLR3 was specfied for compute unit DPUCADF8H_3, and verified as such in implementation. INFO: [v++ 60-244] Generating system estimate report...
Do you have any suggestions to keep DPU_1 and DPU_2 confined to a single SLR? I was thinking of using --optimize 3, but would like to get your input.

Hi @Temerson0,
Are you still facing this issue? If not we can close the issue.

@vgudur-amd I never received a response from my last question. Have you resolved the build issue with the U250 for the issue request?
https://github.com/Xilinx/Vitis-AI/tree/master/dsa/DPUCADF8H-XO
The above link completed building with errors on 1.4.1 as described above.
What versions of Vitis-AI and Vitis has this DPU TRD been tested on?

Hi @Temerson0
Any specific reason to stick with 1.4.1? The link you shared above for dsa area doesn't work for VAI2.5. I don't see U250 related setup in 1.4.1 branch as well. However, it is there in 2.0. Since, it is released in VAI2.0, and if there is no restriction on VAI version, may I suggest you to use VAI2.0 DPU files?

@vgudur-amd I have tried to use VAI2.0, but have run into many problems running the examples for the U200 and U250, that is why I have kept using VAI1.4.1. At this time, the instability and my lack of success with using Vitis AI for my specific object detection project is pushing me toward using a GPU.

Hi @Temerson0,
If your system doesn't require more than one DPU, you may change the setup and constraints files to remove unwanted DPU/s. In VAI2.0, hope you have followed all the setup related instructions for the Alveo cards. In WAA, u200 example was working fine in VAI2.0 release.


Do not mix inline and non-inline delegating constructors in polymorphic types

Closes #2741
I searched the entire codebase, these were the only occurrences.
There is nothing wrong with the old code, but the way how cmake symbol export works + what MSVC requires for DLL export, makes it impossible to have inline constructors to delegate to non-inline constructors in polymorphic types. One of the ways to fix it is to make either all inline, or all non-inline. Other would be to apply dll export attribute to constructor, but I prefer moving all to cpp. For more details, see #2771.
I simulated the vcpkg with the fix and verified that there are linking problems without the fix, and no problems with the fix.

/azp run cpp - identity


Window.Show Cannot Accept Null

Window.Show has 2 overloads, without or without parent.
The Parent argument should thus be optional and nullable, but it's not.
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/Window.cs#L609
If I don't know whether I'll have a owner, it thus requires me to write this
if (Owner != null)
{
    Ref.Show(Owner);
}
else
{
    Ref.Show();
}

Version 11.0.0-preview2

The Parent argument should thus be optional and nullable, but it's not.

I don't think so tbh. One function is for showing a window as a dependent child window, the other is to show a window without a parent. I think the developer should have a control over what is intended. It's probably not a good idea if Avalonia "guesses" it on it's own.
So I think the 6 lines of code you show above are totally valid and needed. You can make an extension method if you want to re-use it.
Does it makes sense to you?


Editor should support line spacing between paragraph

lineSpacing: has no effect on the space between paragraphs

Works now


基于hadoop 3.1.1 编译

We are discussing a complete solution about muti-version support for the back-end engines.

Excuse me, Can you help split this PR into 2? One for the Yarn capacity scheduler, another for the compatibility of hadoop3.
And it is better if you can submit the new 2 PRs to dev-0.11.0.


Missing train_mask_8fps/checkpoint-7500

Hi, I tried to run inference with instructions from README but I got this error:
OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like output/latent/train_mask_8fps/checkpoint-7500 is not the path to a directory containing a scheduler_config.json file.

It seems that config filemask_motion_v1/config.yaml requires pretrained_model_path: output/latent/train_mask_8fps/checkpoint-7500, which is not included.

Please change the pretrained model path to your downloaded model path in the config.

@daizuozhuo I fixed the issue by replacing it with output/latent/mask_motion_v1


[RHCLOUD-19793] Source handler tests update3

Tests update for source handlers - part III.
(part I. #369, part II. #370)

main goal is to add/update tests to better tenancy testing
each commit contains one updated or added test (or new helper function)
changes for other functions in source handler will be part of next PR

handlers covered:

SourceEdit()
SourceDelete()
SourceCheckAvailability()
SourcesRhcConnectionList()

JIRA: RHCLOUD-19793

PR will be rebased after merge #370

rebased and ready for review

rebased, comment solved, ready for review


Add GPU support to Rprop

Trying to use Rprop on a GPU crash since the parameters will be CudaTensors but the internal variables are ByteTensor.
This change simply check if the parameters are CudaTensors and in that case convert also the internal variables to CudaTensors (by pushing them to the GPU)

Thanks


New english content translated commit #20404

In this commit, I have added translation from commit #20404.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


SNMPv1 Support

Hello there,
I am looking to implement support for APC USVs/PDUs. Some of the devices still rely on SNMP v1. Hence, how can I set thola to use SNMP v1, if it is supported?
Many thanks.

Never mind, I've found the answer.


MSID: 91168 Version: 1 DOI: 2<IP_ADDRESS>9306

"msas": "Biochemistry and Chemical Biology", "Structural Biology and Molecular Biophysics"
"msid": "91168"
"preprintDoi": "10.1101/2<IP_ADDRESS>9306"
"Reviewed Preprint posted": "2023-11-13"
"Sent for peer review": "2023-09-08"
"Posted to bioRxiv": "2023-09-09" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>9306v3/")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=91168)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/91168/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>9306)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/91168/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/91168)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/91168

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/91168

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/91168/v1/91168-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/91168)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

Looks like the v2 for the preprint has been imported, not the v3 as indicated in eJP.

eLocations missing from references


add runtime requirement on blas-devel

libblas.so and friends are moving to a metapackage, and petsc config assumes these canonical names
cf https://github.com/conda-forge/petsc-feedstock/pull/106
cf https://github.com/conda-forge/blas-feedstock/issues/29

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

conda.exceptions.UnsatisfiableError: The following specifications were found to be incompatible with each other:

@conda-forge-admin restart ci

Marking as draft due to issues upstream waiting for at least https://github.com/conda-forge/lapack-feedstock/pull/50


fix(flutter-tools): bug where dart lsp is not found

Fixes a bug where flutter-tools can't find dart binary when using a wrapped flutter package.
Patch taken from https://github.com/FlafyDev/nixos-config

this fixes use cases where flutter was installed via nix, but would probably break cases where flutter was installed from some other source, perhaps I should make this an option?

this fixes use cases where flutter was installed via nix, but would probably break cases where flutter was installed from some other source, perhaps I should make this an option?

Sorry, I just saw this comment.
I think we should assume, for the time being, that this flake is used explicitly on NixOS. I intend to release 0.4 soon, but after 0.4 release we can look at QoL changes such as making it optional. I'll be in touch when the time comes to take a look.

actually I already added the option dart.flutter-tools.enableNoResolvePatch which defaults to true


[PE-D][Tester C] Unable to add event that span over midnight

For example, when I try to add an event that goes from 2024-03-02 23:00 to 2024-03-03 01:00, the application does not let me do so. This can seriously affect events that have a duration that crosses 00:00.

Labels: severity.High type.FeatureFlaw
original: bryanckh/ped#4

This was the intended outcome, but it was not explicitly stated. Since our current setup uses a single date instead of a date list, any event spanning overnight (e.g., from 11 PM on 2024-11-10 to 1 AM on 2024-11-11) requires users to create two events: one from 11 PM to midnight on 2024-11-10 and another from midnight to 1 AM on 2024-11-11. Thank you for your suggestion; we'll consider it for future implementation.

Hi, thanks for pointing this out. However, this was the intended outcome. The rationale is that a volunteer may not have their own phone number and might use someone else’s, such as a child using a parent’s phone number as a contact. At the same time, the parents might also be volunteers. This is why we allow users to add multiple volunteers with the same phone number.


feat(frontend): Display runtime ID in the browser console if available

End-user friendly description of the problem this fixes or functionality that this introduces

[ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions
Only if using remote runtime

Link of any specific issues this addresses

To run this PR locally, use the following command:
docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:81f6754-nikolaik   --name openhands-app-81f6754   docker.all-hands.dev/all-hands-ai/openhands:81f6754

I'll ask OpenHands to add session ID


[Blazor] Missing events from intellisense

Describe the bug
Some events are missing from intellisense and they seem to generate a bit different output in the .razor.g.cs file, although the code compiles and seems to be working,
Some of the events that I have noticed misbehaving are: onpointermove, onpointerup, onpointerdown, onpointercancel, ongotpointercapture, onlostpointercapture. Please look at the provided screenshot for more details.
Screenshots

I don't know why but it seems the events are pointermove, pointerup, pointerdown, pointercancel, gotpointercapture and lostpointercapture without the "on" word.
In my opinion they should all have the "on" prefix.
Sources:
https://github.com/aspnet/Blazor/issues/763
https://github.com/aspnet/Blazor/pull/765

This should be fixed in Preview5 (see #7570).


Critical service error - add-view

Which service is affected?
Kingfisher Views
<EMAIL_ADDRESS>What were you trying to do?
Create a view.
I had previously deleted a view with the same name, in case that is relevant.
python ocdskingfisher-views-cli add-view 1530,1531,1532 "Created by Duncan for Portugal data review."

What error did you receive?
2020-11-05 23:19:50,093 - 7589 - ocdskingfisher.views.cli - INFO - Running add-view
2020-11-05 23:19:50,112 - 7589 - ocdskingfisher.views.add-view - INFO - Arguments: collections=(1530, 1531, 1532) note=Created by Duncan for Portugal data review. name=None tables_only=False
2020-11-05 23:19:50,123 - 7589 - ocdskingfisher.views.add-view - INFO - Added collection_1530_1531_1532
2020-11-05 23:19:50,123 - 7589 - ocdskingfisher.views.add-view - INFO - Running refresh-views routine
2020-11-05 23:19:50,135 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'initial-functions', 'initial-flatten'}
2020-11-05 23:19:50,173 - 7594 - ocdskingfisher.views.refresh-views - INFO - Time for initial-flatten: 0.020632266998291016s
2020-11-05 23:19:50,175 - 7593 - ocdskingfisher.views.refresh-views - INFO - Time for initial-functions: 0.022427082061767578s
2020-11-05 23:19:50,176 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'middle-tmp_release_summary'}
2020-11-05 23:21:54,758 - 7595 - ocdskingfisher.views.refresh-views - INFO - Time for middle-tmp_release_summary:<PHONE_NUMBER>3252563s
2020-11-05 23:21:54,760 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'middle-tender', 'middle-parties_summary', 'middle-awards', 'middle-planning', 'middle-contracts'}
2020-11-05 23:22:03,603 - 7599 - ocdskingfisher.views.refresh-views - INFO - Time for middle-planning: 8.840307474136353s
2020-11-05 23:23:22,918 - 7598 - ocdskingfisher.views.refresh-views - INFO - Time for middle-awards: 88.15504884719849s
2020-11-05 23:24:20,146 - 7600 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contracts:<PHONE_NUMBER>2619324s
2020-11-05 23:24:22,906 - 7596 - ocdskingfisher.views.refresh-views - INFO - Time for middle-tender:<PHONE_NUMBER>1880798s
2020-11-05 23:24:49,800 - 7597 - ocdskingfisher.views.refresh-views - INFO - Time for middle-parties_summary:<PHONE_NUMBER>8546753s
2020-11-05 23:24:49,802 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'middle-contract_items_summary', 'middle-agg_release_party', 'middle-parties_buyer_summary', 'middle-contract_implementation_transactions_summary', 'middle-planning_milestones_summary', 'middle-parties_procuringentity_summary', 'middle-contract_milestones_summary', 'middle-contract_implementation_documents_summary', 'middle-contract_implementation_milestones_summary', 'middle-tender_items_summary', 'middle-award_suppliers_summary', 'middle-parties_tenderers_summary', 'middle-tender_documents_summary', 'middle-award_documents_summary', 'middle-tender_milestones_summary', 'middle-planning_documents_summary', 'middle-award_items_summary', 'middle-contract_documents_summary'}
2020-11-05 23:24:49,852 - 7605 - ocdskingfisher.views.refresh-views - INFO - Time for middle-planning_milestones_summary: 0.04582667350769043s
2020-11-05 23:24:49,853 - 7597 - ocdskingfisher.views.refresh-views - INFO - Time for middle-planning_documents_summary: 0.042263031005859375s
2020-11-05 23:24:50,823 - 7594 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contract_implementation_milestones_summary: 1.0169601440429688s
2020-11-05 23:24:52,163 - 7601 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contract_items_summary: 2.359220504760742s
2020-11-05 23:24:52,261 - 7607 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contract_milestones_summary: 2.455061435699463s
2020-11-05 23:24:52,400 - 7608 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contract_implementation_documents_summary: 2.5938854217529297s
2020-11-05 23:25:01,531 - 7605 - ocdskingfisher.views.refresh-views - INFO - Time for middle-award_items_summary: 11.678273677825928s
2020-11-05 23:25:01,656 - 7596 - ocdskingfisher.views.refresh-views - INFO - Time for middle-tender_milestones_summary: 11.845496654510498s
2020-11-05 23:25:10,700 - 7598 - ocdskingfisher.views.refresh-views - INFO - Time for middle-tender_documents_summary: 20.890358686447144s
2020-11-05 23:25:33,723 - 7604 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contract_implementation_transactions_summary: 43.91775345802307s
2020-11-05 23:25:42,087 - 7599 - ocdskingfisher.views.refresh-views - INFO - Time for middle-parties_tenderers_summary: 52.27796745300293s
2020-11-05 23:26:02,372 - 7597 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contract_documents_summary: 72.51907396316528s
2020-11-05 23:26:31,411 - 7595 - ocdskingfisher.views.refresh-views - INFO - Time for middle-award_suppliers_summary:<PHONE_NUMBER>0175476s
2020-11-05 23:26:46,431 - 7600 - ocdskingfisher.views.refresh-views - INFO - Time for middle-award_documents_summary:<PHONE_NUMBER>2357483s
2020-11-05 23:26:58,882 - 7593 - ocdskingfisher.views.refresh-views - INFO - Time for middle-tender_items_summary:<PHONE_NUMBER>9180908s
2020-11-05 23:27:11,538 - 7602 - ocdskingfisher.views.refresh-views - INFO - Time for middle-agg_release_party:<PHONE_NUMBER>5193787s
2020-11-05 23:27:25,270 - 7603 - ocdskingfisher.views.refresh-views - INFO - Time for middle-parties_buyer_summary:<PHONE_NUMBER>7807312s
2020-11-05 23:28:14,055 - 7606 - ocdskingfisher.views.refresh-views - INFO - Time for middle-parties_procuringentity_summary:<PHONE_NUMBER>1262817s
2020-11-05 23:28:14,056 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'middle-agg_planning', 'middle-planning_summary', 'middle-tender_summary', 'middle-agg_tender', 'middle-agg_milestones', 'middle-awards_summary', 'middle-agg_documents'}
2020-11-05 23:28:14,087 - 7594 - ocdskingfisher.views.refresh-views - INFO - Time for middle-agg_planning: 0.028896093368530273s
2020-11-05 23:28:14,090 - 7605 - ocdskingfisher.views.refresh-views - INFO - Time for middle-agg_milestones: 0.030417680740356445s
2020-11-05 23:28:14,091 - 7601 - ocdskingfisher.views.refresh-views - INFO - Time for middle-planning_summary: 0.0320744514465332s
2020-11-05 23:28:15,048 - 7608 - ocdskingfisher.views.refresh-views - INFO - Time for middle-agg_tender: 0.9889602661132812s
2020-11-05 23:28:46,701 - 7598 - ocdskingfisher.views.refresh-views - INFO - Time for middle-agg_documents: 32.641178607940674s
2020-11-05 23:28:58,779 - 7607 - ocdskingfisher.views.refresh-views - INFO - Time for middle-tender_summary: 44.72035193443298s
2020-11-05 23:28:58,780 - 7596 - ocdskingfisher.views.refresh-views - INFO - Time for middle-awards_summary: 44.71987342834473s
2020-11-05 23:28:58,781 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'middle-contracts_summary', 'middle-agg_awards'}
2020-11-05 23:29:36,436 - 7599 - ocdskingfisher.views.refresh-views - INFO - Time for middle-agg_awards: 37.65410256385803s
2020-11-05 23:29:37,594 - 7604 - ocdskingfisher.views.refresh-views - INFO - Time for middle-contracts_summary: 38.81165170669556s
2020-11-05 23:29:37,595 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'middle-agg_contracts'}
2020-11-05 23:29:57,474 - 7597 - ocdskingfisher.views.refresh-views - INFO - Time for middle-agg_contracts: 19.878182888031006s
2020-11-05 23:29:57,476 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'middle-release'}
2020-11-05 23:30:43,236 - 7595 - ocdskingfisher.views.refresh-views - INFO - Time for middle-release: 45.75869035720825s
2020-11-05 23:30:43,237 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'final-foreign-key-relationships'}
2020-11-05 23:30:45,298 - 7600 - ocdskingfisher.views.refresh-views - INFO - Time for final-foreign-key-relationships: 2.0594289302825928s
2020-11-05 23:30:45,299 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'final-docs'}
2020-11-05 23:30:46,361 - 7593 - ocdskingfisher.views.refresh-views - INFO - Time for final-docs: 1.0605733394622803s
2020-11-05 23:30:46,362 - 7589 - ocdskingfisher.views.refresh-views - INFO - Running {'final-drop'}
2020-11-05 23:30:49,125 - 7602 - ocdskingfisher.views.refresh-views - INFO - Time for final-drop: 2.7613768577575684s
2020-11-05 23:30:49,133 - 7589 - ocdskingfisher.views.refresh-views - INFO - Total time:<PHONE_NUMBER>355225s
2020-11-05 23:30:49,134 - 7589 - ocdskingfisher.views.add-view - INFO - Running field-counts routine
2020-11-05 23:30:49,143 - 7589 - ocdskingfisher.views.field-counts - INFO - Processing collection ID 1530
2020-11-05 23:30:49,143 - 7589 - ocdskingfisher.views.field-counts - INFO - Processing collection ID 1531
2020-11-05 23:30:49,144 - 7589 - ocdskingfisher.views.field-counts - INFO - Processing collection ID 1532
2020-11-05 23:59:01,698 - 7589 - ocdskingfisher.views.field-counts - INFO - Time for collection ID 1530: 1692.5545709133148s
2020-11-05 23:59:01,700 - 7589 - ocdskingfisher.views.field-counts - INFO - Time for collection ID 1531: 1692.5556094646454s
Traceback (most recent call last):
  File "ocdskingfisher-views-cli", line 5, in <module>
    cli()
  File "/home/ocdskfp/ocdskingfisherviews/.ve/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/ocdskfp/ocdskingfisherviews/.ve/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/ocdskfp/ocdskingfisherviews/.ve/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ocdskfp/ocdskingfisherviews/.ve/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ocdskfp/ocdskingfisherviews/.ve/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/ocdskfp/ocdskingfisherviews/.ve/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/ocdskfp/ocdskingfisherviews/ocdskingfisherviews/cli.py", line 239, in add_view
    field_counts(schema)
  File "/home/ocdskfp/ocdskingfisherviews/ocdskingfisherviews/cli.py", line 387, in field_counts
    future.result()
  File "/usr/lib/python3.6/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/ocdskfp/ocdskingfisherviews/ocdskingfisherviews/cli.py", line 364, in _run_collection
    """, {'id': collection}))
  File "/home/ocdskfp/ocdskingfisherviews/ocdskingfisherviews/db.py", line 46, in all
    return self.cursor.fetchall()
psycopg2.ProgrammingError: no results to fetch

Did you attempt a fix?
No
How soon do you need a fix?
As soon as possible as the view is required for publisher feedback.

Looking into it.

It completed without error. It might have been fixed by the new version.


EAGLE-371 remove eagle-docs from develop branch

remove eagle-docs from develop branch
Author: Yong Zhang<EMAIL_ADDRESS>Reviewer: Yong Zhang
Closes: #371

merged


Not just run, but find ...

Very simply, I want to be able to find any file, executable or not, when I do Command-Space.  I mean Alt+space. Not Command.  Command is probably from some other OS.
This could even be (maybe should be) a selectable option since I'm sure many are content with the tool the way it is.  As it is, it sure makes running things more simple and I appreciate that.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

https://github.com/microsoft/PowerToys/pull/6129 will help enable that as well as https://github.com/microsoft/PowerToys/issues/5273 which will extend custom shortcuts for targetted searching

Works for me - thanks!
On Wed, Sep 23, 2020 at 6:58 PM Clint Rutkas<EMAIL_ADDRESS>wrote:

Closed #6798 https://github.com/microsoft/PowerToys/issues/6798.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/6798#event-3800814234, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWNCR2QAUUA2YNP7SAKMGTSHKDSDANCNFSM4RXQDYGQ
.

--
Peter Laws | N5UWY | plaws plaws net | Travel by Train!


Contact form not working on Firefox

The contact form works on chrome but not on Firefox (tested on Mac): http://modeci.org/#contactPage
@vidhya-metacell could you have a quick look?

Works fine on Firefox now


Add the ability to create a partitioned table from an expression

Refactored DDL generation as well.

Merging.


Excessive stringification

Currently there is quite a lot of unnecessary stringification going on the same record version:
// receive update
JSON.parse
// deepClone
JSON.stringify
JSON.parse
// send to redis
JSON.stringify
// send to db
JSON.stringify
// read from redis
JSON.parse
// everytime record is sent to a client
JSON.stringify

Basically all instances of JSON.stringify in the list above could be avoided.
Not sure what the complexity vs performance metrics would be to resolve these...

This is something we will address is v3.0 with new storage APIs

Addressed in V4, we now do lazy parsing for data (only parses once and only if needed due to being a patch or permission check).


Fix time zone name

The time zone name is America/Los_Angeles

Probably you wanted to hit Ctrl+s but you only clicked s. Happens to me sometimes 😃


React native 0.76.x devtools boots up with error in screen

Description
I have tried to open react native devtools with my own project and with the default app when you create a new app and in both cases the devtools opens up with the error you see in the image below.

Why does this happen?
Steps to reproduce

run npx react-native@latest init devtoolstest in terminal
start the app
open devtools

React Native Version
0.76.1
Output of npx react-native info
System:
  OS: macOS 15.0.1
  CPU: (12) arm64 Apple M2 Pro
  Memory: 83.41 MB / 16.00 GB
  Shell:
    version: 3.6.1
    path: /opt/homebrew/bin/fish
Binaries:
  Node:
    version: 20.10.0
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.19
    path: /usr/local/bin/yarn
  npm:
    version: 9.5.0
    path: /usr/local/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /Users/joel/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK:
    API Levels:
      - "29"
      - "30"
      - "33"
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 30.0.2
      - 30.0.3
      - 33.0.0
      - 33.0.1
      - 33.0.2
      - 34.0.0
      - 35.0.0
    System Images:
      - android-27 | Google APIs ARM 64 v8a
      - android-28 | Google APIs ARM 64 v8a
      - android-29 | Google APIs ARM 64 v8a
      - android-33 | Google APIs ARM 64 v8a
      - android-UpsideDownCakePrivacySandbox | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12483815
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.9
    path: /usr/bin/javac
  Ruby:
    version: 3.1.4
    path: /Users/joel/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.0
    wanted: 15.0.0
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.1
    wanted: 0.76.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Screenshots and Videos
No response

Hi @joeldebont thanks for the report - are you seeing this with Android, iOS or both?

Hello @robhogan ,  thank you for your reply.
I found the problem with your help, Chromes cached HSTS was the problem. It automaticly redirected to https://localhost:8081. The devtools work now that I have removed the HSTS settings for localhost.
Thank you for your help!


System.AccessViolationException cause crash

Hi, i am using scichart v<IP_ADDRESS>54 and v<IP_ADDRESS>04, when i insert data it will cause the System.AccessViolationException,below is a very simple example, when it run,click LoadMoreData a few times it will throw the exception.
64d7f28dc265cd375873d98c6f5dd3a1.zip

Hello GaoJones, we've checked your sample and can confirm that it was crashing with v <IP_ADDRESS>04. According to a call stack - it was related to our resamplers code. We've made a lot of improvements since v6.2.1 so it seems it is fixed in our latest stable v<IP_ADDRESS>161 and latest nightly build version v<IP_ADDRESS>209


Directional Animations

The default animation script has an option to enable directional animations which is currently in beta. Is it possible to get a feature like this implemented? I can not find any way to enable it here and as a result I'm assuming it is not yet implemented.
If it is possible could this be implemented for both R6 and R15?

I think this is a good idea, but I'd prefer to wait until it's out of beta. If something gets changed between then and now it's not worth the time investment.


After taking photo in landscape apps bottom part not working

Reported in forum.
Fuse 1.8.1
MacOs High Sierra
Tested on iPhone 7 / iOs 11.2, Nexus 5 / Android 6.0
Build: Preview
Issue
In iOS, after I take a picture in landscape, the app doesn't seem to interact (i.e. click or scroll) on the bottom half of the app in portrait (in landscape the app seems to behave as expected).
Steps

Open camera
Turn phone landscape
Take picture
Accept picture confirmation
Once the app has closed camera, turn the phone back to portrait.
The app shouldn't be able to scroll or interact on the bottom half of screen in portrait, but works fine in landscape

Code to reproduce
<App>
    <JavaScript>
        var camera = require('FuseJS/Camera');
        function click() {
            camera
                .takePicture()
                .then(function(img) {
                    console.dir(img)
                })
                .catch(function() {
                });
        }
        module.exports = {
            click: click
        }
    </JavaScript>

    <ClientPanel>
        <ScrollView>
            <StackPanel>
                <Button Text="Camera" Padding="20" Clicked="{click}" />
                <Each Count="100">
                    <Rectangle Color="#18f" Height="20" Margin="10" />
                </Each>
            </StackPanel>
        </ScrollView>
    </ClientPanel>
</App>

The forum thread Camera posted by Travis Chong was linked to this issue.


Confusing output when using output_metric="cosine"

Hi there,
I'm getting some strange results when requesting the output metric of my results be "cosine", and I'm unsure whether it's my misinterpretation of what this is doing (probable) or a mistake in the code (less probable).
I assume that the output_metric argument means that this metric is the measure of distance to use to interpret the output points. As a test, I input a pre-calculated distance matrix:
[[0,1,2,1],
[1,0,1,2],
[2,1,0,1],
[1,2,1,0]]
which could describe 4 points, A,B,C,D, equally spaced around an origin point, measured with a cosine distance metric. I would therefore have expected the output points from UMAP to look something like that, and to have distance properties that closely match the input distance matrix.
Instead, I get 4 points all along the same line, which if I normalise, end up having almost the exact same coordinates, and therefore have a cosine distance of 0 between them all. Am I right in what I'm expecting as an output, or am I misinterpreting things?
One thing that seems to be missing is that a Euclidean space is unbounded, but cosine distance must be between 0 and 2, so I don't know how UMAP determines things to be as-far-apart-as-possible in a cosine distance metric space. Perhaps it's expecting points with an output distance of 2 in the cosine space to have a distance of 'Inf' in the input distance matrix and since the furthest distance in my matrix is 2, that's considered to be quite close? I can't see if there are any other input arguments to tell UMAP that 2 is actually the farthest apart two points can be - since it's a pre-calculated matrix, I can't give any more information about the distance matrix.
Danke,
BP

Bounded metrics as output metrics are often a bad idea. You would probably be better off doing something akin to the example of hyperbolic space in the docs: find a space with more amenable properties that has a convenient isometry to the one you want and use that instead.

Thanks for the super fast response.
I did also try the Haversine output_metric, which was quite nice because it forces things to the sphere which gives me nice cosine properties. I think I need to think about the problem some more.
Thanks again!
BP


Question: Why are your dependencies versioning are defined separately in a file?

As in dependencies.gradle
Is this a good practice?

Yeah I agree with those points and yes the syntax looks much cleaner, I almost got confused how these dependency lines are so short. Cool thanks.
P.S: Love your podcast! Keep it up :)


[Bug] Code fences show line numbers regardless of code language

Describe the bug
Is this new? I don't recall it looking like this before - whenever code fences are used in Markdown for Fern Docs pages, regardless of whether used with or without the CodeBlock component, they now display line numbers like this:

Regardless of what language is specified for the code block syntax highlighter. In the above example's case, it's using bash, as in:
```bash
fern generate ...
```

It could confuse users to see line numbers to the left of a CLI command example. And it always shows a line 2 even if there's only one line.
To reproduce
Steps to reproduce the behavior:
You can see this behavior in any of Fern's documentation pages that use a code fence.
The screenshot above is taken from https://docs.buildwithfern.com/overview/cli/fern-generate
Source is https://github.com/fern-api/fern/blob/main/fern/docs/pages/cli/fern-generate.mdx
Expected behavior
No line numbers when not appropriate.
Version
Fern Version: Seen in both 0.17.7 and 0.18.2

Closing - tracking internally.


"We cannot reach the server to update your progress."

Describe the bug
I am unable to submit projects to FCC and have them counted as complete.
To Reproduce
Steps to reproduce the behavior:

Sign in to FCC (successfully)
Navigate to project to be submitted
I see this error in the console

Press "Run the Tests"
Press "Submit and go to next challenge..."
I see this error in the console

And I see this error on the page:

I press the freeCodeCamp logo on top middle of page in order to see my progress on the lessons and I am suddenly logged out
I see this page after pressing the logo:

Expected behavior
I expect to be able to submit my lessons and have them counted toward my certification
Screenshots
See above for screenshots
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 77.0.3865.120

connects to #37571

We are tracking this in #37571