direct share suggestion feature not implemented for Huawei  (P9)

it's known that the Nexus share intent add some suggestions for direct share.
Unfortunately, this feature is omitted by Huawei Share.
so from that, i tried your library, so get the same behavior in Huawei devices. but it didn't show the suggested direct share feature.
this could explain: (this is the normal Intent.createChooser() behavior in my phone)
Wanted Result: https://ibb.co/vVJFxH8
result i'm getting: https://ibb.co/qYMWFPt
could you make that as feature?

Hi,
Direct Share is an Android 6.0+ system feature and I'm not sure if it's possible to have access to the same components which Direct Share uses TBH.
If you have any idea how to add it we can surely discuss this, but to be honest I do not really jave that much time at the moment to investigate this on my own.
This might be a nice enhancement, but a complicated and time consuming to implement.

@zawadz88  It was a challenging, ...but i finally managed to reach it. it appears that android system is able to handle it.
when creating ACTION_SEND intent with ShareCompact and putting it as  "EXTRA_INTENT" in ACTION_CHOOSER and sending int to your constructor, i noticed a change comparing  to my last code: Previously, it was Android HWResolver before, but with ShareCompact, it was Android System then i realized that something did change, so tried to start the intent normally,
then bingo! it worked like a charm! :smiley:
the solution didn't need your library, but without the help of it, i wasn't able to reach that result (made me realize the resolver change, was the hint for the solution). thank you ! ;)
i got the solution same day i created the issue, but since i have a lot to work on, didn't have time to get you back :p
i peeked the android source code, these extras looks the keys for such result:
        mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName());
        mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName());

but to reach same behavior, you might need higher minSDK support (API 24), so better to stick with ShareCompact (works for minSDK 15 in my case).
here is the code i'm using for now, giving me the best results i could imagine:
"text/plain" will make it shareable through social media, like hangout, whatsapp, emails, messenger...
"message/rfc822"  will make it shareable through emails only.
here is the code that i'm satisfied with:
public static void shareTextViaShareCompactChooser(Activity launcherActivity, String title, String subject, String text){
    Intent shareIntent = ShareCompat.IntentBuilder.from(launcherActivity)
            // the type will force the creation of the sharable text intent
            .setType("text/plain")
            .setSubject(subject)
            .setText(text)
            .getIntent().addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);

    Intent intent = new Intent(Intent.ACTION_CHOOSER);
    intent.putExtra(Intent.EXTRA_INTENT, shareIntent);
    intent.putExtra(Intent.EXTRA_TITLE, title);
    intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
        intent.addFlags(Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION);
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        intent.addFlags(Intent.FLAG_GRANT_PREFIX_URI_PERMISSION);
    }

    launcherActivity.startActivity(intent);
}

public static void sendEmailViaShareCompactChooser(Activity launcherActivity, String title, String mailTo, String subject, String text){
    Intent shareIntent = ShareCompat.IntentBuilder.from(launcherActivity)
            // the type will force the creation of the sharable email intent
            .setType("message/rfc822")
            .setEmailTo(new String[] {mailTo})
            .setSubject(subject)
            .setText(text)
            .getIntent().addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);

    Intent intent = new Intent(Intent.ACTION_CHOOSER);
    intent.putExtra(Intent.EXTRA_INTENT, shareIntent);
    intent.putExtra(Intent.EXTRA_TITLE, title);
    intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
        intent.addFlags(Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION);
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        intent.addFlags(Intent.FLAG_GRANT_PREFIX_URI_PERMISSION);
    }

    launcherActivity.startActivity(intent);
}

Im just posting it here for fun, (i like challenges :p ) and also because you marked it as enhancement.
maybe someone is looking so same behavior, so he could get the solution ;)
Thanks again! ;)


[build system] merge impl and elaborate together

This PR move configuration to build time, to be read by both RTL generator and emulator

Merge this for now.


Bluetooth Earphones not working on Video Call

Description
When you connect bluetooth earphones to the iOS device (eg. airpods ), there is no audio received or transmitted from the earphone and its microphone.
Steps to Reproduce

Pair and connect your bluetooth earphones to the iOS device
Open the video-quickstart app
Connect to the room with an existing participant

Expected Behavior
Audio should be received and sent from the bluetooth earphones
Actual Behavior
No audio is sent or received in the bluetooth earphones
Reproduces How Often
100%
Logs
https://github.com/twilio/video-quickstart-swift/files/1796498/twilioAirpods.log
Versions
All relevant version information for the issue.
Video iOS SDK
2.0.0-beta2
Xcode
9.2
iOS Version
11.0
iOS Device
iPhone 5S
Note: It works fine on SDK version 1.x. But it does NOT work on SDK 2.x

@mavericksunny Thanks for reaching out to us. In my experience, I have not noticed this problem while switching the audio route between microphone and bluetooth, I have asked QA team to do more validation for this case. In the meantime, in order to help debug the problem, is it possible for you to enable media engine (webrtc) logs and upload? Following is the code snippet to enable the webrtc logs -
TwilioVideo.setLogLevel(.debug, module: .webRTC)

@piyushtank Please find the logs as requested
twilioAirpodsWebRTC.log

@mavericksunny Thanks for providing the logs, we will look into the logs. Also, our QA is able to reproduce the bug you have observed. We will fix the problem as soon as possible and let you know. I am sorry for the inconvenience.

Hi,
This audio scenario should work properly in 2.0.0-beta3 (out tomorrow). Thanks for reporting the bug to us, it is greatly appreciated.
Cheers,
Chris

We are now live with 2.0.0-beta3 which resolves this bug.

@ceaglest Great, thank you so much!

Closing this one out. Please let us know if there are any more bluetooth related issues.


Respects host header set via injectHeaders

Ensures that a host header, set via the injectHeaders proxy
option, is properly set in the proxied requests.
Adds relevant test coverage.
CC: @jnb
Fixes #388

Thanks. My mistake; I'll fix it.
On Fri, Nov 2, 2018 at 3:48 PM Colin Schoen<EMAIL_ADDRESS>wrote:

CI is failing on master for the same warning:
Warning: TRAVIS_API_TOKEN environment variable must be set Use --force to
continue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bbyars/mountebank/pull/389#issuecomment-435498083,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAESvySKS4fUrwNvwyJIojAmE1VfX4Y_ks5urK-WgaJpZM4YMNoc
.

Great, let me know if you need anything else on my end.

Bump. I am hoping this can be reviewed soon. We are looking to use this functionality and would love to be able to stick with using the existing NPM package. Thanks for the time, Brandon.

Thanks Colin. I'll take a look this week.
On Mon, Nov 12, 2018 at 5:18 AM Colin Schoen<EMAIL_ADDRESS>wrote:

Bump. I am hoping this can be reviewed soon. We are looking to use this
functionality and would love to be able to stick with using the existing
NPM package. Thanks for the time, Brandon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bbyars/mountebank/pull/389#issuecomment-437844215,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAESv_SjP3y4yXB0VM3wzl89mEJeT-Pxks5uuVkZgaJpZM4YMNoc
.

Hoping you still have a bit of time to review this week.

Thanks for the review. How often do you cut a new version?

I'm working on it - I'll make a patch version as soon as I can get the
build fixed.
On Mon, Nov 19, 2018 at 12:21 PM Colin Schoen<EMAIL_ADDRESS>wrote:

Thanks for the review. How often do you cut a new version?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bbyars/mountebank/pull/389#issuecomment-439992141,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAESv3IyOT8F-qPUCenhIj2rQMUkjbkqks5uwvahgaJpZM4YMNoc
.


Translate

Translate plugin :), with config file.

Nice work! Would you be interested to be the maintainer of this project? I no longer have the time or interest to maintain it.

Pr should be accepted


Adding posibility change between TODO and Task list

Adding posibility change between TODO and Task list.
#30 #7

Somehow this still does not show the tasks from Inbox.

I would need more information to try help.

whot version of Outlook you use?
do you see your todo in Task list?
are you sure, you have set up in config.js the parametr 'TASK_DEFAULT': 28,

It's working like a charm! Thanks!

I use Outlook 2016 with Office 365.
Yes, I've changed it to TASK_DEFAULT = 28.
With this, all the tasks from TODO folder are now visible except for those that are flagged from the email Inbox.
I wonder if there's a way to read email based tasks differently.

am using Outlook 2016/O365. with the app.js and config.js all emails flagged for follow-up are also displayed in the backlog - great stuff :-)
what I noticed: when draging one such email to a task-subfolder (e.g. Next) it creates a task with the email text and the email attached to the task.
would you see and option to only have a link to the original-email in the task?

I still can't get the to-do list (flagged emails) to show up in the backlog. Did I missed something?
I installed this package https://github.com/evrenvarol/outlook-taskboard/archive/master.zip
Thanks for your help!

I still can't get the to-do list (flagged emails) to show up in the backlog. Did I missed something?
I installed this package https://github.com/evrenvarol/outlook-taskboard/archive/master.zip
Thanks for your help!

Just downloaded patch2 and it works fine. Great work!


How to make the banner always display?

Hi, I want to make the banner always display to change the style. Currently when I close it or click the button, the banner never display again(maybe within one day). How to change it? Thanks

When you close the dialog through the X or by clicking "VIEW", the banner installs a cookie which stops you from seeing the banner again. Just clear your cookies after you dismiss the banner and you'll see it again.

just set daysHidden and daysReminder parameters to -1

thanks @ahakanergun works perfectly


The difference between Dingo's paginator() and Fractal's paginatedCollection()

As far as I read the docs of both packages Dingo uses Fractal as a transformation layer correct? In both docs I see two different approaches of returning paginated result. Dingo has its of paginator method, example:
class UserController extends BaseController
{
    public function index()
    {
        $users = User::paginate(25);

        return $this->response->paginator($users, new UserTransformer);
    }
}

