PS C:\Users\aravi.vscode\java files>  & 'C:\Program Files\Java\jdk-19\bin\java.exe' '-agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:50140' '@C:\Users\aravi\AppData\Local\Temp\cp_8k424vbxhda4nk0i83u773ryj.argfile' 'collections.array_list' Error: Could not find or load main class collections.array_list Caused by: java.lang.ClassNotFoundException: collections.array_list PS C:\Users\aravi.vscode\java files>

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Closing as incomplete. Please feel free to add more information if you have any and we can re-open the issue.


Mamba update

Mamba is now using a class for its input, this updates OpenLM accordingly.

High level comment that these changes are up to date as of mamba-ssm 1.2.1 where I have been able to successfully run the code (however gradient_checkpointing does not work). There are now more features with mamba-ssm>=2.0.0, and submodules have been renamed, so there are some changes to be made to make it compatible.

I had the same problem with gradient checkpointing and it prevented some interesting experiments about long-context mamba... I didn’t have time to look into this yet but maybe updating to Mamba2 first would make sense.


.NET 7: MapGroup support for more extension methods

MapGroup support for more extension methods
source code created in  #26476
@fiyazbinhasan modified it for testing in #26801 see this comment where I give permission to modify the code. We may want to have two samples if the testing adds additional complexity .

I think adding more extension methods to the Todo would be nice to have. Would make some updates

@Rick-Anderson

@sammychinedu2ky  what's the status on MapGroup support for more extension methods Was this ever done?

@sammychinedu2ky what's the status on MapGroup support for more extension methods Was this ever done?

https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/fundamentals/minimal-apis/7.0-samples/todo-group
I wrote this a month ago.

@Rick-Anderson I think it would be less confusing if I keep the todo-group sample as it is. For the unit/integration testing task, I've created another project WebMinRouteGroup, which is pretty much similar to @sammychinedu2ky sample (but updated)
@sammychinedu2ky you might want to update your todo-group sample since it's not working. Some of the APIs has changed e.g. AddRouteHandlerFilter has been renamed to AddEndpointFilter
once you update the sample, that could be used for showcasing the Route Group feature in the doc.

Ooh thanks. Let me check it out @fiyazbinhasan

done 🥂

done 🥂

PR that updated the code?

done 🥂

PR that updated the code?

Yh


WIP: feat(switch): add "switch" widget type

Adds a new switch widget type, a meta widget that switches to become another widget type depending upon a dynamic value.

The widgetURL is the source for the dynamic JSON to evaluate.
Evaluates an AngularJS expression on that JSON to extract a value.
Matches that value against one or more cases configured in widgetConfig.
The matching case, or a default caseotherwise case, may specify a new launchText, widget type, widgetConfig, or even a new URL from which to source JSON to drive the newly selected widget type.

Adds example widget publications in localhost to demonstrate this new widget type.

Tech debt incurred:

None of this is covered with unit tests. We have a test coverage problem in this project.
Duplicates a method from WidgetCardController into the new SwitchWidgetController to support the way templating for basic type widgets determines the URL of the links in that widget. Arguably this should be refactored to resolve that URL higher up in the architecture, rather than the controller being responsible to figure it out while rendering the widget.
Duplicates a chunk of the widget-card partial to re-implement the switching among widget types for content. Arguably this should be refactored to eliminate this duplication.

PR considerations checklist:

[x] Updates CHANGELOG.md to reflect this PR's change.
[x] This Contribution is under the terms of Individual Contributor License Agreements (and also Corporate Contributor License Agreements to the extent applicable) appearing in the Apereo CLA roster.

Present use case for this is:

Some employees have a "H" enrollmentFlag some of the time. When they do the most important thing a "Benefit Information" widget has to say to them is that they have a personal enrollment opportunity.
Many employees have an "O" enrollmentFlag for around a month each year. When they do the most important thing a "Benefit Information" widget has to say to them is that they have N days left to participate in annual open benefits enrollment.
Most employees have mostly boring benefits most of the year, such that a basic hyperlink to the "Benefit Information" app is an appropriate "Benefit Information" widget experience.

This switch approach will allow continuing to use the time-sensitive-content widget type to handle the annual benefit enrollment aspect while swapping in custom content for the event-driven enrollment opportunity aspect.
Alternatives include

a remote widget type, where all the config is remoted on the other end of a JSON callback, rather than configured in the portlet-definition
fancier layout templating that would swap in any of N versions of the widget (and associated portlet) depending upon stuff

For the specific use cases MyUW intends to use switch for, the latter is going to add unwanted complexity (it's bad enough that we have two publications of "Benefit Information", I definitely don't want to deal with N publications for all the different permutations of campus affiliation and benefits status and...)
The remote idea is probably a pretty good one that would add a lot of flexibility. We already have steps towards it in sometimes dynamically sourcing list-of-links. However, in the details, we have an existing enrollmentFlag JSON service in production, so if all goes well, this approach allows only developing and configuring a switch widget switching on the response from that JSON and not requiring any other change. Allows deferring developing the server-side piece that would answer a call for dynamic widget configuration.

fancier layout templating that would swap in any of N versions of the widget (and associated portlet) depending upon stuff

I'd lean toward something like this.
Another possibility could be leveraging UI router, each view would be a state/sub-state https://ui-router.github.io/guide/states
Then the description of a valid route/widget has a more widely recognized definition.
Which could work, but fancier layout templating still seems like a better long term solution.

My concern is the generic naming and documentation implies that it can and should be used as a general purpose routing system.
That is misleading, this is designed to handle a very specific use case.

I don't agree. This is a generally applicable, re-usable, flexible widget type. This is designed to solve the general problem of composite widget types, and in doing so enable solving a specific use case that has arisen in MyUW. There's nothing benefits-enrollment or HR-specific or MyUW-specific about this widget type. By using an AngularJS expression to determine which switch case to activate, it's wildly flexible.
With this type available, one might:

Implement a better user experience in the "Manager Time and Approval" widget in MyUW by switching to a custom type widget when it turns out the employee has no time approval roles, rather than (status quo) abusing list-of-links to try to tell the employee they have no relevant roles.
Implement dynamic "app-under-maintenance" experiences in widgets by conditionally switching to a custom widget telling the user about the outage, as an alternative to the existing approaches around putting the app into MAINTENANCE lifecycle state, and potentially in doing this introduce the feature of exempting some operations users from the switching so they can test the widget even during a maintenance window when it's not expected to in general work.
Tee up switching on or off an interesting widget as part of application lifecycle management, or more generally make a widget conditional on the availability of the JSON it depends upon.

Who knows what opportunities we might find to solve problems with this widget type? It becomes another hammer in the toolchest.

Implement a better user experience in the "Manager Time and Approval" widget in MyUW by switching to a custom type widget when it turns out the employee has no time approval roles, rather than (status quo) abusing list-of-links to try to tell the employee they have no relevant roles.
Implement dynamic "app-under-maintenance" experiences in widgets by conditionally switching to a custom widget telling the user about the outage, as an alternative to the existing approaches around putting the app into MAINTENANCE lifecycle state, and potentially in doing this introduce the feature of exempting some operations users from the switching so they can test the widget even during a maintenance window when it's not expected to in general work.
Tee up switching on or off an interesting widget as part of application lifecycle management, or more generally make a widget conditional on the availability of the JSON it depends upon.

It could be done with a switch, or it could be handled through a router.

Who knows what opportunities we might find to solve problems with this widget type? It becomes another hammer in the toolchest.

Angular already has solutions for the selection/routing problem, angular-router and ui-router.
Instead of using an existing solution, yet another routing solution is being added.
This feels like a case of not invented here.
-0.9

This isn't necessarily a problem for the router, we're not keying off of url path

A url would be nice to have, but is not required by UI-Router.

I'm not sure it'd be feasible to have every widget be a view.

I don't follow, are there high order components being used in the project?
If by view you mean page, ui-router supports scoped and nested routes https://ui-router.github.io/ng1/tutorial/hellogalaxy

we're just trying to get a personalized rendering of a widget from static configuration.

It sounds like something that should be handled by an API more than the UI :man_shrugging:

Maybe it helps to look at this from a perspective of architectural layers:

app directory aka portlet registry: what are the things in the portal? ( fname benefit-information is a thing.)
layout: which of those things ought to plop onto the user's homepage? ( fname benefit-information is a thing on this user's homepage).
widget: what should the user see when viewing a thing? ( here's what happens when the user renders benefit-information)

This feature is about switching up what's rendered in the box. Given that benefit-information is a thing, and given that it's a thing for this user, what should it look like for this user? That's why it's happening as a widget type, at the widget level of the architecture.

Maybe it helps to look at this from a perspective of architectural layers:

app directory aka portlet registry: what are the things in the portal? ( fname benefit-information is a thing.)
layout: which of those things ought to plop onto the user's homepage? ( fname benefit-information is a thing on this user's homepage).
widget: what should the user see when viewing a thing?

I completely agree with all of this.

This feature is about switching up what's rendered in the box. Given that benefit-information is a thing, and given that it's a thing for this user, what should it look like for this user?

It is deciding what the user should see by changing which widget will appear in the page. That is a layout concern.

That's why it's happening as a widget type, at the widget level of the architecture.

I'm not going to block this, but I disagree this is how it should be handled.
-0.9


