Try viewerweb but can't plot

I followed the instructions, but nothing happens when I clicked plot button. Is there something wrong? By the way, I noticed there is no need to input ckpt path, which model will this use? I'm confused.

your backend port seems wrong, you need to use port when you start backend.py, the default port is 16666.
this web-based don't support inference model for now but this is not hard to implement, please wait.

Thanks for your prompt reply!
I tried both, still plot nothing.
I'm trying to use ROS rviz to visualize the inference results. Since ROS only supports python2(it is ridiculous), I am trying to test your work with python2.7. I don't know if it is possible.

I have fix a problem with test set plot, you need to update. The message and error handling system of frontend is incomplete, you need to press F12 to check error.
Could you please press F12 and give me the log, and the backend log? Here is a correct log:

my mistake, the backend running command is incorrect, please update code and check newest readme.

your port 8000 is used in your backend, the python http server need to use another port: python -m http.server 8001 and use http://<IP_ADDRESS>:8001

Still error....

I need F12 log. The backend url need to be "http://0.0.....", I will add a function to add this if needed.

@muzi2045 you can try new code, more debug info is added.

I also meet errors as below:

@zwyzwy consider update the backend and frontend code to newest. if problem still exists, provide the backend log and F12 log.

I get this error that i can't load the point cloud file:
backend log:
/home/cody/Desktop/dataset-all/kiiti/testing/image_2/000017.png
send an image with size 962182!
<IP_ADDRESS> - - [14/Dec/2018 13:29:43] "POST /api/get_image HTTP/1.1" 200 -
[2018-12-14 13:29:43,086] ERROR in app: Exception on /api/get_pointcloud [POST]
Traceback (most recent call last):
File "/home/cody/miniconda3/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/cody/miniconda3/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/cody/miniconda3/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/home/cody/miniconda3/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/cody/miniconda3/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/cody/miniconda3/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/cody/miniconda3/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./kittiviewer/backend.py", line 155, in get_pointcloud
dt_annos = BACKEND.dt_annos[idx]
IndexError: list index out of range
<IP_ADDRESS> - - [14/Dec/2018 13:29:43] "POST /api/get_pointcloud HTTP/1.1" 500 -

F12 log
draw image KittiViewer.js:313:13
7518 KittiViewer.js:203:9
get point cloud fail!! KittiViewer.js:216:21
draw image KittiViewer.js:313:13
7518 KittiViewer.js:203:9
get point cloud fail!!

So I was able to load the dataset using a quick dirty fix,
I changed this line in backend.py from
-app.run(host='<IP_ADDRESS>', threaded=True, port=port)
+app.run(host='<IP_ADDRESS>', threaded=True, port=port)
and also opened this port 'http://<IP_ADDRESS>:8000/' instead of 'http://<IP_ADDRESS>:8000/' after running
python -m http.server for the frontend.

I have tried this with error.

So I was able to load the dataset using a quick dirty fix,
I changed this line in backend.py from
-app.run(host='<IP_ADDRESS>', threaded=True, port=port)
+app.run(host='<IP_ADDRESS>', threaded=True, port=port)
and also opened this port 'http://<IP_ADDRESS>:8000/' instead of 'http://<IP_ADDRESS>:8000/' after running
python -m http.server for the frontend.

I have tried this with error.

@MadhavEsDios please refer screenshot of console if you can help out. Thank you in advance.

I have the same error ,any help will be grateful~


Cannot use a macro in when matched model config