and Fractal has it's own paginatedCollection(), example:
public function index()
{
	$users = User::paginate(25);
	return $this->fractal->paginatedCollection($users, new UserTransformer);
}

What is the difference here?

Uh, where is paginatedCollection on Fractal? I've not seen it...
Basically if you want to utilize Transformers use the Dingo method. It registers the transformer against the instances within the paginated collection so that it's used during the morphing stage of the response.

@jasonlewis I have seen it in this tutorial, see under pagination section https://laravelista.com/laravel-fractal

Tutorial is very outdated. Method no longer exists on the latest Fractal AFAIK. That tutorial is from 2014.

Thanks


Lookup::pipeline should allow builder as an argument

#2459 introduced option to use pipeline which right now accepts an array. It should also accept a builder instance. We're free to change type signature here as pipeline was introduced in 2.5.0 and is not released yet.

Done in https://github.com/doctrine/mongodb-odm/pull/2486


not an issue but an useful link

hi! thanks for the great tutorials.
but already know this (style transfer)?
https://github.com/log0/neural-style-painting

Thanks for the tip.


Examples on how to use async client

Hi - totally understand if this is super low priority, but would be awesome to see some async client examples in action.
I am not an Async expert but I was trying to get familiar with the AsyncClient but i am unable to do so.
Below my beginners attempt:
async_notion = AsyncClient(auth=NOTION_TOKEN)
async def main():
    await asyncio.gather(async_notion.databases.retrieve(**{"database_id": "123"})), async_notion.databases.retrieve(**{"database_id": "123"}))

asyncio.run(main())

I am getting the following exception:
_asyncio.py in receive(self, max_bytes)

   1091             except IndexError:
   1092                 if self._closed:
-> 1093                     raise ClosedResourceError from None
   1094                 elif self._protocol.exception:
   1095                     raise self._protocol.exception

ClosedResourceError:

Cheers!

It may be a bug actually, I'm not sure we're using httpx correctly for this kind of scenario.

And even if it works, I think we can do better than such a commit. We probably want to keep reusing a single httpx client but close it manually in our AsyncClient when we're done, either by making our AsyncClient a context manager, or with the atexit module maybe?


Documentation using GitHub Pages

Leverages using GitHub Pages to host the Ditto documentation.
This pull-request is a work-in-progress.

Closing this pull-request off. We'll keep the "dev/docs" branch around, in case we change our minds in future.


Fix for "Send messages sent to "Logger.fatal" to email or other more visible means"

Resolves #818
Type: feature
Issue
We want to notify sysadmin if we hit a fatal error so that they can get their site back up.
Note
This PR has a companion PR in repository @reactioncommerce/reaction
https://github.com/reactioncommerce/reaction/pull/4179
Solution / Changes
Changes:

Introduce a new emailstream logger.
Register this new logger, if env variable
REACTION_ENABLE_ALERT_NOTIFICATIONS is defined
export Logger instance as mutable export
Subscribe to Reaction hook "afterCoreInit" to setup the new
email stream logger with SMTP information needed for nodemailer

Breaking changes
None expected
Testing

Make sure you've the code from the companion PR in @reactioncommerce/logger in place.
This can be tricky if you are intend to incorporate the logger NPM package's code as linked NPM package (as opposed to npm install a published version of it). This is because @reactioncommerce/logger now contains a peer dependency (@reactioncommerce/hooks), which is known to be a bit difficult to deal with. See also: http://codetunnel.io/you-can-finally-npm-link-packages-that-contain-peer-dependencies/

TLDR: To test it, you may just copy over the source code from @reactioncommerce/logger to the main project's node_module folder, e.g.
cd ~/github/reactioncommerce/reaction/node_modules
cp -Rav ~/github/reactioncommerce/logger .

Add somewhere in server side code, e.g. in  "cart/addToCart" meteor method
Logger.fatal("email notification test");

Run reaction with proper SMTP settings, e.g. reaction rc-config

export REACTION_ENABLE_ALERT_NOTFICATIONS=1 && export<EMAIL_ADDRESS>&& reaction --settings settings/settings.json

Navigate to the example product and put it to cart
See the fatal error message in the server console
Go to your email inbox and see an incoming email containing that error

:wave: Thanks for the submission and work here. Apologies that it took so long to get a review.
Log driven alerts can be easily handled outside of the application scope, so I'd prefer that we don't merge any more custom functionality into the logging system. PR's to improve the data that's logged, add timing, additional context, etc. will be 💖.
There are many cloud based log aggregation services out there that can send an alert based on the content of a log message. Most have free tiers for light usage. Logentries has some of the best alerting capabilities in the space. Loggly, Papertrail, AWS CloudWatch and others are capable as well.
And while it's generally better practice to aggregate logs to a centralized location, you could also handle this directly on the server with a process manager or some other log analyzer.


Fix MethodGenerator Parameter Position

The MethodGenerator doesn't seem to take any notice of the ParameterGenerator position property. This causes issues when adding properties out of order, especially with optional and variadic parameters.

@willjones-stratagem I just noticed that this patch targets 4.5.x, but this is a bugfix.
Should we change the target branch to 4.4.x?

@Ocramius retargeting it works for me

Thanks @willjones-stratagem!


feat(ngLog): provides support to debug the application in chosen level

Request Type: feature
How to reproduce:
Component(s): jqLite
Impact: large
Complexity: small
This issue is related to:
Detailed Description:
I think we need to set a level to debug the application. So, I've developed a feature that add an extra behaviour to $log. In the $logProvider, I created a method called debugLevel that receives a string as parameter and, based on that parameter, the application change its debug level.
With this feature, setting debugLevel to 'error' will log only error messages, while setting 'log' will debug the application in a "trace like" mode.

error:   log only error messages;
warn:   log warn and error messages;
info:     log info, warn and error messages;
log:      log log and all other messages (trace like).

I'm not able to write tests for this feature and I think the code can be cleaner, but it helped me a lot. In the two last commits I've added two tests to this feature: one to ensure that if debugLevel is not defined, the application will log as default and one setting the level to 'warn'.
Other Comments:
ngLog can now log in window console based on a debug level, that can be redefined in LogProvider. Defaults to 'log'.

+1


Add more tests for Portable and IdentifiedData serializations with factory

Added some extra tests for using factories for serialization.

Test PASSed.

Test PASSed.


Shumway does not play the animation

In the flash player the "LS Lightspark" icon rotates a quarter around its top left corner.
In the Shumway extension the icon is displayed in the start position but nothing happens.
SWF: 842e6c10d76e174dff0d93ddd82dc778c65ff09f554ef86f25d88748a085d736 (Direct Link)

The file works now, but isn't quite entirely correct: in Flash it jumps back to the initial state on the 10th step, whereas in Shumway it rotates 360°.
@mbebenita, that part might interest you.

For me it just keeps spinning around, at a much faster rate? Are we playing the SWF too quickly, among other problems?

I bet you're testing it in the iframe viewer. Some people thought it would be a good idea for that to default to forcing 60fps playback ;)


Updates dependencies and fixes openssl 0.9+ for hmac/sha1/sha256

Crap didn't realize this was already done (and we pretty much did it the same way O_o)! The other PR has SSL support too closing this


Prepare the 2.1.104 release.

Closes #1873

Is this a big enough change to merit 2.2.0?

No - I don't pretend pre-3.0 to be following semver. The only guaranty is I never break you, I add features at will though. Tracked by https://github.com/pantsbuild/pex/issues/584


Minimum ZeroMQ version inconsistency

The README.md says minimum version is 4.2.5, but the CMakeLists.txt says 4.2.3.

Thanks. I think the proper value is 4.2.5.


Error while scaling agent nodes

Is this a request for help?:
No
Is this an ISSUE or FEATURE REQUEST? (choose one):
Issue
What version of acs-engine?:
v0.14.5

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.9.5
What happened:
There seems to be an issue with scaling the node.
After running the following command to scale the availability set:
acs-engine scale --subscription-id xxxx  --location australiasoutheast --resource-group test-cluster --node-pool dbpool1 --new-node-count 2 --deployment-dir ./_output/test-cluster/  --auth-method client_secret --client-id xxxx --client-secret xxxx --master-FQDN xxxx.australiasoutheast.cloudapp.azure.com

Error Received:
INFO[0000] validating...
INFO[0004] Name suffix: 22165019
ERRO[0007] Failed to drain node k8s-dbpool1-22165019-2, got error No Auth Provider found for name "azure"
ERRO[0007] Got error Node 'k8s-dbpool1-22165019-2' failed to drain with error: 'No Auth Provider found for name "azure"', while draining the nodes to be deleted
Error: Node 'k8s-dbpool1-22165019-2' failed to drain with error: 'No Auth Provider found for name "azure"'

What you expected to happen:
Agent pool should scale accordingly.
How to reproduce it (as minimally and precisely as possible):

Install Kubernetes via ACS-Engine
Ensure to enable AAD integration
Run command to scale agent nodes

Anything else we need to know:
This cluster has AAD integration turned on, with managed disks and calico CNI is used.
Thanks in advance.

I have this same issue, but only when scaling down.

I can correlate with @alexquintero . It only happens while scaling down the cluster.
INFO[0028] Name suffix: xxxxx
ERRO[0028] Failed to drain node k8s-agentpool1-xxxxx-4, got error No Auth Provider found for name "azure"
ERRO[0028] Got error Node "k8s-agentpool1-xxxxx-4" failed to drain with error: No Auth Provider found for name "azure", while draining the nodes to be deleted
Error: Node "k8s-agentpool1-xxxxx-4" failed to drain with error: No Auth Provider found for name "azure"

FATA[0028] Node "k8s-agentpool1-xxxxx-4" failed to drain with error: No Auth Provider found for name "azure"

I have this same issue, but only when scaling down.

I have this issue as well with 0.17.1.  Is there any update?  Thanks!

