Docker Image

Is your feature request related to a problem? Please describe.
Would love to run this off of my unRAID box like the rest of my home automation software.
Describe the solution you'd like
A Docker image provided.

another vote for docker image.
I see nexryai/camera.ui on docker hub, but no documentation

Hi, I am a maintainer of the nexryai/camera.ui image. I have added documentation.
However I don't know how to run camera.ui as a non-root user, so in this container camera.ui runs as root. This is not good for security.
If anyone knows how to run camera.ui as root, please let me know.

Hi, I am a maintainer of the nexryai/camera.ui image. I have added documentation.
However I don't know how to run camera.ui as a non-root user, so in this container camera.ui runs as root. This is not good for security.
If anyone knows how to run camera.ui as root, please let me know.

I see nexryai/camera.ui on docker hub, but no documentation

@halfagascan I tried the docker image and wrote a step-by-step guide here: github.io

If anyone knows how to run camera.ui as non-root user, please let me know.
@nexryai Thank you for your docker image 👍🏻 It works great!

The issue is that camera.ui is installed -g globally which requires sudo.  Is the global context necessary to use the ffmpeg dependencies?

nexryai/camera.ui

do you maintain this image also in the future?
anyway would beee cool having an official image! :)

do you maintain this image also in the future?
Yes, I do. I intend to. I also use this image on my server.

anyway would beee cool having an official image! :)
That's right. I agree with this as well.

What ever I do ... my docker fails
camera.ui exited with code 132

nexryai - The Docker image is Exellent !!!

What ever I do ... my docker fails camera.ui exited with code 132

I use:
docker run -d --restart always --name="camera" -v /opt/camera.ui:/.camera.ui:rw -p 8081:8081 nexryai/camera.ui:latest

@seydx - Awesome software, please continue....!

@nexryai on Pi4 whenever we try to run the image it shows - exec /bin/sh: exec format error

is that image update and maintained?

🎉 A new version of camera.ui
A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .
This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).


New Port Stargrove Scramble

New Port for Stargrove Scramble
Game Information

Title: Stargrove Scramble
URL: https://team-bugulon.itch.io/stargrove-scramble

Submission Requirements
CFW Tests
Ensure your game has been tested on all major CFWs:

[X] AmberELEC
[X] ArkOS
[X] JELOS

Resolution Tests
Test all major resolutions:

[X] 480x320
[X] 640x480
[X] 720x720 (RGB30)
[X] Higher resolutions (e.g., 1280x720)

@mhoogcarspel move the file TeamBugulon-DistributionAgreement-20240307.png into the ports/stargrovescramble/stargrovescramble directory. 😄


Bump from django 4.2.11 to 4.2.16

I see now that this is actually a duplicate of https://github.com/kolonialno/django-api-decorator/pull/23 🙃 But, I would prefer to change the pyproject.yaml as well, as the >=3 semver is a bit broad. So, from the lockfile, we're running 4.2.11.
Fixes the 9 vulnerabilities here
• django  installed 4.2.11  affected <4.2.16  CVE CVE-2024-45230
• django  installed 4.2.11  affected <4.2.16  CVE CVE-2024-45231
• django  installed 4.2.11  affected <4.2.14  CVE CVE-2024-39614
• django  installed 4.2.11  affected <4.2.14  CVE CVE-2024-39330
• django  installed 4.2.11  affected <4.2.14  CVE CVE-2024-39329
• django  installed 4.2.11  affected <4.2.14  CVE CVE-2024-38875
• django  installed 4.2.11  affected <4.2.15  CVE CVE-2024-41991
• django  installed 4.2.11  affected <4.2.15  CVE CVE-2024-41990
• django  installed 4.2.11  affected <4.2.15  CVE CVE-2024-42005

Closes #23

I am not sure how we normally merge stuff in the decorator, as there are many projects/teams that use it 🤔

I am not sure how we normally merge stuff in the decorator, as there are many projects/teams that use it 🤔

Looks like you need to add a separate version bump commit like this: https://github.com/kolonialno/django-api-decorator/commit/a6709797583744967e14161c7e3407129fb84aaa, and then create a new release here: https://github.com/kolonialno/django-api-decorator/releases. From there the build, etc should be automatic.


Improvements to passport-strategies.js

I've got some improvement to passport-strategies.js which I should include.
The improvements include:

An option to easily specify what the 'id' field should be when serialising/deserialising user objects.

In the case of using a Mongo DB, for example, you would want to set this to _id, but for an SQL DB (including SQL LITE) it would be id (which is the currently hard coded value).
I'd expected the default User.get() method created by the ORM lib to handle this automatically, but it doesn't.

The option to specify an absolute path for the callback URL.

This is a security enhancement to force redirects after authenticating with oAuth to redirect to a secure HTTPS URL.
By default services may redirect to a HTTP URL, even if you have come from an HTTPS URL. The current behaviour exposes one time use only session token in the clear when the user is bounced back after authorising access.

This has been done and refactored in the bootstrap branch (which I hope to merge into master soon).


How to support Proxy

Hi guys,
I have a question how can i add successfully a proxy server to the lib? It would be great if someone can help me with that.
Good Regards,
Extremeg

https://github.com/trydis/FIFA-Ultimate-Team-Toolkit/issues/150#issuecomment-145885173

Thanks at first for the answer, but this solution i know already. Im looking for where i can change/add in the toolkit something in the class in which the request are handled.

https://msdn.microsoft.com/en-us/library/system.net.http.httpclienthandler.proxy(v=vs.118).aspx

You need to change httpClient in FutRequestFactories or HttpClientWrapper. But I tried it but login to web app is not working with proxy. I don't know why. Other request like getting ip from http://bot.whatismyipaddress.com/ is working fine with proxy.


Appstudio update test-component-pac-cmgn

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-cmgn-on-pull-request has successfully validated your commit.


Revert "Resolve issue #248"

Reverts LucyBot-Inc/api-spec-converter#266

Looks like something went wrong in the test output.


Hot reload w hot/dev-middleware only works on publicPath:"/"

I think this is probably a problem with the HotModuleReplacementPlugin
the variable $hotMainFilename$ in JsonpMainTemplate.runtime.js#L27 wont contain the publicPath, but webpack-dev-middleware is serving with publicPath
So it won't find the updated package

Configure output.publicPath correctly

ouch! - That took me way too long to be that simple.
Sorry for taking your time


Fix broken link in autocomplete model docs

Description
Fixed a broken link in the Autocomplete model docs and matched the linking/wording to those in Embeddings model.
Checklist

[x] The base branch of this PR is dev, rather than main
[x] The relevant docs, if any, have been updated or created

Screenshots
Testing
Rendered the markdown and checked the URLs.

Thanks for the catch here @ChrisLane !


Use set -e in our bash scripts

I know I'm probably in the minority here, but it kind of bothers me that we don't tend to check exit codes on commands - which is why in another PR I mentioned using "set -e".  I know there will be times when we just don't care about the exit codes but I've seen way too many projects not notice errors that really should be looked at because of ignoring exit codes.   So, I'd prefer if we defaulted to set -e and then used set +x in selective spots.
This issue is here to capture the discussion.

+1000 to set -e


Windows size problem

Here is my problem :) I think it append when headphones are not connected you resize the windows with a small text message in it. But once I connect it again it's not resized and it miss the end of the windows, and I can't restart the app because the shutdown button is at the end ^^

@Jaumard Yea that's a bummer. Disconnect your headphone to switch to the disconnected screen (while the popover is inactive) and reconnect.
I'll try to reproduce the error and come up with a fix. Thanks for reporting the bug.

No problem :) I kill the app with Activity Monitor and then relaunch it ^^

Unfortunately I couldn't replicate it :( Can you see if you can replicate it again? @jaumard I will leave this open for another week.  I am going to push a new release today. I will let you know when it's done.

@picaso I can't manage to reproduce it again too :/ if it append again I'll let you know :)
Thanks

Ok @picaso it append again :( but can't figure it why, I just turn on the headphone, the macbook connect it automatically and when I click the icon the windows is small. I try to disconnect and reconnect again but no luck the windows stay small and was not resize at all

Thanks @jaumard I think i have an idea on what to do. Is this the latest
build with your commit?
On Thu, Aug 4, 2016 at 5:13 AM, Jaumard<EMAIL_ADDRESS>wrote:

Ok @picaso https://github.com/picaso it append again :( but can't
figure it why, I just turn on the headphone, the macbook connect it
automatically and when I click the icon the windows is small. I try to
disconnect and reconnect again but no luck the windows stay small and was
not resize at all
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/picaso/parrot-zik-status/issues/3#issuecomment-237535306,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABF0jnjPBtH-9Mfm52mCQ-84T72o6Q2Qks5qcdd7gaJpZM4JV4pV
.

--
BR
Osaide Ogbeifun

@picaso no it was with the last release ^^ I didn't use it with the last commit except when I work on it.

@jaumard reading up on the window issue, I am checking this answer out. https://stackoverflow.com/questions/31807226/nspopover-nsviewcontroller-drag-to-resize
I will test it out later


Hikari and Tomcat

Environment
HikariCP version: 2.6.0
JDK version     : 1.8.0_121
Database        :  10.0.14-MariaDB-log
Driver version  : mysql-connector-java-5.0.8-bin.jar

Hi,
I'm using HikariCP with a Tomcat Web application against MySql. Every time I call my web app Hikari opens 5 new connections (the max we set.) This is obviously not what we want. How do we fix it, so that connections are reused?
I have the Hikari jar inside tomcat/lib. When it was only in the app we got a ClassNotFound exception.
The code I'm using:
			dataSource.setDriverClassName("com.mysql.jdbc.Driver");
			dataSource.setJdbcUrl(dbURL+ currentDB);
			dataSource.setUsername(user);
			dataSource.setPassword(passwd);

			dataSource.setMaximumPoolSize(5);
			dataSource.setMinimumIdle(5);

			dataSource.setLeakDetectionThreshold(15000);
			dataSource.setConnectionTimeout(50000);

			dataSource.setConnectionTestQuery("SELECT 1");

			sessionConnection = dataSource.getConnection();
			sessionStatement = sessionConnection.createStatement();

It sounds like you are creating a new datasource on every request instead
of reusing a singleton. How exactly is the datasource being instantiated?
Bill
On Tue, Mar 7, 2017 at 7:18 AM, EE<EMAIL_ADDRESS>wrote:

Environment
HikariCP version: 2.6.0
JDK version     : 1.8.0_121
Database        :  10.0.14-MariaDB-log
Driver version  : mysql-connector-java-5.0.8-bin.jar

Hi,
I'm using HikariCP with a Tomcat Web application against MySql. Every time
I call my web app Hikari opens 5 new connections (the max we set.) This is
obviously not what we want. How do we fix it, so that connections are
reused?
I have the Hikari jar inside tomcat/lib. When it was only in the app we
got a ClassNotFound exception.
The code I'm using:
  	dataSource.setDriverClassName("com.mysql.jdbc.Driver");
  	dataSource.setJdbcUrl(dbURL+ currentDB);
  	dataSource.setUsername(user);
  	dataSource.setPassword(passwd);

  	dataSource.setMaximumPoolSize(5);
  	dataSource.setMinimumIdle(5);

  	dataSource.setLeakDetectionThreshold(15000);
  	dataSource.setConnectionTimeout(50000);

  	dataSource.setConnectionTestQuery("SELECT 1");

  	sessionConnection = dataSource.getConnection();
  	sessionStatement = sessionConnection.createStatement();

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brettwooldridge/HikariCP/issues/836, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AE9tUmbiYH4YIBZk8vgQJNIbke3C18Bzks5rjUslgaJpZM4MVaLi
.

It's a class variable, 	private final HikariDataSource dataSource = new HikariDataSource();

Is that class getting constructed on every request? It sounds like it is.
You can either make the datasource static or pass it into the constructor /
inject it.
On Tue, Mar 7, 2017 at 7:24 AM, EE<EMAIL_ADDRESS>wrote:

It's a class variable, private final HikariDataSource dataSource = new
HikariDataSource();
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brettwooldridge/HikariCP/issues/836#issuecomment-284707512,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE9tUnxlOH0Q7ZH7iwm8z6PftqKhAbCXks5rjUxzgaJpZM4MVaLi
.

You're right, it does create a new datasource every time. Thanks, I'll fix it.

So, actually, I don't need to configure tomcat the way it says here? https://github.com/brettwooldridge/HikariCP/wiki/JNDI-DataSource-Factory-(Tomcat,-etc.)
I didn't, I just put the jar in tomcat/lib

You can use that if you are using JNDI. You can also just create a new
HikariDataSource yourself.
On Tue, Mar 7, 2017 at 7:34 AM, EE<EMAIL_ADDRESS>wrote:

So, actually, I don't need to configure tomcat the way it says here?
https://github.com/brettwooldridge/HikariCP/wiki/JNDI-DataSource-Factory-(
Tomcat,-etc.)
I didn't, I just put the jar in tomcat/lib
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brettwooldridge/HikariCP/issues/836#issuecomment-284709568,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE9tUvWXoX9NqwzYS7sZm7OJLVnPQ_0Mks5rjU7bgaJpZM4MVaLi
.