I'm trying to create a macro to reduce the code within the custom when_matched part of a model definition.
However at the moment I get the following exception when I try to use it.
sqlglot.errors.ParseError: Expecting ). Line 2, Col: 7.
  MODEL (
  name<EMAIL_ADDRESS>  kind INCREMENTAL_BY_UNIQUE_KEY (
    unique_key (session_i

I think I've identified that we defer this straight to sqlglot parsing which obviously does not understand the macros defined by sqlmesh.
Would I be correct in saying that I might need to create a custom parser in sqlmesh to override the sqlglot one to account for macros?
I would definitely welcome some help and guidance in this.

Would I be correct in saying that I might need to create a custom parser in sqlmesh to override the sqlglot one to account for macros?

No, this looks unexpected. Sqlglot's parser is patched by sqlmesh so my default expectation is that this should work. Can you share a fully reproducible example so I can try this out?

This is the macro that I've defined, I tried it with both converting to a sql string and leaving it as a sqlmesh expression.
from sqlglot import expressions as exp
from sqlmesh.core.macros import MacroEvaluator, macro

TARGET = "target"
SOURCE = "source"

@macro()
def fingerprint_merge(
        evaluator: MacroEvaluator,
        fingerprint_column: exp.Column,
        update_columns: list[exp.Column],
) -> str:
    """To reduce the amount of SQL needed to be written for custom WHEN MATCHED statements.

    :param evaluator: The sqlmesh MacroEvaluator
    :param fingerprint_column: The name of the column to be used as the fingerprint
    :param update_columns: The list of columns to update on merge
    :return: The name of the gateway as a prefix to the schema.
    """
    fingerprint_evaluation = f"{SOURCE}.{fingerprint_column} <> {TARGET}.{fingerprint_column}"
    column_update = [f"{TARGET}.{column} = {SOURCE}.{column}" for column in update_columns]
    return exp.maybe_parse(
        f"WHEN MATCHED AND {fingerprint_evaluation} THEN UPDATE SET {column_update}",
        into=exp.When,
    ).sql(dialect=evaluator.dialect)

The idea behind this is I'm using the surrogate key macro to create a fingerprint for the values in my row as we don't use all columns from the raw table and only want to update our model when a column that we care about has changed.
I tried to articulate the original requirement in this issue hopefully there's something re-usable as an MRE in the comments there?
Please let me know if not.
In terms of usage, in the context of the linked example.
when_matched @fingerprint_merge(salary, [update_datetime, salary])

We're currently using 0.138.0

Got it.. The v0.140.0 release did a major refactor of the when_matched property, so maybe this is fixed already, but I'd need to double check. Will take a closer look into this later today, thanks for the report 👍

OK I checked 0.140.0 and I get the same issue. I tried these combinations of returns.

Convert to str
Leave as expression
List of str
List of expression

Thank you for checking! I have an idea of what may be causing this issue.


Chat community

Hello @gavv , can you create a chat room at https://gitter.im ? I think it will be nice to have a community near you, it's easy just register and press Add Room, from repository, select the gavv/httpexpect, give some permissions to the app and you're ready, I have to ask you somethings also :)
add these to your readme after create the room:

[![Chat Widget]][Chat]

[Chat Widget]: https://img.shields.io/badge/community-chat-00BCD4.svg?style=flat-square
[Chat]: https://gitter.im/gavv/httpexpect

It's already exist :) See first line in README.

Lawl, I searched for it but I didn't found it.. my eyes are broken, sorry then :)


tardigrade: Update sso-admin module to use alternate_identifier instead of deprecated filter

updated versions.tf to use 4.4.0 for AWS, updated main.tf of account-assignment module to use alternate_identifier instead of filter

@lorengordon how do you want this incremented in bumpversion?

@lorengordon the error message I was fixing was fixed, still failing because of the API but I think it should be ready to merge.


[APPINT-1339] Improving Connector Framework

Made changed to Gemfile add new gems and remove some gems from production env
Add puma configs
Added default README
Added circleci config

@hhemanth LGTM. could you squash those commits before I merge? Thanks.

@hhemanth LGTM. could you squash those commits before I merge? Thanks.

@ouranos , Its squashed , You can merge now..


Encrypt logs

We need to encrypt our logs!!
http://boto.cloudhackers.com/en/latest/ref/s3.html#boto.s3.key.Key.set_contents_from_file

But does the web server need to decrypt your logs?

Nope, s3 uses server-side encryption.
http://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html


error MT5209 : Native linking error : file not found: /obj/iPhoneSimulator/Debug/mtouch-cache/GoogleMaps

Version <IP_ADDRESS> throws that error while building. I've added the package through Nuget. Doing so through the Component Store results in the same error.
I'm using Visual Studio for Mac and building with MSBUILD

Here's more info:

MTOUCH : warning MT1302: Could not extract the native library 'GoogleMaps' from '/Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/GoogleMaps'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH : warning MT1302: Could not extract the native library 'GoogleMapsCore' from '/Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/GoogleMapsCore'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH : warning MT1302: Could not extract the native library 'GoogleMapsBase' from '/Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/GoogleMapsBase'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH : warning MT1302: Could not extract the native library 'GooglePlaces' from '/Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/GooglePlaces'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH : warning MT1302: Could not extract the native library 'GooglePlacePicker' from '/Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/GooglePlacePicker'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH : warning MT1302: Could not extract the native library 'libGoogleAnalytics.a' from '/Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/libGoogleAnalytics.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH : warning MT0127: Incremental builds have been disabled because this version of Xamarin.iOS does not support incremental builds in projects that include more than one third-party binding libraries.
Process exited with code 1, command:
ld: file not found: /Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/GoogleMaps
clang : error : linker command failed with exit code 1 (use -v to see invocation)

I looked at /Path/obj/iPhoneSimulator/Debug/device-builds/iphone9.1-10.3.1/mtouch-cache/ and there is no files with those names. The packages folder doesn't have those files either.

@jstawski Try these steps:

Close the solution
Erase erase bin and obj folders of your app project
Open the solution and try again

@SotoiGhost it didn't work

thanks @SotoiGhost
Those steps seemed to have resolved linker error.

@SotoiGhost actually, it is working only in the simulator. Not when deployed to a device.

Is someone still facing this issue?


Serialize BigInts using serde

Looks good. Can you run cargo fmt and can you write simple unit tests (See: https://github.com/KZen-networks/cryptography-utils/pull/13/files).


[ETFE-3070] Updating DraftMovement to TaskList

I think this is right. But, there's quite a lot of fiddly changes. I've talked it through with Tom and Casey around how the Consignee, Destination Place and Export section should work. The main complexity is around the Guarantor section as that only needs to be come in if the Movement changes under some specific circumstances.
This logic is as follows:

Either of the below

A UkToEu Movement that changes from FixedTransportInstallations to anything else for the TransportType
A GB to GB Movement that becomes an Export logged in UK.

AND no existing Guarantor details exist.

I'm happy to try and talk through all the changes - a lot of them are rippled out through tests mainly.

Couple of comments:
Delivery heading shows when there is no sections to render
XIPA / XIPC can't access the destination type / draft list page

But thinking about it, I don't think the delivery section will be empty in a real-world scenario, right?

@MJCallahanPage I think there are some missing messages in the frontend - this comes up when you change journey type from fixed transport installations to something else, and then go back to try and change it again.


Solution Outline

It would be helpful if, at the start, you could show a solution outline to give us an 'at a glance' overview of the solution structure.
Even more helpful, would be an interactive element that contains the file structure (similar to that of the Solution Explorer) of the finished product that can be downloaded.  Linking this to a GitHub repository would be the icing on the cake.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 21714a79-85d5-7bc4-be1a-f8309ffbd15a
Version Independent ID: 5611a3ee-ec02-e60d-550b-14eb4b38917a
Content: How to: Use Wizards with Project Templates - Visual Studio
Content Source: docs/extensibility/how-to-use-wizards-with-project-templates.md
Product: visual-studio-dev15
GitHub Login: @gregvanl
Microsoft Alias: gregvanl

I believe this is not exactly how it's described in the article but it works for me. I'm using only item template at the moment.
I have 3 projects

ExtensionVISX  - main project of the extension to start experimental instance with.
TemplatesWizardsVSIX - containing the IWizard implementation. I believe it can contain wizards for multiple templates, based on <FullClassName> element existence.
ItemTemplateProject - containing the template definition.

Create key.snk file through project's properties (from solution item context menu) of TemplatesWizardsVSIX project

Use sn.exe to extract public key from the key.snk file

Add <WizardExtension> element to <VSTemplate>  element of .vstemplate file in ItemTemplateProject as described in the article. Use previously extracted key as PublicKeyToken attribute of <Assembly> element.

Add both of the projects as assets to .vsixmanifest file of the ExtensionVISX project.
I've added:

TemplatesWizardsVSIX as  VSPackage asset type
ItemTemplateProject as ItemTemplate asset type

Both assets are add as "project in solution"

Compile wizards and template projects first and start the ExtensionVISX project.

Thanks for submitting your feedback and we apologize for the delayed response.  Due to current resourcing and substantial extensibility changes we are currently working on that will result in significant, structural doc changes, we are closing this lower priority issue.  We will return to this issue on a later date and address it based on it's relevance after those extensive extensibility updates are made. Feel free to comment here as necessary.


Add compute method to easily run a method in an isolate

This is basically a re-post of https://github.com/flutter/flutter/issues/48673, since I was advised to file this on this project instead.
It would be great if dart would offer a standard library method for simply running a method in an isolate, i.e. something along the lines of:
Future<R> run_background<R, P> (FutureOr<R> function(P argument), P argument) async {
  IsolateRunner iso = await IsolateRunner.spawn();
  try {
    return await iso.run(function, argument);
  } finally {
    await iso.close();
  }
}

Please note that this example uses IsolateRunner.run from the isolate package.
Flutter provides the compute() method for this.
However, in order to create a library that can also be run in a pure dart setting (i.e. without flutter), we need a method that behaves like compute in the dart sdk.
Is the method I showed above good enough or are there any disadvantages when using IsolateRunner.run instead of compute? For a standard library implementation, we should probably get rid of IsolateRunner though or merge it into the sdk.
One nice thing about IsolateRunner is that we can keep a long lived instance of it and dispatch methods to the isolate when needed and not incur the cost of spawning up an isolate.

The isolate package is now discontinued. Curious how that impacts your guidance above @lrhn.

I'm seriously considering adding a static run method to isolate, like
 static Future<T> run<T>(FutureOr<T> Function() computation);

which runs a function in a new (Isolate.spawn'ed) isolate.
With the improvements the VM has made on passing closures and other tricky values to other isolates, and with the Isolate.exit function to send the result back, it seems like the time is ripe for an efficient implementation.

The Isolate.run method is released in Dart 2.19.

We have now a Isolate.run() method. So I think we can close this issue.


feat: ✨ syn-radio-group should allow to set focus programmatically

Checklist (for the issue creator)

[x] I have looked at the documentation site and was not able to find the required feature.
[x] I have looked into the Figma boards and was not able to find the required feature.
[x] I would be willing to provide a PR for this feature.

Component
I suggest to add the feature to the following component: syn-radio-group
Story
As a developer using the Synergy Design System, I would like to have the possibility to programmatically set the focus on a syn-radio-group so that I am able to draw the attention of my users to a list of syn-radio components. This is useful e.g. for validations.
Acceptance criteria

[ ] All DoD items successfully completed
[ ] A new method focus is added to syn-radio-group.
[ ] The focus method selects the first non disabled syn-radio if the syn-radio-group does not have a value
[ ] The focus method selects the first non disabled syn-radio with the same value as the syn-radio-group if a value is provided.
[ ] Keyboard-Navigation still works like the current version.
[ ] Mirror output to Shoelace

As this may be a feature that others may also benefit from, I have created a discussion at shoelace at https://github.com/shoelace-style/shoelace/discussions/2186.

Shoelace is considering to allow this as a PR, so we will add it there and will automatically get it when released.

PR now available at https://github.com/shoelace-style/shoelace/pull/2192.
Will add the needed vendoring changes to synergy in a minute ;)


ui-grid 'ui.grid.selection' messing up grid display in Chrome browser

As soon as I included  'ui.grid.selection' the table became broken in chrome in another browsers it works fine. I'm using windows 8 Chrome Version 41.0.2272.89 m.
Please advice.
Thank you

Do the tutorials work for you, in particular the selection tutorial?  If so, then could you provide a plunker, as it's most likely something that you're specifically doing that is causing the issue.

I download code from tutorial and lunched it on my station what how it looks for me http://i.imgur.com/96nDsbF.png

Here is my plunker http://plnkr.co/edit/w516VYbVxaTYUMCdMX1O?p=preview

@dlukianenko Did you include jQuery?

no, I did not. If you go to http://ui-grid.info/ it says "Native AngularJS implementation, no jQuery" the very first header line. So I'm sure that is not about missing jQuery

Your plunker is running fine for me.  Are you getting any javascript console errors?  Is there something in particular you're doing that gets to that rendering issue - some sequence of actions, or just when you open it?  Does it do it on the tutorial page itself, or only when you download/put it into a plunker/edit it?  The rendering issue you have can be triggered when people are using pinned columns or adding row headers, refer #3050, but it doesn't normally manifest just opening the page.  It can sometimes be resolved by calling handleWindowResize(), but you shouldn't have to do that.

I have just opened my plunker and I see issue http://i.imgur.com/VBuF3c2.png and as I can tell I don't have any script errors http://i.imgur.com/tKlYcOL.png. I did not do anything special, I just trying to run code from tutorial.

Please also make sure that you have your cache disabled or clean

@dlukianenko : does it do this when you visit the tutorial page or only on the plunker?

no it doesn't

OK, so it is something different between the plunker and the tutorial?  Are there differences?

the difference only that I did not include main.css file and the font files, but it should not reflect on the ui-grid behavior

The main.css may impact.  Have you tried including it?

As soon as I included main.css with these two properties, the grid started acting normal, as soon as I remove the main.css the grid starts acting up.
Please see http://plnkr.co/edit/w516VYbVxaTYUMCdMX1O?p=preview and try to include and exclude main.css file. The problem is that in my project I don't have main.css file I have other css files and the grid should not depend on such crazy stuff. Could you please assist how I can fix this issue or to find some work around.

The grid does depend on the height and width being defined.  You don't have to have a main.css, you do have to have set the height and width on the div that contains the grid.  This is known and well documented (e.g. http://ui-grid.info/docs/#/tutorial/108_hidden_grids).

It is truly works when you set the width and height properties to the grid or to the container which holds the grid. I read the grid-ui documentation very carefully, but this important piece of information is located in the section of the documentation where in my case the user can just miss. My suggestion maybe it would be better to emphasis such moment somewhere here http://ui-grid.info/docs/#/tutorial/101_intro. Thank you very much for your assistants, quick responses to solve my kinda dummy problem. I do really appreciate your help. Thank you very much.


Remove pkg/otlp/model in favor of DataDog/opentelemetry-mapping-go

What does this PR do?

Removes pkg/otlp/model folder in favor of github.com/DataDog/opentelemetry-mapping-go.
Motivation

We are migrating the code to a separate repository to ensure that it is treated as a library and fulfills the requirements needed for using it downstream in the OpenTelemetry Collector.
Additional Notes

Code should be the same as the one currently on main; I will check that there have been no changes after merging and backport them if necessary.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

@liustanley this will conflict with #14831; if this gets merged first you will have to open a new PR on https://github.com/DataDog/opentelemetry-mapping-go


Check for github action updates monthly

Issue #, if available:
N/A
Description of changes:
This will use dependabot to check for updates on github actions which this project uses on a monthly basis.
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I have sub folders under client/ and server/  Will this work for that?

@kddejong Sure will. Would you like me to add the npm related sections for both of these?

@jlosito that would be great.   Thank you.

@kddejong The additional sub-directories should be tracked now apart of the pull request.


not working

Chess board is not able to load.

might be issue with some library

ya i got same problem

Me too.

same here


Added build folder to gitignore

What is the use of that? I really have no idea  😂

It automatically ignores build folder when you execute "git add ."


update doc on communication platforms linked in release protocol

https://github.com/bids-standard/bids-specification/blob/51a40fba7fa5b2a41c62802dd2329fe617f8ae04/Release_Protocol.md?plain=1#L263
links to: https://docs.google.com/spreadsheets/d/16SAGK3zG93WM2EWuoZDcRIC7ygPc5b7PDNGpFyC3obA/edit#gid=0
This list should be updated:

twitter is now X
we now have mastodon and bluesky
...

Question: should this list live in a google file or in markdown on a repo?

IMHO we should move this away from the Google Sheet to a repo. These communication channels change only rarely and edits could/should be made transparently via PRs.

Actually, I think this is relevant to what @christinerogers has also mentioned several times now --> we should have a page somewhere that clearly documents all our communication channels and their uses.
Then we should refer from all other places to that page ... instead of having a sentence like "it will be shared via twitter", it should be "it will be shared via our communication channels, see link"
Also related to this:

https://github.com/bids-standard/bids-website/issues/349

OK let's ungooglify this then: this belongs better in the bids-website repo?


replace instagram description in twitter connector fallback

the string seems to be wrong (see attached)

fixed with the proper localized string for twitter
CR @xavijam

Hey, but the description is wrong too, could you reviewed too please @matallo :kiss:

Ah the image was the error one, ooook! 💋


Update README.md for nixos

Hi, thank you for the PR! Does the  nixos command install the ggml plugin for WasmEdge? Thanks!
I think we could add nixos instructions to the docs as well
https://wasmedge.org/docs/start/install
Source: https://github.com/WasmEdge/docs/blob/main/docs/start/install.md

@abhillman The main branch is the release branch. Please modify the base branch of this PR to dev instead of main. Notice that you have to guarantee that the patch-1 branch on your side is created based on upstream/dev, but not upstream/main. See CONTRIBUTING. Thanks!


Question: JSON mode support?

This is a question, feel free to delete is this is the wrong place.
Does the package support the recently launched JSON response_format mode? https://platform.openai.com/docs/api-reference/chat/create#chat-create-response_format

Hi @petervandijck
Yes it does. If you have any trouble using it, just let us know.

Did you ever figure this out?

Did you ever figure this out?

yes the code is as follows
$chat = OpenAI::chat()->create([
    'model' => 'gpt-4o',
    'messages' => [...],
    'temperature' => $temperature,
    'response_format' => ['type' => 'json_object'],
]);


Check.sh fails to compile speech-dispatcher

Describe the bug
check.sh fails to run ith the following compilation error

Click to expand check.sh output
  + cargo check --workspace --all-targets --all-features
      Checking egui v0.16.1 (/home/juan/git/egui/egui)
      Checking speech-dispatcher v0.9.0
  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:35:13
     |
  35 |     Male1 = SPDVoiceType::SPD_MALE1,
     |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:36:13
     |
  36 |     Male2 = SPDVoiceType::SPD_MALE2,
     |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:37:13
     |
  37 |     Male3 = SPDVoiceType::SPD_MALE3,
     |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:38:15
     |
  38 |     Female1 = SPDVoiceType::SPD_FEMALE1,
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:39:15
     |
  39 |     Female2 = SPDVoiceType::SPD_FEMALE2,
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:40:15
     |
  40 |     Female3 = SPDVoiceType::SPD_FEMALE3,
     |               ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:41:17
     |
  41 |     ChildMale = SPDVoiceType::SPD_CHILD_MALE,
     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  error[E0308]: mismatched types
    --> /home/juan/.cargo/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.9.0/src/lib.rs:42:19
     |
  42 |     ChildFemale = SPDVoiceType::SPD_CHILD_FEMALE,
     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

  For more information about this error, try `rustc --explain E0308`.
  error: could not compile `speech-dispatcher` due to 8 previous errors
  warning: build failed, waiting for other jobs to finish...
  error: build failed

To Reproduce
Steps to reproduce the behavior:

Clone master
Run sh/check.sh
Notice it finishes with errorrs

Expected behavior
It finishes without errors
Desktop (please complete the following information):

OS: Arch Linux with libspeechd 0.11.1-1 :rotating_light: <-- Most likely the issue?

Additional context
Originally brought up in #1119

Have you run the setup code in https://github.com/emilk/egui#demo (sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev)?

I'm on Arch Linux, so no apt-get. But I did the equivalent for Arch using pacman. I also tried upgrading to the latest tts crate, which in turn uses the latest speech-dispatcher but that didn't help either.

Note that you don't need speech-dispatcher - it is only for the experimental screen_reader feature.

Also ran into this issue on Arch Linux since it ships a more recent version of speech-dispatcher than Ubuntu.
I worked around it by temporarily updating the tts dependency in both eframe and egui-winit.

Yeah. I could not compile it on arch too. I though something was wrong with my system.
The main issue was being unable to run the CI command to check if everything was working properly. I could not use the --all-features flag as that would fail with compilation of speechd.
Had to make a commit, Check why CI failed on github, fix that and repeat .
It was so exhausting:( almost wanted to just install ubuntu on my old laptop just to deal with this

A lot of people seems to be affected by this - anyone want to work on it? Either by disabling speech-dispatcher on Arch, or fixing speech-dispatcher upstream, or altering check.sh, or any other means necessary.

I pushed a commit that makes it easier to just disable tts when you want to test on Linux. If you apply this patch, then cargo check --all-features will work:
index 2e983d9a..3df2a370 100644
--- a/eframe/Cargo.toml
+++ b/eframe/Cargo.toml
@@ -52,7 +52,6 @@ puffin = ["dep:puffin", "egui_glow?/puffin"]
 ## Enable screen reader support (requires `ctx.options().screen_reader = true;`)
 screen_reader = [
   "egui-winit/screen_reader",
-  "tts",
 ]

 ## Use [`wgpu`](https://docs.rs/wgpu) for painting (via [`egui_wgpu`](https://github.com/emilk/egui/tree/master/egui_wgpu)).
diff --git a/egui-winit/Cargo.toml b/egui-winit/Cargo.toml
index e76a399e..63fba4a7 100644
--- a/egui-winit/Cargo.toml
+++ b/egui-winit/Cargo.toml
@@ -34,7 +34,7 @@ links = ["webbrowser"]
 puffin = ["dep:puffin"]

 ## Experimental support for a screen reader.
-screen_reader = ["tts"]
+screen_reader = []

 ## Allow serialization of [`WindowSettings`] using [`serde`](https://docs.rs/serde).
 serde = ["egui/serde", "dep:serde"]

Still unsure what a good long-term solution is. Should we just never use tts on Linux?

after A LOT of debugging

speech-dispatcher has a type mismatch issue with C FFI. which is fixed in a later version, but has one more fn pointer issue which is due to older version of bindgen.
Cargo.lock relying on an older 0.60.1 version of bindgen used by the speech-dispatcher crate. that bindgen has some issue with mismatch in function pointer signature thingy which causes speech-dispatcher compilation to fail. bump to 0.61 .
unfortunately, latest bindgen uses core::ffi types, and they are stabilized in 1.64 version of rust. so, gotta bump min rust version too.

after the above three changes, I got no compilation errors.
@emilk If you are okay with bumping min rust version and doing a cargo update for updating bindgen version in lockfile , this issue can be fixed.

rust 1.63 introduces a lint https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq and a lot of structs in egui implement partial_eq but not eq, so this will touch a lot of files if we want to pass the CI checks :)

I'm on Nixos using the latest stable version of speechd and I'm running into the same issue.

I will try making a PR tonight


Remove usage of deprecated ClassMetadataInfo class in hydrators

Q
A

Type
improvement

BC Break
no

Fixed issues

Summary
This removes a leftover usage of the ClassMetadataInfo in generated hydrator code.

@alcaeus There's something wrong with the code, all tests are failing


Error using EISVOGEL template in pandoc/extra:3.2-ubuntu

Error using EISVOGEL template in pandoc/extra:3.2-ubuntu. When using the main (Alpine) version as a base, EISVOGEL works fine.
Suspect that the upstream Ubuntu version is not as well tested on the extra components.
Will investigate moving to the Alpine version of the upstream. Some extra font packages are not available in Alpine nor CTAN packages. So we will either lose these fonts or install them more manually from their sources.

After research, some fonts are already included in the texlive scheme-full packages. Will research the rest. Already have a working alpine branch. Just missing a few important fonts and will merge it into main.

Merged the alpine base into main. Will keep this issue open till all necessary fonts are added back.

closing this issue. will follow up on the fonts in #13


Deal with equality checking of arrays

Currently, the external language will accept expressions of the form x == y where x and y are of (the same) array type.  However, the corresponding internal language construct will reject this - the equality operator works only on primitives.
I think comparing arrays for equality should be permitted.  During internalisation, we should convert this to a branch checking that the size of the two arrays are the same, followed by a map-reduce equality comparison.

Should it work only on boolean, character, and integer arrays?
On Tue, Jan 26, 2016 at 11:36 PM, Troels Henriksen<EMAIL_ADDRESS>
wrote:

Currently, the external language will accept expressions of the form x ==
y where x and y are of (the same) array type. However, the corresponding
internal language construct will reject this - the equality operator works
only on primitives.
I think comparing arrays for equality should be permitted. During
internalisation, we should convert this to a branch checking that the size
of the two arrays are the same, followed by a map-reduce equality
comparison.
—
Reply to this email directly or view it on GitHub
https://github.com/HIPERFIT/futhark/issues/110.

Martin Elsman<EMAIL_ADDRESS>writes:

Should it work only on boolean, character, and integer arrays?

No, any two arrays of the same type.
--
\  Troels
/\ Henriksen

... including arrays of type [double] and [float]?
On Wed, Jan 27, 2016 at 10:03 AM, Troels Henriksen<EMAIL_ADDRESS>
wrote:

Martin Elsman<EMAIL_ADDRESS>writes:

Should it work only on boolean, character, and integer arrays?

No, any two arrays of the same type.
--
\ Troels
/\ Henriksen
—
Reply to this email directly or view it on GitHub
https://github.com/HIPERFIT/futhark/issues/110#issuecomment-175496312.

Martin Elsman<EMAIL_ADDRESS>writes:

... including arrays of type [double] and [float]?

Yes, of course.  These have well-defined equality at the hardware level
(bit pattern equality).  The user is free to write his own map-reduce
comparison code if he wants to, but I am strongly against hiding the
actual nature of the hardware.
--
\  Troels
/\ Henriksen

Giving semantics to a concept is all about hiding the actual nature of the
underlying phenomenon... ;)
On Wed, Jan 27, 2016 at 10:29 AM, Troels Henriksen<EMAIL_ADDRESS>
wrote:

Martin Elsman<EMAIL_ADDRESS>writes:

... including arrays of type [double] and [float]?

Yes, of course. These have well-defined equality at the hardware level
(bit pattern equality). The user is free to write his own map-reduce
comparison code if he wants to, but I am strongly against hiding the
actual nature of the hardware.
--
\ Troels
/\ Henriksen
—
Reply to this email directly or view it on GitHub
https://github.com/HIPERFIT/futhark/issues/110#issuecomment-175508893.

Martin Elsman<EMAIL_ADDRESS>writes:

Giving semantics to a concept is all about hiding the actual nature of the
underlying phenomenon... ;)

Indeed, but Futhark is (at this stage) a fairly low-level language
concerned mostly with performance.  There is little point in an
abstraction that simply obscures the hardware without granting
additional generality or power.
Another argument is that you cannot implement bitwise equality yourself
if the language itself does not have it.  Well, you can if you have a
low-level bitcast operation, and I suppose Futhark will eventually.
--
\  Troels
/\ Henriksen

Since the Futhark book is now filled with array comparisons, we should probably make them work.


Multi Monitor fullscreen screenshot error

Platform: win10
xcap version: 0.0.4
I tested with two monitors and one is fullscreen, another is not. And i can't capture the fullscreen screenshot.
I use from_point to get the monitor that i want to capture, but got wrong monitor.

Ok, it's not problem with xcap, just because different scale factor between two screen that make me get wrong screen.


docs: Add new docs that available for all languages

This is PoC for our new docs design (which only migrated for azblob). We will migrate all services after this PoC works well.

The Via Config part is not included in rustdoc.

Maybe we should move this docs out of rust core.

Maybe we should move this docs out of rust core.

I think the Rust doc is still very handy. We can keep it.


[Fix] Edit class/tags on Project Details page

This PR fixes the bug to edit class-name and/or tag-names on the project details page.

Issue was already resolved on the main branch.


python310Packages.google-auth: 2.14.0 -> 2.15.0, python310Packages.google-api-core: 2.10.2 -> 2.11.0

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build python310Packages.google-cloud-datastore python310Packages.apache-beam python310Packages.google-auth python310Packages.google-api-core


Colors and author in git log

There is some problem with formatting, before this pull request with 2 commits behind in a repo:
$ sweepwip -d . -bl
>>> . <<<
COMMITS BEHIND: 2
	3ddfe96 Merge pull request #82 from pbzdyl/patch-1
	7f21443 Simplified code.

After the formatting changes, it shows the colors but not the second commit. It also fails to list commits in other projects.
$ sweepwip -d . -bl
>>> . <<<
COMMITS BEHIND: 2
	* 3ddfe96 - (origin/master, origin/HEAD) Merge pull request #82 from pbzdyl/patch-1 (9 days ago) <Colin Jones>


missing search query doesn't work

Package version (if known): v9-v12
Describe the bug
The search guide indicates that _missing_:metadata.additional_titles is a supported search query. However, this query doesn't work.
Steps to Reproduce

Go to https://inveniordm.web.cern.ch/search?q=missing%3Ametadata.additional_titles&l=list&p=1&s=10&sort=bestmatch
See that there are no results
However, there are records that are missing that field. As shown by https://inveniordm.web.cern.ch/search?q=exists%3Ametadata.additional_titles&l=list&p=1&s=10&sort=bestmatch which returns 103 results and https://inveniordm.web.cern.ch/search?q=&l=list&p=1&s=10&sort=newest returning 135

Expected behavior
missing should be the inverse of exists

https://github.com/inveniosoftware/invenio-app-rdm/blob/4cd385fbe2e7d78bd4a582c11e03e273b31fe278/invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.en.html#L13
I'll try to do a PR unless someone else gets it first


No 2.1.0 in Conan center

Last released version was 2.1.0, however it's still unavailable in in Conan Center https://conan.io/center/recipes/mp-units?version=2.0.0 . It's not a big issue, as i can just clone repo and make package locally, but still it's less convenient than just taking package from center.
Is there any reason why package was not uploaded and is there anything I could do to help?

I am sorry about this issue. Conan's team seems overloaded with work lately, and the Christmas season does not help either. We submitted 2.1.0 quite a while ago for inclusion to Conan Center (https://github.com/conan-io/conan-center-index/pull/21697#pullrequestreview-1796468230).

It's fine. Setting up package locally is 4 commands:
git clone https://github.com/mpusz/mp-units.git
cd mp-units/
git checkout v2.1.0
conan create . -c user.build:all=True -b missing

You may close issue when apropriate.

2.1.0 package was added to Conan Center today.


Implementing pythonic Spec API

This implements (more or less) the API we discussed before[1].  In addition, this breaks backward compatibility in a couple of minor ways:

Removed gaia package I'll add the relevant portions back as gaia/gaia/ to package as a separate pip package later.
Removed romanesco/specs.py.  I don't think it was being used and it's purpose is largely depreciated with the new API.
Moved romanesco/tasks/ to romanesco/executors/.  I think that is a better name, but I'm willing to move it back.

[1] https://gist.github.com/jbeezley/86dba3c13f424f36e8c1

Removed romanesco/specs.py. I don't think it was being used and it's purpose is largely depreciated with the new API.

:+1: , these were some stubs I wrote during the refactor and their functionality is superseded by your changes.

I updated the gist to make it runnable with the current branch.  In the process, I found a bug that occurs with mutable default values (PortList objects namely).  I need to add a mechanism to generate defaults rather than store them.

:+1:

Is this ready to merge?

Yes LGTM - I think @aashish24's :+1: is a LGTM proxy


Use WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR for non-deterministic workflow

use WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR as cause for RespondWorkflowTaskFailed if user workflow logic is non-deterministic
Ref: https://github.com/temporalio/temporal/pull/1726

FYI this requires organizing and categorizing pretty much everywhere errors can be thrown in the SDK, which is potentially quite a lot of work/change.

We'll (hopefully) be looking into doing this soon

I have integration tests causing non-determinisms like:

unknown command CommandType: Timer, ID: 9, possible causes are nondeterministic workflow definition code or incompatible change in the workflow definition

But those are actually failing the workflow not the workflow task. Is this a request to start failing workflow tasks instead, or are there specific existing task failures we want to add this enum to?


fix(datepicker-button): on logbook index

Coverage remained the same at 42.382% when pulling 9ae146ed5ac99f0ca1adda6220ac75a48fb815e6 on feature/logbook into 5850143efea9731c76d1f7982ff41753c7610050 on master.


Replace setInterval by two calls

Renamed tick() to displayFirstNotificationInQueue() as its not called by
setInterval anymore
When we push a new notification, we know there is at least one
notification, so call displayFirstNotificationInQueue right away
As soon as we set active to false, there is an opportunity to drain
the queue by calling displayFirstNotificationInQueue

This avoid waking up the zazu process every 100ms when there is nothing
to do and zazu is idle in the backgroud (see issue #271).

This is great. Thank you!


Plugin-registered config values never change past initialization

While making plugins I ran into an issue with plugin-registered config values. I can't tell why it would be happening, but they don't seem to ever be read from the config file, staying only at the value defined as the default.
Here's an example of the usage:

Definition: https://github.com/Duckonaut/hyprload/blob/96a575dae08ba47124b8533db626669416195099/src/main.cpp#L64
Access: https://github.com/Duckonaut/hyprload/blob/96a575dae08ba47124b8533db626669416195099/src/Hyprload.cpp#L31
Usage: https://github.com/Duckonaut/hyprload/blob/96a575dae08ba47124b8533db626669416195099/src/HyprloadPlugin.cpp#L90

With the default value set as an empty string, despite having this section in my hyprland.conf, it will always throw the "No hyprland headers" error there.
plugin {
    hyprload {
        debug = 0
        quiet = 0
        hyprland_headers=/home/duckonaut/repos/Hyprland
    }
}

strValue of "" means the type of the variable is not str. Use STRVAL_EMPTY.

https://github.com/hyprwm/Hyprland/blob/489ef7c51c7d33eeba6d6a66b6697f52441ddf45/src/config/ConfigManager.cpp#L126-L132

Ok, will try to see if that fixes it. I observed similar issues with the other values but maybe it's a fluke


Setting effects for players

Really good mod. I wanna use this in my server however I would like to make it only a feature for donators. It would be great if you could introduce an option that would allow an operator to set an effect for a player.
As of right now I don't see it as an option, I am running the server on Fabric 1.21.

You should be able to use /execute as <player> run mp set <id> to set a particle for a player.


Compression as stated in your documentation doesn't work for clients where custom configuration is added

The documentation describes how to enable compression. But there is a condition on the Client that prevent auto-configuration whenever feign clients are annotated like @FeignClient(..., configuration = SomeConfig.class)
From the log:
FeignContentGzipEncodingAutoConfiguration:
Did not match:
- @ConditionalOnBean (types: feign.Client; SearchStrategy: all) did not find any beans of type feign.Client (OnBeanCondition)
Matched:
- @ConditionalOnClass found required class 'feign.Feign' (OnClassCondition)
- @ConditionalOnProperty (feign.compression.request.enabled) matched (OnPropertyCondition)
It would be nice if you add support for that style of client configuration or add some informations for exemptions like these. By the way the interceptors using protected constructors, so i can't add them as beans to my SomeConfg class.
Kind regards,
Stefan Fellinger

So are you saying if you provide some custom configuration via the FeignClient annotation that then the FeignContentGzipEncodingAutoConfiguration doesnt kick in?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Yes, it doesn't kick in. Maybe because that way the client is registered
later. But the autoconfiguration depends on it.
Ryan Baxter<EMAIL_ADDRESS>schrieb am Mo., 27. Apr. 2020, 22:26:

So are you saying if you provide some custom configuration via the
FeignClient annotation that then the
FeignContentGzipEncodingAutoConfiguration doesnt kick in?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-openfeign/issues/323#issuecomment-620214928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMAAQJQM26I64Y62P6AYFLROXS7LANCNFSM4MO7OZIA
.

Was able to reproduce it. The conditional on Client seems unnecessary here. Will remove it.


worldbank-co2-emissions is in ./samples/ directory

This pull request fixes #24.

[ ] I've added tests to cover the proposed changes

Changes proposed in this pull request:

Fix README.md so that quick Docker example references spec in ./samples/ directory

I'm not sure about this, as this command refers to

First off, create a pipeline-spec.yaml file in your current directory
above.

(most people won't download the source, so the samples directory won't be available for them to use)

Thanks.  Of course.


Documentation 3.6/db api swagger

Backport of #12221 & partial backport of #11309

https://jenkins01.arangodb.biz/view/Documentation/job/arangodb-ANY-examples/658/

@KVS85 Test build was successful


What version is Sqlite using and should I be able to Upsert?

I am creating an app and I would like to be able to use the upsert syntax https://sqlite.org/lang_UPSERT.html
The UPSERT syntax was added to SQLite with version 3.24.0 (2018-06-04).
When I run my code (detailed below) I get a syntax error.
Is it possible for me to update (for android and ios) the SQLite version? or am I making some other mistake?
Expected Behavior
I am running this code
return this.getDatabase()
           .then(db =>
               db.executeSql(
                   `Insert into Field (
                       FarmId,
                       "Field-Unique-Id",
                       Name,
                       Coordinates,
                       Soil,
                       Crop,
                       "Previous-Crop",
                       "Soil-Test-P",
                       "Soil-Test-K",
                       "Regular-Manure",
                       "Recent-Grass",
                       Size) values(?,?,?,?,?,?,?,?,?,?,?,?)
                    ON CONFLICT("Field-Unique-Id")
                    Do
                    UPDATE SET
                    FarmId = excluded.FarmId,
                    Name = excluded.Name,
                    Coordinates = excluded.Coordinates,
                    Soil = excluded.Soil,
                    Crop = excluded.Crop,
                    "Previous-Crop" = excluded."Previous-Crop",
                    "Soil-Test-P" = excluded."Soil-Test-P",
                    "Soil-Test-K" = excluded."Soil-Test-K",
                    "Regular-Manure" = excluded."Regular-Manure",
                    "Recent-Grass" = excluded."Recent-Grass",
                    Size = excluded.Size`,

                   [
                       field.farmKey,
                       field.key,
                       field.name,
                       JSON.stringify(field.fieldCoordinates),
                       field.soilType,
                       field.cropType,
                       field.prevCropType,
                       field.soilTestP,
                       field.soilTestK,
                       field.organicManure,
                       field.recentGrass,
                       field.area
                   ]
               )
           )

and I wish to insert my object!
Current Behavior
The error I get is

[Info] 02-04 13:34:30.590  6722  6762 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 0):
02-04 13:34:30.590  6722  6762 W ReactNativeJS: Object {
02-04 13:34:30.590  6722  6762 W ReactNativeJS:   "code": 0,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:   "message": "near "ON": syntax error (code 1): , while compiling: Insert into Field (
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         FarmId,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         "Field-Unique-Id",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         Name,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         Coordinates,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         Soil,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         Crop,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         "Previous-Crop",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         "Soil-Test-P",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         "Soil-Test-K",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         "Regular-Manure",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         "Recent-Grass",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                         Size) values(?,?,?,?,?,?,?,?,?,?,?,?)
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      ON CONFLICT("Field-Unique-Id")
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      Do
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      UPDATE SET
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      FarmId = excluded.FarmId,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      Name = excluded.Name,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      Coordinates = excluded.Coordinates,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      Soil = excluded.Soil,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      Crop = excluded.Crop,
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      "Previous-Crop" = excluded."Previous-Crop",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      "Soil-Test-P" = excluded."Soil-Test-P",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      "Soil-Test-K" = excluded."Soil-Test-K",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      "Regular-Manure" = excluded."Regular-Manure",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      "Recent-Grass" = excluded."Recent-Grass",
02-04 13:34:30.590  6722  6762 W ReactNativeJS:                      Size = excluded.Size",
02-04 13:34:30.590  6722  6762 W ReactNativeJS: }

Context
I expect I can reproduce the Upsert behaviour in multiple hits on the database, but it is a nice syntax and I would like to use it.
Your Environment
"dependencies": {
  "@expo/vector-icons": "^9.0.0",
  "@types/react-native-sqlite-storage": "^3.3.1",
  "global": "4.3.2",
  "mobx": "4.5.0",
  "mobx-react": "5.2.8",
  "moment": "^2.24.0",
  "native-base": "^2.11.0",
  "react": "16.6.1",
  "react-native": "0.57.7",
  "react-native-datepicker": "1.7.2",
  "react-native-maps": "https://github.com/react-community/react-native-maps.git",
  "react-native-simple-store": "1.3.0",
  "react-native-sqlite-storage": "^3.3.9",
  "react-navigation": "2.14.0"
},

IDE used:
VSCode
Link to your project:
https://github.com/fo-am/iCrapAppPro (tho this database stuff is not committed in full yet!)

Debug logs
See above!

For android it's listed here:
https://github.com/andpor/react-native-sqlite-storage/tree/master/src/android-native/libs
It's using <IP_ADDRESS> at the moment

Here's a manual workaround to upgrade sqlite:

https://github.com/andpor/react-native-sqlite-storage/issues/310#issuecomment-467603415

I will upgrade Android native libs to recent version shortly...armeabi will be eliminated though...

Can you test new-sqlite-native-libs branch (new native libs) and let me know how it works for you. This library does not provide custom sqlite libs and relies on what's on the device.

ON CONFLICT("Field-Unique-Id")
Do
UPDATE SET
working fine on ios but giving error on android

changes
your work around is awesome! Now you saved me! ;)