[v7] Fix cuSparse build failure on Windows (backport #3690)

Manually backported as CuPy v7 uses CUDA_VERSION but v8 uses CUSPARSE_VERSION.

pfnCI, test this please.

Jenkins CI test (for commit 40d1680ae90432b02a3cbf9b1af0687c169ef2d0, target branch v7) failed with status FAILURE.

pfnCI, test this please.

Jenkins CI test (for commit 40d1680ae90432b02a3cbf9b1af0687c169ef2d0, target branch v7) succeeded!

Jenkins CI test (for commit 40d1680ae90432b02a3cbf9b1af0687c169ef2d0, target branch v7) failed with status FAILURE.


Add cluster liveliness check and add utils directory

What this PR does / why we need it:

Add python script, cluster_health-check.py, using python client library kubernetes  to poll over
cluster and get cluster readiness status
Add functionality in create-k8s_cluster.yaml, viz. Ansible Playbook,
for GCP to create the cluster and wait till its complete readiness
Move namesgenerator.py and it's unit test case to utils

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
N/A
Special notes for your reviewer:

Currently script is utilizing the kubernetes library, and checking the liveliness but kubectl can be also used and same can be achieved by incorporting a shell module inside Playbook, but it will not be idempotent in nature.

LOGS
Create Cluster
#( 08/13/18@11:41PM )( karn@vulcan ):~/Desktop/workspace/github.com/harshvkarn/litmus/k8s/gcp/k8s-installer@cluster-check✗✗✗
   ansible-playbook create-k8s-cluster.yml --extra-vars="project=openebs-ci vpc_name=openebs-e2e k8s_version=1.10.6 nodes=3 cluster_name=karn-test"
 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [localhost] ******************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************
ok: [localhost]

TASK [Generating Random Cluster Name] *********************************************************************************************************
skipping: [localhost]

TASK [set_fact] *******************************************************************************************************************************
skipping: [localhost]

TASK [Creating Bucket] ************************************************************************************************************************
changed: [localhost]

TASK [Creating the Cluster & InstanceGroup objects in our state store] ************************************************************************
changed: [localhost]

TASK [Creating K8s Cluster] *******************************************************************************************************************
changed: [localhost]

TASK [Logging Cluster Name inside] ************************************************************************************************************
 [WARNING]: Consider using the file module with state=directory rather than running mkdir.  If you need to use command because file is
insufficient you can add warn=False to this command task or set command_warnings=False in ansible.cfg to get rid of this message.

changed: [localhost]

TASK [lineinfile] *****************************************************************************************************************************
changed: [localhost]

TASK [Checking Cluster availability] **********************************************************************************************************
changed: [localhost]

TASK [Test Passed] ****************************************************************************************************************************
ok: [localhost]

PLAY RECAP ************************************************************************************************************************************
localhost                  : ok=8    changed=6    unreachable=0    failed=0

Verifying Availability
#( 08/13/18@11:49PM )( karn@vulcan ):~/Desktop/workspace/github.com/harshvkarn/litmus/k8s/gcp/k8s-installer@cluster-check✔
   kubectl get nodes
NAME                        STATUS    ROLES     AGE       VERSION
master-us-central1-a-r7sb   Ready     master    11m       v1.10.6
nodes-m4j8                  Ready     node      11m       v1.10.6
nodes-mmnv                  Ready     node      11m       v1.10.6
nodes-zjfh                  Ready     node      11m       v1.10.6

Deleting Cluster
#( 08/14/18@12:02AM )( karn@vulcan ):~/Desktop/workspace/github.com/harshvkarn/litmus/k8s/gcp/k8s-installer@cluster-check✔
   ansible-playbook delete-k8s-cluster.yml --extra-vars "cluster_name=karn-test"
 [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [localhost] ******************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************
ok: [localhost]

TASK [Fetching Cluster Name] ******************************************************************************************************************
skipping: [localhost]

TASK [set_fact] *******************************************************************************************************************************
skipping: [localhost]

TASK [Deleting Cluster] ***********************************************************************************************************************
changed: [localhost]

TASK [Deleting Bucket] ************************************************************************************************************************
changed: [localhost]

TASK [Deleting SSD/Disks] *********************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "gcloud compute disks delete a-etcd-events-karn-test-k8s-local --zone=us-central1-a -q\n gcloud compute disks delete a-etcd-main-karn-test-k8s-local --zone=us-central1-a -q", "delta": "0:00:02.929354", "end": "2018-08-14 00:06:18.273587", "msg": "non-zero return code", "rc": 1, "start": "2018-08-14 00:06:15.344233", "stderr": "ERROR: (gcloud.compute.disks.delete) Could not fetch resource:\n - The resource 'projects/openebs-ci/zones/us-central1-a/disks/a-etcd-events-karn-test-k8s-local' was not found\n\nERROR: (gcloud.compute.disks.delete) Could not fetch resource:\n - The resource 'projects/openebs-ci/zones/us-central1-a/disks/a-etcd-main-karn-test-k8s-local' was not found", "stderr_lines": ["ERROR: (gcloud.compute.disks.delete) Could not fetch resource:", " - The resource 'projects/openebs-ci/zones/us-central1-a/disks/a-etcd-events-karn-test-k8s-local' was not found", "", "ERROR: (gcloud.compute.disks.delete) Could not fetch resource:", " - The resource 'projects/openebs-ci/zones/us-central1-a/disks/a-etcd-main-karn-test-k8s-local' was not found"], "stdout": "", "stdout_lines": []}
...ignoring

TASK [Removing Cluster Name entry from log] ***************************************************************************************************
changed: [localhost]

TASK [Test Passed] ****************************************************************************************************************************
ok: [localhost]

PLAY RECAP ************************************************************************************************************************************
localhost                  : ok=6    changed=4    unreachable=0    failed=0

Merging this as the review comments have been addressed as part of #82 & this PR has been raised with required changes.


Update to load topics from the responses google sheet

Load topics from responses google sheet
Sort topics alphabetically

This has been deployed to the test environment

@powellkerry  Would you add to the work flow a POST of the support request message to the url https://sreautoanswer01.vercel.app/api/getanswer as json:  {"data":  }   You do not have to check the return  and ignore error, so catch and continue.
Curl example:
curl -d '{"key1":"value1", "key2":"value2xxxxxxxxxxxxxxxxxx"}' -H "Content-Type: application/json" -X POST https://sreautoanswer01.vercel.app/api/getanswer


BUG-Data specification in charts is not homogeneous

Description
If you use an array of dicts in the data property in a chart control, on cannot create the array on the fly, in the control definition.
That is:
If you have:
d1 = { ... }
d2 = { ... }
d = [d1, d2]

Then in the Markdown definition:
<|{d}|chart|...|>

will work, but
<|{[d1,d2]}|chart|...|>

will break (with a very cryptic message).
How to reproduce
Here is some code that reproduces the problem:
from taipy.gui import Gui

x = list(range(10))
y1 = x
y2 = list(reversed(x))

data1 = {
    "x": x,
    "y": y1
}
data2 = {
    "x": x,
    "y": y2
}

data = [data1, data2]

properties = {
    "x[1]": "0/x",
    "y[1]": "0/y",
    "x[2]": "1/x",
    "y[2]": "1/y",
}

page = """
<|{data}|chart|properties={properties}|>

*|{[data1,data2]}|chart|properties={properties}|*
"""

Gui(page).run(run_browser=False)

If you replace the control definition by the second (kinf-of commented out), the application breaks on its first display.
Expected behavior
Both control definitions should behave the same way.

dict are transformed into _MapDict but array are left alone


what is background_raspiblitzSettings.md

There is a reference to: background_raspiblitzSettings.md @rootzoll what's that? :-D
https://github.com/rootzoll/raspiblitz/blob/0d9b8734329a6d35977e9ceedd009576594fd688/home.admin/_bootstrap.sh#L6

outdated reference deleted


Fix plugin

Some flag descriptions have copy/paste error.
pod_status, post-exists have new flags not present in data files.  + icinga commands

Fixed. pr: #114


"media query expression must begin with '('" when using multiple @import directives

I'm currently trying to use a partial css file in two files: one in a main file (named index.sass) and another in a subsidiary file which is also a partial (_header.sass). Code looks as following
index.sass
@import 'header'
@import 'resetWhitespace'

body
  +resetWhitespace

_resetWhitespace.sass
=resetWhitespace
  margin: 0
  padding: 0

_header.sass
@import 'resetWhitespace'

header
  +resetWhitespace
  // More resets than Katarina
  h1, p, aside
    +resetWhitespace

  display: flex
  flex-direction: column
  box-sizing: border-box
  padding-bottom: 5px
  // TODO: load colours from shared stylesheet (or something like that)
  border-bottom: solid 2px black

  aside
    display: flex
    flex-direction: row
    justify-content: space-between
    align-items: flex-start

When including a second @import rule in index.sass, I receive the following error:
@import 'header'
@import 'resetWhitespace'

body
  +resetWhitespace
               ^
      Media query expression must begin with '('
      in /home/projects/dashboard/styles/index.sass (line 1, column 17)
 @ /dashboard/styles/index.sass 4:14-128

This is through webpack, however the webpack lib uses node-sass as the underlying sass parser.
I'm at a loss as to why this is occurring as I am quite obviously not trying to create a media query.
Any ideas?

This appears to be an issue with the SASS loader of sass-loader; setting the syntax to scss works perfectly fine.

Hi @danpantry,
I'm having the same issue. What do you mean by setting the syntax?
Thanks in advance!

Sorry! I see what you mean. You've just changed your file's syntax to SCSS. :)
My problem was being caused by a missing ; on a file using SCSS syntax.
The file was compiling in 3.3.2 but stopped compiling on 3.4.2.

I have the SCSS syntax, but still having the error,
I'm using  "node-sass": "^3.10.1",
 Media query expression must begin with '('
The files are with this structure:
sass
--colors.scss
--main.scss
--typography.scss
In the main file I'm doing the @import 'color' and the typography file, but still getting the error.

I encountered the same problem some days before.
I consider this is a bug that need to repair since I run 'sass' directly in terminal and get a correct .css output.
finally, I found a temp solution without switching to scss syntax:
add  ; in every @import

@stkevintan That is a perfect temp solution.


Unable to Login

I was using this on my previous laptop. Ever since i've changed my laptop it stopped working on new laptop. It shows make sure you are logged in to udemy in chrome and i am already logged in and manual login doesnt work as well due to an error which is already WIP. Any Help

