lambda: check if error type is InvokeResponse_Error

Currently, we cannot set the errorType field without creating a custom
named error type. This causes a proliferation of dummy named error types
whose only purpose is to set a text field, and limits the errorType
field to what can be expressed as an identifier.
This change checks that the panicked or returned error is if type
InvokeResponse_Error, and if so, uses it directly in the invoker's
response. InvokeResponse_Error is now updated to implement error.
Note: This is fully backwards compatible, since InvokeResponse_Error
previously did not implement the error interface.
Fixes #308.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #312 into master will decrease coverage by 0.35%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #312      +/-   ##
==========================================
- Coverage   74.06%   73.71%   -0.36%
==========================================
  Files          18       18
  Lines         833      837       +4
==========================================
  Hits          617      617
- Misses        152      154       +2
- Partials       64       66       +2

Impacted Files
Coverage Δ

lambda/errors.go
80.00% <0.00%> (-15.24%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eebb995...488ab7a. Read the comment docs.

Thanks for the PR @smasher164 - Until now, I've considered the types in the messages package to be an internal implementations detail, but that's not a strongly held opinion.
I've forwarded this to the team to check for alternative approaches to the problem.

Hey @bmoffatt, friendly ping to ask if there's any word on the issue/PR?
I have a couple of ideas on alternative approaches:

The exported type does not have to be from the messages package. You can introduce and detect another named type. For instance, you could introduce something like this in the lambda package:

type Error struct{
    Message string `json:"errorMessage"`
    Type    string `json:"errorType"`
}

Introduce an interface that the user's desired error type could satisfy. This would be an optional interface that would require a type assertion, like:

type Error interface {
    error
    Type() string
}

The disadvantage is that the second option is a potentially breaking change, if the user's error implements the Type method.

I talked with the team, and we figured that if we ever want to get rid of the messages library, we'd have to do a v2 release regardless of your initial proposal. I'll merge the change as-is
The lambda.Error change you proposed is cosmetically nicer, but I don't like that we'd just be introducing more types just to end up copying into InvokeResponse_Error anyways.


Add CorrelationData spring-messaging header

In preparation for https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/issues/303

Pushed another commit to close the test CCFs.


{Packaging} Hotfix: Install OpenSSL 3.0 in the docker image

Description
An out-of-courtesy fix for https://github.com/Azure/azure-cli/issues/24836
openssl command was replaced by openssl1.1 in the docker image by https://github.com/Azure/azure-cli/pull/24768.
Some users using Azure CLI docker image directly rely on openssl command without explicitly specifying openssl dependency. This is not a good practice as a dependency(Azure CLI)'s dependency (openssl) is an internal implementation, so the user shouldn't assume the dependency's dependency is always available.
Even though we don't guarantee the availability of tools or packages in the docker image, we add openssl out of courtesy, so that those users can be unblocked quickly without changing their code.
Additional information
This hotfix will only be rolled out to the docker image. We won't bump version or forward main branch because

this is not a change on Azure CLI
this will make az upgrade on all platforms think there is an available update

/azp run


set datasets to >=2.0.0

We already fixed the datasets version in all spaces but for some reason not in evaluate. This fixes this.
cc @sgugger

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Cedar/VLanUnix: add description to FreeBSD tap device

In addition to #1859, added interface description to the tap interface.
$ ifconfig vpn_client
vpn_client: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: SoftEther Virtual Network Adapter <-- THIS IS IT!
        options=80000<LINKSTATE>
        ether 5e:51:5e:48:ea:ef
        hwaddr 58:9c:fc:10:34:2a
        groups: tap
        media: Ethernet autoselect
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        Opened by PID 35981

Force-pushed to fix typo in the commit message.

Could you merge this if no problem?

Oh, sorry for the delay.


training code issue

Sorry, I didn't see the Expression loss (eq 10 in the paper) implemented in the training codes.

Hello, I have also the same observation about the missing expression recognition loss in the training code.
I have tried to finetune the model on some new data, and it seems to not train correctly for better expression transfer, probably  because of this missing loss.
Would it be please possible to update the training code with the expression loss?
Thanks a lot

Hello, I have also the same observation about the missing expression recognition loss in the training code. I have tried to finetune the model on some new data, and it seems to not train correctly for better expression transfer, probably because of this missing loss. Would it be please possible to update the training code with the expression loss? Thanks a lot

Hi, I have added the expression loss, you can find it in this link, http://openaccess.thecvf.com/content/CVPR2022/html/Danecek_EMOCA_Emotion_Driven_Monocular_Face_Capture_and_Animation_CVPR_2022_paper.html.
Could you share how you finetune the trained DPE on new data? Especially " the selection of loss function " and "the param.requires_grad of which submodules  are  set to True, including enc, dec_pose, dec_exp, mlp, mlp_exp, mlp_pose, and discriminator"?
Thank you very much!


Password update call does not return since v2.67.0

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
When I upgrade @supabase/auth-js from v2.66.1 to v2.67.0, my password update calls to don't fire a network request and never return. Here is the code I use
const password = '<any_new_password>';
const { error } = await client.auth.updateUser({ password });
if (isNonNullable(error)) {
    // Handle non-fatal errors directly
    switch (error.code) {
        case 'same_password':
            passwordUpdateError.value = 'errors.frontend.newPasswordShouldBeDifferent';
            return;
    }
    throw error;
}

To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Install latest @supabase/supabase-js
Call await client.auth.updateUser({ password: 'thisIsTest4!' })

Expected behavior
Like in previous versions, the password update should work.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: macOS
Browser (if applies): Chrome
Version of supabase-js: Works with v2.47.2 and starts failing with v2.47.6
Version of Node.js: v22.11.0

Additional context
Add any other context about the problem here.

I just updated to supabase-js 2.47.10, and node modules shows auth-js at 2.67.3. I'm not having any issues; password updates, data and error are logging afterwards.
const { data, error } = await supabase.auth.updateUser({
  password
})
console.log(data, error)

I'm calling this code on the server-side, with SvelteKit.


Change protobuf/proto package

Need to replace deprecated 'github.com/golang/protobuf' with 'google.golang.org/protobuf' due to marshalling errors for timestamp types.
Signed-off-by: olaeseane<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 10 (80.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 57.112%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

serialize/proto.go
6
8
75.0%

Files with Coverage Reduction
New Missed Lines
%

serialize/proto.go
1
52.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
3915

Relevant Lines:
6855

💛  - Coveralls


Cloud Regions simplified

AWS_DEFAULT_REGION no longer needed.
For GCP, zone is removed from qhub-config.yaml, and availability_zones is optional - pulls default from Google if not specified.
To avoid clusters being torn down inadvertently, once set availability_zones cannot be changed (this was the same for the similar PR I did for AWS).

Looks good to me, @danlester

Closes #504


Feature/dpsim 31

Description
This change exposes the endpoint to build the Bambora payment URL. It adds the complete method signature (no method body yet) required to support the URL calculation operation. It also provides an XML formatted output equivalent to the legacy system being replaced.
Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

How Has This Been Tested?
Manually performed tests with a valid set of inputs. Also tested proper validation response for missing required parameters.
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

For bcgov contributors:
this PR fixes jira ticket: DPSIM-31

@shaunmillargov, could you tests for the controller and the handler?


Not resizing when frame changes size due to ajax call

I have a project that has interactive content in it, and because it changes via ajax, it seems the resizer is not detecting the change. Can someone test this and see if it works for them?
I just have a list of addresses, and when you select a country from a drop down it updates the list making it shorter and so there is a massive white space under it.

Have a look at the log out put. I should detect that. Most likely fix is changing the height calculation method.

Thanks for that, helped greatly. The options that seem to work for the heightCalculationMethod (while using an ajax call) are:

bodyScroll
documentElementScroll
max
Any recommendations as to which one of these I should use?

My preferred option is this code snippet. If that doesn't work, then use max.
var isOldIE = (navigator.userAgent.indexOf("MSIE") !== -1); // Detect IE10 and below

iFrameResize( {
    heightCalculationMethod: isOldIE ? 'max' : 'lowestElement'
});

No worries, that wont work in my case as lowestElement will not resize an ajax request, I might just leave it as bodyScroll as it seems to be more accurate and works on old IE as well as other browsers.

That is strange never seen lowestElement Not work before. The issue will be your CSS, rather than anything to do with Ajax.


Added the server setup docs

Added the server setup docs

How to use rendertron-middleware for node.js webservers
How to set up Apache or Nginx

Thanks for your contribution, @SabihRehman! 🙌


Refactor IPEX CausalLM for better model architecture scale

What does this PR do?
Use AutoModel mechanism to infer method implementation for different model architectures automatically. This will allow better scalability to different model architecture.

@echarlaix
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


In CyberRT scheduler, what is the cpuset

1.In scheduler_conf, I see there is a cpuset confiured from 0 to 31.Is it the real cpu core? most pcs only have 4 cpu cores or 8 cpu cores ,why is there 32 cpus?
2. Some tasks names are set as "planning_/apollo/perception/traffic_light" ,"planning","planning_/apollo/routing_response", what is the difference between them ,in dag file there is only "planning"
scheduler_conf {
policy: "choreography"
process_level_cpuset: "0-7,16-23"
threads: [
{
name: "lidar"
cpuset: "1"
policy: "SCHED_RR"
prio: 10
}, {
name: "shm"
cpuset: "2"
policy: "SCHED_FIFO"
prio: 10
}
]
choreography_conf {
choreography_processor_num: 8
choreography_affinity: "range"
choreography_cpuset: "0-7"
choreography_processor_policy: "SCHED_FIFO"
choreography_processor_prio: 10
    pool_processor_num: 8
    pool_affinity: "range"
    pool_cpuset: "16-23"
    pool_processor_policy: "SCHED_OTHER"
    pool_processor_prio: 0

    tasks: [
        {
            name: "A"
            processor: 0
            prio: 1
        },
        {
            name: "B"
            processor: 0
            prio: 2
        },
        {
            name: "C"
            processor: 1
            prio: 1
        },
        {
            name: "D"
            processor: 1
            prio: 2
        },
        {
            name: "E"
        }
    ]
}

}

It seems that if my cpu core number is 8 and I set cpuset to 30～31，then the processor will be scheduled to any  cpu？

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Pandas time zone error when running the example

As I run the README example, I am getting an exception from pandas, complaining about comparing tz aware and naive objects.
Exception in thread Thread-4:
Traceback (most recent call last):
  File "pandas/_libs/index.pyx", line 463, in pandas._libs.index.DatetimeEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 997, in pandas._libs.hashtable.Int64HashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 1004, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError:<PHONE_NUMBER>323852000
...
    "Cannot compare tz-naive and tz-aware datetime-like objects"
TypeError: Cannot compare tz-naive and tz-aware datetime-like objects_

Here is the code I am running, I tried tz aware (start_time) or naive for the fromdate in the DataFactory object, no dice. Any idea?
import alpaca_backtrader_api
import backtrader as bt
from datetime import datetime, timedelta
import pandas as pd
import pytz

class SmaCross(bt.SignalStrategy):
  def __init__(self):
    sma1, sma2 = bt.ind.SMA(period=10), bt.ind.SMA(period=30)
    crossover = bt.ind.CrossOver(sma1, sma2)
    self.signal_add(bt.SIGNAL_LONG, crossover)

ALPACA_PAPER = True
cerebro = bt.Cerebro()
cerebro.addstrategy(SmaCross)

store = alpaca_backtrader_api.AlpacaStore(
    key_id=APCA_API_KEY_ID,
    secret_key=APCA_API_SECRET_KEY,
    paper=ALPACA_PAPER
)

timezone = pytz.timezone("America/Los_Angeles")
start_time = datetime.now() - timedelta(days=60)
start_time = timezone.localize(start_time)

DataFactory = store.getdata  # or use alpaca_backtrader_api.AlpacaData
data0 = DataFactory(dataname='AAPL', historical=True, fromdate=pd.Timestamp('2018-11-15'), timeframe=bt.TimeFrame.Days)
cerebro.adddata(data0)

print('Starting Portfolio Value: %.2f' % cerebro.broker.getvalue())
cerebro.run()
print('Final Portfolio Value: %.2f' % cerebro.broker.getvalue())
cerebro.plot()

Never mind, it seems adding tz argument in DataFactory solves this
timezone = pytz.timezone("America/Los_Angeles")
data0 = DataFactory(dataname='AAPL', historical=True, fromdate=pd.Timestamp('2018-11-15'), timeframe=bt.TimeFrame.Days, tz=timezone)

Was experiencing the same error and followed your fix which seems to get me to new errors.
I've added in the code you've pasted above but now when I run the example I get pytz is not defined. I try installing pytz to see if that fixes via: pip3 install pytz but pip3 tells me it's already installed. Any ideas?

try import pytz

yeah unfortunately that gets me back to the first error you encountered:
Adding import pytz to the top of my example, when I now run I get:
    "Cannot compare tz-naive and tz-aware datetime-like objects" TypeError: Cannot compare tz-naive and tz-aware datetime-like objects

my entire modified script:
`import alpaca_backtrader_api
import backtrader as bt
from datetime import datetime
import pytz
ALPACA_API_KEY = ''
ALPACA_SECRET_KEY = ''
ALPACA_PAPER = True
class SmaCross(bt.SignalStrategy):
def init(self):
sma1, sma2 = bt.ind.SMA(period=10), bt.ind.SMA(period=30)
crossover = bt.ind.CrossOver(sma1, sma2)
self.signal_add(bt.SIGNAL_LONG, crossover)
cerebro = bt.Cerebro()
cerebro.addstrategy(SmaCross)
store = alpaca_backtrader_api.AlpacaStore(
key_id=ALPACA_API_KEY,
secret_key=ALPACA_SECRET_KEY,
paper=ALPACA_PAPER
)
if not ALPACA_PAPER:
broker = store.getbroker()  # or just alpaca_backtrader_api.AlpacaBroker()
cerebro.setbroker(broker)
DataFactory = store.getdata  # or use alpaca_backtrader_api.AlpacaData
timezone = pytz.timezone("America/New_York")
data0 = DataFactory(dataname='AAPL', historical=True, fromdate=datetime(
2015, 1, 1), timeframe=bt.TimeFrame.Days, tz=timezone)
cerebro.adddata(data0)
print('Starting Portfolio Value: %.2f' % cerebro.broker.getvalue())
cerebro.run()
print('Final Portfolio Value: %.2f' % cerebro.broker.getvalue())
cerebro.plot()
`

wondering if this has to do with your pandas version, and/or python version. This is what I have on my colab notebook.
pandas version 0.25.3
python version 3.6.9 (default, Nov  7 2019, 10:44:02)

Confirming this fails for me with pandas version >1, maybe try to downgrade your pandas install

phenomenal! It works with pandas version '0.25.3'
Thanks very much for your help


Make it easier to parse query parameters into an object (with hooks?)

In the style of jsony and tabby, it'd be really nice to get some sort of built in way to parse either a query string directly into an object, or the QueryParams type into an object. The trickier part is also supporting sequences, as those end up repeating keys.
I can see a version of this was written in the debby examples (https://github.com/treeform/debby/blob/master/examples/admin.nim#L138-L143), so it'd be nice to extract it out and make it more generic if possible. I have a version I've been using in my projects:
proc parseHook(params: QueryParams, name: string, v: var int) = v = parseInt(params[name])
proc parseHook(params: QueryParams, name: string, v: var string) = v = params[name]
proc parseHook(params: QueryParams, name: string, v: var bool) = v = name in params
proc parseHook[T](params: QueryParams, name: string, v: var seq[T]) =
  for i, (k, _) in params:
    if k == name:
      var val: T
      when compiles(params.toBase[i .. ^1].QueryParams.fromQuery(name, val)):
        params.toBase[i .. ^1].QueryParams.fromQuery(name, val)
      v.add(val)
proc fromQuery[T](params: QueryParams, objType: typedesc[T]): T =
  for fieldName, value in result.fieldPairs: parseHook(params, fieldName, value)

It's a little hacky (the when compiles is in there to prevent parsing objects within sequences), so if there's a better way of doing it that could be included in webby itself that would be really neat!

Are you receiving complex query strings in requests? This seems to be JSON body + POST request territory at first glance.

Not particularly complex information, but I do have some boolean flags, some string fields, a numeric field, and then a repeated field. Nothing is nested or anything crazy like that, though this is a (form) post request.
A use case I haven't quite built yet does have a similar set of concerns for a get request - more specifically, it filters a list of resources based on a combination of tags (which are repeated query parameters) and min/max numeric filters.

Would it be possible to base64 encode JSON as a ?q=encodedqueryjson instead of using form encoding directly? Form encoding is just kind of not something I'd be really seeking to use for anything even slightly complex if I could avoid it. Obviously this is not always possible but something to consider if it has not been seen as an option.

I was able to get that working, and it is quite nice. I'm using HTMX with their json-enc extension, which basically turns any requests from HTML form data into JSON.
Only downside is that the output JSON is all strings, so at the top of my codebase I've declared the following:
proc parseHook*(s: string, i: var int, v: var int) =
  var str: string
  parseHook(s, i, str)
  v = parseInt(str)

proc parseHook*(s: string, i: var int, v: var bool) =
  var str: string
  parseHook(s, i, str)
  v = true

Not the end of the world, and if I wanted to be more strict about it I'd declare new types like "FormNumber" and "FormBoolean" which would be distincts to override.
You've solved my problem in the end, so I'm going to close the issue. Thanks for the suggestion!

Once Sunny is added to the Nim package directory here https://github.com/nim-lang/packages/pull/2828 using the string field tag would at least resolve the numbers-as-strings problem easily. Not for bools now though, that is more uncommon than numbers-as-strings.
Sunny is basically taking the Golang field tags and bringing them to Nim while still enabling hooks like Jsony. If you like the tags, Sunny is a nice option, if prefer all-hooks-all-the-time then Jsony is the way to go. Just a matter of preference, both aren't going away.


model is now better upgraded at each step, results are much more accurate

I had forget to refine the model for final step, and I added other ameliorations to upgrade speed. I changed the verbose output text to have only the important informations. I removed a test folder, which was useless. I reduced the tolerance in the tests, what is possible thanks to the amelioration. I prepare this code to serve me to test what I will add to SEGO.

Je vais voir ce qui ne va pas, mais je ne comprends pas pourquoi quand je fais pytest en local je n'ai pas d'erreur et chaque fois ici j'ai des résultats différents

Here is an upgrade, as I am currently adapting the code for SEGO, sometimes I will update smoot with new interesting things.
Next one could be for example the adding of constraints with this trick : pymoo's NSGA2 algortihm can handle with constraints very well, so if they are constraint, I will just modelize them with exponential kernel for instance, and then, instead of running scipy.minimize for the criterions' optimization, I will use NSGA2 on the criterion under the modelized constraints. That's in progress, as I am doing almost the same in SEGO : optimizing the criterions under constraints with sego.


View/Layout Selection Option At Beginning

Once the block is called in the editor, prior to embedding stories, the editor should be able to select which view they would want the stories to appear in.
Similar example - /columns block requires a user to first choose the number of columns and then proceed with data entry in those columns.

This part of UX is being taken care while merging the two block, related issue #93


registry action creating configmap in the wrong namespace

The most recent version of nginx-ingress(0.21.0) puts the worker ingresses in its own namespace instead of the default one. And it expects a configmap to be in the same namespace as well.
The charm explicitly installs 0.21.0 but also still puts the registry configmap into the default namespace[1], which no longer hosts the ingress.
This causes the registry to keep the default value for client_max_body_size.
The new namespace is called "ingress-nginx-kubernetes-worker" and the configmap is "nginx-configuration".
I also believe the key name that should be used in the configmap has changed from "body-size" to "proxy-body-size"[2].
[1]https://github.com/juju-solutions/kubernetes/blob/master/cluster/juju/layers/kubernetes-worker/actions/registry
[2]https://github.com/kubernetes/ingress-nginx/blob/master/rootfs/etc/nginx/template/nginx.tmpl#L1015

Fix in kubernetes-worker charm version 439


update init file

just add some commas
this will avoid warnings like " 'events' is not declared in __all__ "

Thanks!


[Feat]: Add forgot password to login page

Description
In login page i would like to add forgot password option,which will lead to a form that will help in login.
@mdazfar2 assign this issue to gssoc ext and hackatoberfest

Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Hello @SalehaTabassum, this is a very good feature, but we are converting the entire code into the Next.js framework for easier backend integration. Once the Next.js conversion is complete, I will let you know so you can work on that issue.

Please don't forget to give our repository a star and let me know once you've done it.


Shotcontroller is stuck in moving behind ball and going towards ball

When/ how often does this occur?

Apparently this only occurs in real life. I updated the title


sample data for object store service and containers

Describe your changes :
Sample data for the new object store service and containers.

Checklist:

[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.

Reviewers

@pmbrull

hi @cristiancalugaru we still have some pylint failures:
************* Module metadata.ingestion.ometa.ometa_api
ingestion/src/metadata/ingestion/ometa/ometa_api.py:33:0: C0412: Imports from package metadata are not grouped (ungrouped-imports)
************* Module metadata.ingestion.source.database.sample_data
ingestion/src/metadata/ingestion/source/database/sample_data.py:1:0: C0302: Too many lines in module (1061/1000) (too-many-lines)
ingestion/src/metadata/ingestion/source/database/sample_data.py:197:4: R0915: Too many statements (52/50) (too-many-statements)

For the sample_data ones, feel free to just add a # pylint: disable=too-many-lines and # pylint: disable=too-many-statements. Organising the imports in ometa_api will be enough.
Thanks

@cristiancalugaru I recommend adding more examples of sample data with varying options and adding a container with schema and children. Not sure I noticed one like that. This will help us test the UI

@harshach The sample does contain quite a few with schemas and children. Here is a summary of the containers in the sample data:

"transactions" - container with a partitioned data model and 3 columns: transaction_id, merchant, transaction_time. No children
"departments" - container without a schema
"engineering" - child container of "departments" without a schema
"finance" - child container of "departments" with a data model that's not partitioned but which has 4 columns: department_id, budget_total_value, notes, budget_executor
"media" - child container of "departments" without a schema
"movies" - child container of "media" without a schema
"expenditures" - child container of "finance" with 4 columns: department_id, approved, fraudulent_claims, total_value_for_current_month

This should cover most cases - we have 3 levels deep containers: s3:/departments/finance/expenditures, container with no children (transactions), containers with/without a data model, and with/without a partitioned data model


felix failed to apply rules for new VM

The security group I was using had an ingress rule 'all udp' for ports 1-65535.
This appeared to add a rule for each port:
...
<IP_ADDRESS>/1,udp:44070
<IP_ADDRESS>/1,udp:5588
<IP_ADDRESS>/1,udp:42250
<IP_ADDRESS>/1,udp:56377
<IP_ADDRESS>/1,udp:57262
<IP_ADDRESS>/1,udp:11978
etc
Adding a new VM I got:
2015-02-16 09:37:57,465 [ERROR] calico.felix.frules 691: Failed to add IPv4 inbound rule (<IP_ADDRESS>/1,udp:1-65535) for 6c10f3ce-59
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/calico/felix/frules.py", line 686, in update_ipsets
ipsets.add(ipset, cidr + ipset_value)
File "/usr/lib/python2.7/site-packages/calico/felix/ipsets.py", line 62, in add
futils.check_call(["ipset", "add", name, value, "-exist"])
File "/usr/lib/python2.7/site-packages/calico/felix/futils.py", line 89, in check_call
raise FailedSystemCall("Failed system call", args, retcode, stdout, stderr)
FailedSystemCall: Failed system call (retcode : 1, args : ('ipset', 'add', 'felix-tmp-port', u'<IP_ADDRESS>/1,udp:1-65535', '-exist'))
stdout  :
stderr  : ipset v6.19: Hash is full, cannot add more elements

Can you grab the Felix logs?
I suspect ACL Manager is giving us something we don't like, most likely converting the udp rule into a "block udp from ports 1 to 65535" and we then turn that into 65,535 rules. Which isn't very clever at all.

FYI ACL Manager doesn't do any translation on port ranges, and rules are always allow (relative to the default of deny).
This rule would go through as allow UDP on ports 1 - 65536.

Diags for cotrol/compute node https://transfer.sh/KTn7X/2015-02-16-14-25-57.gz
Diags for compute node https://transfer.sh/py7oJ/2015-02-16-14-22-28.gz
Error at 14:21:40 is deleting a VM.

This issue is no longer applicable, since we have new Felix code to which it does not apply.


Integration Test - Release - 2019/05/28 22:30:59

Auto create for integration test. IssueCommandFlow

@PRMergerTest3 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


ftrace: opts and colorScheme are not defined

Solves #134

Thank you so much @hacker-DOM! 😄 🙏  I went ahead and straight up just removed the if clause! Not needed at all there!


prefer-reject warns on find

I get a warning on:
const anImportantThing = find(listOfThings, function(oneThing) {
      return oneThing.isImportantBecause !== '';
});

The rule warning me is lodash/prefer-reject. Is that indended?

to clarify: I can see why this is useful for filter(), but not for find().

there really is no problem; upon closer inspection, it seems that my linter hung up on me. the error vanished upon restarting my ide.
sorry.


Example for fast numpy() conversion

Same shape of (32, 12087, 268) takes 6 sec on master using tens.numpy() compared to 0.46 sec here

Sure, it can be faster. The trick is to do it in tinygrad in a clean maintainable way


Handle transition from LLVM 13 to LLVM 14

The release/13.x branch has been cut meaning clang-nightly will now be clang-14 and there will eventually be clang-13 through apt.llvm.org. The transition plan:

[x] Wait for LLVM 13 binaries on apt.llvm.org (done)
[x] Report availability of LLVM 13 binaries on apt.llvm.org to TuxMake issue tracker (done)
[x] Wait for TuxMake to provide clang-13 images (done)
[x] Wait for TuxSuite to allow clang-13 to be specified (done)
[x] Update generator.yml to shift llvm_tot to 14 (done)
[x] Update generator.yml to shift llvm_latest to 13 and copy all llvm_tot builds to it (done)
[x] Update generator.yml to provide llvm_12 anchor and copy all llvm_latest builds to it (done)

cc @terceiro

ack. I'm watching this and will do the tuxmake side when appropriate

41fc75f3c2d4a5439d6bb1a7088c6853ee9ae57d


Support for SOCKS5 authentication

SOCKS5 is capable of doing authentication.
Would be nice if you could also support this.
Actually currently you always answer the initial SOCKS5 requests with an auth method of 00, meaning no auth, even if 00 was not in the list sent by the client for the server to pick from which is also not according to RFC 1928.
So there are actually two issues. 1. an auth method that was not in the list from the client should not be sent back as selected method. 2. supporting authentication would be nice, at least username / password, while the RFC demands Compliant implementations MUST support GSSAPI and SHOULD support USERNAME/PASSWORD authentication methods.

fixed in merged PR


upstream issue w/ wordpos package

https://github.com/moos/wordpos/issues/30
They also have version 2, not sure if that fixes it. But I had to remove node-summarizer from my code for now. I'll be watching this bug.

https://github.com/moos/wordpos-web

Looks like the only update is in the instantiazation of WordPos:
  let wordpos = new WordPOS({
    // preload: true,
    dictPath: '/wordpos/dict',
    profile: true
  });

Otherwise, for our purposes, it's the same API

@SwapnikKatkoori Would you like me to make a new PR to fix this or leech off the existing one? I was also going to integrate eslint

@SwapnikKatkoori ??

This doesn't seem to be a breaking issue on my use case, but still should be fixed

@SwapnikKatkoori Would you like me to make a new PR to fix this or leech off the existing one? I was also going to integrate eslint

You can add it to the existing PR if that's easier.


added tests for AqlValue in-memory optimization

Scope & Purpose
This is work in progress.
Done:

added tests for unsigned integer values
fixed a bug when storing uint64_t values > int64_max
unify handling of +0.0 and -0.0 in some cases

To do:

add tests for signed integer values
add tests for floating-point values
unify handling of +0.0 and -0.0 in some other cases
add tests for +0.0, -0.0 unification

Parts of this (handling of +0.0 and -0.0) may need to be backported to 3.7 later. This should be done once this PR is complete.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[ ] No backports required
[ ] Backports required for: (Please specify versions and link PRs)

Testing & Verification

[x] The behavior in this PR was manually tested
[x] This PR adds tests that were used to verify all changes:

[x] Added new C++ Unit tests

[x] I ensured this code runs with ASan / TSan or other static verification tools

Link to Jenkins PR run:
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/14049/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/14064/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/14075/


Documentation is missing a v in v0.1.0

In your README you say to use<EMAIL_ADDRESS>should be<EMAIL_ADDRESS>ie. the v is missing in v0.1.0

Thank you, I fixed it.


Added Alzheimers Disease Prediction

Fixes : #191
Description:
I added `Alzheimers Disease Prediction".
@TAHIR0110 Please approve.

@TAHIR0110  Please approve my PR

Merged !!


Document CircleCI config for benefit of new users

Thanks for the review both!

Out of curiousity, why mypy instead of pytype here?

We use both pytype and mypy in seals. They catch different errors. pytype has better inference but is lenient so misses some things mypy can detect in code with more type hints.


The Login command does not return the user it created

The Login command creates a new user, but does not return it....should it?

Fixed in b33dafa29924fd859e6e780a2c43eac3d9d6ebed

Thank you!


[Bug] Tokens returned from the WAM broker do not have an expiration time set

Library version used
1.14.0
Java version
8+
Scenario
Other - please specify
Is this a new or an existing app?
None
Issue description and reproduction steps
Tokens returned from the WAM authentication broker do not have an expiration time set.
This is the IAuthenticationResult I got back from PublicClientApplication#acquireTokenSilently:

Relevant code snippets
No response
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response

@bgavrilMS sorry, I missed this question. It's not a blocker, I suppose, but it's going to cause us to request tokens way more often than we should. Note we're not relying on anything inside the token's claims ever: we don't parse those in Identity. We rely on MSAL when that is necessary, or like the response from IMDS has it directly without parsing the token.


[Feature Request] Canvas / img tag output

It would be nice if the returned VDOM could be the SVG data embedded into either a canvas or img, allowing it to be more easily saved as a PNG using native browser interactions

Just as a small datapoint, I chose to use this package over others because it did not use canvas or have a lot of extra capabilities.  It's the smallest and simplest package I could find to generate an SVG QR code.

Just as a small datapoint, I chose to use this package over others because it did not use canvas or have a lot of extra capabilities. It's the smallest and simplest package I could find to generate an SVG QR code.

Do you have a way to export your SVG?

Do you have a way to export your SVG?

What do you mean by export it?  I show it on a website for a 2fa code.


ADP-626 regression integration test

Issue Number
ADP-626
Integration test for https://github.com/input-output-hk/cardano-wallet/pull/2397
Overview

4bd8bb7b73be715182c902feb7dfaee6ba037a2a
ADP-626 regression integration test

Comments
I've checked that this test fails before #2397 fix.

bors r+


Metadata sources / IGDB: show the number of reviews that the review score is based on

Describe the solution you'd like
It is very useful already that we have the community and critic scores, but it would be even better to have the number of reviewers also displayed next to the actual number. Sometimes, if the number of reviews is low, the review score isn't really reliable.
IGDB has the number of reviewers on their website, so it's probably returned by their API as well. Ideally the community and critic score columns in Playnite would include the reviewer number too like "80 (316)".
It would be also great to have a filter for the reviewer number, so that games that have for example less than 100 reviews wouldn't be shown.
Screenshots

Not possible because Playnite doesn't provide field where IGDB plugin could store and display number of reviews.


boyer moore horspool string search

I would like to implement this algorithm in c++

Yes sure. I have assigned it to you.


Classic Hitmarker

Nothing special, just a normal hitmarker, quite surprised that it wasn't a thing yet.

I want to add floating and fading damage numbers as well, I'm quite busy tho so yea not going to happen anytime soon I think, sorry.

why u do diz

why u do diz

Fixed.

very nice

Is it 2d?

Is it 2d?

Yea, it's just in the middle of the screen.


How to enable logging in Rust code called from Ruby?

Hello -- is there a way to initialise logging in the code that Ruby is calling?
I'm using RSpec and ActiveRecord to drive my tests, which is really nice in the main but becoming a real pain when I'm trying to debug any issues.
Cheers,
Doug.

I'm going to leave this here as a testament to my own idiocy.
println! -- just use fecking println! -- FFS.


Optimise query plan for index into struct

Not sure how difficult this would be to detect and optimise, but I got an unnecessarily complex query plan for a ReBAC-ish policy where the principal has a map of relations with the resource.
Policy
apiVersion: api.cerbos.dev/v1
resourcePolicy:
  resource: example_resource
  version: default
  rules:
    - actions:
        - "*"
      effect: EFFECT_ALLOW
      roles:
        - USER
      condition:
        match:
          expr: P.attr.relations[R.id] == "owner"

Principal
{
  "id"<EMAIL_ADDRESS>  "roles": [
    "USER"
  ],
  "attr": {
    "relations": {
      "example:1": "owner"
    }
  }
}

Plan as produced by Cerbos 0.21
{
  "action": "view",
  "resourceKind": "example_resource",
  "filter": {
    "kind": "KIND_CONDITIONAL",
    "condition": {
      "expression": {
        "operator": "eq",
        "operands": [
          {
            "expression": {
              "operator": "index",
              "operands": [
                {
                  "expression": {
                    "operator": "struct",
                    "operands": [
                      {
                        "expression": {
                          "operator": "set-field",
                          "operands": [
                            {
                              "value": "example:1"
                            },
                            {
                              "value": "owner"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "variable": "request.resource.id"
                }
              ]
            }
          },
          {
            "value": "owner"
          }
        ]
      }
    }
  }
}

Plan could be simplified to
{
  "action": "view",
  "resourceKind": "example_resource",
  "filter": {
    "kind": "KIND_CONDITIONAL",
    "condition": {
      "expression": {
        "operator": "eq",
        "operands": [
          {
            "variable": "request.resource.id"
          },
          {
            "value": "example:1"
          }
        ]
      }
    }
  }
}

Playground
https://play.cerbos.dev/p/mONejFwk633d4f159eoLmY25jhkzgEf8
curl https://demo-pdp.cerbos.cloud/api/plan/resources \
  --header 'Playground-Instance: mONejFwk633d4f159eoLmY25jhkzgEf8' \
  --header 'Content-Type: application/json' \
  --data '{
    "principal": {
      "id"<EMAIL_ADDRESS>      "roles": [
        "USER"
      ],
      "attr": {
        "relations": {
          "example:1": "owner"
        }
      }
    },
    "resource": {
      "kind": "example_resource"
    },
    "action": "view"
  }'

If we (re)write the policy condition expression as R.id in P.attr.relations.filter(r, P.attr.relations[r] == "owner") then the query planner output is:
{
  "requestId": "query-plan",
  "action": "view",
  "resourceKind": "example_resource",
  "filter": {
    "kind": "KIND_CONDITIONAL",
    "condition": {
      "expression": {
        "operator": "in",
        "operands": [
          {
            "variable": "request.resource.id"
          },
          {
            "value": [
              "example:1"
            ]
          }
        ]
      }
    }
  }
}

We can amend the query plan optimiser to replace in with eq if the RHS operand is a single-item list.

As a workaround, If we (re)write the policy condition expression as R.id in P.attr.relations.filter(r, P.attr.relations[r] == "owner")

Thanks, I didn't think of writing it this way!

We can amend the query plan optimiser to replace in with eq if the RHS operand is a single-item list.

Makes sense 👍


Automate rustRegistry updates

Having to update rustRegistry manually is super annoying when you're developing in Rust.
I propose adding a script to nixpkgs that can generate the latest version, and then put a .travis.yml in a repo that calls the script and submits a PR, invoked daily by Nightli.es. Alternatively, it could be a cronjob running on nixos.org infrastructure. This would also be reusable for other packages.
cc @abbradar @trishume @jagajaga What do you think?

Given that snapshot update can't break anything in theory (we require Cargo.lock files to ensure dependencies' determinism in our Rust packages, and upstream keeps all old package versions there) I'm all for automated updating. I don't think spamming nixpkgs with automated PRs is a good thing, however. Maybe, given that I can't think of a situation when a snapshot update is harmful, we want to just push updates directly to master. Before doing that, however, we must carefully ensure that upstream is committed to keep all old package versions there and doesn't have an npm-style "unpublish" procedure (i.e. what's got into repository stays there and can only be "hidden" from search maybe).

Crates.io never had an unpublish feature, they only remove things for legal reasons: https://www.reddit.com/r/rust/comments/4bm3rk/how_would_cratesio_react_in_a_case_similar_to_the/d1bqxc0
You're right about directly pushing to master; after a while, nobody's going to check generated commits anyway and will just hit merge. In the unlikely case something breaks, we can always revert it.

This sounds good to me.
I really like the way the rust infrastructure works in Nix relative to the other languages where you have to use Nix file generators, depsSha256 and then making Cargo deterministic is clever.
Specifically for how the script updates the crates index, perhaps this new Nix feature might be of some use: https://github.com/NixOS/nix/commit/06f29fa
I think that should let it prefetch directly based on the fetchFromGitHub call in rust-packages.nix.
But otherwise we can just figure out the correct URL and use nix-prefetch-url, then update the URL and SHA256 in rust-packages.nix
Here's some other things it could update (not necessarily in first implementation, but eventually):

https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs-modes/melpa-generated.nix
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs-modes/elpa-generated.nix
https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/node-packages-generated.nix
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/ghcjs/node-packages-generated.nix

I think that this can be fixed with https://github.com/alexcrichton/cargo-local-registry
This would allow creating a local registry with only the package specified in a Cargo.toml file. This should be constant over time (and is verfiied by hashes) and would eliminate the need to have the registry package at all.
I might try to get it working but I'm not faimilar with the rust packaging and the tool itself has a number of dependencies which I would probably need to build manually to avoid a circular dependency.

we don't have a rustRegistry anymore


lots of issue please improved this issue

page   zoom IN zomeOut ( main problem )

list view , grid view.

please add sound effects when page trun new page

some time freeze page few mint

see this
https://github.com/fluttercommunity/page_turn/pull/12


DoesS3BucketExistAsync forces HTTP request

Expected Behavior

DoesS3BucketExistAsync should use the protocol defined by service endpoint
Current Behavior

DoesS3BucketExistAsync forces HTTP
Possible Solution

Remove https://github.com/aws/aws-sdk-net/blob/efcd29fa8e00d59d1448dc87232d2b3a9b73c63a/sdk/src/Services/S3/Custom/Util/AmazonS3Util.cs#L573 , which should let GetPreSignedURL figure out the correct protocol.
Steps to Reproduce (for bugs)

Try to execute DoesS3BucketExistAsync against an HTTPS-only Minio instance.
Context

Your Environment

AWSSDK.Core version used: <IP_ADDRESS>
Service assembly and version used: ?
Operating System and version: Linux
Visual Studio version: N/A
Targeted .NET platform: .NET Core 2.1

.NET Core Info

.NET Core version used for development:
.NET Core version installed in the environment where application runs:
Output of dotnet --info:

.NET Core SDK (reflecting any global.json):
 Version:   2.1.302
 Commit:<PHONE_NUMBER>

Runtime Environment:
 OS Name:     debian
 OS Version:  9
 OS Platform: Linux
 RID:         debian.9-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.302/

Host (useful for support):
  Version: 2.1.2
  Commit:  811c3ce6c0

.NET Core SDKs installed:
  2.1.302 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.2 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Contents of project.json/project.csproj:

Actually it is not enough to remove that line, because that means effectively setting the protocol to whatever the enum defaults to.
Instead, DoesS3BucketExistAsync should fetch the protocol from the service URL e.g. (yes this is hacky code):
            var serviceURL = ((AmazonServiceClient) s3Client).Config.DetermineServiceURL();

            var request = new GetPreSignedUrlRequest
            {
                BucketName = bucketName,
                Expires = s3Client.Config.CorrectedUtcNow.ToLocalTime().AddDays(1),
                Verb = HttpVerb.HEAD,
                Protocol = new Uri(serviceURL).Scheme.ToLowerInvariant() == "http" ? Protocol.HTTP : Protocol.HTTPS,
            };

Alternatively, the GetPreSignedUrlRequest.Protocol property could be made nullable (with null meaning don't override the protocol) but I don't know where else that is used.

Thank you for reporting this.  The default protocol for the config is HTTPS, so this would seem to be a bug.  The fix will presumably be to use the config's UseHttp property to determine the correct protocol.

It appears that you are using Minio which is a third-party service provider. We are not currently prioritizing work to support third-party services.

@boblodgett this isn't just about Minio - the SDK is forcing an INSECURE request even when the endpoint is usually HTTPS. This is a pretty serious bug when you're using AWS S3 too. Please reopen.

Has this been effectively fixed in https://github.com/aws/aws-sdk-net/pull/1209 now?

Yes.  Use DoesS3BucketExistV2.


[Color Picker] - Changing color formats by dragging crashes PowerToys 0.29.3

ℹ Computer information

PowerToys version: 0.29.3
PowerToy Utility: Color Picker (settings)
Running PowerToys as Admin: yes
Windows build number: [run "winver"] 20H2 19042.685
$PSVersionTable.BuildVersion: Major  Minor  Build  Revision: 10     0      19041  610

📝 Provide detailed reproduction steps (if any)

Open Settings
Go to Color Picker
Drag any color format

✔ Expected result
Color format changes position
❌ Actual result
Application crash
Faulting application name: Microsoft.PowerToys.Settings.UI.Runner.exe, version: <IP_ADDRESS>, time stamp: 0x5e222541
Faulting module name: KERNELBASE.dll, version: 10.0.19041.662, time stamp: 0xec58f015
Exception code: 0xc000027b
Fault offset: 0x000000000010bd5c
Faulting process id: 0x3314
Faulting application start time: 0x01d6e21fae4ba4ca
Faulting application path: C:\Program Files\PowerToys\SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: d0b05d03-c907-4fd6-8c2a-1483cd4c2b28
Faulting package full name:
Faulting package-relative application ID:
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

@morgenstern72
thanks for reporting the problem, it is tracked by https://github.com/microsoft/PowerToys/issues/8317

@morgenstern72
thanks for reporting the problem, it is tracked by https://github.com/microsoft/PowerToys/issues/8317


[Plugin] Secrets Management Plugin

Summary

Secrets management is a common and fairly generic operation. Organizations have varying backends to support this ranging from SaaS providers like AWS Secrets Manager, to open source providers like HashiCorp Vault, to home grown solutions.
The backends may vary but the operations are generally the same across them all relying on CRUD operations (GET, CREATE, UPDATE, LIST, DELETE). Some of this may not be warranted/wanted by different organizations though such as GETing a plain text secret for security reasons, or deleting secrets. So it may be warranted to start simple with CREATE, UPDATE, LIST and then grow the API with optional GET and DELETE operations
In general the plugin should be pluggable into the entity page so you can quickly and easily manage and view just a specific entities secrets. How we operate on entity specific secrets may vary depending on the backend so this will be backend specific. I.e. AWS Secrets Manager and Vault rely on prefix paths for separating out secrets, but other solutions may rely on different methods for splitting secrets locations. This may be based on entity annotations or configuration values
However this shouldn't be the only way to manage secrets, you would most likely also want a way operate on secrets not associated with a specific entity such as common secrets or infrastructure specific secrets. So alongside the entity view for secrets management we would want a top level sidebar plugin as well for managing secrets like this.
The basic UI would be a list view or the secret name/key and an obfuscated value (i.e. XXXXX or *****), with the options to add a new secret via the UI or update an existing secret. The UI may need to adapt/be configurable depending on the organization, for example some teams may utilize secrets versioning and managing multiple versions (as opposed to just using the current version in a simplified world). Something similar to the below (taken from CircleCI) but not necessarily exactly the same

Project website (if applicable)

Context

Organizations all require secrets management for their entities and software. There is a general purpose need to manage this via a common UI if you're already using Backstage. Most secrets management can be boiled down to the same interface so we can implement a shared interface that can be used by varying backends and be general purpose. As organizations grow and change they may even be changes in secrets backends and being able to easily change the backend without changing the UI/platform would be useful

Great idea, would also be cool to support something like git-secretsgit-secrets out of the box.

By the way, there's a Vault-specific issue open here: https://github.com/backstage/backstage/issues/692 - just to link these...

This sounds great! Is there any progress on a generic UI for this?

@mclarke47 no generic UI that I'm aware of but looks like someone made a vault specific plugin https://github.com/backstage/backstage/pull/11423
I think it would be possible for someone to take that and make it more generic
Initially I imagined

a secrets API interface exposed via some common secrets plugin
generic frontend components
custom backend plugins per secrets solution

But maybe it makes more sense to just implement everything separately and not worry about the common aspects 🤷


Research on content for side bar

Check what are the other content can put into side bar.

Bc I feel birthday is not a  necessary fact for a profile.


Reset Layout Does Not Work?

Hi, I've been playing around with the example and noticed that the reset layout does not move the nodes to the original position. I tried dragging the nodes around  and pressing the reset layout button which only seemed to shift the label.
Is this a bug or something that has not been fully implemented yet?
Thanks!

It isn't necessarily a bug, but a usage/operation that wasn't accommodated in the original design of the ltrTreeLayout in Netflix/vizceral's ltrTree layout.
The behavior you describe of not resetting the layout only affects the ltrTree layout.  If the layout is ring, ringCenter, or dns then the reset layout button works as expected and nodes that have been dragged to another position or moved.
ltrTreeLayout caches the positions of the nodes and so even if you call _relayout (which is what the "Reset Layout" button is doing) it checks the position cache and uses those positions, so long as there are no new or removed nodes and/or connections.  If the layout is ltrTree and the cache was cleared, then the ltrTree layout would rerun instead of just using the cached positions.
The following code will detect when the current layout is the ltrTree and clear its position cache, in trafficFlow.jsx without having/doing anything to the ltrTree code in the "real" Vizceral code.
resetLayoutButtonClicked = () => {
  const g = this.state.currentGraph;
  if (g != null) {
    // Make sure it is an ltrTreeLayout so we don't through errors.
    if (g.layout.constructor.name === 'LTRTreeLayout') {
      g.layout.cache = [];  // Clear position cache so ltrTreeLayout will be relaid out.
    }
    g._relayout();
  }
}


Add custom fragment support

What this PR does / why we need it:
Adds support for custom fragments
Which issue this PR fixes (optional - uncomment and add issue):
fixes #12
Special notes for your reviewer:
This is just to test the functionality. If everything is fine let me know and we can add the feature to all of our default pages.
Release note:

Let's start with that. I think in the long run it might be beneficial to have custom-1, custom-2, custom-3. To enabled more than one custom fragment.

Actually now the user can add any number of custom fragments. We can add more than one custom fragment to show off the ability though.

Yeah you are right. Awesome solution compared to the hardcoding part. Rethinking it, I think we should be fine with this solution and no need to show another custom fragment.


use CircleTransformation report error Unhandled Exception

today i updated to 2.2.13 version,when i use CircleTransformation in my xamarin.forms project ,it worked in android,but in iOS it report "Unhandled Exception:
Foundation.MonoTouchException: " ,how can i resolve this problem?thanks !

Could you check FFImageLoading 2.2.14? Does it fix your issues?

Could you check FFImageLoading 2.2.16? Does it fix your issues?

Could you check FFImageLoading 2.2.16? Does it fix your issues?

hi,sorry i don't say clear,CircleTransformation used in xaml reported error,but i used in code,it worked.Version 2.2.16 i have not try.


MANY_SEP breaks if options parameters not in right order

This works:
    this.MANY_SEP(
      {
        SEP: tokens.symbols.comma, // chevrotain.createToken({name: "comma", pattern: /,/})
        DEF: () => this.SUBRULE(this.someSubClause)
      });

But this doesn't:
    this.MANY_SEP(
      {
        DEF: () => this.SUBRULE(this.someSubClause),
        SEP: tokens.symbols.comma // chevrotain.createToken({name: "comma", pattern: /,/})
      });

The latter falls over complaining about TypeError: Cannot read property 'concat' of undefined
Only change is the order in which DEF and SEP are declared.

Thanks @Marclev78
This is a known limitation and is documented in the API docs.

https://sap.github.io/chevrotain/documentation/4_2_0/classes/parser.html#many_sep

The reason is due to the somewhat hacky manner Chevrotain parses the end user's grammar
to figure out the structure. (Using Function.prototype.toString).

Ah, sorry I should have checked the docs first before raising this as an issue!
One thought I would have is if there was some way to maybe detect the wrong order of properties so that the error message could be more helpful?

One thought I would have is if there was some way to maybe detect the wrong order of properties so that the error message could be more helpful?

That is likely possible, do you want to give this a shot?

These are the relevant regexp during the "self analysis".
https://github.com/SAP/chevrotain/blob/master/packages/chevrotain/src/parse/gast_builder.ts#L76-L77
Perhaps a little check that throws an error can be added in the relevant flows?
MANY_SEP must always have a SEP property, so if the regExp that looks for the SEP prop fails we could probably throw an error.

Better analysis to detect this error condition should be done as part of #941


Fix spelling and update failing tests

Mostly whitespace and root node name changes, but there are two commits that need close consideration.

9a934535106703c3e2ffdd358670c1b30b311bda - Confirm this is the correct syntax for external instances. @lognaturel, can you sanity check this?

d885690ecb1ab0008a0ab18f6b5034b1922e0d83 - Confirm that groups and repeats shouldn't display hints. It's not in the spec (https://opendatakit.github.io/xforms-spec/#groups and https://opendatakit.github.io/xforms-spec/#repeats) and pyxform currently doesn't output hints. Sanity check, @MartijnR?

Confirm this is the correct syntax for external instances. @lognaturel, can you sanity check this?

select_one_external is NOT for external secondary instances, it's for "fast external itemsets" (http://xlsform.org/en/#external-selects). So yes, the odd query syntax is expected for that feature.
I've never heard of group-level hints. Collect has no way of displaying these.

Confirmed that group-level hints have never been output. https://github.com/XLSForm/pyxform/pull/290 added the test but didn't actually do anything to output the hints.
I think that if there's a desire to address #74, the first step is to have an XForms spec discussion because there is currently no mention of group-level hints at https://opendatakit.github.io/xforms-spec/#groups.


about the Makefile

Dablooms is very benefit for understanding the bloom filter. The Makefile of dablooms is very good and professional, but it is a little bit too professional for beginners :)
I believe that dablooms prefer to let people concentrate on the bloom filter itself rather than how to read and spend time on understanding the Makefile.
I wish their would be a very simple version of the Makefile.

g++ source_file.c head_file.h -o your_target -fPIC -g -Wall -O2 -lm

this cmd seems works :)

Your command can work, but you must list all the .c files, and not the .h files. Also, this is plain c, so you can use just "gcc" instead of "g++". Actually "cc" is the "default c compiler" on most unixes including Mac OS X and Linux. And if you don't want to just copy the .c and .h files into your own project, but install dablooms as a library, then you need to understand a bit more about linking to it.
However, beginners don't really need to understand the contents of the Makefile, particularly due to the make help output.
The complexity is, in my opinion, mostly in the part that attempts to support dynamic shared libraries in both Mac OS X and Linux. I don't want to take that out and only support one of them. If you have a specific way to simplify the Makefile without breaking a common use case, I'd be happy to see a pull request :)


Pipeline API is (inconsistently) Failing

Prerequsities

[x] I'm on the latest version of the plugin
[x] I've installed the required dependencies
[x] I've run :h gitlab.nvim.troubleshooting and followed the steps there

Setup Configuration and Environment
For some reason the call to get the latest pipeline is failing sometimes for me, but it's not consistent. It varies across different branches. I've asked about it in Gitlab's Reddit community here: https://www.reddit.com/r/gitlab/comments/1bywlze/inconsistent_permission_errors_on_gitlabs/
Bug Description
There are 403 errors when getting the latest pipeline for some branches. This may be an issue with how my tenant is configured, not sure.
Reproduction Steps

Check out the feature branch
Open Neovim
Run the require("gitlab").pipeline() command.

Addresses #249, for whatever reason the API to get the latest pipeline for a given MR is not working for me, I'm getting 403 errors. However, using the project-wide pipelines endpoint to get the latest pipeline (and filtering for the most recent commit on the current branch) does work. This MR changes the pipeline API call to that strategy.


Add numerical precision algorithm.

to avoid big long numbers with ridiculous numbers of decimal places

apply a number format rather than rounding the number


⚠ Jenkins Plugins Artifactory has degraded performance

In f686d69, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1181 ms

Resolved: Jenkins Plugins Artifactory performance has improved in d0a9ab6 after 15 minutes.


Check for amphtml link showing a PASS when it doesn't exist

Desktop page:
https://www.alibaba.com/photo-detail/Antiqued-Copper-Plated-Lobster-Claw-Swivel_60532600944.html

Has canonical link pointing to itself, and amphtml link pointing to the m. page
302 redirects to m. page on a mobile user agent

Mobile page (that has been AMP'ed):
https://m.alibaba.com/photo-detail/60532600944/Antiqued-Copper-Plated-Lobster-Claw-Swivel.html

Has canonical link pointing to www. page, and does not have amphtml link

AMP Bench run on Desktop page with a mobile user agent shows that the check for AMP URL is PASSing with a link to the www. page. Why is that? The mobile page that it's redirecting to does not have a amphtml url, so looks like there's something wonky here.
http://ampbench.appspot.com/validate?url=https://www.alibaba.com/photo-detail/Antiqued-Copper-Plated-Lobster-Claw-Swivel_60532600944.html

Closing, https://m.alibaba.com/photo-detail/60532600944/Antiqued-Copper-Plated-Lobster-Claw-Swivel.html doesn't work anymore. (Also, a bit old!)


add pandas version requirement

Issue #338

Only version 2.2 works without issue. Pandas 2.1 does not seem to work with latest numpy


can create folder name begin with 2 periods

as mention on github page (https://github.com/OneDrive/onedrive-api-docs/blob/master/misc/path-encoding.md)
the folder names can't begin with two periods (..)
but can create a folder starting from .., from web portal of onedrive and also from android app

Looks like the restriction has been relaxed. I'm getting confirmation to that end and then I'll update the documentation accordingly.

This will be updated in the next refresh.


Action[SetPoint] failed because[SetPoint would result in anchor family connection]

I have this error but only on new sessions after choosing character from character selection:
Message: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: TokenFramePopup:SetPoint.
Time: Sat Sep 14 00:01:02 2024
Count: 1
Stack: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: TokenFramePopup:SetPoint.
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_WarWithinLandingPage.lua"]:48: in function CreateOverlay' [string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:82: in function RefreshExpansionOverlay'
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:37: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:35>
Locals: parent = Frame {
WarWithinLandingOverlay = Frame {
}
}
overlayFrame = nil

Getting same error. Sometimes on login of a toon, sometimes not until toon interacts with bank/gbank/warbank/void storage.
40x Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: SideDressUpFrame:SetPoint.
[string "=[C]"]: ?
[string "=[C]"]: in function SetPoint' [string "@FrameXML/DressUpFrames.lua"]:401: in function SetUpSideDressUpFrame'
[string "@Blizzard_VoidStorageUI/Blizzard_VoidStorageUI.lua"]:135: in function <...ns/Blizzard_VoidStorageUI/Blizzard_VoidStorageUI.lua:133>
[string "=[C]"]: in function Show' [string "@FrameXML/UIParent.lua"]:2968: in function SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2788: in function ShowUIPanel' [string "@FrameXML/UIParent.lua"]:2676: in function <FrameXML/UIParent.lua:2672> [string "=[C]"]: in function SetAttribute'
[string "@FrameXML/UIParent.lua"]:3278: in function <FrameXML/UIParent.lua:3257>
[string "=[C]"]: in function ShowUIPanel' [string "@FrameXML/PlayerInteractionFrameManager.lua"]:190: in function ShowFrame'
[string "@FrameXML/PlayerInteractionFrameManager.lua"]:220: in function <FrameXML/PlayerInteractionFrameManager.lua:217>
[string "=[C]"]: in function `TurnOrActionStop'
[string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1>
Locals:
(*temporary) = SideDressUpFrame {
SetMode =  defined @SharedXML/DressUpModelFrameMixin.lua:144
ResetButton = Button {
}
DriftModifiable = true
OnModelSceneReset =  defined @SharedXML/DressUpModelFrameMixin.lua:138
SetLastLink =  defined @SharedXML/DressUpModelFrameMixin.lua:134
BGBottomLeft = SideDressUpFrameBackgroundBot {
}
SetPoint =  defined =[C]:-1
BGTopLeft = SideDressUpFrameBackgroundTop {
}
OnShow =  defined @SharedXML/DressUpModelFrameMixin.lua:248
OnLoad =  defined @SharedXML/DressUpModelFrameMixin.lua:243
OnHide =  defined @SharedXML/DressUpModelFrameMixin.lua:254
parentFrame = VoidStorageFrame {
}
hasOutfitControls = false
openWidth = 906
DriftHookSet = true
SetScale =  defined =[C]:-1
0 =
GetMode =  defined @SharedXML/DressUpModelFrameMixin.lua:160
ModelScene = ModelScene {
}
GetLastLink =  defined @SharedXML/DressUpModelFrameMixin.lua:130
closedWidth = 726
}
(*temporary) = "TOPLEFT"
(*temporary) = VoidStorageFrame {
0 =
Page2 = CheckButton {
}
DriftHookSet = true
SetScale =  defined =[C]:-1
SetPoint =  defined =[C]:-1
Page1 = CheckButton {
}
page = 1
DriftModifiable = true
}
(*temporary) = "TOPRIGHT"
(*temporary) = -2
(*temporary) = -15


how play video with alpha ( vp9 alpha encoding .webm ) PIXI.Texture.fromVideo

hi everybody, I can not play a transparent video with pixi.
do you have any idea why i have this issue ?
I use PIXI with Rmmv from ENTERBRAIN.
here the result !!! the background is alway black

i see here we can do it
i use the FFmpeg (.mov RGBA) to . .webm (RGBA & yuva420p)
see link here:
https://github.com/FFmpeg/FFmpeg/commit/acca56d9629b7fc158ce188190d22314c3d92c39
so i try 2 configu on encode, but pixi show alway video with black background !!?.
-pix_fmt yuva420p  ||  -pix_fmt rgba

Someone has an idea of what I do wrong.

I looked at some methods here,
https://developer.mozilla.org/fr/docs/Web/API/HTMLMediaElement
but nothing seems to can solve my problem.
Thanks for all help that yours can bring me.

https://github.com/pixijs/pixi.js/issues/4089 is the same issue, I believe

i try to replace this source code, but is also black !

here is use VP8 but not vp9
https://simpl.info/videoalpha/
so why when i encode with vp9, is no work ?

so why when i encode with vp9, is no work ?

Likely a browser bug.

i dont think so
i think ise the staxrip sofware as bug !
i just try update ffmpeg version in staxrip for sure use last libvpx
http://ffmpeg.zeranoe.com/builds/
but is not work, but other guy make me i file, thats work
am not understand how he do this !!
https://forum.videohelp.com/threads/384476-Alpha-Chanel-transparency-in-video#post2492651

I think I arrived at a result !
i use this for encode to .webm
FFVideoSource("%source_file%", colorspace = "RGB32", \
              cachefile = "%source_temp_file%.ffindex")

But i have a strange repainting.
As if the engine kept an instance of each frame, but forgot to erases them.!
very strange ??
any suggestion ?

I saw that bug somewhere.. please search all issues for "fromVideo", I'm sure we had solution for it.

#4089 is the issue you are encountering.

Closing this in favour of a reminder added to 4089 to perhaps use texImage2D in v5


Fix: Grammatical errors

Summary
Fix grammatical errors existing in the documentation.
Fixes
n/a

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[BUG]The same question yields different answers in the API and the UI

Describe the question
The same question yields different answers in the API and the UI.
To Reproduce
Steps to reproduce the behavior:
The UI
Question (as shown in the blue box below) Answer (as shown in the green box below)

The API
Question (as shown in the blue box below) Answer (as shown in the red box below)

Expected behavior
The answers obtained from the API and the UI should be the same.
Setup

Installation: docker
Flowise Version: 2.1.4
OS: Ubuntu 20.04
Browser: Chrome 131

is this happening every time? how can I replicate this

Hi, HenryHengZJ:
It might be challenging to reproduce, as I'm using Ollama Embeddings (Local Ollama) + ChatOllama (Local Ollama) + Postgres Vector Store + Conversational Retrieval QA Chain.

However, I've observed that the API endpoint used in the UI part is different from the one used when calling the API directly.

The payload parameters are also different.

And in the UI part, only the Streaming Response provides the correct answer.

The answer obtained by directly using the API is incorrect.

I followed the suggestion to pass the sessionId, but the results are still different. (The user will only ask questions to Flowise through a third-party webhook, but the API's answers should match those of the UI.)


Update cli-template-contracts-hardhat

Related Issue(s)
Closes #646
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have run yarn prettier and yarn lint without getting any errors
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Hey! @0xjei thanks for the review. Yes, the project is prepared to use npm instead of yarn. To use yarn, you need to change some configs first. The other two templates are using yarn now, but I'm changing the config to use npm by default in a way that it's easy to use other package managers too with minimal changes.
The idea is to have npm by default in all the templates and add info in the docs on how devs can easily add other package managers like yarn and pnpm.

Hey! @0xjei thanks for the review. Yes, the project is prepared to use npm instead of yarn. To use yarn, you need to change some configs first. The other two templates are using yarn now, but I'm changing the config to use npm by default in a way that it's easy to use other package managers too with minimal changes.
The idea is to have npm by default in all the templates and add info in the docs on how devs can easily add other package managers like yarn and pnpm.

Do you think that really makes sense? It could be confusing as the whole project uses yarn as the default!

Do you think that really makes sense? It could be confusing as the whole project uses yarn as the default!

The idea is to create the templates as generic as possible in a way that dev can use the package manager they prefer.
What do you think that would be better?


Prevent worker_extra_args to adds up extra arguments

Fixes #589, but I'd like to understand better how this bug was introduced.
Maybe we should also add a test, not mandatory here.

I think it's because in jobqueue.yaml the default extra value is null, but the default value for worker-extra-args is [] which is mutable.

Superseded by #591