For scaling dow after a scale up this workaround worked for me:
The main issue was that after acs-engine scale failed to scale, and when I manually ran kubectl delete node XXXX acs-engine was still seeing my VM because it was not deleted from Azure and acs-engine it basically looking at the output from az vm list --resource-group MyResourceGroup which still showed 3 agentpool VM's.
This worked for me to scale back to 2 agentpool nodes after my scale up to 3:

kubectl drain agentpool0-xxxxxx-2 --ignore-daemonsets
kubectl delete node agentpool0-xxxxxx-2
Edited the apimodel.json file in the _output folder and set the current pool size back to 2
In Azure Portal, delete VM and NIC associated with the VM.
acs-engine scale ...

Hope that helps.


STG 88 GA API View Comments

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Storage.Files.DataLake


CHAOSS Bots

Description:
Create a video content for all CHAOSS Bot:

Newcomer Slack bot
Badging Bot
Describe each bot and its uses

Learn more about contributing to this project here
Go through the ReadMe  before you start.

@kaxada hi! Just checking in with this.
Do you need any help getting started?
Are you able to work on this issue in the next few weeks?

Hi! @kaxada Just checking in with this again. Do you need any help getting started? Are you able to work on this issue in the next few weeks?


Adjust tests for median support in groupby-aggregate in dask-expr

[ ] Closes #xxxx
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

thx


[WIP] Angularify timetable

related: #56 #68
:warning: Do not merge ! :warning:
WHY
We need to improve registration new rescheduling flow.
HOW
TODO

[x] Design and implement Timetable model(Rails)
[ ] Design Timetable API(JSON Schema)
[ ] Implement Timetable API(Rails)
[ ] Create Timetable resource with ngResource(AngularJS)
[ ] Create Timetable directive(AngularJS)
[ ] Replace existing view(Rails, AngularJS)
[ ] Support Rescheduling on Timetable.create_from_{lecturer.klass}(Rails)
[ ] Support pager on Timetable API(Rails)
[ ] Support pager on Timetable directive(AngularJS)
[ ] Remove unused modules and classes(Rails)

[ ] TimetableDisplayable
[ ] Timetable::CellDecorator

Model design of Timetable

Timetable has many cells
Timetable methods:

.create_from_klass(klass, all_week = Date.today.all_week)
.create_from_lecturer(lecturer, all_week = Date.today.all_week)

Timetable::Cell attributes:

lecture
scheduled_on
period_time
category(normal, addition, cancel)
rescheduling

API Design

GET /api/internal/timetable

Coverage remained the same at 96.26% when pulling 131daacc06dd4192c6ed07c18a355cc33e216ebc on angularify-timetable into 1a4fd3193da0bdd7312fe2812dab0d2a04b47bac on restructure-rescheduling-things.

Coverage decreased (-1.45%) to 94.81% when pulling fbd1dbb9ebafe29aa5975ef64142b1403cc3229e on angularify-timetable into 1a4fd3193da0bdd7312fe2812dab0d2a04b47bac on restructure-rescheduling-things.

TimetableRowは不要な気がしなくもない


Document AsSplitQuery API

Note that this is a fwlink target.

Content pointers:

Details of Single vs Split query behavior.
How they perform with 1 & many collection behavior
What are the pros/cons of each behavior.

Duplicate of #2479


db pull overwrites the Python client generator nondeterministically

Bug description
Context: I'm trying to use prisma-client-py with the Node Prisma Client so that the two clients can share the same schema.
The setup looks something like this:
generator client_py {
  provider             = "prisma-client-py"
  recursive_type_depth = -1
  interface            = "asyncio"
}

generator client_js {
  provider        = "prisma-client-js"
}

datasource db {
...
}

model ...

Bug: When I run npx prisma db pull using the Node Prisma CLI (from our node project directory), two strange things happen:

recursive_type_depth's value gets wrapped in a string
The positions of the recursive_type_depth and interface fields MIGHT swap

Here's an example of what might result:
generator client_py {
  provider             = "prisma-client-py"
  interface            = "asyncio"
  recursive_type_depth = "-1"
}

generator client_js {
  provider        = "prisma-client-js"
}

datasource db {
...
}

model ...

The swapping is nondeterministic and happens randomly; the recursive_type_depth value is always wrapped.
How to reproduce

Create two generators, as shown above, with a datasource
Run prisma db pull

Expected behavior
The generator code should not be affected.
Prisma information
See above
Environment & setup

OS: Mac OS, Linux
Database: PostgreSQL
Python version: 3.11.2
Prisma version:

prisma                  : 4.10.1
prisma client python    : 0.8.0
platform                : darwin
expected engine version : aead147aa326ccb985dcfed5b065b4fdabd44b19
installed extras        : []

^^ I'm using 4.10.1 as opposed to 4.8 because of the newly-added --generator flag when running prisma generate; makes having multiple generators share a schema more ergonomic.

Thanks for the bug report. I can reproduce the issue you're encountering. I've opened an issue on the main Prisma repository, https://github.com/prisma/prisma/issues/17899.

^^ I'm using 4.10.1 as opposed to 4.8 because of the newly-added --generator flag when running prisma generate;

v0.8.1 was just released which bumps the Prisma version to 4.10.1 so you should be able to use that now :)

Thanks for the help! And I'll upgrade to 0.8.1. Using a custom Prisma version wasn't a problem, but I had to do a small patch to the config because there's no way to define the pyproject.toml path for Config.load, which appears to expect that it's in the same directory as the scripts importing Prisma. In my case, pyproject.toml is in a parent directory. Saw that I could've set the DEBUG flag, but decided on this approach instead:
from prisma import Prisma
from prisma._config import config

# Patch because Python Prisma's config expects pyproject.toml in the same directory
# This is the engine version for Prisma version 4.10.1
# Remember to update this when updating the Prisma version
config.expected_engine_version = "aead147aa326ccb985dcfed5b065b4fdabd44b19"


dx: Improve/Update Code Snippets

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

@manucorporat How would you feel about prefixing all of these with something like q:, that way you can type q: and have a full list of snippets in your intellisense and it removes ambiguity between intellisense for Qwik functions/imports and snippets?

yeah! i like the idea! lets prefix them

Just have a few more tweaks to make and then I'll be ready to get this merged. 👍

Think you can finish the PR? otherwise i might take it :)

@manucorporat Will definitely wrap this up Monday or Tuesday

AMAZING as usual! merged

Thanks @manucorporat!


feat(qa construct): add optional long context window approach

Fixes #
(QA construct): Update Q/A logic #137
https://github.com/awslabs/generative-ai-cdk-constructs/issues/137

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Test cases discussed:

ResponseGenerationMethod set to RAG should run the RAG approach (regardless of a filename specified)
ResponseGenerationMethod set to Long context and no filename specified should send back an error message
ResponseGenerationMethod set to Long context window and a filename specified should check how many tokens are in the specified document, if that amount is smaller that the max number of tokens supported by the model used, run Long Context window, otherwise run RAG approach

To know which approach was used, this information will be logged by the Lambda function


Automate deployments of thumbnail templates

It would be nice if the thumbnail templates could be updated on one node and the other edit nodes could automatically update. Existing backfiller code could be adapted but special handling will be need for when a template is updated rather than added.

Bonus work: Making it possible for non-technical folks to upload/update templates.

Thinking about it, it may be easier to store the templates in the database. They are not large, nor accessed frequently. In addition, thrimshim needs to know which ones exist and thrimshim is designed to not nessecarily have disk access. This solves the distribution problem (even for volunteer edit nodes), though we would need to make some tooling for template management. But we want to do that anyway, so non-technical folks can manage it.