I am busy at the moment. If anyone wants to submit a PR with a fix, they can

sorry to hear that you are not able to solve the issues right now

keep

still unable to use the app . any idea how to trouble shoot


Timeout while searching

Hi, i want to show you my search:
After binding a user in my ldap (success), i try to search a user and this is my search object:
var options = {
base: 'DC=foo,DC=hi,DC=inet',
scope: LDAP.SUBTREE,
filter: '(cn=acme)',
attrs: '*'
}
I'm trying to search user acme in the subtree (it exists), but the api always return after 2.09 segs a timeout:
{ [LDAPError: Timeout] name: 'LDAPError', message: 'Timeout' }
t LDAP.searchTimeout (/home/daniel/workspace/vdc-backend-omdb/node_modules/ldap-client/index.js:257:12)
at Timer.listOnTimeout (timers.js:92:15)
Can i avoid the timeout with a simple parameter in search options like timeout: -1 or something?
Thanks!

i can see that when i do new LDAP i can override timeout and ntimeout properties, maybe this is a solution...

problem solved


Aura of Protection demo needs minimum of +1 CHA applied

Just testing the module and I added the feature to an actor with 9 Charisma, this means<EMAIL_ADDRESS>applies -1 CHA to anyone within the aura when should be +1 minimum
I tried modifying the effect value to +{@abilities.cha.mod,1}kh which seems to work but doesn't look pretty in the chat window.
With Charisma of 9:

With a Charisma of 14

That test was done only with the actor who possessed the aura ability. Doesn't work with other actors who have been given the aura effect.

im afraid this is a limitation of the module, simply replace the +@ability value with 1


Re-arrange hours and pricing

Re-arrange hours and pricing as it makes more sense to ask the minimum amount of time that can be booked before the price is asked about.

:+1:


Add dynamic status updates to machine create, activation, and delete

A user should be able to see status updates regarding  a machine's deployment.
This is supported in cattle by updating the transitioning and transitioningMessage fields.
This change should include logic to convey errors to the user. This can be accomplished by setting transitioning=error and transitioningMessage=<A message describing the error>

#19  (squashed version of #17) partially address this but do not account for errors. Leaving this issue open until we account for errors.

Moving issues into rancherio/rancher.
https://github.com/rancherio/rancher/issues/318


⚠ SolarOscp has degraded performance

In 8626d19, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 297 ms

Resolved: SolarOscp performance has improved in 8408def after 10 minutes.


Communication Between two machines are not happening

Hi @KeplerC
I am trying to establish communication between two ros2 nodes. Both nodes are connected to different access points in different rooms. However the access points are connected with the same subnet.
I tried on machine A
export SGC_CONFIG=talker.toml
export GATEWAY_IP=130.1.1.A
cargo run router

and on machine B
export SGC_CONFIG=listener.toml
export GATEWAY_IP=130.1.1.A
cargo run router

Should we exchange the crypto directory from machine A to B and vice versa or it should be one way?

Yes you should exchange the crypto directory. The 130.1.1.A should be a machine that also runs a copy of SGC that facilitates connection in the middle.
If machine A and machine B are able to connect to google (general internet connection), you can also try our webrtc version: https://github.com/data-capsule/fogros2-sgc. This doesn't rely on hardcoding the IP address and switches in the middle. (but still need to exchange the crypto folder)

Thanks a lot for your reply.
I already tried with the fogros2-sgc. Using the router config as well. For the publisher node
export SGC_CONFIG=talker.toml
cargo run router

and for the subscriber node
export SGC_CONFIG=listener.toml
cargo run router

I have not changed any configuration in the toml files, and even I am unable to see the data exchange between the two nodes. I have followed the readme. Am I missing something?
Out of curiosity, I just wanted to know if there is any documentation on how to set up the SGC proxy and SGC Router.
Some examples might be most useful for a newbie like me.


feat: Implement Withdrawal event

Resolves #233

@Mystic-Nayy Update also in events.py logic
please, read issue description
@Mystic-Nayy Please resolve conflict

@Mystic-Nayy Update also in events.py logic please, read issue description @Mystic-Nayy Please resolve conflict

I am on it sir

@Mystic-Nayy Update also in events.py logic
please, read issue description
@Mystic-Nayy Please resolve conflict

@Mystic-Nayy Please, resolve conflict

@Mystic-Nayy I resolved merge conflict, fix small issues

@Mystic-Nayy and please, tell me how did you test it?


Ensemble method

currently support org transformer and conformer interface

I think this is ready for merge, please take a look @siddalmia

Looks good thanks!


Upgrade from lodash-compat to lodash v4

The isFunction() function in lodash v3 does not properly recognize
async functions in Node.js v7 or later. This is fixed in lodash v4.
Fortunately, the only breaking change that seemed to affect
swagger-tools is the change to module paths for requiring individual
functions.
The lodash-compat module that was used has been deprecated and is no
longer supported. Fortunately, plain lodash seems to work just fine.
Fixes #443

I'll be updating lodash as part of updating all other dependencies.


fixed OnUnitEnterLeave

An update due to bugs discussed in #13 (both should be solved by this).

Can you resolve the notes I made?
Overall, looks okay. I'd probably pay a little overhead to make it more forward declarative intead of recursive. Something like this:
while grp.hasNext()
    evaluate processGroupBatch(grp) // processes at most 50 units in a separate jthread

Looks good enough to me now. @Frotty ?

@IgorSamurovic no UTs? Can you confirm this works for < 50 and > 150 units ?

I have tested this for 30 and 300 units and it works without any problems. I haven't figured out how UTs work in wurst yet.

Tested again with ForGroup, no problems.

Nice, thanks a lot! ♉


Build＿Wallet_connect

[ ] Request form
[ ] Fix title
[ ] Ask in Slack
[ ] JIRA issued
[ ] Prepare with the organizer
[ ] Setting the goal
[ ] Slides
[ ] Movies preparation
[ ] The day!
[ ] PDF release in SlideShare
[ ] Publish the movie
[ ] Subtitle to the movide
[ ] Publish the blog

Details of request

https://github.com/privacy-scaling-explorations/bandada/issues/272


Bug Fix wrong result when use broadcast hash join for naaj

Proposed changes
Issue Number: close #14252
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.37 seconds
load time: 438 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221114122447_clickbench_pr_45691.html


CUDA out of memory in decoding

Hi, I am newer to learn icefall,I finished the training of tdnn_lstm_ctc, when run the decode steps, I meet the following error, I change the --max-duration, there are still errors:
2021-10-04 00:42:07,942 INFO [decode.py:383] Decoding started
2021-10-04 00:42:07,942 INFO [decode.py:384] {'exp_dir': PosixPath('tdnn_lstm_ctc/exp'), 'lang_dir': PosixPath('data/lang_phone'), 'lm_dir': PosixPath('data/lm'), 'feature_dim': 80, 'subsampling_factor': 3, 'search_beam': 20, 'output_beam': 5, 'min_active_states': 30, 'max_active_states': 10000, 'use_double_scores': True, 'epoch': 19, 'avg': 5, 'method': 'whole-lattice-rescoring', 'num_paths': 100, 'lattice_score_scale': 0.5, 'export': False, 'full_libri': True, 'feature_dir': PosixPath('data/fbank'), 'max_duration': 50, 'bucketing_sampler': True, 'num_buckets': 30, 'concatenate_cuts': False, 'duration_factor': 1.0, 'gap': 1.0, 'on_the_fly_feats': False, 'shuffle': True, 'return_cuts': True, 'num_workers': 2}
2021-10-04 00:42:08,361 INFO [lexicon.py:113] Loading pre-compiled data/lang_phone/Linv.pt
2021-10-04 00:42:08,614 INFO [decode.py:393] device: cuda:0
2021-10-04 00:42:23,560 INFO [decode.py:406] Loading G_4_gram.fst.txt
2021-10-04 00:42:23,560 WARNING [decode.py:407] It may take 8 minutes.
Traceback (most recent call last):
File "./tdnn_lstm_ctc/decode.py", line 492, in
main()
File "/opt/conda/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 26, in decorate_context
return func(*args, **kwargs)
File "./tdnn_lstm_ctc/decode.py", line 420, in main
G = k2.arc_sort(G)
File "/opt/conda/lib/python3.8/site-packages/k2-1.8.dev20210918+cuda11.0.torch1.7.1-py3.8-linux-x86_64.egg/k2/fsa_algo.py", line 441, in arc_sort
ragged_arc, arc_map = _k2.arc_sort(fsa.arcs, need_arc_map=need_arc_map)
RuntimeError: CUDA out of memory. Tried to allocate 884.00 MiB (GPU 0; 15.78 GiB total capacity; 14.28 GiB already allocated; 461.19 MiB free; 14.29 GiB reserved in total by PyTorch)
the device used:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.118.02   Driver Version: 440.118.02   CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla V100-PCIE...  Off  | 00000000:3B:00.0 Off |                    0 |
| N/A   27C    P0    25W / 250W |     12MiB / 16160MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla V100-PCIE...  Off  | 00000000:D8:00.0 Off |                    0 |
| N/A   28C    P0    25W / 250W |     12MiB / 16160MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
would you give me some advice？thanks

Another question：we also have machine cluster, but the machine can not set device number
so, should I mask the following lines of code in the decode.py:
if torch.cuda.is_available():
device = torch.device("cuda", 0)

I meet the following error, I change the --max-duration, there are still errors:

There are several things you can do:
(1) Change to a GPU with a larger RAM, i.e., 32 GB.
(2) Use a decoding method that does not involve an LM, i.e., use --method 1best
(3) Change
https://github.com/k2-fsa/icefall/blob/adb068eb8242fe79dafce5a100c3fdfad934c7a5/egs/librispeech/ASR/tdnn_lstm_ctc/decode.py#L423-L424
to
 G = k2.arc_sort(G)
 G = k2.Fsa.from_fsas([G]).to(device)

