Is it possible to get back to defaultTimeStart-defaultTimeEnd?

I need to have a button which changes calendar render view to its default position. Is there any way to do it?

Hi, for this you need to have a controlled component. Switch from using defaultTimeStart and defaultTimeEnd to visibleTimeStart and visibleTimeEnd. You will need to listen to the component's onTimeChange callback and update your visibleTimeStart and visibleTimeEnd accordingly.
See the "linked timelines" demo for an example on how to do this.
Then to revert to the default position, you just reset your visibleTimeStart and visibleTimeEnd to what they were initially.
I hope this helps! Feel free to reopen if you have any other questions.

@LitvinaviciusM also feel free to post a link if you have a cool project public with it. We are always interested to see what people do with the component.

@LitvinaviciusM Did you get this to work?


Inconsistent behaviour for parsing path and path params

Description
The emulator does not parse the path and path params. I am implementing a simple routing mechanism that relies on getting the path minus the function name. I have looked somewhat in the emulator source and it seems that somewhere around here, the path is not forwarded to the cloud function handler: https://github.com/GoogleCloudPlatform/cloud-functions-emulator/blob/master/src/supervisor/index.js#L122
NB: query params seems to work as expected.
Steps to reproduce
I have created a function called helloGO that has a route called hello/:ergegr, that is a route with prefix path hello and path param ergegr. It should return a request object that has a params key containing an object with a key ergegr and a list of the params as key.

deploy a function that just returns the express request to the emulator
deploy a function that just returns the express request to the real cloud function
make a request to each of the endpoints (they should be the same).

See screenshot of 1):

See screenshot of 2):

I dont know if this violates the intention of cloud functions but I bet at least some would agree that being able to let an endpoint / microservice handle at least some cases in in idiomatic way would be great. By idiomatic I mean paths, not having to construct huge query structures.
Thanks!

a function called helloGO that has a route called hello/:ergegr

I don't understand the "route" that you're referring to. How is it defined? Can you post your function code?

 I am actually writing go and converting to js (does not really matter in this case), let me explain by showing the source:
//EntryPoint is the main handler and entrypoint for the google cloud function
func EntryPoint(req, res *js.Object) {

	r := router.New(rootHandler)
	r.Handle(http.MethodGet, "/hello/:ergegr", helloHandler)
	r.Handle(http.MethodPost, "/site", websiteHandler)
	//r.Handle(http.MethodGet, "/bq", helloBigQuery)

	r.Serve(express.NewResponse(res), express.NewRequest(req))
}

func main() {
	if googleCloudFunctionName == "" {
		googleCloudFunctionName = "helloGO"
	}
	js.Module.Get("exports").Set(googleCloudFunctionName, EntryPoint)
}

So, the google cloud function executor in the cloud passes on the the path (meaning the part of the path that comes after http://localhost:8010/<project-name>/us-central1/helloGO) to every of the request (https://expressjs.com/en/api.html#req.path) along with the request object so that i can utilize this for my "internal routing" by parsing it according to my own rules / regexes.
While the google cloud emulator gives me /<project-name>/us-central1/helloGO for my path no matter if I write /<project-name>/us-central1/helloGO/hello/my-path-param.
Sorry for confusing with my testing code. As stated, even though I'm doing this in Go for testing, the principle is the same, the path part is not handled the same way.

I think the simplest example of the inconsistency can be reproduced by creating a http function with this signature:
exports.helloWorld = function helloWorld (req, res) {
  res.send(req.path);
};

If this function is deployed to the emulator vs the cloud, you will get different paths back. For my case, where I might want to use this path for something, e.g. my internal routing it breaks in the emulator.

Oh, I think I see what you mean @MartinSahlen
If you deploy helloWorld to production and hit /helloWorld/blah the path reports back as /helloWorld/blah.
For example, if in the emulator if you hit http://localhost:8010/jamesdaniels-scratch/us-central1/helloWorld/blah it only reports /us-central1/helloWorld as the path.
Is this what you're reporting?

Okay, I can now reproduce the issue. I'm working on a fix.

thanks! and yes @jamesdaniels that is exactly what I was trying to say. Can't believe it took that many posts to say 😂

Fixed in 1.0.0-alpha.5

@jmdobry  This issue is still not resolved, I'm sorry, it's probably due to my bad explaining. The emulator and production environment still gives different paths. The emulator gives /helloWorld/hi for the path while the production environment gives /hi for the simple function
exports.helloWorld = function helloWorld (req, res) {
  res.send(req.path);
};

The emulator needs to "chop off" the function name from the path before forwarding it to the handler cloud function.

Ah I see, will fix.


Additional properties permitted or not?

I notice that the spec description says that additional JSON properties other than those defined in the schema are not permitted. However the validator does not enforce that.
I think that the text is wrong and the validator is right based on the discussions in St Louis, but just in case you disagree let me make my case 😄
For additional properties to be considered invalid would be a dealbreaker I think. I understand why this would make sense for STAC, but I think is inappropriate for FIBOA. What it does is invalidate all existing standard GeoJSON data representations of boundaries and forces them to completely change their data model (rather than 'add' to it without breaking compatibility) and make extensions for every single property they want to expose. Unlike STAC that's a problem because these things already exist - we're building on top of an existing standard GeoJSON FeatureCollection, not inventing something new. So it is an unnecessary barrier to adoption. It's the same logic used for having as minimal core set of mandatory properties as possible, we don't want to invalidate lots of things. To put it clearly for us specifically: we would be forced to make "FIBOA specific" cut-down exports of the data, and could not adopt it into the core of the data provision and import process because there are too many other things we have that would break the data contract and which FIBOA will not be capable to represent for a long time.
Let's not make it harder to implement FIBOA than it needs to be. It really should be that the position is:
"you can put what you like in here, but if you say this set of agreed things then it must follow these rules"
Following Postel's law, any FIBOA consuming application is free to ignore any property it doesn't understand, but it's safe to apply consistent logic for those it does.
Incidentally you also lose the ability to see 'in the wild' what other properties are being commonly used, to inform future standardisation priorities, because you will never see a valid FIBOA specification that contains anything other than the existing defined core and extension properties.
So in summary: can we change the text so that additional properties are permitted? 😆

@andyjenkinson Which part of the spec are you referring to?
Is it the following in https://github.com/fiboa/specification/blob/main/core/validation.md ?

Note: In fiboa additional properties are disallowed (JSON Schema: additionalProperties: false).

Please note that this only refers to objects that we define.
Let's say we define a new field called value_range, type object with a property min and max:
{
  "type": Feature",
  "geometry": ...,
  "properties: {
    "area": 123,
    "value_range": {
      "min": 1,
      "max: 99
     }
  }
}

Schema:
value_range:
  type: object
  properties:
    min:
      type: number
    max:
      type: number

The quoted sentence above means that a user is not allowed to add e.g. a property called "mean" to the value_range object unless it's explicitly allowed in the schema for value_range. So if you'd want to allow that a user adds a mean property, define the schema as follows:
Schema:
value_range:
  type: object
  properties:
    min:
      type: number
    max:
      type: number
  additionalProperties: true

We definitively allow additional properties for fiboa itself (i.e. new GeoJSON properties / geoparquet columns).
I hope this clarifies it.

Ok fair enough, we just need to make sure never to define a schema for the root object itself (a GeoJSON Feature) or the properties object.
Can probably cope with it, it just means that any existing property already used by a dataset that happens to be an object (eg we have some) cannot be adopted into FIBOA without fully defining every key it contains. For example, in our view of a deduplicated boundaries, each "3rd party reference" to that boundary is represented as an array of objects, those objects may have metadata properties describing the boundary according to them and only some are under 'data model control' (ie we tell them if they give key X it should contain Y). The rest are freeform. This would have to sit out of scope of FIBOA because we can't know in advance what all of the properties are.

it just means that any existing property already used by a dataset that happens to be an object (eg we have some) cannot be adopted into FIBOA without fully defining every key it contains

That's not correct. Set additionalProperties to true and you can add whatever property you want without defining it.

Ok so you're only saying that the default assumption for the schema is for additionalProperties to be false, but can be changed - not that it is overridden to be true. Makes sense then, should be fine.

Exactly.


Improve scrolling behaviour

Task/Issue URL: https://app.asana.com/0/72649045549333/756199134358913/f
Tech Design URL: https://app.asana.com/0/481882893211075/862426684723572/f
Description:

Change scrolling behaviour to match closely how it works in Safari.
Fix performance issue around navigation bar hide/reveal animations.

Steps to test this PR:

Open any website, try scrolling.
Open DDG lite, bars should not hide on scroll.

This should be tested on both "classic" ;) and notch devices.

Internal references:
Software Engineering Expectations
Technical Design Template

Good to know that, thanks for the tip @brindy :)
I think it looks good, I don't have any glitches around that in-app notification while testing on my phone.


two issues in v0.6.0

Issue 1 - chain-server
SW version: v0.6.0