Yeah that seems like a reasonable solution.
For template management, we would want to add, replace, rename and delete templates as well as setting and modifying the template parameters and any template attribution (see issue #380). I assume a web form to do this should not be too difficult. We likely want to put authentication on the web form so only the art team and the wub wranglers can modify things.

An additional thought on this: Right now the default thumbnail template is selected via a hard-coded list inside thrimshim. This has already broken things once because we renamed the templates and didn't update thrimshim.
A better solution would probably be to make "default template for each shift" selectable in whatever UI we end up with.
This is a bonus though, our current solution does work.

Simplest way to do that I would think is to have a default_templates table in the database that the wubloader wranglers could edit as needed. We could also have a is_omega flag we can flip when it reaches that part of the run.


Problems with Reader mode

Is there no ACK when using pulsar Reader mode? Because every time a Reader restarts, it reads the message that was read before. If there are multiple Reader instances, each Reader will read the same data, resulting in repeated reads, is this the design?

@jbgzz  Yes, reader interface uses non-durable cursor, it won't store the cursor data.

So what are the scenarios for the Reader model, which is supposed to be unfriendly to most businesses right now

@jbgzz Yes, reader interface uses non-durable cursor, it won't store the cursor data.

So what are the scenarios for the Reader model, which is supposed to be unfriendly to most businesses right now

The reader interface provides Pulsar clients with the low-level abstraction necessary to "manually position" themselves within a topic.
If you want manually manage offset, reader is a choice


Allow customising the margin for horizontal Stepper

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
It's understandable that the horizontally laid out Stepper widget with Alternative Label is supposed to comply with the Material 1 Spec. However, it would be useful for developers to have the option to modify the EdgeInsets of the Stepper that is arranged horizontally. But currently, only the margins for the vertically arranged Stepper can be customized.

Proposal
In my opinion, to be able to achieve this feature #134112 also should concur. Also, since it is a work-in-progress for the Stepper widget, the addition of this flexibility will be much appreciated.

Labeling this issue P3 only because we're not planning to make improvements to Stepper. Happy to review PRs though.


[WiP] Nextcloud app

Developing against NC v24.0.4

Setting nextcloud/server up on my laptop from that git tag with php -S localhost:8123, Sqlite, admin/admin,

Wondering what to do with the downloaded app from the generator. It just shows a blank page. Trying composer install and make test.

npm install vue-loader

That works! So at least have an empty Nextcloud app now. Next step: add in the csv file upload GUI

It makes sense if the csv upload is into the user's regular Nextcloud folder.
Then the user would just need to tag them with the right file format.
User management would also just follow the NC-native user db.
Ideally, the NC-native db would be used for storing all the tables from schema.sql but for now we'll just work on the "NC + Postgres" platform, and keep all Prejournal's data there in the separate database.
I think the only other tasks then is claim-component; maybe we can just keep it outside the demo with a curl command, and make it match the NC username, to make it seem simple.


Prevent shallow simulate from triggering non-standard prop events

Currently we have a mismatch between shallow/mount apis.
mount.simulate('foo') -> throws Error
shallow.simulate('foo') -> calls props.onFoo
We want these APIs to work identical to each other, which for now is to throw errors on non-standard events.
So we need to make ShallowWrapper.prototype.simulate throw when the argument does not match the React list of events.

Luckily have only used this method in one location of my test suite 👍


no results are shown

I tried a few english queries on the playground, it's busy for some time but then a blank page.

Check your back end logging info. It maybe an error occured. I can't run it successfully.

We apologize for the poor experience. Our current concurrency is very low, and we are not in a commercial deployment. The usage is indeed quite high at the moment, which is causing the slowness.

It's easy to build locally. If you encounter any issues, feel free to ask at any time.

Maybe try again.


Add a hash check for Academy team?

Secrets are presently generated by academy and known :face_exhaling:
Not needed?
Should consider just using the signatures of SS58 accounts sufficient, no need for a secret. This is legacy based on no signature in games V0.

If still needed

[ ] script for user generates secrets, or user generated raw text/bytes
[ ] user submits PWN or only the slated hash of the secret

[ ] #1

[ ] script to do a sha512sum check

no longer needed :tada:


Issue using the API

Hi,
Thanks for your API.
I do not understand, I am putting zip_codes but I still have this error using SeLogerSearchQuery:
Field required [type=missing, input_value={'zip_codes': '75001', 'm...': None, 'sortBy': None}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.0.3/v/missing
Has it happened to somebody? If yes how can I resolve it?
Thanks!
Raphaël

Hi, do you still encounter this issue ?


ROX-21595: Add can user trigger cert update to central-capabilities

Description
This change allows the UI to detect when Central does not have the ability to trigger its own or Scanner cert re-generation. (Currently, lack of this capability is synonymous with Central running as a Managed Service.)
This new capability is exposed as a new additional property of the v1/central-capabilities endpoint.
The UI checks this capability, and does a logical AND with it and the Administration Write permission, to determine whether to show that action that triggers generation of a new cert. (Before this change, only the Administration Write permission was used for the conditional rendering.)
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added

Testing Performed
Here I tell how I validated my change
I mocked the responses for v1/credentialexpiry?component=CENTRAL and v1/credentialexpiry?component=SCANNERso that it returned a date just two dates from the current date, so that the certificate expiry banners appeared in the UI.
With the default value of the new capability returned by the API, which is "CapabilityEnabled", the action to trigger cert generation is present as before.

I then also mocked v1/central-capabilities to return a value of "CapabilityDisabled" for the new capability property. I verified that the trigger actions no longer appeared in the UI.

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

Can I haz review of green build PR?


Kitchensink

@OnsenUI/members this PR adds the Vanilla kitchensink example app to the Common Patterns tab of the tutorial. We can now embed on the new website 👍

Thanks @misterjunio!


Multiple consumers, synchronized queue

Hi,
I need to write a synchronized queue, where multiple consumers will not consume same message from the queue. I've batched my consumers into a single group-id and am doing Offset commiting (or at least I rely on auto commit flag) however, when I do meta data retrieval from the topic, last offset comes back as -1000 and when I do fetch, all of my consumers get the same message (causing multiple consumers to consume same message).
Perhaps I'm doing something wrong, some guidance would be appreciated.
Rodion

Consumers in the same group should receive different messages under normal operation (from different partitions).
-1000 == RD_KAFKA_OFFSET_STORED. I'm not sure what you'd be calling to see this though?
if you provide a short section of code, we may be able to help more.

Hi,
Basically the rationale behind trying to get the last committed message offset is to resume work from last Offset. If my consumer was down and my producer produced messages since last committed Offset, I'd like my consumer to resume from that point.
My understanding is that every time Kafka consumer reads a message (provided enable.auto.commit == true), a log on the server is updated for that partition and when Consumer "wakes up" it can read the last offset for that partition/topic and resume.
Regarding your question, I'm just experimenting and I was calling
consumer.GetWatermarkOffsets(new TopicPartition(topic, partition));
Now that I've described what I'd like to achieve, would you kindly suggest me what API methods I should use? Provided examples don't seem to cover that.
Thank you

Ahh ok - GetWatermarkOffsets returns cached information which is why you're getting the non-specific RD_KAFKA_OFFSET_STORED. You can call QueryWatermarkOffsets to force a request of this information from the broker. See the method docs for more info.
The AdvancedConsumer example shows the normal case where you want to resume from the last committed offset. If you mean you want to skip messages and start reading from the last produced message (as at the time when you called QueryWatermarkOffsets at least), you can explicitly set the offset to start consuming from using the Assign method in the OnPartitionAssigned event.


Log each command

Running sudo is kind of scary and it would be really nice if we could just log each command. But which log should we use?

Coming in next release!


Move socket.io signalling to main process?

Closing this as the performance would likely decrease. The render process is already under low load, offloading to main process via ipc messages would likely just increase the time for a client to connect


Migrate the driver code to HoneySQL2

Describe the bug
When starting Metabase 0.46.0, I'm getting the following error:
Driver :clickhouse is using Honey SQL 1. This method was deprecated in 0.46.0 and will be removed in a future release
Steps to reproduce

Install Metabase 0.46.0 with latest metabase-clickhouse-driver
Check in the log and you'll get the above error

Configuration
Environment

metabase-clickhouse-driver version: 1.1.3
metabase-clickhouse-driver configuration: None
Metabase version: 0.46.0
OS: Debian

ClickHouse server

ClickHouse Server version: <IP_ADDRESS>

I bumped into this page which mention that "the process for building a driver has changed slightly in Metabase 0.46.0"
https://www.metabase.com/docs/master/developers-guide/driver-changelog

Thanks for opening an issue. I forgot to open one as there are ongoing efforts in the honeysql2 branch; those are just incomplete yet.
I will rename it and keep it open for now until the branch is merged.

Just upgraded to MB v<IP_ADDRESS> with CH driver v1.1.7 and still have the same warning.

@zxpower, this will be resolved with the driver release that supports Metabase 0.49 - that version will replace HSQL1 with HSQL2 completely.


Connection pool size based on Core or vCPU makes sense.... SSD count does not

https://www.cockroachlabs.com/docs/stable/recommended-production-settings.html#connection-pooling
Connection pooling helps resolve this dilemma by creating a set of authenticated connections that can be reused to connect to the database. To determine the size of the maximum connection pool, our recommendation is to start your testing with a pool size of (core_count * 2) + ssd_count), where core_count is the total number of cores in the cluster, and ssd_count is the total number of SSDs in the cluster. The optimal pool size will vary based on your workload and application, and may be smaller than that.

Hi @glennfawcett, thanks for filing an issue. Can you provide more context / information around how the connection pool size should be determined if SSD count is not a factor?

Closing in favor of https://github.com/cockroachdb/docs/issues/6706.


fix interface assignment menus running off VGA screen

Resubmit of #1805 with requested gettext handling changes. Be so kind and merge it before yet another round of conflicts. This ain't really funny any more.
Credits: @nagyrobi  - this code ain 't mine, merely resubmitting it due to conflicts.
Original description from previous PR:
When using VGA console, interface assignment can be a real pain in the ass because of the standard 80 columns width.
Dmesg reports the many interface description names in very long strings that don't fit in a row, this breaks the nice appearance of the interface list in the assignment menu.
The aestethics is one thing, but the real pain is that the interface list goes off screen by the time the menu asks for the WAN interface name, if there are many interfaces present. It's a real problem to choose from a list which is not visible anymore.
One fix is to maximize the length of the interface description to 48 chars.
The second fix (and also improvement for better overlooking when the list really goes off) is to print a small list of the interface names at each question. This is necessary because when somebody wants to assign the first interface to the last Optional port, the big list will be way off screen by then, and the name of it won't be visible.
This also makes it nice clean and straightforward.

Thanks for pulling it in.


FutureWarning and HDF5 errors

Hi, I am quite new to python and am following the quickstart guide. However, I encounter the following error when trying to run the make_spectra_prediction.py command:
(my-rdkit-env) C:\Users\s\Desktop\NEIMS>python make_spectra_prediction.py
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\h5py_init.py:40: UserWarning: h5py is running against HDF5 1.10.5 when it was built against 1.10.4, this may cause problems
'{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
Warning! HDF5 library version mismatched error
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.

Please could you help? Thanks in advance and apologies if I have made a silly mistake.

Hi, it sounds like an issue with the h5py package on your system, possibly similar to this issue? https://github.com/h5py/h5py/issues/853
What are you using to load the dependencies? Maybe try recreating the python environment with Anaconda? https://github.com/brain-research/deep-molecular-massspec#required-packages
I don't have much experience running this repo on Windows, so I'm not sure what differences in instructions if any are required.

Hi thanks, that tip fixed one problem but now I receive the following message:
(my-rdkit-env) C:\Users\s\Desktop\NEIMS>python make_spectra_prediction.py
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\s\anaconda3\envs\my-rdkit-env\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
What version of numpy should I be using? Thanks.

I was using numpy version 1.15.4.
I think you can safely ignore these warning messages. I believe you should still be able to get the predictions? I think a couple updates to the code itself need to be made to remove the FutureWarning; it isn't a issue on your end.

Hi, I solved the future warning issue (it was bugging me) by installing that verison of numpy. Now the terminal will run the script without generating an error message but still does not return anything. The same thing happens if I try and run the entire command as one line. Should I just try and run on a linux machine? Cheers.

Double checking a few things:

When you run the command python make_spectra_prediction.py, are you also including the flag arguments? i.e. The full command is: python make_spectra_prediction.py --input_file=examples/pentachlorobenzene.sdf --output_file=<desired output location> --weights_dir=<path where you stored the weights>

If you skip these commands there will not be any output. Instead you'll see an error message like: ValueError: Can't load save_path when it is None.

Assuming you are following the Quickstart Guide (https://storage.googleapis.com/deep-molecular-massspec/massspec_weights/massspec_weights.zip), are you also downloading and unzipping the weights first?

Hi, yes I have tried the full line too (with and without ) as well as trying to enter line by line. I do not receive that issue on windows 10, only the terminal returing nothing.
When I install and run this program on the linux cluster at my university I am able to get the annotated.sdf out file. I cannot quite work out the correct command to get the program to plot the spectrum but just parse the bottom part of a file and then plot. Is there any problem in doing this?
I just want to reiterate my graditude for your help and for creating an excellent program!
All the best.

Hm OK, sorry to hear it's not working on windows.
Yeah parsing out the spectra prediction into your plotting tool of choice is a good way to go here. If you happen to want to use matplotlib to plot these, you can take a look at the function plot_true_and_predicted_spectra in plot_spectra_utils.py
I'm glad that you have found this useful. Thanks for your interest in our project!


EMFILE spam

Gulp runs out of file watchers?

@cnrdh Can you add full error message?

http://blog.izs.me/post/56827866110/wtf-is-emfile-and-why-does-it-happen-to-me


DOCKER_AUTH_CONFIG special project/group/runner variable

With docker executor working, its only a matter of time, before people will need this
Here is some info
https://docs.gitlab.com/runner/configuration/advanced-configuration.html#using-a-private-container-registry

I'm closing this again, since the docker daemon uses locally uses /etc/docker/, so people can just login that way.

I'm closing this again, since the docker daemon uses locally uses /etc/docker/, so people can just login that way.


Conflicting dependencies in gatling

Hi,
I'm setting up a new project using Gatling in a maven context. When I look at the dependency graph in Intellij IDEA, I see a number of dependency conflicts. Obviously I can suppress those by forcing a single version, but I was wondering if this can be fixed within Gatling itself? That would avoid a lot of work when I want to upgrade to a new version. (Because in that case I would have to run through all the dependencies again and see where the conflicts are.)
Any thoughts?
I've attached the diagram I see. The red lines indicate conflicts.
To reproduce: simple create a new project in Intellij, add Gatling as a dependency and open the dependency graph.

Hi.
Could you elaborate on your real issue, please?
Do you get non-compatible dependencies versions (such as Netty modules in different versions) in the resolved dependency tree?

Well, during a build I get flagged on the fact that there are different dependency versions in my configuration. This breaks the build for the reason that having multiple versions can lead to undefined execution results (first on the classpath wins).
So I have to enforce a single version. This is done at runtime anyway as described above, but I would rather not do so and therefore my question is whether this can be solved within Gatling.

This breaks the build

Maven builds don't break for such reason by default.

for the reason that having multiple versions can lead to undefined execution results (first on the classpath wins)

No, that's not how maven works. Maven has (sometimes arguable) rules for resolving conflicts in the dependency tree, such as the closest to the root wins. But in the end, maven generates a classpath with unique versions of each dependency, there are absolutely no duplicated libs.
I suspect the actual story is that you're enforcing very drastic rules with maven-enforcer-plugin.
If that's the case, trying to comply with such rules while there is actually no runtime issue is not something we'll work on ourselves.
Then, feel free to provide a pull request. But note that we'll only accept one that wouldn't turn our build files into a huge ugly pile of exclusions.
Closing for now. Feel free to ping if you've found a version conflict that breaks Gatling at runtime.
Regards


🔖(chore) bump release to 1.0.0-beta.3

Changed

Improved Docker image: now it does not ship with the project sources but only with runtime-required requirements (i.e. the sandbox and richie's package installed globally).

Fixed

Richie templates now live in core instead of sandbox.
Reorganize the search frontend to support nested filters.
The CI now effectively tests packaging issues.
The apps.core.fields module is no longer missing from Richie's package.
Fixed the bin/pylint script to work with the default database engine (PostgreSQL)
Fixed rebuild & bootstrap Makefile rules

@jmaupetit the PR was a copypasta fail and I added back your "Changed" section :)


Add dizzyrascle's file

Created a branch, created a file and made a commit, and opened a pull request


hercules-ci-*, cachix: nix: 2.3 -> 2.4

Motivation for this change
Follow-up to #144197
Things done

Built on platform(s)

[x] 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 wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 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

[ ] Fits CONTRIBUTING.md.

@ofborg build hci cachix haskellPackages.hercules-ci-agent haskellPackages.hercules-ci-cli


Redesign stack context structure

After talking with Daniel Eggert, I found that nesting parent/child contexts is non-optimal.
Move from the existing stack architecture, to the following:

Remove mainContext as a child context of the backgroundContext
Connect both backgroundContext and mainContext to the coordinator
Merge via notification APIs

Update, let's do the following instead of a full overhaul:
Allow users to specify the current setup or the one described above by passing a configuration object to the stack.

Also:
http://stackoverflow.com/questions/29900193/core-data-parent-context-blocks-child/29918585#29918585
:smile:

I was actually quite surprised to find out that most of popular CoreData libraries use parent-child stack. On data set of hundreds it may add ~30% to fetch time(I got ~0.6s and by using main queue MOC directly connected to PSC I got 0.4s on iPhone 5).
Stack in Daniel's answer(probably can be called "classic") is performing much better. And if it's not enough, two separate persistent store coordinators connected to single store may help.

Definitely. After talking with Daniel, I learned that child contexts are really misunderstood and misused.
The best scenario is to use them as a scratch pad where you may want to completely throw out the objects.


Fix simulation render of Raster op...

... which is step size too small.

Visually this seems to work.
The alternative fix would be to leave these lines in and multiply scale by step a few lines later on. I tried this and it scaled correctly, but clipped the image to the smaller size.

This is in make raster. But, the raster is created correctly. The issue is in the simulation which should be in a different part of the visualization, I think.

I cannot remember what route led me to here. I guess I can get the stack trace to see how we got to this method for the image - and then go back to see how it got called for simulation with step = 3 and see how to avoid calling make_image with the step.

I'll check it, but the simulation was wrong in #465 report. It actually lasered correctly. I think I heard some bug report about that before but couldn't duplicate it. It's like the built in scale isn't accounted for in the simulation. But, it does actually raster correctly. I think the issue is exclusive to sim.

Making it huge for the sim is helping me hit a bunch of memory and assertion errors. I can make it fail a bit more gracefully I think.

Confirmed. This does not solve the bug which is purely in simulation. This actually makes it raster the 4x larger area well outside the bed and consequently require absurd amounts of memory for the simulation.

Third attempt at commenting - hoping that Brave won't crash again.
Thinking about this I am sure you are right. But it has got me thinking (which is dangerous I know)...

For display in the simulation scene we should be able to reuse whatever internal representations for the Paths in the Raster ops that were displayed in the main scene.
We may need to actualise the raster for simulation in order to: A) do optimisations, and B) calculate e.g. burn time. But there may be ways of achieving this without actualising the raster. And if we do need to actualise it for simulation, we might be able to do it at a higher step than the op says anyway - only actualising it at the specified step when we do an actual burn.