I assume it will not cause OOM errors in later decoding steps.
(4) Prune your G. You can use the script from https://github.com/kaldi-asr/kaldi/pull/4594 to prune your G.
(Note: It is a single python script, having no dependencies on Kaldi).

should I mask the following lines of code in the decode.py:
if torch.cuda.is_available():
device = torch.device("cuda", 0)

Can you use device = torch.device("cuda") to select your default cuda device.
If you use CPU, it is going to be slow when you decode.

I meet the following error, I change the --max-duration, there are still errors:

There are several things you can do:
(1) Change to a GPU with a larger RAM, i.e., 32 GB. (2) Use a decoding method that does not involve an LM, i.e., use --method 1best (3) Change
https://github.com/k2-fsa/icefall/blob/adb068eb8242fe79dafce5a100c3fdfad934c7a5/egs/librispeech/ASR/tdnn_lstm_ctc/decode.py#L423-L424
to
 G = k2.arc_sort(G)
 G = k2.Fsa.from_fsas([G]).to(device)

I assume it will not cause OOM errors in later decoding steps. (4) Prune your G. You can use the script from kaldi-asr/kaldi#4594 to prune your G. (Note: It is a single python script, having no dependencies on Kaldi).

I try the (3) method, there are still errors:
2021-10-05 00:00:07,427 INFO [decode.py:387] Decoding started
2021-10-05 00:00:07,427 INFO [decode.py:388] {'exp_dir': PosixPath('tdnn_lstm_ctc/exp'), 'lang_dir': PosixPath('data/lang_phone'), 'lm_dir': PosixPath('data/lm'), 'feature_dim': 80, 'subsampling_factor': 3, 'search_beam': 20, 'output_beam': 5, 'min_active_states': 30, 'max_active_states': 10000, 'use_double_scores': True, 'epoch': 19, 'avg': 5, 'method': 'whole-lattice-rescoring', 'num_paths': 100, 'nbest_scale': 0.5, 'export': False, 'full_libri': True, 'feature_dir': PosixPath('data/fbank'), 'max_duration': 100, 'bucketing_sampler': True, 'num_buckets': 30, 'concatenate_cuts': False, 'duration_factor': 1.0, 'gap': 1.0, 'on_the_fly_feats': False, 'shuffle': True, 'return_cuts': True, 'num_workers': 2}
2021-10-05 00:00:07,947 INFO [lexicon.py:113] Loading pre-compiled data/lang_phone/Linv.pt
2021-10-05 00:00:08,310 INFO [decode.py:397] device: cuda
2021-10-05 00:00:46,069 INFO [decode.py:410] Loading G_4_gram.fst.txt
2021-10-05 00:00:46,070 WARNING [decode.py:411] It may take 8 minutes.
Traceback (most recent call last):
File "./tdnn_lstm_ctc/decode.py", line 497, in
main()
File "/opt/conda/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 26, in decorate_context
return func(*args, **kwargs)
File "./tdnn_lstm_ctc/decode.py", line 435, in main
G = k2.add_epsilon_self_loops(G)
File "/opt/conda/lib/python3.8/site-packages/k2-1.8.dev20210918+cuda11.0.torch1.7.1-py3.8-linux-x86_64.egg/k2/fsa_algo.py", line 499, in add_epsilon_self_loops
ragged_arc, arc_map = _k2.add_epsilon_self_loops(fsa.arcs,
RuntimeError: CUDA out of memory. Tried to allocate 4.73 GiB (GPU 0; 15.78 GiB total capacity; 9.21 GiB already allocated; 3.90 GiB free; 10.85 GiB reserved in total by PyTorch)
I think I should try the (1)


feat: duplicate route name failing test

Proposed changes
This PR is the starting point to prevent duplicated route name. I don't have a fix for this failing test at the moment since you register the route before assigning it a name. I need your opinion if this is an issue, and when you want to throw an exception ?
Route.get('/users', () => '').as('users.index')
Route.get('/users', () => '').as('users.index')

Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have read the CONTRIBUTING doc
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)

Thanks! 💜


feat: delete records endpoints

Description
This PR adds two new endpoints for deleting records:

DELETE /api/v1/records/{record_id}: for removing a specific record given its ID.
POST /api/v1/datasets/{dataset_id}/records/bulk-delete: for removing a list of records given their IDs and their dataset ID.

Closes #3310
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested
Manually in a local environment and I've added unit tests.
Checklist

[ ] I added relevant documentation
[x] follows the style guidelines of this project
[x] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I filled out the contributor form (see text above)
[x] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

I think makes sense to return in the future a 422 when bulk_delete with non-existing records.

Shouldn't we return 404 in that case? As we want to state that the introduced record IDs were not found, right?


Add downsampling

The QC requirements for our uploaded sequences include an upper limit on depth of coverage (~300x max).
We could down-sample any high-coverage samples before uploading, to ensure that we don't send data that exceeds the maximum coverage.

We should be able to set the maximum depth-of-coverage threshold independently for each project.


Share build outputs instead of building the library 3 times in separate workflows

All 3 workflows, assemble, check and docs require downloading dependencies and building the libraries. This is because assembling .frameworks, running tests and building docs all rely on xcodebuild. Because they all need the same build output, they should ideally share them instead of re-creating them in 3 separate workflows. We could do this by sharing files between workflows, or by moving all workflows into one and just running them serially.
PS: This would reduce the cost of CI by approximately 3x. Probably from $0 to $0. The main benefit of doing this is resource usage: sometimes a workflow is stuck without doing any real work (it might be waiting for free capacity).
┆Issue is synchronized with this Jira Task by Unito

WDYT? @QuintinWillison @lawrence-forooghian @maratal

Whether it'd cause errors or not, I don't know.
Before investing time to share files between workflows, we could test it out by trying to combine all of the workflow files into a single workflow, and seeing if that reduces the execution time of the individual steps or not.
We haven't implemented anything like this on ably/ably-cocoa – we've been happy until now to duplicate work between jobs.

I've only just seen this issue. It's noise and counter to the direction I'm taking the SDK Team in, as a whole, in respect of our use of GitHub workflows.


Free Spacer RPG sheets, version 1.70 - Bug Fixes and new NPC sheets

Merge from the correct Branch to fix Pull Request #5947, which was merged from an old branch
Bug Fixes

Fixed broken Association pips
Fixed broken Resilience slot selector pip

NPC Sheets

Added Gamemaster tabs for all NPC sheets
The Sophont Log is used to track individual significant people of any species.
The Composite Sophont sheet is used by the Gamemaster to track multiple less significant and similar people.
The Swarm tab tracks swarms of tiny creatures that only become a threat together.
The Creature tab tracks multiple similar creatures.
The Drone tab track groups of drones.
There Several other sheets in process, which will be added soon and the tabs for these sheets are included.

Please, list this Character Sheet with the by publisher sheets. This sheet was created by the Publisher Random Alien Games for Roll20

NPC Sheets

Updated Json file to reflect the completed Gamemaster NPC sheets
Added Small craft log
Added Shuttle log
Added Behemoth log
Added Ship log for NPC ships
Added Capital ship log
Tweaked Armour printer on Launchbay Tugon the Contingency type Corvette
Updated all image references to link to

@clevett Please add the Free Spacer sheet to the list of Publisher made sheets


Feature/add logging and tests

Codecov Report
Attention: Patch coverage is 0% with 29 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@eb8bff7). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

polytope_mars/api.py
0.00%
29 Missing :warning:

Additional details and impacted files
@@            Coverage Diff            @@
##             develop     #17   +/-   ##
=========================================
  Coverage           ?   1.65%
=========================================
  Files              ?      13
  Lines              ?     303
  Branches           ?       0
=========================================
  Hits               ?       5
  Misses             ?     298
  Partials           ?       0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Deployment Failure Reason: Web app warm up timed out. Please try again later.