Traceback (most recent call last):
  File "/usr/local/bin/uvicorn", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/main.py", line 416, in main
    run(
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/main.py", line 587, in run
    server.run()
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 68, in serve
    config.load()
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/config.py", line 467, in load
    self.loaded_app = import_from_string(self.app)
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/RetrievalAugmentedGeneration/common/server.py", line 27, in <module>
    from pymilvus.exceptions import MilvusException, MilvusUnavailableException
  File "/usr/local/lib/python3.10/dist-packages/pymilvus/__init__.py", line 26, in <module>
    from .bulk_writer.remote_bulk_writer import (
  File "/usr/local/lib/python3.10/dist-packages/pymilvus/bulk_writer/remote_bulk_writer.py", line 18, in <module>
    from minio import Minio
  File "/usr/local/lib/python3.10/dist-packages/minio/__init__.py", line 41, in <module>
    from .api import Minio
  File "/usr/local/lib/python3.10/dist-packages/minio/api.py", line 44, in <module>
    from urllib3.response import BaseHTTPResponse
ImportError: cannot import name 'BaseHTTPResponse' from 'urllib3.response' (/usr/local/lib/python3.10/dist-packages/urllib3/response.py)

Issue 2 - deploy/compose/rag-app-text-chatbot.yaml
docker env got error and suggest ENABLE_TRACING should be int ,string or null
      ENABLE_TRACING: null

for issues 1 , i added one line in dockerfile to workaround . fyi.

# Copy required common modules for all examples
COPY RetrievalAugmentedGeneration/__init__.py /opt/RetrievalAugmentedGeneration/
COPY RetrievalAugmentedGeneration/common /opt/RetrievalAugmentedGeneration/common
COPY integrations /opt/integrations
COPY tools /opt/tools

RUN pip uninstall urllib3 && pip install --upgrade urllib3


Do you think you could add some details for the "creation" and "use" of module?

https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md#style-y001
So it looks like, we must arrange for the module creation file to be loaded first.
So, is it true that... say, we divide global directives into separate files, and global services into separate files, then if they all use the same module, we would add dependencies that myDirective1 need to the module creation file.   And then, say 2 weeks later, if myDirective2 needs some other dependencies, then now add it to the module creation file?
Does it matter what order to load the files (in terms of performance due to locality)?  Because we can load all module creation files first, or another way is to load 1 module creation file and all the directives and services for that module.  (and repeat for the next module)

the module files just have to come before the others.


Support referencing TS type definitions for type: 'json' fields

In some cases where you're using type: 'json' you'd like to reference some existing TS type definitions instead of the any type that's currently used for json fields. This applies to both regular fields and computedFields.
Example:

Rough API idea:
{
  // ...
  typescriptType: { name: 'IReadTimeResults', from: 'reading-time' }
}

Notes

A potential other direction/idea for this could be to "derive" nested document types based on existing TS types. (Would address #149)

Is there any sense of what would be needed for this? Is it something a drive-through contributor could take care of?

Thanks for your question @essential-randomness. Unfortunately I think this is part of some medium-to-large iteration on the current schema/typing-system and thus not a good candidate for any "drive-by contribution".

Done!
Is there anywhere to go to better understand the future iteration of the schema/typing system that you envision? There are some project I have in mind that where contentlayer would be helpful (mostly so I don't have to reimplement typed MDX + the build pipelines myself :P), but I'd like to have a clearer picture of where you want to be when you reach 1.0 before I start building on top of your work.


AVCaptureVideoPreviewLayer connection property can be nil

Fixes #103

Have the same issue
Hope will merge in ASAP

Great! Thank you for the fix!


Optionally clear entity manager

Some bugs occur due to flushing the entity manager. This provides
a user the option to clear or not.
This seems to be left over from the old library where it had built
in batch handling. As if a developer/user would batch process in the
same memory process. This is likely not to be the case I would think.
So could be reviewed for removal. I know I've hit 3 different bugs/issues
because of calling clear().

Fixed in PortPHP, thanks!
https://github.com/portphp/doctrine/commit/bbee21252a8dcd3fcac842b8d23ec372fc4efee6


Adding Image gallery

FEATURE_REQUEST : Adding Animation to Our Trip Section #34
Title : FEATURE_REQUEST : Adding Animation to Our Trip Section.
Issue No. : #34
Code Stack : HTML, CSS, Js
Close #34

Video/Screenshots (mandatory)
https://github.com/apu52/Travel_Website/assets/115262737/067071f8-387b-4dac-ba14-105241de2b18
Checklist:

[X ] I have mentioned the issue number in my Pull Request.
[ X] I have commented my code, particularly in hard-to-understand areas
[X ] I have gone through the  contributing.md file before contributing

Are you contributing under any Open-source programme?
Yes,under JWOC

@apu52  Please could you review this and let me know the feedback. Thank You!

@Prithwi32 Thank you for your valuable contribution.
The feature you have added are really great

@Prithwi32 Thank you for your valuable contribution. The feature you have added are really great

You made my day :)


Improve "Using transactions" documentation

Overview
I was trying to implement a simple transaction following the documentation but it's not clear and the code return errors.
Details to reproduce
Files:
├── dbsqlc
│   ├── db.go
│   ├── models.go
│   └── query.sql.go
├── go.mod
├── go.sum
├── main.go
├── query.sql
├── schema.sql
└── sqlc.yaml

schema.sql
CREATE TABLE records (
  id SERIAL PRIMARY KEY,
  counter INT NOT NULL
);

query.sql
-- name: GetRecord :one
SELECT * FROM records
WHERE id = $1;

-- name: UpdateRecord :exec
UPDATE records SET counter = $2
WHERE id = $1;

sqlc.yaml
version: "2"
sql:
  - engine: "postgresql"
    queries: "query.sql"
    schema: "schema.sql"
    gen:
      go:
        package: "dbsqlc"
        out: "dbsqlc"
        sql_package: "pgx/v5"

main.go
package foo

import (
	"context"
	"database/sql"
	"foo/dbsqlc"

	"github.com/jackc/pgx/v5"
)

func bumpCounter(ctx context.Context, db *sql.DB, queries *dbsqlc.Queries, id int32) error {
	tx, err := db.Begin()
	if err != nil {
		return err
	}
	defer tx.Rollback()
	qtx := queries.WithTx(tx)  // ERROR 1
	r, err := qtx.GetRecord(ctx, id)
	if err != nil {
		return err
	}
	if err := qtx.UpdateRecord(ctx, dbsqlc.UpdateRecordParams{
		ID:      r.ID,
		Counter: r.Counter + 1,
	}); err != nil {
		return err
	}
	return tx.Commit()
}

func main() {
	ctx := context.Background()
	conn, err := pgx.Connect(ctx, "host=localhost user=*** password=*** sslmode=disable")
	if err != nil {
		panic(err)
	}
	defer conn.Close(ctx)

	queries := dbsqlc.New(conn)

	bumpCounter(ctx, conn, queries, 1)  // ERROR 2
}

Issues encontered
Just like the documentation indicates. But I came to two problems:

./main.go:17:24: cannot use tx (variable of type *sql.Tx) as pgx.Tx value in argument to queries.WithTx: *sql.Tx does not implement pgx.Tx (missing method Begin)
./main.go:41:20: cannot use conn (variable of type *pgx.Conn) as *sql.DB value in argument to bumpCounter

Questions

Why this error happens in the code exactly copied from the documentation?
Where the db parameter should come from? (This one maybe my skill issue :) )

Aditional info
$ sqlc version
v1.25.0

$ go version
go version go1.21.6 linux/amd64

module foo

go 1.21.6

require github.com/jackc/pgx/v5 v5.5.3

require (
	github.com/jackc/pgpassfile v1.0.0 // indirect
	github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
	golang.org/x/crypto v0.17.0 // indirect
	golang.org/x/text v0.14.0 // indirect
)

Thanks!

I personally solved it with this:
5d4
< 	"database/sql"
11,12c10,11
< func bumpCounter(ctx context.Context, db *sql.DB, queries *dbsqlc.Queries, id int32) error {
< 	tx, err := db.Begin()
---
> func bumpCounter(ctx context.Context, db *pgx.Conn, queries *dbsqlc.Queries, id int32) error {
> 	tx, err := db.Begin(ctx)
16c15
< 	defer tx.Rollback()
---
> 	defer tx.Rollback(ctx)
28c27
< 	return tx.Commit()
---
> 	return tx.Commit(ctx)

Using pgx.Conn as the db parameter type
Adding the parameter ctx on Begin, Rollback and Commit

Does anyone think this should be fixed on the documentation? I can open a PR if you think so.

Sorry about the confusion. That documentation was written when we only supported github/lib/pq. You'll need to update it to use pgx if you're using pgx.
@bbonagura9 Instead of updating the example, could you create a second one for pgx? That would be excellent.


Intial Microsoft.ApiManagement Swagger Spec

Published the 2015-09-15 which is the current Active Version in ARM and Ibiza

Publishing the 2016-07-07 which we are going to switch in a month.

Hi @solankisamir, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (sasolank). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Closing the pull request.. do you lot of merge commits.


Intellisense in JS files broken if use JSdoc types from d.ts files

VSCode Version: 1.20.1
OS Version: Windows 10 Pro 2017, x64

Steps to Reproduce:

Create 2 files, index.js and index.d.ts
Define types in d.ts file (e.g. some interface);
Using JSDOC, intellisense works ok in the JS file with reference on t.ds;
Use import statement in the t.ds;
Intellisense for types defined in d.ts doesn't work in JS file.

Does this issue occur when all extensions are disabled?: Yes
It seems this problem was already described here https://github.com/Microsoft/vscode/issues/38980
But proposed solution can't help in current version of VS Code.

Please share your code

Answered on SO https://stackoverflow.com/questions/49051278/intellisense-for-javascript-files-in-vs-code-from-type-definitions-which-have-im/49060557#49060557

index.d.ts file:
import { Request } from "express";

declare interface someInterface {
    prop1: Request;
    prop2: string;
}

index.js file:
/// <reference path="index.d.ts"/>

/**
 * @type {someInterface}
 */
let customRouter;

So, when I'm trying to initialize 'customRouter' as object I can't see it properties from intellisense which were defined in d.ts file.
If import statement will be removed, intellisense will work.
According to answer in SO by link described above, need to export interface, and then use at in the import statement in my JS file. But, what about node, where import is currently not available?
Thank you.

Same problem, seems only interface declaration could not work correctly.
.d.ts file
declare var _variable: string

declare interface _interface{
    someProperty: string
}

declare function _function(): string

declare class _class{
    someProperty: string
}

.js file

I think it's likely to be a bug.


Export Puffin-Viewer reports from the measured program

Is your feature request related to a problem?
We use Puffin in Meilisearch to measure the indexing functions used and the time they take to process. It is fairly easy to see the blocking steps. We will release this profiling feature as part of the next v1.4. However, we would like to ease the report export. We currently need to ask our users to run the puffin_viewer program alongside their Meilisearch but it would be great to export a report from Meilisearch itself.
Describe the solution you'd like
It would measure just after being started and after being closed. The report would be viewable from puffin_viewer. Every frame would be written to disk in the puffin_viewer format until the program is closed.
Describe alternatives you've considered
Maybe running the puffin_viewer library HTTP server directly from Meilisearch and making it export the report by itself?

you are in luck :smiley: https://docs.rs/puffin/latest/puffin/struct.FrameView.html#method.save_to_writer
we use this ourselves also from our app

Thank you very much! I missed this function, and it works great 😄  I am just wondering how many frames it will write to disk, it seems like the frames are not removed after a call to save_to_writer 🤔

think it saves all of the available frames


tooltip pointClass being wrongly assigned

I just used the off the shelf example with a line chart.
I found this block of code was always evaluating to true.
if (chart.constructor.name == Chartist.Bar.prototype.constructor.name) {
        tooltipSelector = 'ct-bar';

When I spat out the two values to the console, they both read "e". I'm not sure why this was tripping up. I only have the code locally and not online, so I can't provide an easy example, but if there are any specific portions that you'd like to see, I can add them into here.

Exactly the same problem and this is what blocking the tooltip plugin. I hardcoded it to ct-point instead of ct-bar and it worked! Tooltip finally started showing up but positioning is haywire. Looking into that right now.

this is probably a duplicate of #120

+1
tooltip not displayed because event is attached to the ct-bar.
what is ct-bar? I have no such class. I use new Chartist.Line, not Chartist.Bar
console.log(
    chart.constructor.name,     // e
    Chartist.Bar.prototype.constructor.name,  // e
    Chartist.Pie.prototype.constructor.name,  // e
    Chartist.Line.prototype.constructor.name // e
)

Apparently this is due to the obfuscator. If I use do not load version, then I get normal names: Line, Bar, Pie, Line


[SPARK-33770][SQL][TESTS][2.4] Fix the ALTER TABLE .. DROP PARTITION tests that delete files out of partition path

What changes were proposed in this pull request?
Modify the tests that add partitions with LOCATION, and where the number of nested folders in LOCATION doesn't match to the number of partitioned columns. In that case, ALTER TABLE .. DROP PARTITION tries to access (delete) folder out of the "base" path in LOCATION.
The problem belongs to Hive's MetaStore method drop_partition_common:
https://github.com/apache/hive/blob/8696c82d07d303b6dbb69b4d443ab6f2b241b251/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L4876
which tries to delete empty partition sub-folders recursively starting from the most deeper partition sub-folder up to the base folder. In the case when the number of sub-folder is not equal to the number of partitioned columns part_vals.size(), the method will try to list and delete folders out of the base path.
Why are the changes needed?
To fix test failures like https://github.com/apache/spark/pull/30643#issuecomment-743774733:
org.apache.spark.sql.hive.execution.command.AlterTableAddPartitionSuite.ALTER TABLE .. ADD PARTITION Hive V1: SPARK-33521: universal type conversions of partition values
sbt.ForkMain$ForkError: org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: File file:/home/jenkins/workspace/SparkPullRequestBuilder/target/tmp/spark-832cb19c-65fd-41f3-ae0b-937d76c07897 does not exist;
	at org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:112)
	at org.apache.spark.sql.hive.HiveExternalCatalog.dropPartitions(HiveExternalCatalog.scala:1014)
...
Caused by: sbt.ForkMain$ForkError: org.apache.hadoop.hive.metastore.api.MetaException: File file:/home/jenkins/workspace/SparkPullRequestBuilder/target/tmp/spark-832cb19c-65fd-41f3-ae0b-937d76c07897 does not exist
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_partition_with_environment_context(HiveMetaStore.java:3381)
	at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)

The issue can be reproduced by the following steps:

Create a base folder, for example: /Users/maximgekk/tmp/part-location
Create a sub-folder in the base folder and drop permissions for it:

$ mkdir /Users/maximgekk/tmp/part-location/aaa
$ chmod a-rwx chmod a-rwx /Users/maximgekk/tmp/part-location/aaa
$ ls -al /Users/maximgekk/tmp/part-location
total 0
drwxr-xr-x   3 maximgekk  staff    96 Dec 13 18:42 .
drwxr-xr-x  33 maximgekk  staff  1056 Dec 13 18:32 ..
d---------   2 maximgekk  staff    64 Dec 13 18:42 aaa

Create a table with a partition folder in the base folder:

spark-sql> create table tbl (id int) partitioned by (part0 int, part1 int);
spark-sql> alter table tbl add partition (part0=1,part1=2) location '/Users/maximgekk/tmp/part-location/tbl';

Try to drop this partition:

spark-sql> alter table tbl drop partition (part0=1,part1=2);
20/12/13 18:46:07 ERROR HiveClientImpl:
======================
Attempt to drop the partition specs in table 'tbl' database 'default':
Map(part0 -> 1, part1 -> 2)
In this attempt, the following partitions have been dropped successfully:

The remaining partitions have not been dropped:
[1, 2]
======================

Error in query: org.apache.hadoop.hive.ql.metadata.HiveException: Error accessing file:/Users/maximgekk/tmp/part-location/aaa;
org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: Error accessing file:/Users/maximgekk/tmp/part-location/aaa;

The command fails because it tries to access to the sub-folder aaa that is out of the partition path /Users/maximgekk/tmp/part-location/tbl.
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running the affected tests from local IDEA which does not have access to folders out of partition paths.
Lead-authored-by: Max Gekk<EMAIL_ADDRESS>Co-authored-by: Maxim Gekk<EMAIL_ADDRESS>Signed-off-by: HyukjinKwon<EMAIL_ADDRESS>(cherry picked from commit 9160d59ae379910ca3bbd04ee25d336afff28abd)
Signed-off-by: Max Gekk<EMAIL_ADDRESS>

Test build #132756 has started for PR 30757 at commit f9d09b4.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37358/

Test build #132756 has finished for PR 30757 at commit f9d09b4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to branch-2.4.


mm_answer_moduli: bad parameters

i got this error on server mount
fatal: mm_answer_moduli: bad parameters: 2048 2048 1024
i think the problem is the new version of ssh in debian sid
http://metadata.ftp-master.debian.org/changelogs/main/o/openssh/openssh_7.2p1-1_changelog

What version of Debian are u using? I'm using the latest stable (Jessie with OpenSSH 6.7) without troubles.

debian sid
openssh 7.2

I get the same issue on openssh-6.6p1-6.3.x86_64 on openSUSE 13.2, just the values are different:
fatal: mm_answer_moduli: bad parameters: 1536 1536 1024

Same issue on Arch Linux since a few weeks. I also get 2048 2048 1024 as parameters, and have OpenSSH 7.2p1.
To be clear (because the original description doesn't even mention this): This issue makes connecting to that host via win-sshfs impossible. Putty is still working though, as is WinSCP.

fatal: mm_answer_moduli: bad parameters: 2048 2048 1024
Gentoo / guessing the problem came from SSH the logs says it started march 20, changes on my gentoo box at match 20 below (net-misc:openssh-7.2_p2) / i went directly from openssh-7.1_p2 which seemed to work.
-rw-rw---- 1 portage portage   229803 Mar 20 18:16 dev-vcs:git-2.7.3-r1:20160320-171444.log
-rw-rw---- 1 portage portage   627491 Mar 20 18:14 dev-libs:nss-3.22.2:20160320-171225.log
-rw-rw---- 1 portage portage       61 Mar 20 18:14 dev-libs:nss-3.21-r2:20160320-171442.log
-rw-rw---- 1 portage portage   232276 Mar 20 18:12 net-wireless:hostapd-2.5:20160320-171135.log
-rw-rw---- 1 portage portage   207798 Mar 20 18:11 net-misc:openssh-7.2_p2:20160320-171014.log
-rw-rw---- 1 portage portage   110261 Mar 20 18:10 dev-libs:nspr-4.12:20160320-170953.log
-rw-rw---- 1 portage portage     1570 Mar 20 18:09 sys-apps:man-pages-4.04:20160320-170944.log
-rw-rw---- 1 portage portage     1234 Mar 20 18:09 sys-devel:binutils-config-5-r2:20160320-170939.log
-rw-rw---- 1 portage portage    24277 Mar 20 18:09 dev-lang:go-1.6-r2:20160320-170656.log
-rw-rw---- 1 portage portage      314 Mar 20 17:58 dev-lang:go-1.6-r2:20160320-165855.log

As a workaround, the following line could be added to /etc/ssh/sshd_config:
# TEMPORARY WORKAROUND for win-sshfs
# "An established connection was aborted by the server."
KexAlgorithms diffie-hellman-group1-sha1

But this is probably bad advice...

It has to do with this issue:
https://sshnet.codeplex.com/workitem/1973

I too have this issue with Ubuntu 16.04 - OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g  1 Mar 2016                                                                              │

same error on OpenSUSE 42.1 fatal: mm_answer_moduli: bad parameters: 2048 2048 1024

same issue
"fatal: mm_answer_moduli: bad parameters: 2048 2048 1024"
on FreeBSD 10.3-RELEASE-p7

(3/7/2016) The KEX algos that sshfs doesnt like are : diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1  (not group1-sha1)
A lower security sshd_config option that will still allow you to log in most of the time is:
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
I recommend running a separate instance on another port and using iptables &/or hosts.allow/deny specific access from trusted machines.  Although, I recommend doing that on your main ssh port as well.  I drop all packets to any login port from any but 5 known machines with higher security on them.


npm install fails

Describe the bug
When I run "npm install" it will get stuck at the same point
PS C:\work\Twilio\twilio-video-app-react> npm install
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. dotenv provides its own type definitions, so you do not need this installed.
npm WARN deprecated<EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Fixed a prototype pollution security issue in 4.1.0, please upgrade to ^4.1.1 or ^5.0.1.
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/formula'
npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated<EMAIL_ADDRESS>some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated<EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated<EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
[                  ] | reify:@tensorflow-models/body-pix: timing reifyNode:node_modules/@tensorflow/tfjs-core Completed
To Reproduce
Steps to reproduce the behavior:

I cloned the code from github
Ran npm install

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows 10
Browser: N/A
App Version: N/A
SDK Version: N/A
Node.js version: 14.18.0
NPM version:  7.19.0

Additional context
I was running a newer verison of node (q16.x). I uninstalled that and rolled back to the latest LTS version (14.18). Still got same behavior

Hi @dehirsch I will be closing this due to inactivity. Please let us know if you are still having trouble and we will reopen this issue. Thank you!


from_str zero needs no denomination

The following panics: Amount::from_str("0").unwrap();
While, Amount::from_str("0 BTC").unwrap(); does not.
It seems to that 0 is a special case that doesn't need a denomination.

Yeah, agreed, we should special-case 0.
While we are thinking about it, should we forbid leading 0s except for 0? (Maybe we already do this.)

While we are thinking about it, should we forbid leading 0s except for 0? (Maybe we already do this.)

Yeah I think so, 0 but not 0.*.  Good call.

err not 0* I meant

Funny that this is special case exists. I think it makes sense to special case it.
I think we should allow 0000000.00000000000 for any number of zeros that fit our length for consistency. IIRC we already allow leading and trailing zeroes. This is trivial to implement: just try to call the amount parsing function with arbitrary denomination and the entire string if the denomination is not found and if the result is Ok(0) return Ok(0), if it's anything else return error missing denomination.

With denomination no, without yes.

I think it makes sense to also continue to support zeros with denomination, e.g 0 btc, 0 sats etc for consistency (and to avoid breaking changes).
so, with denomination: 00 sats is ok?
without denomination: 00 is not ok?

@yancyribbens no, both of those are OK.
Basically, we don't do any "leading zero" detection. The only thing we're changing is that we disable the denomination check for numbers that parse to zero. (Including 00, 000.0000, etc.)

Basically, we don't do any "leading zero" detection. The only thing we're changing is that we disable the denomination check for numbers that parse to zero. (Including 00, 000.0000, etc.)

works for me.


back up copy of nightsi out of thresholds look in part 5 to avoid ove…

Fixes #775 => bug reported in google group (https://groups.google.com/g/RpackageGGIR/c/0NLM-Vsjim4) by which the first and second day separation was compromised in part 5 only when more than one set of thresholds was defined and both timewindows (MM and WW) were generated.

Checklist before merging:

[x] Existing tests still work (check by running the test suite, e.g. from RStudio).
[ ] Added tests (if you added functionality) or fixed existing test (if you fixed a bug).
[ ] Updated or expanded the documentation.
[x] Updated release notes in inst/NEWS.Rd with a user-readable summary. Please, include references to relevant issues or PR discussions.
[ ] Added your name to the contributors lists in the DESCRIPTION and CITATION.cff files.

Codecov Report

Merging #776 (f58b1f9) into master (0d8f1d3) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

:exclamation: Current head f58b1f9 differs from pull request most recent head 5ec50fa. Consider uploading reports for the commit 5ec50fa to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #776      +/-   ##
==========================================
- Coverage   74.24%   74.22%   -0.02%
==========================================
  Files          88       88
  Lines       10814    10814
==========================================
- Hits         8029     8027       -2
- Misses       2785     2787       +2

Impacted Files
Coverage Δ

R/g.part5.R
75.91% <100.00%> (ø)

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Thanks @vincentvanhees, yes, this bug only occurs when both (1) there was more than one set of thresholds AND (2) both timewindow types (MM adn WW) were extracted. I have checked different combinations of settings and this was the only scenario when the output was affected.


Number of Words in Test Set

Hi, is there an official number for the final number of words in the test set for scoring?
WeNet results say there are 19928 sentences and 390656 words: https://github.com/wenet-e2e/wenet/tree/main/examples/gigaspeech/s0
Kaldi results say there are 390721 words: https://github.com/kaldi-asr/kaldi/blob/master/egs/gigaspeech/s5/RESULTS
I am using my own toolkit, and after removing the noise/punc tags and running the provided scoring script, I get 19930 sentences and 390744 words. Note I do match WeNet's number of words/sentences on the dev set.
Although these are small differences, I guess this still matters for final reporting. It would be super helpful if:

There was an official number of sentences/words, Kaldi vs WeNet seems to suggest there are inconsistencies.
To aid with debugging, a file listing the final references post filtering + normalization  for each segment would be helpful. This way people can easily check if they are evaluating on the exact same reference, and if not where the filtering/normalization went wrong.

Thank you!

Thanks, we will get back to this.

Another reference of GigaSpeech EvaluationSets numbers can also be found here in Espnet recipe, it is 19930 utts & 390744 words.
Guoguo has assigned @chaisz19 to confirm these numbers, something that I can think of:

some downstream toolkits might filter long utterances(say longer than 20 sec). GigaSpeech utterances are between [0.5, 20] seconds, but float-point rounding error(around 20) may be a source of inconsistency during utterance filtering.
After text post-processing, some utterances might have empty reference(say, an utterance with raw reference 'ah um'), I'm not sure Kaldi's compute-wer and sclite handle denominator numbers exactly the same way in this situation.

Given the large scale of GigaSpeech evaluation sets, this shouldn't have any significant impact on final WER, but it's good though that we can confirm on these numbers. So let's wait for Shuzhou's confirmation.
By the way, @xiaoxiao26 it would be great if you can provide the md5 of your local GigaSpeech.json, so we can make sure the investigation is on the right basis.

Thanks @dophist, good to know that the Espnet recipe exactly matches my numbers. md5sum returns the following:
19c777dc296ff3eb714bc677a80620a3  data/GigaSpeech.json

Leave this thread open for documentation purpose. As long as the MD5 is consistent with above, everything should be fine.


How get the property value of a child component from the parent component?

We have a component that contains another component within it.

parent component

parent component (Heading)
ㄴ children component (Number badge)

The children component (Number badge) has the following properties and code-connect.

children component (Number badge)

So, I want to take the variant property value and figma.textContent("Label") value of this children component (Number badge), and pass them to the Heading.Badge, which is a part of the parent component Heading. How can I do that?
I try bleow code with nestedProps (refer to the following this), but get message Failed to load Code Connect example
figma.connect(
  Heading,
  "https://www.figma.com/design/...",
  {
    props: {
      size: figma.enum("Size", {
        Small: "small",
        Medium: "medium",
        Large: "large",
        Xlarge: "xLarge",
      }),
      text: figma.textContent("Title"),
      description: figma.boolean("Text", {
        true: figma.textContent("Text"),
        false: undefined,
      }),
      align: figma.enum("Align", {
        Default: undefined,
        Center: "center",
      }),
      badge: figma.nestedProps("Number badge", {
        variant: figma.enum("variant", {
          primary: "primary",
          secondary: "secondary",
          accent: "accent",
          critical: "critical",
          "primary-inverse 🔒": "primary-inverse",
          "secondary-inverse 🔒": "secondary-inverse",
          "accent-inverse 🔒": "accent-inverse",
          "critical-inverse 🔒": "critical-inverse",
        }),
        text: figma.textContent("Label"),
      }),
    },
    example: ({ badge, ...props }) => (
      <Heading {...props}>
        <Heading.Badge type={badge.variant} text={badge.text} />
      </Heading>
    ),
  },
);

Please provide:

Code Connect CLI version: 1.0.6
Operating system: mac OS 13.5.2

Hey @jongjunpark, I can't see any mistakes in your Code Connect code and this is the way we would recommend to get property values of child components. If you could please raise a support ticket and share your file with them we can investigate further.

nestedProps

Hi, @slees-figma . I share our file to support ticket. I hope it gets resolved soon. thanks

Hi @jongjunpark, thanks for sharing the file! I looked into it and it seems like the issue is that the badge layer is names Number badge  (with a whitespace at the end) and not Number badge.
If you update the  badge: figma.nestedProps("Number badge" to  badge: figma.nestedProps("Number badge " you should see code snippets for the variants with badge.
In order to also show code snippets for the variants without badge you should use Variant restrictions and create different examples for the variants with badge and without.
figma.connect(
  Heading,
  "https://www.figma.com/...,
  {
    variant: { Badge: "True" },  // <--- This for variants without badge
    props: {
      size: figma.enum("Size", {
        Small: "small",
        Medium: "medium",
        Large: "large",
        Xlarge: "xLarge",
      }),
      text: figma.textContent("Title"),
      description: figma.boolean("Text", {
        true: figma.textContent("Text"),
        false: undefined,
      }),
      align: figma.enum("Align", {
        Default: undefined,
        Center: "center",
      }),
      badge: figma.nestedProps("Number badge ", {
        variant: figma.enum("variant", {
          primary: "primary",
          secondary: "secondary",
          accent: "accent",
          critical: "critical",
          "primary-inverse 🔒": "primary-inverse",
          "secondary-inverse 🔒": "secondary-inverse",
          "accent-inverse 🔒": "accent-inverse",
          "critical-inverse 🔒": "critical-inverse",
        }),
        text: figma.textContent("Label"),
      }),
    },
    example: ({ badge, ...props }) => (
      <Heading {...props}>
        <Heading.Badge type={badge.variant} text={badge.text} />
      </Heading>
    ),
  }
);

figma.connect(
  Heading,
  "https://www.figma.com/...,
  {
    variant: { Badge: "False" }, // <--- This for variants with badge
    props: {
      size: figma.enum("Size", {
        Small: "small",
        Medium: "medium",
        Large: "large",
        Xlarge: "xLarge",
      }),
      text: figma.textContent("Title"),
      description: figma.boolean("Text", {
        true: figma.textContent("Text"),
        false: undefined,
      }),
      align: figma.enum("Align", {
        Default: undefined,
        Center: "center",
      }),
    },
    example: ({ ...props }) => <Heading {...props}></Heading>,
  }
);

hi, @ptomas-figma
Thank you for the quick response. I hadn’t noticed that there were empty values in the text.
it’s working very well now.

Great news! Closing the issue now as resolved. Thanks!


Add support for Paul Neuhaus Q-PLUG Adapter Plug

I have added support for the Paul Neuhaus Q-PLUG Adapter Plug. It is an adapter plug that can be controlled via Zigbee. It also features also a night orientation light, but this one can't be switched via zigbee.
paul-neuhaus.de Q-PLUG
Without the fz.ignore_nlg_plug_genBasic I received this message in the log:
warn: No converter available for '100.425.90' with cid 'genBasic', type 'devChange' and data '{"cid":"genBasic","data":{"zclVersion":1}}'.
As I don't see any Info of value of the zclVersion I ignored it.
After the changes I can turn the device on and off and I receive this mqtt message:
{"state":"ON","device":{"ieeeAddr":"0x00158d00025.......","friendlyName":"qplug","type":"Router","nwkAddr":9745,"manufId":4151,"manufName":"Neuhaus Lighting Group ","powerSource":"Mains (single phase)","modelId":"NLG-plug ","hwVersion":1,"swBuildId":"unknown","dateCode":"20160606","status":"online"}}

If this commit is fine I would also update the supported devices page.

Thanks!


The problem of predicting performance

Hello, I used your method to train 2695 epoch, but the test results are not very satisfactory, as shown in the figure below, is this something wrong with me?

Very difficult for me to know without more information. Did you try testing with the pretrained models provided? For your training, what accuracy was achieved?


How do I construct the nuscenes dataset

Hello! I want to ask how to construct the nuscenes dataset mentioned in the README?

For different experiments, we have different construction method. The detail can be found in https://arxiv.org/pdf/2305.06940.pdf

Thank you for your answer ! But I mean how to organize my nuImage dataset into the form mentioned in the README for training?

Hello! The downloaded nuimage original folder is not in this format. Is there a conversion script available?

Hi, because my work is different from conventional 2D detection work, the downloaded dataset cannot be used directly.
You can modify the .json file following the format of demo one. Generally, json contains the label of classes and bounding box. You can write the script to choose any class you like to be included in .json for train.


Grading overviews page crashes or loads with warnings

[Bug] Grading overviews page crashes or loads with warnings
Seems to be introduced by changes to support React Hooks in PR #1137.
Bug description
When the SA front-end is run with mocks (i.e. with USE_BACKEND=FALSE), loading the grading overviews page (/academy/grading) results in the page freezing and crashing shortly after with the following error message.

When the SA front-end is ran pointed to a backend instance, loading the grading overviews page instead results in the following console warning.

Attempting to then fetch grading overviews results in additional console error messages similar to those seen with the frontend using mocks. The offending component seems to be the notification badges that are optionally rendered alongside each submission in the datagrid.
Last updated 25 May 2020, 11:45PM

This is fixed.


Nginx worker CPU 100%，endless loop

env
qat driver qat1.7.l.4.9.0-00008
Nginx 1.16
OpenSSL 1.1.1g
QAT_Engine v0.5.44

bug

debug

strace -o output.txt -T -tt -e trace=all -p 25130

cat output.txt
15:05:55.463315 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000030>
15:05:55.463462 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000017>
15:05:55.463510 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000024>
15:05:55.463567 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463602 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000012>
15:05:55.463638 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463669 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463700 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463731 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.463762 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.463793 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.463824 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463855 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463886 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463917 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463948 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.463979 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464010 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464041 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464072 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464104 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464135 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464184 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000012>
15:05:55.464217 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464248 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464279 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464310 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464341 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464372 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464403 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464434 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464465 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464496 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464527 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>
15:05:55.464558 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464589 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464619 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464650 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464682 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000010>
15:05:55.464713 read(4297, 0x55bc6459e4b8, 8) = -1 EAGAIN (Resource temporarily unavailable) <0.000011>

perf report

As mentioned in Nginx GitHub, Could you please check with latest of all software (Nginx, Qat_Engine, Driver) and see if it still gets reproduced

Hi all, I have the quite same problem with the latest software version:
async_nginx: 0.4.5
openssl: 1.1.1k
qatengine:  0.6.4
qatdriver: 1.7.l.<IP_ADDRESS>
the reproduce situation:  config values in nginx.conf :
default_algorithms CIPHERS
qat_poll_mode heuristic
I have debuged async_ningx and found there is a infinite loop. I think this is the reason here.
1  in function ngx_http_do_read_client_request_body(), nginx goin the for(;;)[line:288] loop and never break.
as recv()[line:343] always return  NGX_AGAIN, and c->read->ready always == 1
2.  when async context swapd, an other infinite loop was happend. in function qat_chained_ciphers_do_cipher() line:1554
as the read()[qat_pause_job():line279] always return EAGAIN.
3.  I think, this because of the callback function qat_crypto_callbackFn() never have any CPU chance/CPU TIME to be called,
then I check the POLL logic in async_nginx. I found point 4 descripte below.
4.  In function ngx_ssl_engine_qat_heuristic_poll(), all the values of the six variables(num_*) never grow up, so function qat_engine_poll() have no any chance to execute.
when I change my engine config in nginx.conf, this issue is disappear, and i can work around.  the config like below:
qat_heuristic_poll_asym_threshold = 0
qat_heuristic_poll_sym_threshold = 0
It seems a logic deadlock here ?  nginx want qat to update counters but counters updated need nginx release some CPU time.
or, maybe the following code do not consider the long time idle SSL connections ?
    if (*num_asym_requests_in_flight + *num_kdf_requests_in_flight
        + *num_cipher_requests_in_flight +  *num_asym_mb_items_in_queue
        + *num_kdf_mb_items_in_queue + *num_sym_mb_items_in_queue
       >= (int) *ngx_ssl_active) {
Anyone have any idea about this ?

It's strange to see that all the num_*  recorded in ngx_ssl_engine_qat_heuristic_poll() never increased.
Because the number is recorded in QAT-Engine and increased each time when a qat_chained_ciphers_do_cipher() being called.
https://github.com/intel/QAT_Engine/blob/378bfeb75d7bbc654991113955d25c8f9f95c2db/qat_hw_ciphers.c#L1536
Heuristic polling is designed to save polling overhead by polling QAT only when in-flight number of requests bigger than the predefined threshold.
If the heuristic polling is enabled and the share info runs without error, the heuristic polling should run correctly.

Yes, must be my description above not very clearly.
The num_* are never increased since that nginx worker process fall into this loop code, not breakout:
https://github.com/intel/asynch_mode_nginx/blob/7f674ff25c47d7dd5e335bed7a3fd6154d735b2e/src/http/ngx_http_request_body.c#L281-L378
Because of line:336  return EAGAIN, and line:387 ready==1
Any new connection or request can not be processed, so it never increased.
Those days, I review codes agian, and gdb it, have some new update.
The async job in QAT_engine is pending in loop:
https://github.com/intel/QAT_Engine/blob/378bfeb75d7bbc654991113955d25c8f9f95c2db/qat_hw_ciphers.c#L1539-L1555
Because the qat_wake_job() in qat_chained_callbackFn() have no chance to be called.
https://github.com/intel/QAT_Engine/blob/9954c0c0aa5b52126716611ef9248e6de4fbd9ef/qat_ciphers.c#L409
Why qat_chained_callbackFn() is not called?  Because the threshold in ngx_ssl_engine_qat_heuristic_poll() called from ngx_ssl_async_process_fds() would never be reached.
https://github.com/intel/asynch_mode_nginx/blob/7f674ff25c47d7dd5e335bed7a3fd6154d735b2e/modules/nginx_qat_module/ngx_ssl_engine_qat_module.c#L726
Another chance for qat_engine_poll() is under nginx timer, but the deadloop let the timer invalid too.
according to that, I change the two threshold config (qat_heuristic_poll_asym_threshold, qat_heuristic_poll_sym_threshold) to 0, and it work around.
I wish I explain it clearly this time...


Add a 🔗 Join Node

Multiple people seem to need ways to manipulate outputs to, for instance, concatenate across all responses within / across LLMs. (I envision that, perhaps, this should also come w a "split" responses component, although how to do that is questionable.)
The next thing we add as a node will be a Joiner. We anticipate many other minor improvements and want to be careful about expanding the node list too fast; but, given how many people actually seem to need this one, we will implement it.

I wanted to perform a reduce operation on a text node (to format it into a single JSON string) but couldn’t. Ex: I want to transform a text node with apple, orange, and banana into [“apple”, “orange”, “banana”] but this isn’t possible because I cannot collapse multiple text fields or nodes into ONE string output and because I cannot insert things like commas and quotes. A Reduce node that takes a JS or Python script could solve this.

Now you can.


client.locks.unlock() and client.locks.lock methods for Locks are not working

Hello!
I've been trying to use this sdk with my Lock+Gateway, they're synced in my account and everything.
Here is the code to that I'm trying to use:
import os
from wyze_sdk import Client

client = Client(
    email=os.environ['email'],
    password=os.environ['password'],
    key_id=os.environ['key_id'],
    api_key=os.environ['api_key']
)

lock = client.locks.list()[0]
print(client.locks.unlock(lock.mac))

When I run this code is that I recieve the following response: {'ReqID': 'bcfbb1b3fa', 'ErrNo': 0, 'ErrMsg': ''} and doesn't unlock the lock, the same happens with client.locks.lock(lock.mac). Other methods like get_records() are working fine, but is just that I can't lock/unlock!
Is there a problem with my core or the api? Thanks for developing this sdk!

That's not quite how the python client works. You need to use:
client.locks.lock(device_mac=<did>) where <did> should look something like YD.LO1.abcdef01234456789...


how to retrieve BCH tx details using the API?

hi. I am using the api endpoint - https://blockchain.info/rawtx/<tx_hash> to retrieve the transaction details of a BCH transaction, but it always gives me an error saying -
{"error":"not-found-or-invalid-arg","message":"Item not found or argument invalid"}
works perfectly for BTC though. is there a different end point for BCH? Thanks.


fix: Need the global redis helm values to not be null even when disabled

This PR is included in version 3.0.5 :tada:


README.md for auditing purposes [skip ci]

Added a README.md file which may help people with auditing commits
Signed-off-by: Raza Jafri<EMAIL_ADDRESS>

build

build

build

adjust title [skip-ci] to [skip ci] to take effect, if require more available phrase to be added, could modify this directly https://github.com/NVIDIA/spark-rapids/blob/branch-23.02/jenkins/Jenkinsfile-blossom.premerge#L153


Attempt to fix release artifact upload

This should work for uploading the RNG schemata. Hopefully this will fix the GH action.
I'm targeting "stable" with this because "develop" isn't up to date yet, but please do whatever is best.

Thanks @ahankinson . For now, we added the schemata by hand to the release assets. But your fix will be very helpful for future versions.

@ahankinson Sorry for hijacking the PR. Fixed some other stuff that was wrong in the workflow, like publication paths. We are also now zipping the schema files to add them to the artifacts.


slaves cannot be found

on osx, a master cannot find its default 2 slaves: slave1.kiwenlau.com and slave2.kiwenlau.com. the 2 urls must be added to /etc/hosts:
<IP_ADDRESS>      slave1.kiwenlau.com slave1

Hi Kejia,
We cannot change /etc/hosts file in Docker container. So I use serf/dnsmasq for DNS service, however, it will take some time for serf/dnsmasq to set up DNS service after starting containers.
Best regards,
Kiwenlau

I have the issue how what i should do now?
I type gedit /serf/dnsmasq ?


Is it still no longer advisable to have xml2js operate in async=true mode?

In the README for this repo, you give the following warning:
IMPORTANT: Currently, it is not advisable to operate xml2js in async=true mode. Unless you can absolutely trust input data (which you should not), certain types of invalid XML will throw uncaught exceptions. See https://github.com/Leonidas-from-XIV/node-xml2js/issues/232 for progress on this issue. Until then, the default option is set to async=false.

However, as far as I can tell, the issue being referenced has been resolved and it's no longer unsafe to operate xml2js in async=true mode. Is this correct? If so, I can create a PR for this README to remove the warning!
Thanks!

@samskeller Good catch 👍
I'll have to double-check, but it looks like async=true issues have been resolved. Your PR is welcome 😄

Great, thanks @macedigital! I'll create a PR and tag you on it

Issue is fixed.


[Bug ]: Issues related to Google UQI

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Below are the list of issues is
Enhacement:

Highlight in red when the mapping with the field is wrong
Highlight in red when JS Syntax is wrong
Indicate the mandatory field
Highlight in red when the mapping with field are wrong
Highlight in red when JS Syntax is wrong

Steps To Reproduce

[x] 1. When the user changes the name of the spreadsheet and the sheet name remains as previous it is observed that the results are still fetched from the sheet name and not from the spreadsheet.

expectation: when the spreadsheet is changed we can clear other fields

[x] 2. On converting the spreadsheet field into JS it is observed that the URL does not get updated based on the name change pulled from the dropdown
[x] 3. On selecting Entity as Sheetrows in Fetch details is not functional
[ ] 4. Indicate the mandatory field
[ ] 5. Scroller is displayed to the user when the relationship pane is displayed to the user
[ ] 6. Scroller is displayed in the dropdown of the filter by field commands
[x] 7. Uncaught promise exception https://www.loom.com/share/b64819cd914e4157a62707783fe64a7a
[ ] 8.  Does not work on a page that has decimal and multiple data types
[ ] 9. Crud/Table  does not get populated with different data types https://www.loom.com/share/36a4e4c973304ad49ae1a1483d44c224
[ ] 10. Negative number should not be supported in table heading row
[x] 11. Unable to import Apps.
[x] 12. CRUD : Insert and Update functionality is broken

Public Sample App
No response
Version
Cloud

Highlight in red when the mapping with the field is wrong

We'll need validations to be able to achieve this. Deferring this feedback to when we pick that project up.

Uncaught promise exception
This one's happening because the table widget converts the / (forward slash) character in the heading in the Google Sheet into the _ (underscore) character. Using an unknown field in the where clause is throwing an ugly error though. Tracking that part of the issue here.

On converting the spreadsheet field into JS it is observed that the URL does not get updated based on the name change pulled from the dropdown

It is expected that the JS mode retains its previous value. The conversion should only happen on the first switch, and that seems to work as expected.

Scroller is displayed in the dropdown of the filter by field commands

I've added a few more operators on this since, so we don't need to worry about this issue any more.


css-loader options error

Version
4.0.0-beta.1
Reproduction link
https://github.com/vuejs/vue-cli
Environment info
css-loader 3.0.1

Steps to reproduce

set css.loaderOptions.css.localIdentName get css-loader ValidationError
set css.loaderOptions.css.modules.localIdentName get css-loader ValidationError too

What is expected?
correct css-loader option
What is actually happening?
wrong

https://github.com/vuejs/vue-cli/blob/76eb7146caea9b51b13e5459ca511ca17667cc27/packages/%40vue/cli-service/lib/config/css.js#L126

Hi
Thanks for filing this issue! Could you please provide a small reproduction on jsfiddle.net or as a github reporsitory so we can debug this without trying to replicate this ourselves?`
That would be very helpful, thanks!

It‘s quite simple，in css-loader 3.1.0, it's options like this:
{
  modules: {
    localIdentName: '[folder]-[name]-[local][emoji]',
  },
  localsConvention: 'camelCaseOnly,
}

but in this line:
const { localIdentName = '[name]_[local]_[hash:base64:5]' } = loaderOptions.css || {}
Object.assign(cssLoaderOptions, {
  modules: {
    localIdentName,
  },
})

so, when pass:
{
  modules: {
    localIdentName: '[folder]-[name]-[local][emoji]',
  },
  localsConvention: 'camelCaseOnly,
}

get:
{
  modules: {
    localIdentName: '[name]_[local]_[hash:base64:5]',
  },
  localsConvention: 'camelCaseOnly,
}

That's not i wanted
pass:
{
  localIdentName: '[folder]-[name]-[local][emoji]',
  localsConvention: 'camelCaseOnly,
}

get:
{
  modules: {
    localIdentName: '[folder]-[name]-[local][emoji]',
  },
  localIdentName: '[folder]-[name]-[local][emoji]',
  localsConvention: 'camelCaseOnly,
}

That's will get a ValidationError

And, how about this option: css.modules?

By default, only files that ends in *.module.[ext] are treated as CSS modules. Setting this to true will allow you to drop .module in the filenames and treat all *.(css|scss|sass|less|styl(us)?) files as CSS modules.


Major refactoring of testing framework

Description of the Change

[x] Created a Class Param() defined in sct_testing and compatible with sct_pipeline. This will prevent all the duplication across test_XX files and facilitate the access to testing-related variables through the passing of a single class param_test
[ ] cpu-np: indicate the effective number of cpu used (not total one) on verbose
[ ] indicate the effective number of subjects to process (in addition to total)
[x] make it possible to launch several testings by inputing a list of params

Modify (or create) a test for all functions visible by the user:

Use example from: sct_propseg (includes integrity testing) or sct_apply_transfo (does not include integrity testing).
If it exists for your function, use the existing test_XXX function to recover the default input parameters.
For output file, do not add folder, because output will be local (i.e. temp folder created during the test) and will NOT be the same folder as the input folder.
Please once you've added the test, also uncomment the function in sct_testing, and make sure the test passes before checking the function in the list below.
Please indicate if integrity is checked by adding: --> integrity checked

@benjamindeleener:

[x] sct_compute_mscc.py --> integrity checked
[ ] sct_dice_coefficient.py
[x] sct_flatten_sagittal.py
[ ] sct_image.py
[ ] sct_invert_image.py
[ ] sct_label_utils.py
[ ] sct_process_segmentation.py
[x] sct_propseg.py --> integrity checked
[ ] sct_resample.py
[ ] sct_segment_graymatter.py
[ ] sct_straighten_spinalcord.py

@charleygros:

[ ] sct_analyze_lesion.py
[ ] sct_analyze_texture.py
[ ] sct_compute_hausdorff_distance.py
[x] sct_convert.py
[ ] sct_detect_pmj.py
[x] sct_get_centerline.py --> integrity checked
[ ] sct_make_ground_truth.py --> Not sure we want to keep this function
[x] sct_maths.py
[ ] sct_merge_images.py
[x] sct_smooth_spinalcord.py
[x] sct_warp_template.py

@jcohenadad:

[x] sct_apply_transfo.py
[x] sct_concat_transfo.py
[x] sct_create_mask.py
[x] sct_crop_image.py --> integrity checked
[x] sct_dmri_compute_dti.py
[x] sct_dmri_concat_bvals.py
[x] sct_dmri_concat_bvecs.py
[x] sct_dmri_create_noisemask.py
[x] sct_dmri_compute_bvalue.py
[x] sct_dmri_moco.py
[ ] sct_dmri_separate_b0_and_dwi.py
[ ] sct_dmri_transpose_bvecs.py
[ ] sct_extract_metric.py
[ ] sct_fmri_compute_tsnr.py
[ ] sct_fmri_moco.py
[ ] sct_label_vertebrae.py
[ ] sct_qc.py
[ ] sct_register_graymatter.py
[ ] sct_register_multimodal.py
[ ] sct_register_to_template.py

@stephaniealley:

[ ] sct_compute_ernst_angle.py
[ ] sct_compute_mtr.py
[ ] sct_compute_snr.py

Functions currently not used by SCT (i.e. no symbolic link created at install):

[ ] sct_denoising_onlm.py

Functions with display output (testing currently not possible):

[ ] sct_dmri_display_bvecs.py

Working branch
git fetch origin
git checkout -b jca_issue1452 origin/jca_issue1452

Applicable Issues
Fixes #1452

For sct_merge_images: testing without integrity:
I was thinking to the following test:
sct_merge_images -i t2/t2_seg_manual.nii.gz,t2s/t2s_seg_manual.nii.gz
                               -d template/template/PAM50_small_cord.nii.gz
                               -w t2/warp_anat2template.nii.gz,t2s/warp_anat2template.nii.gz

Does it seem correct?
If so, it would require to add the following files to the testing data folder:

t2s/labels.nii.gz
t2s/t2s_seg_manual.nii.gz
t2/warp_anat2template.nii.gz
t2s/warp_anat2template.nii.gz

For sct_detect_pmj:
As t2/t2.nii.gz has no visible PMJ and as sct_detect_pmj outputs nothing if no PMJ detected: I have not implemented a related test_integrity function.
However, we can discuss this point!

@charleygros:
sct_merge_images -i template/template/PAM50_small_cord.nii.gz,t2/t2_seg_manual.nii.gz -w mt/warp_template2mt.nii.gz,t2/warp_template2anat.nii.gz -d mt/mt1.nii.gz

@jcohenadad :
    # open output segmentation
    try:
        im_seg = Image(file_seg)
    except:
        param_test.output += 'ERROR: Cannot open output segmentation: ' + file_seg
        return param_test

If we cannot open the output segmentation: we should also change the param_test.status?
or may be there is something I miss?

To create a test for sct_compute_ernst_angle:
It only takes optional arguments (default values appear to be hard-coded).
Not sure about testing?


Support for Odnoklassniki (OK.ru)

Odnoklassniki, OK.ru is a social network service for classmates and old friends. It is popular in Russia and former Soviet Republics.
Please do Oauth provider for this...Thanks.
Api documentation

I'm worried I won't be able to help with this one because I don't know Russian.  The API documentation is in English, but I'll still need to create an account and register an application.
I encourage you or someone else to fork this project and add this provider.
Regards,


PokemonGo - Desktop map operational but not working

Map works from anywhere of half an hour to an hour and 30mins then stops sending update to phone and stops working on PC, need a co pilot to run maps for me at home while i hunt in order to get around this, any other suggestions? or fixes?

This happens when you use google login, use PTC login and it will work almost forewer...
Its because google need intraction from user every 30min...

Solved.

You're the man keep it up and thanks
On Aug 9, 2016 8:42 AM, "Kr4ml"<EMAIL_ADDRESS>wrote:

This happens when you use google login, use PTC login and it will work
almost forewer...
Its because google need intraction from user every 30min...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mchristopher/PokemonGo-DesktopMap/issues/777#issuecomment-238540706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATz75R7JMNRelser65VWDffx9xrhgZcDks5qeHWugaJpZM4Jf7AR
.

close it then

Now all it says is that its Waiting and not operational at the center top using this method

I created a new PTC account and it stays on Waiting. The account i had for 14 days works fine ?

Hey, I don't know the solution but I know the problem.
New PTC accounts now require you to accept a terms of agreement when they login which is why you're getting your waiting message.  Once it's accepted you can scan.

Log in with that account on your phone, accept, catch the first pokemon and log out.

Thx, did just that, works fine now, a bit troublesome, thx :D

works case closed =]

@PokemongoGether Please close this thread.


Double-click anywhere on an un-pinned editor should pin it

VSCode Version: Code - Insiders 1.10.0-insider (b2a55bd66eb60af11c60ddd61b7581538b216051, 2017-02-24T20:30:00.778Z)
OS Version: Darwin x64 16.4.0

Currently the only way to "pin" an editor is either to double-click on the tab itself or start editing. It would be nice if just double-clicking on the editor itself would cause it to be pinned -- that way you don't have to travel so far when attempting to open multiple files.

I suggest to use this action which is bound by default:
{ "key": "cmd+k enter", "command": "workbench.action.keepEditor" }


[cherry-pick] Support reading data from TiDB in Spark Structured Streaming  (#1104)

cherry-pick https://github.com/pingcap/tispark/pull/1104

/run-all-tests


Internal error when category is clicked in task footer

Steps to reproduce:

Add a category to a task.
In board view, click on the category name in the task footer.
An internal error message pops up.

This error can be fixed by adjusting /kanboard/app/Template/board/task_footer.php:

        <?php if ($not_editable): ?>
            <?= $this->e($task['category_name']) ?>
        <?php else: ?>
            <?= $this->url->link(
                $this->e($task['category_name']),
                'board',
                'changeCategory',
                array('task_id' => $task['id'], 'project_id' => $task['project_id']),
                false,
                'popover' . (! empty($task['category_description']) ? ' tooltip' : ''),
                ! empty($task['category_description']) ? $this->text->markdown($task['category_description']) : t('Change category')
            ) ?>
        <?php endif ?>

Change the 8th line above with   'board', to
                'boardPopover',

[One day I'll learn git and how to submit proper pull requests...]

It's now fixed in the development branch.
Thanks!

Thank you.  Closing issue.


Specify user/uid group/gid does not work for Ubutntu

Hi,
I try to build a package (that works for redhat/centos), but I have a problem of ownership. For example, the following file list
f 644 user group /usr/local/foor/bar
On RedHat, this works even if the user/group does not exist on the build system. On Ubuntu (22.04), the user/group must exist on the build system otherwise the file will belong to "root" after installation. I don't know the details of Debian packages but is it possible to have the same behavior as on RedHat.
Regards,
Luc

I have try with numeric uid/gid whitout success
f 644 801 801 /usr/local/foo/bar


Parallax Scrolling Effect

HOW TO add Effect Parallax SCROLLING thanks

Try the discord chat at : https://discord.com/invite/dzWXP8SHG8 or in Discussions here on GitHub.


[Docs] Remove style propable mixin

Hopefully this wasn't too much for a single PR. Let me know, we can also postpone this if we need to until other PRs impacting docs are merged first.

Looks great, thanks :grin:

Fixed improper heading styles on home page cause by mutated style

@newoga Thanks!


[WIP] Replace nic hardcoded name for argument

Finally I figured out why run wasn't working when setting device argument directly on a configuration file (without passing --on-a-stick parameter). The problem was that the function that sets up the nic app had the name of the app hardcode when it should be parametrized. That resulted in a app graph that used one for the app and a different name for the links (all packets dropped).

False positive. I think this is not the issue. I keep the ticket open until I figure this out.

I'm closing this PR as the actual fix has nothing to do with what was stated here.


crictl fails to create a pod when crio running with --uid-mappings and --gid-mappings

Description
Running crio with id mappings:
 /usr/local/bin/crio --uid-mappings 0:100000:70000 --gid-mappings 0:100000:70000
Now if i try to create a pod using crictl, following the crio tutorial, like this:
$ crictl runp pod-config.json

I get this error message:
FATA[0000] run pod sandbox failed: rpc error: code = Unknown desc = container create failed: container_linux.go:337: starting container process caused "process_linux.go:403: container init caused \"rootfs_linux.go:147: setting rootfs as readonly caused \\\"operation not permitted\\\"\""

UPDATE:
Tried userns functionality with podman and it worked. Then i compared crio vs podman and found that podman does not set rootfs as ReadOnly, while crio does, https://github.com/kubernetes-sigs/cri-o/blob/master/server/sandbox_run_linux.go#L142. At least this explains why podman worked and crio dint.
Difference b/w crio and podman is deliberate or undesired inconsistency?
But if ID Mappings are not used on crio, all works fine.
Output of crio --version:
crio version 1.12.0-dev
commit: "58b6f760f64afcaadf80abd501a6eaae197778e0-dirty"

Additional environment details (AWS, VirtualBox, physical, etc.):
local fedora 29

this seems to be caused by newer versions of crictl (which possibly switched to default to readonly rootfs = true) and happens also without using uid/gid mappings.
It looks like this issue in runc: https://github.com/opencontainers/runc/issues/1247
For now, you could edit /etc/containers/storage.conf and be sure mountopt doesn't contain nodev.
We are seeing this problem now as we have switched to default to "nodev" and there was a change in containers/storage, recently inherited by CRI-O, to start honoring it

But it also decreases the security....  :^(

@giuseppe After Step 3 i.e pod running in the case where crio is running with uid-mapping, crictl fails to delete the same pod.
[root@fed-node ~]# crictl pods
POD ID              CREATED             STATE               NAME                NAMESPACE           ATTEMPT
bab80cde913a5       8 seconds ago       Ready               b44-nginx-sandbox   default             1
e66fad7006ec4       23 seconds ago      Ready               b3-nginx-sandbox    default             1
[root@fed-node ~]# crictl rmp bab80cde913a5
FATA[0000] removing the pod sandbox "bab80cde913a5" failed: rpc error: code = Unknown desc = failed to remove pod sandbox bab80cde913a54e518780fcefc6b2e6810815f956b824765deff19c82b46e911: remove /var/run/containers/storage/overlay-containers/bab80cde913a54e518780fcefc6b2e6810815f956b824765deff19c82b46e911/userdata/shm: device or resource busy

@rhatdan We had to takeout nodev from mounts as well as it prevented buildah from creating overalyfs in mounts.

@giuseppe After Step 3 i.e pod running in the case where crio is running with uid-mapping, crictl fails to delete the same pod.

I think you need to use stopp first, then you can `rmp it

Lets talk about this tomorrow.  Is this only failing when run with User Namespace?
Not sure how buildah would be related, since it should be getting a separate overlay volume mounted into the container that is running buildah,  Buildah should not be building over CRI-O overlayfs.

@rhatdan in my testing, it was failing only with user namespaces.

@giuseppe PTAL

IIRC, we don't have nodev by default now and the other issue was related to not using stopp?
@vikaschoudhary16 is there anything left to do here?

Why would UID Mappings need Nodev by default?

Why would UID Mappings need Nodev by default?

it doesn't.  I think it was just the general setting to cause the issue

I've tried and it works without "nodev", which is not the default; so I am closing this issue.
Please re-open if there is still something left to do


Copy path of a selected node

Hope there is a feature to copy the path of the selected in the format of a target language.
for example:
{"a": {"b": {"c": 1}}}

In Python, the copied value should be: root['a']['b']['c']
In JavaScript, the copied value should be: root.a.b.c

It is a good idea . and very useful

Yes! This is exactly what I'm looking for. My use case is to paste a deeply nested object in JSON Hero, navigate to the value I want through the UI, and would love to copy with a single click the JavaScript I need to use to get that value programatically.

I posted this issue 3 months ago, but the author hasn't even replied to me, let alone started developing this feature.

I posted this issue 3 months ago, but the author hasn't even replied to me, let alone started developing this feature.

These guys also have a full time job, the code's open source and if you really need a feature you can write it yourself and make a PR. Here I threw one togethere for you.
I've added a 'Copy Path' button that lets you copy in JS or Python at the moment. Use my fork until it's they add this feature if you're desperate.


[DURACI-7300]Changed handling of events from que to multithreading

This is done to achieve higher quantity of processed message in time.
Implemented lock of DB, using findAndModify method in javadriver,
using method lockDocument in ObjectHandler. If for some reason event
did not lock the database, it will be added to waitlist. Has an issue in waitlist that events
are not published in Rabbitmq. Later today will try to implement comments from Daniel

Created another pull request without merge conflicts


Provide dependency installabitlity check

User story: As a package maintainer doing a package rebase, I would like to check if dependencies of my package can be installed so the new update does not cause issues to users of packages depending on my package.
Maybe as a part of #12 , or the default installability check or a separate plan, we can provide a check to install dependent packages together (or after?) the newly build RPM.
For the start there can be an env.var. or other way for user to specify the list of such packages. We can also (maybe as a default) check all the dependencies, but this does not need to be implemented from the very start.

Would make sense to be on the Fedora-CI installability as an additional input. Curious though, how would such installability fail at the RPM install stage?

Just to cross-link, I've created a separate issue for builds: https://github.com/packit/packit-service/issues/2343

Curious though, how would such installability fail at the RPM install stage?

Like, how it's possible? Packages can specify versions to use. Or, just some mess on the file level?
Ideally, a smoke test (not sure how and where to define) can help to be really sure we are not breaking anything.

Curious though, how would such installability fail at the RPM install stage?

Like, how it's possible? Packages can specify version requirements that can collide. Or, just some mess on the file level?

Python packages are quite notorious for this. Especially, if you have different releases in rawhide and stable branches (pre-release vs. stable release).

I think those are partially covered by rpminspect ABI check and rpmdeplint

In the case of Python packages, it's usually not ABI that breaks. It's more upstream piining dependencies to a specific version. Sometimes minimum, sometimes maximum, sometimes even both.
I'll take a look if rpmdeplint could be of help.

See this comment for links on rpmdeplint

User story: As a package maintainer doing a package rebase, I would like to check if dependencies of my package can be installed so the new update does not cause issues to users of packages depending on my package.

To elaborate a bit. With Packit a lot of work regarding package updates is automated. I receive a PR for one of my packages, I take a look at the results, all looks fine, I merge, build, go to bed and wake up to an FTI/FTBFS notification on another package I maintain.
Turns out the updated package no longer falls within the limits set by the dependent package. Say foo<=1.10 and I just updated foo to 1.11.0. If that is a runtime (install) dependency only, it will not be discovered by any of the current mechanisms I know of. I need to know exactly what depends on my package and what the version constraints are.
Knowing what depends on your package is not too hard to find out. But it gets more elaborate if you need to find out what the version constraints are, if any.

For the start there can be an env.var. or other way for user to specify the list of such packages. We can also (maybe as a default) check all the dependencies, but this does not need to be implemented from the very start.

For starters I'm fine with manually specifying. But ultimately this should be auto discovered, since dependencies are dynamic. New packages are added to Fedora all the time. Existing packages add and remove dependencies as well. Manually keeping a list up to date is error prone.
I'm not sure how the current FTI discovery works. I believe it's something Koschei does. Maybe there's some inspiration to be found there.


Why do FastAPI Insertion queries take Extremely Long (10+mins for 100,000 rows)

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
@router.post('/')
def postStockData(data:List[pydanticModels.StockPrices], raw_db = Depends(get_raw_db)):

  cursor = raw_db[0]
  cnxn = raw_db[1]

  SQL = "INSERT INTO " + models.StockPricing.__tablename__ + " VALUES (%s, %s, %s)"

  valsToInsert = []
  for row in data:
    rowD = row.dict()
    valsToInsert.append((rowD['date'], rowD['symbol'], rowD['value']))
  cursor.executemany(SQL, valsToInsert)
  cnxn.commit()

Description
The above code takes extremely long to run, so much so that I can not complete it.
I've tested it with SqlAlchemy, as well as a raw connector, as above, and through fastApi they both don't finish.
Running this query locally takes about 1-3 seconds to complete.
Why does it take so long?
Operating System
macOS
Operating System Details
No response
FastAPI Version
0.81
Python Version
3.10.6
Additional Context
No response

Bulk insert?
https://stackoverflow.com/questions/12365992/sql-insert-multiple-rows

FastAPI doesn't do insertion queries

This is not FastAPI issue but common data management problem.
Simple methods to resolve it: remove indexes from table before inserting, do not insert all the rows with one query, use DB-native tools (like prepare statement in postgres).
Also u can run the task in separate process to prevent user waiting its ending

Thanks for your responses! Ended up using an insert statement with multiple value rows, as opposed to an execute many. Closing this now that it is resolved!


Update dependency docker.io/bitnami/kubectl to v1.25.0

This PR contains the following updates:

Package
Update
Change

docker.io/bitnami/kubectl
minor
1.24.4 -> 1.25.3

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

This PR has been generated by Renovate Bot.

Autoclosing Skipped
This PR has been flagged for autoclosing, however it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.


Code Formatting: Part 1

Following merge of https://github.com/droolsjbpm/kie-wb-common/pull/605 this PR contains CODE FORMATTING CHANGES only. Since it's proving to be a large task this PR contains code formatting for the following modules:-

kie-wb-common-stunner-backend
kie-wb-common-stunner-client
kie-wb-common-stunner-core

Code formatting includes:-

Running of our standard code formatter over code
Manual review adding missing final modifiers (it's use was inconsistent)
Manual review splitting method signatures across multiple lines (it's use was inconsistent)
Removal of white-space (e.g. empty lines before closing braces etc)

Modules outstanding:-

kie-wb-common-stunner-extensions
kie-wb-common-stunner-sets
kie-wb-common-stunner-showcase

@hasys @romartin @csadilek Want to look before merge?

Hi @manstis, thank you for your PR!
but in IDEA configuration of KIE Group style was a small bug, we fixed it now, but I guess we need to rerun formatter over the code again. Fixed configuration you can found here: https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/ide-configuration/intellij-configuration/code-style/intellij-code-style_droolsjbpm-java-conventions.xml Sorry for the inconvenienceю

@romartin @hasys Reformatted with the latest IDEA code-style following https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/356

Jenkins please retest this.

Sorry for late response, but we had to wait until https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/358 will be resolved.


Import error in swift.

I install the JSQMessagesViewController with the help of cocoapods, here is the content of the  podfile:
pod 'JSQMessagesViewController' #chat ui
I run the command "pod install" and get the output:
Installing JSQMessagesViewController (7.0.0)
Installing JSQSystemSoundPlayer (2.0.1)
Which means that I install the JSQMessagesViewController successfully. I reopen the project and add
#import < JSQMessagesViewController/JSQMessages.h >
in my bridge file, then I get the error
'JSQMessagesViewController/JSQMessages.h' file not found with  include; use "quotes" instead
I don't why I get the error when I did as the others.

Since you are using Swift in your project consider using (use_frameworks!)[http://blog.cocoapods.org/CocoaPods-0.36/]. This will convert your pods into dynamic swift libraries that can be imported using import JSQMessagesViewController.
This works for me without any problems.

I add "use_framework!" to my Podfile and then I get the error:
no such file or directory:/Pods/Target Support Files/Pods-JSQSystemSoundPlayer/Pods-JSQSystemSoundPlayer-dummy.m

I add a detail description in stackoverflow: http://stackoverflow.com/questions/29692448/how-to-import-jsqmessagesviewcontroller-in-swift

looks like this has been answered on StackOverflow

I have also an issue here, but not the same, when I installed with Cocoapods v3.7.2, target on iOS8 and using use_frameworks!.
In my podfile:
pod 'JSQMessagesViewController'
I run the command "pod install" and get the output:
Installing JSQMessagesViewController (7.1.0)
Installing JSQSystemSoundPlayer (2.0.1)
Everything seems to be going well until I run the project, I get a build error:
/Pods/JSQMessagesViewController/JSQMessagesViewController/Categories/JSQSystemSoundPlayer+JSQMessages.h:19:9: Include of non-modular header inside framework module 'JSQMessagesViewController.JSQSystemSoundPlayer_JSQMessages'
Any ideas?

JSQAudioMediaViewAttributes.h file not found error..How to solve ???

I'm getting the same problem now randomly. Didn't change anything in my project and all of a sudden getting
/Pods/JSQMessagesViewController/JSQMessagesViewController/Categories/JSQSystemSoundPlayer+JSQMessages.h:19:9: 'JSQSystemSoundPlayer/JSQSystemSoundPlayer.h' file not found

Fixed by deleting DerivedData