P.S. I did test this fix before submitting it and I didn't see the issues you showed above.

I added in the correct fix. The test file we have is perfect for this since it shows both the ImageOp and the Raster value. It permitted balancing one without messing up the other. Since there were two bugs in the code. First, I did not use the step size to determine the drawn size of the raster cut. And secondly I used the image matrix to determine the size. This means images in an ImageOp would be done correctly but Raster images would be done wrong. And fixing one would break the other.
So, I got rid of all of that and only used the matrix for the image to give the X and Y values.

To test, verify that the simulation looks like the scene. And run a test (even just in mock mode) to see the rastering lines are actually matched up as well.


[WIP] reorganize files

closes #3

ok I think everything discussed in #3 is addressed now. @tsalo let me know if you want to have a look before I merge it

It looks great! I ran the reduced vocab abstract counts through my NiMARE conversion function and it worked!


cannot trigger filename completion on current directory

I couldn't find any documentation on this, there is vim keybinding for this, but what I prefer is there should be option to set this up?

#23

#23

Ok then it seems to be duplicate
I'll close this issue


iOS 15 Dopamine safe mode

I've removed jailbreak from my device and restored tweaks with Iamlazy. But now, when I install tweaks that where derootified, my device enters safe mode.
I've reset my device completely. (Didn't restore) But still happens.
I really need a way to get a fix.

But now, when I install tweaks that where derootified, my device enters safe mode.

What are "derootified" tweaks?

What are "derootified" tweaks?
Rootful → rootless ported tweaks

Not exact log but..
https://github.com/Dr-Sauce/ETC/blob/main/Springboard
https://github.com/Dr-Sauce/ETC/blob/main/oobPCI

Ah, okay. And how do you make these "derooted" tweaks? Is there a tool you used?

https://github.com/haxi0/Derootifier

And does it crash with all tweaks you attempt to "derootify" or just the LightsOut one?

And does it crash with all tweaks you attempt to "derootify" or just the LightsOut one?

DarkShot doesn't work too. I haven't tested other tweaks though.

Did LightsOut work previously?

Yes. I even have screenshots and a GIF.


Release 0.8.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Verify if the release channel is correctly set to main, geofileops_rc or geofileops_dev (depending on stable, rc or dev version), especially after rerender changed files!
[ ] If rerender changed files, verify if .github/PULL_REQUEST_TEMPLATE.md is still present. If not, copy it again from the backup directory.

