error <class 'pyarrow.lib.ArrowInvalid'>: JSON parse error: Column() changed from object to array in row 0

I get this error when running finetuning.py like :
python3 finetune.py \     --base_model='decapoda-research/llama-7b-hf' \     --num_epochs=15 \     --cutoff_len=1024 \     --group_by_length \     --output_dir='./lora-alpaca' \     --lora_target_modules='[q_proj,k_proj,v_proj,o_proj]' \     --lora_r=16 \     --micro_batch_size=8
ERROR :
`Failed to read file '/tmp/winter/.cache/huggingface/datasets/downloads/93a6adda9add81c01a4ff555180d15fa9bf7eada1df0db82b0df80a3d12219e4' with error <class 'pyarrow.lib.ArrowInvalid'>: JSON parse error: Column() changed from object to array in row 0
^M                            ^MTraceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/datasets/packaged_modules/json/json.py", line 109, in _generate_tables
pa_table = paj.read_json(
File "pyarrow/_json.pyx", line 259, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 144, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 100, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to array in row 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "finetune.py", line 276, in
fire.Fire(train)
File "/usr/local/lib/python3.8/dist-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/usr/local/lib/python3.8/dist-packages/fire/core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/usr/local/lib/python3.8/dist-packages/fire/core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "finetune.py", line 182, in train
data = load_dataset(data_path)
File "/usr/local/lib/python3.8/dist-packages/datasets/load.py", line 1746, in load_dataset
builder_instance.download_and_prepare(
File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.8/dist-packages/datasets/builder.py", line 1274, in _prepare_split
for key, table in logging.tqdm(
File "/usr/local/lib/python3.8/dist-packages/tqdm/std.py", line 1195, in iter
for obj in iterable:
File "/usr/local/lib/python3.8/dist-packages/datasets/packaged_modules/json/json.py", line 135, in _generate_tables
f"Not able to read records in the JSON file at {file}. "
AttributeError: 'list' object has no attribute 'keys'`

The same question

I met the same problem and later discovered that there was non str type data in my fine-tuning datasets

@zhang-xinyuan how you solve it? could you give me example?

I met the same problem and i fix it.
I preprocess my fine-tuning datasets by pandas.
I mix up several json files to one json file, but dtype of a column of a file is different from others.
I turned all of them into str .

Got same issue, downgrade pyarrow==9.0.0, then it's working

Check if the data is of string type

Also met this problem and I fix it by fill all the list with no element([]) in my json file.

I had a similar problem.
I fixed it by use the jsonl format instead of the json format.
I'm not sure it's the same reason.

Update pandas

If it is JSONL (JSON Line) format, you can use this tool to debug: https://jsonlines.org/validator/


Update README.md

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   36.71%   36.71%
=======================================
  Files           6        6
  Lines         128      128
  Branches        4        4
=======================================
  Hits           47       47
  Misses         81       81

Continue to review full report at Codecov.

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


RFC: Officially dropping java 8 and 11 support

Some dependencies like SpringBoot going to introduce new major versions which requires at least Java 17.
This may have an impact of keycloak-config-cli in the future and I'm thinking about to drop Java 8 and Java 11 support here.
On good side, keycloak-config-cli does not have any call to home functions and I have no idea how many users are compile  keycloak-config-cli itself and use java 8 or java 11.
By default, the container image and the prebuilt jars using currently java 17 while the language level is still 1.8.
I'm requesting for comments here to gain an understanding in which places keycloak-config-cli i used. If you are still rely on java < 17, please give a context why you need to stay on java 8 or java 11.

We are currently a java 11 shop mostly due to the LTS support
https://endoflife.date/java
17 is still fairly new and we will be waiting a little bit for it to mature before we switch over.  Hopefully we can start the upgrade process in the next couple month but it will depend on our upper management priorities.
8 is coming to the end of it basic support so no objection from me in dropping support.

I will remove java 8 support soon See: #677


Mobile app can't handle servers behind BASIC authentication

I'm running a server proxied behind BASIC authentication.  I can connect and synchronize with the plugin on the desktop, but any attempt to change the server on the app turns the server name red and fails to persist.
Steps to reproduce

Have a server installed behind BASIC authentication
In the app, go to the settings
Change the server to the URL of the server in point 1

Expected behaviour
A dialog asking for the authorization credentials of the server should be presented, and if correct credentials are entered, the new server settings should be persisted.
Actual behaviour
App fails to recognize server, and fails to change the server settings.
Client app information
Android, installed via Fdroid or Google Play (same behavior)
Other info
I suspect the mobile app just doesn't have a way to authenticate against protected servers.

Hi @serussell, the xBrowserSync client currently does not support connecting to xBrowserSync APIs that require authentication to connect. I'll mark this as an enhancement for now, though I think this might be more of a version 2 feature depending on interest.

Please note that #186 was covering the same issue for the (Chrome) Browser extension.


bpf: gate egressgw datapath on separate defines

bpf: move egressgw code to lib/egress_gw.h
Separate out egressgw code into a separate file. No other changes intended.

Signed-off-by: Lorenz Bauer<EMAIL_ADDRESS>
bpf: gate egressgw datapath on separate defines
Add a new define ENABLE_EGRESS_GATEWAY_COMMON which enables the common
egress gateway code. The existing ENABLE_EGRESS_GATEWAY flag now controls
whether to check for egress gateway policies with static gateway IPs. This
makes it easier to extend the codebase to support multiple egress gateways.

Signed-off-by: Lorenz Bauer<EMAIL_ADDRESS>

/test

Needs a rebase on top of #26952 since that already moves the code to a separate file.

/test

/test

/test

/test

/test


Log4j vulnerability

Hi
Can you please confirm that the .net Gherkin nuget package does not use Log4j or if it does, then it is not vulnerable to CVE-2021-44228?
Thank you very much!
Best regards
Alex

I'm having some trouble understanding what might prompt a question like this. Could you elaborate?

Hi,
we're using the "Gherkin" nuget package in one of our test projects. I unfortunately have the task to check, for our company, that no used tool/plugin/package has any vulnerability to the Log4j security vulnerability.
I'm not a developer, but I'm aware that this Gherkin package is of course a .NET tool. I kinda just need a confirmation that it is not using the Log4j library (or maybe not even Java) in any capacity.
Sorry for the inconvenience!

Cucumber is an open source project largely maintained by volunteers. For questions such as these you should probably consult with an engineer in your organization.

@sumtimes I confirm that Gherkin.NET does not use Log4J (because Log4J runs on the JVM, not .NET)


"-m, --max_age" deletes all events

When using -m 10 all events get deleted on a new install (just imported all adversaries and reports for the last 200 days).
https://github.com/CrowdStrike/MISP-tools/blob/16fde94f3286da014d7bf57fbcd77d31e4643c67/cs_misp_import/importer.py#L199
Maybe switch to timestamp=["36500d", "{}d".format(max_age)] instead of the timestamp=[0, timestamp_max]?

Will test this and get it added to our next revision.  Thank you for reporting the issue!  😄

From what my testing shows, this should work.  Current sprint will move this line to a variation of this change.

Tweaked this to leverage the date_to keyword instead so it aligned to the actual report date.


Update docs for Profiling and Qualification tool to change wording

We shouldn't be using the wording Spark Profiling Tool since it implies this is official Spark tool, so change the naming on it and wherever it makes sense just call Profiling tool.
Since it can process regular spark eventlogs and GPU rapids accelerator event logs I called it:
Profiling tool for the RAPIDS Accelerator and Apache Spark
If people have other suggestions on official name let me know.
fixes https://github.com/NVIDIA/spark-rapids/issues/4398

build

array test failures not related

build


when website opens, signup button on top not working

when signup button clicked, no change occurs, it still shows login page. I request you to assign this to me under GSSOC'23

please assign this issue to me