ON CONFLICT
working fine on ios but giving error on android

@aweffr @react
Is there a sample UPSERT Query that will work in Android?

@aidanw Your workaround horror is awesome, working flawlessly! :heart_eyes:


perf(optimizer): start optimizer early

Description
Currently the deps optimizer is inited only after the server is created and listening. However, the deps optimizer only relies on the server for module graph invalidation and page reload.
As these are technically optional if the server isn't ready yet, we should be able to init the optimizer before the server is created, which is what this PR does.
When the server is ready, we pass the server to the optimizer again for future server handling.
Additional context

Without this, we can't call server.transformRequest early on to pre-cache things, as we need the optimizer to properly resolve paths.
With this PR, the optimizer can start 260ms earlier on a project I'm testing.

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Somehow this PR makes the unit test more likely to segfault for some reason 😢

I dont think it is this PR, segfaults increased a lot in the past week

I tested in main with node 14 and it does happen less often. Only with this PR's specific change it triggers it much more often. Not sure what's going on, but I'm looking forward to moving away from node 14 soon 🥲


[DOC] The link of forward proxy should be updated!

Describe the bug
The link of forward proxy is 404 now.
To Reproduce
Steps to reproduce the behavior:

Go to 'client/forward_proxy/README.md'
Click on the link of forward proxy
See 404 error
However if search in doc the content shows in here