@conda-forge-admin, please rerender


Allow adding dataset level and column level lineage manually

Reference thread created by<EMAIL_ADDRESS>-
https://groups.google.com/g/openmetadata-users/c/LG3L4p3uEwM/m/Oo2CbQoFAgAJ

@sanketbambulkar UX support needed for this.

Thanks for the UX mocks for the feature


Change runtag of a run

It'd be nice to be able to change the runtag of a run. For example, I load two runs, fuse them together, and then write out the run file. I'd like to set my own runtag.

Thanks for your suggestion, @lintool. You can now use myrun.change_runid(newname).


Loading different robot types (e.g. a1)

First of all, I just want to say just how amazing and complete this software development kit is. I would like to thank you for providing such an end-to-end open-source development kit to the community. It really helps people without the right infrastructure to develop quadruped algorithms. Regarding the issue I am having with...

Problem
One of the things that I noticed that I couldn't get to work is that when I tried to run the unitree a1 quadruped, the rviz and gazebo model would consistently be loading spirit using the following command:
roslaunch quad_utils quad_gazebo.launch robot_type:="a1" gui:=true

Issue
Spirit model would consistently be loaded.

Partial Solution
The solution I found to this was adding the "robot_type" argument to pass into the quad_visualization.launch file through the quad_gazebo.launch file. However, the problem quickly after that is that the model of the file is not properly exported/setup right for it to be properly found through the uri (e.g. spirit.sdf uri filepaths are model://a1_description/meshes/...). The error is shown below:
[Wrn] [FuelModelDatabase.cc:248] URI not supported by Fuel [model://a1_description/meshes/hip.dae]
[Wrn] [SystemPaths.cc:464] File or path does not exist [""] [model://a1_description/meshes/hip.dae]
[Err] [Visual.cc:3046] No mesh specified
[Wrn] [FuelModelDatabase.cc:248] URI not supported by Fuel [model://a1_description/meshes/hip.dae]
[Wrn] [SystemPaths.cc:464] File or path does not exist [""] [model://a1_description/meshes/hip.dae]
[Err] [Visual.cc:3046] No mesh specified
.
.
.

I believe this is due to the a1_description not being explicitly defined within the gazebo model path. Currently, the solution I have implemented is explicitly adding the quad_simulator folder into the gazebo model path through the quad_simulator/setup_deps.sh script. However, this is more of a bandaid solution because other minor issues rises as gazebo wants a nice structure as seen in the link. I believe slightly changing the folder structure may be more beneficial and cleaner if we want to add any future models in, but I am not sure how this change will affect other parts of the code. I wanted to run this by to make sure if this was a known issue or not.

Hey there, thanks for the kind words! With respect to that error, can you see if the devel branch fixes this issue for you? There was a bug with parameter loading that we resolved recently with the behavior you described (defaulting to spirit). There's a PR open right now to merge this to main (#294) which is awaiting review.

@lnotspotl, I switched to the devel branch and and was able to successfully load the a1 gazebo model. The process I took was:
cd ~/<your_catkin_ws>/src/quad-sdk/
./setup.sh
source ~/.bashrc

This should update your gazebo model path that the setup_deps.sh file wrote into the bashrc file. The expected results are shown below with a loaded a1 model in rviz and a loaded a1 model (with a green tint to the base) in gazebo.

However, the terminal still outputs some error when running
roslaunch quad_utils quad_gazebo.launch gui:=true robot_type:=a1

where the terminal with gazebo gives minor error that doesn't affect the actual process:
[Err] [InsertModelWidget.cc:426] Missing model.config for model "/home/andrewzheng1011/quad_sdk_ws/src/quad-sdk/quad_simulator/spirit_description/materials"
[Err] [InsertModelWidget.cc:426] Missing model.config for model "/home/andrewzheng1011/quad_sdk_ws/src/quad-sdk/quad_simulator/spirit_description/meshes"
[Err] [InsertModelWidget.cc:426] Missing model.config for model "/home/andrewzheng1011/quad_sdk_ws/src/quad-sdk/quad_simulator/spirit_description/urdf"
[Err] [InsertModelWidget.cc:426] Missing model.config for model "/home/andrewzheng1011/quad_sdk_ws/src/quad-sdk/quad_simulator/a1_description"
.
.
.

This error is more so the fact that gazebo doesn't like the folder structure of the exported paths where the ideal folder structure one stated in the link I posted on my first comment. This is definitely more of a minor error that doesn't really affect any of the operations as I am able to load the model. @jcnorby, I am not sure how much you want to rearrange these model files for the sake of cleanness and having no error pop up in the terminal. I would say that in the future, I would suggest that we have a file structure such as this:
quad_simulator
├── robot_models                   # Robot model files
│   ├── spirit_description
│    │   ├── model.config
│    │   ├── model.sdf
│    │   ├── meshes
│   ├── a1_description
│   ├── other                         # Accessory (e.g. sensors)

This way, it is clean in adding model paths into the ./bashrc file. and clean to write the export environment gazebo model path command in the quad_simulator/setup_sh.deps.sh. Additionally, adding more models should be a cleaner process. I can spend some time to see if rearranging these folders and editing the uri paths in the dae file will still cause the rest of the program to run smoothly if the developers of this repository want to go down this route.

Another issue does arise when running the setup.sh script. I am not sure if this is the right spot to post this (I am still fairly new to github) or if I should post this as a different issue. When switching to different branches, I recopied the coinhsl path into /external/ipopt/coinhsl and ran the quad_sdk/setup.sh script. Here, I run into issue regarding ipopt etc. As the script is running, I run into some error such as the following:
##################################################
### Building ThirdParty/HSL 2.2.1
##################################################
.
.
.
/path/to/quad-sdk/external/ipopt/coinbrew/ThirdParty/HSL/coinhsl/hsl_mc68i_ciface.f90:3:7:
    use hsl_mc68_integer, only: &
       1
Fatal Error: Can't open module file ‘hsl_mc68_integer.mod’ for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [coinhsl/hsl_mc68/C/hsl_mc68i_ciface.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
.
.
.

This happens for many other hsl files during the shell script process. However, I am still able to run the planner just fine. I just want to verify if these are expected errors that you guys face @jcnorby or there is a different procedure in place for switching between different branches and recopying the coinhsl file into the external/ipopt/ directory.

Hi, that's a good suggestion to reorganize the structure of the description files. We will fix this bug in the next merge. @AndrewZheng-1011 For your second problem about coinhsl, could you open a new issuse please?

We don't have this HSL error in our machine.  Can you check if the path structure is correct, like quad-sdk/external/ipopt/coinhsl/ where all the ma* files and folders are there?  Thanks!

My path structure looks something like this:
quad-sdk
├── external
│   ├── hsl_ma77
│   ├── hsl_ma86
│   │   ├── C/
│   │   ├── hsl_ma86d.f90
│   │   ├── hsl_ma86d.lo
│   │   ├── hsl_ma86ss.f90
│   │   ├── hsl_m86s.lo
│   ├── hsl_ma96
│   ├── hsl_ma68
│   ├── ma27
│   ├── ma28
│   ├── ma57
└── ...

I had no error when initially setting up ipopt and running the setup.sh script, but I was switching branches and was assuming that I needed to rerun the setup.sh script. This gave the corresponding errors. However, I am still able to run the planners fine and there has not been any warning/errors when running the global planner launch file. I am going to assume that it is harmless for now and so I closed the issue I opened in #297. I can reopen the issue if we want to discuss the details further there.

If a later run fails, it won't overwrite the previously installed library, so you can still run it. As for your structure, you should have all these files like hsl* or ma* under quad-sdk/external/ipopt/coinhsl/ . Please let me know if this solves the problem, thanks!

I edited my previous post as I had lay out my folder structure wrong. In regard to the error, I realized I had a coinhsl directory within my original coinhsl directory. After removing it, the error fixed itself. Thanks for the help! Additionally, would you like me to close the issue page or keep the issue up until there exists a cleaner folder structure for loading the model?

Glad to hear you solved the problem. Yes, as @jrenaf said, the loading different robots bug will be fixed in the next merge, I'll close the issue. Thanks!

Hello!
I have added a new robot recently to this SDK, I am able to load the robot in simulation after all the changes made!
But the initial position of the robot is not sitting, it falls from a standing pose. Due to this the robot state initially is very unstable and I can't run the stand mode.
Where in the SDK do I have to add the initial config of the robot?

Have you resolved the issue where Gazebo cannot display the robot model when gui:=true is set? @lnotspotl

I still can't display the model in Gazebo following the method mentioned in the issue.


Evally sub-regexes should be highlighted as normal perl code.

Ideally, the second half of this should be formatted differently depending on whether or not that final e is present, but I can understand this is a hard problem ;)
If you feel especially brave, this would be nice to work too:

@petdance can you assign this one to me.  I may as well do it while improving /x support.


[CXF-7926] Initial MP Rest Client 1.2 impl

This implements MP Rest Client 1.2 Milestone 2 which includes:

specifying the baseURI in the @RegisterRestClient annotation.
removeContext method in AsyncInvocationInterceptor interface.
new RestClientListener interface for intercepting client instances.
portable connect and read timeout properties.
invoking CDI interceptors.

This commit includes the runtime changes, some unit test changes, updates to the systests to include the latest TCK test cases, etc.

@reta - Thanks so much for the thorough review!  I've updated the PR with a new commit (Code review comments) that addresses everything you mentioned except for putting the timeout properties in ClientProperties - do we need to create a new class/interface for that?

hey @andymc12 , sorry was crazy day at work, yeah I think we could create dedicated class/interface, like ClientProperties and move these common constants here. What do you think? Thanks a lot!

@reta I introduced a new ClientProperties interface with all of the properties from ClientImpl - afaict, only the timeout-based properties are widely used.  Can you take another look?
Thanks again!

Thanks @andymc12, LGTM! Would be great if @rmannibucau could take a look on CDI part, thanks!

@rmannibucau sorry for the slow response.  Do you have (or can you provide) any examples of both 1 and 2?  My CDI knowledge is pretty limited, and I'd like to make sure this works for CDI extensions - and avoid unnecessary code if possible.  Thanks!

Hi @andymc12 , happy new year :)
about 1 maybe check out https://github.com/apache/geronimo-metrics/blob/master/geronimo-metrics/src/main/java/org/apache/geronimo/microprofile/metrics/cdi/CountedInterceptor.java#L91, it is not the best impl - which would use an extension to capture it and inject it in a specific interceptor - but a good compromise regarding the complexity. Then you have the annotated model from cdi which replaces all java reflect usages.
About 2: [1] is the one, it enables to manage the interceptors (configured) for you
Let me know - or ping me on slack/irc/gmail - if you need more pointers/help.
[1] https://docs.jboss.org/cdi/api/2.0/javax/enterprise/inject/spi/InterceptionFactory.html

Happy New Year @rmannibucau! And thanks - that helps a lot!
I've updated the code to use CDI AnnotatedTypes which should address your first concern.
As for the second concern, I agree that the InterceptionFactory should help, but I think that it will not work (at least for wrapping the MP Rest Client instance) because it would be creating a dynamic proxy to wrap another dynamic proxy.  I'm not sure if that is possible - and I think that it falls under the unproxyable category.

 ;)). But the fix can be: provide the "internal most nested impl" as a specific bean and inject this "impl bean" to the factory :). You can even do the impl as an interceptor (no more invocation handler at all) for that case with no impl and just use the factory with a bean returning null as base.