So far so good. But I'm seeing that killed processes are still around in my process list. This is probably not related to rollback issues in the db because the queries where very simple, and all of them were selects. So why are the processes still around?
And thank you for continuing to assist with this.

What do you mean by killed processes? Java processes? Or open db
connections?
The connection pool is supposed to reuse connections. According to your
config you should always have 5 connections open to the database. If you
run a query the connection is returned to the pool instead of being closed.
If you forcibly kill a connection the pool should open a new one since you
have minimum idle = 5.
On Tue, Mar 7, 2017 at 8:10 AM, EE<EMAIL_ADDRESS>wrote:

So far so good. But I'm seeing that killed processes are still around in
my process list. This is probably not related to rollback issues in the db
because the queries where very simple, and all of them were selects. So why
are the processes still around?
And thank you for continuing to assist with this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brettwooldridge/HikariCP/issues/836#issuecomment-284716971,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE9tUszDjluci1DakknWxblmBWjH74X7ks5rjVdJgaJpZM4MVaLi
.

Yes, I understand how the pool should work. Here's a screenshot. I currently have 24 db processes, 9 open and 15 "killed". The earlier killed ones are around for over 30 minutes now. I'm not sure why would that happen.

It looks like after several minutes of inactivity the connections are killed - and stay in the process list as "killed" - and the next time I call my app I get a nullPointerException trying to call a query on a connection - and the pool starts opening the connections again.
Opening 5 connections takes several seconds.
Does any of this makes sense?

@Eithcowich dataSource.setMinimumIdle(5) is going to guarantee that there are always 5 connections available.  If you want your pool to shrink when not in use, you need to set this to something lower than your max. connections.

@Eithcowich Also, if you enable DEBUG level logging (in log4j or whatever you are using) for package com.zaxxer.hikari you should see when HikariCP is closing connections, adding connections to the pool, etc.


adds basic testing

this is needed to confirm that some lower level changes that I'm working on aren't breaking things.
@ebolyen, could you review this one?

@gregcaporaso, done reviewing, only a few comments.

Thanks @gregcaporaso!


MongoDB: @unique constraint not working

Bug description
How to reproduce
Create a schema with @unique and add two objects with non-unique values.
Expected behavior
Throw an error
Prisma information
Environment & setup

OS: Mac OS
Database: MongoDB (using Azure CosmosDB with Mongo API)
Node.js version: 15.11.0
Prisma version: 2.21.2

prisma               : 2.21.2
@prisma/client       : 2.21.2
Current platform     : darwin
Query Engine         : query-engine e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine     : migration-engine-cli e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary        : prisma-fmt e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : e421996c87d5f3c8f7eeadd502d4ad402c89464d
Studio               : 0.371.0
Preview Features     : mongodb

Schema & code
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

datasource db {
  provider = "mongodb"
  url      = env("DATABASE_URL")
}

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["mongodb"]
}

model User {
  id        String   @id @default(dbgenerated()) @map("_id") @db.ObjectId
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  email     String   @unique
}

import { PrismaClient } from "@prisma/client";
const prisma = new PrismaClient();

async function main() {
  await prisma.$connect();
  await prisma.user.create({
    data: {
      email<EMAIL_ADDRESS>    },
  });
  await prisma.user.create({
    data: {
      email<EMAIL_ADDRESS>    },
  });
}

main()
  .catch(console.error)
  .finally(() => prisma.$disconnect());

Result
➜  prismamongo npx ts-node index.ts
[
  {
    id: '6081b778001e4db9009f1569',
    createdAt: 2021-04-22T17:50:48.444Z,
    updatedAt: 2021-04-22T17:50:48.445Z,
    email<EMAIL_ADDRESS>  },
  {
    id: '6081b779001e4db9009f156a',
    createdAt: 2021-04-22T17:50:49.237Z,
    updatedAt: 2021-04-22T17:50:49.238Z,
    email<EMAIL_ADDRESS>  }
]

Right now @unique isn't enforced by the database. In the future, we'd like for prisma migrate to be able to manage unique constraints.
You can workaround this limitation by adding unique indices outside of Prisma and then writing @unique by hand to enable certain API features like findUnique in the client.

Should be fixed by https://github.com/prisma/prisma/releases/tag/3.4.0

here we go again

Can you provide some more information @hyperidx? Is @unique not working for you?

It doesn't work for me either. Model is:
model Account {   id             String           @id @default(auto()) @map("_id") @db.ObjectId   address        String           @unique   user           User?   AllowlistEntry AllowlistEntry[]   createdAt      DateTime         @default(now())   updatedAt      DateTime         @default(now()) }

Did you run npx prisma db push to create the index on the database @SLTN98?

I created it with prisma.user.create{ account: { create: { address: "123" } } }

@janpio would it be useful to add that info about not being enforced by Prisma here: https://www.prisma.io/docs/concepts/components/prisma-schema/data-model#defining-a-unique-field I too was under the impression it was not working.

What do you mean @amerikan? Unique indexes are enforce if they are pushed to the database.

Did you run npx prisma db push to create the index on the database @SLTN98?

This worked

so will it only enforce @unique constraint when pushing to db and not when creating a record?

No, you have to have pushed the unique constraints to the database (so it knows a field is supposed to be unique) before the database can enforce the uniqueness when creating a record. As long as you have not done that, MongoDB will let you write whatever you want to the database.

So now it not possible to make a column unique with prisma migrate dev, only npx prisma db push should be used, even on production?

There is no support for Prisma mIgrate for MongoDB databases: https://www.prisma.io/docs/concepts/database-connectors/mongodb#no-support-for-prisma-migrate

Did you run npx prisma db push to create the index on the database @SLTN98?

it worked for me as well.

run npx prisma db push. before running it,  make sure your mongodb doesn't have duplicate entries for unique fields.

it works: npx prisma db push

it work: shuold npx prisma db push first, after create

Right now I'm facing the same issue, with prisma and client in v5.12.0, someone is having this kinda problem?

Delete all collections and then run: npx prisma db push

with mongodb not working, db pull not supported.

awww, im working with thousand of files to do prototype. Used faker to create sample data... just learned they have duplicated...
really


[Snapps] GraphQL queries

These changes build upon #6136.
This PR

adds the 'output' GraphQL type for snapp transactions

This closely matches the input type, so that it is trivial to take the snapp transaction returned by an endpoint and pass it to another input endpoint

returns this rich type from sendSnappCommand (previously this was a dummy bool value)
adds a snappStatus query -- analogous to transactionStatus -- to find the current status of a particular snapp transaction

This currently takes the snapp ID as input, even though this ID encodes the entire command and proof and is thus very large
The current implementation is extremely expensive. It's essentially the same as the implementation of transactionStatus, which is also very expensive; I concluded that either this is 'fine for now', or that both should be fixed together as part of a separate change.
It's fairly simple to accept a hash instead, but it would make this command even more extremely expensive: we would need to hash every snapp command in every block that we know about to compare it to the target hash. I elected not to do this.

adds a snappCommands field to Block.transactions, exposing the snapp commands seen in a particular block.

Checklist:

[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Stale, closing

Stale, closing


[CARBONDATA-3606] Remove custom partition feature

Custom partition feature is deprecated, use Hive standard partition instead.

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1082/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1084/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1093/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1103/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1088/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1089/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1098/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1108/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1093/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1102/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1112/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1103/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1122/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1113/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1112/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1131/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1121/

LGTM, thanks for your contribution.

why CI don't compile spark-common-cluster-test module? it shows all test cases are passed.

why is it merged with comments open?


[incubator/kubeless] Fix config options in README

Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #13604

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] title of the PR contains starts with chart name e.g. [stable/chart]

/ok-to-test
/lgtm


Can't verify developer n

What happened?

Steps to reproduce
dowloaded from link in email announcing MacOS app for Dentraland
used regular dialog to load .dmg file into apps
launched app
bombed as shown in attachment
Operating System
MacOS Monterey 12.5
Wallet
None, played as guest
CPU
2 Ghz Quad-Core Intel Core i5
GPU
unknown
RAM
16GB
Kernel Version
unknown
Unity Version
unknown
Realm
unknown
NameTag
acc-minter

This is expected behavior.


[Publication] Add sources jar for publication

What's in this PR?
This PR updates the publication file a bit by adding sourcesJar into the publication.

This should be replaced by #905


Feature Request : Ability to save Adetailer Separate Checkpoint

Couldn't find the value for this, it's saved when saving default settings though.
Could add them manually if anyone knows the values for those 2 options : (enable and set checkpoint)