refactor(Array#forEach): Replaced Array#forEach with more suitable

Replaced Array#forEach with more suitable Array methods

Merged with 1fa8f5b


Filter by detected unicode script types or IANA character sets detected in name and files.path values

Is your feature request related to a problem? Please describe
I'd like to be able to filter for types of script or IANA character set detected in file and path names.
Describe the solution you'd like
Unicode is broken up into multiple script types and character sets (I believe there are characters than can be a part of multiple script types or character sets, but I am not a unicode expert).  I would like to be able to filter by things that only include things in something like Latin script or the US-ASCII character set to try and limit one way, or alternatively search for things that include Hiragana OR Katakana, or even more complex like Hiragana OR Katakana.  Even more complex would be Han AND NOT Hiragana AND NOT Katakana.
Additional context
Certain languages will include characters in multiple scripts or character sets.  For content in English, it may work well to filter only by something (this will take trial and error), but Chinese content will contain Han, but not Hiragana or Katakana, and Japanese content will usually contain Hiragana or Katakana and also other characters.

Hi @bmfrosty , there's already this open issue that might do what you want in a slightly different way - https://github.com/bitmagnet-io/bitmagnet/issues/49 - if the language filter was populated using the results from https://github.com/pemistahl/lingua-go, would this achieve what you'e aiming for?


feat(app): implement new UI and update action and remove unused API

Description

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[x] 🐛 Bug Fix
[x] 📝 Documentation Update
[ ] 🎨 Style
[x] 🧑💻 Code Refactor
[x] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Mobile & Desktop Screenshots/Recordings

code format issues
ruru_@Ruru MINGW64 /d/GitHub/commitly (dev)
$ pnpm run format:check

><EMAIL_ADDRESS>format:check D:\GitHub\commitly
> prettier --check "**/*.{ts,tsx,mdx}" --cache

Checking formatting...
[warn] action/index.ts
[warn] app/layout.tsx
[warn] app/page.tsx
[warn] components/emptyScreen.tsx
[warn] components/listSuggestion.tsx
[warn] components/loader.tsx
[warn] components/modeToggle.tsx
[warn] components/provider/theme-provider.tsx
[warn] components/ui/badge.tsx
[warn] components/ui/button.tsx
[warn] components/ui/card.tsx
[warn] components/ui/collapsible.tsx
[warn] components/ui/dropdown-menu.tsx
[warn] components/ui/input.tsx
[warn] components/ui/label.tsx
[warn] components/ui/scroll-area.tsx
[warn] components/ui/textarea.tsx
[warn] components/ui/toast.tsx
[warn] components/ui/toaster.tsx
[warn] components/ui/use-toast.ts
[warn] lib/utils.ts
[warn] tailwind.config.ts
[warn] utils/index.ts
[warn] Code style issues found in 23 files. Run Prettier to fix.
 ELIFECYCLE  Command failed with exit code 1.

we can make another PR for that


Remove static keyword from ilog2

In file included from src/operator/tensor/ordering_op.cc:7:
In file included from src/operator/tensor/./ordering_op-inl.h:17:
src/operator/tensor/./indexing_op.h:173:12: warning: unused function 'ilog2' [-Wunused-function]
static int ilog2(unsigned int a) {
^
1 warning generated.

Causes other builds to fail

need to be inline

Yeah I didn't do a clean build. I've changed to inline here https://github.com/dmlc/mxnet/pull/5335 (had to recreate PR sorry)


Bruker PrairieView import added to imaging

Thanks @kushalbakshi. Were you able to populate the PrairieView data through the entire schema? I believe you will need to also update this list:
image_locators = {
    "NIS": get_nd2_files,
    "ScanImage": get_scan_image_files,
    "Scanbox": get_scan_box_files,
}

Please update:
* [x]  version.py

* [x]  changelog.md

* [x]  docs/src/concepts.md to specify that we now support PrairieView

I only had enough data to populate an entry in the ScanInfo table. I now have datasets from both interested labs to try a full test

Please pull from upstream to fast forward your branch.


[P1] AMCREST Ethernet camera does NOT work on Control Plane cameras dashboard

This is the AMCREST ethernet camera tested:
https://www.amazon.com/gp/product/B0BNM2SGPS/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

This ethernet camera works from VLC Player in my LAN from my laptop:

This is the RTSP string and how it was configured in the app:
rtsp://admin:Opensesame@<IP_ADDRESS>:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif

In MEC-Accelerator app it works properly:

But it does NOT work in the control plane camera DASHBOARD:

Related issues:
https://github.com/Azure/mec-app-solution-accelerator/issues/134
https://github.com/Azure/mec-app-solution-accelerator/issues/123
https://github.com/Azure/mec-app-solution-accelerator/issues/123
https://github.com/Azure/mec-app-solution-accelerator/issues/132

This was related to a bug on the RTSP converter when camera id contains spaces. Its already fix.

Done


Create a website for the project

Something similar to https://kueue.sigs.k8s.io/docs/ with the following potential sections:

Overview: describes the goals of the project
API Reference: describes the APIs and the semantics
The Extension: describes the reference implementation included in the repo and the algorithm
Installation: for both the APIs and the extension

Looking at this

https://github.com/kubernetes-sigs/gateway-api-inference-extension/pull/118

We should add references to https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/ext_proc_filter


More detailed Android build & sign

Is your feature request related to a problem? Please describe.
Lack of details on Android pipeline.
Describe the solution you'd like
Either detailed CLI in the documentation to create a keystore etc. either a standalone page "Android tutorial" with screenshots, "click here on IDE ..."
Describe alternatives you've considered
Google
Additional context
I did a mistake when trying to create the keystore, first followed the Google search Android stuff but actually it's just simple to create a keystore through Unity UI, might win some time to the reader.
(Now my build works btw)

Thank you @louis030195 for your feature request!
We're accepting contributions from the community for this.

We now have documentation on Android and iOS for both github actions and gitlab workflow.
Feel free to reopen or create another issue if you're still missing things.


update versions of package dependencies

Update package dependencies to recent versions.
This allows running agains current version of  rmrk-team /
rmrk-substrate

Thank you


ionic v 3.2.0  --- slides not autoplay  in tabs   when you shift   from tabs.

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ x] 3.x
I'm submitting a ...  (check one with "x")
[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

when the init , it works well  in a tab ,i mean autoplay well. but  as soon as i shift from tabs it not work .
Expected behavior:

once i set the varible of autoplay ,pager,loop . it should be autoplay ,whenever i shift from other component.
Steps to reproduce:

Related code:
insert any relevant code here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

http://plnkr.co/edit/BqSDbOsUQn6rtdn1AfrY?p=preview

finally, make it work , use : ionViewWillEnter(){this.slider.startAutoplay();}
ionViewWillLeave(){this.slider.stopAutoplay();}
if   in nest tabs ;    can use Events to publish event and consume it with    start and stop  autoplay();


FTL issues with uniform sharding and high test count

Describe the bug
We use flank to run our Android FTL tests.  And we use uniform sharding (num-uniform-shards setting) instead of smart sharding because we need access to a valid shardIndex to support shard-specific users, and smart sharding sets the shardIndex to 0 for all shards.
Our test runs just recently started failing on FTL, and a quick summary of the reason that they fail is that we seem to have hit a limit (roughly 970) of the number of tests that we can include in a run.  The reason for that is that flank produces a command like this for each shard:
adb shell am instrument -w -r \
  -e numShards 40 \
  -e shardIndex 2 \
  -e class com.onepeloton.callisto.instrumentationTest.flows.ActivityFeedMobileTests#test_C13590563_feed_workout_cards_class_thumbnail_JWO,class com.onepeloton.callisto.instrumentationTest.flows.CircuitsFiltersMobileTests#test_C18008311_gym_filter_length...(970 test targets)"

In other words, each shard gets passed all 970 tests, instead of just the 25 or so tests that that shard needs to run.  And that super-long list causes an error in FTL:
/sdcard/run_command_7539975812237112782.sh[2]: /system/bin/app_process: Argument list too long

So, I was hoping that you could either (1) fix this problem by not passing all tests to each shard, (2) come up with a workaround, or (3) report a valid shardIndex when smart-sharding is used so that I don't have to use uniform sharding.
To Reproduce

Steps to reproduce the behavior:

Create 970 tests (see the android_shards.json file below that flank produced for us).
matrix-1rmnzi34f1nkc_android_shards.json

Run on FTL with uniform sharding.  I don't think that the shard count even matters, but we used 40.

Expected behavior
The test run completes.
Observed behavior
The test run never gets off the ground.  All shards report
/sdcard/run_command_7539975812237112782.sh[2]: /system/bin/app_process: Argument list too long

Details (please complete the following information):

Have you tested on the latest Flank snapshot?

Would it make a difference?

Post the output of  flank --version.

We are using flank v23.10.1
Additional context

Add any other context about the problem here.

We are able to work around this problem by excluding some test modules to reduce the total test count.  But once the test count hits a certain number (~970), we get the "Argument list too long" failure message.

Hi @joehoag, can you share your flank.yml config and if possible, your app-debug.apk as well as app-debug-androidTest.apk


Banner on global PSACT page warning about modifications not automatically being applied downstream

Nice to have for 2.7.next1 from @deniseschannon:

It would be nice to add a banner or something to indicate on the global page of PSACTs that if you modify PSACTs, it will not automatically be applied to downstream clusters that are already deployed with them until there is a cluster update.

Add an info banner to the Pod Security Admission list page in Cluster Management that says:
Note: Modifying a Pod Security Admission Configuration Template will not affect any downstream cluster that references it until there is a cluster update

Validated that this has been addressed and relative test cases in the internal K8s 1.25 test plan have been updated. Closing this issue.


How to make new scheme persistent?

I am new to Matlab and to matlab-schemer. I am running Matlab 2022b_r3 on Linux (Linux Mint 21.1 Xfce, based on Ubuntu 22.04 LTS). I have managed to use matlab-schemer to switch from the Matlab default color scheme to the cobalt scheme, but when I close Matlab and restart it, the color scheme has reverted to the Matlab default light color scheme. Is there a way to make the matlab-schemer cobalt scheme persistent so that Matlab starts up with the cobalt scheme?

That's unexpected, as the scheme is supposed to persist between closing and reopening MATLAB. It does the same thing as if you manually go in the preferences dialog and set the customizable GUI colours. If you manually set one of the colours in the preferences, does that persist between closing and reopening MATLAB?

Thanks for your reply. I tried setting colors in the preferences and then
Apply followed by OK. I then quit matlab and launched it again, but the
colors had reverted to the matlab default light scheme.
On Mon, Feb 27, 2023 at 11:27 AM Scott Lowe @.***>
wrote:

That's unexpected, as the scheme is supposed to persist between closing
and reopening MATLAB. It does the same thing as if you manually go in the
preferences dialog and set the customizable GUI colours. If you manually
set one of the colours in the preferences, does that persist between
closing and reopening MATLAB?
—
Reply to this email directly, view it on GitHub
https://github.com/scottclowe/matlab-schemer/issues/41#issuecomment-1446642609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAP6T7ITHGPW3YA52FLPZ5LWZTIVHANCNFSM6AAAAAAVH7QMRI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Okay, in that case its not an issue with Schemer, it's an issue with your MATLAB installation. I think it this issue can be caused by installing MATLAB as root and running it as a user without sudo privileges. My recommendations are:

Launch matlab from the terminal and check to see if an error message is displayed.
Run the command prefdir in MATLAB to see where your preferences directory is, and then in terminal using ls to check the permissions for that directory and the preferences file within it. You may want to set it so all users can read and write that directory chmod a+rw -R DIRNAME.
Check existing MATLAB support tickets on this topic to see if they fix your issue, e.g. https://www.mathworks.com/matlabcentral/answers/1777865-matlab-preferences-not-being-saved-across-sessions
Reinstall MATLAB

I will close this issue now, as it is not a problem with Schemer.
If you debug and find a solution to your problem, please post here so others will know a solution to try if they face the same problem and happen upon this post.


mv mymediaforalexa to roles

What this PR does / why we need it:
Which issue (if any) this PR fixes:
Fixes #
Any other useful info:

👍


After the "box installation" fault is solved, check the operation of 1.7.0 cell manager

Perform operation check from application install

Could you explain details more?

Does not have effect on current version.


Custom prefix error when commands are used in DMs

Errors are currently experienced when using commands in DMs, due to calls to ctx.guild.id and message.guild.id without confirming if bot is in a guild.

Fixed with: 3723d9f3358cdfbe89174a56710a44ba31617681

Fixed with: 3723d9f3358cdfbe89174a56710a44ba31617681


Added "missing" return type declaration

I have added a "missing" return type declaration (even though it is not in fact mandatory) because the part of the docs explaining that it is not mandatory is just below, and I don't want beginners to be disturbed before the explaination

Agree, thanks!


docs: readme

Description
Improve the README. Close #16.
Checklist

[x] I have followed the Contribution Guidelines and Code of Conduct
[x] I have commented my code following the OpenMined Styleguide
[x] I have labeled this PR with the relevant Type labels
[x] My changes are covered by tests

@rasswanth-s and I have started working on a better readme. We encourage people to give feedback and help us improve it.

@rasswanth-s and I have started working on a better readme. We encourage people to give feedback and help us improve it.
Note: I started it in markdown mode to make my life easier. However, @jmaunon recomended to use rst to later on use it in the Sphinx documentation.

Hi @danielorihuela . If you want to use markdown is fine (it has no so many options as .rst but I agree that for most of the situations is enough). The only point is that a plugint would be needed (see for example: https://pypi.org/project/m2r2/)

@danielorihuela is this still WIP?

Yes, now that I ended the other. I am gonna try and improve this.

@jmaunon I added some sections more. I do not know if would make sense to add even more sections.
I also added the rest version of the markdown readme. I do no have clear if I should let both readme or just keep the rest version.

Sorry for the late review @danielorihuela.
This looks great. One small addition you could make is to add instructions to run with docker.
Building
docker build -t sympc -f docker-images/Dockerfile .
Running
docker run -i -t sympc

Do not need to apologize! Check the docker section, see if you like it.

@kamathhrishi @danielorihuela , I have reviewed the docker section and it seems confusing. If you run those commands...later what? I have to enter into the docker container and... run the examples? (I do not think so because a Jupiter server is not running); start to develop? . It could be useful to include just a sentence with the next step you would expect from the person who reads that section
One more thing: docker section is actually a subsection of Installation, isn't it? (Actually is another way of installing sympc)

@jmaunon

@kamathhrishi @danielorihuela , I have reviewed the docker section and it seems confusing. If you run those commands...later what? I have to enter into the docker container and... run the examples? (I do not think so because a Jupiter server is not running); start to develop? . It could be useful to include just a sentence with the next step you would expect from the person who reads that section
One more thing: docker section is actually a subsection of Installation, isn't it? (Actually is another way of installing sympc)

If I am not wrong, the docker image gives us another different isolated environment where we can do whatever we want. Let it be execute jupyter notebooks (if we use the correct options), run the tests, make our own experiments or modify the source code to contribute. I tried to make to reflect this ideas with a new structure following your recommendations @jmaunon. However, I am not sure if they are clearly enough or not. Also, if @kamathhrishi could check that I did not write anything technically wrong, that would be great.

@danielorihuela  You are right about the docker description. Just that I think the description could be worded like this:
"If we cannot or do not want to use a virtual environment, we can use a docker image." (Don't use this, because people run docker for various reasons)
[keep the install docker part]

You can also run SyMPC using docker by running the following commands.

.. code:: bash
 $ docker build -t sympc -f docker-images/Dockerfile .   #builds image named sympc
$ docker run -i -t sympc #runs the container

Sorry I accidentally edited your comment by mistake.

@kamathhrishi @danielorihuela , I have reviewed the docker section and it seems confusing. If you run those commands...later what? I have to enter into the docker container and... run the examples? (I do not think so because a Jupiter server is not running); start to develop? . It could be useful to include just a sentence with the next step you would expect from the person who reads that section
One more thing: docker section is actually a subsection of Installation, isn't it? (Actually is another way of installing sympc)

@jmaunon Sorry I didn't see your comment. Yeah, run examples or write and run code. Just that it helps have an environment that would surely work irrespective of platform. Its kind of under installation section.
@danielorihuela You can place it under installation section with the description I mentioned above.

@kamathhrishi @danielorihuela , I have reviewed the docker section and it seems confusing. If you run those commands...later what? I have to enter into the docker container and... run the examples? (I do not think so because a Jupiter server is not running); start to develop? . It could be useful to include just a sentence with the next step you would expect from the person who reads that section
One more thing: docker section is actually a subsection of Installation, isn't it? (Actually is another way of installing sympc)

@jmaunon Sorry I didn't see your comment. Yeah, run examples or write and run code. Just that it helps have an environment that would surely work irrespective of platform. Its kind of under installation section.
@danielorihuela You can place it under installation section with the description I mentioned above.

I have made a change. But I do not know if that's what you wanted @kamathhrishi.

@danielorihuela Looks good. Thanks for this PR :)

@gmuraru Want to have a look before merging?


Remove obsolete Bash script for contracts deployment

Pull Request Test Coverage Report for Build 2427

0 of 0   changed or added relevant lines in 0 files are covered.
19 unchanged lines in 2 files lost coverage.
Overall coverage remained the same at 72.908%

Files with Coverage Reduction
New Missed Lines
%

src/Scanner/CacheScanner.ts
4
87.01%

src/Scanner/ChainScanner.ts
15
37.21%

Totals

Change from base Build 2420:
0.0%

Covered Lines:
828

Relevant Lines:
1069

💛  - Coveralls


Model parses but does not compile

Summary:
Model parses, but does not compile.
Description:
The following model passes the parser, but does not compile. My best guess is that it has to do with the line, in particular the sqrt(N) part.
tau0 = p0 * (K - p0) * sigma / sqrt(N);

in which sigma is a real parameter, p0 real data, and N and K are int data. Perhaps the integer/parameter combination isn't casting correctly?  This line will work up until the sqrt(N) part.
Reproducible Steps:
Attached is the model and the stanc code generated by rstan.

lm-coef-hs-3.stan
lm-coef-hs-3.cpp

Current Output:
Here is the error message, when using stanc in rstan:
Error in compileCode(f, code, language = language, verbose = verbose) :
  Compilation ERROR, function(s)/method(s) not created! In file included from file6d237f5a60f0.cpp:8:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/src/stan/model/model_header.hpp:4:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math.hpp:4:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/mat.hpp:4:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/core.hpp:12:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/core/var.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/BH/include/boost/math/tools/config.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/BH/include/boost/config.hpp:39:
/Li

Expected Output:
I expected it to compile (whether the model makes sense is a different issue).
Additional Information:
> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.4

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets
[6] methods   base

other attached packages:
 [1] bayesplot_1.2.0      loo_1.1.0
 [3] rstanarm_2.15.2      Rcpp_<IP_ADDRESS>
 [5] rubbish_0.2.0        forcats_0.2.0
 [7] dplyr_0.5.0          purrr_0.2.2
 [9] readr_1.1.0          tidyr_<IP_ADDRESS>00
[11] tibble_1.3.0         tidyverse_1.1.1
[13] glmnet_2.0-5         foreach_1.4.3
[15] Matrix_1.2-8         rstan_2.15.1
[17] StanHeaders_2.15.0-1 ggplot2_2.2.1
[19] fortunes_1.5-4       testthat_<IP_ADDRESS>00
[21] rmarkdown_1.4        knitr_1.15.1
[23] roxygen2_6.0.1       devtools_<IP_ADDRESS>00

loaded via a namespace (and not attached):
 [1] nlme_3.1-131         matrixStats_0.52.2
 [3] xts_0.9-7            lubridate_1.6.0
 [5] threejs_0.2.2        httr_<IP_ADDRESS>00
 [7] LaplacesDemon_16.0.1 rprojroot_1.2
 [9] tools_3.3.3          backports_1.0.5
[11] R6_2.2.0             DT_0.2
[13] DBI_0.6-1            lazyeval_0.2.0
[15] colorspace_1.3-2     withr_1.0.2
[17] gridExtra_2.2.1      mnormt_1.5-5
[19] curl_2.5             rvest_0.3.2
[21] xml2_1.1.1           shinyjs_0.9
[23] labeling_0.3         colourpicker_0.3
[25] bookdown_0.3.6       scales_0.4.1
[27] dygraphs_<IP_ADDRESS>     psych_<IP_ADDRESS>
[29] commonmark_1.2       stringr_1.2.0
[31] digest_0.6.12        foreign_0.8-67
[33] minqa_1.2.4          base64enc_0.1-3
[35] htmltools_0.3.5      lme4_1.1-13
[37] htmlwidgets_0.8      readxl_1.0.0
[39] shiny_1.0.2          zoo_1.8-0
[41] jsonlite_1.4         gtools_3.5.0
[43] inline_0.3.14        magrittr_1.5
[45] munsell_0.4.3        stringi_1.1.5
[47] yaml_2.1.14          MASS_7.3-47
[49] pkgbuild_<IP_ADDRESS>00  plyr_1.8.4
[51] grid_3.3.3           parallel_3.3.3
[53] crayon_1.3.2         miniUI_0.1.1
[55] lattice_0.20-35      haven_1.0.0
[57] splines_3.3.3        hms_0.3
[59] markdown_0.8         shinystan_2.3.0
[61] reshape2_1.4.2       codetools_0.2-15
[63] stats4_3.3.3         pkgload_<IP_ADDRESS>00
[65] rstantools_1.2.0     evaluate_0.10
[67] modelr_0.1.0         nloptr_1.0.4
[69] httpuv_1.3.3         cellranger_1.1.0
[71] gtable_0.2.0         assertthat_0.2.0
[73] mime_0.5             xtable_1.8-2
[75] broom_0.4.2          rsconnect_0.7
[77] shinythemes_1.1.1    iterators_1.0.8
[79] memoise_1.1.0

Current Version:
v2.15.0

That is supposed to work, but you can probably do sqrt(N + 0.0) to get
around it.
On Thu, May 4, 2017 at 11:32 PM, Jeffrey Arnold<EMAIL_ADDRESS>wrote:

Summary:
Model parses, but does not compile.
Description:
The following model passes the parser, but does not compile. My best guess
is that it has to do with the line, in particular the sqrt(N) part.
tau0 = p0 * (K - p0) * sigma / sqrt(N);
in which sigma is a real parameter, p0 real data, and N and K are int
data. Perhaps the integer/parameter combination isn't casting correctly?
This line will work up until the sqrt(N) part.
Reproducible Steps:
Attached is the model and the stanc code generated by rstan.

lm-coef-hs-3.stan
https://github.com/stan-dev/stan/files/978046/lm-coef-hs-3.stan.txt
lm-coef-hs-3.cpp
https://github.com/stan-dev/stan/files/978047/lm-coef-hs-3.cpp.txt

Current Output:
Here is the error message, when using stanc in rstan:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! In file included from file6d237f5a60f0.cpp:8:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/src/stan/model/model_header.hpp:4:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math.hpp:4:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/mat.hpp:4:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/core.hpp:12:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5:
In file included from /Users/jrnold/Library/R/3.3/library/StanHeaders/include/stan/math/rev/core/var.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/BH/include/boost/math/tools/config.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/BH/include/boost/config.hpp:39:
/Li
Expected Output:
I expected it to compile (whether the model makes sense is a different
issue).
Additional Information:

sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.4

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats     graphics  grDevices utils     datasets
[6] methods   base
other attached packages:
[1] bayesplot_1.2.0      loo_1.1.0
[3] rstanarm_2.15.2      Rcpp_<IP_ADDRESS>
[5] rubbish_0.2.0        forcats_0.2.0
[7] dplyr_0.5.0          purrr_0.2.2
[9] readr_1.1.0          tidyr_<IP_ADDRESS>00
[11] tibble_1.3.0         tidyverse_1.1.1
[13] glmnet_2.0-5         foreach_1.4.3
[15] Matrix_1.2-8         rstan_2.15.1
[17] StanHeaders_2.15.0-1 ggplot2_2.2.1
[19] fortunes_1.5-4       testthat_<IP_ADDRESS>00
[21] rmarkdown_1.4        knitr_1.15.1
[23] roxygen2_6.0.1       devtools_<IP_ADDRESS>00
loaded via a namespace (and not attached):
[1] nlme_3.1-131         matrixStats_0.52.2
[3] xts_0.9-7            lubridate_1.6.0
[5] threejs_0.2.2        httr_<IP_ADDRESS>00
[7] LaplacesDemon_16.0.1 rprojroot_1.2
[9] tools_3.3.3          backports_1.0.5
[11] R6_2.2.0             DT_0.2
[13] DBI_0.6-1            lazyeval_0.2.0
[15] colorspace_1.3-2     withr_1.0.2
[17] gridExtra_2.2.1      mnormt_1.5-5
[19] curl_2.5             rvest_0.3.2
[21] xml2_1.1.1           shinyjs_0.9
[23] labeling_0.3         colourpicker_0.3
[25] bookdown_0.3.6       scales_0.4.1
[27] dygraphs_<IP_ADDRESS>     psych_<IP_ADDRESS>
[29] commonmark_1.2       stringr_1.2.0
[31] digest_0.6.12        foreign_0.8-67
[33] minqa_1.2.4          base64enc_0.1-3
[35] htmltools_0.3.5      lme4_1.1-13
[37] htmlwidgets_0.8      readxl_1.0.0
[39] shiny_1.0.2          zoo_1.8-0
[41] jsonlite_1.4         gtools_3.5.0
[43] inline_0.3.14        magrittr_1.5
[45] munsell_0.4.3        stringi_1.1.5
[47] yaml_2.1.14          MASS_7.3-47
[49] pkgbuild_<IP_ADDRESS>00  plyr_1.8.4
[51] grid_3.3.3           parallel_3.3.3
[53] crayon_1.3.2         miniUI_0.1.1
[55] lattice_0.20-35      haven_1.0.0
[57] splines_3.3.3        hms_0.3
[59] markdown_0.8         shinystan_2.3.0
[61] reshape2_1.4.2       codetools_0.2-15
[63] stats4_3.3.3         pkgload_<IP_ADDRESS>00
[65] rstantools_1.2.0     evaluate_0.10
[67] modelr_0.1.0         nloptr_1.0.4
[69] httpuv_1.3.3         cellranger_1.1.0
[71] gtable_0.2.0         assertthat_0.2.0
[73] mime_0.5             xtable_1.8-2
[75] broom_0.4.2          rsconnect_0.7
[77] shinythemes_1.1.1    iterators_1.0.8
[79] memoise_1.1.0
Current Version:
v2.15.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2304, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADOrqnvlRPsNItTCOQcy_o7aSjbIDr13ks5r2pg5gaJpZM4NRdS4
.

I got around it by using pow(N, 0.5).

Hmm.  Works on my machine.   Can anyone else reproduce this problem?
R version 3.3.2
rstan (Version 2.15.1, packaged: 2017-04-19 05:03:57 UTC, GitRev: 2e1f913d3ca3)
Mac OS X 10.10.5
> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X Yosemite 10.10.5

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] rstan_2.15.1         StanHeaders_2.15.0-1 ggplot2_2.2.1

loaded via a namespace (and not attached):
 [1] colorspace_1.3-2 scales_0.4.1     assertthat_0.1   lazyeval_0.2.0   plyr_1.8.4       tools_3.3.2      inline_0.3.14
 [8] gtable_0.2.0     tibble_1.2       gridExtra_2.2.1  Rcpp_0.12.8      grid_3.3.2       stats4_3.3.2     munsell_0.4

Yes, although I get a somewhat different error message
filedbe659dd7a2.cpp: In member function ‘T__
modeldbe5f2ed303_lm_coef_hs_3_namespace::modeldbe5f2ed303_lm_coef_hs_3::log_prob(std::vector<T2>&,
std::vector<int>&, std::ostream*) const’:
filedbe659dd7a2.cpp:353:73: error: call of overloaded ‘sqrt(const int&)’ is
ambiguous
             stan::math::assign(tau0, (((p0 * (K - p0)) * sigma) /
sqrt(N)));
                                                                         ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/stdint.h:25,
                 from /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:6,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:156:1: note: candidate:
double sqrt(double)
 __MATHCALL (sqrt,, (_Mdouble_ __x));
 ^
In file included from
/usr/local/lib/R/site-library/BH/include/boost/config/no_tr1/cmath.hpp:21:0,
                 from
/usr/local/lib/R/site-library/BH/include/boost/math/tools/config.hpp:19,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/include/c++/7/cmath:463:3: note: candidate: constexpr float
std::sqrt(float)
   sqrt(float __x)
   ^~~~
/usr/include/c++/7/cmath:467:3: note: candidate: constexpr long double
std::sqrt(long double)
   sqrt(long double __x)
   ^~~~
/usr/include/c++/7/cmath:475:5: note: candidate: constexpr typename
__gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type
std::sqrt(_Tp) [with _Tp = int; typename
__gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type =
double]
     sqrt(_Tp __x)
     ^~~~
In file included from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/pow.hpp:5:0,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/inc_beta.hpp:7,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/grad_inc_beta.hpp:12,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal.hpp:50,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/arr.hpp:9,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/sqrt.hpp:50:16:
note: candidate: stan::math::var stan::math::sqrt(const stan::math::var&)
     inline var sqrt(const var& a) {
                ^~~~
In file included from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/prim/mat.hpp:210:0,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:11,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/sqrt.hpp:32:5:
note: candidate: typename
stan::math::apply_scalar_unary<stan::math::sqrt_fun, T>::return_t
stan::math::sqrt(const T&) [with T = int; typename
stan::math::apply_scalar_unary<stan::math::sqrt_fun, T>::return_t = double]
     sqrt(const T& x) {
     ^~~~
filedbe659dd7a2.cpp: In member function ‘void
modeldbe5f2ed303_lm_coef_hs_3_namespace::modeldbe5f2ed303_lm_coef_hs_3::write_array(RNG&,
std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool,
std::ostream*) const’:
filedbe659dd7a2.cpp:536:73: error: call of overloaded ‘sqrt(const int&)’ is
ambiguous
             stan::math::assign(tau0, (((p0 * (K - p0)) * sigma) /
sqrt(N)));
                                                                         ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/stdint.h:25,
                 from /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/memory/stack_alloc.hpp:6,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:156:1: note: candidate:
double sqrt(double)
 __MATHCALL (sqrt,, (_Mdouble_ __x));
 ^
In file included from
/usr/local/lib/R/site-library/BH/include/boost/config/no_tr1/cmath.hpp:21:0,
                 from
/usr/local/lib/R/site-library/BH/include/boost/math/tools/config.hpp:19,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:12,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/include/c++/7/cmath:463:3: note: candidate: constexpr float
std::sqrt(float)
   sqrt(float __x)
   ^~~~
/usr/include/c++/7/cmath:467:3: note: candidate: constexpr long double
std::sqrt(long double)
   sqrt(long double __x)
   ^~~~
/usr/include/c++/7/cmath:475:5: note: candidate: constexpr typename
__gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type
std::sqrt(_Tp) [with _Tp = int; typename
__gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type =
double]
     sqrt(_Tp __x)
     ^~~~
In file included from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/pow.hpp:5:0,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/inc_beta.hpp:7,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/grad_inc_beta.hpp:12,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal.hpp:50,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/arr.hpp:9,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:12,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/scal/fun/sqrt.hpp:50:16:
note: candidate: stan::math::var stan::math::sqrt(const stan::math::var&)
     inline var sqrt(const var& a) {
                ^~~~
In file included from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/prim/mat.hpp:210:0,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:11,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4,
                 from
/usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4,
                 from filedbe659dd7a2.cpp:8:
/usr/local/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/sqrt.hpp:32:5:
note: candidate: typename
stan::math::apply_scalar_unary<stan::math::sqrt_fun, T>::return_t
stan::math::sqrt(const T&) [with T = int; typename
stan::math::apply_scalar_unary<stan::math::sqrt_fun, T>::return_t = double]
     sqrt(const T& x) {

On Fri, May 5, 2017 at 3:42 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Hmm. Works on my machine. Can anyone else reproduce this problem?
R version 3.3.2
rstan (Version 2.15.1, packaged: 2017-04-19 05:03:57 UTC, GitRev:
2e1f913d3ca3)
Mac OS X 10.10.5

sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X Yosemite 10.10.5

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] rstan_2.15.1         StanHeaders_2.15.0-1 ggplot2_2.2.1
loaded via a namespace (and not attached):
[1] colorspace_1.3-2 scales_0.4.1     assertthat_0.1   lazyeval_0.2.0   plyr_1.8.4       tools_3.3.2      inline_0.3.14
[8] gtable_0.2.0     tibble_1.2       gridExtra_2.2.1  Rcpp_0.12.8      grid_3.3.2       stats4_3.3.2     munsell_0.4
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2304#issuecomment-299557980, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqr9qq99cydTYmIyZPQbdxcuNFdNYks5r23u-gaJpZM4NRdS4
.

I'll take this one.  It's probabably something that will need to be fixed in the math lib.

I can't recreate the issue.  And I'm using a very similar setup.
The only problem I have is an ugly message from Boost:
In file included from file8567b1e459a.cpp:8:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/StanHeaders/include/src/stan/model/model_header.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/StanHeaders/include/stan/math.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:4:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/StanHeaders/include/stan/math/rev/core.hpp:12:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/StanHeaders/include/stan/math/rev/core/var.hpp:7:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/BH/include/boost/math/tools/config.hpp:13:
In file included from /Library/Frameworks/R.framework/Versions/3.3/Resources/library/BH/include/boost/config.hpp:39:
/Library/Frameworks/R.framework/Versions/3.3/Resources/library/BH/include/boost/config/compiler/clang.hpp:196:11: warning: 'BOOST_NO_CXX11_RVALUE_REFERENCES' macro redefined [-Wmacro-redefined]
#  define BOOST_NO_CXX11_RVALUE_REFERENCES
          ^
<command line>:5:9: note: previous definition is here
#define BOOST_NO_CXX11_RVALUE_REFERENCES 1
        ^
1 warning generated.

but it compiles OK.  Here's my session info, which is similar other than I'm still using Yosemite rather than Sierra:
R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X Yosemite 10.10.5

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] rstan_2.15.1         StanHeaders_2.15.0-1 ggplot2_2.2.1

loaded via a namespace (and not attached):
 [1] colorspace_1.3-2 scales_0.4.1     assertthat_0.1   lazyeval_0.2.0   plyr_1.8.4       tools_3.3.2      inline_0.3.14    gtable_0.2.0     tibble_1.2       gridExtra_2.2.1
[11] Rcpp_0.12.8      grid_3.3.2       stats4_3.3.2     munsell_0.4.3

Which compiler do you have?  I have
~/stan-dev$ clang++ --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

It turns out that this was my setup. I updated to R 3.4.0 and installed the newest clang via homebrew; however, it wasn't finding the the stdlib. So it wasn't finding math.h.  I didn't realize it since that didn't show up in the compilation error here. I realized what was going on after I was compiling some other RCpp code. I've fixed it since then and it now compiles. Sorry about the false issue.

No problem. Thanks for looking after the Stan Docker file!
On Fri, May 19, 2017 at 4:25 AM, Jeffrey Arnold<EMAIL_ADDRESS>wrote:

It turns out that this was my setup. I updated to R 3.4.0 and installed
the newest clang via homebrew; however, it wasn't finding the the stdlib.
So it wasn't finding math.h. I didn't realize it since that didn't show
up in the compilation error here. I realized what was going on after I was
compiling some other RCpp code. I've fixed it since then and it now
compiles. Sorry about the false issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2304#issuecomment-302641640, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqnOuFd6OdCNgf2iPX93PVohd_3seks5r7VIFgaJpZM4NRdS4
.

You need to first call
Sys.setenv(USE_CXX14=1)
for the time being.
On Tue, Oct 9, 2018 at 6:26 AM GOUYONGCHAO<EMAIL_ADDRESS>wrote:

anyone can help?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/issues/2304#issuecomment-428141276, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADOrqvFMp-ihieSAUV4t6jnJUQ1Ej22Kks5ujHnMgaJpZM4NRdS4
.


Unable to display PDF

@Astar-Li could you provide the following info, please?

have you tried the sample app first?

have you requested access to permissions via the permissions manager, like in the sample?

which qt version are you using?

on which android version are you testing the library?

@Astar-Li could you provide the following info, please?

have you tried the sample app first?
have you requested access to permissions via the permissions manager, like in the sample?
which qt version are you using?
on which android version are you testing the library?

@develtar Dear  develtar

have you requested access to permissions via the permissions manager, like in the sample?
Yes，I have  tried the sample app first.It's run ok   on Android 7 8 9  10 11 12 13
But after I put  targetSdkVersion = 33, the above inaccessibility situation will result

have you requested access to permissions via the permissions manager, like in the sample?
Yes, I applied for permission
I even tested the pdf file inside the app because it doesn't require permissions, but the results are still the same

which qt version are you using?
QT5.15.2  NDK ：21.3.6528147

on which android version are you testing the library?
API 33, Android 13

Here are the solutions I tried
setAllowFileAccess
Official website document explanation:
Enables or disables file access within WebView. Note that this enables or disables file system access only. Assets and resources are still accessible using file:///android_asset and file:///android_res.
https://bugreports.qt.io/browse/QTBUG-97487

But so far, I haven't found a way to setAllowFileAccess

But so far, I haven't found a way to setAllowFileAccess

From API level 30 the native Android WebView will have file access disabled by default.

Thank you for the info!
I'll give it a look this weekend :)

@Astar-Li

which JDK version are you using?
which SDK version are you using?

@Astar-Li

which JDK version are you using?
which SDK version are you using?

JDK:11.0.2
SDK :9.0
Android build platform SDK: android-33

@develtar  But my tests show that this is only related to targetSdkVersion, which appears when targetSdkVersion>= 30

@Astar-Li i haven't yet found a workaround to this issue: maybe the webview settings could be set natively using the QAndroidJniObject class.
Some of the links i consulted are the following:

https://github.com/2gis/2gisqt5android/blob/master/qtandroidextras/src/androidextras/jni/qandroidjniobject.cpp
https://stuff.mit.edu/afs/athena/software/texmaker_v5.0.2/qt57/doc/qtandroidextras/qtandroid.html
https://stackoverflow.com/questions/75940926/opening-the-android-settings-through-qandroidjniobject
https://docplayer.net/36769499-Practical-qt-on-android-jni.html
https://stackoverflow.com/questions/27092044/android-art-runtime-check-jni-cc-error-on-package-name
https://doc.qt.io/qt-6/qjniobject.html

If in the meantime you found a workaround, let me know or feel free to make a merge request!

@Astar-Li have you found a workaround?


5.3 Maximum sum subarray in O(n) - Kaden's Algorithm

My code is clear and well understanding
Please assign it to me

I want to work on it.I can code it in c++. Please Assign me.

Need to add a description and your approach. Thanks, Closing as of now.


http: making upstream ALPN accesible.

Part of https://github.com/envoyproxy/envoy-mobile/issues/1546
Risk Level: Low
Testing: new integration test
Docs Changes: n/a
Release Notes: n/a

Ah if we want real ALPN I might as well do that now
/wait

OK, switching this over to real ALPN didn't work becasue of a series of refactors over in https://github.com/envoyproxy/envoy/issues/17168 where we made the socket the entity for a bunch of non-address things like the ssl info and the connection id.
This may work just fine for HTTP/1 and HTTP/2 but I'm not sure it's the correct API choice for HTTP/3 support.  I'm working around it for now with a shim and a TODO but I find the shim pretty ugly and I'm wondering if we need to look at changing the APIs again.
cc @ggreenway

Arguably we would have had to shim anyway for HTTP/3 since with we may have one socket and many addresses, so maybe it's not actually more problematic?  cc @danzh2010 and @RyanTheOptimist for thoughts as well.
Dan as TODO'd I think we need to look at all these and make sure they work as intended.

At a high level these seems reasonable to me. Happy to figure out better APIs also if needed. For posterity the other API changes were done to fix some fairly serious state bugs in which we didn't have state tracked correctly across the connection, stream info, etc.

my new assert broke a unit test feel free to
/wait
for the fix

Nice, much cleaner! Other than the question about "h3" hardcoding, this LGTM. (I wonder what it would take to stop hard coding "h3" in server session)

It needs a QUICHE change: https://github.com/envoyproxy/envoy/issues/18935


v0.2.7

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

Comparison is base (3a053b5) 98.56% compared to head (07ef9ad) 98.56%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #620   +/-   ##
=======================================
  Coverage   98.56%   98.56%
=======================================
  Files          68       68
  Lines        8377     8377
  Branches     1219     1219
=======================================
  Hits         8257     8257
  Misses        114      114
  Partials        6        6

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


Too old grafana version

http://docs.grafana.org/installation/debian/#apt-repository
The Dockerfile doesn't contain creating a file /etc/apt/sources.list.d/grafana.list.
The Latest version of the Dockerfile installs Grafana 2.6.0, and latest Grafana version is 6.x.
It would be great to support newer versions 👍

agreed ! no alerting supported


Setup pypi project

This should get setup in both pypyi test and prod.
This can't actually be done until something has been uploaded to PyPI.
blocked on #7

This is done because we've released to pypi already!


MudNavMenu: Use nav instead of div for better accessibility

Description
Fixes: #7222
The original issue requested an override on MudDrawer for the aside tag. However, according to MDN (and other frameworks), having navigation blocks inside of aside is not an issue, but navigation blocks should always be inside of a nav tag. The logical solution for me then is to have MudNavMenu translate into nav rather than div.
How Has This Been Tested?
Visually tested and confirmed with other major accessibility focused sites:
Drawer documentation post-fix:

MDN:

Types of changes

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

Potentially breaking if users expect a div tag in MudNavMenu and have custom styling around that expectation.
Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

@bunkaisatori @zola-25 this change will "fix" the doc examples, can you confirm aside > nav > link is acceptable in terms of accessibility?

Should this be done to the docs footer as well?

Should this be done to the docs footer as well?

Ideally the docs should use header, main, and footer tags, but this can also be done via the role attribute. In theory adding role="navigation" to MudNavMenu would also have been a valid solution in this PR.
https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/
All navigation blocks (in the docs there can be 4 navigation blocks at once I think) should either be surrounded by a nav tag or alternatively by a container with role="navigation" (and when multiple of the same landmarks are available, they should have an aria-label or an aria-labelledby="<id to some sort of label, i.e. a heading>".

https://www.aditus.io/patterns/multiple-navigation-landmarks/

@bunkaisatori @zola-25 this change will "fix" the doc examples, can you confirm aside > nav > link is acceptable in terms of accessibility?

Maybe @KamilBugnoKrk could help too. That person contributed a lot in accessibility in past.

@KamilBugnoKrk would you lend us your expertise on accessibility please? Would be greatly appreciated.

@igotinfected @ScarletKuro

However, according to MDN (and other frameworks), having navigation blocks inside of aside is not an issue, but navigation blocks should always be inside of a nav tag. The logical solution for me then is to have MudNavMenu translate into nav rather than div.

Yes, this was a problem too, probably more significant. As you've already mentioned, the work around involved passing "role"="navigation" as UserAttributes to a <MudPaper> (so a <div>) that wrapped the <MudNavMenu>
Work around
I think the main thing to make sure with <aside> is that it's not supposed to sit within <main>? Which it isn't in the layout I'm using anyway. But apparently it's okay if within an <article>. It's very confusing, because it has been used in navigational sidebars, and it's really not clear if this is appropriate when these are main site nav links:
Stackoverflow best-html5-markup-for-sidebar
Stackoverflow sidebar-navigation-which-tag-is-semantically-correct
It also gets confusing when it is used in responsive sidebars. Since, when collapsed, the drawer/sidebar doesn't set any styles
like visibility: hidden and display: none, it still shows up okay in the accessibility view in chrome, so that's good. But whether the <nav> should be inside a collapsible <aside> I'm not sure.
An  without a role attribute set is a 'complementary' landmark, but an aside with role="region" equivalent of a  semantically:
Complementary WAI ARIA
And from Region WAI ARIA:

A region landmark is a perceivable section containing content that is relevant to a specific, author-specified purpose and sufficiently important that users will likely want to be able to navigate to the section easily and to have it listed in a summary of the page.

Does any of this matter?
Are screen readers adaptable given such variations across the web? I have no idea. Tools like Axe and Lighthouse don't complain about MudBlazor's use of <aside> in the drawer.
I set <aside> 's "role"="region" but I can't remember exactly why.
<aside> and the lack of <nav> in the MudBlazor drawer menu only became an issue when using Microsoft Playwright and its semantically-driven element locators for Web UI testing. They have gone all in on it recently and I think Selenium are also catching up. When you can't identify the <nav> section , <header> and <footer>, form inputs by <label>, that kind of thing, it becomes super hard to use these kind of semantic element locators for testing.
That's about all the info I've got. Hope it helps in some way.
But aside from these semantic HTML/ARIA issues, would just like to say thanks for this awesome library and the work you put into it. 👍💪
A few months ago I finished my hobby project with it: https://demo.explainmyenergy.net

@zola-25 thank you for the super detailed response!! I've started working on accessibility in navigation that goes beyond this issue here: !8684
That on its own should solve a few accessibility issues including keyboard navigation.
In that implementation I put the aria-label on the MudNavGroup container instead of MudNavMenu which might not be the best approach, maybe your idea to use role="region" is better.
The collapsible navigation groups are now also marked as aria-hidden when collapsed which should clean up the accessibility tree.
This will most likely be an iterative process anyway given how much there is to do and how little documentation there is on accessibility from an implementation point of view.

only became an issue when using Microsoft Playwright and its semantically-driven element locators for Web UI testing

I am happy we have dedicated test engineers for this at my work place, it seems like a pretty complicated topic.

I assume this one is safe to merge @henon

A few months ago I finished my hobby project with it: https://demo.explainmyenergy.net

@zola-25 If you want you can add your project to our show-and-tell-issue: #2849

Thanks Jason


Fix the PlatformService function test "is64bit.

The test was broken on Windows by PR #14326.

Codecov Report

Merging #14677 (36e2d29) into main (2a6761d) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main   #14677      +/-   ##
==========================================
- Coverage   64.82%   64.78%   -0.04%
==========================================
  Files         546      546
  Lines       25566    25570       +4
  Branches     3617     3618       +1
==========================================
- Hits        16573    16566       -7
- Misses       8315     8321       +6
- Partials      678      683       +5

Impacted Files
Coverage Δ

src/client/common/utils/platform.ts
53.33% <0.00%> (-19.75%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

.../pythonEnvironments/common/externalDependencies.ts
72.34% <0.00%> (-2.13%)
:arrow_down:

.../locators/services/virtualEnvironmentIdentifier.ts
90.41% <0.00%> (-1.37%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

Continue to review full report at Codecov.

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


issue-229 : use scroll method from ElasticsearchService

openBackhaul/ApplicationPattern#708 needs to be merged first
Fixes #229

Reviewer is @PrathibaJee


Some problems

Hello, I used the pioneer3dx robot during the training phase, but I used the turtlebot3 robot during the test phase, it couldn't do navigation tasks, but the pioneer3dx robot could. Is it because the model of the robot being trained and tested is inconsistent? Is it because of differences in their physical models? Must the trained and tested models be consistent? Does the simulation have to be the same as the real world robot?

Hi,
You would need to describe in more detail what you mean by not being able to do navigation tasks. Did the robot not move or did the policy not bring the robot to the goal?
How did you change the robots and what sensors did you use to train and test?
Both are differential drive robots so the policy should be transferable and the simulation robot does not need to necessarily be the same as real world robot. But sensors and their locations must align if you are using a velodyne sensor.

Hi,
You would need to describe in more detail what you mean by not being able to do navigation tasks. Did the robot not move or did the policy not bring the robot to the goal?
How did you change the robots and what sensors did you use to train and test?
Both are differential drive robots so the policy should be transferable and the simulation robot does not need to necessarily be the same as real world robot. But sensors and their locations must align if you are using a velodyne sensor.

It's the robots that can't get to the target point, 100% collision, whereas the pioneer3dx won't. turtlebot3 robot model was shared by others on GitHub, "https://github.com/ROBOTIS-GIT/turtlebot3/blob/master/turtlebot3_description/urdf/turtlebot3_burger.gazebo.xacro", The training stage is still the pioneer3dx model in your project, which has not changed. Is it because of different Lidar models?

Where is the velodyne sensor placed on your turtlebot robot?
You can read about changing the robot model here: https://medium.com/@reinis_86651/using-turtlebot-in-deep-reinforcement-learning-4749946e1c15
Specifically, note the sensor parameters that change in the env file. The height at which the velodyne sensor is located is important since we filter out the floor.

Where is the velodyne sensor placed on your turtlebot robot?
You can read about changing the robot model here: https://medium.com/@reinis_86651/using-turtlebot-in-deep-reinforcement-learning-4749946e1c15
Specifically, note the sensor parameters that change in the env file. The height at which the velodyne sensor is located is important since we filter out the floor.

I followed your changes, but they didn't seem to work.
https://github.com/reiniscimurs/DRL-robot-navigation/assets/147294035/81b89d4b-43fc-46e4-b6ab-a802289803c2
https://github.com/reiniscimurs/DRL-robot-navigation/assets/147294035/6261b909-e3c5-438e-857b-f6262d4b9650

Have you looked in the already closed issues?
This might help you: https://github.com/reiniscimurs/DRL-robot-navigation/issues/60

Have you looked in the already closed issues? This might help you: #60

Thanks, I saw the comment and the issue has been resolved. It seems that only velodyne 3D radar was used in this project. Is it possible to use only 2D radar? And if I don't have 3D radar in the real world, can my 3D radar-trained network be deployed on 2D radar in real robots? Also, what does it mean to filter out the floor in the code?

It seems that only velodyne 3D radar was used in this project

Yes

Is it possible to use only 2D radar?

Radar is not lidar. But, yes.

And if I don't have 3D radar in the real world, can my 3D radar-trained network be deployed on 2D radar in real robots?

Yes, as shown in the paper.

Also, what does it mean to filter out the floor in the code?

Please read the provided tutorial. It is described there.

OK, thanks. I have read your tutorial, but I still haven't figured it out. In the Pioneer3dx robot, is the height of Velodyne from the ground about 0.2m? But I still don't understand why we filter out the ground, I'm sorry.

Think of how we generate the values for the laser state. We bin the data and then take the minimum value for each bin to represent the value for that angle direction. This should represent the closest point to the obstacle in that direction. However, the velodyne laser also detects the ground and most of the time the ground will always be closer than any obstacle. So your laser state will not represent how far are the obstacles, but rather, where is the floor. So we need to filter out the floor to actually get any information from the obstacles.

Think of how we generate the values for the laser state. We bin the data and then take the minimum value for each bin to represent the value for that angle direction. This should represent the closest point to the obstacle in that direction. However, the velodyne laser also detects the ground and most of the time the ground will always be closer than any obstacle. So your laser state will not represent how far are the obstacles, but rather, where is the floor. So we need to filter out the floor to actually get any information from the obstacles.

OK, thank you, I understand.


zuck.js [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event.

Hello @ramon82
I got an issue with a website on sf5 / php 7.4 running with boostrap and jquery.
Here are the issues i got when i try to navigate (previous / next):
[Violation] Added non-passive event listener to a scroll-blocking  event. Consider marking event handler as 'passive' to make the page more responsive. See
zuck.js:710 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
createStoryTouchEvents @ zuck.js:710
callback @ zuck.js:726
onOpen @ zuck.js:237
show @ zuck.js:781
story.onclick @ zuck.js:923
zuck.js:589 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
touchStart @ zuck.js:589
zuck.js:589 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
touchStart @ zuck.js:589
zuck.js:589 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
touchStart @ zuck.js:589
zuck.js:589 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
touchStart @ zuck.js:589
zuck.js:589 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
i think we need to edit like that:
 if (enableMouseEvents) {    modalSlider.addEventListener('mousemove', touchMove, { passive: true});   modalSlider.addEventListener('mouseup', touchEnd, { passive: true});   modalSlider.addEventListener('mouseleave', touchEnd, { passive: true});                                                                                }   modalSlider.addEventListener('touchmove', touchMove, { passive: true});   modalSlider.addEventListener('touchend', touchEnd, { passive: true});
Let me know what did you think, but actually my navigation does not work.

with passive true its better, now i can go on so it fix the issue.

setting passive events break other things, so it wont be changed for now


Issue with Extracting Tables with Merged Rows

Hello,
I’m encountering an issue when extracting tables containing merged rows. Specifically, when a cell spans multiple rows, the expected behavior is to assign it a row_span value greater than 1. However, in many cases, the extraction process fails to identify the correct row_span value, often assigning a lower value than the actual span. This results in blank cells appearing in the subsequent rows rather than merging as intended.
To address this, I tested with both do_cell_matching=True and do_cell_matching=False settings, and tried using both the DoclingParseDocumentBackend and DoclingParseV2DocumentBackend options. Unfortunately, neither approach yielded the correct row_span values or resolved the merging issue.
Attached are the following files for reference:

Sample PDF document with merged rows
Extracted output demonstrating the issue
Expected output showing the correct row_span values and row merges that Docling was unable to achieve

Attachments
sample.pdf
extraction_output.csv
expected_output.csv
Thank you very much for your efforts on this project.

me too

@MahmoudAtef999 thanks, I can reproduce this issue and will investigate further. The expectation should be that row spans are detected correctly here.

@cau-git Thanks for your response. I've used DoclingDocument to extract the tables and converted them to both CSV and HTML formats. I also tried converting the entire file to JSON. However, the issue persists in both cases. I would appreciate any further guidance or steps I may have missed in troubleshooting.

Hello @cau-git, is there any update?


Tag is display as Uknown

Description
"Files" documentation states:
Users to move files around without losing their tags.

 we store the tag information in the file itself using alternate data streams

but there is only an uuid in the files stream for my file:
>get-item file.pdf | Get-Content -stream files
d4b8d4bd-ceaf-4e58-ac61-a185fcf96c5d

and obviously it's not displayed on an another machine:

Steps To Reproduce
create file on one machine add custom tag for it for example CV
sync it via shared folder to another machine
it displayed as Uknown on the another machine
Requirements

e.g. Fix crash that occurs when...

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3930
Log File
debug.log

Only the tag will be sync, you need to import the tags definition file over too. Files settings > Advance > Import/export

Only the tag will be sync, you need to import the tags definition file over too. Files settings > Advance > Import/export

ok, so I need to create and issue for this page:
https://files.community/docs/features/tags
because all of this is false:
How do tags work behind the scenes?
Instead of creating a database with a list of files and tags, we store the tag information in the file itself using alternate data streams. This allows:

Users to move files around without losing their tags.
It decouples the tags feature from Files and allows other apps using the same system to support this feature.

While a section about the tags definition file should be added, that isn't wrong. The tag is still stored on the file rather then a database and is still there even without the tag definition.

While a section about the tags definition file should be added, that isn't wrong. The tag is still stored on the file rather then a database and is still there even without the tag definition.

well, If files are synced using dropbox/windows shared dir then it's tedious to manage tags separately from files


Add TBC Mart Token

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[X] logo dimensions: 120*120 px
[X] logo background: Transparent
[X] At least one transaction on the token contract
[X] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[X] Same document name for both .json and .png (Including capitalization)

Project background:
Project team background: Chukwuka Obeleagu, is the owner of TBC Mart Token and TBC Mart shopping app. He was a Banker for many years specializing in Risk Management, Loans, Fund Management, Marketing etc.
Project basic information: Tbc Mart Token is an Erc 20 Token used for shopping on an Online Shopping App called TBC Mart.
Media publications:
Tradeable exchanges: Four Exchanges with Ethereum.
Bitcratic Exchange: https://t.co/Hnlt4eVsg4?amp=1
Etherflyer Exchange: https://t.co/xm86gA8hm2
Uniswap Exchange: https://t.co/DnfltiVo9G
ForkDelta Exchange: https://t.co/hyjf0vBXsj
Recommended Gas Limit (For ERC-20 project teams) for transaction: 60,000

Hello,
We have resubmitted our Pull Request:
https://github.com/consenlabs/token-profile/pull/5480
Yet no response.
Kindly assist us get our Profile on Imtoken
On Fri, 31 Jan 2020, 13:10 sfsy520<EMAIL_ADDRESS>wrote:

非常抱歉，请参考教程提交完整的PR，并完善Json中相应的字段内容，
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/consenlabs/token-profile/pull/5480?email_source=notifications&email_token=AN23D6WTILZQOTXZGJJPLTTRAQIMFA5CNFSM4KLJYBCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKOOWAA#issuecomment-580709120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN23D6VNFMVLMFMYFUQMIHDRAQIMFANCNFSM4KLJYBCA
.


(libreoffice) Incorrect checksum for 32-bit installer

The SHA256 checksum for the 32-bit LibreOffice installer is incorrect, resulting in a checksum mismatch error when attempting to install/upgrade libreoffice on 32-bit machines.  After manually verifying the checksums on the 32-bit and 64-bit installers of LibreOffice 5.4.4, it appears that only the 32-bit installer checksum is incorrect.  The 64-bit checksum is correct, so this issue would only affect those on 32-bit systems.  This doesn't appear to affect any other prior versions of the libreoffice package, other than 5.4.4.
Checksums:
LibreOffice_5.4.4_Win_x86.msi (doesn't match)
Package checksum:
19051e438245160bb27e004a6c2dd63cdda1254900c1fe7f7025de2146dc27b7
Actual checksum:
7c56031fb5577edafd35153c0d284ecf2c0ec3773a72f3e2209271c44ba156a8
LibreOffice_5.4.4_Win_x64.msi (matches)
Package checksum:
0738dd24b5ba9a9dab079df34db7543d9d8b9a7a2989c0a4934debbaea8a5c8f
Actual checksum:
0738dd24b5ba9a9dab079df34db7543d9d8b9a7a2989c0a4934debbaea8a5c8f
Expected Behavior
Upgrades/installs for libreoffice 5.4.4 should succeed without failure because of checksum mismatches.
Current Behavior
Upgrades/installs for libreoffice 5.4.4 fail on 32-bit machines.
Possible Solution
Manually adjust the checksum for the 32-bit LibreOffice 5.4.4 installer to be correct or maybe re-run the automatic package so that it can get the correct checksum, since libreoffice looks to be an automatic package.. and, of course, re-push the updated package to chocolatey.
Steps to Reproduce (for bugs)

Install or update the libreoffice 5.4.4 package on a 32-bit machine.

Context
I was doing typical chocolatey upgrades on a 32-bit machine and encountered this invalid checksum error.
Your Environment

Package Version used:  libreoffice 5.4.4
Operating System and version:  Windows 10 Pro 32-bit (Version: 1709, OS Build: 16299.125)
Chocolatey version:  0.10.8

completely forgot about closing this one.


RFC: Make String.add return String iso^

This RFC aims to change the signature of the String.add method to return String iso^, instead of String val.
https://github.com/ponylang/rfcs/blob/main/text/0069-string-add-iso.md

@ergl were you planning on implementing this and if yes, do you think it would be soon?
If yes, I'll hold the 0.41.0 release so that it also includes this breaking change.

@SeanTAllen Yes, I can do it later today.


Workaround for boot failure on kernel-ml 5.14.x

After kernel-ml-5.14.0-1, CentOS7 AMI does not boot up, looks like some failure happens on dracut but not able to fix at least for now.
As a workaround fix, pin down kernel version to 5.13.13-1 until boot
failure fixed.
Fixes #196

Testing: https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/ami/732/ - OK

the same issue is happening on 4.3 so backporting this PR to 4.3

I see that Takuya reverted it. Checking other PR that fixes it

This is the backported patch for branch-4.3, does AMI sill failing after the change? https://github.com/scylladb/scylla-machine-image/pull/207


[Plugin] Paginator not work when check save cache

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
Paginator not work when check save cache.
Expected behavior
Paginator not work when save cache

Minimal reproduction of the problem with instructions
For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem via
https://stackblitz.com or similar (you can use this template as a starting point: https://stackblitz.com/github/NetanelBasal/akita-issue-seed).
What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

Browser:
- [x ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

Can you reproduce it on stackblitz, please?

Can you reproduce it on stackblitz, please?

sure. My link: https://stackblitz.com/github/uranussolutions/minhdu-hr?file=src%2Fapp%2Fpages%2Femployee%2Fcontainers%2Femployee%2Femployee.component.ts
Thanks

Error: ENOENT: No such file or directory., '/dev/null'


Document protocol differences between Bitcoin and Namecoin.

Quite a few libraries have been written for Bitcoin, which rely on arbitrary constant parameters to make it easier for developers to port tools and projects over Namecoin's parameters ought to be documented.
Since this is essentially another implementation of Namecoin, I think it ought to document those constants. I will collect what I learn in the comments below.

I'm closing this now.  Discussion should continue somewhere else.


[Azure Search] Carve out a swagger spec for exclusive use by Track 1 .NET SDK

https://github.com/Azure/azure-sdk-for-net/tree/master/sdk will only point to the track 1 swagger specs
track 1 swagger has changes from https://github.com/Azure/azure-rest-api-specs/pull/7371 reverted in order to prime for a SDK deployment that’ll do rebranding changes

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

@sarangan12 Some background on this PR: We need to continue maintaining our .NET track 1 SDK while our Track 2 Java SDK is in development. We will need to change the 2019-05-06 Swagger for Track 2 in ways that would break codegen for the .NET track 1 SDK. We discussed this change with the Azure Architecture Review Board already.

NOTE: Model validation failures are known