---End of Oryx build logs---
Web App Runtime Information. OS: linux, node version: 16
Finished building function app with Oryx
Zipping Api Artifacts
Done Zipping Api Artifacts
Zipping App Artifacts
Done Zipping App Artifacts
Uploading build artifacts.
Finished Upload. Polling on deployment.
Status: InProgress. Time: 0.2084609(s)
Status: InProgress. Time: 15.3817688(s)
Status: InProgress. Time: 30.574053(s)
Status: InProgress. Time: 46.0407999(s)
Status: InProgress. Time: 61.2097845(s)
Status: InProgress. Time: 76.400824(s)
Status: InProgress. Time: 91.5719468(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time: 152.434885(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time: 182.875611(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time: 243.807414(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time: 395.868632(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: InProgress. Time:<PHONE_NUMBER>(s)
Status: Failed. Time: 593.238822(s)
Deployment Failed :(
Deployment Failure Reason: Web app warm up timed out. Please try again later.
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting
##[debug]Docker Action run completed with exit code 1
##[debug]Finishing: Build And Deploy

Same issue here...
Previously had an error for the node version, but added "engines": { ... } to the package.json and that error was gone, but now I'm getting this Deployment Failure Reason: Web app warm up timed out. Please try again later. error.

Same issue here

Same issue here

Same issue here. It was working fine for days and then randomly stopped yesterday. I even reverted to the last successful commit that deployed and it won't deploy.

I had the same issue, but once I updated the Next build to build the app with the standalone mode, the deployment started working for me.
Here are the steps that you can do.
next.config.js
const nextConfig = {
    output: "standalone"
};

package.json
    "scripts": {
        "build": "next build && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone/"
    }

azure-pipeline.yml
                app_location: "/" # App source code path
                api_location: "" # Api source code path - optional
                output_location: "" # Built app content directory - optional
                app_build_command: "npm run build"
                api_build_command: "rm -rf ./node_modules/@next/swc-* && rm -rf ./.next/cache"


Uncaught TypeError: Cannot read property 'top' of undefined

materialize.js:1456 Uncaught TypeError: Cannot read property 'top' of undefined

Can you post a codepen reproducing the error.

Unfortunately not, I was too busy fixing issues to make a codepen and already fixed it with the proposed solution.

I've the same issue, to reproduce the error: goto input ('.select2-search__field') in select2, type any word, no include in lis, and then push arrow up.
for example: go to examples page: https://select2.github.io/examples.html, and go to The basics\Single select boxes\ and turn it into this... ; open select2 Alaska, and type 'sjdlkjsdlkfjsdlkjfls' and then press keyup.

Please provide a way to reproduce it. like a codepen
Closed due inactivity, feel free to reopen it if it is still necessary.


Goblin Alchemist hotkey doesn't match button position

Not sure what this is?

found it

i dont see any bug

Must be an old ticket.


Sanitization facility

Let me find fixme, and implement it

@AminPlusPlus It seems you may have pushed the wrong branch. Would you be able to push the correct changes to this branch?

@AminPlusPlus Quick Ping about this branch, can you push the relevant changes?

For now, I don't have any changes


PowerToys breaks Stardock Fences 2

crutkas: updated title / body for clarity

Environment
PowerToys version: 0.15.2

Steps to reproduce
have PT 0.15.2 side by side with Fences 2
Expected behavior
both work
Actual behavior
didn't work, have to Uninstalling PT to fix Fences 2.

Hi! Developer of Stardock Fences here. Just tried it out with v2 and not able to reproduce the issue. W10 v1909 Build 18363 (current), PowerToys v0.15.2 (current), and the final version of Fences v2 before v3 which was v2.13.
Let me know if this isn't the version you have, or if any other suggestions/steps to reproduce? (@crutkas, seeing anything on your side? Can send v2/v3 licenses for in case this hits your radar. Love your team's work 🥳) Ty much!

@JeffBargmann that actually would be helpful. Let’s sync over email<EMAIL_ADDRESS>Since you can’t repo, I am going to say can’t repo. @JimSpeed we need more info. Please respond and we’ll reopen.

Using Fences 2.13, PT 0.15.2-x64, and Win 18363.  Upgraded to Win build 13863 two days ago, now, I can't reproduce issue.

@jimspeed do you know what version of windows you were on before?  13863 is 1909, so maybe 1903?

I thought you might ask.  Sorry, I’d be guessing.  1903 is a possibility.  All of my desktop icons were placed in six icon-size small fences that behaved as scrollable menus.  After installation of PT they were all over the desktop.
Jim
https://JHensinger.org https://jhensinger.org/
From: Clint Rutkas<EMAIL_ADDRESS>Sent: Tuesday, March 17, 2020 12:34
To: microsoft/PowerToys<EMAIL_ADDRESS>Cc: JimSpeed<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] PowerToys breaks Stardock Fences 2 (#1528)
@JimSpeed https://github.com/JimSpeed  do you know what version of windows you were on before? 13863 is 1909, so maybe 1903?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/1528#issuecomment-600231685 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAD2WYWWQRK4FT6XPNJOQ3RH67AZANCNFSM4LFGOAEA .  https://github.com/notifications/beacon/AFAD2W3CIDNBO6FH5KQ7IQ3RH67AZA5CNFSM4LFGOAEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEPDM6BI.gif


Wrong capitalization when using keyboard.type with snippet that ends in uppercased letter.

If a script snippet ends with an uppercase letter or a symbol that needs shift (eg: @@) when using keyboard.type('text') the text will start to be typed as an uppercased text.
It would be nice if it followed the exactly text it was passed to the function.

@fcrespo82 Hmm, that might be tricky since the user is still holding down "shift" when the script starts typing.
I'll have to test to see if we can make the assumption to "release" all modifiers after a snippet is detected.


Two or more fontello fonts with different font-family names

Hello..
If I use more than one fonts with different font-family names on my page – I get a bug. I see icons from first loaded css, for example:
font1.css:
@font-face {
  font-family: 'CUSTOME_NAME';
  src: url('../fonts/FONT1.woff2?23577030') format('woff2'),
....
}

and font2.css:
@font-face {
  font-family: 'CUSTOME_NAME_2';
  src: url('../fonts/FONT2.woff2?23577030') format('woff2'),
....
}

If I use same name – all fine. But I need use different names.
Help me please with link to fix, because I didn't find answer. Thank you.

You should update rule like this. For example, move it to separate class, and define icon via 2 classes.


melt: 0.5.0 -> 0.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/charmbracelet/melt/releases.
meta.description for melt is: Backup and restore Ed25519 SSH keys with seed words
meta.homepage for melt is: https://github.com/charmbracelet/melt
meta.changelog for melt is: https://github.com/charmbracelet/melt/releases/tag/v0.6.0
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.0 in filename of file in /nix/store/c4j090nka5gcysj560l5b38sf3fcjnwp-melt-0.6.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
melt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c4j090nka5gcysj560l5b38sf3fcjnwp-melt-0.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A melt https://github.com/r-ryantm/nixpkgs/archive/e6b0c49eb928548e0ed271cdcfc8c8a4ac18d353.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e6b0c49eb928548e0ed271cdcfc8c8a4ac18d353#melt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c4j090nka5gcysj560l5b38sf3fcjnwp-melt-0.6.0
ls -la /nix/store/c4j090nka5gcysj560l5b38sf3fcjnwp-melt-0.6.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

melt

Maintainer pings
cc @penguwin for testing.

Result of nixpkgs-review pr 264525 run on aarch64-darwin 1

1 package built:

melt


Added RSS feed (closes #557)

Closed in favor of https://github.com/EnMarche/en-marche.fr/pull/638


My works on this project. I think we should add data files here to track changes on them. Data files may need to change in time and client depends data files.

The data files where originally in the repo but I decided to remove them because they were taking up way too much space. What sort of modifications to the data files are you suggesting? The idea I had in mind was that people should be able to just use the stock 1298 data files.

Maybe we can create another repo for the data files ?

By the way, @d5dl2 you don't need to leave your signature to every code that you have written, github already does that job.

Ok, thanks. In character create screen, informations of classes and races was doesnt work. I fix it on
59da83c commit. In data files, Karus Puri Tuarek information was in Korean Lang. I translated it to English on Text_us.tbl. Also i changed nation select screen data files (Co_nationselect_us.uif and some dxt's..) from another data files. Because nation select screen was not worked and i was cant find the way to fix it. With these commits, nation select and character create screens works pretty well. I can add images if you need it.

Ok sounds good. And we can add another repo for data files but I think sticking with the default 1298 files works just as well.
Here are some links to data files:
http://stephenmeier.net/files/data.zip
http://stephenmeier.net/files/data_1298.zip
In case you don't have them already. I think the "data.zip" might actually be 1264. Those might be the data files I was originally using btw.

Ok, ill check if data_1298.zip may work with orginal code or with changes. Ill try to not update data files unless it is really important.

Gönderen: Stephen Meier<EMAIL_ADDRESS>Gönderildi: 25 Ağustos 2017 Cuma 16:44
Kime: srmeier/KnightOnline
Bilgi: d5dl2; Mention
Konu: Re: [srmeier/KnightOnline] My works on this project. I think we should add data files here to track changes on them. Data files may need to change in time and client depends data files. (#69)
Ok sounds good. And we can add another repo for data files but I think sticking with the default 1298 files works just as well.
Here are some links to data files:
http://stephenmeier.net/files/data.zip
http://stephenmeier.net/files/data_1298.zip
In case you don't have them already. I think the "data.zip" might actually be 1264. Those might be the data files I was originally using btw.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/srmeier/KnightOnline/pull/69#issuecomment-324924409, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcX45bNgLxP9s8eeCOGbmIPwyNlZMrntks5sbs_UgaJpZM4PBylz.

Assets introduce repository bloat. Git was not designed for dealing with binaries.
There are ways of getting around this, but ultimately I agree with @srmeier; we should just be using the official 1.298 data files. Having to modify these data files remains outside of the scope of the project; the project is designed to support them as they are.

Just tested and this data.zip that I just uploaded works
http://stephenmeier.net/files/data.zip


[WIP] Feature:freehand dispatcher changes

I'll tag you as a reviewer when I wrap up @JamesAPetts

Specialty Tools take priority over other tools; they can choose to preventPropagation if they'd like
For AnnotationTools, we first check handles:

Which tools have handles near our point?
Which tool should we use? (For now, first one in array)
Use mouseDownCallback if it's defined, or handleMover

Then we check PointNearTool:

Which tools have are near our point?
Which tool should we use? (For now, first one in array)
Use mouseDownCallback if it's defined, or moveAllHandles handle mover

Misc. thoughts to munch on:

We drop isValidTarget and let the tool handle that internally. The tool can exit early and the eventDispatcher will continue to check other tools.
We remove the mouseDownCallback from the handle and pointNearTool calls. Annotation tools probably shouldn't deviate, or if they do it should be with a different callback name, or an additional prop passed to the the callback?

In general mouseDown is used to move or manipulate existing tool data, and mouseDownActivate is used if no existing data can be manipulated to create new data. Does freehand follow that convention? If not, why? (Is it mostly due to limitations of a multi-step tool? Can we lock freehand into its own loop in mouseDownActivate instead?)

@dannyrb, going to review this now so you can wake up to lots of feedback!
Firstly, in regards to your comment:

Does freehand follow that convention? If not, why? (Is it mostly due to limitations of a multi-step tool? Can we lock freehand into its own loop in mouseDownActivate instead?)

Freehand does work in the same way. Short answer: mouseDownActivate creates freehand data, and mouseDown is used to manipulate existing data. Longer answer: The only issues that arose with the freehand tool are that to manipulate existing data, the user can insert a point in the tool by ctrl+clicking near a line. The tool has its own internal logic to check whether the projected distance from the line is within a certain threshold, yet no handle is actually clicked on. This functionality should easily fit in the proposed framework though.


Idea dumping ground

[ ] Example of using a Spacedrive style library-filter system in the docs and examples folder - In comment below

import { ProcedureDef, ProceduresDef } from "@rspc/client/src/bindings";
import {
  FilterData,
  Mutations,
  Queries,
  Subscriptions,
} from "@rspc/client/src";

interface LibraryArgs<T> {
  library_id: string;
  arg: T;
}

type StripLibraryArgsFromInput<T extends ProcedureDef> = T extends any
  ? T["input"] extends LibraryArgs<infer E>
    ? {
        key: T["key"];
        input: E;
        result: T["result"];
      }
    : never
  : never;

type LibraryProcedures
 = Exclude<
  Extract<P, { input: LibraryArgs<any> }>,
  { input: never }
>;

type AsLibraryProcedure
 = StripLibraryArgsFromInput<
  LibraryProcedures

>;

type LibraryProceduresFilter
 = {
  queries: AsLibraryProcedure<Queries
>;
  mutations: AsLibraryProcedure<Mutations
>;
  subscriptions: AsLibraryProcedure<Subscriptions
>;
};

const LIBRARY_ID = "lmaoo";

export const libraryProceduresFilter =
(
  p: FilterData

): FilterData<LibraryProceduresFilter
> => {
  return {
    ...p,
    procedureKey: [
      p.procedureKey[0],
      { library_id: LIBRARY_ID, args: p.procedureKey[1] ?? null },
    ],
  };
};


ci: add unsupported build to CI

Pinging @cristianciutea just in case he can make a very quick review and ensure this way of building the agent is not complete nonsense :)


Missing a letter

This document is missing the definition of the letter 'b' in the VMs name.

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

ID: f37ee1ab-c897-d429-7182-51a051234be3
Version Independent ID: 7063820e-6a32-a367-e7dc-d42df7ddb949
Content: Azure VM sizes naming conventions - Azure Virtual Machines
Content Source: articles/virtual-machines/vm-naming-conventions.md
Service: virtual-machines
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@markgar I'm having a hard time thinking of an example with a lower case "b" in the name.  Are you aware of one?

https://docs.microsoft.com/en-us/azure/virtual-machines/ebdsv5-ebsv5-series#ebdsv5-series

@markgar Perfect.  Thank you!

@markgar, "b" refers bandwidth and I'm in the process of getting additional details.

Just out of curiosity, is there somewhere in this issue that reference the changes (if any) were made to the document?

@markgar, the PR should go live shortly but this is what was added: "b = Block Storage performance".

That's great.  I'm learning more about how we use Github for these sorts of changes so I was wondering if there was a way for me to see it, that's all.  If the PR is linked from this issue maybe.

@markgar, my apologies!  Usually I add a summary of the change in public comments but there's a difference between what you and I see in the conversation history and that was skipped this time around.


When change the orientation of app the camera rotated to 90deg more 🐛

What's happening?
I need to get capture proper orientated image but it not work always. look like every orientation not working.
But when I used 2.15.2 version there is no problem at all but there is a some performance issue because  I think it would be a new ios updates

Reproduceable Code
let device = useCameraDevice("back", [
    {
      physicalDevices: ["ultra-wide-angle-camera"],
    }
  ]);

 const format = useCameraFormat(device, [
    { fps: 240 },
    { photoHDR: true },
    { photoResolution: "max" }
  ]);

<Modal visible supportedOrientations={["portrait", "landscape"]}>
<ReanimatedCamera
            ref={camera}
            fps={fps}
            isMultiCam
            supportsFocus
            style={styles.mainCamera}
            device={device}
            enableDepthData
            photo={true}
            enablePortraitEffectsMatteDelivery
            lowLightBoost={device.supportsLowLightBoost}
            isActive={true}
            enableZoomGesture={false}
            orientation="portrait"
            focus={touchCode}
            animatedProps={animatedProps}
            enableHighQualityPhotos={true}
            format={format}
          >
            <View style={styles.capture_view}>
              <TouchableOpacity
                onPress={() => takePicture(camera)}
                style={styles.capture}
              />
            </View>
          </ReanimatedCamera>
</Modal>

Relevant log output
height: 1080
thumbnail: null
isRawPhoto: false
width: 1920
isMirrored: false
path: "/private/var/mobile/Containers/Data/Application/B685F597-8B3F-45BD-BFF7-E08EC2DCF369/tmp/ReactNative/967984AE-F0BF-49B0-B921-44CF936D9DBB.jpeg"
orientation: "landscape-right"
metadata: {DPIWidth: 72, Orientation: 6, {Exif}: {…}, DPIHeight: 72, {TIFF}: {…}, …}

VisionCamera.configureDevice(configuration:): Configuring Camera com.apple.avfoundation.avcapturedevice.built-in_video:0...
VisionCamera.configure(_:): Committed AudioSession configuration!
VisionCamera.configureDevice(configuration:): Successfully configured Input Device!
VisionCamera.configureOutputs(configuration:): Configuring Outputs...
VisionCamera.configureOutputs(configuration:): Adding Photo output...
VisionCamera.configureOutputs(configuration:): Successfully configured all outputs!
VisionCamera.onSessionInitialized(): Camera initialized!
VisionCamera.withSessionLock(_:): Committed CameraSession configuration!
VisionCamera.withDeviceLock(_:): Beginning CaptureDevice configuration...
VisionCamera.configureFormat(configuration:device:): Configuring Format (1920x1080 |<EMAIL_ADDRESS>(ISO: 18.0..720.0, Pixel Formats: [VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.rgb, VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.rgb]))...
VisionCamera.configureFormat(configuration:device:): Successfully configured Format!
VisionCamera.withDeviceLock(_:): Committed CaptureDevice configuration!
VisionCamera.withDeviceLock(_:): Beginning CaptureDevice configuration...
VisionCamera.withDeviceLock(_:): Committed CaptureDevice configuration!
BUG IN CLIENT OF UIKIT: Setting UIDevice.orientation is not supported. Please use UIWindowScene.requestGeometryUpdate(_:)

Camera Device
isMultiCam: false
formats: (48) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
name: "Back Camera"
hasFlash: true
id: "com.apple.avfoundation.avcapturedevice.built-in_video:0"
minZoom: 1
neutralZoom: 1
supportsFocus: true
supportsRawCapture: false
physicalDevices: ["wide-angle-camera"]
maxZoom: 67.5
supportsLowLightBoost: false
sensorOrientation: "landscape-right"
hardwareLevel: "full"
hasTorch: true
position: "back"

Device
iPad pro 11-inch (3rd generation)
VisionCamera Version
3.5.0 and 3.5.1
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Orientation is not yet fully implemented. This is the first pinned issue in this repo. https://github.com/mrousavy/react-native-vision-camera/issues/1891
Also;

🙃

Then Why are u guys closing the ticket?

"u guys"? I'm just one guy my friend.
Closing it because it is a duplicate

Okay. How do I get the update after u implemented the orientation properly? Does this get much more time to fix?

https://github.com/mrousavy/react-native-vision-camera/issues/1891
Found.
I also try to change the swift code. but it did not give any results. But when comes to the old version (2.15.2) which I used once it works properly.
Did you compare that one?
I'm not diving a lot more into that but maybe there is something can find my friend.


testing juriscraper/opinions/united_states/state/okla.py broken in 2019

While testing miss oral argument scrapers, I noticed that tests were failing on okla.
When I changed the year, the tests passed.
index 0329c0b9..9c7e9f6d 100644
--- a/juriscraper/opinions/united_states/state/okla.py
+++ b/juriscraper/opinions/united_states/state/okla.py
@@ -18,6 +18,9 @@ class Site(OpinionSite):
         super(Site, self).__init__(*args, **kwargs)
         self.court_id = self.__module__
         year = date.today().year
+        # FIXME: tests break if year is greater than 2018
+        if year > 2018:
+            year = 2018
         self.elements = []
         self.len_elements = 0
         self.regex = r'([^,]+), (\d{2}.\d{2}.\d{4}), (.*)'

thanks for the heads up, Ill fix this shortly

This issue makes me very happy. Thank you both.


Focus changes when adding items via on-screen keyboard

Pressing the return key to add a new task item will change focus away from the editTextView and to the top task item's checkbox.

Fixed in 8040c20. The editText field for adding new task now receives focus again immediately after submitting a new task via the onscreen keyboard.


TypeError: this.getPlacementOfWidget(...) is null

Hi, I added the plugin but upon selecting a word and clicking the "Define" button from the contextual menu, nothing happens. In the console I see the following entry being added:
TypeError: this.getPlacementOfWidget(...) is null[CustomizableUI.jsm:2043:21](resource:///modules/CustomizableUI.jsm)
    showWidgetView resource:///modules/CustomizableUI.jsm:2043
    handleWidgetCommand resource:///modules/CustomizableUI.jsm:2074
    handleWidgetCommand self-hosted:1285
    triggerAction chrome://browser/content/parent/ext-browserAction.js:363
    openPopup chrome://browser/content/parent/ext-browserAction.js:663
    openPopup self-hosted:1181
    result resource://gre/modules/ExtensionParent.jsm:935
    withPendingBrowser resource://gre/modules/ExtensionParent.jsm:491
    result resource://gre/modules/ExtensionParent.jsm:935
    callAndLog resource://gre/modules/ExtensionParent.jsm:897
    recvAPICall resource://gre/modules/ExtensionParent.jsm:934
    AsyncFunctionNext self-hosted:692

The browser I'm running is Firefox 91.9.0esr. Please help.

Hi, please put the Contextual Wiktionary popup button on your toolbar and try using the context menu 'define' again.

Hi, thank you, it works now! Not sure if the issue shouldn't remain open as it's unclear that the plugin's button needs to be placed on the toolbar. I don't remember removing it after the installation so it looks like it's not added automatically. It would be nice if the plugin worked without that need or at least handle that error and display a message with that instruction.

This has happened before, and I'm fairly convinced it's a FIrefox bug; I plan to refactor the code in a couple of months because it's more or less just black magic to me at this point, which also means it's a bit difficult for me to raise an issue on Firefox's issue tracker.


Question: Download from S3 bucket with non public ACL

Is it possible to use haneke to download an image from a non public S3 URL by reading the configuration from S3 like you would normally do with the AWS SDK
var transferManager: AWSS3TransferManager = AWSS3TransferManager.defaultS3TransferManager()
var uploadRequest: AWSS3TransferManagerUploadRequest = AWSS3TransferManagerUploadRequest()

You will have to implement your own fetcher. They're extensible to support use cases like this. Check out the source and if you hit any roadblocks, feel free to open another issue.


[Feature] Support deleting all UDF jar caches at be startup

Why I'm doing:
We often use java udf and often create, update, and delete udf. However, we find that no matter how we restart be, the previously cached udf jar file will not be deleted and will occupy a lot of space over time. Therefore, we hope to be able to use it every time. Clear it every time you restart be to avoid useless jar files taking up disk space.
What I'm doing:
All jar packages are deleted during be UserFunctionCache init, and a config configuration is added to control whether to enable this function.
Fixes #issue
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@imay @kangkaisen Could you please review it again?


Generalize SelectionFilter tests within UTxOIndexSpec.

Issue Number
ADP-1419
Summary
This PR follows on from #3217. It:

Replaces all prop_selectRandom_one* properties with a generalized prop_selectRandom property.
Replaces all prop_selectRandom_all* properties with a generalized prop_selectRandom_all property.

In both cases, we use coverage checks to verify that we maintain the same coverage as before.

bors r+

bors r+


Update https://kubernetes.io/docs/tasks/administer-cluster/nodelocaldns/

This is a Feature Request

What would you like to be added
Adapt page about node-local DNS (content/en/docs/tasks/administer-cluster/nodelocaldns.md) to follow docs style guide.

use a feature-state shortcode to indicate level of support.
I recommend replacing “dns” with “DNS” everywhere that's English text.
consider using glossary tooltips for terms such as DaemonSet
Explain or reword terms like “current” and “today's architecture” to avoid statements about the future
Restructure this page as a task
Explain prerequisites
Document what a cluster operator must do in order for KUBE_ENABLE_NODELOCAL_DNS=true go run hack/e2e.go -v --up to have the effect the expected
Consider converting the diagram to PNG or SVG
Consider altering other pages about CoreDNS / cluster DNS to have a link to this task page.

Why is this needed
These are nice-to-have improvements that should make the documentation more approachable.
/priority backlog
Comments
With PR #14625 merged, there is room to tweak the wording.

/remove-lifecycle rotten

Also see ##15461

/remove-lifecycle stale


JOSS paper submission

This issue is being created to track the initial submission of the paper to the Journal of Open Source Software

This has been done! See https://joss.theoj.org/papers/10.21105/joss.06889 or https://doi.org/10.21105/joss.06889 for the published paper.


fix(chat): fixed profile image not displaying properly on disconnect

In the chat example, the profileImageURL is not sent to clients when a user disconnects.
Before:

After:

LGTM


Support AzureAD (Entra) based authentication for Azure OpenAI

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
Whilst you can easily create many api keys on OpenAI, you only have two keys on Azure OpenAI and you're encouraged to use AzureAD authentication that would require the clientID, tenantID, and secretkey. Would you be able to add something to support this?
Solution
Example in Python:
Import the required modules
import os
import sys
import openai
import IPython
from azure.identity import AzureCliCredential, ChainedTokenCredential, ManagedIdentityCredential, EnvironmentCredential
Set the client and api key
os.environ['AZURE_TENANT_ID'] = ''
os.environ['AZURE_CLIENT_ID'] = ''
os.environ['AZURE_CLIENT_SECRET'] = ''
Define strategy which potential authentication methods should be tried to gain an access token
credential = ChainedTokenCredential(ManagedIdentityCredential(), EnvironmentCredential(), AzureCliCredential())
access_token = credential.get_token("https://cognitiveservices.azure.com/.default")
Configure OpenAI SDK to use the access token
openai.api_base = ""
openai.api_version = '2023-07-01-preview'
openai.api_type = 'azure_ad'
openai.api_key = access_token.token

I just realized that we can add interactivelogin as well!

Going to try working with the config.ts file locally

I forked and made modifications to the core/openai.ts file using @azure/identity. Works like a charm 🕺🏻 . Just need to manage the storage of the token until expiry, etc..

Done :) It prompts for interactive browser login via Azure and then uses the token to interact with the LLM until the token expires. You might have a different/better way to implement it 😄 .  I'm a Pythonista mainly 😆
https://github.com/continuedev/continue/pull/761

Hi @elabbarw I'd like to setup continue with Azure AD authentication, does your implementation in PR #761 still work?

Hi @elabbarw I'd like to setup continue with Azure AD authentication, does your implementation in PR #761 still work?

Hey, sorry for the delay as I don't usually open the email linked with GitHub. Yes, it works perfectly fine but only on the VS Code version of the plugin. I scrapped the idea of customizing Continue as we ended up just deploying an internal AI gateway and gave the developers API keys to use whatever plugin they wanted.
All the best!


[4pts] Create Recipe details page (Member B)

Requirements

Recipe details:

Should display a toggle button that allows for a recipe to be made public or private.
If the recipe is public or the user is the owner of the recipe, should display the recipe details as in the wireframe.
If the user is the owner of the recipe, should lead to the form that allows the user to add new food.

Tasks

[ ] Create a view to display a recipe
[ ] Create a toggle button
[ ] Create a form to add new food

Wireframe


Implement Rotation

Zebra allows us to rotate few elements with a parameter which isn't possible to set on BinaryKits.Zpl today.
Would be great if there's a parameter to rotate the elements like text, barcode and so.

FieldOrientation can already be passed to the constructor of each Label Element that supports it.


Media files resize

Is this related to a new or existing Amplify category?
storage
Is this related to another service?
CloudFront, Lambda, S3
Describe the feature you'd like to request
Hey there!
It would be really great if CLI could set up and deploy infrastructure on top of S3 for media files resize. GCP has something like that out of the box, example (try to play with params at the end of the string):
https://lh3.googleusercontent.com/WmJJjWzS9MZbwP-aczHg_a9WtJINdcmbtfS4seC3dj0MNgTCkjEAJQPZ1gCvSknhhi5GaIF_l_TZ3WaEGJW1izqyaMKwbX5F9V7qewA=w600

https://lh3.googleusercontent.com/WmJJjWzS9MZbwP-aczHg_a9WtJINdcmbtfS4seC3dj0MNgTCkjEAJQPZ1gCvSknhhi5GaIF_l_TZ3WaEGJW1izqyaMKwbX5F9V7qewA=s300-c

AWS multiple times tried to suggest a solution for this problem (https://github.com/awslabs/serverless-image-handler and some other articles) which could be integrated into Amplify package in order to provide a full toolbox for a modern application.
Describe the solution you'd like
A very simple and bulletproof solution:

A CLI deploys a CloudFront for serving and caching compiled images.
A lambda function that resizes and converts an image to a better format (webp maybe)
All that connects to storage created with CLI

For example, if a key of a gif file is "funny_cat.gif" then a correct URL to a CloudFront will return a resized and cropped (possibly with the use of AWS Rekognition to find a center) gif version of "funny_cat.gif" file stored in S3:
images.myapp.com/funny_cat.gif=s200-cthe
The result will be cached by CloudFront
If a file cannot be converted - the original file will be returned.
HTTP 404 in case the file was not found in S3.
Describe alternatives you've considered
https://github.com/awslabs/serverless-image-handler
https://uploadcare.com
https://cloudinary.com
https://cloud.google.com/appengine/docs/standard/go111/images
Additional context
There're many open-source projects that can be used for the transformation part:
https://github.com/uploadcare/pillow-simd?ref=stackshare
https://github.com/lovell/sharp/
https://github.com/libvips/libvips
In case S3 was set up to serve files based on IAM, auth should be taken into concern.
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

cc @pananapread

This would have been very useful....it took a lot of time to get my app setup to do this...

@renebrandel possible alternative option for Nextjs applications - provide support of next/image hosted on Amplify https://nextjs.org/docs/basic-features/image-optimization


EF Core custom query compiler and Future/FutureValue extensions

When implementing custom query compiler for ef core and then using Future() extension method resulting query returns NullReferenceException: Object reference not set to an instance of an object.
It looks lke Z.EntityFramework.Plus.InternalExtensions.IsInMemoryQueryContext method can't get replaced query compiler.
IsInMemoryQueryContext source code
Stack trace:
NullReferenceException: Object reference not set to an instance of an object.
Z.EntityFramework.Plus.InternalExtensions.IsInMemoryQueryContext(IQueryable query)
Z.EntityFramework.Plus.QueryFutureExtensions.Future(IQueryable query)
Startup.cs:
services.AddDbContextPool<Context>(options =>
{
    options.UseSqlServer(_connectionString);
    options.ReplaceService<IQueryCompiler, CustomQueryCompiler>();
});

Query:
var test = ctx.Posts.Future();
EF core version 2.1

Hello @vsopko ,
Do you think you could provide a project sample with this issue?
It will help my developer investigate the issue more efficiently.
We now always ask for a project sample even if the issue is easy to reproduce. As a free product, we must find some way to save time to offer an overall better experience for everyone and release fixes faster.
You can send it to<EMAIL_ADDRESS>if you need to keep the source private
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus •  LinqToSql Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

@JonathanMagnan
Sorry, i can't find any time to extract and simplify code for this issue from our repository.
To reproduce it you just need to:

Add empty class CustomQueryCompiler.cs

using Microsoft.EntityFrameworkCore.Query.Internal;
public class CustomQueryCompiler: QueryCompiler
{}

Add ReplaceService<IQueryCompiler, CustomQueryCompiler>(); to db context initialization in Startup.cs


Functionality of button categories on landing page

When landing on the website title page the text "Kevin C Maginnis" will appear as it does now. Under "Kevin C Maginnis", replace the text "Artwork", "Bio", "Contact", and "CV" with "Painting", "Sculpture", "Installation", "Bio", "CV", "Contact" in that order.

When landing on the title page the text "Painting" will be highlighted in red just like the text "Artwork" is now. In the window presently there, still aligned with the "C" of "Kevin C Maginnis", will appear the first painting of a chronologically arranged series depicting only the paintings within the catalog of work. The numbers and arrow will appear as they do now with the number going from 1 to 19. The painting title, date, materials, and size will appear as it does now. Kat forgot to place the date under 23-6-F (2023), 23-1-E (2023), 23-10-H (2023), and 22-5-B (2022), 23-6-G will be deleted.

Black #2 (Garfield Manor), Black #2 (Archer Heights), Black #2 (South Lawndale), Black #2 (Plisen) will be included under "Paintings". I will have the photographer remove the gold wall background, but keep the old photos as place holders. Also the black and white spray paintings will be replaced with new photography, but keep the old photos as place holders.

Once reaching the last number of the on the top of the "Paintings" window the forward arrow will still appear, but now in red, and the text red highlight will automatically shift down to the next category "Sculptures" with the text "Painting" becoming same color gray as the other unhighlighted categories. Clicking on either the last red arrow, or the text "Sculpture" the first image of sculptures appear in the window. Above the window will be the numbers 1 to 9 (numbers, as they are now, correspond to each individual image not artwork). The artwork under sculptures are Close Tightly (a detail photo of Close Tightly will be added), Fence (with the two detail photos), Self Immolation Portrait, Americum, and No Title.

Once reaching the last number of the on the top of the "Sculpture" window the forward arrow will still appear, but now in red, and the text red highlight will automatically shift down to the next category "Installations" with the text "Sculpture" becoming same color gray as the other unhighlighted categories. Again, clicking on either the last red arrow, or the text "Installation" the first image of installations appear in the window. Above the window will be the numbers 1 to 19, or rather as the number text appear now "1 of 19" (the same for the other number texts).

The video tours of Spun and Untitled with be added under installations before the individual detail photos appear (numbers should be assigned to the two video tours making it "1 of 21" instead of "1 of 19") Once reaching the last number of the on the top of the "Installations" window the forward arrow will disappear. All categories will then be gray along with the text "Bio", "CV" and "Contact". The text "Bio", "CV", "Contact" along with the categories will turn red when hovered over with cursor (this will also be true when hoving over the text categories even if one has not finished going through all the images under a given category).

Within "CV" under Group Shows the text 2023 "Privite Spaces", Manifest Gallery, Cincinnati, Ohio will be added. Also Gold Fish will be placed under Installations category, which would now make the number text over the window "1 of 23" instead of "1 of 21".

Also add installation view photo of Black #2 under "Installation" now making the number text "1 of 24". The navigation between the six different buttons allows for jumping from one to the other without having to view each individual photo under each category.


Remove port from server name in LB request

The LB we use internally doesn't expect the server name to include the port. Including the port will break config lookup.

****************************************************************

libgrpc.so

     VM SIZE                                                                                FILE SIZE
 ++++++++++++++ GROWING                                                                              ++++++++++++++
  +0.0%     +16 [None]                                                                                +624  +0.0%
  +0.6%     +96 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc                           +96  +0.6%
      +8.8%     +90 grpc_core::(anonymous namespace)::GrpcLbFactory::CreateLoadBalancingPolicy(grpc_core     +90  +8.8%
      +1.7%      +6 [Unmapped]                                                                                +6  +1.7%

  +0.0%    +112 TOTAL                                                                                +720  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                                                FILE SIZE
 ++++++++++++++ GROWING                                                                              ++++++++++++++
  +0.0%     +16 [None]                                                                                +624  +0.0%
  +0.6%     +96 src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc                           +96  +0.6%
      +8.8%     +90 grpc_core::(anonymous namespace)::GrpcLbFactory::CreateLoadBalancingPolicy(grpc_core     +90  +8.8%
      +1.7%      +6 [Unmapped]                                                                                +6  +1.7%

  +0.0%    +112 TOTAL                                                                                +720  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Closing because the balancer will handle this issue itself.


Fixes 20160513

This is a rebased version which includes the changes you asked for.  It would be great if you could apply this before any other fixes since I'd rather not rebase again if possible.  :-)
Sadly though, I can't test this since its failing from v0.2.0 commits when I test:
/src/blake2 (fixes_20160513 ✗)$ bundle exec rake test
/usr/local/var/rbenv/versions/2.3.1/bin/ruby -w -I"lib:test" -I"/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.1.2/lib" "/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.1.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb"
Run options: --seed 34793

# Running:

...........ruby(92494,0x7fff789b2000) malloc: *** error for object 0x7fd99d5a8e70: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
rake aborted!
SignalException: SIGABRT
/usr/local/var/rbenv/versions/2.3.1/bin/bundle:23:in `load'
/usr/local/var/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
Tasks: TOP => test
(See full trace by running task with --trace)

Enjoy!!

Applied everything with some changes:

Squashed some related commits
Reworded some commit messages
Extracted bits I really didn't wanted to merge just yet (or I'd like to discuss on).

Thanks for this amazing work @grempe !

Great!  Thanks.


'bubble-cli@*' is not in this registry.

When running npm install bubble-cli I get the following error :
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/bubble-cli - Not found
npm ERR! 404
npm ERR! 404  'bubble-cli@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Please use npm install -g bubble_cli now, published on that


Widget adjustments

In preparation for Swish. I think these changes are safe to merge.

Tested on devices

[ ] Desktop 💻
[ ] Mobile 📱

Tests

[ ] All tests are running ✔
[ ] Test are updated 🧪
[ ] Code Review 👩💻
[ ] QA 👌

Checkpoints
Check these to flag for a more thurough review, as they could be potentially breaking changes

[ ] Packages updated
[ ] Other infrastructure updated (such as node version or similar)

⏲ Time spent on CR:
⏲ Time spent on QA:

I had set bank to NON_RECURRING only for testing, but had it included by mistake.


Create pipeline that lints code for consistent practices

this pipeline should check for:

no object files (if they are should they be deleted?)
syntax errors
naming conventions (UpperCamelCase for classes, lower_snake_case for functions, etc.)
unit test output

yes, you should delete object files if they are there (make clean command does that)
and for the naming conventions its camelCase for functions and UpperCamelCase for classes, I'm not the most reasonable person so some names might not make much sense, if they are egregious enough you can change them when you find them.


Fix auth0 credentials for mozillians-dev.

@akatsoulas r?

Coverage increased (+0.03%) to 92.951% when pulling 1404597eeb30ee640d25317786e066b9fc31d5a3 on johngian:fix-auth0-dev into ad4adb4acb1440b2dca410cc7effda24cbab44a5 on mozilla:master.


Error converting std::time::SystemTime to Datetime in inserts

I'm using local YDB cluster for tests.
I created table with field 'created_at' with type Datetime.
Then I successfully inserted some rows via web console.
And then I managed to select these rows via this SDK to struct with field created_at: std::time::SystemTime.
But when I'm trying to insert new rows via SDK, I see error:
kqp_query_data.cpp:214: Parameter $created_at type mismatch, expected: { Kind: Data Data { Scheme: 49 } }, actual: Type (Data), schemeType: Timestamp, schemeTypeId: 50 "
My query:
DECLARE $guid as Utf8;
DECLARE $created_at as Datetime;

INSERT INTO
    records (guid, created_at)
VALUES
    ($guid, $created_at);

I tried to pass via params field that was created like
let created_at = std::time::UNIX_EPOCH + Duration::from_secs(my_time as u64);
I tried to pass field that I just got by select to the same table like
let created_at: SystemTime = row.remove_field_by_name("created_at")?.try_into()?;
Both variants caused the error.

Hello @artemst.
The SDK can't see inside query text and can't detect declared type. It has simple mapping from native type to YQL type and SystemTime converted to Timestamp by default.
You can declare param as Timestamp and CAST value to Datetime on server side or create DateTime value explicit:
    let now = SystemTime::now();
    let created_at = ydb::Value::DateTime(now);


Install through chocolatey does not work

The install seems to use codeplex as source: choco install powershellgac
 from 'http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=powershellgac&DownloadId=666527&FileTime=130110441596800000&Build=20841'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=powershellgac&DownloadId=666527&FileTime=130110441596800000&Build=20841'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (503) Server Unavailable."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
The install of powershellgac was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\PowerShellGAC\tools\chocolateyInstall.ps1'.
 See log for details.

That is very much possible since codeplex is shutdown. I am not the maintainer of the chocolatey package. I would advice you to contact the maintainer of this specific chocolatey package, namely jstrassburg, through https://chocolatey.org/packages/PowerShellGAC

PS: The module is also available through powershellgallery.com
Install-Module Gac


Rely on GPGFallback when doing pgp select --no-import

Related issue: https://github.com/keybase/keybase-issues/issues/1976
should also fix bunch of smart card related troubles.
Future work could include:

review of other PGP operations to see if they could benefit from shelling out, e.g. IIRC you can't do keybase pgp sign unless you imported to KB keyring;
add a flag to force (old) "sign with go-crypto" behavior

The other ops are designed to use the keybase keyring, so that's OK.  This is the crucial op to support via gpg shellout