Expected behavior
The link of forward proxy should be updated.
Screenshots
The link in readme shows 404 error:

and I guess the link changes to

and the link is changed in doc

Hertz version:
hz version v0.6.4
Environment:
Just a doc issue, I believe you don't need the output of go env.

@Milkve Hi, you may raise a pr to fix the broken link.


pip install failed on linux(ubuntu and centos)

I am trying to install on linux, but get an error:
Downloading PyAgg-0.1.zip (753kB)
100% |################################| 757kB 157kB/s
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/PyAgg.egg-info
writing pip-egg-info/PyAgg.egg-info/PKG-INFO
writing top-level names to pip-egg-info/PyAgg.egg-info/top_level.txt
writing dependency_links to pip-egg-info/PyAgg.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/PyAgg.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
error: package directory 'pyagg\fontTools' does not exist

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-4nQOTm/pyagg

It's not convenient for me to clone the repository and run setup.py, would be great if you can fix the pip problem, thanks in advance.

Sorry for the delay @oeway. I finally got around to releasing a new version 0.2.0 on pipy, so you should now be able to use pip to install a version that (hopefully) has mac and linux support (plus many other undocumented feature additions).


webify manager

Hi,
I'm searching for a solution to replace a project i use : https://github.com/eoli3n/shellcast
It's a nodejs app, that I didn't maintain, but which works well.
It is kind of webify but with those features:

Multiple instances in a declarative yaml file
a Single webserver which map commands to routes. http://localhost/command1 http://localhost/command2
dynamic commands with php args -> shell args
password protection for each webservices
plain output (curl) and JS realtime shell output
realtime highlighter by word|line in JS output

I'm still looking for a tool to replace it. I need same features but i can skip the js realtime shell output part.
If i don't find anything, i will maybe upgrade shellcast and fix vulnerabilities.

Actually, i just did an npm update without any problem. So shellcast is still on the road :)

Thanks for the suggestion! Webify is designed to be incredibly simple, it sounds like what you are looking for would be served by either an application router or a more featureful HTTP server.


Android white screen

HI, i compiled on Android but i see a white screen like the camera closed. Is there some work in progress or some my mistake? I cloned the zxing-cpp and compiled the example with Qt6.

Hi, There is some work in progress now but all works for me on master branch. I'm building with Qt6.5.2.
Do you have some error logs? You can set SCODES_DEBUG option in CMake to enable debug output from SCodes.
It's possible that for some reason SCodes can't get access to the camera - permissions, or maybe some other app grabbing the camera. This should be logged if you enable debug logs.

Hi,
the only strange thing that i see is:
Warning: QML import could not be resolved in any of the import paths: com.scythestudio.scodes
Warning: QML import could not be resolved in any of the import paths: ZXing
I'm comlining directly the example, no new project.