Per discussion in Google Chat, this (suggestion 2) fails in OWB but can work in Weld.  For now, I'll plan to merge this as-is - then (after OWB is fixed) we can make these suggested changes.  Hopefully by that time, we'll also have an official release of MP Rest Client 1.2 for the APIs/TCKs.

Just for tracking purpose: OWB fix is on the snapshot so 2.0.10 will get it and the interceptor stack handling impl will be droppable


Question: Deployment Error using Google App Engine: Server Error The server encountered an error and could not complete your request.

What I am trying to do
First, I attempted to deploy the application by using the "Deploy to Heroku" button; nevertheless, it resulted in an issue regarding "npm ci fails," for which I was unable to find a way around (solution, considering I am not a developer and have limited technical knowledge). Thereafter, I attempted to deploy it by using Google App Engine, and I altered the package.json and app.yaml to change the node.js versions up to 16.0, and then I deployed the app. Everything went great, app was deployed successfully, the link was produced, and when I visited it, it took fifteen seconds to load and delivered a error saying:
"Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds."
Any idea what went wrong?

Hi @nishitkadakia10, sorry you had issues deploying to heroku, we will have to look into that.
There are a few things that could be causing that error. Are you able to provide any logs from your app?


[Feature]Input shape api inconsistency with Tensorflow Backend

When using tensorflow as the backend, there is an inconsistent api format regarding tensor shape.
For example, If i want an input placeholder tensor of shape, [None, 10]
In tensorflow I instantiate it as:
tf.placeholder(tf.float32,shape=[None, 10])
In []: <tf.Tensor 'Placeholder_4:0' shape=(?, 10) dtype=float32>
However if I use the same vector as a shape vector in Keras Input tensor:
Input(shape=[None, 10])
<tf.Tensor 'input_3:0' shape=(?, ?, 10) dtype=float32>
Si it adds an extra dimension.
Is this the desired behaviour? Not sure if this should be a feature request or a bug to be honest.

It is the desired behaviour because the shape from keras Input tensor does not include the batch dimension. If you want to instantiate a tensor with shape (None, 10) you cant just instantiate it as Input(shape=(10,). Alternatively you can instantiate it including the batch shape with Input(batch_shape=(None, 10)).

got it, so batch_shape is the way to go then. Just wanted to make sure since Im starting with Keras and found it confusing. Thanks!


Flow does not infer that generic types cannot be different

Flow version: v0.92.1
Expected behavior
No errors.
Actual behavior
Error "Cannot call bar with param bound to prop because string [1] is incompatible with null [2]."
Step to reproduce
/* @flow */

type TOptions = { prop: string } | { prop: null };

function foo<T: TOptions>(param: $PropertyType<T, 'prop'>) {
    bar<$PropertyType<T, 'prop'>>(param);
}

function bar<TProp>(prop: TProp): TProp {
    return prop;
}

I would expect that Flow would know that T is either { prop: string } or { prop: null } and thus $PropertyType<T, 'prop'> has to resolve to the same type (both string or both null) in both places -  in param type and in generic type passed when calling bar.
See it in Try-Flow.

Flow doesn't infer generics. It will, however, do the right thing if you don't unnecessarily constraint bar; functions don't require explicit type arguments to instantiate: https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgAqA8jhgJZwB2AzmALxgDeYOATnDgFxg0ZvkqAczABfMAB9mrDtzBUArjBhiA3OigKqAYwrUwUOHAA8hHiTKVaAPgAUOAIZsHAWx4ASAAqy8bbIVw8UwAaMABydk4w6wBKZlQwRLAAIyd7J1cY9VENLV0rFKdTb047SLlCEpwY8yr4pLA2PAwFNioZTmygA

Ok, thank you for the info and the advice how to solve my example.


Promtool documentation

Proposal
I don't believe we have any complete documentation of Promtool and its subcommands anywhere besides the help flag of the binary itself, save for a few snippets in various places. I think it might be useful to put together a full page in the docs both to help with the use of the tool and also the discovery of its features.

+1.
A quick list of things we do have:

https://prometheus.io/docs/prometheus/latest/configuration/unit_testing_rules/
https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/#syntax-checking-rules
https://prometheus.io/docs/prometheus/latest/storage/#backfilling-from-openmetrics-format
https://prometheus.io/docs/prometheus/latest/migration/#recording-rules-and-alerts "update rules" -- which has been removed now...
https://prometheus.io/docs/guides/basic-auth/#creating-web-yml

I think it makes sense to keep the main docs for some of those where they are, but maybe link from an index / other commands page.

Agreed, sounds good.

Thanks to @roidelapluie, we have https://prometheus.io/docs/prometheus/latest/command-line/promtool/ (generated) now.
We can enrich it and add links to relevant materials you shared. I think we can reword this issue.

Let's close this.


check if st > tabs.length, which causes problem

In case of multiple pages using SmartTab, it is possible to have a great st value from one page, and when I switch to the other page whose number of tab is smaller, the page won't display and cannot be selected.
One quick fix is once the situation occurs, assign st value to zero.

Thank you for the fix


Wallet push notifications

Describe the solution you'd like
Currently there is no implementation for Web3Wallet push notifications. Are there any plans to implement that?

Hello @Rimantovas! Yes it is in the roadmap, hopefully some time soon!

Is there a list of work to be done?

Not yet @royd! As soon as I have it I'll share. Technical challenges were not discussed yet.


Fix JSON Update check

Currently when the mod start try to check the URL but using a old url endpoint from github, then throw a FileNotFoundException.
This PR change the URL to the correct endpoint.

Thank you, Doc94!


[EASY] Update link from GitHub to Twitter

"Why not change it yourself?"
I can only assume that some out there will ask why I bothered to create an issue out of such a small change, and why not just change it myself in 2 seconds?
The answer is simple: I want to get as many developers out there as possible to begin contributing to open source projects, even if it's something as trivial as this.

Line 189 of src/Console/Commands/Install.php needs an update to point to the new Twitter account instead of generically pointing to GitHub.
Old line:
$this->line(PHP_EOL.'For help, please visit cnvs.readme.io. Follow us on GitHub at github.com/cnvs.'.PHP_EOL);

Updated line:
$this->line(PHP_EOL.'For help, please visit cnvs.readme.io. Follow us on Twitter at twitter.com/cnvs_io.'.PHP_EOL);

If you're already a contributor, then thank you! If this is your first PR to this project or ANYTHING open source, then Welcome!

@austintoddj Hi, please close fixed issues. I just spend couple of minutes staring at the line which you asked to change just to see that it is changed. Then I went back to this issue and scrolled page down just to see that it was already fixed. Not cool :)

@DanielFurmanov FYI the little Information symbol here tells you that the code has been fixed, but the issue closes itself automatically after the commit has been merged into the master branch. It's currently only in develop because the next release isn't ready yet.
I understand your frustration, I'll go ahead and manually close the ones I can. But just for your reference, issues close themselves if referenced properly in a commit message and then merged to master.

@austintoddj I meant no offence. Thats the point - the issue description is long enough for me to not see this area without scrolling.
Didn't know about issues auto-closing, also forgot about two dev and master branches approach, sorry!
If you will have any other issue like that - mention me, please. Would like to take part in the project.

Will do @DanielFurmanov, I'll ping you of any more like these 👍


changed pairwise method names

fixes #15

Coverage remained the same at 91.393% when pulling 8f0ef8eb41a05906817d14d6bc49517f46d29320 on nbokulich:issue-15 into b08bea95530a370cbf2c836b543b447765b452a9 on qiime2:master.

@nbokulich, this is ready for merge but there are merge conflicts.


Question - language support

Does the framework support spanish? Its possible to create stories and train those stories with intents in spanish?

another question is... when i create 2 stories and the user input sentences are similar, the bot seems not to understand what response to show.
example:
-story 1 sample user input: "i want to know about xxxx"
-story 2 sample user input: "i want to know about yyyy"
both stories respond with default fallback intent.
i just write the input like the example above and click in start labeling, then add to test set and build the model.
i missing something?
how can i solve this?

I have the same question about russian language support. Is there a way, how to make bot understand russian?

@Ncolaci In your example, you created 2 stories for similar sentence. All you have to do is create single story for them and parameterize your xxxx and yyyy
And about Spanish support, you can use Stanford libraries from NLTK.

