modin.pandas.read_parquet() files from HDFS working unexpectedly as compared to pandas.read_parquet()

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Modin version (modin.__version__): 0.7.2
Python version: 3.6.6

Describe the problem

Source code / logs

import modin.pandas as pd1
^[[Aos.environ['JAVA_HOME'] = '/usr/jdk64/jdk1.8.0_112/jre'
KeyboardInterrupt
os.environ["MODIN_ENGINE"] = "dask"
Traceback (most recent call last):
File "", line 1, in
NameError: name 'os' is not defined
import os
os.environ["MODIN_ENGINE"] = "dask"
import modin.pandas as pd1
import pandas as pd
import numpy as np
import pyarrow
i>>> import os
s>>> os.environ['ARROW_LIBHDFS_DIR'] = '/usr/hdp/<IP_ADDRESS>-315/usr/lib'
os.environ['JAVA_HOME'] = '/usr/jdk64/jdk1.8.0_112/jre'
df = pd.read_parquet('hdfs://ip:port/abc.parquet’)
2020-03-17 00:35:29,552 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
df1 = pd1.read_parquet('hdfs://ip:port/abc.parquet')
Traceback (most recent call last):
File "", line 1, in
File "/home/username/.local/lib/python3.6/site-packages/modin/pandas/io.py", line 27, in read_parquet
path=path, columns=columns, engine=engine, **kwargs
File "/home/username/.local/lib/python3.6/site-packages/modin/data_management/factories.py", line 44, in read_parquet
return cls._determine_engine()._read_parquet(**kwargs)
File "/home/username/.local/lib/python3.6/site-packages/modin/data_management/factories.py", line 48, in _read_parquet
return cls.io_cls.read_parquet(**kwargs)
File "/home/username/.local/lib/python3.6/site-packages/modin/engines/ray/generic/io.py", line 128, in read_parquet
pf = ParquetFile(path)
File "/home/username/.local/lib/python3.6/site-packages/ray/pyarrow_files/pyarrow/parquet.py", line 132, in init
self.reader.open(source, use_memory_map=memory_map, metadata=metadata)
File "pyarrow/_parquet.pyx", line 1002, in pyarrow._parquet.ParquetReader.open
File "pyarrow/io.pxi", line 1323, in pyarrow.lib.get_reader
File "pyarrow/io.pxi", line 1312, in pyarrow.lib._get_native_file
File "pyarrow/io.pxi", line 780, in pyarrow.lib.memory_map
File "pyarrow/io.pxi", line 743, in pyarrow.lib.MemoryMappedFile._open
File "pyarrow/error.pxi", line 78, in pyarrow.lib.check_status
pyarrow.lib.ArrowIOError: Failed to open local file 'hdfs://ip:port/abc.parquet’, error: No such file or directory

Hi @Nishant23 thanks for reporting!
We haven't implemented the HDFS support yet for parquet. The error is from Arrow because we have passed it a path that contains the address of the hdfs but it cannot handle that case.
Looking at this, it will be straightforward to implement and will be implemented this release. Looking through the other filetypes, it appears that we have HDFS support for those, but I will test this to be sure.

Hello,
I have been working on ray for 1 month. I can read txt file from local using Modin  but I want to read a parquet file on Hdfs.
Can you help me about how can i read a parquet file on hdfs with modin or ray  ?

Hi @kocmurat93!
We haven't implemented the HDFS support yet for modin.pandas.read_parquet. I am just working with this problem. We will notify you when it's done. Thank you!

Might be related to https://github.com/modin-project/modin/issues/1765 and https://github.com/modin-project/modin/issues/2099


Implementationn of optional Solve for Suggested Change in Issue #1532

This adds the optional keyword raise_on_close to the Constructor of the serve class allowing this parameter to propogate to the ServerConnection object, where it allows the following to raise an exception over the iteration:
async for message in server_connection:
    # handle Message

This enables the handeling of Connection Closure inside the Connection handeling function and can save the rescources of a handler continuing to run asynchronously without any Connection still being open. Especially for large scale Project this paramter could save a lot of rescources in RAM and of the CPU as the handlers could be easily freed from these resources upon the connection closing. This could be done in the following fashion:
try:
    while True:
        async for message in server_connection:
            # handle Message
except websockets.exception.ConnectionClosed:
    server_connection.close()
    return # return from handler

This could simplify the handeling process all just by adding the feature: serve([handler_function],[host],[port],[*args],[**kwargs],raise_on_close=True) where [] are just placeholders here.
In this manner the async iteration would now behave similar to recv and send, if this behaviour is wanted, which gives a flexible usage for the async iteration and doesn't break systems designed for earlier versions. It does however break backwards compatibility because of the additional keyword parameter. In the future this might be resolved by adding a keyword garbage at the end in the Constructor to allow future non-breaking changes more easily.

If this request is denied, I would possibly purpose adding a new method or property that returns an asnychronus iterator with this behaviour. This would still support backwards compatibility and would allow for the proposed handleing optimization.
If you want me to implement this instead, I already have an idea. Please do reach out in that case, as I would really look forward to contribute 😊

I would really look forward to contribute 😊

Look, you didn't make an effort to understand why things are the way they are and you steamroll a change that's clearly a bad idea, why paying nowhere near the level of attention expected from contributors to this project: the first word in your commit message has a typo!
Please find another project to contribute to. Thank you.

Thanks for your feedback, even though your criticism was clearly not constructive in the end.
I do get your point now and see why it was, in fact, a bad addition.
I have never contributed before and tried to find somewhere to start.
The exaggeration of my grammatical errors in the titles isn't nice, though.
But thanks for taking the time to review it. I'll try to improve.

Thanks for your feedback, even though your criticism was clearly not constructive at the end.
I do get your point now and see why it was, in fact, a bad addition.
I have never contributed before and tried to find somewhere to start.
The exaggeration of my grammatical errors in the titles isn't nice, though.
But thanks for taking the time to review it. I'll try to improve.
If you do answer again, I'd really appreciate it if you could give me some tips on a good way to get started with contributing to open-source projects.
Thanks again.


Search by ResourceId

Hello,
can anyone exmplain how to search FUT for exact player? After reading discussions here i was sure that i must find ResourceId for player and use it in PlayerSearchParameters like this:
                var searchParameters = new PlayerSearchParameters
                {
                    Page = 1,
                    Level = Level.Gold,
                    ChemistryStyle = ChemistryStyle.All,
                    ResourceId = -2147295496  // Ramires ?
                };

But i recive many different players with many different resourceId. Can anyone help me and exmplain how to search for concrete player? Or maybe i have wrong ResourceId?

Hello,
I do it like this:
                            var searchParameters = new PlayerSearchParameters
                            {
                                Page = 1,
                                ResourceId = ResID
                            };

Thanks! I will check it today :)

The resource id's ea are displaying are false, or at least not what they were before.
Take the resource id you get from them an add<PHONE_NUMBER>) to it.
That should bring it to the real resource id, then use that in your search. should work no problem.

Or just work with the AssetID instead of ResourceID

definition id is better

Which definition id?

Do you know how they are calculating the negative Resource ID?
Take Messi for example:
His Asset ID is 158023.
The Resource ID returned from EA is -2147325625.
Adding<PHONE_NUMBER> to this is<PHONE_NUMBER> but when using this to search using either maskedDefId or definitionId then nothing is returned.

I still don't understand why you don't use the AssetID for the Searches

What if you're wanting to Ronaldo's IF or Hero cards?

You cannot search after hero cards / IFs -. There is even no possibility to search after these in the Web App

Nope, you can. Check again. Under quality i think

Nope you cannot :) You can search after for instance Ronaldo and then filter all cards with Rarity IF/IF2/... - But you cannot search especially for IF cards - They have not his own Asset ID

Same difference though? :p

They do not have their own asset ID but they have their own resource ID and definition ID and you can use the latter to search for their specific card :)