I see: D libQmlBarcodeReader_arm64-v8a.so: New Camera set:  QCamera(0x76adb6cd70)
D libQmlBarcodeReader_arm64-v8a.so: Format:
D libQmlBarcodeReader_arm64-v8a.so:    Pixel format: Format_NV21
D libQmlBarcodeReader_arm64-v8a.so:    Resolution: QSize(3840, 2160)
D libQmlBarcodeReader_arm64-v8a.so:    FPS: 7 - 30
but white screen with green rectangle. If i add in the qml the CaptureSession and comment the reader, the camera working. So no permission problem.

Hello @niqt
Could you let me know if you are trying to run an example on an Android emulator?
I've tried several Android devices and everything works fine. In my case, your issue is only reproducible on an Android emulator.


Broken audio in NETIP/ONVIF with AAC codec

Camera board id: 559A7/659N7
OpenIPC version: <IP_ADDRESS>-lite
Commit: 823680b
Branch: master
Tag: 2024-02-11
installation method: (by manual https://github.com/OpenIPC/openipc-2.1/wiki/install_hisi or another)
modified majestic.yaml: yes

After changing the audio codec to AAC I have only a 'noise' on NETIP/ONVIF. Web GUI said that this setting is only for RTSP and MP4.
I need a u-law for NETIP/ONVIF and AAC for rtsp. Maybe it's a good idea to have separate settings for that.

 audio:
  enabled: true
  volume: 20
  srate: 48000
  speakerPinInvert: false
  codec: aac
  outputEnabled: false

Good day.
Perhaps your players do not support this codec, it is quite progressive and requires resources.


FileUpload Field beside Select or RichEditor was broken

Package
filament/forms
Package Version
2.10.0
Laravel Version
9.2.0
Livewire Version
2.10.0
PHP Version
8.0.3
Bug description
I've use FileUpload Field beside Select and RichEditor for save post field in DB. when Uploading post thumbnail before other fields fill no problem and everything work currectly but if i select option from Select Field or fill RichEditor with images and other stuff (just javascripty thing) FileUpload Field Broken and not work currectly but not show any error in console.
Steps to reproduce
When fill FileUpload after fill Select, RichEditor or any javascripty thing FileUpload completely broken !
Relevant log output
No response

This could be related a bug we experienced in Alpine.js, please make sure you're on Alpine v3.9.2.


Fix optimizer_hooks.GradientHardClipping for ChainerX

Part of #7634

Jenkins, test this please.

Jenkins CI test (for commit 1145bafbbc7101f19523b491503c9d1758a84626, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit b642b6b3e4cf1378a5860e52c5f126868ff09fc6, target branch master) failed with status FAILURE.

Jenkins failure seems unrelated to this PR. LGTM! Thank you for the PR!


Conveyors are used when placed in creative

I'm aware of this, only happens in 1.11. Looking into a fix.

My bad, didn't actually fix this one yet.

Fixed in commit efb78a0


When will be the release  v1.0.0 available in Maven Central

Hi ,
When will be the release  v1.0.0 available in Maven Central , currently  v1.0.0-RC1 is available in Maven Central ,
Regards,
Hema.

Hi Hema, we are debating whether the next release should be RC2 or 1.0.0 (GA). Depending on the decision, the GA should happen within 2-7 weeks. And BTW, it is entirely safe to use RC1. The API is frozen on this branch, so if you start with it, the GA will be a drop-in replacement.

Hi @Hemasundararaopottangi , a bugfix 1.0.0-RC2 got released today - https://github.com/dflib/dflib/discussions/395  . It is a drop-in replacement of RC1. 1.0.0 GA should happen mid-December.


C++ code generator generates code that does not typecheck

The mavlink directory currently contains a DaeDaLus definition for which daedalus generates C++ that does not typcheck. The DaeDaLus file is mavlink/MissionItemInt.ddl. The commands that cause the failure are:
daedalus MissionItemInt.ddl --compile-c++ --out-dir=mission_item_int_parser
g++ -std=c++17 mission_item_int_parser/main_parser.cpp -I DAEDALUS_DIR/daedalus/rts-c/

Note:

mavlink currently contains definitions of three formats: this is the only one that results in untypable C++.
All of the errors occur when typechecking calls of init_ methods that declared to be parameterized on the first typename, but which are called on no arguments.

Here are typechecking errors that I get (note that I actually put the parser file in a directory named parser)
parser/main_parser.cpp:3752:24: error: too few arguments to function call,
      expected 1, have 0
    r1.init_nonNegZero();
    ~~~~~~~~~~~~~~~~~~ ^
parser/main_parser.h:1056:3: note: 'init_nonNegZero' declared here
  void init_nonNegZero(T0);
  ^
parser/main_parser.cpp:4038:27: error: too few arguments to function call,
      expected 1, have 0
    r1.init_inclusiveZero();
    ~~~~~~~~~~~~~~~~~~~~~ ^
parser/main_parser.h:1442:3: note: 'init_inclusiveZero' declared here
  void init_inclusiveZero(T0);
  ^
parser/main_parser.cpp:4400:39: error: too few arguments to function call,
      expected 1, have 0
    r1.init_precisionLandModeDisabled();
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
parser/main_parser.h:3432:3: note: 'init_precisionLandModeDisabled' declared
      here
  void init_precisionLandModeDisabled(T0);
  ^

Fixed by recent merge.


DEPTHWISE_CONV_2D fails to map to TPU with status 'Tensor has unsupported rank'

Hi,
I'm trying to compile this implementation of DeepLab v3 to Edge TPU, but at some point one of depthwise convolution layers fails to map with status Tensor has unsupported rank (up to 3 innermost dimensions mapped). Here's what i found so far:

similar operations were compiled successfully at earlier stages of the same graph
all dimensions seemed to be ok when checking graph with Netron

The inconsistency of this issue (some depthwise conv layers mapping, some not) is what really throwing me off.

Could you please take look at this and help me find solution?

Sorry, but this isn't an easy question to answer since model changes through out the training process.
You said you have compiled it at earlier stage of training?
It is possible that x and y dimension dilation are different for one of the DepthwiseConv2d op?

@Namburger
I had a closer look at this issue and it seems that DepthwiseConv2D with dilation rate != 1 (x and y rates are equal) is not converted correctly. Quantization process of dilated DepthwiseConv2D is using SpaceToBatchNd operation which seems to introduce shape inconsistency along first dimension, and this is where compiler fails to map operation to TPU.

This is all using tensorflow version 2.1.0. Now, according to this issue, converting dilated DepthwiseConv2D as single operation is now possible, and indeed with 2.2.0rc0, this operation looks correctly converted

but unfortunately, trying to compile this model with Edge TPU Compiler version 2.0.291256449 produces
Edge TPU Compiler version 2.0.291256449

Internal compiler error. Aborting!

Sorry for the late response here, is this still an issue with compiler version 2.1.302470888?

Yes, tested it with 2.1.302470888 and still fails to map this op.
Edge TPU Compiler version 2.1.302470888

Model compiled successfully in 347 ms.

Input model: models/deeplab_take2.tflite
Input size: 2.55MiB
Output model: deeplab_take2_edgetpu.tflite
Output size: 2.53MiB
On-chip memory used for caching model parameters: 187.00KiB
On-chip memory remaining for caching model parameters: 6.83MiB
Off-chip memory used for streaming uncached model parameters: 0.00B
Number of Edge TPU subgraphs: 1
Total number of operations: 113
Operation log: deeplab_take2_edgetpu.log

Model successfully compiled but not all operations are supported by the Edge TPU. A percentage of the model will instead run on the CPU, which is slower. If possible, consider updating your model to use only operations supported by the Edge TPU. For details, visit g.co/coral/model-reqs.
Number of operations that will run on Edge TPU: 26
Number of operations that will run on CPU: 87

Operator                       Count      Status

CONCATENATION                  1          More than one subgraph is not supported
MUL                            10         More than one subgraph is not supported
QUANTIZE                       1          Mapped to Edge TPU
QUANTIZE                       1          More than one subgraph is not supported
QUANTIZE                       1          Operation is otherwise supported, but not mapped due to some unspecified limitation
CONV_2D                        15         Mapped to Edge TPU
CONV_2D                        23         More than one subgraph is not supported
DEPTHWISE_CONV_2D              10         Tensor has unsupported rank (up to 3 innermost dimensions mapped)
DEPTHWISE_CONV_2D              7          Mapped to Edge TPU
BATCH_TO_SPACE_ND              10         Operation not supported
RESHAPE                        1          More than one subgraph is not supported
SPACE_TO_BATCH_ND              10         Tensor has unsupported rank (up to 3 innermost dimensions mapped)
RESIZE_BILINEAR                2          Image-interpolation layer won't run precisely enough on Edge TPU
MEAN                           1          More than one subgraph is not supported
ADD                            3          Mapped to Edge TPU
ADD                            17         More than one subgraph is not supported

Same issue with me..any update on this

Hi @vaibhav810 ,
Dilated DepthwiseConv2D now maps to TPU with compiler version 15.0.340273435.
Edge TPU Compiler version 15.0.340273435

Model compiled successfully in 579 ms.

Input model: /content/8a9fa4cc-4aa6-42b7-a58b-caf8f712f95b.tflite
Input size: 105.09KiB
Output model: 8a9fa4cc-4aa6-42b7-a58b-caf8f712f95b_edgetpu.tflite
Output size: 392.54KiB
On-chip memory used for caching model parameters: 98.00KiB
On-chip memory remaining for caching model parameters: 7.56MiB
Off-chip memory used for streaming uncached model parameters: 0.00B
Number of Edge TPU subgraphs: 1
Total number of operations: 4
Operation log: 8a9fa4cc-4aa6-42b7-a58b-caf8f712f95b_edgetpu.log

Operator                       Count      Status

CONV_2D                        1          Mapped to Edge TPU
QUANTIZE                       2          Mapped to Edge TPU
DEPTHWISE_CONV_2D              1          Mapped to Edge TPU


Update docker infra

This PR is the Sparseml Equivalent of DeepSparse diff https://github.com/neuralmagic/deepsparse/pull/934
Successful Push to GHCR on a dummy release cut release/99.99.89 : https://github.com/neuralmagic/sparseml/actions/runs/4415141918/jobs/7737731243
Different images supplied are:
sparseml-all
sparseml-torchvision
sparseml-transformers
sparseml-yolov5
sparseml-ultralytics
sparseml-base
These can be built using docker build -t [tag] --build-arg DEPS=[all/transformers/yolov5/.....]  and are also available on GHCR, moreover whenever a release branch is cut these containers will be built and published automatically using GHA
The dockerfile supplied can also be used to build a dev container like the following:
docker build --target container_branch_dev --build-arg DEPS=dev -t sparseml-dev-docker . && docker container run -it sparseml-dev-docker bash

Note: I'll be updating the docker readmes on both sparseml and deepsparse side in separate PRs, will also link them out here when ready


no save for project settings

Similar to https://github.com/Strider-CD/strider/issues/351 -- on the project config general settings there should be a save button.

Branch settings page now has a button see 2e0c659

Closing this. Will open a general issue to convert all autosaves to a save button.


Requests for open source

All of your code is not fully open source, may I ask if what you are researching is classified? If you don't want to open source there is no need to provide a link to the open source of the article

Hi,
Code and instructions to run it are added now. Apologies for the delay.
Thanks,
Sukesh