General help on mws xsd -> xml feeds

hi!,
first, thanks for the contributions and all your replies here :-) Helped me a lot to get started with some mws helper functions.
however, i am stuck in dealing with mws feeds, especially using xsd/xml instead of flat files.
I updated my listing on amazon now for a while with flatfile (.tsv) upload which worked fine. However I now want to switch to xml for changing price etc.
I have read some docu, some posts but i am still mentally stuck on how to even utilize the xsd provided by amazon on their mws docu page (http://docs.developer.amazonservices.com/en_DE/feeds/Feeds_FeedType.html)
maybe some of you can drop me a few hints how to move on?

Do I need to construct the whole xml myself locally (including header, envelope.xsd files etc in the same directory), right? One would load Price.xsd for price changes, and e.g.ProductImage.xsdfor image changes?

which workflow can you suggest, at the moment i try:

load xsd (e.g. Price.xsd) via xmlschema.XMLSchema(...) and try to set values via
xml = xmlschema.from_json(jsonobject, xmlschema) but here i am stuck. I have no idea how to format the json or even know which values to set.
xsd = xmlschema.XMLSchema('./application/static/xsd/amzn-header.xsd')
data = ({'SKU': '9876543210'})
jsondata = json.dumps(data)
xml = xmlschema.from_json(jsondata, schema=xsd)

is there a way to construct a json from xsd / know which fields are needed, because
here was posted a short price xml, but the Price.xsd file is much longer (https://github.com/python-amazon-mws/python-amazon-mws/issues/157#issuecomment-594018507)
also for example i dont see the MerchantID header anywhere in the Price.xsd file (also not in the inclued amzn-base.xsd)
any small help would be highly appreciated :o)

You actually have an interesting approach, when it comes to load xsd and use that in your code.
But that is adding a whole lot of complexity only to get started.
I would recommend you to get started with the most simple example. Maybe change something you find here slightly.
I found an example in one of my older projects: https://github.com/elcolumbio/mlrepricer/blob/5b3c49c7ab6770239f2cd007d002321613217140/mlrepricer/updateprice.py#L131-L143
That is the payload you can pass into this sdk, you see how i do it under the cited code.

also for example i dont see the MerchantID header anywhere in the Price.xsd file (also not in the inclued amzn-base.xsd)

You can check amzn-header.xsd for MerchantIdentifier
https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-header.xsd


(PDB-2482) Revert "Revert "(PDB-2482) Add ability to configure PE with token auth""

This reverts commit 793195766a145fef63a585b379bf75213096c8fa.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/661/

This corresponding PE PR is here https://github.com/puppetlabs/pe-puppetdb-extensions/pull/186

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/662/

@puppetlabs-jenkins test this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/663/


[ie/youtube] Remove n function extraction fallback

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

Fixes #10391
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Makes you wonder why we kept the redundant extraction, and in that order ...


File for training data is offline – alternative location?

As the title states – the link unfortunately doesn't work anymore:
http://cv.snu.ac.kr/research/VDSR/train_data.zip
Do you know of an alternative server or could you upload the file somewhere?
Thank you!

Same Problem's  Here.

Hi, download from
google driver or
baidu yun password: ysqp


mitotic cell cycle regulation, UV, G1

abnormal | normal
mitotic cell cycle regulation during cellular response to UV during mitotic G1 phase
cf. fypo:4254, 4551
PMID:15498101

abnormal mitotic cell cycle regulation during cellular response to UV during mitotic G1 phase FYPO:0005179
normal mitotic cell cycle regulation during cellular response to UV during mitotic G1 phase FYPO:0005180

edit file: b0d23e164726c7b507efddd38a221f69398e18f8
release: 35186d4bdd6804be8ae67f07d0296ed3f25ba250


Custom rendering API

We should have a proper API to allow rendering selected objects to selected textures with selected shaders. It's often desirable, be it object icons, or rendering reflections into a render target.
The API should allow:

Rendering a provided array of meshInstances and lights from any camera into any RT
Overriding scene shaders/chunks while rendering
Optionally ignore gamma/tonemap/fog/other global things

Optionally ignore gamma/tonemap/fog/other global things

That is managed by materials isn't it?
And by Scene. Multiple Scenes (Worlds?) could do exactly that, as they would contain specific models and lights, and can have own settings of gamma/tonemap/fog etc.
So basically, it is almost there, but needs to be changed so it is easier to work with.

Layer system seems to address this. For any additional features please open a new issue.


Release/0.8

Summary
Release branch for 0.8 release

The Client verify process failure fix is in #1077


Switch to Hono 1.0.2

Type of change

Refactoring

Description
Upgrade to Hono 1.0.2

Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=iot testcase=io.enmasse.systemtest.iot.shared.http.HttpAdapterTest

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: iot
TEST_CASE: io.enmasse.systemtest.iot.shared.http.HttpAdapterTest
TOTAL: 5
PASS: 5
FAIL: 0
SKIP: 0

@enmasse-ci run tests profile=iot

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: iot
TEST_CASE:
TOTAL: 35
PASS: 31
FAIL: 0
SKIP: 4


Added mockFunction test utility

Codecov Report
Patch and project coverage have no change.

Comparison is base (ee2993b) 100.00% compared to head (78721cd) 100.00%.

@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           70        70
  Branches        14        14
=========================================
  Hits            70        70

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add Skeleton

A Beautiful Boilerplate for Responsive, Mobile-Friendly Development
http://www.getskeleton.com

:+1:


PDU Text Messages are truncated....

i have a gps tracker that sends sms in PDU format , the ap inventor returns me part of that message specifically the first 135 charactrers are lost

Fixed in 37c4a0c


fix(device): avoid state update while arming or disarming

Related Issues

Closes #154

Proposed Changes:

This change fixes a race condition that happens when the device arms the system, but before this happens an update is triggered and brings the system to a wrong state. Furthermore, avoids the AlarmDevice to set "Arm Away" wrong state.
Testing:

From "disarm", trigger the "arm home" state and be sure it doesn't transition back to "disarm", or in a wrong "arm away" state.
Extra Notes (optional):

This change creates a dependency between the AlarmDevice and the arm/disarm caller as it is expected who calls one of these methods, to set the right ending state. While this is not great and would be better to decouple it, it's a good enough solution. At some point, we may want to remove AlarmDevice transforming it in an actual entity.
Checklist

[x] Related issues and proposed changes are filled
[x] Tests are defining the correct and expected behavior
[x] Code is well-documented via docstrings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 94.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
676

Relevant Lines:
723

💛  - Coveralls


Add timestamp96 argument to read_parquet methods

Hey there!
When exporting data from spark into a parquet file, timestamps are represented as int96, see https://github.com/dask/fastparquet/issues/93.
When converting such a parquet file into a pandas dataframe I can specify the columns which are then converted to datetime:
import fastparquet
pfile = fastparquet.ParquetFile('some_file.parquet')
df = pfile.to_pandas(timestamp96=['CREATE_TS'])

However, when I'm using dask I can't specify this argument:
from dask import dataframe as dd
ddf = dd.read_parquet('some_file.parquet')

It would be great if dask also offered the timestamp96 feature.
Versions
dask        0.15.1
fastparquet 0.1.0

This is easy for me to add this to the fastparquet path.
@wesm, how is this handled in arrow?

These are read automatically since the only supported data for INT96 is timestamps

Actually, it looks like I did this too, since https://github.com/dask/fastparquet/commit/3d1450fd3728fc4c95a586a9c48821bfa07c0c58 - @sotte , are you should upgrade to fastparquet 0.1.1, and then you won't need to supply the timestamp96 argument at all.

@martindurant the update to fastparquet 0.1.1 did the trick, thanks!


WIP - cmd: policy trace src / dst eID and secid options

Add capability to pass in a source / destination endpoint and security identities to cilium policy trace.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>Partially addresses #1005

Between commit 5dfd8b1139ed5de294ec3edd2fca7d0512009676 and commit 364d72ec43ecb0bd6546bc9a3d25dc402ac80b4f, the adding of the annotation failed in the K8s case:
20:47:47 [K8s multi node Tests] time="2017-08-06T20:47:41Z" level=error msg="k8s: unable to update pod default:app2-4193432878-blhq1 with \"cilium-identity\" annotation: pods \"app2-4193432878-blhq1\" is forbidden: unexpected operation UPDATE, retrying..."
20:47:47 [K8s multi node Tests] time="2017-08-06T20:47:41Z" level=error msg="k8s: unable to update pod default:app3-3595226997-mq28v with \"cilium-identity\" annotation: pods \"app3-3595226997-mq28v\" is forbidden: unexpected operation UPDATE, retrying..."
20:47:47 [K8s multi node Tests] time="2017-08-06T20:47:41Z" level=error msg="k8s: unable to update pod default:app1-2242192615-84jwr with \"cilium-identity\" annotation: pods \"app1-2242192615-84jwr\" is forbidden: unexpected operation UPDATE, retrying..."
20:47:47 [K8s multi node Tests] time="2017-08-06T20:47:41Z" level=error msg="k8s: unable to update pod default:app1-2242192615-wrdqw with \"cilium-identity\" annotation: pods \"app1-2242192615-wrdqw\" is forbidden: unexpected operation UPDATE, retrying..."

The only change was to add nodes to the list of objects that allow for updates in the RBAC YAML file. I'm not sure why this would happen? Will investigate...


Make the Route and AnyRoute types generic

This pull request makes the Route and AnyRoute types generics so developers can customise the types of their bodies, headers, params, querystrings, and replies, rather than have them be set to unknown. This attempts to mirror Fastify's Typescript generics system, a quick guide can be found here.
I have also tidied up the types and removed some unused or uneeded types, and made the existing types more efficient.
This PR addresses #13

Hey this looks excellent, i was thinking about implementing something pretty similar, so thanks for it. Will publish it in a day or after I finish few things.

The tests are failing for fastifyv4, so i need to fix them, after that it'll be good enough.


Can't compress 6 images in to one cubemap

I'm using cli tool to compress 6 images into one cubemap but got this error For cubemaps the total number of input images is not a multiple of 6
basisu -mipmap -mip_smallest 4 -tex_type cubemap .\px.png .\nx.png .\py.png .\ny.png .\pz.png .\nz.png
Basis Universal GPU Texture Compressor v1.16
Copyright (C) 2019-2022 Binomial LLC, All rights reserved
Using SSE 4.1: 1, Multithreading: 1, Zstandard support: 1, OpenCL: 0
Processing 6 total file(s)
Processing source file ".\px.png"
Read source image ".\px.png", 512x512
Total basis file slices: 8
Slice: 0, alpha: 0, orig width/height: 512x512, width/height: 512x512, first_block: 0, image_index: 0, mip_level: 0, iframe: 0
Slice: 1, alpha: 0, orig width/height: 256x256, width/height: 256x256, first_block: 16384, image_index: 0, mip_level: 1, iframe: 0
Slice: 2, alpha: 0, orig width/height: 128x128, width/height: 128x128, first_block: 20480, image_index: 0, mip_level: 2, iframe: 0
Slice: 3, alpha: 0, orig width/height: 64x64, width/height: 64x64, first_block: 21504, image_index: 0, mip_level: 3, iframe: 0
Slice: 4, alpha: 0, orig width/height: 32x32, width/height: 32x32, first_block: 21760, image_index: 0, mip_level: 4, iframe: 0
Slice: 5, alpha: 0, orig width/height: 16x16, width/height: 16x16, first_block: 21824, image_index: 0, mip_level: 5, iframe: 0
Slice: 6, alpha: 0, orig width/height: 8x8, width/height: 8x8, first_block: 21840, image_index: 0, mip_level: 6, iframe: 0
Slice: 7, alpha: 0, orig width/height: 4x4, width/height: 4x4, first_block: 21844, image_index: 0, mip_level: 7, iframe: 0
ERROR: basis_compressor::validate_texture_type_constraints: For cubemaps the total number of input images is not a multiple of 6!
ERROR: Compressor failed 2darray/cubemap/video validation checks!

Specify an additional option: "-tex_array". This is a new bug introduced when we switched the default cmd line tool's behavior from texture arrays to individual files. Will fix. Thanks for the report!

The fix is checked in. I'll be pushing out a new executable tonight. Thanks again!

Thank you


install.php redirects to /core/install.php (which then 404s) even in D7?

Issue Type

Bug Report / Support Request

Your Environment

Vagrant 1.9.1
VirtualBox 5.0.26r108824
ansible <IP_ADDRESS>
  config file =
  configured module search path = Default w/o overrides

Your OS

macOS (10.11.6)

Summary

I've got the single site install turned off and am using Drupal VM to run  a few different drupal 7 sites at different vhosts, the docroots of which I'm syncing via nfs. The folders seem to be syncing fine - I can create html files in them and go to myhostname.dvm/file.html and see it. However, when I put drupal core into the folder, if I visit the site in a browser, install.php does a 301 redirect to /core/install.php which does not exist.  This seems to be Drupal 8 behavior getting applied to a Drupal 7 site?
I was using nginx for my webserver, I'm currently rebuilding with apache to see if the problem is happening when using apache also.

My bad, I already forgot about D7 when I made that commit... It should work with apache though.

I'm fortunate enough to not have touched any new D7 sites in the past year now :D

This creates issues when you have more than one site, and the other site is a D7.
The "drupal_major_version" flag is a global flag for the entire VM.
That's not very practical when you have several sites configured.


Impossible to read text on a selected item in a sidebar with light themes

VSCode Version: 1.33.1
OS Version: Linux x64 4.19.0-4-amd64

Steps to Reproduce:

Select a default light theme
Focus on sidebar
Select a file in a the explorer/select an extension from the marketplace/select a changed file in the source control/basically anything that is selecting an item in a sidebar

Does this issue occur when all extensions are disabled?: Yes
It happens only with items in a sidebar, as far as I've noticed. Changing desktop themes doesn't seem to make any difference.
That what it looks like:

After some more digging, it turned out that Material Theme's setting "Set accent color" was causing this behaviour. The extension writes the updated accent to user's settings with workbench.colorCustomizations, so even after disabling the extension, the effect is still there.


Installing on Debian 7.x

Found a couple of issues with the .deb installer for Debian 7.x (specifically 7.8).
Firstly, we use a Debian AMI from the AWS marketplace which by default has several files in the /etc/init directory but doesn't actually use upstart. This means the after-install-and-upgrade.sh script it incorrectly chooses upstart as the init system. It seems like the AWS AMI has several upstart based init scripts for cloud-config etc, hence why the folder exists but is never used.
Perhaps we need to investigate other ways of detecting the init system as folder bases discovery seems a bit flakey. A quick fix might be to just look for /etc/init.d first since sysvinit is the default Debian init system and upstart isn't that common. I'm happy to help with this where I can, but I'm not that familiar with this stuff.
When working around this I also found that even if the init system is correctly detected the script can't be copied to /etc/init.d/buildkite-agent.sh because the /usr/share/buildkite-agent/lsb/buildkite-agent.conf was renamed a few days ago (to buildkite-agent.sh). Changing the command on line 80 of after-install-and-upgrade.sh to fix the filename and all works as expected.

Oh, also the buildkite-agent.sh needed to be made +x to allow it to be executed.

I just fixed the first part of this problem in master: https://github.com/buildkite/agent/commit/d538f43eb61d3e364f6dc880a4f3731ba44e09c1
Can you run: initctl --version on your system for me?

I've just tested installation on Debian 7, and it all works like a charm now. Thanks for submitting the bug report!! :heart:

(All the fixes are in beta 33)

Perfect, thank you!
On Mon, May 25, 2015 at 1:28 PM -0700, "Keith Pitt"<EMAIL_ADDRESS>wrote:
(All the fixes are in beta 33)
—
Reply to this email directly or view it on GitHub.


An interface document is required

Tip: if you want to add more APIs later, maybe you can show all the available APIs in README, just like the interface document。

The README is now updated with all the reference APIs.
Thanks for creating the issue. It was actually a long pending task.


Fix packup to correctly handle melpa-stable, and other fixes

That's right: packup no longer tries to install the latest melpa even though you told it to use melpa-stable! Woo!
Other things I like are added. Feel free to complain if you don't like them.
This resolves #99.

Since this PR does a LOT. I would appreciate it if you could checkout and try some things on the branch. You should be able to delete your .emacs.d/elpa directory entirely and get almost all packages from melpa-stable.

Yeah, we should essentially end up with the same result as using U in the packages buffer. The only lingering issue, I think is that transitive dependencies might not have updates triggered. This is a non-trivial fix, and I'll need to spend a while figuring it out. I don't really want to hold this up with that.
So... did it work on the real branch?

Yes, I edited my comment a few times to match the current state of my hunt.  After nuking .elc files, I ended up getting intended results.  (U on package-list-packages reports no upgrades and M-x kotct/packup-update doesn't report any upgrades.)

I am surprised nuking .elc files had an impact. We should always prefer the newer file between .el and .elc. It could be an issue with how we autoload. Probably requires further investigation in a separate issue.
I want to leave this open for at least a couple days in case @samontea has a chance to glance at it (since he wrote a lot of the code that was modified).

@samontea :heart_eyes:


Add docs to techincal faq about ensure-default-admin command

https://github.com/rancher/docs/issues/743

@deniseschannon , I reviewed this PR from @maxkorp , and it lgtm.


Terrain Generation GUI isn't working

I've dropped the terrain tools into the startergui folder and when I test play it seems all of the GUI windows show stacked on each other by default. After turning on and back off each individual tool, you are left with the Generation window which has no options and the buttons are unclickable. I'm guessing there should be a button at the bottom to turn this on and off as well, but there isn't a button in the bottom bar like there are with the other tools.

The smooth terrain tools are not intended to be put into startergui.

Oh okay, I'm sorry. I was just going by the instructions on the wiki... http://wiki.roblox.com/index.php?title=Smooth_terrain#How_to_add_the_Smooth_Terrain_Tools_to_your_game
Is there any reason the generate function doesn't generate correctly when using it outside of the studio GUI? https://forum.roblox.com/Forum/ShowPost.aspx?PostID=189594387

Good find! The documentation on the wiki was wrong. If you want the terrain tools to function as in-game tools, you need to put them into the *Starterpack. I will update the wiki. Thanks


images/runtime: update ubuntu base image

Signed-off-by: André Martins<EMAIL_ADDRESS>

@michi-covalent I was just following the steps here https://docs.cilium.io/en/latest/contributing/development/images/#update-cilium-builder-and-cilium-runtime-images

test-me-please

test-gke

test-1.20-4.18

test-1.20-4.19

test-1.20-4.19

test-1.20-4.19


X icon is not aligned correctly

Expected Behavior
X icon in the selected items should be aligned to the clear all test.
Actual Behavior

Steps to Reproduce the Problem

Select an item.

Specifications

Version: 1.0.36

i will take this up @liorheber


Modified Molten Ender Teleport

Modified the teleportation for molten ender to trigger an event as if an ender pearl has been thrown for the teleportation of a mob/player. I did this mainly to work with the Dark Utils Ender Tether as it adjusts the teleport destination based on the EnderTeleportEvent. Teleport still behaves as normal and random if there is nothing that intercepts the event.

Your formatting is off, can you please fix that?
Also, please fire a TeleportEntityEvent, that's the one for entities being teleported by something else. The EnderTeleportEvent is for entities that teleport themselves. You can fire that one for Endermen if you want, so it doesn't make a difference if they teleport by themselves because WATER!!!! or are being teleported by it.

I've used EnderTeleportEvent as the motivation behind this adjustment is to have the teleport function as if it were an ender pearl throw by an entity. This allows existing mods that provide control using EnderTeleportEvent such as Botania and Dark Utils to control the destination of mobs that fall into the fluid. Using TeleportEntityEvent would result in the desired outcome not being achieved for this adjustment.

Ok, makes sense. but then we should do the whole Ender Pearl spiel, including Endermite chance, dismounting (also check the other way around, e.g. teleporting a horse should also dismount its rider) and fall damage (reduce that to 1 for mobs with less than 10 max health and 0 for non-living entities---we don't want to kill them outright)...

NB at EIO version 1.10.2-<IP_ADDRESS>-beta at least its broken-ish if you step into the fluid while mounted on a horse/donkey

That is going beyond what I wanted to achieve here, just had an idea on how to make this interesting/mildly useful in a way that isn't overpowered so thought I'd give it a go myself rather than just saying 'hey can you do this?'. If you want to keep the teleportation as purely random I'm not bothered.

Ok, I'll use this and base and add the rest.


Non Key identity Column fails

Hi,
If table has None Primary key Identity column , bulk insert fails with Error "Column does not not allow DBNull.Value".
I have tried Annotating Column as
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
and also as Fluent way of  ValueGeneratedOnAdd
Works fine if I use AddRange method.

Could you also write code of that entity class.

I can reproduce the issue, and will investigate the cause.


proposal: Return values: usage + UNSUPPORTED vs UNSUPPORTED

The value printed - if a stub does not "support" the number of arguments given - is not uniform among all the stubs. Should we consider choosing one of the following proposals.
when not supported:

A stub either Returns always UNSUPPORTED?
Or should the stub return UNSUPPORTED only when given 2(host + port) or 3(host + port + ca-bundle) arguments and usage other times?

which one should we choose (or other proposals)?

[ ] 1. UNSUPPORTED
[x] 2. usage(argc < 2 or argc > 3) and UNSUPPORTED(2 <= argc <= 3)

(I prefer the lower one)

There is always an unspecified area outside the conforming calling convention and proper environmental conditions (enough memory, enough cpu time allowed, ...). Current calling convention specifies the positive space, ie. what should happen when calling convention is followed and the corresponding return values (VERIFY FAILURE, VERIFY SUCCESS, UNSUPPORTED) and corresponding exit value (0). In all other cases, ie. when calling convention is violated, stub runs out of memory, lightning strikes or machine catches fire then stub should just err, explain its diagnosis for erring if sensible and return non zero exit value. We really can't specify all the reasons and outcomes for erring so I think we should stick to the current convention of erring (with optional explanation) and a non-zero exit value.

A furthernote, what is important is that under no circumstances should the stubs return VERIFY SUCCESS and exit value 0 when they err for whatever reason, including broken calling convention.

Just requiring the stub to exit with a non-zero exit code (with optional reason text) when an unexpected number of arguments has been given sounds sensible. However we probably shouldn't require the stub writers to print out an usage string.

Well, i wasn't thinking about specifying all the reasons and outcomes for erring. I was just thinking that maybe there should be some expected behavior/pattern - which could not be too easily mistaken to something entirely different - if no correct number of arguments were given. Because by doing so it would be easier to semi-automatically identify 'how' to run the stub (name of which is not always exactly known), e.g. "java Run.java -> _, java Run.class -> _, java Run -> UNSUPPORTED" -> java Run .. is the 'correct' way of executing the stub (this is how it's currently implemented in simplerunner(run, sr). The scripts can of course be edited to match the wanted behavior but some expected output (exit value (not so good because java Run.java or something might return the same exit value as well) or stdout or something) might be great. If the UNSUPPORTED was printed that would also mean that there might be a change of making the usage of certificates a little bit more automated. Of course this could also be language specific (or even stub specific) but that would just probably mean more work and mistakes.
That's why i would propose using UNSUPPORTED (or usage) but if that is not wanted - It would not have to be done this way for every stub(for example if it is too difficult) - well in that case i guess it gotta be done a little bit differently then.

not so good because java Run.java or something might return the same exit value as well

Hmmm, currently we count on the runner getting the proper exit value from the stub?
But back to the original point. I was trying to say that starting to require returning something specific or UNSUPPORTED beyond current calling conventions would require extending the current calling convention, make it and resulting stub code potentially more complex. It might be a slippery road. As you point out it is important that if unexpected things happen there is an expected behaviour, currently it should be that the magic values (VERIFY SUCCESS, VERIFY FAILURE, UNSUPPORTED) are not returned and exit value is not zero.

In a nutshell i just mean that all the stubs do not print UNSUPPORTED when [... the example has not implemented the requested behavior (e.g. setting CA certificate bundle)] is not satisfied, e.g. wrong number of arguments were given (?). Why would it increase the complexity to check if supported number of arguments were given and if not then print UNSUPPORTED and exit with the value zero. My point is it may not be enough only to return 0 (which, even some of the stubs do not do at the moment) in some cases, but it most definitely would be enough to print (at least ) UNSUPPORTED (that would separate the correct files from the incorrect ones - the executable ones from the others). Obviously if we know the exact name (and 'usage') of a stub (Run or run.py or Run.py or Run.cs (and so on)) for sure this would not be required - but that might not always necessarily be the case - at least in the future. Basically it is just about modifying the current stubs to follow the calling convention (part of which - if i understood correctly - is the following: 'print' UNSUPPORTED and 'return' 0 if wrong number of arguments were given, i.e. the stub could not implement the requested behavior)
I am not talking anything about any other kind of unexpected behavior but just the wrong (UNSUPPORTED) number of arguments.  Furthermore i do not take a stand on other kind of unexpected behaviors or errors in this issue as some of you seem to be implying. It is simply an issue of modifying the current stubs to follow the calling convention, i.e. print UNSUPPORTED and exit with the value zero when unsupported number of arguments were given.

The calling convention is documented in stubs/README.md: If a stub doesn't support setting the CA bundle then it should print UNSUPPORTED and return with exit value 0. If some stub doesn't implement the calling convention, then the stub should be fixed.

UNSUPPORTED + optional usage is the way to go.

UNSUPPORTED and process exit value zero if calling convention not violated but (number of) arguments still not supported. Otherwise (optional) error and process exit value other than zero.


VS Code doesn't always open in WSL Ubuntu remote server

My VS Code sometimes opens in my windows environment rather than my WSL Ubuntu environment.  I only want WSL to be active.

In general VScode always reopens the windows that were last open.
There was a bug that running code without arguments would not restore an empty WSL window. Is that what you saw?


Use pytket config for credentials in tests.

Closes #62.

Also cherry-icked honeywell mypy fix from #70.


Certain .glb files will not render

Description
Certain .glb files will not render
Live Demo
Here is the live demo on my website: https://www.esclab.co/example
The first view contains the .glb file that does not render, even though it works in the Model Editor (https://modelviewer.dev/editor/) and a number of other GLB viewers.
The way I got the .glb is uploading my .stl (Solidworks) file to Sketchfab. Downloaded the .gltf file, and converted to .glb using one of the popular GLTF to GLB converters.
I even uploaded the .glb to the Model Editor and exported it back out again, thinking it would work because the Model Editor may know how to "fix" the file.
This is the .glb file in question: https://static1.squarespace.com/static/5f68295cbecfb4667e98556e/t/5f7ab15ece10ea2a486470cf/1601876332015/s00_ss.glb
Version

<EMAIL_ADDRESS>
Browser Affected

[x] Chrome
[ ] Edge
[ ] Firefox
[ ] IE
[x] Safari

OS

[x] Android
[x] iOS
[ ] Linux
[ ] MacOS
[x] Windows

I have attached the code below:

    <model-viewer
		style="width:100%; height:600px;"
		alt="Series 00"
		webxr scene-viewer quick-look
		auto-rotate
		auto-rotate-delay="1000"
		camera-controls
        rotation-per-second="300%"
		src="https://static1.squarespace.com/static/5f68295cbecfb4667e98556e/t/5f7ab15ece10ea2a486470cf/1601876332015/s00_ss.glb"
        ios-src="https://static1.squarespace.com/static/5f68295cbecfb4667e98556e/t/5f7aa26ad0564007bdc234dd/1601872507748/Series_00_SS.usdz"
        ar>
</model-viewer>

Your link isn't working for me; perhaps I don't have permission? Do you see any errors in your JS console?

Hi! Looks like it was my fault. I checked the console and there was a CORS error. Once I put the asset through a proxy, the issue was fixed. Thank you

Hi, I'm facing a CORS error as well in loading a gltf/glb file to model viewer from a github repo. Many have mentioned using a proxy and I'm fairly new to using model-viewer could you please tell me how to do this.
This CORS error is the only thin that is currently a hinderance.

@Midnightfury you'll have better luck opening a new discussion than using a closed issue. Please post a repro link and describe how you've set up your server and we'll try to help.


Initialize with local data?

Great package. I really appreciate your work!
Is there a way to initialize the localForage data with a local JSON file, such that when the app is opened for the first time while offline, there is already some data? I'm talking about an Ionic app on a smartphone, where I would like to ship the data as a JSON file with the app bundle and only use firebase for incremental updates.

Hi @pwespi, I think you've come across a very important use case! 👍
Demo
Here is a demo (with code) of initializing app data from a Json file, and it does work offline! 🎉
Testing in browser

Visit demo
Go offline
Open dev tools, go to IndexedDB, click localforage, then click keyvaluepairs, and clear the browser's local storage by clicking the lower righthand button
Reload demo

You should now see data initialized from the Json file!
Loading Json files
Loading Json files can be a little tricky using Typescript.
I just added the following to src/typings.d.ts:
declare module "*.json" {
  const value: any;
  export default value;
}

and imported it like this:
import jsonFile from './json-file-example.json';

These links may be helpful:

Hackernoon - How to Import json into TypeScript
SO - how to use a json file in a typescript file

Initializing data
To initialize data, just add the data as you normally would with any Firebase list/object.
Example:
initializeData() {
  // Add list data from Json file
  this.groceries.remove(); // Remove is optional
  jsonFile.listExample.forEach(listItem => {
    this.groceries.push(listItem);
  });
  // Add object data from Json file
  this.car.set(jsonFile.objectExample);
}

Just call the initializeData method when you want to initialize your app's data.
Next steps
Next you might want to make sure that the data was not already initialized by adding a data object to your Firebase database. You would then check this data point before initializing data so that the Json file is only loaded once.


listGroups in Directory api

I use the function listGroups to retrieve all groups in my directory.
I use this params
$params = array(
    'domain' => 'mydomain.com',
    'userKey'=> $userkey,
    'query'=>'name=abuse'
);

but I obtain this exception:
(list) unknown parameter: 'query'

is it a bug?
In function docs i read
@opt_param string query Query string search. Should be of the form "". Complete documentation is at https://developers.google.com/admin- sdk/directory/v1/guides/search-groups

And I haven't problems if i try the function by the tool at
https://developers.google.com/admin-sdk/directory/v1/reference/groups/list

Are you perhaps using a very old version of the API client? query was added to the API in May 2018. Make sure the version you have installed is more recent than that. In my tests against the latest version of the client, I do not see the error you report, but when I roll back to google/apiclient-services v0.57, I do.

ok thank you, i updated the version, now it works


Added Adaptive sampling support for Elasticsearch

Which problem is this PR solving?
This PR addresses a part of the issue #5084 which is Storage backends for adaptive sampling #3305.
Description of the changes
This PR introduces the integration of adaptive sampling with Elasticsearch, as part of the ongoing effort to support storage backends for adaptive sampling. The changes include the implementation of key functions and structures necessary for seamless integration.
How was this change tested?
Tests for this change are yet to be added. The subsequent commits will include comprehensive unit tests to validate the functionality.
Checklist

[x] I have read CONTRIBUTING_GUIDELINES.md
[x] I have signed all commits
[x] I have added unit tests for the new functionality
[x] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

Hi @yurishkuro,
Could you please review the current approach and let me know if it aligns with the project's goals? Any feedback or guidance would be immensely helpful.
Thanks!

Resolved in #5158


CIS 3.4 Verify that docker.socket file permissions are set to 644 or more restrictive

[ec2-user@ip-172-31-35-1 ~]$ ll /var/run/docker.sock
srw-rw---- 1 root docker 0 Jul 12 22:49 /var/run/docker.sock

Ran docker-bench and this isn't an issue


Refresh rosgraph when params checkbox is clicked

Fix behavior reported here https://github.com/osrf/ros2_test_cases/issues/1016#issuecomment-1533433426

Windows failure seems unrelated 🤔

Windows failure seems unrelated thinking

Yeah, that was infrastructure.  I re-ran it and it looks good now.

@Mergifyio backport iron


ci: make every examples test a workspace

This setup will allow turbo to parallelize tests using turbo instead of Github Actions.
This reduces the number of Github Workflow runs that are triggered when an example
changes. The working theory is that this is faster and easier to read
(i.e. 2 instead of 16 PR checks for examples tests).
This commit does not change the fact that all examples tests are run when
any of the examples change. We may be able to wire up dependencies more
carefully in the future, but this is not feasible at the moment because each
example itself is not a workspace.
This is an alternative approach to parallelizing at the prysk level with pytest (see #4190)
Reviewer notes (please read 😄 )

Even though we have turbo.json configuration for what contributes to the cache key,
we are still using the Github Actions to limit when this runs to changes in examples/
and examples-tests/**. Since these tests do not exercise a locally built turbo, this is fine.
In the future we may want to run examples tests against CLI changes as well, but
we will cross that bridge when we get there.
There are some funky tests that don't really make sense to me
(e.g. npm with the with-yarn). I'm not planning to change/delete those
in this PR, unless I've translated the matrix wrong.
We are now validating the output from turbo run ... in examples.
This started for debugging purposes, but I am keeping it because it
also helps validate FULL Turbo on the second run. The disadvantage is that
if a new version of turbo is published and changes this output, we won't know
until the next time these tests are triggered. This exacerbates an existing problem,
so I'm noting here, but I think it's actually a good problem to surface when
it happens. We could consider running these examples tests on publishing a
new version by way of the smoke-test-published + Turbo orchestrator tooling.

There are some funky tests that don't really make sense to me
(e.g. npm with the with-yarn). I'm not planning to change/delete those
in this PR, unless I've translated the matrix wrong.

We don't even really need  the with-yarn or with-npm examples anymore since create-turbo always uses basic and just codemods between the package managers. The only reason I left them was for those who may prefer browsing an example before getting started. But I could be convinced to yank them out.

@tknickman yeah I'm ok to add/remove as well. Let's figure that out outside this PR


Relax ruby version requirement

The previous version downgrade was not backwards-compatible because of the patch version and the fact that I used ~> to specify the version requirement. Since I originally added the version requirement as more of a suggestion to upgrade to the newest version of ruby, I'm removing it because I don't have a good reason to enforce a particular version.

What about removing the patch level requirement?

~> 2.1 is identical to >= 2.1 and < 3.0

—Bundler docs

Yeah, after discussion I think ~> 2.0 is a better check, and still reasonable. 2.0 isn't even supported anymore, so I believe it's beneficial to have a hard requirement on being at least on 2.0.

👍

👍


Compound Interest Calculator

Enter calculator name -
Compound Interest
Describe calculator functionality -
Take principal, rate of interest, time and compounding frequency as input from user and provide interest and amount as output
Under which category you wish to place it -
[] Computer Science
[x] Mathematics
[] Scientific
[] Health
[] Let project owner decide
[] Suggest a new category - (Answer here)

Hi @SarthakKeshari can you assign this issue to me. Also can you provide some more specific details about this issue.

Hi @Saksham-245,
Assigned

I have created a simple interest calculator in the react app, so similarly you may create a compound interest calculator, with an extra field that takes into consideration whether compounding is happening, monthly, quaterly, semi-annually or annually.

@Saksham-245, You may contribute your code under the folder path -
calc_for_everything\calculators\src\mathematical\compound_interest

Kindly take pull as the codebase is updated.

Sure!


Improve MMM contribution plots

Port of https://github.com/pymc-labs/pymc-marketing/pull/291 so that it is compatible with https://github.com/pymc-labs/pymc-marketing/pull/309

[x] Add implementation and tests.
[x] Update example notebook.

:books: Documentation preview :books:: https://pymc-marketing--313.org.readthedocs.build/en/313/

@ricardoV94 I completed adapting the code from the already approved PR ✅ !
Regarding your comment:

If you are doing a single call, and compilation takes a considerably chunk, you can consider setting the mode to FAST_COMPILE and/or disable C compilation via config.cxx="".
If a user is likely to call this method many times in a single workflow, it may make sense to compile a generic function and cache it. In subsequent calls one could just pass the new inputs to the function without having to recompile it every time.

I am still not sure how many times a user is expected to call this function. Still, I definitely think it is worth trying as the compilation time does take a bit. I will create an issue and tackle it in a different PR.

Fixed in https://github.com/pymc-labs/pymc-marketing/pull/313/commits/54776de98b31ffc64c944fde4da166b9c8684918

View entire conversation on ReviewNB

Looks great! The comments on the grid test are even more useful. Thanks!
Good on my side when the tests pass


Clarify ODAC version requirements

Clarify ODAC version requirements

Learn Build status updates of commit 7015ea3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerapps-docs/maker/canvas-apps/connections/connection-oracledb.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 62d34ad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerapps-docs/maker/canvas-apps/connections/connection-oracledb.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 826bfa1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerapps-docs/maker/canvas-apps/connections/connection-oracledb.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Improve code style (part 3)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.22%. Comparing base (19537db) to head (e057ae0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #653   +/-   ##
=======================================
  Coverage   99.22%   99.22%
=======================================
  Files          27       27
  Lines        2073     2073
  Branches      310      310
=======================================
  Hits         2057     2057
  Misses         16       16

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


Added heapsort.cpp

📥 Pull Request
Description
The code for heap sort in cpp along with algo is pasted.
Fixes #774
Type of change

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

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 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

Hello,
Could you please add hacktoberfest label?
Thank you


AEROCENTURY TEN PERCENT STOCK BOARD

INTERNATIONAL MODEL: STAFF CREW MODEL:  DASHBOARD ONE AIRPORT INSTRUMENT GUAGE FOR REPORTING ON STANDARD EMPLOYEE MODEL MIDSECTION, BASIC SIX BACKUP GUAGES, ONE ATS MIDDLE? CENTER COLUMN: TWO QUARTER THROTTLE, TRIM HANDLE WITH PEDAL BACKUP? REPRESSURIZE, DUMP FUEL EXTENGUISH, HYDRAULIC SYSTEM WITH EASY TO READ ONE SWITCH FOR EACH AND ROOF PANEL WITH EMPLOYEE READOUT? OUTPUT TO MONITORING SYSTEM FTI? COLOR?

MAYBE WE CAN MAKE A GUAGE FOR ANGLE ALERT MINIMUMS?


RFC 0780 -- Use Data URLs for Images and More in Credential Attributes

This PR is a new RFC proposing that verifiable credential issuers of attributes that contain or than strings and numbers use Data URLs (IETF Standard 2397) to convey to Holders and Verifiers the MIME Type and encoding of the attribute. This is particular useful for use cases of photos in attributes, and for attributes that hold a JSON data structure, such as an array of values.

Discussed on the Aries Working Group call on 2023.06.28 and there was agreement to merge.
@TelegramSam @TimoGlastra @dhh1128 -- could one of you please approve?


plugin_manager does not appear to work on Windows 11

Describe the bug (Required)
After having recently installed BDSX on Windows 11, I find that I cannot install any plugin, and my own plugin shows an error when trying to install.
To Reproduce (Required)
Steps to reproduce the behavior:

Install BDSX on a clean Windows 11 install, install all prereqs.
Try to install plugin using plugin_manager after npm i
Try to install lumberjack mod, see error TypeError: Cannot assign to read only property '0' of string '1.0.0'
Try to install betterchat mod, nothing happens... returns to main menu with "installed: no", nothing in the plugins folder or npm folder.

Expected behavior
Plugins are installed
Error logs
I created a thread in discord here: https://discord.com/channels/646456965983240212/1141004348525133914
I don't have logs other than these...
Environment

OS: Win 11
node.js Version: v20.5.1
npm Version v9.8.0
git Version: 2.40.0.windows.1

Additional context
This used to work OK but now it does not... I can change the code in the reverse method to not throw an error (by creating a new array instead of modifying it) but then it just shows some weird versions...

Temporary solution you can use is npm install @bdsx/pluginname, I can also attest to this issue existing on my computer as well

Thanks for reporting it.
it's fixed on the new commit.


Enhance the way to get dubbo version

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Describe the proposal

org.apache.dubbo.common.Version try get dubbo version from jar file name. The better way is to define a resource file in dubbo-common and override it when maven compile which can get the proper revision and git commit hash(Add a new method in Version to get hash and log out in logger).

Please assign me.


Update VS section

Make the migration applicable to both Visual Studio 2017 and VS 2019 version 16.2 and earlier. See https://github.com/MicrosoftDocs/visualstudio-docs/pull/3379. The dotnet-migrate section might need to be updated too?

Thanks for making the additional changes, @gewarren. I'll merge your PR now.


Added Scala Specs2 test for Arrow Stream

This patch is lacking in context -- we don't have any Scala code in the project yet. Can you open a JIRA issue and describe what you're proposing?

You can run my tests from another project:
git clone https://github.com/Neurodyne/apache-arrow-parquet
cd apache-arrow-parquet
sbt testOnly arrowtest.ArrowSpec

To run Scala code, you need to setup a project and build.sbt
I can contribute that too

@wesm I can't open an issue in your Jira, since I'm not a member and have read only access. Pls open an issue for this PR.
Thanks

@wesm I just ported a vector/ips/TestArrowStream.java to Scala to showcase integration with Scala for other developers.
I'm using Parquet and Arrow in my Scala project

I can't open an issue in your Jira, since I'm not a member and have read only access.

http://issues.apache.org/jira is free for all. You can register and create an account

I'm not sure what the benefit of a scala unit test is, since there is no arrow scala API. You'd have to bring in scala dependencies in order to build the unit test, which seems not great. And calling java classes from scala does not require any special syntax. If you really want a scala example, it might be better to add it to the documentation, instead of the source tree.

@elahrvivaz
Look, I'm not playing with your tests for the sake of fun. I have a business issue and need to integrate Kafka with Arrow. Tell me better how do I restore Arrow object from Array[Byte] ?
That port may be a good starting point for Scala devs, who are struggling with your Arrow Java API.
Apache team offers a zero tech support for now, zero docs and zero presentations.
My contribution may be a good starting point for adoption Arrow in Scala and I"m willing to grow and support it

We use arrow extensively in my scala project, there are lots of examples here if you want to check it out.
My point is that there isn't any special scala syntax needed to interop with java libraries. You should be able to easily adopt the java unit tests to scala syntax. But adding an scala unit test that can't be compiled doesn't seem like a good idea - it is going to drift when changes are made. And adding scala to the arrow build just to run a unit test also doesn't seem worthwhile. That's why I suggested adding it as documentation, which as you mentioned is currently lacking.

I agree with @elahrvivaz -- unless there is an effort to develop some kind of Scala "syntactic sugar" front-end for some of the Java components I think this is better treated a documentation issue. There is no major commercial entity behind Apache Arrow who can take responsibility for writing professional documentation, so we are dependent on volunteers to help out. In the meantime, we direct users to various Scala projects (like Apache Spark or Geomesa or others) that make use of the Java API

BTW I'd really like to see a Scala wrapper around the java implementation, perhaps we should bring it up the mailing list.

Ok guys, let's have a deal.
I'll make Scala docs for Arrow in Markdown and Mermoid and you'll help me to solve my business problem and implement Serdes for both Parquet and Arrow.

My business problem: How to deserialize the following code in Scala/Java:

import pyarrow as pa
def record_batch_to_bytes(df):
    batch = pa.RecordBatch.from_pandas(df)
    ser_ = pa.serialize(batch)
    return bytes(ser_.to_buffer())

I then read this in my Scala code from Kafka, but can't reconstruct an object, see here

Need to implement an Arrow and Parquet Serdes for ZIO. See my current implementation here

If you help me with those 2 issues, both related to non-existent support and documentation, I'll happily put my effort to help other devs with your Arrow and Parquet projects.

@tampler it looks like @wesm answered the immediate problem on the JIRA (python might be using the wrong API).  If that didn't solve your problem it might pay to discuss further on the mailing list, to see if you can get support there.
Also, per above, adding some level of Scala support would probably be welcome but should be discussed on the mailing list.  Also, additional documentation PRs are always welcome.
As it stands now would you mind if we closed this PR?

Yes, thank you for your help. Will proceed in mailing lists
Thanks everybody


Delete temporary data files after loading

Currently temporary data files are kept on disk (default in /tmp/). These must be deleted by the tool after it has finished to avoid running out of free disk space.

This actually only happens when an error occurs (e.g. MonetDB db server crashes) during loading, which means the tool fails with an exception and never clears the temp data files.

It also happens when the --no-switch flag is specified, thereby skipping phases 4 and 5


Spark regex extract not working (Splink 4)

Currently using regex extract with Spark causes errors when there is no match - by default it returns the first group, so when there is none, we get an error. We can specify in the argument we want the zeroth group (i.e. full match), but will require dialect-specific functions. Can probably add support for capture group in doing so - see note in ColumnExpression
Error: org.apache.spark.SparkIllegalArgumentException: Regex group count is 0, but the specified group index is 1.

Closed by #1844.


Sweet, but how to make it work?

Hi there!
Saw your presentation on ELM, awesome and funny... enthusiastic ;-)
I tried setting this up, but I can not get it to work. I am very unfamiliar with ELM, but like the concepts. I am very familiar with webpack, flux etc. though.
I put the "elm-stuff" directory from the examples into my project, but when I run webpack I get:
Bundling...
(line 31, column 15):
unexpected "e"
Bundled in 365ms!
Did you get it to work?

Hi Christian,
You don't actually want to copy over the elm-stuff/ directory; that should
get created automatically as part of the build (much like node_modules/ in
npm).
Try this:
rm -rf elm-stuff/
rm -rf elm-package.json
rm -rf ~/.elm/package
...and then build again. Any better?
On Wed, May 6, 2015 at 2:34 AM Christian Alfoni<EMAIL_ADDRESS>wrote:

Hi there!
Saw your presentation on ELM, awesome and funny... enthusiastic ;-)
I tried setting this up, but I can not get it to work. I am very
unfamiliar with ELM, but like the concepts. I am very familiar with
webpack, flux etc. though.
I put the "elm-stuff" directory from the examples into my project, but
when I run webpack I get:
Bundling...
(line 31, column 15):
unexpected "e"
Bundled in 365ms!
Did you get it to work?
—
Reply to this email directly or view it on GitHub
https://github.com/rtfeldman/elm-webpack-loader/issues/1.

Hi @rtfeldman ,
Thanks for helping out... you know. I got so inspired by ELM that I wanted to implement similar stuff in JavaScript, using React. https://github.com/christianalfoni/cerebral, if you want to check it out :-)


#295 is not fixed. !who is still hardcoded in IRCCommandHandler.java

#295 is not completely fixed by 1df676b. !who is still hardcoded in IRCCommandHandler.java.

That's the !who command that can be used from within Minecraft chat to list the IRC users; all commands that are run from within an IRC channel use the customizable ircCommandPrefix.
I guess I could use the option for this one too though...

Well it does seem inconsistent that getting the players via irc is different from ingame.


Fix transposed index errors

I believe these errors are incorrectly transposed, e.g. if ddl_transaction_disabled?=false, then the error should be :index_concurrently_without_disable_ddl_transaction not :index_concurrently_without_disable_migration_lock.

Hi @Artur-Sulej, checking in on the status here, we'd like to get off our fork with this fix.

@bismark Thanks a lot for the PR and a bump. Great catch!

@Artur-Sulej, could you release a new version with this change? Thanks

@JoeyBG Done ✅
Cheers!


Adds proper imports to setup.py.

Address issue #535.

@tridelat , @cekees - This pull request is designed to address issue #535.   I've added the matrix constructor tests to setup.py.  In so doing an error was generated in NumericalSolution.py near line 313.  I've added a try/except for the .neigh and .edge moves because one of the added tests generates a reference simplex that does not produce those file exceptions.  I'm not sure this is the best way to handle this, so please let me know if you have any suggestions.
At this point, however, a new error is popping up in one of the 3D gmesh tests.  (see the failure on the travis build above).  I'm not too familiar with this part of the code or what is triggering the assert failure.  @tridelat do you have any ideas?  Could this be related to the change I've made in NumericalSolution.py?  I don't see how but I am very likely missing something.

@cekees - think this is good to go?


The cli create a project with a wrong SQLAlchemy dependency

The minos cli create a project with a wrong SQLAlchemy dependency
SQLAlchemy = "^1.4.32"
the version 1.4.32 does not exist
the correct version is:
SQLAlchemy = "^1.4.31"

https://github.com/minos-framework/minos-templates/issues/30


remove Thread.sleep in BootstrapITest

this requires the engine interface to be refactored, to better support status update.


Add WAC-Allow tests

Spec: https://github.com/solid/specification/pull/210
Example: https://github.com/solid/node-solid-server/blob/3125ffaa913de4846c96dfffa59bbbdec7888b57/test/integration/header-test.js#L37

Fixed with PR #8 and #9


Gift Entry: Added validation on template save

Critical Changes
Changes

Made changes to the template save validation logic to enforce the Donation Donor and one of the follow fields: Account1 Imported, Account1 Name, Contact1 Imported, Contact1 Last Name on template save.

Issues Closed
New Metadata

Custom Label : geErrorPageLevelMissingRequiredGroupFields

Deleted Metadata

**lurch: attach W-036283

Tracking W-036283

@ptewson-sfdo and @voduyemi I reviewed in a demo with Victor, and it looks good to me!

This looks great @voduyemi - I really like the handling of the field labels to avoid hard-coding those. I did manage to get a doubled list of fields at one point, but now I can't reproduce it - any idea what might be going on?

@voduyemi I think you may need to run the "cci task run update_package_xml" task and then check in an updated package.xml as well - when I first pulled this it gave me an error on deploy that some resource wasn't included in the manifest. Thanks!

@ptewson-sfdo I'm not sure why you got the double list of fields, but I haven't been able to reproduce it, weird. I'll run the update package.xml cci task to update my package.xml and check-in the updated one


v0.112.3 build times for a project are ~30x slower than v0.111.3

I recently upgraded Hugo to v1.112.3 and build times for my site are now >30 seconds.
v1.111.3 builds the same site in ~1 second (on slightly different hardware, but not so different to cause a 30× decrease in performance).
Info below:
⚡ hugo version
hugo v0.112.3+extended darwin/amd64 BuildDate=unknown

⚡ hugo
Start building sites …
hugo v0.112.3+extended darwin/amd64 BuildDate=unknown

                   | EN-CA | EN-UK | EN-US | FR-CA
-------------------+-------+-------+-------+--------
  Pages            |   386 |   386 |   389 |   386
  Paginator pages  |     0 |     0 |     0 |     0
  Non-page files   |     0 |     0 |     0 |     0
  Static files     |    35 |    35 |    35 |    35
  Processed images |     0 |     0 |     0 |     0
  Aliases          |    11 |    10 |    10 |    10
  Sitemaps         |     2 |     1 |     1 |     1
  Cleaned          |     0 |     0 |     0 |     0

Total in 36577 ms

⚡ hugo version
hugo v0.111.3+extended darwin/arm64 BuildDate=unknown

⚡ hugo
Start building sites …
hugo v0.111.3+extended darwin/arm64 BuildDate=unknown

                   | EN-CA | EN-UK | EN-US | FR-CA
-------------------+-------+-------+-------+--------
  Pages            |   386 |   386 |   389 |   386
  Paginator pages  |     0 |     0 |     0 |     0
  Non-page files   |     0 |     0 |     0 |     0
  Static files     |    38 |    38 |    38 |    38
  Processed images |     0 |     0 |     0 |     0
  Aliases          |    11 |    10 |    10 |    10
  Sitemaps         |     2 |     1 |     1 |     1
  Cleaned          |     0 |     0 |     0 |     0

Total in 1130 ms

Thanks for the report. Unfortunately I'm not able to reproduce this (the benchmarks we have actually show slightly improved performance) with any of the sites I have tested with.
If you can somehow share the source with me (my email address is in the GitHub profile), I'm sure we can fix it.

@davidfmiller  A unrelated question, where did you get the binaries?
⚡ hugo version
hugo v0.112.3+extended darwin/amd64 BuildDate=unknown

⚡ hugo
Start building sites …
hugo v0.112.3+extended darwin/amd64 BuildDate=unknown

The output above does not match anything I know about and we should fix that.

Just a thought... Are both Macs with Apple Silicon?
I see one architecture is amd64, while the other is arm64 in the above table, where amd64 version is the slow one. I haven't done any tests myself, but it would explain it if you're emulating amd64 on arm64 hardware.

Both Macs have Apple Silicon. The Mac w/ v0.112.3 (the one with slow build times) is running Terminal under Rosetta... but the build time for my project is/was normal using v0.111.3 on both computers in both environments.
FWIW v0.112.5 on this machine is seeing the same (slow) build times as v0.112.3 was.
Could be something about the version of Hugo distributed via brew, er...?

I think brew may be confused by running under Rosetta, and downloading the amd64 version, but don't quote me on that. I'm just a newish Apple Silicon user.
However, I've been a dev for many years and I would try to actually make sure you're comparing apples and apples by using the same architecture on both computers, as in, both should report darwin/arm64.

S'alright, computers confuse me, too... as well.
For my computer that is now experiencing slow build times w/ hugo, nothing has changed in its environment/setup other then upgrading to v0.112.x from v0.111.3.
If I'm the only person experiencing this problem then the issue can be closed invalid, just figured I'd pipe up about it.

@davidfmiller Have you investigated the details described by @kentf as the possible cause? I'd like to close this because (a) we cannot reproduce the behavior, and (b) there have been no additional reports of performance degradation.


slider control from filter command doesn't function as expected

Please use the following data.
Here is the syntax I am using:
bar x(Predictor) y(Importance) sort(Importance) filter(Importance:[0.05, 0.2])
The initial chart is correct ( only 3 bar is displayed) and the slider is showing up at the bottom of the chart.

Issue 1. The slider only has one handle and it is at the zero position. I except to see two handles and one is at 0.05 and one is at 0.2 with the min==0.0. and max == 0.8.
When you try to move the handle of the slider --
Issue 2: the handle can only stop at 0.0 or 1.0. ==>no bar or all bars. I expect that the handle can stop at any position and the bars which have he importance value with the range will be displayed.
Predictor,Importance
BDATE, 0.06050094
MINORITY, 0.11543162
SALBEGIN, 0.66978855
JOBCAT, 0.10086945
GENDER, 0.02796327
EDUC, 0
PREVEXP, 0
JOBTIME, 0.02544617

Fixed on develop.


node cannot be started because config.toml/p2p.persistent_peers value is incorrect.

Summary of Bug

when create node with zsh init_node.sh sim 3, node 0 cannot be started because config.toml/p2p.persistent_peers is not correctly created.
Current p2p.persistent_peers value is "26656:26660,26656:26658".
p2p.persistent_peers value should be another peers address which is found .simapp/gentxs/node1.json body.memo.
To fix this, MEMO_SPLIT index should be changed to 0.
Version

Steps to Reproduce

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

close this issue with #842


Rename Hardware Model to Target Platform Capabilities

Rename HW model components:
Classes -
HardwareModel -> TargetPlatformModel
FrameworkHardwareModel -> TargetPlatformCapabilities
Packages -
hardware_representation -> target_platform
hardware_models -> target_platform_models
File names were changed as well.

Split this into several PRs.


500 error for PR creation after repo transfer to a team

The issue in the title was found on https://try.gogs.io while investigating a 500 error on a locally-hosted gogs server.
The local issue I have is similar to #1711 : I sent a PR to a team-owned repo. When a team member tried to merge, the result was a 500 page.
I went to try.gogs.io to see if I could replicate the local issue; I could not. However I found the issue stated in the title.
To reproduce on try.gogs.io:

Create two users A and B. Create a team TeamAB with A and B.
Make A create a repo and transfer repo to TeamAB.
Make B fork repo.
Make B try to open PR. => 500

Notes:

This only happens with team repos. If A transfers to C which B then forks from, B can still open PR's and have them accepted.
This doesn't happen if you start by creating the repo with TeamAB as the owner.

But actually it gets weirder:
5. Make A fork TeamAB's repo.
6. Make A open PR => PR page will be generated but Gogs will say there are conflicts.
7. Make B try to open => PR page will be generated but Gogs will say there are conflicts.

Thanks your feedback!
Can you post what error for 500 logged in Gogs server console?

And what is your version of Gogs?

Unfortunately I don't have access to the local Gogs right now (also I'm not the admin so I'll have to ask him about the server console logs.) Judging from what I remember about the UI I think it's an older version.
Also, I forgot to mention that on try.gogs.io if you create a PR before the repo transfer to a team, it can still be accepted after.

OK, you can test it ASAP and report back :smile:

OK but it'll be a while because CNY ...
(Just to clarify, all the detailed info discussed in this Issue is for what I observed on try.gogs.io and not on the local Gogs.)

Hi, I've experience the same thing with similar scenario but I didn't transfer the repo to the team. The repo was created under the team. At first, my team member was able to make a pull request to this team repo but after restarting gogs (due to CNY, our servers went for regular maintenance), we can't do PR to our team repo from fork repository by a team member

Hmm... what is CNY?

we can't do PR to our team repo from fork repository by a team member

@misugijunz what is your definition of can't do PR?

Chinese (Lunar) New Year. can't do PR means blocked by 500 (internal server error), I'll have my friend posted the error message, etc.

After removing tmp folder, we are able to solve the issue. I wonder why it is not deleted if it is blocking

@misugijunz Good info! What is your version of Gogs?

This is the error message that is intended by @misugijunz

My current version is 0.8.25, is the fix already on 0.8.31?

Thanks @billy93 , will check it.

My current version is 0.8.25, is the fix already on 0.8.31?

Maybe not, will keep you posted.

@billy93 Did you do any thing like rename a repo? Rename the org?

I asked him, he said no.

@misugijunz can you update to develop branch test again?

Hi, this morning we updated to <IP_ADDRESS>0 which appears to have fixed our PR merge issues.

@absolutelyNoWarranty thanks!
It would be better to do some more testings... with lastest develop branch.

ping @absolutelyNoWarranty

I asked our guy in charge of the git server if moving to develop was possible but he is currently busy with other things. Sorry ... :/

:sweat:...

Close due to lack of feedback.


The members of an interface declaration or class should appear in a pre-defined order

This pull request is focused on resolving occurrences of Sonar rule
squid:S1213 - “The members of an interface declaration or class should appear in a pre-defined order”.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1213
Please let me know if you have any questions.
Ayman Abdelghany.

👍
thanks for the PR


Problem with callback function

Hi Brandon,
I tried to register a callback function for the RX channel using the axidma_set_callback() function. I modified the benchmark example for that reason, but unfortunately, the callback function is never triggered.
After some debugging I came a bit closer to the root of the problem. In the library function axidma_callback() the signal from the kernel driver is evaluated and the previously registered callback function (if any) is triggered. For some reason, the channel ID derived from the signal is always 0, while my callback function is registered for channel 1 (RX), so it will never be triggered.
I registered a second callback function for the TX channel for testing. When starting the modified benchmark example with "-n 10" parameter, the axidma_callback() function is called 10 times, but it should be 20, since we have 10 TX and 10 RX operations. It seems that no signal is emitted for the RX operation.
Edit: I should mention that I tried these things with VDMA and c3181d8 version.

Sorry for the late reply. This is definitely one of the less-tested areas of the code. I'm assuming you're using the two-way transfer as was used in the original benchmark app? If so, then this is expcted, albeit very confusing behavior.
The software stack will only invoke your callback function if the wait parameter is false. Otherwise, there's no real need for a callback, as you are explicitly waiting for the transfer to complete. So, what happens when you call a two-way transfer is as follows. Regardless of what you specify for wait, the TX transfer will be setup as if wait is false, so its callback function will always be used. For the RX transfer, its callback will be used only if wait is false.
Now, this is defiinitely confusing behavior, so I should probably set it up so that the RX channel doesn't invoke its callback if wait is true.

Hello,
At first let me thank you and all contributors for the fantastic job. Your driver is really nice and efficient. To my opinion, by far the best about this subject.
I'm running in same trouble as @Westwood68 . I modified the transfer example, using independent one-way read and write calls. I don't use wait on the different calls but I rely on the axidma_set_callback() registering function.
In my application, after calling the axidma_oneway_transfer() function, I have some operations to perform before waiting for completion. As a result, after my custom operations I put the following piece of code:
    // we need the mutex for safety     pthread_mutex_lock( &dma_mutex );     /* block this thread until another thread signals cond. While        blocked, the mutex is released, then re-aquired before this        thread is woken up and the call returns. */      pthread_cond_wait( &dma_cond, &dma_mutex );       // We do not pass any data from the callback, so mutex can be released immediately     pthread_mutex_unlock( &dma_mutex );
In the main() of my test application, I also have the following code. First, mutex/cond global instantiation and custom callback definition. Here the callback intent is to continue execution after receive of completion signal:
`/*----------------------------------------------------------------------------

global Internal Variables
----------------------------------------------------------------------------/

pthread_mutex_t dma_mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t dma_cond = PTHREAD_COND_INITIALIZER;
/*----------------------------------------------------------------------------

User callback function to be invoked upon completion of an
asynchronous transfer for the specified DMA channel.
----------------------------------------------------------------------------/

axidma_cb_t dma_user_transfer_complete_callback(pthread_mutex_t* dma_mutex_cb_ptr, pthread_cond_t* dma_cond_cb_ptr)
{
// we're going to manipulate the cond, so we need the mutex
pthread_mutex_lock( dma_mutex_cb_ptr );
fprintf(stderr, "executing user trasnfer complete callback\n");
// wake up the main thread (AS it is sleeping) to terminate operations
pthread_cond_signal( dma_cond_cb_ptr );
pthread_mutex_unlock( dma_mutex_cb_ptr );
return 0;

}`
And in the main() of my test application, I also register the custom callback function:
axidma_set_callback(axidma_dev, trans.output_channel, dma_user_transfer_complete_callback(&dma_mutex, &dma_cond), NULL);
The point is that I see that custom callback is directly called, not waiting for the transaction to be complete. So this ruins the intent of the code.
If I put the one-way function in wait=true mode, and do my custom operations by hand (before 10s timeout), I indeed see that system works as intended (PL data is sent to PS and stored in a file). So I believe the rest of the system is working.
Do you have any suggestion or idea?
Or should I check for a specific signal in the custom callback?
I'm not really a Linux driver guru, so any help is welcome.
Thanks again for your great job!
--
Guerric

Let me self answer this.
The callback mecanism works. My code is the problem: my dma_user_transfer_complete_callback() has the wrong signature. I don't understand why it is compiling / executing without visible error but it is the problem.
I have something that works now, let me take the time to clean the file in order to share it.
During compilation of my example, make sure you link against pthread lib otherwise you will get funny results :)

@guerricmeurice Hi, right I have this problem too, can you show more detail about how to slove this problem?

Hello @eleICoto , it was still in my todo list indeed.
Let me some time to prepare something. I expect to finish that by today (CEST time).

@guerricmeurice Thanks a lot, although I can make this transfer function some part works, I still can't estimate real DMA & IP time, it seems like the DMA transfer function just send the command to DMA and abort whether the wait indicator is set to true or false

Hello @eleICoto ,
Here is my variation of te original axidma_transfer.c file. It is called axidma_transfer-rx.c.
axidma_transfer-rx_guerricmeurice.zip
The main difference is the use of a non blocking call: axidma_oneway_transfer in order to be able to perform other operations (like PL register accesses, using UIO method in my example) before waiting for completion. The use of UIO is not mandatory. But use of pthread_mutex_lock, pthread_cond_wait and the axidma_set_callback on dma_user_transfer_complete_callback is.
And do not get caught! : do not forget to add -lpthread to the linker flags of the makefile (in original examples.mk, to the EXAMPLES_LINKER_FLAGS). Compiler will not complain about this and you will end up with "empty" pthread functions.
I think this piece of code could be added in the repository as it shows how to use the non blocking call.
About timeout, it is still at bit obscure to me how it is handled. I think this should be the topic of another thread.
Enjoy!
Guerric - BitandByte.io

@guerricmeurice Thanks for your sharing, but I'm still a little bit confused about this sync & async transfer.
This is my block design

The process flow is like this.
First, CPU initiates a transfer to send data from ps DDR to my IP(AXIS_CNN_Top_Lite).
Then, my IP will process these data and output to DMA.
Finally, CPU initiates another transfer to receive data from IP to ps DDR.
During this process, the CPU can wait until this whole process finish and then move data send by IP out of memory buffer.
I need a wait flag mechanism to ensure the receiving process is totally finished.
So, do you have any advice on which transfer function (one way or two way) I should use and how to implement this wait flag mechanism?

@guerricmeurice And thanks for your great work!

@eleICoto If I understand well, data is flowing though AXIS_CNN. As data is coming from the PS, I don't think you need the axidma-transfer-rx file I shared.
If AXIS_CNN does not take too much time to crunch your data, then you should be able to use the original twoway transfer example (in axidma_axistransfer.c). The example assumes DMA IN and OUT are looped and (at first glance) your application looks similar in terms of data flow.
In the example, the axidma_twoway_transfer() function will return upon receiving of the specified amount of data from the PL (or if timeout is reached).

@guerricmeurice Sorry for the late reply, I have been solving the CCI issues for last month,
The problem I'm facing is that the build-in clock() function can not measure DMA and IP process time correctly, in Verilog simulation my IP needs at least 200 us to finish process data, but when I measure time like this

It shows that the DMA transfer function only takes about 40us and the most confusing part is that I can certainly relieve the data send by my IP correctly

waiting

Hello @eleICoto ,
Here is my variation of te original axidma_transfer.c file. It is called axidma_transfer-rx.c.
axidma_transfer-rx_guerricmeurice.zip
The main difference is the use of a non blocking call: axidma_oneway_transfer in order to be able to perform other operations (like PL register accesses, using UIO method in my example) before waiting for completion. The use of UIO is not mandatory. But use of pthread_mutex_lock, pthread_cond_wait and the axidma_set_callback on dma_user_transfer_complete_callback is.
And do not get caught! : do not forget to add -lpthread to the linker flags of the makefile (in original examples.mk, to the EXAMPLES_LINKER_FLAGS). Compiler will not complain about this and you will end up with "empty" pthread functions.
I think this piece of code could be added in the repository as it shows how to use the non blocking call.
About timeout, it is still at bit obscure to me how it is handled. I think this should be the topic of another thread.
Enjoy!
Guerric - BitandByte.io

@guerricmeurice
Hello  guerricmeurice ,
At first let me thank you and all contributors for the fantastic job,  I  use your code
axidma_transfer-rx.c to use the callback,But callback mecanism can't work, I use the app on petalinux and How to add -lpthread to the linker flags of the makefile (in original examples.mk, to the EXAMPLES_LINKER_FLAGS). Compiler will not complain about this and you will end up with "empty" pthread functions.

signature
Did  this axidma_transfer-rx_guerricmeurice.zip  have  wrong signature?

Hello @eleICoto ,
Here is my variation of te original axidma_transfer.c file. It is called axidma_transfer-rx.c.
axidma_transfer-rx_guerricmeurice.zip
The main difference is the use of a non blocking call: axidma_oneway_transfer in order to be able to perform other operations (like PL register accesses, using UIO method in my example) before waiting for completion. The use of UIO is not mandatory. But use of pthread_mutex_lock, pthread_cond_wait and the axidma_set_callback on dma_user_transfer_complete_callback is.
And do not get caught! : do not forget to add -lpthread to the linker flags of the makefile (in original examples.mk, to the EXAMPLES_LINKER_FLAGS). Compiler will not complain about this and you will end up with "empty" pthread functions.
I think this piece of code could be added in the repository as it shows how to use the non blocking call.
About timeout, it is still at bit obscure to me how it is handled. I think this should be the topic of another thread.
Enjoy!
Guerric - BitandByte.io

(*axidma_cb_t)
Different types  as your dma_user_transfer_complete_callback?

@guerricmeurice
./axidma-benchmark
AXI DMA Benchmark Parameters:
Transmit Buffer Size: 7.91 MiB
Receive Buffer Size: 7.91 MiB
Number of DMA Transfers: 1000 transfers
Using transmit channel 0 and receive channel 1.
Single transfer test successfully completed!
Beginning performance analysis of the DMA engine.
DMA Timing Statistics:
Elapsed Time: 2.29 s
Transmit Throughput: 3449.73 MiB/s
Total Throughput: 3449.73 MiB/s
[  142.666286] axidma: axidma_dma.c: axidma_prep_transfer: 236: Unable to prepa.
[  143.677187] xilinx-vdma b0000000.dma: Cannot stop channel ffffffc87976c218: 0
Failed to perform the AXI DMA transfer: Device or resource busy
$dmesg
[   47.119431] xilinx_axidma: loading out-of-tree module taints kernel.
[   47.129002] axidma: axidma_dma.c: axidma_dma_init: 718: DMA: Found 4 transmi.
[   47.138946] axidma: axidma_dma.c: axidma_dma_init: 720: VDMA: Found 0 transm.
[  142.666286] axidma: axidma_dma.c: axidma_prep_transfer: 236: Unable to prepa.
[  143.677187] xilinx-vdma b0000000.dma: Cannot stop channel ffffffc87976c218: 0
[  158.444494] axidma: axidma_dma.c: axidma_start_transfer: 301: DMA transmit t.
[  174.572498] axidma: axidma_dma.c: axidma_start_transfer: 301: DMA transmit t.
[  187.628494] axidma: axidma_dma.c: axidma_start_transfer: 301: DMA transmit t.
[  201.452494] axidma: axidma_dma.c: axidma_start_transfer: 301: DMA transmit t.
Do you have any suggestion or idea?
Or should I check for a specific signal in the custom callback?
I'm not really a Linux driver guru, so any help is welcome.
Thanks again for your great job!

@honorpeter Are you using DMA and VDMA at same time? The code I shared is only tested for DMA. I never investigated VDMA. Can you try by using only DMA?

@honorpeter Are you using DMA and VDMA at same time? The code I shared is only tested for DMA. I never investigated VDMA. Can you try by using only DMA?

No, and mybe this was my device tree error. I had solved in my new device tree. And now it works fine. Thank you.

Hi, I met the same problem recently. I have tried several ways to solve it but none of them worked. May I ask how you solve this problem by modifying the device tree file specifically? Thanks!


Show the name of the directorate reviewer for drafts

Description
I'm looking at the directorate reviews for https://datatracker.ietf.org/doc/draft-ietf-6man-rfc6874bis/ (which happens to have a nice collection of options) and I found myself wondering "who said that?"  Then I realized that it was me.  The current format is "$DIRECTORATE $stage review (of -$vv)? ($REVIEW_OUTCOME)".  Maybe adding "by $PERSON" might help contextualize in some cases.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

We'll try this, but note that it makes a noisy page even noisier.
It's an antipattern that we put all the things all the time on every page.


Port pimp my avalonia

This is proof of concept MR which adds following features:

add designer support for vscode extension

I've implemented interface to designer process in vscode extension, but it should be proxied through lsp probably

port pimp my avalonia extension

got support for completion
no support for text manipulations (i.e. closing tags, or renaming start and end tag at same time)
no coloring
quirks mode discovery (i.e. does not run msbuild to get binary location but looks into bin/debug/net5.0) etc.

missing bits:

package lsp binary on launch
prompt to install net5 runtime on launch

I am not sure how much more energy I have to drag this on, so maybe let's merge this and let someone cleanup it later if there is desire?
And even if there is none PimpMyAvalonia extension has like 2500 installs. All these users could be installing prerelease official extension which may be updated some day?
To run it locally open solution and run Avalonia.Ide.LanguageServer project (this will run lsp locally), then open vs code extension and press f5 to start it up, open some avalonia solution and try editing some stuff.

@kekekeks FYI

Any chance of this getting merged in?


Type annotation for dims in partial_trace is incorrect

Describe the bug
In partial trace, the docstring parameter states that we can use a tuple of ints. However, if we use this and check types with mypy, the check fails with an error.
I think this is because dims: Tuple[int] should be dims: Tuple[int, ...]. We can see the same arg and parameters used by partial_transpose where dims: Tuple[int, ...] is used for a tuple of ints.
To Reproduce
Run mypy test_types.py.
In test_types.py, a line containing the expression  cp.norm(cp.partial_trace(some_expr, dims=[dim: int, dim: int], axis=1)) will be flagged as
Argument "dims" to "partial_trace" has incompatible type "tuple[int, int]"; expected "tuple[int]"  [arg-type]

Expected behavior
This error should not have been raised by mypy given that the unit tests in this project also rely on dims: Tuple[int, ...].
https://github.com/cvxpy/cvxpy/blob/e0ecfe2ea6246409a8d8151e96aece30edf59936/cvxpy/tests/test_atoms.py#L1554
Version

OS: Linux Mint 20.3 Cinnamon
CVXPY Version: 1.5.1
mypy Version: 1.10.0

Hello @purva-thakre thanks for raising this issue!
Would you be open to making a PR to resolve this?
I will let you know if I find more type annotations that could also be changed.

@Transurgeon Sure!

I will let you know if I find more type annotations that could also be changed.

Feel free to list other similar type annotation typos. I will create a PR after your comment.

@purva-thakre sorry for the delayed response.
I thought there were some type annotations missing, but I don't believe they are as important, atleast for the moment being. I will try to fix them (if I find any) as I go, in other PRs.
Could you please try running mypy on other files to potentially catch more erroneous type annotations?
Also feel free to make a PR for the fix you have suggested in this issue. Thanks again!

Could you please try running mypy on other files to potentially catch more erroneous type annotations?

@Transurgeon For the PR, could you let me know which of the errors raised by mypy can be ignored?
I managed to reduce the total number of raised errors from 1238 to 392 (~/cvxpy$ mypy cvxpy/)  by adding the following to the toml file.
[tool.mypy]
exclude = ['cvxpy/tests/*']
disable_error_code = ["import-untyped", "attr-defined", "import-not-found"]

@purva-thakre To clarify, what we mean is that you are welcome to keep fixing more issues flagged by mypy by writing PRs but making cvxpy not have any errors in mypy is not a high priority for the development team right now. If it is important to you we encourage you to work on it.


[AST] rename some DeclContext isXXX methods to getAsXXX

There's a group of methods in DeclContext with names that start with is,
such as isClassOrClassExtensionContext(). These names suggests a boolean
return value, while the methods actually return a type declaration. This
patch replaces the is prefix with get to better reflect their interface.
(build-script -RT passes on OS X).

I think the original name is beneficial. Using getXXX suggests part-of-whole relationship, which is not true here in DeclContext.

Probably a better alternative is getAsXXX().

@nkcsgexi I agree that getXXX suggests part-of-whole relationship.
But getXXX is a convention used through out Swift AST (see example 1 and 2). So there's a consistency argument to be made here.

I'd also prefer  getAsXXX for things that can fail/return null.

I am not convinced that being consistent is a concern here. All we need to care is to convey the right message.

update: get -> getAs

Cool! Thanks!


Problem parsing with LALR

I'm not sure if it's fault of grammar incompatible with LALR or is it a bug. Here it goes:

Python 3.7.0
lark revision 3c1c867b5f59397757dfec65d98d96e15b7de6e2
grammar.lark (extremely boiled down dhall grammar)whitespace_chunk: " " | "\n"
whitespace_optional: whitespace_chunk*

reserved_func: "f" whitespace_optional
open_parens: "(" whitespace_optional
close_parens: ")" whitespace_optional

expression_application: expression_parens (whitespace_chunk expression_parens)*
expression_parens: expression_reserved | (open_parens expression_application
close_parens)
expression_reserved: reserved_func

start: whitespace_optional expression_application

input f (f f)
earley can parse (lark.Lark(open('grammar.lark'), parser='earley').parse('f (f f)'))
lalr fails to parse (lark.Lark(open('grammar.lark'), parser='lalr').parse('f (f f)')) - raises lark.exceptions.UnexpectedToken
standalone lalr also fails to parse

If this is because of this grammar being not parsable by LALR, I wonder if it would be possible to add error messages telling this. Currently I get something like "Unexpected token '(', expected one of ...". For me, ideally constructing parser from grammar of unsupported class should raise "Can't do it. Fix your grammar to be lalr.".

I managed to furher reduce the grammar:
import lark

grammar = """
a: "a"
as: a*
start: as a "f"
"""
input_string = 'af'

# this is ok
lark.Lark(grammar, parser='earley').parse(input_string)
# this fails to parse
lark.Lark(grammar, parser='lalr').parse(input_string)

bottom line raises
lark.exceptions.UnexpectedToken: Unexpected token Token(F, 'f') at line 1, column 2.
Expected one of:
	* A

however this grammar behaves as expected:
lark.Lark('start: "a"* "a" "f"', parser='lalr').parse('af')

also different exception is raised in this script (difference is in as rule):
import lark

grammar = """
a: "a"
as: "a"*
start: as a "f"
"""
input_string = 'af'

lark.Lark(grammar, parser='lalr').parse(input_string)

raises
lark.exceptions.UnexpectedCharacters: No terminal defined for 'f' at line 1 col 2

af
 ^

As you already figured out, it's probably due to Shift/Reduce collisions being automatically resolved as Shift.
I just added a way to see the current collisions (issue #258 )
If you need a way to control the resolution (i.e. to force a reduce) I'll consider adding it as a feature.
I see your point about warning that a grammar isn't "LALR compatible", but at the same time, I don't want to harass the users, who 99% of the time just want to resolve to shift (It's a made up figure, but this is the first time this issue has come up in months, and PLY uses the exact same trick).

Hi, thank you for response. (You are awesome with all of this patience responding to users questions btw ;-) )
Really I've got little idea of how LALR works, so I've checked my grammar against other LALR generator and there wasn't any conflicts.
generator: http://jsmachines.sourceforge.net/machines/lalr1.html
input:
S -> AS A f
AS -> ''
AS -> AS A
A -> a

However this grammar has two conflicts (difference in second AS production):
S -> AS A f
AS -> ''
AS -> A AS
A -> a

So, I suspect lark is unwinding a* into right-recursive rule and it results in conflicts.
I'll try to explicitly specify rules for as (without *) and see if that helps.

Thanks! Helping users is one of the best parts :)
Lark unwinds a* into a left-recursive rule.
I have to say, I know the LALR algorithm in & out by now, and I still find "LR tables" confusing. I think it's a lot easier to understand as a stack of states, where a state is a set of rule-pointers (a rule-pointer is a with a dot that signifies position in a specific rule (like a counter). It's a little harder to visualize than a table, but I think it's easier to reason about once it clicks.
So, your grammar:
a: "a"
as: a*
start: as a "f"

actually expands into:
a: A
_as: _as a
      | a
as: _as
    |
start: as a "f"

(You could make _as the empty rule, but I found that it's faster to take it out of the recursion)
So when you input A, the grammar automatically shifts _as, just because it can, although the correct action would have been to reduce the empty as rule. And then it finds itself in an "invalid" state, in the sense that it can't parse the rest of your input.
The same idea happens if you input multiple As (but separate, which is why there are two conflicts). Whenever it sees A it stays in the loop, and it needs to see something different to know it has to reduce.
Btw, changing it to "always reduce" is just going to create other inputs that fail to parse.
So without more knowledge about the problem you're trying to solve, my suggestion is to change your grammar, perhaps by abstracting away these collisions and handling them later in the tree (i.e. post-processing), or using Earley.

After long battle against LALR parsing tables I think I've lost. The language I'm trying to encode may not be LALR or maybe I'm just not understanding LALR enough. Currently I'm switching to GLR parser and it seems a lot easier (and slower probably).
@erezsh thank you very much for support and explaining things ;)

You can use Earley. It's as capable as GLR, though perhaps not as fast.

After long battle against LALR parsing tables

As I said, they aren't a good way to understand the algorithm.


How to implement the revert after merger

How to implement the revert after merger

As described on the main-page and the issue-template, this issue-tracker is not for general questions about JGit:
Note: Please use sites such as http://stackoverflow.com for general questions about JGit usage, not issues in this project. Issues should be used for problems with snippets and suggestions of missing snippets. Snippets from good answers on stackoverflow can then be included here, naturally.


Force compilation caching

Feature request
I searched through the doc and past issues but couldn't find anything: is there a way to globally force compilation caching? E.g. with an instruction, or better with an environment variable?
My use-case is that I'm building a package, and I'd like the user to choose whether they want to cache the compilation (which takes about 10 seconds)

From memory only, I don't think there is an option to do this.

We're hesitant to do this until we're confident that cache is safe in all reasonable cases.  Right now dependencies on functions from other source files are not detected and won't trigger a cache refresh.  Working on the cache infrastructure is something we are planning to do in early 2019, at which point we'll be ready to consider turning on caching everywhere, and make it globally configurable.


'Usage' and 'Required IAM access policies' is missing from the readme

https://github.com/terraform-ibm-modules/terraform-ibm-mas?tab=readme-ov-file#usage
https://github.com/terraform-ibm-modules/terraform-ibm-mas?tab=readme-ov-file#required-iam-access-policies

The badges at the top of the repo also need to be updated

~use stable badge~ addressed in https://github.com/terraform-ibm-modules/terraform-ibm-mas/pull/56
~update latest release to point to correct repo (its pointing to module template currently)~ addressed in https://github.com/terraform-ibm-modules/terraform-ibm-mas/pull/56

Added in https://github.com/terraform-ibm-modules/terraform-ibm-mas/pull/92


Update README.md

Some small corrections

oh the ResolveRaw func example is also out of date because it returns 3 variables now

oh and the resolvers need ports too. so <IP_ADDRESS> needs to be <IP_ADDRESS>:53 in the resolvers slice