@alfredfrancis ok, that works when the stories has the same speech response, but in this case speech response  must be different for each parameter.
as far as i know, i cant have 2 different speechs for a single story.
it is possible?
thx for the reply.

speech response can be retived from an API call. Based on your parameter you can have n number of responses.
https://www.youtube.com/watch?v=gqO69ojLobQ

@alfredfrancis thanks a lot!


Report DacModelExceptions better, and continue processing all files

fixes #595

Build started at 07:30...
1>------ Build started: Project: TestProjectWithErrors, Configuration: Debug Any CPU ------
1>Using target framework net8.0 to run DacpacTool
1>Using package name TestProjectWithErrors and version 1.0.0
1>Using SQL Server version Sql150
1>Adding C:\Code\Github\MSBuild.Sdk.SqlProj\test\TestProjectWithErrors\Tables\MyTable.sql to the model
1>MyTable.sql(1,1): error SQL71006: Only one statement is allowed per batch. A batch separator, such as 'GO', might be required between statements.
1>Adding C:\Code\Github\MSBuild.Sdk.SqlProj\test\TestProjectWithErrors\Tables\MyTable2.sql to the model
1>MyTable2.sql(1,1): error SQL71006: Only one statement is allowed per batch. A batch separator, such as 'GO', might be required between statements.
1>C:\Code\Github\MSBuild.Sdk.SqlProj\src\MSBuild.Sdk.SqlProj\Sdk\Sdk.targets(243,5): error MSB3073: The command "dotnet "C:\Code\Github\MSBuild.Sdk.SqlProj\src\MSBuild.Sdk.SqlProj\Sdk\../tools/net8.0/DacpacTool.dll" build -o "obj\Debug\netstandard2.0\TestProjectWithErrors.dacpac" -n "TestProjectWithErrors" -v "1.0.0" -sv Sql150 -i "obj\Debug\netstandard2.0\TestProjectWithErrors.InputFiles.txt"    -dp IncludeCompositeObjects=true           " exited with code 1.
1>Done building project "TestProjectWithErrors.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 07:30 and took 01,579 seconds ==========

Phew - that was an "interesting" breaking SQL container change 😄

@jmezach All lights are green now 😄

Looks like I can't approve this from my phone. Will do so when I get back home in about half an hour ;)

Phew - that was an "interesting" breaking SQL container change 😄

Looks like we weren't the only ones hit by this breaking change: https://github.com/microsoft/mssql-docker/issues/892

@jmezach Agree, this is a good quality improvement

Should we release this as 2.8.1?

I have a plan for a PR to run some .NET analyzers against the DacpacTool codebase (our code, not the modules) - maybe after that?

Sure thing :)


Not capturing delete events.

If I am deleting the original document it's not capturing that. Tried using both 'fine' and 'deleteOne' syntax.
  return await ppc.deleteOne({ _id: id });
  return await ppc.find({ _id: id }).remove();

Hello @garg10may,
I'll try to check that. If it not happens till tomorrow please ping me again here.
Thanks for your feedback!
Am 9. Januar 2022 10:37:55 MEZ schrieb garg10may @.***>:

If I am deleting the original document it's not capturing that. Tried using both 'fine' and 'deleteOne' syntax.
 return await ppc.deleteOne({ _id: id });
 return await ppc.find({ _id: id }).remove();

--
Reply to this email directly or view it on GitHub:
https://github.com/codepunkt/mongoose-patch-history/issues/91
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

@garg10may We have tests for the findOne syntax. Can you try that and report back?
We didn't register deleteOne currently, since I can't merge right away I won't be able to provide that.

As i understand deleteOne can't be captured since mongodb doesn't provide the same. In other lib also deleteOne is not captured.

I tried to get a little into it.
Mongoose doc supports capturing of the deleteOne method. However it is a little tricky to implement correctly since it can be a query or a document hook.
With a little time this could be implemented tho.
What is your opinion on the topic?

Hi there,
Doing await record.remove() does not seem to save an entry in the change history collection either.
This seems mandatory to me, as I need to know when a record was deleted and by who/what.
Am I mistaken or doing something wrong ?
I can't seem to find a pre('remove') in your code.
This could/should be added quickly WDTY ?
Thanks

@OriaLogic this is not related to the deleteOne issue isn't it? I'd move it to a separate issue then.
But coming to your issue, we are talking about this operation right?


Feature Request: Support size equalities in views / layoutGuides

Sample syntax:
button2.mondrian.buildSelfSizing {
    $0.width(.like(button1), .exact(0)).height(.like(button1), .exact(0))
}
button1.mondrian.buildSelfSizing {
    $0.minWidth(60).minHeight(44)
}

you're talking about Classic layout API?
it's could be better to start describing with view.mondrian.layout.
then, view.mondrian.layout has horizontal, edge. so how do you think about adding like in addition.
(currently available)
box1.mondrian.layout.horizontal(.toSuperview).activate()

(example syntax to achieve that you're requesting feature)
button2.mondrian.layout.like(.to(button1)).activate()

I'm not pretty sure like is good naming against .to() or .toSuperview

button2.mondrian.layout.like(.to(button1)).activate()

What if we only need either width or height to be match, but not both?

what if you need width to be match. it's gonna be following.
button1.mondrian.layout.width(.to(button2).width).activate()
did I answer?

that's been available from this PR
https://github.com/muukii/MondrianLayout/pull/45

Sorry, I didn't know that UILayoutGuides are already supported there. Thanks, closing this ticket now


Problem in training with partial data in DiffAugment-stylegan2

Thanks for your contribution!
I got errors when I run the following command.
python run_cifar.py --dataset=cifar10 --num-samples=5000 --num-gpus=2 --DiffAugment=color,translation,cutout

I also found this error only appears when setting num-samples.
The details are as follows:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
    return fn(*args)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
    target_list, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.OutOfRangeError: 2 root error(s) found.
  (0) Out of range: End of sequence
         [[{{node GPU0/DataFetch/IteratorGetNext}}]]
  (1) Out of range: End of sequence
         [[{{node GPU0/DataFetch/IteratorGetNext}}]]
         [[GPU0/DataFetch/IteratorGetNext/_3169]]
0 successful operations.
1 derived errors ignored.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "run_cifar.py", line 167, in <module>
    main()
  File "run_cifar.py", line 161, in main
    run(**vars(args))
  File "run_cifar.py", line 91, in run
    dnnlib.submit_run(**kwargs)
  File "/tf/code/dnnlib/submission/submit.py", line 343, in submit_run
    return farm.submit(submit_config, host_run_dir)
  File "/tf/code/dnnlib/submission/internal/local.py", line 22, in submit
    return run_wrapper(submit_config)
  File "/tf/code/dnnlib/submission/submit.py", line 280, in run_wrapper
    run_func_obj(**submit_config.run_func_kwargs)
  File "/tf/code/training/training_loop.py", line 291, in training_loop
    tflib.run(D_train_op, feed_dict)
  File "/tf/code/dnnlib/tflib/tfutil.py", line 31, in run
    return tf.get_default_session().run(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 956, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1180, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.OutOfRangeError: 2 root error(s) found.
  (0) Out of range: End of sequence
         [[node GPU0/DataFetch/IteratorGetNext (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
  (1) Out of range: End of sequence
         [[node GPU0/DataFetch/IteratorGetNext (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
         [[GPU0/DataFetch/IteratorGetNext/_3169]]
0 successful operations.
1 derived errors ignored.

Original stack trace for 'GPU0/DataFetch/IteratorGetNext':
  File "run_cifar.py", line 167, in <module>
    main()
  File "run_cifar.py", line 161, in main
    run(**vars(args))
  File "run_cifar.py", line 91, in run
    dnnlib.submit_run(**kwargs)
  File "/tf/code/dnnlib/submission/submit.py", line 343, in submit_run
    return farm.submit(submit_config, host_run_dir)
  File "/tf/code/dnnlib/submission/internal/local.py", line 22, in submit
    return run_wrapper(submit_config)
  File "/tf/code/dnnlib/submission/submit.py", line 280, in run_wrapper
    run_func_obj(**submit_config.run_func_kwargs)
  File "/tf/code/training/training_loop.py", line 202, in training_loop
    reals_read, labels_read = training_set.get_minibatch_tf()
  File "/tf/code/training/dataset.py", line 171, in get_minibatch_tf
    return self._tf_iterator.get_next()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/data/ops/iterator_ops.py", line 426, in get_next
    name=name)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/gen_dataset_ops.py", line 2518, in iterator_get_next
    output_shapes=output_shapes, name=name)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
    attrs, op_def, compute_device)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1748, in __init__
    self._traceback = tf_stack.extract_stack()

Envs:
Python 3.6
CUDA  10.0
tensorflow-gpu: 1.15.2

It seems to be an issue related to the newest version of tensorflow-datasets. Try pip install tensorflow-datasets==2.1.0 for a temporary workaround.

Thanks for the reply, it works!


[Backport 1.31] kube-ovn: Fix placeholder not being replaced on enable

Overview
This PR fixes the __AVXTAG__ placeholder not being replaced (with an empty string) upon microk8s enable kube-ovn when the CPU has AVX flags based on the original PR: https://github.com/canonical/microk8s-core-addons/pull/261

hi. this is still happening on 1.31.3 (was it backported to 1.31.3?). on 1.31.4 it was fixed but the kube-ovn container dies with OOMkilled status message. so at the moment, I can't run microk8s with kube-ovn.


Test the java, chrome and firefox version of container

Summary
'Provide some test for the java, chrome, and firefox version'

https://github.com/TomashGombosh/docker-chrome-firefox/pull/31


feat: add hotkeys

affects: @haulmont/jmix-front-generator, @haulmont/jmix-react-antd, @haulmont/jmix-react-web,
test-puppeteer
Add ability to add own hotkeys to application
add some default Hotkeys
add unit and e2e tests for hotkeys

@HegelPro please resolve conflicts & m,erge