Multi-select fields, such as the checkpoint selector, are not supported with this extension.


Change repo links to pugjs/jade

Right now jadejs/jade is a different person's repository (squatter maybe?). I changed Travis to pugjs as well, but coveralls gives me a 404 at pugjs/jade.

It was a remnant of #2231.


Add merge sort algorithm in Kotlin (#484).

Fixes issue #484

@TamsilAmani You must resolve your conflicts. Your README.md isn't up-to-date.


Fog + Groom sorting

Hey,
Just wondering if you or anyone else has ever tried to render groom with a fog volume? I'm currently trying todo just that and have noticed that the groom will always render in-front of the volume. I've tried using the console variable r.HairStrands.ComposeAfterTranslucency 0 and while that works for materials like glass, it dosen't affect the vdb.

I'm assuming this is related to how the volume material is setup but I'm unsure if its something that can be solved?
This is using the VdbMaterialActor, if I switch to the VdbPrincipledActor it sorts correctly! But ideally I'd like to be able to use the Material Actor for game play :)

Same issue as #32

Yes, sadly I'm aware of this issue and don't think there's a proper solution to the problem due to limited extensibility from a plugin, sorry.

Ah thanks all, sorry I didn't see the previous post, I'll close out this one


Added Support For Simple Voice Chat

I ported this mod to paper and I added Simple Voice Chat to my port so I wanted to add the same features to the mod to keep them somewhat in Parity. Here is my port for Paper https://github.com/Bryan1029384756/PaperRecorder
To use new feature for the mod please download the Simple Voice Chat mod for fabric and install in the plugins folder and Mod will take care of the rest. To hear the voices in the Replay Mod please download Replay Voice Chat. This feature is optional and does not force the users to get Simple Voice Chat to use Server side replay recorder.

Hi! This looks promising, but I'll have to run some testing later to ensure this works properly before I decide if I can merge the commit.

by the look of the code you're sending all audio packets to all active recorders always.
that will quickly make the file sizes explode. it is needed to apply some pruning in order to only send the packets to the recorders that can hear them

also i saw you're using the save() method of the recorders, it is better if you use the onPacket one instead.
another note is that VoiceRecorder is not an extension of a ReplayRecorder but a Utility class so it should be moved to it's appropriate package

Your right, i only did save() because that's how another mod did it and they skipped the onPacket. I originally had it on onPacket but changed it because audio issues but that has been resolved. onSound has a sender and that's basically the clients audio. So what ill do is when onSound is called I'm going to get the sender and save that packet to their recording. onEntitySound has a Receiver connection (and I belive the others one also but I need to test. Right now I just got a second account to test with 2 players) that I can get and will be able to save to their recorder. Ill looks at it later today when I get out of work. Packaged moved to the Util class. Im new to all of this still but learning as I'm going.

Updated to only send packets to players that are nearby. I think having the max distance to the server view distance is fine but I'll probably add it to the config so they can better modify what they want. In the replay they can hear a lot further than they can ingame but I wanted to get voices from players farther than the default 32 blocks in Simple Voice Chat, an opinion would be nice if we should only get the same voices from within the default voice radius or all voice's in possible loaded chunks nearby the player, like how it is setup right now. The only thing I can't get working is the region recording. Still working on it but take a look when you guys get the chance

So far I was able to get Voice Recording to work for player recording still. Was not able to make any progress with region recording. I also updated the config to have:
#The range from the player that is being recorded that it will pick up other players voices in the replay
voice_recording_range: 48
#enable or disable the whole voice recording
voice_recording_enabled: false

Ok finished. Everything works now. Player Voice Recording and Region Voice Recording all work. Just give it a try when you have a chance and let me know if I missed anything.


the previous version with "online download" won't work?

My domain is down but it still uses this GitHub as an emergency backup so it still works, but since that is technically against the GitHub ToS my account could get suspended.

Yes it will work fine, the shellcode should also work fine since it's only a loader.

Yes it will work fine, the shellcode should also work fine since it's only a loader, though it might not be able to install if you use a crypter that uses RunPE.

I only use the ConfuserEx, setting only the "maximum" preset

Yes it will work fine, the shellcode should also work fine since it's only a loader, though it might not be able to install if you use a crypter that uses RunPE.

it was installed at the beginning, but disappeared after a day. I noticed this by the amount of hashrate of a specific miner name using a shellcode

If you use maximum then you should remove the "Resource Encryption" option since otherwise it will double encrypt the embedded miner.

No problem, I'm continuing to do tests on things as well.


Couple of questions

Hi,
Couple of questions:
Q1: I am trying to save blood pressure values (sys/dia) and I am using iOS device, I tried this but it seems the values are not persisted:
   Healthkit.saveQuantitySample(
            HKQuantityTypeIdentifier.bloodPressureSystolic,
            HKUnit.MillimetersOfMercury,
            120, {
            start: new Date()
        }
        );

   Healthkit.saveQuantitySample(
            HKQuantityTypeIdentifier.bloodPressureDiastolic,
            HKUnit.MillimetersOfMercury,
            70, {
            start: new Date()
        }
        );

Q2: I am trying to save the heart rate measurement and I am using this code, but it seems there is a problem in the "Count" unit, I think the code expects "count/min" but it seems the value is not mapped:
 Healthkit.saveQuantitySample(
            HKQuantityTypeIdentifier.heartRate,
            HKUnit.Count,
            68,
            {
                start: new Date(),
                 }
        );

Appreciate any help on this, thanks!

Actually I found the answer to Q1! its the correlation readings :)
   ```

Healthkit.saveCorrelationSample(HKCorrelationTypeIdentifier.bloodPressure, [
{
quantityType: HKQuantityTypeIdentifier.bloodPressureSystolic,
unit: HKUnit.MillimetersOfMercury,
quantity: 120,
metadata: {
            }
        },
        {
            quantityType: HKQuantityTypeIdentifier.bloodPressureDiastolic,
            unit: HKUnit.MillimetersOfMercury,
            quantity: 80,
            metadata: {}
        }

    ]);

Closing as I found all my answers, and thank you for the great library!


Custom template with highlight

Hi,
Please, is it possible to combine custom template with highlight?
Thanks

Hi,
Custom templates should work with highlighthing.

Hi,
Not work actually for me, if you can check the code i’m using:
template: {
		type: "custom",
		method: function(value, item) {
			return "" + item.civilite + " " + item.prenom + " " + item.nom + " " + item.fonction + " " + item.departement + ' (' + item.coderegion + ')';
		}
	}

Thanks!

It turned out, that you are missing value in template method. I've prepared demo example with your template code. It's located in demo/example_custom_template.html. I hope that this will solve your issue.

Thanks!
Is there a possibility to highlights all the items, not only one?

At the moment you cannot higlight many elements at once.


Add conda flow for intel gpus

I was able to reproduce it in a clean Ubuntu:22.04 and 20.04 docker. Reproduction steps are here: https://github.com/intel/compute-runtime/issues/595#issuecomment-1497677922


docs(readme)

require('tunnel-ssh') exposes { tunnel: [Function], setup: [Function] }
added missing passphrase option

Thanks, but the changes are obsolete to version 4.
I will update the readme to explain the "passphrase" option since it is a very common used one.
Thanks !


Application connection error

How can I connect this given android application with esp32 burnt from your given Arduino code, as I have zero knowledge of android studio or connection scripts of the application. I have opened the application and there is nothing is displayed on the screen except controls and controls are not working also. I want you to help me out with this Sir. Thanks

Hello @ryazi-159 , did you found out how to connect esp32 cam?

@ryazi-159  please how did you solve the problem?


Suggestion: Return multiple unique values for layout

Hi, I'm creating a bunch of site maps and using your excellent tool.
My site feature polygons are essentially grouped into "Areas" (which I am using as the SiteID), which are broken up into "Locations", further broken down into "Features". I'm using your excellent tool to automatically create maps of each area.
What would be useful is for some smart text to return a list of the unique "Locations" which are included in each "Area" as it prints them.
Another feature that would be handy is a sum of values from a numeric column as filtered by the SiteID but that seems more complex.
Thanks

Interesting idea.
And yes, aggregates could be quite handy if your site table holds multiple records for each site.
Currently, the function SMGetSiteColumnValue allows you to read from the first record for the current site.
We could probably add some additional functions like

SMGetSiteColumnUniqueValues returns a string with separated values. A parameter defines the separator, like , or new line
SMGetSiteColumnMaxValue returns the maximum value for a numeric (or date/time?) column
SMGetSiteColumnMinValue returns the maximum value for a numeric (or date/time?) column
SMGetSiteColumnSumValue returns the summed value for a numeric column
SMGetSiteColumnAvgValue returns the average value for a numeric (or date/time?) column

As a parameter, you would pass the column name

That all sounds great. The sum value on the numeric column is likely what I'd personally use the most. The data I work with are usually mapped areas of grounds maintenance features. So for instance the output would be the total square metreage of grass, or shrub beds or hardstanding that are included in the map.
Being able to split the sum by unique values in another column (such as sum of Area where Feature is unique, or where feature = "Grass", or where Road is unique) but equally I could do that by splitting columns up using a query.
Thanks


SCNetworkReachabilitySetCallback (Crashed: io.ably.main)

Which version of the Ably SDK are you using?
1.2.10
On which platform does the issue happen?
Multiple
Are you using Cocoapods?
1.11.2
Which version of Xcode are you using?
Xcode 13.3.1
Build version 13E500a
What did you do?
I don't have too much info. I have found this to happen to some users in production. Never managed to reproduce directly.
You can check the firebase stack trace.
This looks like a similar issue as https://github.com/ably/ably-cocoa/issues/593.
Crashed: io.ably.main
0  libsystem_pthread.dylib        0x4924 <redacted> + 126
1  SystemConfiguration            0x28938 SCNetworkReachabilitySetCallback + 64
2  Ably                           0x27570 -[ARTOSReachability listenForHost:callback:] + 348
3  Ably                           0x3df10 -[ARTRealtimeInternal transitionSideEffects:] + 4516
4  Ably                           0x3ca90 -[ARTRealtimeInternal transition:withErrorInfo:] + 388
5  Ably                           0x17210 -[ARTEventListener timeout] + 84
6  Ably                           0x1738c __30-[ARTEventListener startTimer]_block_invoke + 36
7  Ably                           0x1ae88 __53-[ARTScheduledBlockHandle initWithDelay:queue:block:]_block_invoke + 100
8  libdispatch.dylib              0x103e4 _dispatch_block_async_invoke2 + 104
9  libdispatch.dylib              0x61298 _dispatch_client_callout + 16
10 libdispatch.dylib              0x6028 _dispatch_continuation_pop$VARIANT$mp + 412
11 libdispatch.dylib              0x16d64 _dispatch_source_invoke$VARIANT$mp + 1304
12 libdispatch.dylib              0x9908 _dispatch_lane_serial_drain$VARIANT$mp + 300
13 libdispatch.dylib              0xa518 _dispatch_lane_invoke$VARIANT$mp + 420
14 libdispatch.dylib              0x13fac _dispatch_workloop_worker_thread + 712
15 libsystem_pthread.dylib        0xb5bc _pthread_wqthread + 272
16 libsystem_pthread.dylib        0xe86c start_wqthread + 8

┆Issue is synchronized with this Jira Bug by Unito

Reopening this as well since https://github.com/ably/ably-cocoa/issues/593 was reopened.


3.0 RC

Fixing some basic issues, some standardisation and refactoring, and bringing content negotiation in to Arachne from Freya.

I'm going to merge this in - it does only push a new prerelease build after all, and it will be good to validate it before pushing that "final" button for 3.0.


Update app name and favicon for development environment

Change the app name and favicon to reflect the development environment.
it's very easy to mistake which version the dev is currently using
expo docs on this https://docs.expo.dev/build-reference/variants/
bug icon from lucide https://lucide.dev/icons/bug
inspired by personal usage and @gaearon at https://bsky.app/profile/danabra.mov/post/3lbt4zicpuk27

included 2 designs for the favicon so i'd like your input on which one to use:
attempt 1:

attempt 2 - inverted colors:

attempt 3

Just a personal suggestion, perhaps we could try using caterpillar as the icon in the bottom right corner.


[fix] Fix bug in data distributed learning with local empty leaf

In data distributed learning (including both data and voting modes), when the value distribution of a feature differs too much across machines (for example, two machines have totally nonoverlapped ranges of the same feature), there can be a leaf which contains 0 local data on a machine during training.
(Note that this happens more easily when pre_partition=true. With pre_partition=false, the data partition will be random and feature value distributions across machines are likely to be similar.)
In that case, the histogram buffers of that leaf won't be cleared because the ConstructHistograms method in Dataset will simply exit.
https://github.com/microsoft/LightGBM/blob/6ad3e6e9e306d3657a0a3d0201862d1f471b2a5e/include/LightGBM/dataset.h#L470-L478
Thus the histogram clear code in this method is not executed.
https://github.com/microsoft/LightGBM/blob/6ad3e6e9e306d3657a0a3d0201862d1f471b2a5e/src/io/dataset.cpp#L1192-L1193
But still, with data distributed learning, the histograms will be transferred to other machines to get the global histograms, for example, in data mode, we have
https://github.com/microsoft/LightGBM/blob/fba18e488ccd82b25c4e0788b2fec1f75bcde46a/src/treelearner/data_parallel_tree_learner.cpp#L159-L170
Since the histogram buffer is not cleared, content from previous iteration remains in the buffer, which results in a wrong global histogram after synchronization.
This PR is to guarantee that under data distributed learning, when an empty local leaf appears, its histogram content is cleared before synchronization. And it should fix issue #4026 and potentially issue #4178.

This fix does fix the case for data-parallel training but there are still some errors in the voting-parallel case as seen in #4414


Error: The argument type 'HTMLStyleElement' can't be assigned to the parameter type 'JSAny'.

Steps to reproduce
https://github.com/dart-lang/web/issues/128
Expected results
https://github.com/dart-lang/web/issues/128
Actual results
https://github.com/dart-lang/web/issues/128
Code sample
https://github.com/dart-lang/web/issues/128
Screenshots or Video
https://github.com/dart-lang/web/issues/128
Logs
https://github.com/dart-lang/web/issues/128
Flutter Doctor output
https://github.com/dart-lang/web/issues/128

Hi @imeDevelopers, please provide the output of flutter doctor -v along with steps to reproduce and a minimal complete reproducible code sample so that we can investigate this issue.
Thank you

@danagbemava-nc
3.16.5 Flutter SDK
3.2.3 (Flutter) Dart SDK
Package: web
Version: 0.4.0
This was a flutter web application build, both debug and release.

Windows 11

Launching lib\main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../../flutter/packages/flutter/lib/src/widgets/_platform_selectable_region_context_menu_web.dart:118:33: Error: The argument type 'HTMLStyleElement' can't be assigned to the parameter type 'JSAny'.

'HTMLStyleElement' is from 'package:web/src/dom/html.dart' ('../../../AppData/Local/Pub/Cache/hosted/pub.dev/web-0.4.0/lib/src/dom/html.dart').
'JSAny' is from 'dart:_js_types'.
web.document.head!.append(styleElement);
^

Does this reproduce with package:web version 0.3.0? Per the changelog https://github.com/dart-lang/web/blob/main/CHANGELOG.md#040 this is intentional in version 0.4.0

Does this reproduce with package:web version 0.3.0? Per the changelog https://github.com/dart-lang/web/blob/main/CHANGELOG.md#040 this is intentional in version 0.4.0

package:web version 0.4.0

To reiterate my previous answer: In package:web version 0.4.0 the implements JSObject was removed from DOM types.
This is mentioned in the changelog here: https://github.com/dart-lang/web/blob/main/CHANGELOG.md#040
Remove implements JSObject from all types. This is needed to move the JS types exposed in dart:js_interop to extension types. This subtyping will be added back in a future version when we move all package:web types to extension types.

So you'll have to go back to version 0.3.0 until the move to extension types is done.

can you please run
dart pub upgrade
for me after running this command it started working again, I was also facing the same issue before.
cc @dimiril

@danagbemava-nc 3.16.5 Flutter SDK 3.2.3 (Flutter) Dart SDK Package: web Version: 0.4.0
This was a flutter web application build, both debug and release.

3.16.5 Flutter SDK
3.2.3 (Flutter) Dart SDK
Package: web
Version: 0.4.0
The problem appeared in the latest update flutter

To reiterate my previous answer: In package:web version 0.4.0 the implements JSObject was removed from DOM types. This is mentioned in the changelog here: https://github.com/dart-lang/web/blob/main/CHANGELOG.md#040
Remove implements JSObject from all types. This is needed to move the JS types exposed in dart:js_interop to extension types. This subtyping will be added back in a future version when we move all package:web types to extension types.

So you'll have to go back to version 0.3.0 until the move to extension types is done.

flutter pub add web:^0.3.0
"web" is already in "dependencies". Will try to update the constraint.
Note: web is pinned to version 0.4.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_test from sdk depends on web 0.4.0 and syara depends on web 0.3.0, flutter_test from sdk is forbidden.
So, because syara depends on flutter_test from sdk, version solving failed.

Hi all, does this happen with the flutter counter app?

Same Problem after upgrading to 3.16.5 .
Has anyone found a solution to this problem?

Same Problem after upgrading to 3.16.5 . Has anyone found a solution to this problem?

So far there is no solution

Additionally, I have tried overriding the dependency on web 0.3.0, but it hasn't helped.
Ultimately, I downgraded to 3.16.4, which resolved the issue.

Can anyone provide a complete minimal reproducible code sample so that we can investigate this issue?
Thanks

flutter pub add web:^0.3.0 "web" is already in "dependencies". Will try to update the constraint. Note: web is pinned to version 0.4.0 by flutter_test from the flutter SDK. See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_test from sdk depends on web 0.4.0 and syara depends on web 0.3.0, flutter_test from sdk is forbidden. So, because syara depends on flutter_test from sdk, version solving failed.

flutter pub add web:^0.3.0
"web" is already in "dependencies". Will try to update the constraint.
Note: web is pinned to version 0.4.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_test from sdk depends on web 0.4.0 and syara depends on web 0.3.0, flutter_test from sdk is forbidden.
So, because syara depends on flutter_test from sdk, version solving failed.

quick workaround in PlatformSelectableRegionContextMenu
import 'dart:js_util' as js_util;

static String _registerWebSelectionCallback(_WebSelectionCallBack callback) {
  _registerViewFactory(_viewType, (int viewId) {
    final web.HTMLElement htmlElement = web.document.createElement('div') as web.HTMLElement;
    htmlElement
      ..style.width = '100%'
      ..style.height = '100%'
      ..classList.add(_kClassName);

    // Create css style for _kClassName.
    final web.HTMLStyleElement styleElement = web.document.createElement('style') as web.HTMLStyleElement;

   // web.document.head!.append(styleElement);
    js_util.callMethod(web.document.head!, 'append', [styleElement]); // Use js_util here

    final web.CSSStyleSheet sheet = styleElement.sheet!;
    sheet.insertRule(_kClassRule, 0);
    sheet.insertRule(_kClassSelectionRule, 1);

    htmlElement.addEventListener('mousedown', (web.Event event) {
      final web.MouseEvent mouseEvent = event as web.MouseEvent;
      if (mouseEvent.button != _kRightClickButton) {
        return;
      }
      callback(htmlElement, mouseEvent);
    }.toJS);
    return htmlElement;
  }, isVisible: false);
  return _viewType;
}

I upgraded Flutter SDK to the latest version:

When creating a new Flutter project, I select a web device and run main.dart to launch the app.
I get the following error:
Flutter/packages/flutter/lib/src/widgets/_platform_selectable_region_context_menu_web.dart:118:33: Error: The argument type 'HTMLStyleElement' can't be assigned to the parameter type 'JSAny'.
 - 'HTMLStyleElement' is from 'package:web/src/dom/html.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/web-0.4.2/lib/src/dom/html.dart').
 - 'JSAny' is from 'dart:_js_types'.
      web.document.head!.append(styleElement);

As the error points to the web implementation of the context menu at flutter/lib/src/widgets/_platform_selectable_region_context_menu_web.dart,
we'll probably have to cast the HTMLStyleElement to JSAny.
See my previous comment on why the implements JSObject was removed.
cc @justinmc

Simply i did:
dependency_overrides:
  web: ^0.3.0

and it worked :)

I'm out of my league with that web stuff... @kevmoo is the solution given by @navaronbracke above reasonable here?
Also CC @chunhtai who I believe wrote that file.

@srujzs – thoughts here?

I don't think modifying that file/cherrypicking is the answer here as it may be one of several files that won't work. There's a version mismatch that needs to be addressed.
For clarity:

Flutter pinned package:web 0.3.0. This includes Flutter packages like flutter_test.
Code that use package:web 0.3.0 might not work with 0.4.X due to the change in the implements clause (hence the errors around type mismatch)

Both your package and any dependencies you use should support package:web 0.3.0 if you want to use Flutter 3.16.5 (or any other version that pins 0.3.0 for that matter). If not, you'll get a conflict. In a future Flutter release, this pin is removed, but for now, users have to support 0.3.0: https://github.com/dart-lang/sdk/wiki/Flutter-Pinned-Packages

Because every version of flutter_test from sdk depends on web 0.4.0 and syara depends on web 0.3.0, flutter_test from sdk is forbidden.

I don't understand how this error is possible, so I might be missing something. With Flutter 3.16.5, flutter_test explicitly uses web: 0.3.0.

When creating a new Flutter project, I select a web device and run main.dart to launch the app. I get the following error:
- 'HTMLStyleElement' is from 'package:web/src/dom/html.dart' ('../../AppData/Local/Pub/Cache/hosted/pub.dev/web-0.4.2/lib/src/dom/html.dart').

This is interesting. 3.16.9 (the latest) also pins 0.3.0 so it's strange that it's trying to use 0.4.2. https://github.com/dart-lang/web/issues/128#issuecomment-1913582637 indicates you have ^0.4.2 so I'd expect a pub version mismatch before you get to this error. Did you change the Flutter pin locally? Modifying the pubspec.yaml files in Flutter is how I can come across this error.

Any news? someone with flutter 3.16.9 can build right web ?

Any news? someone with flutter 3.16.9 can build right web ?

If I understand your question correctly, you should be able to (like you could with 3.16.5). You just have to make sure your package and any package you use support 0.3.0 of package:web as those version of Flutter pin the package version.

can you please run dart pub upgrade and flutter update-packages --force-upgrade
for me after running this command it started working again, I was also facing the same issue before.
cc @dimiril

I dit it and still is not working on 3.16.9


flask not running

i created a python file with hello world and imported flask but when i run that file on cmd it does not work the address doesnot open the file which i created instead it opens another webpage

Your error report lacks all the important details:

your actual code
how you ran it
what was displayed in the terminal
the "other webpage" that was supposedly opened

In any case, this sounds like a problem on your side and not like a bug in Flask, so it is off-topic in this issue tracker; please use other places such as Stack Overflow or our IRC/Discord channels for this.

and i didnt get the address
On Thu, 11 Jun 2020 at 23:31, Adrian<EMAIL_ADDRESS>wrote:

Closed #1837 https://github.com/pallets/werkzeug/issues/1837.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pallets/werkzeug/issues/1837#event-3435323594, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APUCARLTEB5GFES3JLS3LRLRWELWPANCNFSM4N3UAWMQ
.


presubmit does not catch the compilation failure introduced by PR 7080

all presubmit are  green for PR 7080, but locally it fails in gn_build.sh

-- Build: GN configure
'--------------------------------
ERROR at //examples/platform/linux/AppMain.cpp:28:11: Include not allowed.
#include <lib/shell/Engine.h>
^-----------------
It is not in any dependency of
//examples/platform/linux:app-main
The include file is in the target(s):
//src/lib/shell:shell_core
which should somehow be reachable.

Duplicate of #7197


Minor stuff

What's New?

Adds missing index (point.id <=> point.pointer_type)
Upgrade all Ruby deps
Upgrade jest deps that have changed in last two days while I'm in there.

Coverage remained the same at 91.318% when pulling dc0f4560cccbede360e9094d63ae8336e73e7d52 on RickCarlino:minor_stuff into 4c6750043527ab2484375b24b28b4cd5ee76020f on FarmBot:staging.


installation

Hello,
first of all thank you for the work done.
here, I can't install the dependency "pip3 intall PyP100"
pi@octopi:~ $ pip3 install PyP100
-bash: pip3: command not found
I can't find anywhere the *.py files modified to enter the email and password for a P110.
Could you please help me ?
thank you

Hi,
Have you managed to install any packages through pip before? It seems you don't have pip3 installed


Spanish: Fix PR #164

Closes #164

Coverage remained the same at 99.858% when pulling e9cb74f442227d3d1c83205fc6ee4475296694d0 on fix-164 into 862b549502ebd5d35c38a92b64b1450acf325983 on master.

Coverage remained the same at 99.858% when pulling e9cb74f442227d3d1c83205fc6ee4475296694d0 on fix-164 into 862b549502ebd5d35c38a92b64b1450acf325983 on master.


Restore webhooks after cluster-scoped and namespaced resources

Relevant issues:

https://github.com/rancher/backup-restore-operator/issues/45
https://github.com/rancher/backup-restore-operator/issues/73

Will squash commits after approval.

TODO:

[ ] confirm that we can still restore the backup on another Rancher setup


Setup release v0.0.4 [phab:D361]

Created by schroederc at 2015-06-24 17:26:35:

schroederc wrote at 2015-06-24 17:30:48:
https://github.com/google/kythe/releases/tag/untagged-dc865143276f26765903

zarko accepted this revision at 2015-06-24 18:03:17

schroederc closed via commit 945e7949a33395ec78a49c811faa54dfca0482d5 at 2015-06-24 19:53:59


Add developerMode method

Added the developerMode property method

Adding Developer Mode setting to Device module.

:tada: This PR is included in version 0.1.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


evaluate whether we still need commonjs support

Since we originally stood up this library the ecosystem has moved a lot:

nodejs supports ESM, and all supported versions have them enabled by default now
major community projects have moved to ESM only, including some in our build infrastructure (see #1041 where we can't upgrade to chai 5 because we still have commonjs based tests)
we've established that the sub modules we have (fluent API, sub-namespaces for models...) can only be consumed in ESM (when the generated client is published as its own package) when working on msgraph-sdk-typescript.
we're still on the 2.X branch of node-fetch because 3.X moved to ESM

IMHO we should remove commonjs support after testing our main scenarios (SPFx, TeamsFX....) and BEFORE the GA so people don't end up in confusing variants + configuration misalignment issues.

@gavinbarron @musale I'd love your input on this one when you have a couple of minutes.

I agree with removing cjs support all together. You have made valid points to remove it. ESM has more desirable benefits like tree-shaking which helps developers bundle smaller sizes of the sdk in their apps. In the core https://github.com/microsoftgraph/msgraph-sdk-typescript-core repo, this has already been done. In mgt, we removed it and directed using module syntax in the browser when loading mgt from the cdn https://github.com/microsoftgraph/microsoft-graph-toolkit/releases/tag/v4.0.0.

@sebastienlevert I think we have an agreement on the engineering side for this one. Especially since it's blocking other work. Any opposition to removing common is support here?

No. We should definitely drop it at this point.

Thanks for your input. @musale please proceed as part of your existing PR.

Decision is to drop commonjs support.

Wait, we still need to do some work to remove it


Cannot disable Keystroke Output when creating the profile.

Hi,
I have a new MC9300 that comes with Datawedge 8.2.4 and for some reason is acting different than the previous 7.3 version.
I'll try to explain: When my TextField has the focus and I hit the scan trigger, it gets the value on the onEvent function, but right after DataWedge inject the scanned code again, duplicating the code.
Manually I disable the "Keystroke Output" and it seems to help. I'm trying to disable keystroke output at the moment of the profile creating but is not working. Here is my code. Can you help me?
private fun createDataWedgeProfile(profileName: String) {
//  Create and configure the DataWedge profile associated with this application
//  For readability's sake, I have not defined each of the keys in the DWInterface file
dwInterface.sendCommandString(this, DWInterface.DATAWEDGE_SEND_CREATE_PROFILE, profileName)
val profileConfig = Bundle()
profileConfig.putString("PROFILE_NAME", profileName)
profileConfig.putString("PROFILE_ENABLED", "true") //  These are all strings
profileConfig.putString("CONFIG_MODE", "UPDATE")
val barcodeConfig = Bundle()
barcodeConfig.putString("PLUGIN_NAME", "BARCODE")
barcodeConfig.putString("RESET_CONFIG", "true") //  This is the default but never hurts to specify
val barcodeProps = Bundle()
barcodeConfig.putBundle("PARAM_LIST", barcodeProps)
profileConfig.putBundle("PLUGIN_CONFIG", barcodeConfig)
val appConfig = Bundle()
appConfig.putString("PACKAGE_NAME", packageName)      //  Associate the profile with this app
appConfig.putStringArray("ACTIVITY_LIST", arrayOf("*"))
profileConfig.putParcelableArray("APP_LIST", arrayOf(appConfig))
dwInterface.sendCommandBundle(this, DWInterface.DATAWEDGE_SEND_SET_CONFIG, profileConfig)
//  You can only configure one plugin at a time in some versions of DW, now do the intent output
profileConfig.remove("PLUGIN_CONFIG")
val intentConfig = Bundle()
intentConfig.putString("PLUGIN_NAME", "INTENT")
intentConfig.putString("RESET_CONFIG", "true")
val intentProps = Bundle()
intentProps.putString("intent_output_enabled", "true")
intentProps.putString("intent_action", PROFILE_INTENT_ACTION)
intentProps.putString("intent_delivery", PROFILE_INTENT_BROADCAST)  //  "2"
intentConfig.putBundle("PARAM_LIST", intentProps)
profileConfig.putBundle("PLUGIN_CONFIG", intentConfig)
    val keystrokeConfig = Bundle()
    keystrokeConfig.putString("PLUGIN_NAME", "KEYSTROKE")
    keystrokeConfig.putString("RESET_CONFIG", "true")
    val keystrokeProps = Bundle()
    keystrokeProps.putString("keystroke_output_enabled", "false")
    keystrokeConfig.putBundle("PARAM_LIST", keystrokeProps)
    profileConfig.putBundle("PLUGIN_CONFIG", keystrokeConfig)
    dwInterface.sendCommandBundle(this, DWInterface.DATAWEDGE_SEND_SET_CONFIG, profileConfig)

}

@nilac8991  need help


Convert cfgs to Bril

This PR adds a conversion from our CFG representation back to bril. It also distinguishes between Simple CFGs, which only branch on bril booleans, and Switch cfgs, which are used internally to translation to RVSDG.
This distinguishment is only enforced by asserts, but there's also a type alias for the two to keep them apart.
Finally, I changed the peg snapshots to use dot files for stability, because different versions of graphviz generate different svgs.

Thanks for review @ezrosent I addressed all your nits that I marked as resolved (:


TestEmbedEtcd fails

--- FAIL: TestEmbedEtcd (0.00s)
	embed_test.go:81: 4: expected success, got error listen tcp <IP_ADDRESS>:40001: bind: address already in use
	embed_test.go:81: 5: expected success, got error listen tcp <IP_ADDRESS>:40001: bind: address already in use
	embed_test.go:81: 6: expected success, got error listen tcp <IP_ADDRESS>:40001: bind: address already in use

@heyitsanthony I looked at the code and tests and they all correctly closing the listeners from previous TestEmbedEtcd runs. Think the port is just still bind in OS level?

@gyuho yeah, I think there's a delay before loses the bind; the old integration tests mentioned it. The fix is probably to use unique ports.

via semaphore
--- FAIL: TestEmbedEtcd (1.18s)
	embed_test.go:78: 6: expected success, got error listen tcp <IP_ADDRESS>:40029: bind: address already in use

netstat in semaphore via ssh
tcp        0      0 localho:afs3-fileserver *:*                     LISTEN
tcp        0      0 localhost:postgresql    *:*                     LISTEN
tcp        0      0 localhost:7199          *:*                     LISTEN
tcp        0      0 *:29920                 *:*                     LISTEN
tcp        0      0 localhost:35524         *:*                     LISTEN
tcp        0      0 localhost:9160          *:*                     LISTEN
tcp        0      0 *:25672                 *:*                     LISTEN
tcp        0      0 localhost:27017         *:*                     LISTEN
tcp        0      0 localhost:mysql         *:*                     LISTEN
tcp        0      0 localhost:11211         *:*                     LISTEN
tcp        0      0 *:6379                  *:*                     LISTEN
tcp        0      0 *:6099                  *:*                     LISTEN
tcp6       0      0 localhost:postgresql    [::]:*                  LISTEN
tcp6       0      0 [::]:29920              [::]:*                  LISTEN
tcp6       0      0 [::]:amqp               [::]:*                  LISTEN
tcp6       0      0 [::]:6379               [::]:*                  LISTEN
tcp6       0      0 [::]:9200               [::]:*                  LISTEN
tcp6       0      0 [::]:http               [::]:*                  LISTEN
tcp6       0      0 [::]:epmd               [::]:*                  LISTEN
tcp6       0      0 localhost:9042          [::]:*                  LISTEN
tcp6       0      0 [::]:6099               [::]:*                  LISTEN
tcp6       0      0 [::]:9300               [::]:*                  LISTEN

again, with another ssh session on another worker:
tcp        0      0 localho:afs3-fileserver *:*                     LISTEN
tcp        0      0 localhost:postgresql    *:*                     LISTEN
tcp        0      0 localhost:7199          *:*                     LISTEN
tcp        0      0 *:29920                 *:*                     LISTEN
tcp        0      0 localhost:9160          *:*                     LISTEN
tcp        0      0 localhost:58056         *:*                     LISTEN
tcp        0      0 *:25672                 *:*                     LISTEN
tcp        0      0 localhost:27017         *:*                     LISTEN
tcp        0      0 localhost:mysql         *:*                     LISTEN
tcp        0      0 localhost:11211         *:*                     LISTEN
tcp        0      0 *:6379                  *:*                     LISTEN
tcp        0      0 *:6099                  *:*                     LISTEN
tcp6       0      0 localhost:postgresql    [::]:*                  LISTEN
tcp6       0      0 [::]:29920              [::]:*                  LISTEN
tcp6       0      0 [::]:amqp               [::]:*                  LISTEN
tcp6       0      0 [::]:6379               [::]:*                  LISTEN
tcp6       0      0 [::]:9200               [::]:*                  LISTEN
tcp6       0      0 [::]:http               [::]:*                  LISTEN
tcp6       0      0 [::]:epmd               [::]:*                  LISTEN
tcp6       0      0 localhost:9042          [::]:*                  LISTEN
tcp6       0      0 [::]:6099               [::]:*                  LISTEN
tcp6       0      0 [::]:9300               [::]:*                  LISTEN

So it looks like the environment is listening on random upper ports (e.g., 35524 vs 58056)...


Create a new script button missing

There is no Create a new script button in the Utilities tab. At least not only there if u consider the + button it. #187  ____

the instructions should say to use import from file since you're downloading the raw from github

i dont think thats necessary since clicking the link is all i needed to install it (and confirming it ofc)

If you need help installing the script check out this video: https://www.youtube.com/watch?v=72PPKv--xe4&t=6s&ab_channel=Joelmatic

I dont, just that one step wasn't accurate but I see it's fixed already


[Feature Request] Support loading kernel soruce from relative and absolute path

Is your feature request related to a problem? Please describe.
I've been writing out-of-tree Matalium applications over the weekends. Currently I am forced to create a symlink under TT_METAL_HOME to get CreateKernel to load my own kernels.
For example, I've a kernel under /home/marty/copy.cpp. And have attempt to load it
    KernelHandle kernel = CreateKernel(
        program,
        "/home/marty/copy.cpp",
        core,
        DataMovementConfig{.processor = DataMovementProcessor::RISCV_0, .noc = NOC::RISCV_0_default}
    );

This always fails as Metalium unconditionally prepends TT_METAL_HOME to my specified load path.
                 Always | FATAL    | Failed to generate binaries for copy filesystem error: cannot copy: No such file or directory [/home/marty/Documents/not-my-projects/tt-metal//home/marty/copy.cpp] [/home/marty/Documents/not-my-projects/tt-metal/built/0/kernels/copy/13061086063963452508/brisc/kernel.cpp]
terminate called after throwing an instance of 'std::runtime_error'
  what():  TT_THROW @ tt_metal/impl/program/program.cpp:36: tt::exception

I am forced to create a symlink to workaround it. This is not piratical in real world applications.
ln -s /path/to/my_kernels/ $TT_METAL_HOME/my_kernels

Then load it as
    KernelHandle kernel = CreateKernel(
        program,
        "my_kernels/copy.cpp",
        core,
        DataMovementConfig{.processor = DataMovementProcessor::RISCV_0, .noc = NOC::RISCV_0_default}
    );

Describe the solution you'd like
CreateKernel should attempt to interpret absolute path as absolute and load the kernel without prepending TT_METAL_HOME. And relative paths should be treated as such. Searching under TT_METAL_HOME should be a fallback herbivorous.
Describe alternatives you've considered
Alternative APIs like CreateKernel(program, kernel_src_str, etc..) like OpenCL's clCreateProgramWithSource would be nice too. Although I see most applications ended using this kind of API and would strongly prefer the non-alternative solutin.
Additional context
None.

@jliangTT This sounds like small changes to the metal C++ host API + JIT device kernel compile system. (Maybe @pgkeller ?). I've triaged as P3 and put on runtime team board. Anything else I should do?

  Unfortunately it'll have to wait a bit for resources.

I fired this up to a P1, but it's runtime team's board, so feel free to do whatever with priority.

I suggest:

any path that doesn't start with "/" be treated as absolute, relative otherwise
this means any existing test that has a path that starts w/ "/" will break w/ this change, those have to be found and fixed
update the docs to mention how to create absolute and relative paths


Add @OnlyOnServer Annotation for Properties

The annotation can be added to a property. By doing so the property won't be synchronized with the client.

I do not think that this is a good idea. DolphinBeans are DTOs to synchronize data between client and server. If we make them more powerful, their responsibility will become blurred.

In that case we need to rethink the i18n implementation. I think it don't make sense to sync the key to the client. But to be true I currently don't see an additional point why we need it. So maybe rethink i18n :)


895 1 reactions checkbox implement focus border transition

 (1) React:ions Checkbox - implement focus border transition


Wrong URL in readme.md file for navigating to the documentation URL

I have replaced the old documentation URL of the website with the new one.

The link to the pull request that will fix this issue:
https://github.com/apiaryio/api-blueprint/pull/473


Version v1.0 - harmonised with guardian approach

Description:
This updated specification for the Hedera Hashgraph DID Method aligns with the Decentralized Identifiers (DIDs) v1.0 W3C Recommendation, published 19 July 2022.
The specification allows for DID resolution via construction of DID document elements from HCS messages, or from lookup of DID document from IPFS via a CID reference registered via a HCS message.
This is part of HIP-27: DID improvements to offer a broader support and interoperability for the Hedera DID method
Notes for reviewer:
This update incorporates suggested harmonisation approach presented by Paul Madsen in this presentation to harmonise Versions 0.9 Meeco and 0.9 Guardian - Hedera DIDs.pptx
The update also cleans up the 0.9 specification to remove discussion of appnet usage, which is no longer required.
An implementation of this specification is available for JavaScript at Meeco/hedera-did-sdk-js. The update to support IPFS based DID documents was merged in July 2023, and used in the Guardian Selective Disclosure Responder PoC.
A convenience repository provides an example of creating a IPFS based DID document, (however it uses the old web3.storage product, which sunset on 10 Jan 2024).
An updated driver for the DIF Universal Resolver for the Hedera DID method is available from Docker Hub via docker pull meeco/uni-resolver-driver-did-hedera, or from Github Meeco/hedera-did-universal-resolver-driver.
An example project of how identity-networks can build on top of Hedera and utilize Hedera DID Method is available at Meeco/hedera-identity-network.
Sample DIDs
A sample DID using HCS events; did:hedera:testnet:z5pFuTLEhRXiMiWVb1MxBm5ZJNVNVqTgumeMboAy3fCpd_0.0.645701

HCS Topic: Topic 0.0.645701 - Testnet - Ledger Works Explore (lworks.io)

A sample DID using IPFS doc; did:hedera:testnet:z6MknSnvSESWvijDEysG1wHGnaiZSLSkQEXMECWvXWnd1uaJ_0.0.1723780

HCS Message: Topic 0.0.1723780 - Sequence 1 - Testnet - Ledger Works Explore (lworks.io)
IPFS file: bafybeifapgfd2w74odw5326mroxch6kmbvg3grmp2uoq3r5iy6o4oowxim/did-document.json

Stakeholders and Contributors
Many thanks to all those involved:

Swirlds Labs: Keith (A), Tim (C), Greg (C), Serg (I), Justin (I), Pathorn (I), Michael (I), Giuseppe (I)
Meeco: Derek (R), Victoria (I)
Envision: Andrey (R), Prernaa (I)
THA: Micha (I), Cedric (I)
THF: Wes (I), Paul (C)

@derek-meeco can you please add Paul under THF?

Great effort. I think there is a misplaced link in the above pull request
"https://explore.lworks.io/testnet/topics/0.0.645701A sample DID using IPFS doc; did:hedera:testnet:z6MknSnvSESWvijDEysG1wHGnaiZSLSkQEXMECWvXWnd1uaJ_0.0.1723780"

Great effort. I think there is a misplaced link in the above pull request "https://explore.lworks.io/testnet/topics/0.0.645701A sample DID using IPFS doc; did:hedera:testnet:z6MknSnvSESWvijDEysG1wHGnaiZSLSkQEXMECWvXWnd1uaJ_0.0.1723780"

PR description update.

hello @derek-meeco, thanks for your effort in trying to improve the DID approach.
As far as I can tell, the overall changes might make sense, but the approach is mostly and only focused on single-sig HCS Topics, which is a huge limitation especially when you come from an appnet with a totally decentralised approach like Hsuite and SmartNodes Technology.
I see lots of improvements in your code, and i'm truly happy and thankful about them.
Still, I have many ideas and more improvements to share before bringing this into an official merge.
can we please schedule a call to talk about it?
thanks in advance.

Hi @tomachianura , please email me (derek at meeco.me).

can we please schedule a call to talk about it? thanks in advance.

Hi @tomachianura , please email me: derek(at)meeco.me

Is there a reason for using the % and ** fields on top of the document?
If not, can we replace them with valid MarkDown syntax as in the v0.1?
% title: Hedera Hashgraph DID Method Specification

% authors: Paul Madsen, Jo Vercammen, Derek Munneke

% date: 2024-01-12

% version: 1.0-draft-2024-01-12

**Table of Contents**

Is there a reason for using the % and ** fields on top of the document? If not, can we replace them with valid MarkDown syntax as in the v0.1?

I used pandoc syntax for the title and meta data so the table of content did not include these headers;
eg.
0.1

vs 1.0

markdown does not have a syntax for title not to be included in the table of contents.
I will include a pandoc markdown to pdf command to produce a publishable pdf of the spec.

@derek-meeco There seems to be 2 issues blocking the merge. Are you able to sign this commits? Thanks.
Commit sha: 0acecf8, Author: Derek Munneke, Committer: Derek Munneke; The sign-off is missing.
Commit sha: 3bb05c6, Author: Derek Munneke, Committer: Derek Munneke; The sign-off is missing.

@derek-meeco There seems to be 2 issues blocking the merge. Are you able to sign this commits? Thanks. Commit sha: 0acecf8, Author: Derek Munneke, Committer: Derek Munneke; The sign-off is missing. Commit sha: 3bb05c6, Author: Derek Munneke, Committer: Derek Munneke; The sign-off is missing.

@Reccetech , I have added sign offs now; DCO checks now pass.

@derek-meeco Can you rebase the branch to resolve these conflict.

@Reccetech rebased


Attach meta to error objects

Hi,
First of all,  thanks for your work on this awesome project..
I'm current;y investigating the possibility of adding meta information to the attributes validation errors returned when creating/updating resources (as per JSON-API v1.0 specs, https://jsonapi.org/format/#error-objects).
My use case would be to add a machine-readable description of each validation error, to complement the human-readable one found under "details"... Something like :
{
    "status": "422",
    "title": "Unprocessable Entity",
    "detail": "The status must be between 1 and 5.",
    "source": {
        "pointer": "/data/attributes/status"
    },
    "meta": {
        "machine_description": {
            "between": [
                "1",
                "5"
            ]
        }
    }
}

With Laravel, calling $validator->failed() returns a pretty decent (when JSON-encoded) machine-readable description of all errors, for example, given the following rules :
[
 'title' => 'bail|required|string|min:5|max:10',
 'pages' => 'bail|required|numeric',
 'body' => 'required|string|same:title|not_in:foo,bar',
 'else' => 'required',
 'comments' => 'bail|min:3',
 'comments.*.author' => 'bail|required|string',
]

and the following attributes :
{
	"title": "foo",
	"pages": "a",
	"body": "foo",
	"else": "test"
}

$validator->failed() would return something like this :
{
    "title": {
        "min": [
            "5"
        ]
    },
    "pages": {
        "numeric": []
    },
    "body": {
        "notin": [
            "foo",
            "bar"
        ]
    }
}

Anyway... the actual use of this feature is not important here, my question is simply : it is currently possible to add meta info to error objects? If not, where should I begin to investigate in order to achieve such a thing?
Maybe a new method (getMeta) could be added to the AbtractValidators class, which would access the validator instance and the error path (source/pointer), the return value being added as meta to the error?
Thanks for your help...

Ah I did not realise Laravel returned that information in the JSON. I think it would be good for this package to automatically add that data to the error meta. So I'll add this to the feature list but it'll probably not land until the after the 1.0.0 release.

@lindyhopchris
Great to here that, but should this be by default?
Maybe someone else's use case would be to return something else?
I was only looking for a way to hook into the error's response generation, but wasn't sure where to look at in the codebase...
As I said in my first comment, if there was a method that could be overridden for each attribute error, that would be passed the validator instance and probably the path of the error (in order to retrieve the relevant part of the validation error), one could return whatever data he wants for his particuler use case in the meta tag...
My 2 cents...

Good point. I think it should potentially be the default because if Laravel does it by default in the JSON for validation messages, then this package should replicate what Laravel does in JSON but in the JSON API format.
Definitely needs more research. In terms of overriding the implementation, but the current class that is generating the errors from the validations isn't given access to the data that you'd need. I'll have to look into this in a bit more detail to see how it could be implemented.

@lindyhopchris
Just to mention, by default, Laravel doesn't return the "machine-readable" representation, even in a JSON reponse. It returns the localized error message :
"email": [
            "The email has already been taken."
]

That's why I think this should NOT be the default...
But the structured information returned by the "failed()" method could really be useful when building a stateless API...

Ah ok I'd misunderstood! I'll take a look as to how you could implement this. Actually we have a production API where it would be really useful to include this information, so I can definitely see the benefit of supporting this.


strange decay (probably a bug with -decay epoch_only)

command line is start decay epoch 80 and epoch_only
[05/06/17 14:47:55 INFO] Epoch 20 ; Iteration 1585/1585 ; Learning rate 1.0000 ; Source tokens/s 5187 ; Perplexity 5.91
[05/06/17 14:47:59 INFO] Validation perplexity: 5.55
[05/06/17 14:47:59 INFO] Saving checkpoint to 'exp/model-enfr_epoch20_5.55.t7'...
[05/06/17 14:48:01 INFO]
[05/06/17 14:48:01 INFO] Sampling dataset...
[05/06/17 14:48:04 INFO] Sampled 100000 instances into 1588 batches.
[05/06/17 14:48:04 INFO] Importance Sampling - keeping 38376 target vocabs.
[05/06/17 14:50:04 INFO] Epoch 21 ; Iteration 500/1588 ; Learning rate 1.0000 ; Source tokens/s 5272 ; Perplexity 5.99
[05/06/17 14:52:09 INFO] Epoch 21 ; Iteration 1000/1588 ; Learning rate 1.0000 ; Source tokens/s 5118 ; Perplexity 5.98
[05/06/17 14:54:11 INFO] Epoch 21 ; Iteration 1500/1588 ; Learning rate 1.0000 ; Source tokens/s 5227 ; Perplexity 5.92
[05/06/17 14:54:33 INFO] Epoch 21 ; Iteration 1588/1588 ; Learning rate 1.0000 ; Source tokens/s 5132 ; Perplexity 6.03
[05/06/17 14:54:37 INFO] Validation perplexity: 5.34
[05/06/17 14:54:37 INFO]
[05/06/17 14:54:37 INFO] Sampling dataset...
[05/06/17 14:54:41 INFO] Sampled 100000 instances into 1587 batches.
[05/06/17 14:54:41 INFO] Importance Sampling - keeping 38444 target vocabs.
[05/06/17 14:56:45 INFO] Epoch 22 ; Iteration 500/1587 ; Learning rate 0.9500 ; Source tokens/s 5157 ; Perplexity 5.82
[05/06/17 14:58:49 INFO] Epoch 22 ; Iteration 1000/1587 ; Learning rate 0.9500 ; Source tokens/s 5159 ; Perplexity 5.76
[05/06/17 15:00:53 INFO] Epoch 22 ; Iteration 1500/1587 ; Learning rate 0.9500 ; Source tokens/s 5160 ; Perplexity 5.80
[05/06/17 15:01:14 INFO] Epoch 22 ; Iteration 1587/1587 ; Learning rate 0.9500 ; Source tokens/s 5086 ; Perplexity 5.51
[05/06/17 15:01:18 INFO] Validation perplexity: 5.22

Strange indeed. Could you share the full list of options set?

if [ $stage -le 3 ]; then
learning_rate=1
start_decay_at=80
end_epoch=130
learning_rate_decay=0.95
echo "$0: training public corpus starting, will take a while."
# train first epoch
if true; then
th train.lua -layers 2 -rnn_size 500 -brnn -data exp/data-$sl$tl-train.t7
-save_model exp/model-$sl$tl -dropout 0.3 -report_every 500 -word_vec_size 500
-start_epoch 1 -end_epoch $end_epoch -max_batch_size 64 -sample 100000 -sample_tgt_vocab
-learning_rate $learning_rate -start_decay_at $start_decay_at -decay epoch_only
-learning_rate_decay $learning_rate_decay -save_every_epochs 10 -gpuid $gpuid

another note, before ppl 5.55 it was 5.49 (on epoch 19) in case it may help.

it is related to the above:
again here with a different vocab size only:
[05/06/17 19:23:12 INFO] Epoch 17 ; Iteration 1586/1586 ; Learning rate 1.0000 ; Source tokens/s 4592 ; Perplexity 6.64
[05/06/17 19:23:19 INFO] Validation perplexity: 5.90
[05/06/17 19:23:19 INFO]
[05/06/17 19:23:19 INFO] Sampling dataset...
[05/06/17 19:23:22 INFO] Sampled 100000 instances into 1587 batches.
[05/06/17 19:23:22 INFO] Importance Sampling - keeping 46934 target vocabs.
[05/06/17 19:25:46 INFO] Epoch 18 ; Iteration 500/1587 ; Learning rate 1.0000 ; Source tokens/s 4643 ; Perplexity 6.47
[05/06/17 19:28:08 INFO] Epoch 18 ; Iteration 1000/1587 ; Learning rate 1.0000 ; Source tokens/s 4567 ; Perplexity 6.45
[05/06/17 19:30:21 INFO] Epoch 18 ; Iteration 1500/1587 ; Learning rate 1.0000 ; Source tokens/s 4541 ; Perplexity 6.40
[05/06/17 19:30:46 INFO] Epoch 18 ; Iteration 1587/1587 ; Learning rate 1.0000 ; Source tokens/s 4505 ; Perplexity 6.35
[05/06/17 19:30:52 INFO] Validation perplexity: 6.12
[05/06/17 19:30:52 INFO]
[05/06/17 19:30:52 INFO] Sampling dataset...
[05/06/17 19:30:56 INFO] Sampled 100000 instances into 1588 batches.
[05/06/17 19:30:56 INFO] Importance Sampling - keeping 46775 target vocabs.
[05/06/17 19:33:17 INFO] Epoch 19 ; Iteration 500/1588 ; Learning rate 1.0000 ; Source tokens/s 4591 ; Perplexity 6.32
[05/06/17 19:35:37 INFO] Epoch 19 ; Iteration 1000/1588 ; Learning rate 1.0000 ; Source tokens/s 4579 ; Perplexity 6.36
[05/06/17 19:37:53 INFO] Epoch 19 ; Iteration 1500/1588 ; Learning rate 1.0000 ; Source tokens/s 4569 ; Perplexity 6.23
[05/06/17 19:38:18 INFO] Epoch 19 ; Iteration 1588/1588 ; Learning rate 1.0000 ; Source tokens/s 4490 ; Perplexity 6.17
[05/06/17 19:38:24 INFO] Validation perplexity: 5.68
[05/06/17 19:38:24 INFO]
[05/06/17 19:38:24 INFO] Sampling dataset...
[05/06/17 19:38:28 INFO] Sampled 100000 instances into 1589 batches.
[05/06/17 19:38:28 INFO] Importance Sampling - keeping 46995 target vocabs.
[05/06/17 19:40:48 INFO] Epoch 20 ; Iteration 500/1589 ; Learning rate 0.9500 ; Source tokens/s 4565 ; Perplexity 6.17
[05/06/17 19:43:07 INFO] Epoch 20 ; Iteration 1000/1589 ; Learning rate 0.9500 ; Source tokens/s 4563 ; Perplexity 6.11
[05/06/17 19:45:27 INFO] Epoch 20 ; Iteration 1500/1589 ; Learning rate 0.9500 ; Source tokens/s 4551 ; Perplexity 6.14
[05/06/17 19:45:52 INFO] Epoch 20 ; Iteration 1589/1589 ; Learning rate 0.9500 ; Source tokens/s 4510 ; Perplexity 6.28
[05/06/17 19:45:58 INFO] Validation perplexity: 5.60
[05/06/17 19:45:58 INFO] Saving checkpoint to 'exp/model-enfr_epoch20_5.60.t7'...
[05/06/17 19:46:01 INFO]

Sorry, the implemented logic was a bit shaky. I cleaned this up and it should work as expected now.


Mapping ExternalNames to custom ports

What does this PR do?
This fixes issue #1816
Basically, if the servicePort.Port is not 443 or 80, we add it to the url (not the name).
And if the servicePort.name is 'https' we also use 'https' as the protocol. That allows to proxy https traffic to any port.
Motivation
In my deployment, I need træfik to proxy to external servers on custom ports. I do not control these servers.
More

[x] Added/updated tests
[ ] Added/updated documentation

@gildas could you remove merge commit.

@ldez, not sure how this happened.
Should I submit another PR? Not sure I know how to remove the merge commit safely.

@gildas I will fix that.

You sure? Because I have already re-forked and am rewriting the fix.
As it is very small, it is easy to write.

You have completely broke the PR :disappointed:
You don't need to "re-fork" or create a new PR for update you PR.
Now, you must open a new PR.

Sorry, I thought it would be the fastest way. My bad.


EQTransformer using Colaboratory

Thanks for your amazing Python package EQTransformer.
I noticed that installing EQT via Google Colab by:
pip install git+https://github.com/smousavi05/EQTransformer
will raise an error:
ERROR: Cannot install EQTransformer and eqtransformer==0.1.61 because these package versions have conflicting dependencies.

Thus, I upload a more detailed version of how to install EQT on Google Colab. I didn't do any change on the original repo but only in the newly uploaded Colab notebook: e.g., rewrite the package versions EQT specified about NumPy; add full folder directory of the pre-trained model file. And it will work successfully on Google Colab. Please take a look at it, and hope it would help.

Thanks


Upgrade firecracker to 1.4.0

Issue #, if available:
Upgrade firecracker from 1.0.0 to 1.4.0
Description of changes:
Upgrade firecracker to 1.4.0
https://github.com/firecracker-microvm/firecracker/compare/v1.0.0...v1.4.0
PR #495 has upgraded firecracker partially to 1.4.0(only snapshot memory backend was added, not all swagger specs were in sync with v1.4.0), this PR is a followup to make sure swagger files are in sync and client were generated.

Pull swagger specs from firecracker 1.4.0
go generate to rebuild the client
Upgrade version in the Makefile

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Sign-off-by: Tony Fang<EMAIL_ADDRESS>

Waiting for #495 to merge to unblock build issue.

Waiting for #495 to merge to unblock build issue.

I think my PR (#495) is dependent on upgrading Firecracker, since MemoryBackend is not available in Firecracker v1.0.0.

I can bump firecracker_version in the Makefile in my PR, if that's all that's needed. Let me know if I need to do anything else.

Thanks! From test perspetive, change that is enough to test with firecracker 1.4.0

Since firecracker 1.4.1 was released, upgrade to it directly.
1.4.0 to 1.4.1 has no swagger.yaml change.


Error: Cannot find module 'colors/safe'

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Note: for build related issues you can open up an issue on the ionic-app-scripts repo
https://github.com/driftyco/ionic-app-scripts
Please ensure that you are on the latest version of the CLI.
npm view ionic@latest version
What version of the CLI are you using? Output of ionic --version
2.2.1
Short description of the problem:
Error: Cannot find module 'colors/safe'
What behavior are you expecting?
start project
Steps to reproduce:
insert any relevant code between the above and below backticks
Caught exception:
 Error: Cannot find module 'colors/safe'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\Antonino\AppData\Roaming\npm\node_modules\ionic\node_modules\winston\lib\winston\config.js:9:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
**Post the output of `ionic info` below please**

I resolve :), uninstall, install.


Bug Report

Because that proxy contract doesn't have any storage layout, it will throw error due to undefined.
Check the value of <ContractName>.export, it should not be undefined.

getting something similar:
TypeError: Cannot read properties of undefined (reading 'storage')
    at Proxy.export (<path>/node_modules/hardhat-storage-layout/src/storageLayout.ts:51:39)


add test with real http request

Okay folks after much debugging this is now working on Linux and MacOS!
Windows I couldn't get working: there's an interactive prompt to allow installing the CA and I don't think there's any way to work around it 😞
As a side note: I've seen this existing test fail a couple times. I don't think my changes are related to that failure.

@adriangb I pushed my changes to your branch, let me know what you think about this. I don't have a system to test the install/uninstall preservation and cleanup logic on systems besides Ubuntu so if you have such a system I'd appreciate trying that out.

I don't have a system to test the install/uninstall preservation and cleanup logic on systems besides Ubuntu so if you have such a system I'd appreciate trying that out.

Works correctly for me on macOS

Agreed, this is super awesome @adriangb!! :rocket: Thanks for putting this together.


Specialize inverse_cdf for LogNormal distribution

Description
Specialize inverse_cdf for LogNormal distribution, because an equation exists and it is faster & more accurate than the default binary search implementation.
Changes

Adds a definition for inverse_cdf in ContinuousCDF impl for LogNormal distribution, according to the definition I read here and some pen & paper verification of this definition.
Generalizes the unit tests in LogNormal such that the CDF test cases are re-used (where applicable) to verify the inverse CDF definition

Review Notes

I'm no mathematician so someone definitely needs to verify my implementation. I am not sure if the wolfram-alpha I linked above is the most general definition of the inverse CDF.

Wikipedia (seemingly) has a different definition which includes erf_inverse, and I don't know how erf_inverse relates to erfc_inverse.
I inverted the CDF definition myself (using my basic algebra skills) on pen & paper and it matched the wolfram-alpha math, so that's what I implemented.

The unit testing section will perform the exact same test cases for the CDF, despite all the code changes. There is one exception: a change to the accuracy argument on the case where input=0.5 and output=0.0000000015011556178148777579869633555518882664666520593658.

erfc is the complementary error function, so erfc(x) = 1 - erf(x). Wikipedia and wolfram alpha give the same math as your code, so that checks out. Will check the test

merge edits

added } since added functions within impl ContinuousCDF for LogNormal were adjacent
math in docs should be text instead of ignore with b8a0ec2

I too like the symmetric tests.
@henryjac iirc you wanted to rebase and merge so merge commits would represent PRs in history. Would you prefer that @Twister915 redo the changes atop master so we can rebase instead and keep that up?

Opted to do a local merge and push to master, will have to close this one manually.
If anyone knows a way to manually modify this PR to "close as merged" by a specific commit, the SHA is ae5431fb0805cb89d84bb5dbd3aea17833dba97e
Thanks for implementing this!

Opted to do a local merge and push to master, will have to close this one manually.
If anyone knows a way to manually modify this PR to "close as merged" by a specific commit, the SHA is ae5431fb0805cb89d84bb5dbd3aea17833dba97e
Thanks for implementing this along with a thorough write-up!

Opted to do a local merge and push to master, will have to close this one manually.
If anyone knows a way to manually modify this PR to "close as merged" by a specific commit, the SHA is ae5431fb0805cb89d84bb5dbd3aea17833dba97e
Thanks for implementing this along with a thorough write-up!


Issue 105 + Memory Leak

This pull request fixes issue 105
ISSUE 105
Adds Hans changes on his Pull request
PR 101
av.imageview-android-5.0.2.zip

Hi guys! Thanks for your work! I'll going to test it right now!

@prashantsaini1 had some issues with this, since it may cause larger issues. He will comment on it early tomorrow :-)

@hansemannn sorry.. he had issue on what? On your PR code?

Sorry! With the change in this PR.

Added a new PR here: https://github.com/AndreaVitale/av.imageview/pull/108

@AndreaVitale 3 PR's to choose from 😄:

#106
#107
#108 (includes the fix from #107 / @garymathews)


Resolve Github Action deprecations

Github wants all actions running on Node 16 by the summer and is planning on deprecating save-state and set-output commands. is-organization-member is currently raising these deprecation warnings:
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16<EMAIL_ADDRESS>For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Updated this to Node 20 and some of the dependencies as well


Revert "Revert "Revert "Bjorncs/install clustercontroller reindexer"""

Reverts vespa-engine/vespa#15274
Basic search still fails:
[12:18:44.299] Result: 0 Assertions, 0 Failures, 1 Errors.
00:27:31
00:27:31   1) ERROR IN 'BasicSearch::test_basicsearch__ELASTIC()': RuntimeError: No cluster controller master found within timeout
00:27:31
00:27:31      at /opt/vespa-systemtests/lib/nodetypes/storage.rb:125:in `get_master_cluster_controller'
00:27:31      at /opt/vespa-systemtests/lib/nodetypes/storage.rb:90:in `get_master_fleet_controller'
00:27:31      at /opt/vespa-systemtests/lib/nodetypes/storage.rb:396:in `wait_until_all_services_up'
00:27:31      at /opt/vespa-systemtests/lib/test_base.rb:360:in `block in wait_until_all_services_up'
00:27:31      at /opt/vespa-systemtests/lib/test_base.rb:360:in `each_value'
00:27:31      at /opt/vespa-systemtests/lib/test_base.rb:360:in `wait_until_all_services_up'
00:27:31      at /opt/vespa-systemtests/lib/test_base.rb:291:in `start'
00:27:31      at /opt/vespa-systemtests/tests/search/basicsearch/basic_search.rb:33:in `start_feed_and_check'
00:27:31      at /opt/vespa-systemtests/tests/search/basicsearch/basic_search.rb:29:in `test_basicsearch'
00:27:31 In all: 1 Tests, 0 Assertions, 0 Failures, 1 Errors.

00:28:05 Publishing hosted

ಠ , ಥ


Failing empty-directive test

Scenario / Spec
This test is currently failing in the latest commit (103ea50b1cbf638295554a94791fcd9bd5936469) but if strict-di is not set, and we're adding annotations to unannotated directives, perhaps we shouldn't issue a warning anyway. Still, the try-catch here is catching exceptions from the invoke() in pages such as the angular docs, so this might be another issue.

Good catch. I'll take a look at this one since that's a test I added.

It's throwing an exception right after the try/catch:
var restrict = dir.restrict || 'A';

When the if(!dir) check was removed here, it started causing the test to fail, since it's a valid use-case to get undefined back from invoke (apparently).

PR submitted

Fixed at #93