OK - Can someone give m an explanation of: AssetID, ResourceID (I thought it's always -2..... this year and not used by EA anymore) and DefinitionID?

Asset ID is the base ID so regardless of how many IFs a player gets this will always be the same.
Resource ID is the ID of each specific IF card.
Definition ID is a value calculated based on Asset ID and card version that can be used to return only that specific Resource.
Not sure how EA are calculating Resource IDs this year though. Anyone know?

Thanks - Where I can find the definition ID in the JSON answer? I know Asset ID (like player ID), Trade ID (identifies the actual trade) and the ID in ItemData which keeps the same when you buy a player, send the player from watchlist to tradepile, relist the player, etc.

by the way ResourceID is just -2147483648 + AssetID - Am I wrong?

Someone discovered how to perform the search by id?
The resourceId is a big negative number and can´t be used in url... BaseId and AssetId is returning diferent players...
In the toolkit the search url is
if (ResourceId > 0)
  uriString += "&maskedDefId=" + ResourceId.CalculateBaseId(); // previously was "&definitionId="


Is there watermarking functionality ?

glide is really a good image manipulation library .. just wanted to know if it can be used to watermark images.

Yes, it's on the radar. See #63. (Closing this issue to reduce duplicates.)


python312Packages.nodriver: init at 0.34

Description of changes
Add python package for nodriver. homepage: https://github.com/ultrafunkamsterdam/nodriver
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 326242 run on x86_64-linux 1

4 packages built:

python311Packages.nodriver
python311Packages.nodriver.dist
python312Packages.nodriver
python312Packages.nodriver.dist

Builds, and also works. Just tested it with the more complex example from their README, and there were no issues.
So as soon as this has the changes suggested by @Aleksanaa, this has my approval.

Hey @natsukium @Aleksanaa @ToasterUwU thanks for looking at this package. I will make the requested changes later today !

 Let me know if you have any more thoughts.

@liam-murphy14 I think you should rerequest reviews now that you fixed the things they wanted changed, that way they will see it and also approve

Result of nixpkgs-review pr 326242 run on x86_64-linux 1

4 packages built:

python311Packages.nodriver
python311Packages.nodriver.dist
python312Packages.nodriver
python312Packages.nodriver.dist

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4276

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 326242 run on x86_64-linux 1

4 packages built:

python311Packages.nodriver
python311Packages.nodriver.dist
python312Packages.nodriver
python312Packages.nodriver.dist

Result of nixpkgs-review pr 326242 run on x86_64-linux 1

4 packages built:

python311Packages.nodriver
python311Packages.nodriver.dist
python312Packages.nodriver
python312Packages.nodriver.dist

@natsukium @Aleksanaa Sorry for the ping, if you dont have time atm, just ignore the rest of the message.
I just want to send a little reminder that the changes you requested have been implemented and that we are waiting for your reviews. Both of you seem to have merge permissions, so it would be very nice if we could get this merged any time soon now that all issues are resolved.
Sorry for the explicit reminder and ping, im just not sure you saw the review requests.

@ofborg build python312Packages.nodriver


WebSharper.Html.Server.Web.Control is lost

Hello, today I upgraded to WebSharper 3.5 and, after installing this Nuget, I have some controls using WebSharper.Html.Server.Web.Control because I could do Server-side Web Controls and now it disappeared. Can you put it back, please?

Can you paste the code that broke?  Be sure to add a reference to the WebSharper.Html NuGet as well, as the old HTML language has been split off into that package.

open WebSharper
open WebSharper.Html.Server
type HelloWorldControl() =
inherit Web.Control()
override this.Element =
    Div [Text "Hello world!"]

This is indeed an oversight, I am adding it now.

This is now on NuGet.  Let us know if something is still out of place.


How to run ?as for python  version is 3.6

How to run ?as for python  version is 3.6

The code is written in Python 2.7. There might be issues to direct use it on python 3. I've put this info into our readme. Thank you!

When I install pytorch on windows with python 2.7, I find pytorch website show that "PyTorch does not support Python 2.7 on Windows. Please install with Python 3."
Can I run deepwordbug with python3 by change all the print "something" to all the print("something")？Anything else need to change？

You can try to migrate the code to python 3 using some guide, for example, "http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html". In addition to print, xrange and integer division are quite different and might cause problems.

ok,3Q

It's just a warning so you can ignore it for now. For the cuda, you need to install cuda from nvidia to use GPU for deep learning.


chore: Add data guideline for participants

Yesterday after eScience team meeting, it was brought up that we currently do not have any guidelines for participants that wants to bring their own data. This involves how much data can they bring and play with locally or in codespaces.

Dupe of #51


Check for null in LootingLevelEvent

Unfortunately, due to interactions with global loot modifiers, the damage source can be null in LootingLevelEvent. This fix avoids a potential null pointer exception by checking to make sure that the damage source is indeed not null.

Hey good catch! Appreciate your help! 😊


No duplication of information between README and files

Commit: https://github.com/spinalcordtoolbox/template_AMU7T/commit/28dbe1974f5cd066440697edbaff57002182c5ac
the README shows this:

Which is taken from https://github.com/spinalcordtoolbox/template_AMU7T/blob/main/atlas/info_label.txt
problem: if one day https://github.com/spinalcordtoolbox/template_AMU7T/blob/main/atlas/info_label.txt changes, we will have to also change the README, and by experience I know that it will lead to human errors.
I'd rather remove any possible duplication (eg: you could display the content of a file, instead of duplicating out-of-sync its content)
@joshuacwnewton can you please help

I'd rather remove any possible duplication (eg: you could display the content of a file, instead of duplicating out-of-sync its content)

"Include directives" (i.e. displaying the contents of one file in another) occur mainly with the RST file format used by Sphinx documentation. (This is what we use on the pam50.rst page, where we directly include the contents of the PAM50 info_label.txt files.)
However, sadly this "include" behavior has been disabled on GitHub this behavior due to security reasons:

https://github.com/github/markup/issues/172
https://github.com/github/markup/issues/346

So I'm not sure if there's much we can do to avoid de-duplication besides not including a list at all (and directly linking to info_label.txt instead.

Right, that's what I feared. Well, let's keep the out-of-sync list then, and make sure it is always up-to-date


feature: 托管插件进程 (closed #190)

Codecov Report

Merging #278 (636173a) into V2.2.X_issue#103_agent_optimize (ce19a38) will increase coverage by 0.18%.
The diff coverage is 92.96%.

@@                         Coverage Diff                         @@
##           V2.2.X_issue#103_agent_optimize     #278      +/-   ##
===================================================================
+ Coverage                            61.08%   61.27%   +0.18%
===================================================================
  Files                                  236      237       +1
  Lines                                19670    19797     +127
===================================================================
+ Hits                                 12016    12131     +115
- Misses                                7654     7666      +12

Impacted Files
Coverage Δ

apps/node_man/constants.py
99.58% <ø> (ø)

apps/utils/concurrent.py
27.27% <0.00%> (-1.30%)
:arrow_down:

...ents/collections/agent_new/delegate_plugin_proc.py
94.16% <94.16%> (ø)

...end/components/collections/agent_new/components.py
100.00% <100.00%> (ø)

apps/utils/basic.py
64.47% <0.00%> (-2.64%)
:arrow_down:

...nents/collections/agent_new/choose_access_point.py
95.94% <0.00%> (-0.68%)
: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 ce19a38...636173a. Read the comment docs.


Documentation

Add MkDocs

Preview: https://orchardcorecommerce.readthedocs.io/en/ag-docs/
Let me know what you think of it and which kind of doc structure we could adopt.
Ex:

Getting Started.
1 Readme per feature / library.

Then, I will be able to create a sub domain like commerce.orchardcore.net pointing to the docs site.

Thanks, the preview looks nice. Should we also have a workflow for updating this after every merge to main? (does OC have an existing workflow we can steal? :slightly_smiling_face:)
I agree with "1 Readme per feature / library.", incidentally I have already added stub readmes for the two existing libraries in #151 , e.g. here. For Getting Started is fine in the main readme, but later we can turn it into a separate page as you suggest.


Issues in persisting messages in MQTT Broker using Node Red MQTT Nodes

Hi,
I have an use case which requires persisting the MQTT messages in Broker whenever a subscriber goes offline. When the subscriber reconnects all the messages published when it was offline should be delivered.
To achieve this I am using the Node Red MQTT Out and In nodes for publish subscribe. My Node Red Version is 0.17.5 . I am using Mosquitto Broker Version 1.4.9.
For persisting messages,
At the subscriber side:
I have provided valid entries for Topic , Qos(1) ,Server, Port ,Keep Alive(60s),Client Id. Following entries are kept unchecked
1.Use Clean Session 2. Enable secure SSL/TLS Connection.
The option 'Use Legacy MQTT 3.1' support is kept checked.

At the Publisher side:
Similar settings are replicated. Client Id is automatically set to the client id of subscriber .Retain option is not chosen.
I triggered timestamp values at publisher side by keeping subscriber connected to broker in a separate flow .The subscriber was able to receive messages. Then I disabled the flow with subscriber. Did a redeploy. Triggered the time stamp messages again from publisher side. Reenabled the flow with subscriber and redeployed. The subscriber was not able to retrieve the messages published when it was disabled.
I was able to reproduce persistence using Mosquitto Pub and Sub clients with the following command line options but I am not able to achieve the same using Node Red. I could achieve the message retrieval/subscription in Node Red only when the subscriber is online at the time of publishing.
mosquitto_sub -h <IP_ADDRESS> --disable-clean-session -t demoone -q 1 -i demooneclient
mosquitto_pub -h <IP_ADDRESS> -t demoone -m "Hello" -q 1.
Is there any other option to achieve this use case using node red?
Thanks
Surya

Hi, we've already discussed this in the forum here: https://discourse.nodered.org/t/issues-in-persisting-messages-in-mqtt-broker-using-nodered-mqtt-nodes/4666
As I said there, I have identified an issue with our handling of non clean session nodes which is fixed for the 0.20 release.
If you still have questions, please continue in the forum thread.


groups: inline formatting fixes, code contrast in editor

see: #1408, and part of #1444
I've taken a somewhat aggressive method of exiting out of bold/italic/etc that some people may find personally a little annoying, but IMO it's less annoying than the alternative (continuing to keep stuff immediately after the written text formatted)

@patosullivan Mind pulling this down and giving it a go? I can't until later this morning.

@patosullivan sorry, that was my fault – I meant to mention #1408, i've done nothing to fix #1391. Currently playing with codeblock formatting.

I'm still seeing the first problem described here: "When I add a link to some text in Groups or Talk, everything I type afterwards is part of the hyperlink. The whole message afterwards is clickable, and if I delete the whole message with backspaces and type a new message, that message is hyperlinked."

@patosullivan
https://user-images.githubusercontent.com/40729534/207949367-7cb12416-7461-43a5-9fe9-7f6e4e059214.mov
can you explain? links seem to properly escape for me


⚠ Bofrost.de has degraded performance

In 491990d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1418 ms

Resolved: Bofrost.de performance has improved in a12e2c7 after 6 minutes.


Calculation of CORSIKA sphere ('R') parameter

CORSIKA requires the radius of the sphere for the simulation of Cherenkov photons, see graph below.
This is part of the Cherenkov Telescope Dimension option (R parameter)
TELESCOPE X Y Z R
Implement dynamical calculation of R parameter from size of the primary dish.

I close this issue, as we have  only 4 telescope types and it is maybe better to do this by hand (given the experience we have, this might be safer).


Repair twoPassesTwoSides transparency.

This regressed when we added support for dynamic backface culling
(#1641). Also note another fix we made: #1877.

This fixes #1935.


View pre-populated list of operations for industrial operators

Description:
As an IO, I want to see a pre-populated list of my operator's operations (organization's facilities) so that I can minimize manual work needed
Acceptance Criteria:
Given
When
Then
Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Covered in #26


device injection fails when /var/run/cdi exists but /etc/cdi does not

Observed with crio 1.24.2. Without /etc/cdi and one file under /var/run/cdi:
unresolvable CDI devices example-driver.cdi.k8s.io/test=claim-....
...
212894 newfstatat(AT_FDCWD, "/etc/cdi", 0xc000d2cfa8, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)

With an empty /etc/cdi:
219742 newfstatat(AT_FDCWD, "/etc/cdi", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
219742 openat(AT_FDCWD, "/etc/cdi", O_RDONLY|O_CLOEXEC) = 16
219742 newfstatat(AT_FDCWD, "/var/run/cdi", {st_mode=S_IFDIR|0777, st_size=60, ...}, AT_SYMLINK_NOFOLLOW) = 0
219742 openat(AT_FDCWD, "/var/run/cdi", O_RDONLY|O_CLOEXEC) = 16
219742 newfstatat(AT_FDCWD, "/var/run/cdi/example-driver.cdi.k8s.io-77eac8b8-d949-4004-834d-9da70c7533fa.json", {st_mode=S_IFREG|0644, st_size=151, ...}, AT_SYMLINK_NOFOLLOW) = 0
219742 openat(AT_FDCWD, "/var/run/cdi/example-driver.cdi.k8s.io-77eac8b8-d949-4004-834d-9da70c7533fa.json", O_RDONLY|O_CLOEXEC) = 16

I can reproduce this. And contrary to what I said/implied earlier in another thread, I think it's a real bug and not a feature.


Val named apply in raw js type causes application

Consider this:
trait A extends js.Object {
  val apply: Int = js.native
}

reading apply on a value like this will actually result in an application:
Scala:
val a: A = // ...
a.apply

JavaScript:
var a = // ...
a()

This is definitely not reasonable. We should select the property named apply or force the user to use @JSName("apply"). Further, @JSExport should mirror this behavior (it currently exports these as property, see #1647).
I am slightly in favor of forcing @JSName, to avoid accidental misunderstanding. (And properties named apply are not so common in JS).

Sounds reasonable.


Make GLTF not depend on CSG or GridMap

In the current master, you can't have the GLTF module enabled while CSG or GridMap are disabed. This PR fixes that.

Were you able to test the various combinations in a matrix?

Were you able to test the various combinations in a matrix?

@fire Ok, I tested everything. Here is the build matrix as requested. It's exactly what I expected it would be.

no CSG, no GridMap
CSG, no GridMap
no CSG, Gridmap
CSG and GridMap

master no GLTF
compiles & runs
compiles & runs
compiles & runs
compiles & runs

master with GLTF
linking fails
linking fails
linking fails
compiles & runs

This PR no GLTF
compiles & runs
compiles & runs
compiles & runs
compiles & runs

This PR with GLTF
compiles & runs
compiles & runs
compiles & runs
compiles & runs

@fire Ok, I tested everything. Here is the build matrix as requested. It's exactly what I expected it would be.

no CSG, no GridMap
CSG, no GridMap
no CSG, Gridmap
CSG and GridMap

master no GLTF
compiles & runs
compiles & runs
compiles & runs
compiles & runs

master with GLTF
linking fails
linking fails
linking fails
compiles & runs

This PR no GLTF
compiles & runs
compiles & runs
compiles & runs
compiles & runs

This PR with GLTF
compiles & runs
compiles & runs
compiles & runs
compiles & runs

Thanks!

Thanks!


Rework vscode-specific command client code

[x] Test with VSCode on Mac
[ ] Test with VSCode on Windows
[x] Test with VSCode on Linux

Branch works fine for me on Linux.

Thanks! I think we can safely skip windows as basically all the changes are gated by Linux or mac context

I have been using this change on windows with no issues.


the unit tests appear to be faulty.

Challenge Truncate a string has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; rv:11.0) like Gecko.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function truncateString(str, num) {
  // Clear out that junk in your trunk
  if (num <= 3){
     if (str.length > num

here is a screen shot

I spoofed it to work by adding an extra condition at the end.

@boruchwoolstone there isn't anything wrong with the tests. Please reread the instructions.

Truncate a string (first argument) if it is longer than the given maximum string length (second argument)

"A-tisket a-tasket A green and yellow basket".length is not longer than "A-tisket a-tasket A green and yellow basket". Thus this string should not be truncated.
In the future, if you get stuck with a challenge, please first ask questions to the Help Room. Happy coding!

If you look at the screen shot. In the second and third test the second parameter is not correct.

On 1 Jul 2016, at 16:42, Eric Leung<EMAIL_ADDRESS>wrote:
@boruchwoolstone there isn't anything wrong with the tests. Please reread the instructions.
Truncate a string (first argument) if it is longer than the given maximum string length (second argument)
"A-tisket a-tasket A green and yellow basket".length is not longer than "A-tisket a-tasket A green and yellow basket". Thus this string should not be truncated.
In the future, if you get stuck with a challenge, please first ask questions to the Help Room. Happy coding!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@boruchwoolstone can you elaborate on what you mean by the second parameter being incorrect? How is the parameter incorrect and what do you think it should be? And in which screenshot? Thanks!

While, I can understand your assertion that the instructions are correct, as are the tests, I think the issue is one of clarity.  Separating out the information into shorter, less complex sentences might help comprehension and avoid bugs being reported incorrectly.
"The function should accept a string(first argument) and a number(second argument) representing the length of the string that should be returned.  If number is less than the length of str, the function should truncate the string.  If number is greater than or equal to the length of string, return the original string unmodified."


Missing of include/config/auto.conf

Makefile:594: include/config/auto.conf: No such file or directory
/risk-linux/include/config/auto.conf is missing, is it necessary?
Thanks!

I don't know. Maybe if you can give me more details on what you did and a log I'll be able to tell more.

I figure it out, it's configuration of riscv based linux kernel. This file used to exits but now it's missing. It turns out that I can manually configure that. I appreciate your time and thank you for helping me.


Fix: Fixing some no-unused-vars warnings from eslint

- Summary
I've fixed some no-unused-vars warnings from eslint.
- Description for the changelog
Delete unnecessary variables.

Thanks for the PR @polemius  👏


Make 'virtual' compatible with 'Cards Effect'

Clear and concise description of the problem
At the moment, if you apply the cards effect AND the virtual property, then the cards-effect CSS gets messed up. Would be nice to have a very large/dynamic pack of cards. Thanks.
Suggested solution
Might be an easy CSS clash/fix. Dunno.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[ ] I'm willing to open a PR

World be good to see how it doesn't work with the example

Here's an example.
If you comment-out "virtual" and "Virtual", and keep the number of cards small (<100), then it works great. If you increase the cards to e.g. 1000, then animation slows down. If you add in "virtual" and "Virtual", then performance returns, but there is a CSS flicker as you drag and let go. (Also, you get an occasional glitch whereby the whole pack shifts, but that is rare, and I dont know what triggers that.

@MagnusBrzenk
hi, magnusbrzenk
I have also encountered this problem. Have you currently resolved it? Or are there any other solutions?


[BUG] importing a CRD fails

Describe the bug
When trying to import the virtualservice CRD from Istio the import fails midway
To Reproduce
npm run import https://gist.githubusercontent.com/julienperignon/bc2ca51e90408a8e3d5cf632900f5267/raw/b0fa0cc5bfef428b0c6bb3894adf25f8be686ac9/virtualservice.yaml
Expected behavior
CLI should not fail
imports/virtualservice.ts should be complete
Additional context
tsc -v
Version 3.9.2

cdk8s --version
0.21.0

package.json

{
  "name": "kubernetes",
  "version": "1.0.0",
  "main": "main.js",
  "types": "main.ts",
  "license": "Apache-2.0",
  "private": true,
  "scripts": {
    "import": "cdk8s import",
    "synth": "cdk8s synth",
    "compile": "tsc",
    "watch": "tsc -w",
    "test": "echo ok",
    "build": "npm run compile && npm run test && npm run synth",
    "upgrade": "npm i cdk8s@latest cdk8s-cli@latest",
    "upgrade:next": "npm i cdk8s@next cdk8s-cli@next"
  },
  "dependencies": {
    "cdk8s": "^0.21.0",
    "constructs": "^2.0.1",
    "dotenv": "^8.2.0"
  },
  "devDependencies": {
    "@types/node": "^14.0.1",
    "cdk8s-cli": "^0.21.0",
    "typescript": "^3.9.2"
  }
}

Error :
(node:12792) UnhandledPromiseRejectionWarning: Error: unexpected union type undefined
    at C:\Source\kubernetes\node_modules\cdk8s-cli\lib\import\type-generator.js:141:27
    at TypeGenerator.generate (C:\Source\kubernetes\node_modules\cdk8s-cli\lib\import\type-generator.js:123:13)
    at CustomResourceDefinition.generateTypeScript (C:\Source\kubernetes\node_modules\cdk8s-cli\lib\import\crd.js:48:15)
    at C:\Source\kubernetes\node_modules\cdk8s-cli\lib\import\crd.js:84:100
    at Array.map (<anonymous>)
    at ImportCustomResourceDefinition.generateTypeScript (C:\Source\kubernetes\node_modules\cdk8s-cli\lib\import\crd.js:84:85)
    at ImportCustomResourceDefinition.import (C:\Source\kubernetes\node_modules\cdk8s-cli\lib\import\base.js:26:24)
    at async Object.importDispatch (C:\Source\kubernetes\node_modules\cdk8s-cli\lib\import\dispatch.js:11:9)
    at async Object.handler (C:\Source\kubernetes\node_modules\cdk8s-cli\bin\cmds\import.js:27:9)
(node:12792) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:12792) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I've also encountered this with the istio manifest, located here: https://raw.githubusercontent.com/istio/istio/1.5.4/manifests/base/files/crd-all.gen.yaml
I believe it's related to how the union code expects to handle these objects assuming they're all going to be types, not other sub objects.
Here's an example of the spec that causes a validation failure:
http:               description: An ordered list of route rules for HTTP traffic.               items:                 properties:                   fault:                     description: Fault injection policy to apply on HTTP traffic at                       the client side.                     properties:                       delay:                         oneOf:                         - anyOf:                             - required:                               - fixedDelay                             - required:                               - exponentialDelay                         - required:                           - fixedDelay                         - required:                           - exponentialDelay                         properties:                           exponentialDelay:                             type: string                           fixedDelay:                             description: Add a fixed delay before forwarding the request.                             type: string                           percent:                             description: Percentage of requests on which the delay                               will be injected (0-100).                             format: int32                             type: integer                           percentage:                             description: Percentage of requests on which the delay                               will be injected.                             properties:                               value:                                 format: double                                 type: number                             type: object                         type: object                     type: object                 type: object               type: array


Issue when multiple attachments have same filename

Love the app! Just one problem: it looks like if a ticket has multiple attachments with the same filename, it will only include one of the attachments in the download, even if the files themselves are different. Any way this can be fixed?

Hi, thanks for raising an issue, sorry for the delayed response. I will take a look at this one.

Fixed by using first 8 characters of the token that Zendesk creates for each attachment. These are pretty likely to be unique and don't require me to reinvent the wheel. Only downside is they're pretty ugly.

Note that it takes a couple of weeks to update the app in the App Store.

Thanks, Chuck! Love this app!

This has been approved and published by Zendesk. The new application version is 1.0.1. Cheers!

Also note that I found existing code to add numbers in parentheses for deduplication (like how Windows does it), which I find to be more readable than using the Zendesk token.


Laravel 5.3 / 5.4

Hi,
Is there any version with Laravel 5.3 or 5.4? Thanks

The dirst versions were on laravel 5.4, but the current one is only at 5.5
But 5.5 and 5.4 are so similar that maybe you can just change the dependency in composer.json and maybe it works without any other change

Oh I see. Okay, I'll do change the Composer. Thanks for reply!


feat: add global log_level support for fluentd

What this PR does / why we need it:
allow customers to configure global log_level setting for fluentd
related fluentd doc for reference: https://docs.fluentd.org/deployment/logging
Which issue(s) this PR fixes:

Fixes #761
Does this PR introduced a user-facing change?

add global log_level support for fluentd

Additional documentation, usage docs, etc.:

Great! Thanks @ksdpmx


Fix: build routing condition for geo domain

Another simpler fix would be
--- a/app/router/router.go
+++ b/app/router/router.go
@@ -239,7 +239,7 @@ func init() {
                                }
                                rule.SourcePortList = portList.Build()
                        }
-                       rule.Domain = v.Domain
+                       rule.Domain = append(rule.Domain, v.Domain...)
                        if v.Networks != "" {
                                rule.Networks = net.ParseNetworks(v.Networks)
                        }

which makes routing condition a union of both "geoDomain" and "domain", which might not be desired. Hence this fixes.

Codecov Report

Merging #1772 (c885da6) into master (0685f8c) will decrease coverage by 0.20%.
The diff coverage is 11.11%.

@@            Coverage Diff             @@
##           master    #1772      +/-   ##
==========================================
- Coverage   38.89%   38.69%   -0.21%
==========================================
  Files         616      608       -8
  Lines       36215    36085     -130
==========================================
- Hits        14087    13964     -123
+ Misses      20561    20558       -3
+ Partials     1567     1563       -4

Impacted Files
Coverage Δ

app/router/router.go
27.39% <0.00%> (ø)

app/router/config.go
39.02% <12.50%> (-1.85%)
:arrow_down:

app/proxyman/outbound/errors.generated.go
0.00% <0.00%> (-100.00%)
:arrow_down:

transport/internet/udp/dispatcher_split.go
63.55% <0.00%> (-12.15%)
:arrow_down:

common/task/task.go
88.88% <0.00%> (-7.41%)
:arrow_down:

common/buf/reader.go
82.35% <0.00%> (-5.89%)
:arrow_down:

testing/servers/tcp/tcp.go
81.81% <0.00%> (-5.46%)
:arrow_down:

testing/scenarios/common.go
75.00% <0.00%> (-4.29%)
:arrow_down:

app/proxyman/outbound/handler.go
36.61% <0.00%> (-4.23%)
:arrow_down:

transport/internet/udp/hub.go
73.61% <0.00%> (-4.17%)
:arrow_down:

... and 20 more

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 0685f8c...c885da6. Read the comment docs.


Fix for cordova-ios 4

https://github.com/apache/cordova-ios/blob/master/guides/API changes in 4.0.md#upgrade-notes

:+1:


MDC 32

Updates

[x] Chip now emits a custom even from the trailing icon
[x] Chips: mdc-chip-set--choice, mdc-chip-set--filter
[ ] top-app-bar component added (added in commits but no docs?)
[x] mdc-text-field__label -> mdc-floating-label. This should just be made into a reusable FloatingLabel component

Chores

[x] Slider, implement via foundation class
[x] Chips, implement via foundation class
[x] IconToggle: Finish implementation via foundation class
[x] Ripple, implement a HOC via the foundation class

Here's a link to the Top App Bar README
On that page there's a link to the demo page where you can see it in action.

Thanks for that @maccuaa. I'm going to punt on that for now because it definitely doesn't seem fully baked yet. I've found that if I get too far out ahead of things, they change on me :).

Deployed version 1.4.0


Automated cherry pick of #5934: Add a link to CHANGELOG-1.15 (#5934)

Cherry pick of #5934 on release-1.15.
#5934: Add a link to CHANGELOG-1.15 (#5934)
For details on the cherry pick process, see the cherry pick requests page.

/skip-all


Add blog feeds feature

Add the way to store linksTo edges to perspectives, similar to children edges. This is the work of issue 38 on the server. Once the links are there, we will be able to filter queries based on them.
Then modify the frontend application with the help of Pepo. The idea is that, when a blog is added to the blog section, it is updated to include a linkTo edge that links to the "concept of blog" perspective (that needs to be created as part of the application elements preapration).
Once this is done, add an endpoint on the backend to explore all elements that linksTo the  "concept of blog" perspective and return them as the blog feed. This is issue 37 on the serve

@milieuChris I will create a branch of linked thoughts repo where I prepare the frontend work

Note: This is the “lighthouse” node for the blog concept mentioned in Discord.


shuffle slides day 2..

re-shuffled slides a bit...:

53-exercise-starthere-part4.md: sharing the ARC
54-datahub-datasharing.md: some additional notes on ARC sharing, datahub terminolgy, etc.
55-exercise_fairproject_arc.md: create their own ARCs
60-data-publications.md: generics about publishing
65-exercise-starthere-part5.md: how to do it with dataplant

@Mestizia


Feature/compound integration

Please, add a description about the changes, and the unit tests passing.

Good job! I just left a comment about the ropsten conf.


Bundler ignores local gem, even though declared in config

I'm working on a ruby gem which depends on another gem that I develop simultaneously on my machine. So I used bundle config --local local.czmq-ffi-gen $HOME/src/ruby/czmq-ffi-gen a few days ago and it worked perfectly.
Unfortunately, it stopped working and I can't figure out why. No matter what I do, whether I set the config locally (in the depending git repository) or user-wide in ~/.bundle/config, it won't use the gem from sources anymore. It keeps using the one installed.
czmq-ffi-gen is the gem which I'd like to use by source. It's loaded from the wrong place:
➜  cztop git:(master) ✗ bundle show czmq-ffi-gen
/Users/paddor/.gem/ruby/2.2.3/gems/czmq-ffi-gen-0.2.1

Even though config is set:
➜  cztop git:(master) ✗ cat .bundle/config
---
BUNDLE_LOCAL__CZMQ-FFI-GEN: "/Users/paddor/src/ruby/czmq-ffi-gen"

And is correct:
➜  cztop git:(master) ✗ la /Users/paddor/src/ruby/czmq-ffi-gen
total 96
drwxr-xr-x+ 16 paddor  staff   544B Dec 15 01:43 .git/
-rw-r--r--+  1 paddor  staff   101B Dec  8 00:37 .gitignore
-rw-r--r--+  1 paddor  staff    88B Dec  7 04:46 .gitmodules
-rw-r--r--+  1 paddor  staff    31B Dec  7 04:54 .rspec
-rw-r--r--+  1 paddor  staff   229B Dec  9 04:41 .travis.yml
-rw-r--r--+  1 paddor  staff    33B Dec  9 05:12 AUTHORS
-rw-r--r--+  1 paddor  staff   433B Dec 12 16:48 CHANGES.md
-rw-r--r--+  1 paddor  staff    38B Dec  7 03:19 Gemfile
-rw-r--r--+  1 paddor  staff   705B Dec 12 22:45 Gemfile.lock
-rw-r--r--+  1 paddor  staff   733B Dec  7 03:17 LICENSE
-rw-r--r--+  1 paddor  staff   3.2K Dec  9 05:01 README.md
-rw-r--r--+  1 paddor  staff   117B Dec  7 03:18 Rakefile
drwxr-xr-x+  4 paddor  staff   136B Dec  7 18:52 bin/
drwxr-xr-x+  4 paddor  staff   136B Dec  9 06:16 ci-scripts/
-rw-r--r--+  1 paddor  staff   1.4K Dec  9 05:12 czmq-ffi-gen.gemspec
drwxr-xr-x+  4 paddor  staff   136B Dec 15 01:20 lib/
drwxr-xr-x+  6 paddor  staff   204B Dec 12 16:49 pkg/
drwxr-xr-x+  4 paddor  staff   136B Dec 10 01:35 spec/
drwxr-xr-x+  3 paddor  staff   102B Dec  7 04:46 vendor/
drwxr-xr-x+  3 paddor  staff   102B Dec 15 01:09 zdir-test-dir/
➜  cztop git:(master) ✗

Any ideas? Thanks.

Hey @indirect, nice talk at RubyConf this year. I watched the video. :-)
Any ideas about my issue? It happens with other (non-mine) gems too. Thanks for the help.

It works now. I had to move the requirement from the Gemspec into Gemfile and also specify the git: option. Now it's completely rendudant.
What's the point of this override feature, if it won't override a setting, unless the setting itself basically says what the override says?
It'd be really nice if it'd work as expected, meaning: Just use the local gem from the override path if the override says so. Or at least warn why the override isn't used.

The got override only works when the gem is already being included via a git source in the Gemfile.

May I ask why? That condition makes this feature essentially useless.
My usecase is this: Let's say gem A depends on gem B. The Gemfile of A says gemspec, and A.gemspec says gem.add_runtime_dependency("B"). When I'm working on gem A, I sometimes also work on gem B. I expect this feature to assist me in this case, so I can make gem A use the local gem B, without changing the Gemfile (because the Gemfile is check into version control, and other developers might not want to use it off a Git repository or have their local Git repository at another location).
Also, as recommended here, I do not want to specify my gem's runtime dependencies in the Gemfile at all.
Can bundler not assist with this usecase?

It has to work that way because otherwise there's no way for bundler to record the commit sha you're using in the lockfile.

Why not? It can take the current commit SHA from the Git repository located at the path set by bundler config local.B /path/to/repo.

But it can only do that if the gem is already declared to come from a git source.

Why? Sorry, but that's not a real reason. It knows the gem B is needed by gem A, because A.gemspec says so. No matter if it's declared to come from a git source. The name of B counts. After all, one specifies B's name is the key in bundle config local.B /path/to/repo, and not that it's declared to come from a git source or it's original git source.

Asked differently, what am I supposed to do? Is there maybe a more elegant way for my usecase?
Merry Christmas. :-)

@paddor saying "that's not a real reason" to someone who just went out of their way to help you for free is not cool. That kind of treatment more or less completely removes any motivation to help you. If you have questions, don't understand, or something seems wrong to you, say "I have a question" or "I don't understand" or "that's weird, you said X but I am observing Y when I do Z".
To answer your question as specifically as possible: the entire point of the git locals feature is to ease local development while preserving Bundler's fundamental guarantee: you will get the same code in production that you got in development. The only way to do this is to use git gems and save the commit sha in the lockfile.
If you want to simply work with a local copy of a gem, edit your Gemfile to change the line gem "foo" to `gem "foo", path: "/path/to/checkout/of/foo". This removes all the guarantees that Bundler provides, and so we do not recommend it.

@indirect Sorry if that seemed harsh. "I still do not understand" is what I actually meant.
Thanks for the explanation. It would all make sense if I was developing an application. But as far as I know, there's no need to make that fundamental guarantee when you're developing a gem. For the same reason it's also not recommended to include a gem's Gemfile.lock into version control, right? (as advised here)
Sorry for dragging this out, but I really hoped there was a nicer solution than changing my Gemfile and keeping it "dirty" (and never accidentally commit it along with other changes).


installation: testing support for PyPy

Are all our dependencies PyPy friendly already?  If not, we'd be introducing N new unnecessary CI jobs in the testing matrix, which is kind of going against the spirit of https://github.com/inveniosoftware/invenio/issues/3647.
Note that that PyPy testing seems to take 2x more time on Travis when compared to CPython: https://travis-ci.org/inveniosoftware/invenio-config/builds/144410515

Note that that PyPy testing seems to take 2x more time on Travis when compared to CPython

The pip cache was not initialized.

Are all our dependencies PyPy friendly already?

I'm trying to find out by starting with base packages.

Can you repush with allow_failures for Travis CI?


Warp gives "The specified key does not exist." error

Environment info
NooBaa Version: master-20210809
Platform: OCP 4.7.13
Actual behavior

Got The specified key does not exist while running warp

Expected behavior

No error should be shown

Steps to reproduce

Start two parallel instances of warp with same user and on same bucket
[root@fyreauto-x-app1 ~]# warp mixed --objects=300 --bucket=buck-1 --insecure --debug --tls --host=s3-noobaa.apps.ns.cp.fyr e.ibm.com --access-key=9RpKEfPS5AxuoNVgZ7Og --secret-key=t7a3yO5eAE+JOTiM3hjqUFCHT3Hmxrn7L9A8A3kY --duration=1800s  --obj.s ize=120M
warp:  Command takes no arguments[root@fyreauto-x-app1 ~]# warp mixed --objects=300 --bucket=buck-2 --insecure --debu.ibm.com --access-key=EFiul4DdX7sWyOAszBNL --secret-key=++htUePTDRoqVF7gl1FMZRmSnrNQtNs+pHnwOdU+ --duration=1800s  --obj.size=120M
warp:  upload error: The specified key does not exist.
warp: Benchmark data written to "warp-mixed-2021-08-11[044432]-fLpK.csv.zst"
Mixed operations.
Operation: DELETE, 10%, Concurrency: 20, Duration: 29m55s.

Throughput: 0.25 obj/s

Operation: GET, 45%, Concurrency: 20, Duration: 30m0s.

Throughput: 130.11 MiB/s, 1.14 obj/s

Operation: PUT, 15%, Concurrency: 20, Duration: 30m15s.
Errors: 1

Throughput: 43.21 MiB/s, 0.38 obj/s

Operation: STAT, 30%, Concurrency: 20, Duration: 29m59s.

Throughput: 0.76 obj/s

[root@fyreauto-x-app1 ~]# warp mixed --objects=200 --bucket=buck-2 --insecure --debug --tls --host=s3-noobaa.apps.ns.cp.fyre.ibm.com --access-key=EFiul4DdX7sWyOAszBNL --secret-key=++htUePTDRoqVF7gl1FMZRmSnrNQtNs+pHnwOdU+ --duration=900s  --obj.size=120M
warp: Benchmark data written to "warp-mixed-2021-08-11[043950]-kveQ.csv.zst"
Mixed operations.
Operation: DELETE, 10%, Concurrency: 20, Duration: 12m30s.

Throughput: 0.15 obj/s

Operation: GET, 45%, Concurrency: 20, Duration: 12m31s.

Throughput: 82.57 MiB/s, 0.72 obj/s

Operation: PUT, 13%, Concurrency: 20, Duration: 12m29s.

Throughput: 27.43 MiB/s, 0.24 obj/s

Operation: STAT, 30%, Concurrency: 20, Duration: 12m30s.

Throughput: 0.48 obj/s

Cluster Total: 108.74 MiB/s, 1.59 obj/s over 12m31s.
warp: Cleanup Done.[root@fyreauto-x-app1 ~]#
More information - Screenshots / Logs / Other output
single.tar.gz

Hi @nehasharma5 , please correspond to relevant error in endpoint log for this - "warp: upload error: The specified key does not exist."
As part of the defect raise, we must provide our analysis so as to categorize them together and in priority.

@jeniawhite I tried this with 18 Aug build and endpoint log shows
32mAug-19 8:54:29.251[35m [Endpoint/14] [31m[ERROR][39m core.endpoint.s3.s3_rest:: S3 ERROR NoSuchKeyThe specified key does not exist./hello-100/9HG78XG1/4.hCm%29jvCnhj2JBbVM.rndksiotkqh-ciyo2r-56t PUT /hello-100/9HG78XG1/4.hCm%29jvCnhj2JBbVM.rnd {"user-agent":"MinIO (linux; amd64) minio-go/v7.0.11 warp/0.3.43","content-length":"1000","authorization":"AWS4-HMAC-SHA256 Credential=QP5JgCwWuJNasiwCXVty/20210819/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=665f39101b10609b1378763a1a73529398eecefb0717bed9a2c4d8bd8ec4bb2d","content-type":"application/octet-stream","x-amz-content-sha256":"UNSIGNED-PAYLOAD","x-amz-date":"20210819T085429Z","host":"s3-noobaa.apps.ns.cp.fyre.ibm.com","x-forwarded-host":"s3-noobaa.apps.ns.cp.fyre.ibm.com","x-forwarded-port":"443","x-forwarded-proto":"https","forwarded":"for=<IP_ADDRESS>;host=s3-noobaa.apps.ns.cp.fyre.ibm.com;proto=https","x-forwarded-for":"<IP_ADDRESS>"} Error: No such file or directory
[32mAug-19 8:54:29.879[35m [Endpoint/14] [31m[ERROR][39m core.endpoint.s3.s3_rest:: S3 ERROR NoSuchKeyThe specified key does not exist./hello-100/9HG78XG1/6.rZbek1n8bQiTdKnE.rndksiotl7g-63l76e-coh PUT /hello-100/9HG78XG1/6.rZbek1n8bQiTdKnE.rnd {"user-agent":"MinIO (linux; amd64) minio-go/v7.0.11 warp/0.3.43","content-length":"1000","authorization":"AWS4-HMAC-SHA256 Credential=QP5JgCwWuJNasiwCXVty/20210819/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=ed55762dc6841bfb290fb52f00722623ada75e049374aee79fc6ec34bb09e8ee","content-type":"application/octet-stream","x-amz-content-sha256":"UNSIGNED-PAYLOAD","x-amz-date":"20210819T085429Z","host":"s3-noobaa.apps.ns.cp.fyre.ibm.com","x-forwarded-host":"s3-noobaa.apps.ns.cp.fyre.ibm.com","x-forwarded-port":"443","x-forwarded-proto":"https","forwarded":"for=<IP_ADDRESS>;host=s3-noobaa.apps.ns.cp.fyre.ibm.com;proto=https","x-forwarded-for":"<IP_ADDRESS>"} Error: No such file or directory
[32mAug-19 8:54:54.541[35m [Endpoint/14] [36m  [LOG][39m CONSOLE:: update_endpoint_stats. namespace_stats = [ { io_stats: { read_count: [33m1279[39m, write_count: [33m459[39m, read_bytes: [33m21458059264[39m, write_bytes: [33m459000[39m, error_write_bytes: [33m0[39m, error_write_count: [33m0[39m, error_read_bytes: [33m0[39m, error_read_count: [33m0[39m }, namespace_resource_id: [32m'611e0163297b99002e5b5581'[39m } ]

Hi @jeniawhite , It is strange that I am not getting this error in my environment but Neha is easily able to reproduce it on her setup. This is coming with every recent build on her setup.
Could this be due to a DB error and @jackyalbo can help too.

@nimrod-becker , please close this defect as I don't have permission to do so.

Closing per last comments


[1.3] Update qs, minimatch and yaml versions

Description

Reverts #60 as it's not compatible with node version 10.24.1

error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">= 14". Got "10.24.1"

Update qs version for CVE-2022-24999
Update minimatch version for CVE-2022-3517

Issues Resolved

CVE-2022-24999
CVE-2022-3517

Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

CI failing with
gyp ERR! node -v v10.24.1
gyp ERR! node-gyp -v v7.0.0
gyp ERR! not ok

Codecov Report

:exclamation: No coverage uploaded for pull request base (1.3@8856e45). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@          Coverage Diff           @@
##             1.3      #65   +/-   ##
======================================
  Coverage       ?   62.91%
======================================
  Files          ?       10
  Lines          ?      658
  Branches       ?      119
======================================
  Hits           ?      414
  Misses         ?      191
  Partials       ?       53

Flag
Coverage Δ

dashboards-query-workbench
62.91% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


New Hub: American University of Paris

Hub Description
The American university of Paris is a liberals arts university in France. A key aspect of the liberal arts approach is the broadening of the students knowledge to more disciplines. The data science program in the American University of Paris is doing exactly that and will allow students to add a new dimension to their studies. The hub is the main tool for achieving that, allowing students from all level a direct access to data science.
Community Representative(s)
Tomer Libal<EMAIL_ADDRESS>@shaolintl
Sam Walker<EMAIL_ADDRESS>@swalker
Important dates

2021-09-20 : We will have a training using the hub during this week
2021-05-15 - 2021-08-31 : We will pause using the hub for the summer

Target start date
2021-09-13
Preferred Cloud Provider
No preference (default)
Do you have your own billing account?

[ ] Yes, I have my own billing account.

Hub Authentication Type
GitHub Authentication (e.g., @mygithubhandle)
Hub logo
No response
Hub logo URL
No response
Hub image service
No response
Hub image
No response
Extra features you'd like to enable

[ ] Dedicated Scalable Dask Cluster with Dask Gateway

Other relevant information
No response

Thanks @shaolintl for this request! Let us get to work on it. It sounds like you don't have strong preferences for the specific cloud provider (though, in the long term I think you had preferred Azure? Is that right?)
@2i2c-org/tech-team I think that we have two options here:

We finish up https://github.com/2i2c-org/pilot-hubs/issues/512 and deploy this hub in Azure on top of a new cluster there (perhaps we create a 2i2c pilot hubs cluster similar to our GCP one?)
We deploy this hub in our Google Cloud cluster, and then may have to migrate it to Azure in the future.

I think the answer there largely depends on how quickly @yuvipanda thinks the Azure hub deployment situation can be finished up. Given that we are still working out some kinks there, my intuition is that we should go with option 2 and deploy in GCP for now. If nobody objects then I'll plan on taking that action this week and deploy the hub there, but if somebody really wants to try deploying this on Azure, I'm happy to hold off!

@choldgraf Let's go with option (2) for now, and consider moving it to Azure in a month or two?

Sounds good - I'll try deploying this hub on GCP this sprint (it is good to know that this won't prevent us from using AzureAD necessarily).


Fix Operator Test CRDS

What would you like to be added:
For 0.6.0 release we are leaving https://github.com/kudobuilder/operators/blob/master/kudo-test.yaml#L6 set to 0.5.0 CRD.   There is no difference between 0.5.0 and 0.6.0 CRDs.
We need to replace: apply -f https://raw.githubusercontent.com/kudobuilder/kudo/v0.5.0/docs/deployment/10-crds.yaml with kudo init
There are 2 issues with it:
[ ] we need KUDO init --crd-only (gen CRDs only)
[ ] Current kubectl: in kudo-test.yaml appends --namespace to command.   We need to either support it.. or remove it from this kubectl exec... or gen crd-only to file and apply that.
Why is this needed:

kubectl apply -f foo.yaml --namespace testing works... but namespace is ignored.
Do we support --namespace as a kudo global flag and only apply it when it applies (like what kubectl does?)

Closed, done.


add support uuid

close #110

Codecov Report

Merging #111 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
+ Coverage   86.63%   86.66%   +0.03%
==========================================
  Files           5        5
  Lines         763      765       +2
==========================================
+ Hits          661      663       +2
+ Misses         62       61       -1
- Partials       40       41       +1

Impacted Files
Coverage Δ

property.go
81.25% <100%> (+1.25%)
:arrow_up:

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 337b594...a43d558. Read the comment docs.


Could you upgrade Asyncssh in netdev

I have this problem
netdev with          asyncssh<2.0,>=1.15
and scrapli with   asyncssh<3.0.0,>=2.2.1
Could you upgrade netdev with new version Asyncssh and make compatibility

AsyncSSH 1.18 is also throwing security alerts from pyup.
Reproduce on windows:
python -m venv .venv\
.venv\Scripts\activate.bat
pip install -U pip
pip install -U wheel
pip install netdev
pip install safety
safety check
+==============================================================================+
|                                                                              |
|                               /$$$$$$            /$$                         |
|                              /$$__  $$          | $$                         |
|           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$           |
|          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$           |
|         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$           |
|          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$           |
|          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$           |
|         |_______/  \_______/|__/     \_______/   \___/   \____  $$           |
|                                                          /$$  | $$           |
|                                                         |  $$$$$$/           |
|  by pyup.io                                              \______/            |
|                                                                              |
+==============================================================================+
| REPORT                                                                       |
| checked 20 packages, using free DB (updated once a month)                    |
+============================+===========+==========================+==========+
| package                    | installed | affected                 | ID       |
+============================+===========+==========================+==========+
| asyncssh                   | 1.18.0    | <2.5.0                   | 39350    |
+==============================================================================+```


chore: point canarist to branch "v11.x" of Hops

Closing because we want to go release-branch here, too.


--dest option is only available with clinic doctor

Expected Behavior
--dest is a great and useful option. Unfortunaly this option is only available for Doctor
Current Behavior
--dest option is ignored for Flame and Bubbleprof

clinic doctor --dest tmp/ -- node start.js => output files are in the tmp folder
clinic flame--dest tmp/ -- node start.js => output files are NOT in the tmp folder
clinic bubbleprof --dest tmp/ -- node start.js => output files are NOT in the tmp folder

Environment

Clinic version: 1.3.0
Node version: 8.11.1
Operating system and version: Windows 10 64-bit

Thank you! Very nice tool!

Thanks for reporting! We are definitely adding it to all the other tool, all that work is already planned!

@pamls - Try the latest version. This feature has been added to the other tools.


Is possible writing my own frontend?

I need BrainFuck to go.
Is possible to showing me how writing my own lexer, parser and making AST for runing go?

For grumpy, lexer, parser and ast done by python built-in ast module.
code generation is done by block.py, expr_visitor.py, stmt.py, util.py on this folder.
https://github.com/google/grumpy/tree/master/compiler


Add spring cloud sample service bus messaging

Add spring-cloud-sample-messaging-servicebus module. This module is used to demo how to use @AzureMessageListener annotation with Azure Service Bus to subscribe messages.

The ci kept failing because of azure-messaging-servicebus, which is not caused by this PR, so I am going to override the error and merge this PR.

/check-enforcer override


add npm publish to azure pipeline

Would be awesome if you configure npm publish to azure pipelines as described here:
https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/javascript?view=vsts&tabs=yaml#publish-a-module-to-a-npm-registry
https://docs.microsoft.com/en-us/azure/devops/artifacts/get-started-npm?view=vsts&tabs=new-nav%2Cwindows#step-6-publish-an-npm-package
That way if there is any increment to pagkage.json version field and tests are green it wll automatically published to npm.

I will try and look at this in the next few days. I would like to see add creating github releases as well, I don’t know how they deal with changelogs.

Added an npm release pipeline. Due to https://github.com/Microsoft/azure-pipelines-tasks/issues/5380 it will fail every time the version is not updated.
https://dev.azure.com/oneeyedelf1/wasm-imagemagick/_releaseProgress?_a=release-pipeline-progress&releaseId=44 is an example of a release that was auto scheduled and worked (it had a slight different workflow then below).
Since the build cannot go over 30 minutes or it gets shot. I did the following, let me know if it is safe to ignore scripts in the publish step.

npm install
npm test
npm publish --ignore-scripts


ERROR TypeError: The option "scale" has to be a number greater than zero.

I keep getting this error. I don't see "scale" as an option anywhere. Whats causing this?

I keep getting these issues. They feature some random error messages without any context, code, MWE or anything that would make it possible for me to figure out what's causing it.


WaveSurfer-WP — A WordPress Integration for WaveSurfer

Thanks to the new HTML initialization, I manage to make wavesurfer.js avaible for WordPress.
It hooks the regular audio shortcode for being activated on already online articles. It also allows to have an audio player within the visual editor.
Waveforms colors are customizable within the WaveSurfer Settings page.
I also integrated split channels attribute.
Demo here.
More infos and release soon!
@katspaugh
I hope you will like it :)

Very cool, thank youl! Please keep us posted, I'll update the project wiki with a link to your plugin.

The plugin is now downloadable on the WordPress official plugin repo !
WordPress › WaveSurfer-WP « WordPress Plugins
:+1:

V2.0.0 has WebAudio initialization !
Maybe it deserve a place on the project wiki list now ? :)

Sorry, I totally forgot. Added. Thanks!


Unable to install community operator through Helm

Hey,
I have been unable to install the mongodb operator through Helm, when I run:
helm install mongodb-operator mongodb-helm-charts/community-operator --version 0.7.2 --namespace staging

I get:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Certificate" in version "cert-manager.io/v1", unable to recognize "": no matches for kind "Issuer" in version "cert-manager.io/v1"]

Any help is much appreciated!
Thanks,

Do you have cert-manager installed on the cluster?

Hey @priyolahiri, thanks for your reply! No I don't have cert manager installed on the cluster. I will try and skip it :).

Great that fixes it, thank you!


Revert "[Python] Separate out notebooks for tensorflow with tfx and built-in model handler"

Reverts apache/beam#26105

R: @damccorm


Status bar doesn't show up properly

I think Status Bar - Circular Progress is not working even when it is toggled and Status Bar - Now and Next is always on even when it is toggled off.
I use Minimal theme and keep my Day Planner Timeline on the right sidebar.

When Status Bar - Circular Progress and Status Bar - Now and Next are both toggled off.

When only Status Bar - Circular Progress is on.

When only Status Bar - Now and Next is on.

When both are toggled on.

Please update and re-check. Note that the settings for the status bar have been changed.


Updated examples to match documentation

Some of the examples were missing /api

I fixed this on dev-5.5, it will be merged to master branch with our release next week.
Thanks!


New lint rule: make sure all props have JSDoc-style comments.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Write some code that introduces a prop without a comment and run the linter.
Expected Result:
The linter should complain that the new prop does not have a JS-doc style comment.
Actual Result:
No lint error.
Workaround:
n/a
Platform:
n/a
View all open jobs on GitHub

Expanding on this a bit, here are some examples of code that should trigger the linter:
const propTypes = {
    myUndocumentedProp: PropTypes.number.isRequired,
};

const propTypes = {
    // This is not the correct type of comment to document props
    myIncorrectlyDocumentedProp: PropTypes.number.isRequired,

    /* This also is not right */
    myOtherProp: PropTypes.number.isRequired,
}l

And this code should pass:
const propTypes = {
    /** This is the correct JSDoc format for documenting props. */
    myCorrectlyDocumentedProp: PropTypes.number.isRequired,

    ...spreadPropThatDoesNotGetASeparateDocHere,
};

Eslint FunctionExpressions do not support JSDocs yet

Sorry @Justicea83, any chance you can expand on what you mean by your last comment?


有大佬可以提供一个hook第三方app的Demo吗?

有大佬可以提供一个hook第三方app的Demo吗? issue里边 fettdrac 提供的编译失败 ...

You need Riru. https://github.com/RikkaApps/Riru

what about this:
https://github.com/WindySha/Xpatch
or, this
https://github.com/WindySha/xposed-hook-based-on-whale
Hope this can help you.


Revert "Improve collision performance"

Reverts Minestom/Minestom#2321. While the PR did improve performance significantly, it did so by only checking collisions when an entity crossed a block border. This can result in entities intersecting blocks.

the pointAfter improvement is probably worth keeping. Thats still one less allocation

I'm surprised no tests caught that... Going to merge without the pointAfter improvement because working physics is critical.

Can you write a test case which fails on the improvement PR but works here?


Trim and blank lines from text read from manifest files to ensure XML can load successfully

While it is not valid XML, some manifest files can contain leading blank lines and still work.  I came across one of these and Dependencies crashed with a invalid XML exception with a manifest file for an exe in the same directory that had a leading blank line.  Fix is to ensure blank lines are removed.

merged, thanks


Shell integration: Setup mechanism for listening to shell integration sequences and light up capabilities

Parent issue https://github.com/microsoft/vscode/issues/133084
The shell integration script will emit sequences that we need to handle via an xterm.js sequence handler. We may want to only light up capabilities on the terminal process once we have verified that feature works?
We also need to handle partial capabilities: On Windows may not work 100% since for example it emits the sequences in the renderer, not in the actual order they happened (https://github.com/microsoft/terminal/issues/11220, https://github.com/microsoft/terminal/issues/8698). Should we wait for the sequence to come and if the positioning of the prompt looks off don't turn on a particular capability?

started on https://github.com/xtermjs/xterm.js/compare/master...meganrogge:shell-integration?expand=1

done here
https://github.com/microsoft/vscode/blob/9817557314f4aefe7a71a95e80b1b92aec81f37c/src/vs/workbench/contrib/terminal/browser/xterm/shellIntegrationAddon.ts#L86-L87
should this be closed?

This should be mostly done with https://github.com/microsoft/vscode/pull/140635


New templates Heat Pump installation

Addition of two new templates

Ductless Heat Pump Installation
Central Ducted Split Heat Pump Installation

File upload - Feature added

This includes changes for the following Issues

Improve RadioInput label #154
Input Hints #153
Uploadable PhotoInput #151
Back button styling #146
File Upload - New Feature #138

Fix for Issue: Append a pdf to a project report #155

Tested the changes in Andriod, iPad (iOS) and Mac.

Code change with react-pdf for rendering pdf within "printsection"

I tested the two templates by uploading all photos and verified they all worked in the report.

Following changes will be merged

Addition of two new templates

Ductless Heat Pump Installation
Central Ducted Split Heat Pump Installation

File upload - Feature added
PDF renderer for attaching PDF content to the report


Spark client installation fails with missing JAR

deploy-all.yml currently fails with:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [edge-01]: FAILED! => changed=false
  msg: |-
    Could not find or access 'files/hbase-spark-2.3.5-1.0.0-TDP-0.1.0-SNAPSHOT.jar'
    a...

We need to download this jar in the setup.

About this, should we also deploy-hbase before deploy-spark ?
Currently deploy-spark fails with:
TASK [tosit.tdp.client : Copy audience-annotations dependency] *******************************************************************************************************************************************************************************
fatal: [edge-01]: FAILED! => changed=false
  msg: Source /opt/tdp/hbase/lib/client-facing-thirdparty/audience-annotations-0.5.0.jar not found

Because HBase client has not been installed yet.

@leopaul36 the TOSIT-IO/hbase-connectors repo is private. The download ends up with 404 for unauthenticated users.


question

What went wrong:
Execution failed for task ':HomeLauncher:processAcddDebugResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\android_config\sdk2\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 2
替换aapt之后还是会报这个错误，是什么原因呢

gradle assembleDebug --info 看下 这个错误是aapt异常退出了，在资源有问题的情况下aapt会杀掉进程

那我该怎么查看有问题的资源，或者说怎么去解决这个问题呢？

打开log看下 或者直接运行gradle assembleDebug --info ，studio的话找到gradle 加上 --info

C:\Users\zhang>gradle assembleDebug --info
Starting Build
Settings evaluated using settings file 'C:\master\settings.gradle'.
Projects loaded. Root project using build file 'C:\Users\zhang\build.gradle'.
Included projects: [root project 'zhang']
Evaluating root project 'zhang' using build file 'C:\Users\zhang\build.gradle'.
All projects evaluated.
FAILURE: Build failed with an exception.

What went wrong:
Task 'assembleDebug' not found in root project 'zhang'.

Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --debug                                                                                option to get more log output.

BUILD FAILED
Total time: 1.857 secs

C:\master\settings.gradle? C:\Users\zhang\build.gradle你的目录好奇怪啊

me.开头的包名插件不能生成bundle-info

hello,have you solved the problem?i meet the same problem.

gradle android plugin 版本需要低于2.1

why we need the version below 2.1,i have another problem,the demo i write whose id is ox7f which seems not in ox20 to ox7e

@canney-chen  目前只有 com和 cn 别的没支持
@dashen19930328   资源id需要自己配置，不然就是0x7f


empty page on request with bracket symbol "("

how to reproduce: make request with bracket, for example

nice(

Workaround: escape the symbol

nice(

{"Error":"error parsing regexp: missing closing ): (?m)def create("}


unable to remove plugins options page

We are using the intervention('remove-menu-items'); to remove all the "danger-item" but there some Dev plugins pages we want to remove here an example :
Custom Post Type UI (https://en-ca.wordpress.org/plugins/custom-post-type-ui/) plugins create a options page with this URL:/wp-admin/admin.php?page=cptui_manage_post_types
We tried to target this page to hide it without success like so :
intervention('remove-menu-items', ['admin.php?page=cptui_manage_post_types', ], 'admin_client');
//OR
intervention('remove-menu-items', ['cptui_manage_post_types', ], 'admin_client');

Is there a way to manually remove a page from the admin or they need to be in the list of config?
Thank for your time

@voyou-sbeaulieu long overdue, but did you get this working?

Should work with upcoming version 2.0.0 (there is no config list, only an array of roles)


Purified water block rendering issue

Purified water block is not rendering correctly. it should use Translucent rendering like the water.
Not a texture problem for sure.
And would it possible to add white underwater fog like water?

This is not an in-game item, only available via creative mode, as a water bucket item is required for liquids. This is not an issue. Please don't report creative mode issues, as the mod doesn't even function in creative mode.


Avoid loading entity into 2nd level cache so that it isn't considered…

… stale by Hibernate which causes OptimisticLockException.
Fixes Issue
fixes #1616
Changes proposed
Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] All new and existing tests passed.

@johnaohara Did you notice this jakarta.persistence.OptimisticLockException in the issue ?

Code changes applied.

Please can we validate that the PR has fixed the root cause of the problem with a test?

@johnaohara certainly, I will look at substituting the manual test with a testcase.

@whitingjr is this still an issue in the current master branch?

this cannot be recreated using 0.13.0.


Running on x54 ubuntu pc

Is it possible to run this on x64 ubuntu pc?

Sure!
First ,you have to install ncnn on your x64 system. (See here how to install)
Next, install OpenCV if not already running.
At last download the project and alter the project directories to your situation in the code::blocks project file.

I've successfully run it on x64 pc thanks!
how many fps will i get if i run it on jetson xavier?

No idea, you have to try.


Bluetooth connection failure

I bought the latest (new) Create 3 iRobot last week.  Set it up (charged, update the firmware, etc.).  But the Bluetooth (blue) light does not come on.
Per instructions, I opened the front, and see that the "switch" is already turned to Bluetooth side.  I rebooted.  Still no blue light.  From my PC I do see that the "Bluetooth & devices" tab says "Bluetooth - Discoverable as "BOOK-somenumber".  But, when I click Add device, and pick  Bluetooth, it cannot find the device.
What is surprising is that the laptop says that it is discoverable, but it cannot connect to it.  What is not surprising, of course, is that the blue light on the iRobot does not come on, hence it cannot connect to it.
I have rummaged through all the iRobot setup instructions. I followed these pages to setup:  https://edu.irobot.com/create3-setup
Any ideas?

I have seen it happen once or twice that the adapter board can get dislodged during shipping. Can you try pulling it out (through the rear of the robot) and then pushing it back in to fully seat the edge connector (like putting in an NES cartridge)?

If this doesn't work, what other LEDs are illuminated on the adapter board?

I pulled the 2 inch wide assembly on right hand side that holds the Bluetooth (Bluetooth symbol, and USB symbol), and snapped it up into place as you said.  No change.  As far as which lights show, only the circle light shows.  Here are two images:

I can see from that picture that your adapter board is not fully seated. Could you pull it out again, and make sure you can see the contacts here?

I wonder if a protective plug might have accidentally been left in the connector which is stopping it from seating. When it is fully seated, that "DD" text on the top of the adapter should no longer be visible, like this:


New onnx integration with single pass over model

This PR streamline the ONNX conversion.
With this PR we remove the necessity of 2 IRs (only topology is supported) and we translate ONNX's LinkedNode into a topology object and export to onnx the full PyTorch model afterwards.
This will eventually enable the cross translation from pytorch to onnx models as well as from onnx to pytorch.

Codecov Report

Merging #192 into master will increase coverage by 1.51%.
The diff coverage is 94.37%.

@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
+ Coverage   92.20%   93.71%   +1.51%
==========================================
  Files          29       28       -1
  Lines        1629     1607      -22
  Branches      304      284      -20
==========================================
+ Hits         1502     1506       +4
+ Misses         85       58      -27
- Partials       42       43       +1

Flag
Coverage Δ

#unittests
93.71% <94.37%> (+1.51%)
:arrow_up:

Impacted Files
Coverage Δ

hummingbird/ml/supported.py
88.70% <ø> (-3.48%)
:arrow_down:

hummingbird/ml/_topology.py
90.56% <90.56%> (ø)

...ummingbird/ml/operator_converters/onnx_operator.py
90.90% <90.90%> (ø)

hummingbird/ml/_parse.py
89.79% <96.42%> (+8.40%)
:arrow_up:

hummingbird/ml/_container.py
96.15% <100.00%> (+10.73%)
:arrow_up:

hummingbird/ml/convert.py
88.37% <100.00%> (+4.87%)
:arrow_up:

hummingbird/ml/operator_converters/__init__.py
100.00% <100.00%> (ø)

hummingbird/ml/operator_converters/constants.py
100.00% <100.00%> (ø)

...ummingbird/ml/operator_converters/onnxml_linear.py
71.42% <100.00%> (ø)

...ngbird/ml/operator_converters/onnxml_normalizer.py
100.00% <100.00%> (ø)

... and 8 more

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 d6ec0cd...e26ad09. Read the comment docs.


Add spec to mmp.service.ts

closes #535
Requires #557

@sorenjohanson i merged the jest PR, can you resolve the conflict and update the pr ?


How to input data in excel for customAttributes ?

Hi,
Can you please help me on how to put data in excel so that it can parse it for customAttributes as dict?

@kumarmisra if you're willing to try out the release branch checkout 6d409615401c7fe1a41733c16eebcab17b068c6c and then the bulk entities tab supports a column header of [custom] attributeName and then it will add `attributeName as a key to the customAttributes object.

@wjohnson Initial test looks good, will test some more and update you !!

Closed with #170


Update FTP.md

ftpd.exe is no longer in iotstartuponboot.cmd so the directions need to be modified slightly

@paulmon,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 357: [Error] Error happened in build.entrypoint.ps1. Please build your target branch first and then reopen this pull request to do another round of verification. If the issue still happens, open a ticket in http://SiteHelp and include the following error message for our team to troubleshoot: The process cannot access the file 'tmp_pack_myxWac' because it is being used by another process.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


wm_w600 first version

Beijing Winner Microelectronics Co.,Ltd.（Winner Micro）is a professional IC design company, focusing on the development and sale of specific wireless communications chips and solutions in the Internet of Things field. The products are mainly used in smart home, intelligent home appliances, health care, video monitoring, industrial applications and other fields.
W600 is an embedded Wi-Fi SoC chip which is complying with IEEE802.11b/g/n international standard and which supports multi interface, multi protocol. It can be easily applied to smart appliances, smart home, health care, smart toy, wireless audio & video, industrial and other IoT fields. This SoC integrates Cortex-M3 CPU, Flash, RF Transceiver, CMOS PA, BaseBand. It applies multi interfaces such as SDIO, SPI, UART, GPIO, I?C, PWM, I?S, 7816. It applies multi encryption and decryption protocol such as PRNG(PseudorandomNumberGenerator)/SHA1/MD5/RC4/DES/3DES/AES/CRC.

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


Cadl, move known Page<> model to implementation.models

fix https://github.com/Azure/autorest.java/issues/1634

tried it at https://github.com/Azure/azure-sdk-for-java/pull/30721, so far "Build Analyze" does not complain.


postgres role doesnt exist

I have noticed in the new release, after the dispatch-build , when its asking to load sample data, I have give yes, there I could see this role error, does it effect anything

& in the older release while initializing db, I saw this error
dispatch-20220801- alembic.util.exc.CommandError: Can't locate revision identified by 'eb348d46afd0'

If the role postgres in the database doesn't exist, you'll need to manually create it to unblock yourself. We can add that step to the install.sh script in the future.

For me it happend because in the .env.example the default user if "dispatch", while dump is made on behalf of "postgres". I just replaced all mentions of "OWNER TO postgres" with "OWNER TO dispatch" in the downloaded dump: dispatch-sample-data.dump
the error was gone, do you think it could be a solution for the install.sh as well? to replace owner with the user mentioned in the config on the fly?


CMake Build Error

When attempting to build this project on my raspberry pi running debian bookworm i'm hitting this problem at the end of the build instructions:
`mqtt@mqtt:~/serial2mqtt $ cd build/
mqtt@mqtt:~/serial2mqtt/build $ cmake ..
CMake Error at CMakeLists.txt:12 (find_package):
By not providing "Findeclipse-paho-mqtt-c.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"eclipse-paho-mqtt-c", but CMake did not find one.
Could not find a package configuration file provided by
"eclipse-paho-mqtt-c" with any of the following names:
eclipse-paho-mqtt-cConfig.cmake
eclipse-paho-mqtt-c-config.cmake

Add the installation prefix of "eclipse-paho-mqtt-c" to CMAKE_PREFIX_PATH
or set "eclipse-paho-mqtt-c_DIR" to a directory containing one of the above
files.  If "eclipse-paho-mqtt-c" provides a separate development package or
SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/mqtt/serial2mqtt/build/CMakeFiles/CMakeOutput.log".
`

Same issue here.

I could progress a bit on that. Seems the paho lib must be built and installed:
christophe@serveur-u:~/serial2mqtt$ cd paho.mqtt.c/
christophe@serveur-u:~/serial2mqtt/paho.mqtt.c$ sudo cmake --build . --target install
christophe@serveur-u:~/serial2mqtt/paho.mqtt.c$ make

but this not sufficient, because there's a next error as the paho lib is not build static, therefore paho-mqtt3as-static is missing
That can be fixed by adding -DPAHO_WITH_SSL=true to the paho command:
cd paho.mqtt.c && cmake -DPAHO_BUILD_STATIC=true -DPAHO_WITH_SSL=true && make && cd ..

I found that potentially -DPAHO_WITH_MQTT_C=ON in both paho and serial2mqtt was about, however my tries weren't successful.
If you put the -DPAHO_BUILD_STATIC=true, the last error that is raised is:
CMake Error at CMakeLists.txt:14 (add_executable):
  Target "serial2mqtt" links to target
  "eclipse-paho-mqtt-c::paho-mqtt3as-static" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?

and indeed,
Consolidate compiler generated dependencies of target paho-mqtt3a-static
[ 30%] Building C object src/CMakeFiles/paho-mqtt3a-static.dir/MQTTAsync.c.o
[ 30%] Linking C static library libpaho-mqtt3a.a
[ 31%] Built target paho-mqtt3a-static

as only the non-SSL one is generated, but not the paho-mqtt3as-static
I don't know what to change in order to ask the paho build to install also the -DPAHO_BUILD_STATIC=true

I will correct myself.
eclipse-paho-mqtt-c::paho-mqtt3as-static in CMakeList.txt requires to use the SSL version, and therefore find_package(OpenSSL REQUIRED) must be added.
...
if(PAHO_BUILD_STATIC)
    set(_PAHO_MQTT_C_LIB_NAME ${_PAHO_MQTT_C_LIB_NAME}-static)
endif()
find_package(eclipse-paho-mqtt-c REQUIRED)
find_package(OpenSSL REQUIRED)
add_definitions(-DLINUX -std=c++11)
add_executable(serial2mqtt)
...

Then the correct way to build paho-mqtt-c with the expected flavor is
cd paho.mqtt.c && cmake -DPAHO_BUILD_STATIC=true -DPAHO_WITH_SSL=true && make && cd ..

I mae some additional tests such as installing the lib paho-mqtt-c, so I hope it does not have fixed some issues without me knowing exactly what changed.

Thanks a lot for your help.
Will you do a pull request ?

This is the first time I involve myself in such open source project. Although I know enough GIT to be able to clone/commit, I'm not yet familiar with pull-request.
So please give me time to learn.
In addition, I must verify that what I recommend is sufficient, by testing it live with my Arduino Mega.
I was looking for such a solution on google, and was surprised that there is not a lot people interrested in that use-case.

@vortex314 as I thought, the fix is not sufficient. I tested on a fresh computer, and there are many actions that can be done to fix the build.
Some are really shortcuts to pure Linux binary format.
However I think that you wanted to have something portable to other platforms. And that becomes a bit more tricky.
Let me investigate and come back to you.

@Gagns4395 thanks already for your effort !

@vortex314 please find my pull-request https://github.com/vortex314/serial2mqtt/pull/62

Hey its been a long time since i've had a chance to look at this project, my goal is to connect my meshtastic station g2 esp32 device to my raspberry pi mqtt server via usb/serial instead of wifi which is unreliable. I was able to progress further in the build but failed on the final 'make' step, see below:
mqtt@mqtt:~/serial2mqtt/build $ make
[  8%] Building CXX object CMakeFiles/serial2mqtt.dir/src/Serial2Mqtt.cpp.o
[ 16%] Building CXX object CMakeFiles/serial2mqtt.dir/src/LogFile.cpp.o
[ 25%] Building CXX object CMakeFiles/serial2mqtt.dir/src/Sys.cpp.o
[ 33%] Building CXX object CMakeFiles/serial2mqtt.dir/src/Timer.cpp.o
[ 41%] Building CXX object CMakeFiles/serial2mqtt.dir/src/main.cpp.o
[ 50%] Building CXX object CMakeFiles/serial2mqtt.dir/src/Config.cpp.o
[ 58%] Building CXX object CMakeFiles/serial2mqtt.dir/src/Bytes.cpp.o
[ 66%] Building CXX object CMakeFiles/serial2mqtt.dir/src/Log.cpp.o
/home/mqtt/serial2mqtt/src/Log.cpp: In member function ‘void Log::log(char, const char*, uint32_t, const char*, const char*, ...)’:
/home/mqtt/serial2mqtt/src/Log.cpp:157:24: error: ‘pthread_self’ was not declared in this scope; did you mean ‘pthread_t’?
  157 |     pthread_getname_np(pthread_self(), _application, sizeof(_application));
      |                        ^~~~~~~~~~~~
      |                        pthread_t
/home/mqtt/serial2mqtt/src/Log.cpp:157:5: error: ‘pthread_getname_np’ was not declared in this scope
  157 |     pthread_getname_np(pthread_self(), _application, sizeof(_application));
      |     ^~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/serial2mqtt.dir/build.make:174: CMakeFiles/serial2mqtt.dir/src/Log.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/serial2mqtt.dir/all] Error 2
make: *** [Makefile:91: all] Error 2


NUMBER isn't a known market outcome type

After running the following snippet:
from manifoldpy import api
markets = api.get_all_markets()

I get the following output:
...
Fetched 118000 markets.
Fetched 119000 markets.
Fetched 119325 markets.
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
File ~/micromamba/envs/cosmosis/lib/python3.12/site-packages/manifoldpy/api.py:279, in Market.from_json(json)
    278 try:
--> 279     cls = MARKET_TYPES_MAP[json["outcomeType"]]
    280 except KeyError:

KeyError: 'NUMBER'

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
Cell In[4], line 1
----> 1 markets = api.get_all_markets()

File ~/micromamba/envs/cosmosis/lib/python3.12/site-packages/manifoldpy/api.py:786, in get_all_markets(after, limit)
    776 def get_all_markets(after: int = 0, limit: int = sys.maxsize) -> List[Market]:
    777     """Get all markets.
    778     Unlike get_markets, this will get all available markets, without a limit
    779     on the number fetched.
   (...)
    784         limit: The maximum number of markets to retrieve.
    785     """
--> 786     return [Market.from_json(x) for x in _get_all_markets(after=after, limit=limit)]

File ~/micromamba/envs/cosmosis/lib/python3.12/site-packages/manifoldpy/api.py:282, in Market.from_json(json)
    280 except KeyError:
    281     market_id = json["id"]
--> 282     raise ValueError(
    283         f'{json["outcomeType"]} isn\'t a known market outcome type. Submit a bug report for market ID {market_id}.'
    284     )
    285 return weak_structure(json, cls)

ValueError: NUMBER isn't a known market outcome type. Submit a bug report for market ID u87n1nThvUHM0GckVlHV.

Okay, they've added a new market type. I'll have this fixed shortly.

@vluzko hi! have you fixed this?

Nope, gave up halfway because there's issues with multiple choice
historical probabilities to fix as well
On Sun, Jul 28, 2024, 4:53 PM Vadim Evard @.***> wrote:

@vluzko https://github.com/vluzko hi! have you fixed this?
—
Reply to this email directly, view it on GitHub
https://github.com/vluzko/manifoldpy/issues/159#issuecomment-2254640852,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABU2VS7JZXXGR4OQULL7E7DZOVK37AVCNFSM6AAAAABF63YB4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGY2DAOBVGI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Page footer cells

Find a way to remove 3 part division of page footer if user only uses the left cell.  This could accommodate several requests.

Can now put footnotes in footer.


Windows vent switch/window control

Since Cabin Overheat Protection requires Tilt/Intrusion Alarm to be off and Sentry Mode requires Intrusion Alarm to be on, we can't have both Overheat Protection and Sentry Mode.
I think it would be nice to have a Switch or Window exposed to activate Vent when the car is at Home, and it's too hot outside.
I've tried to use HVAC controls for that, but it's less reliable. Also, turning HVAC off when the cabin cools down means that it will be off during the next ride.

I made a custom cover a while back using the custom tesla API call service. It's not working right now but was nice for a while.
cover:
  - platform: template
    covers:
      tesla_windows:
        device_class: window
        friendly_name: "Tesla Windows"
        open_cover:
          - service: tesla_custom.api
            data:
              command: WINDOW_CONTROL
              parameters:
                path_vars:
                  vehicle_id: 'my_id'
                command: vent
                lat: 0
                long: 0
                wake_if_asleep: true
        close_cover:
          - service: tesla_custom.api
            data:
              command: WINDOW_CONTROL
              parameters:
                path_vars:
                  vehicle_id: 'my_id'
                command: close
                lat: 0
                long: 0
                wake_if_asleep: true

How did you add this custom Tesla API to home assistant? As far as I know this integration does not support interaction with the windows.

Since Cabin Overheat Protection requires Tilt/Intrusion Alarm to be off and Sentry Mode requires Intrusion Alarm to be on, we can't have both Overheat Protection and Sentry Mode.

Is this actually true?  I have my car on Sentry mode at work all day and still have cabin overheat protection on (and it activates, and I have a Node Red automation set to vent the windows even before overheat protection kicks in if the weather is nice). Where do you find the info that both can't run simultaneously?

I have my car on Sentry mode at work all day and still have cabin overheat protection on

It might be a thing of European software flavor, not sure. Do you have Tilt/Intrusion Alarm on as well?