Hand retargeting - What are the results_global_#.npy files?

I'm trying to use your code for hand retargeting, and am attempting to use other hand pose estimation methods (E.g Frankmocap, etc.) to gather MANO hand poses that can be retargeted using your code.
The demo retargeting_human_hand file uses two different types of files as input for the retargeting: joints_#.npy and results_global_#.npy.
I understand that joints_*.npy are the 21 joint positions (x, y, z), but I am unsure what the significance is of the results_global_#.npy files. I see these contain 16 4x4 matrices per file, but I'm unsure how they are being used or how they were gathered.
I would appreciate any help you have to offer!
P.S. I am also unsure what the mano_#.npy files signify. They don't seem to be used for retargeting, but I would love to know in any case. They seem to consistently contain arrays of size 61.

Hi @ramialt ,
Thanks for the interest in our work. Sorry that I do not explain it clearly in the README file of this repo.
As you know, the joints_*.npy are the joint positions (x, y, z)
The results_global_#.npy are related to the pose parameters of MANO hand model. MANO has 45 pose parameters, which is actually 15 * 3 rotation represented in axis-angle (Li Algebra format). Also the wrist of the hand will often have a rotation in the camera space. Thus, there will be 15 + 1 = 16 rotations. We concert the rotation to 4x4 SE(3) transformation matrix and saved it into results_global_#.npy
One tricky thing to know is that FrankMocap use SMPL-X as the representation but DexMV use MANO. Although MANO and SMPL-X are very similar, they have some tiny different. Please be aware of that.
By the way, I am currently working on a lightweight and standalone python library for hand pose retargeting, it includes all the retargeting method used in DexMV and this paper. The code will be released soon as a standalone library, it should be much easier to use compared with the initial retargeting code in this repo.
Thanks!

Thank you for your detailed explanation and advice! That was very helpful.
A standalone library would be very convenient! When could we expect that to be released? And would it be possible to have some pre-release of that library for re-targeting to an adroit hand?
Thank you again for the great help.

Hi Yuzhe, I have been following this repository as well. It would be super helpful even if a pre-release version (possibly messy) can be provided for retargeting to the adroit hand given an input video.

Hi @priyankamandikal @ramialt ,
I am working on the documentation of this retargeting library now. The initial version should be released around the end of this month.

Hey @yzqin, was the retargeting library made public? I had been routinely checking but couldn't find any release. Thanks!

Hi yzqin,
Any update for the library?

Hi @JiaheXu and @priyankamandikal
We have some license issue for the model files used in the standalone library. But now you can find a better retargeting algorithm than the one used in DexMV here in another repo.

Hi @JiaheXu and @priyankamandikal ,
The retargeting repo can be found here.


Floating point types should not be used to store currency values

Floating point types can't store all values in the range x.nn. Using a float to store a bank account balance is an example of what not to do. See, for example:
http://wiki.c2.com/?FloatingPointCurrency
It's just an example here, but example code is often how programmers learn how to write production code.

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

ID: 565e1bd5-9e15-fc88-8ccc-05d09cbde209
Version Independent ID: 63b7ce5c-d2e7-d742-4fbd-b9729595a797
Content: Author events in C++/WinRT - UWP applications
Content Source: windows-apps-src/cpp-and-winrt-apis/author-events.md
Product: uwp
Technology: platform
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @davidmatson, and thanks for filing this issue. I've sent you an email, so let's work on this idea internally (perhaps you could submit a PR using the instructions I sent).
I'll go ahead and close this GitHub issue, since we don't need it to track.
Thanks again!
Steve


Feature/TCOMP-318 package rest service

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
web service was just the definitions package into on jar
What is the new behavior?
the web service is packaged with the runtime maven repository along with linux and windows start and stop scripts to launch the service.
Does this PR introduce a breaking change?

[ ] Yes
[X] No

I see 2 bugs with this packaging :

the log4j2.xml file is not used (hence you cannot set the logs up)
I have an error while creating a JDBC datastore (BAD_DATASTORE_CONNECTION:{messages=org.gjt.mm.mysql.Driver}) (maybe the driver class is not found ?)

ok thanks I'll check

Pull request test result: success :star:

I have create a jira for the jdbc issue. https://jira.talendforge.org/browse/TDI-37973

Pull request test result: failure :x:

Pull request test result: success :star:


restructure folder structure

Describe the bug
It is good to have a separate controller and service. Thus, need for folder restructure
To Reproduce

N/A

Expected behavior
Have a folder structure inside source such as
src
     config

     controllers

     middlewares

     models

     services

     utils

     routers

     scripts

Screenshots

N/A

Additional context

N/A

#76 & #80 solved this.


fix for ie11

On IE 11 the width for days isn't calculated correctly since margins are (not?) taken into account. Using a value instead of calculation for the dr-day width seems to fix this, and works in all browsers (tested on IE11, Edge, Firefox , Chrome)

Appreciate the PR but a fixed width dr-day won't work as the width needs to be more fluid. Will spend some time trying to find a solution for this though.


Support for purifycss

Purifycss removes unused css rules based on html pages. It reduces the size of css frameworks like bootstrap or semantic-ui significantly.
Would it be possible to use purifycss with next.js when using external css files?

+1 This is exactly what I'm looking for!

Might be possible with static exports. An pull request with example is welcome 😄


[SWARM-495] Upgrade to wildfly-swarm-camel-1.1.0

For now I've had to revert to the old 1.0.4 version as this change broke the -examples build in CI.
I wasn't able to figure out why yet, so dropped back to a version that works in short term


Update index.mdx

Fix a typo I found when reading the docs.

Thanks for taking the time to fix this! 💚

Thanks for taking the time to fix this! 💚


Bar chart grouping data columns with same name

I'm trying to make a simple horizontal graph with top 15 occurrences. The problem is that one named thing can occur multiple times in the data set and that seems to lead the Bar component to group all the values together in on bar.
From the data below, I would expect to see 4 bars. Instead I get 3 bars, where the first bar is grouped with values from the first and last object.
const barData = [
  { id: 1, name: "Thing 1", value: 842 },
  { id: 2, name: "Thing 2", value: 529 },
  { id: 3, name: "Thing 3", value: 477 },
  { id: 4, name: "Thing 1", value: 47 },
];

I tried to ad an id, but from reading the documentation, it seems a Bar object only accepts an array of objects with name and value fields?

Hi @havardl, thanks for your question!
Interesting, we never though of something like this. Yes, the bar chart doesn't use ids, we assumed all the names would be unique.
Could you expand a bit on your use case? Why is there a repeated name? How would your users differentiate between them?

Hi @Golodhros, thanks for the fast reply!
Basically, it's a weekly update on activity from unique members. But, a member could have more than one activity registered that week, and so I would like to show multiple activities for the same member - but with different values.
If I could assign a unique id to each object (like my data snippet) to separate each bar and then show the name field as normal, that would fulfill my need.

I see, makes sense.
However, I feel this use case is pretty specific, so I don't think we will support this feature in the short term.
I can think on different ways you could work around this:

Not sure if this would work, but you could try to add an empty space after the duplicated labels, AFAIK we don't trim the strings on the names
Another option would be to add prefixes, so maybe using a name like member: Thing 1
The last resort would be for you to fork britecharts and modify the bar chart so it uses ids as the main identification for the bars

I am sorry I cannot give you a better solution!

Agreed, I think I can find a way around the limitations. Thanks for the suggestions!

Happy to help!


Fix styling of the about page header

I kind of liked the underscore before, is there a reason you removed it?

It's not consistent with the other pages that have tabs.


Single document click listener for all popovers via registry, fixes #978

Fixes #978

Coverage decreased (-0.1%) to 96.391% when pulling 1f04300449cdcccb7870c9481d444577c07a123b on popover-performance into 3012871d62050820f90cdc6b190cbccff50c23ec on master.

Coverage decreased (-0.1%) to 96.398% when pulling ad69a02cd23b318364afdb3faa9590d959091f88 on popover-performance into 3012871d62050820f90cdc6b190cbccff50c23ec on master.

published @angular-mdl/popover:0.7.0


[Task]: POC dataTree split

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
main issue https://github.com/appsmithorg/appsmith/issues/11351

Done DataTreeSplit task here https://github.com/appsmithorg/appsmith/pull/18361


Update checkbox.html

See issue #47

Deploy preview processing.
Built with commit fe3b25354c2b888f8cb4b4884ddf24134fd5e4cb
https://app.netlify.com/sites/swan-example/deploys/5866345e66867464449d0295

I guess I did something wrong, but I don't have access to your netlitfy build log to check it

I guess I did something wrong, but I don't have access to your netlitfy build log to check it

I think this might be broken due to the latest tools. @VMBindraban could you look into this?

Babel issue, fixed in https://github.com/SpoonX/swan-example-client/pull/49


Black Screen after adding lines to config.js

After a successful installation, the assistant works if launched manually via python, but when i add the lines to the config.js file, the screen gets black (after rebooting) until i erase the MMM-GA part on the config file, i already checked for mistakes but i cannot find a solution, please help me

Facing the same issue.

any soluton?

I have same problem
After adding some commands for power saving, and sudo reboot.
The result is black screen

I've had the same in previous version (mk2). The solution then was to cd to module folder, npm run update and "yes" when asked if you want electron rebuild


[REST-compliance] Add a version in all APIs

For now, simply add v1/ after /api/ for all the URIs, just to be sure that if we would eventually need to have a API with breaking change, we are ready to create a new version (v2/).

API versioning is always a pain, and there are at least 3 choices I would consider:

URI path: http://www.example.com/api/v1/products
Custom Header: Accept: version=1.0
Vendor media type: Accept: application/vnd.example.v1+json or application/vnd.example+json;version=1.0

I used preferentially "Vendor media type," less impact on dev/client usage than the 1st option
Just my 2 cents... to be sure we choose the best approach.

Thanks for your reply @DanielFran. With the "Vendor media type", is there something to do now? Or could it be done once we need a first "second" version?

@hdurix Should be done now, like define in POST the consumes/produces mediatype used like:
@PostMapping(
            value = "/api/toto",
            consumes = {"application/vnd.jhipster.api.v1+json"},
            produces = {"application/vnd.jhipster.api.v1+json"}
    )

Indeed, we need to discuss if it's important to version the api because the user can still use old jar if needed, so not sure if we should maintain and keep old/new version in same app
Let's think and discuss :-)

With the new module system, it can be included directly in the module, so not sure if this ticket is relevant
I'm closing this, don't hesitate to comment if you disagree, so I can reopen


Any progress to the issue of running pytradfri under Windows?

Where are you using pytradfri (eg stand-alone, Home Assistant etc)
Standalone
Version of pytradfri
6.0.1
Expected behaviour
Able to install and use with Python 3 under Windows 10
Actual behaviour
Fails when trying to install DTLSsocket with a "File not found" error
log.txt

Anyone?

There are no activities from the maintainers of this repo and I have personally not heard of anyone else working on it.

@Yaaman42 have you tried the following (source)
pip3 install DTLSSocket`

Before going through the normal process for pyTradfri?
Den lör 13 juli 2019 08:08Johan Kanflo<EMAIL_ADDRESS>skrev:

@Yaaman42 https://github.com/Yaaman42 have you tried the following (
source https://github.com/home-assistant/home-assistant/issues/10022)
pip3 install DTLSSocket`
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ggravlingen/pytradfri/issues/235?email_source=notifications&email_token=AKV6LC6BWW7KDNEIBA63NLTP7FWNZA5CNFSM4H2XW6DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3KRBI#issuecomment-511092869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKV6LC4XDOYPJFCF23RSSG3P7FWNZANCNFSM4H2XW6DA
.

A classic workaround for GNU/Linux apps which don't run on Windows is to use… Linux. With WSL (Windows Sublinux System) and/or Docker for Windows for example.

I'm fighting with this problem, too.
pip install DTLSSocket always returns an file not found error.
When running pytradfri\example.async.py  I get error message "No transport could route message".
Is there any other "transportation" lib than DTLSsocket?
Sorry, I really need native Windows to integrate this into my Home Control system ...

I feel your pain....
On Sat, Jul 4, 2020, 18:36 Markus1748<EMAIL_ADDRESS>wrote:

I'm fighting with this problem, too.
pip install DTLSSocket always returns an file not found error.
When running pytradfri\example.async.py I get error message "No transport
could route message".
Is there any other "transportation" lib than DTLSsocket?
Sorry, I really need native Windows to integrate this into my Home Control
system ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ggravlingen/pytradfri/issues/235#issuecomment-653786775,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKV6LC2FPDTOKHNAQGCXRC3RZ5LCTANCNFSM4H2XW6DA
.

It’s not something we’re working on from the side of the maintainers of this repo, or plan to work on.


Musixmatch service integration to populate each songs' lyrics field (if available) as they are played.

This pull requests handles the integration of the Musixmatch service in order to populate the lyrics field of each of the songs whose lyrics field is empty (provided that the Musixmatch search API is able to retrieve the lyrics, or if the lyrics are not restricted). To see a working example of the implementation please visit http://koelo-acarste.c9users.io and login with username<EMAIL_ADDRESS>& password: password. I think it is a cool addition. Please let me know what you guys think.
Alejandro

Gonna hold this off for now.

Hi phanan,
Please let me now if you plan to integrate something similar in the future, or what exactly you do not like of this particular integration.
Thanks in advance and have a nice day.


11.0 merge 6117e3988aeef7b19045002d97836b9d58387b9f

We can ignore lint warning here. Sorry @houndci-bot

Superseded by https://github.com/it-projects-llc/pos-addons/pull/749


UdpFramed doesn't return incoming frames

So I've implemented a simple server here. You can build this with cargo build and running it takes a --socket argument for the address it should listen on.
The goal was to test a udp based syslog application. All this really does is check the UTF8 datagrams to valid strings, and print them.

The problem is I see 1 datagram, then it just consumes 100% cpu infinitely spinning on a single core. I can see in wireshark that my remote services are still sending packets, but the only data I'm seeing is Async::NotReady.
netstat -vaun shows myself listening on the expected port and that it is open.
There isn't every anything to encode, I'm just looking for a stream of incoming datagrams.

version info:
rustc 1.26.0-nightly (29f5c699b 2018-02-27)
rustc 1.24.0 (stable)

display idenatical behavior. I'm on Ubuntu 16.04.04 (kernel 4.4.0-116-generic)

Update sometimes I just see no frames, have a port open, and packets hitting the port, and I'm still spinning at 100% cpu with no data.

The problem is I see 1 datagram, then it just consumes 100% cpu infinitely spinning on a single core.

It is ok since you wrote an infinite loop in your code:
        loop {
            match self.data.poll() {
                ...
                Ok(Async::NotReady) => {
                    continue;
                },
                ...
            };
}

I would recommend you to read udp-codec example.

@kpp If you read the entire issue this always returned reguardless of if data is present or not.
I'm streaming about ~100KiB/s of data into the UDP socket (about 500bytes per datagram) and it never is ready.

@valarauca What version of tokio-core? There was a release earlier today w/ a bug fix that might be related.


Implement "wait and come back later" for transformer based API

Need to develop new API further and reduce "old" API but basic functionality is established. Documentation forthcoming.

updating the API will also solve some security issues, e.g https://github.com/CDU-data-science-team/pxtextmining/security/dependabot/25


add Afrikaans locale

Any updates to get this merged?

:)

Is anything else required from my side to get this merged into master? Regards @chmln

Mistakenly closed


Database Navigator not displaying all columns

Database Naviagator seems to only be showing integer fields in all of my views and tables.
I can confirm when running select *  on the table that there are 150+ columns total, including various different column types. There are no filters that have been enabled and this issue is across multiple devices.

Hi @enduser1604 ,
what database do you use?
probably you could provide a DDL that could help to reproduce an issue?
Thanks in advance

Hi @uslss
Using PostgreSQL Redshift database using jdbc driver: RedshiftJDBC42-no-awssdk-1.2.x.x found here: https://docs.aws.amazon.com/redshift/latest/mgmt/configure-jdbc-connection.html
Reproducing is tricky but I have narrowed the error down to whether the view scans s3 in the underlying engine. If the view scans s3, database navigator displays only integer columns. If the view/table is instantiated then the columns appear as expected, i.e. all columns are visible.
DBeaver version 7.2.3

Hi @uslss
Went to the source of the view I was having issues with and realized that the columns were erroring out(not showing in database navigator) in the source table as well.

You can notice that the columns actually appear blank here, which is why the view has issues with displaying the columns in Database Navigator.

Attached is the stacktrace for one of the errors.
stacktrace.txt
DBeaver Version 7.2.3
Using PostgreSQL Redshift database using jdbc driver: RedshiftJDBC42-no-awssdk-1.2.x.x found here: https://docs.aws.amazon.com/redshift/latest/mgmt/configure-jdbc-connection.html

@uslss any ideas on what could be causing this?

will be fixed in the scope of #10703


EnOcean devices (at least the PTM215Z) can connect to any zigbee gateway

No need for Hue Bridge anymore.
It should be possible to connect them to any Zigbee Gateway:

push the Button 1
push Button 3 for 10 secs
push buttons 2 & 3 together
push button 1 again

Now it should be found by any Zigbee Gateway.
Confirmed working with Senic + Gira Friends of Hue Switch, a Sonoff Gateway flashed to Tasmota and HASSIO with zigbee2mqtt addon.

Using it with Z2M, can confirm this is working fine.
Also referenced in Z2M database:
https://www.zigbee2mqtt.io/devices/PTM_215Z.html


Unify addons and agent packages

Applies spec change https://github.com/open-telemetry/opamp-spec/pull/77

@pmm-sumo I missed quite a few other places where I still had "addons". All should be fixed now. PTAL.


Correct pom errors introduced in #2141

In https://github.com/odpi/egeria/pull/2141/files?file-filters[]=.xml#
a hardcoded version was added in the asset lineage server and not fixed during review

Additionally the non-janus dependency exclusions for commons-logging & commons-codec need checking.
Are they really runtime only?

The dependencies were fixed in #2169 and the spring dependency is not present in the latest code after merge so closing


Flex Layout Documentation

Aug 24 - copy and examples are ready for build

Aug 25 - finishing building examples, check word doc and raise pr

Further doc review done and updates made.

Aug 29 - content/ design reviewed, PR is open and needs reviews

Aug 30 - ready to be merged; one outstanding comment for content @jpmorganchase/salt-content


Server-Console.log

Hi i have the Problem with Tmux its dont logg the Console in the log file.
I yuse CentOs7 but i dont use Ubunto :(
css-server-console.log:
Console logging disabled: Bug in tmux 1.8 breaks logging
http://gameservermanagers.com/tmux-upgrade
Currently installed: tmux 1.8

Does this work?
https://gist.github.com/rothgar/cecfbd74597cc35a6018

or maybe this?
https://gist.github.com/Root-shady/d48d5282651634f464af

i was test it and now i have a next problem but i have install the development tools for CentOs 7
[root@gameservers libevent-2.0.21-stable]# ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in /root/libevent-2.0.21-stable': configure: error: C compiler cannot create executables See config.log' for more details

Any luck with this?


⚠ Bofrost.at has degraded performance

In 62f585a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1450 ms

Resolved: Bofrost.at performance has improved in 4cc6b6f.


fix(neo4j): adding support for session constructor name for version 4

:tada: This PR is included in version 1.123.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


update kubernetes client version

What this PR does / why we need it:
update kubernetes client version from 0.26.1 to 0.29.2
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

FYI - #687


Is there a way to build Bootstrap on NixOS?

Issue description & Steps to reproduce
I tried to build bootstrap from sources following these instructions: https://getbootstrap.com/docs/4.1/getting-started/build-tools/. All went well until I executed
$ bundle install

At which point it encountered a dependency which requires zlib, namely nokogiri version 1.8.2. And that fails of course, because it can't find include files afaiu.
Is there a way to solve this?
Technical details

system: "x86_64-linux"
host os: Linux 4.14.29, NixOS, 18.09pre133640.ea145b68a01 (Jellyfish)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.0
channels(root): "nixos-18.09pre133640.ea145b68a01"
channels(mark): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

From what I currently understand about Nix/NixOS, either bundler should be patched, or all gems should be pre-packaged so they will somehow be passed the correct -I flags and their rpaths will be set to paths from Nix store. Am not sure either of these options is implemented. Probably there is a way to make this work still?

There definitely is room for improvement here. But, for something like this, it's common to just use nix-shell:
nix-shell -p nodejs ruby zlib libiconv

And things should install.

OK, thinking about passing arguments to things like ld via environment variables, this starts to make sense.


david still in bed

you will be late for bouldering!!

Thanks for the report. The team is investigating the issue closely


Adds stack dump support

@jhowardmsft - Pulled this out so we can merge it while I continue to investigate.

@soccerGB - Can we merge?

@jhowardmsft - Are you ok if I merge this and then yours? We have verified it works and @soccerGB seems to be out.


Add first controller unit test.

Smoke tests for the checksum code, just to prove that testing is
happening.

PlatformIO seems like a pretty slick setup for getting our testing in while also allowing easy building.

Indeed, thanks to @lee-matthews for setting it up!

Thanks for the review!
If it's OK with you I'm going to leave the platformio.ini file unmodified in this PR because I don't want to conflate things.  I'll think about adding a nano rule to the build, but without a device to test it on, I'm not 100% confident in that.  Maybe we can leave it to someone who  has  a device in their posession?

Thanks for the review!
If it's OK with you I'm going to leave the platformio.ini file unmodified in this PR because I don't want to conflate things. I'll think about adding a nano rule to the build, but without a device to test it on, I'm not 100% confident in that. Maybe we can leave it to someone who has a device in their posession?

Makes sense - I can probably get around to it once my Nano gets delivered in a bit (unless we end up changing away from that).


Fixed stack overflow for huge properties with many escaped double quotes

Description

Motivation and Context

Fixes #686
Types of changes

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

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

:+1:


Included Edge browser support (like IE)

I think it may be useful. Please, contact with me if I proposed something strange or in something wrong way.

Thanks @ivanovjaroslaw


Feature Request: When a creature has an innate status effect hide from pcs but show gm.

A common issue is that when gms have a creature that has slowed 1 because of undead or some innate status effect the pcs see the status effect before they have even interacted with it which breaks the game immersion for finding out if a creature has slowed or has other things going on. what i would like to see as a fix to this is to have any creature that has an innate conditional status trait to be hidden from pcs but still show for gms. that way pcs can still see when they effect a creature with other debuffs but cant see the innate debuff or buff.

It is immediately obvious when creatures are visibly slow.


Compiler

The latest commit highlights a bug in the InStream class, which involves incorrect reading of translations from a file. I am opening an issue to resolve this problem.


Create database error

TASK [dj-wasabi.zabbix-proxy : MySQL | Create database] ************************
11:03:18
task path: /var/lib/awx/projects/zabbixproxy/roles/dj-wasabi.zabbix-proxy/tasks/mysql.yml:7
11:03:18
fatal: [localhost -> localhost]: FAILED! => {"changed": false, "module_stderr": "sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}

Hi @siye1103
This is a infrastructure thing on your host. It seems you use a nfs mount to store data? I don't see what I can do to fix that. I therefor close this issue.
Kind regards,
Werner


Undefined filter displaying in Filter dialog

Expected Behavior
Only filters where column option filter: true should display.
Current Behavior
Expected filters are displaying, however an empty filter without a label or column name that does not do any filtering when checked is displayed.
Have confirmed that it is not an empty value and is actually trying to render another filter. Have also confirmed there are no null objects being passed in to the data prop.
UI:

When logging out using onFilterChange:

Steps to Reproduce (for bugs)
Unsure how to reproduce, using component as I normally would. Was able to see undefined when using onFilterChanged method in options.
Your Environment

Tech
Version

Material-UI
3.9.0

MUI-datatables
2.0.0

React
16.8.6

browser
Chrome

This is something dumb - I was rendering a column that just displays an action button to display a modal and forgot to set filter: false on it.


chore: release vite-plugin-ssr-css v0.0.1

#593  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


Graphql fields

Fixes:

https://github.com/dusk-network/dusk-explorer/issues/21
https://github.com/dusk-network/dusk-explorer/issues/25
https://github.com/dusk-network/dusk-explorer/issues/7

Codecov Report

Merging #190 into master will decrease coverage by 0.14%.
The diff coverage is 67.3%.

@@            Coverage Diff            @@
##           master    #190      +/-   ##
=========================================
- Coverage   55.75%   55.6%   -0.15%
=========================================
  Files         117     117
  Lines        6312    6338      +26
=========================================
+ Hits         3519    3524       +5
- Misses       2265    2281      +16
- Partials      528     533       +5

Impacted Files
Coverage Δ

pkg/gql/query/types.go
13.79% <ø> (ø)
:arrow_up:

pkg/gql/query/transactions.go
68.51% <25%> (-3.49%)
:arrow_down:

pkg/gql/query/blocks.go
75.17% <70.37%> (-1.1%)
:arrow_down:

pkg/core/database/testing/utils.go
58.97% <82.35%> (-22.28%)
: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 2f57677...3e63679. Read the comment docs.


Update requirements.txt

Add modin version and update notebook and pandas version
Potentially remove pandas since it's a modin dependency

Resolved by #12


Breaking changes with Terraform 0.12.7

There is an issue which manifests in Terraform version 0.12.7 when doing terraform apply:
Error: Incorrect attribute value type

  on google_ecfs.tf line 167, in resource "google_compute_instance" "Elastifile-EMS-Public":
 167:   labels = [

Inappropriate value for attribute "labels": map of string required.

Error: Unsupported block type

  on google_ecfs.tf line 191, in resource "google_compute_instance" "Elastifile-EMS-Public":
 191:   metadata {

Blocks of type "metadata" are not expected here. Did you mean to define
argument "metadata"? If so, use the equals sign to assign it a value.

Error: Incorrect attribute value type

  on google_ecfs.tf line 232, in resource "google_compute_instance" "Elastifile-EMS-Private":
 232: labels = [

Inappropriate value for attribute "labels": map of string required.

Error: Unsupported block type

  on google_ecfs.tf line 251, in resource "google_compute_instance" "Elastifile-EMS-Private":
 251:   metadata {

Blocks of type "metadata" are not expected here. Did you mean to define
argument "metadata"? If so, use the equals sign to assign it a value.

This appears to be related to breaking changes in Terraform 0.12.7
We attempted to upgrade the code using terraform 0.12upgrade but received further errors:
Error: Incorrect attribute value type

  on google_ecfs.tf line 175, in resource "google_compute_instance" "Elastifile-EMS-Public":
 175:   labels = [

Inappropriate value for attribute "labels": map of string required.

Error: Incorrect attribute value type

  on google_ecfs.tf line 240, in resource "google_compute_instance" "Elastifile-EMS-Private":
 240:   labels = [

Inappropriate value for attribute "labels": map of string required.

We fixed these errors by changing:
In google_ecfs.tf line 77
variable "USE_PUBLIC_IP" {
  default = 1
}

Line 240
labels =     {
      "cluster-hash" = var.CLUSTER_NAME
    }

And terraform.tfvars line 36
# 1 or 0
USE_PUBLIC_IP = 1

thanks. we have branch _tf_v12 that takes care of that.
we need to merge it into master.


Problem with The Combatribes (US, Rev 2, Set 1).mra

Cannot find

in any known mame rom latest or older, maybe it's my fault.....
part not found in zip: 28j17-0.105 (d7978eeb)
checked also on
http://adb.arcadeitalia.net/dettaglio_mame.php?game_name=ctribe

I also can not find a Combatribes that contains the flie 28j17-0.105. It's absent from Arcade Italia list. I checked some MAME DATs as well and couldn't find reference to that file. Google "combatribes 28j17-0.104" or "ctribe 28j17-0.104" and get many results. Google "combatribes 28j17-0.105" or "ctribe 28j17-0.105" and get 0 results.

This has been covered on Patreon, it is a blank file with no contents used to complete banking and deflate the ROMs properly. I've attached the file, place it in the respective zip folder you use to compile the ROM file.
28j17-0.zip


Models: DI is not able to resolve variable

DINotWorking.zip
doing:
import DI from 'FuseJS/DI';
import Navigation from 'Services/Navigation';

export default class App {
	constructor() {
		DI(this);
		this.navigation = new Navigation();
		this.foo = "heisann";
	}
}

and then:
import DI from 'FuseJS/DI';

export default class ClassesPage {
	constructor(navigation = DI('navigation'), foo = DI("foo")) {
		this.navigation = navigation;
		this.$path = "ClassesPage";
		this.foo = foo;
		console.log("Got DI: " + foo);
	}
}

results in DI complaining that it can't resolve 'navigation'.
I'm not sure what i'm doing wrong here.

Right, so this was because Navigation tried to instantiate ClassesPage right away meaning App.navigation wasn't set yet. Makes sense, but i'm sure this will trip people up if they haven't read the documentation carefully. I think we should document this explicitly in the DI section


⚠ ClamAV has degraded performance

In 7b32cb2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 172 ms

Resolved: ClamAV performance has improved in a5dc966.


Load RobotModel into ROS 3D panel

I am wanting to view my RobotModel in webviz and have the models correspond to joints like they do using urdf's in RVIZ. Is there currently any support for something similar to this?
There is a Cruise video showing a ROS 3D panel with a car model and pointcloud/mapping data, this is in the general direction I want to be heading. Could you share any information on how this was achieved?

Similarly, I am looking forward to the result of 3d presentation in the video ! And i  notice that the author use a bag named cruise.bag, how could we get it ? About the way to realize the 3d result, I believe that we should learn sth about WORLDVIEW.
Now, I want to get the cruise.bag to learn more in detail.

@BrodieBirko unfortunately the Cruise car model is currently hardcoded into Webviz; we don't currently support loading arbitrary models.
@zwmisdu That's a proprietary Cruise bag which we can't share, but we have a Webviz demo here: https://webviz.io/app/?demo which uses this bag: https://open-source-webviz-ui.s3.amazonaws.com/demo.bag

Sweet, that answers my questions.

Is this feature on the roadmap? (Loading any robot model from the urdf?)

Currently not, but happy to take contributions!


Inaccurate GE prices

Items with ornament kits only display the price of the ornament kit, when they should add the value of the ornament kit plus the item.
Here is an example:
https://i.imgur.com/L3bDBvh.png

Duplicate of #3909


tests: test Gpg class

Verify that merfi is calling util.run() with the right parameters.

Needs the change in #11 first

I've updated this PR so that the common code is in a parent class (BaseBackendTest). This should ease testing RpmSign, eventually.


Add max_by_key and min_by_key functions to InternalIterator.

I added max_by_key and min_by_key, two functions that are in the normal Iterator but were missing in this one. I needed them for one of my projects.
The implementation is pretty much the same as the one in std, but a bit more modern.

Thanks! I released version 0.1.2 for this.

Great, thanks!


Pre-push hook fails on squash proto

Title: Push fails to pre-push hook
Description:
Some days ago after merging with main, I started getting following error from pre-push hook
...
proto_print /tmp/tmpoyvg8bdx/b/envoy/api/v2/ratelimit/ratelimit.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/api/v2/core/health_check.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/api/v2/cluster/outlier_detection.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/admin/v2alpha/tap.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/api/v2/rds.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/api/v2/listener/udp_listener_config.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/api/v2/cluster/filter.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/admin/v2alpha/server_info.proto
proto_print /tmp/tmpoyvg8bdx/b/envoy/api/v2/listener/quic_config.proto
Please apply following patch to directory './api'
diff -Npur a/envoy/config/filter/http/squash/v2/BUILD b/envoy/config/filter/http/squash/v2/BUILD
--- a/envoy/config/filter/http/squash/v2/BUILD  1970-01-01 02:00:00.000000000 +0200
+++ b/envoy/config/filter/http/squash/v2/BUILD  2021-06-14 09:55:15.196314228 +0300
@@ -0,0 +1,9 @@
+# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py.
+
+load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
+
+licenses(["notice"])  # Apache 2
+
+api_proto_package(
+    deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"],
+)
diff -Npur a/envoy/config/filter/http/squash/v2/squash.proto b/envoy/config/filter/http/squash/v2/squash.proto
--- a/envoy/config/filter/http/squash/v2/squash.proto   1970-01-01 02:00:00.000000000 +0200
+++ b/envoy/config/filter/http/squash/v2/squash.proto   2021-06-14 09:55:05.540338435 +0300
@@ -0,0 +1,58 @@
+syntax = "proto3";
+
+package envoy.config.filter.http.squash.v2;
+
+import "google/protobuf/duration.proto";
+import "google/protobuf/struct.proto";
+
+import "udpa/annotations/migrate.proto";
+import "udpa/annotations/status.proto";
+import "validate/validate.proto";
+
+option java_package = "io.envoyproxy.envoy.config.filter.http.squash.v2";
+option java_outer_classname = "SquashProto";
+option java_multiple_files = true;
+option (udpa.annotations.file_migrate).move_to_package = "envoy.extensions.filters.http.squash.v3";
+option (udpa.annotations.file_status).package_version_status = FROZEN;
+
+// [#protodoc-title: Squash]
+// Squash :ref:`configuration overview <config_http_filters_squash>`.
+// [#extension: envoy.filters.http.squash]
+
+// [#next-free-field: 6]
+message Squash {
+  // The name of the cluster that hosts the Squash server.
+  string cluster = 1 [(validate.rules).string = {min_bytes: 1}];
+
+  // When the filter requests the Squash server to create a DebugAttachment, it will use this
+  // structure as template for the body of the request. It can contain reference to environment
+  // variables in the form of '{{ ENV_VAR_NAME }}'. These can be used to provide the Squash server
+  // with more information to find the process to attach the debugger to. For example, in a
+  // Istio/k8s environment, this will contain information on the pod:
+  //
+  // .. code-block:: json
+  //
+  //  {
+  //    "spec": {
+  //      "attachment": {
+  //        "pod": "{{ POD_NAME }}",
+  //        "namespace": "{{ POD_NAMESPACE }}"
+  //      },
+  //      "match_request": true
+  //    }
+  //  }
+  //
+  // (where POD_NAME, POD_NAMESPACE are configured in the pod via the Downward API)
+  google.protobuf.Struct attachment_template = 2;
+
+  // The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
+  google.protobuf.Duration request_timeout = 3;
+
+  // The total timeout Squash will delay a request and wait for it to be attached. Defaults to 60
+  // seconds.
+  google.protobuf.Duration attachment_timeout = 4;
+
+  // Amount of time to poll for the status of the attachment object in the Squash server
+  // (to check if has been attached). Defaults to 1 second.
+  google.protobuf.Duration attachment_poll_period = 5;
+}

error: failed to push some refs to 'git@github.com:Nordix/envoy.git'

If running ./tools/proto_format/proto_format.sh fix manually and answering y to the question if I'd like to apply the patches, the script would like to remove following files:
api/envoy/config/filter/http/squash/v2/BUILD
api/envoy/config/filter/http/squash/v2/squash.proto
generated_api_shadow/envoy/config/filter/http/squash/v2/BUILD
generated_api_shadow/envoy/config/filter/http/squash/v2/squash.proto

The PR that I work with, and where I see this problem is https://github.com/envoyproxy/envoy/pull/15711.  It does not touch squash protos.  It does not fail in CI (for this particular reason, though it fails on flakes).  It fails only on pre-push hooks on my local machine.
I've tried to clean up my environment from any extra files, but it is possible there is something in my local environmen that causes this.
The issue was also discussed at slack https://envoyproxy.slack.com/archives/C78HA81DH/p1623658160113800

cc @htuch

@tsaarni im not sure what is causing this in your env
i checked out your PR and ran both
./tools/proto_format/proto_format.sh check

and
./tools/proto_format/proto_format.sh fix

both seem to have succeeded without any problems
also, given that this is working correctly (apparently) in CI - im thinking it must be an issue with your local env

Running rm -rf bazel-bin/external/envoy_api_canonical/ seems to fix it for me.  I was cleaning git repo but missed these files in bazel cache before.
Thank you for your help!


TFLu: Add stm32f4 and build target

Add new TARGET=stm32f4 that is working with Renode.
Add new  target that will just build the test binaries.
Add new CI script for this as well.
The purpose of this is CMSIS-NN regression.

Ready for merge

Do you know why these tests fail? They didn't fail on the first and second commit, so I wonder why they fail now.


Is the licensing problematic?

VFSForGit is MIT licensed. Git itself is GPL licensed, made by famous GPL software writer, Linus Torvalds. There seems to be no way this could be using GPL licensed software if VFSForGit wasn't GPL licensed.

The Git code is not included in this repository. The sibling repository microsoft/git is a fork of git/git and is available via the same license as Git.

Thanks, I didn't realize it worked that way. All the power to you, certainly seems like a great FS.
Apologies for whatever this question may have cost you folks.


Can't run LaravelDash:install

Since make:auth got removed, the command breaks...

@mwkcoding Fixed problem in #16 or #18 for Laravel 5.8 users!


tmux: malloc_trim memory after history is cleaned

Motivation for this change
reduce tmux memory usage
Things done
Applied a patch that was suggested by tmux maintainer. See https://github.com/tmux/tmux/issues/2408 for more info.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 99633 1

4 packages built:

byobu
overmind
tmux
tmux-cssh

IMHO, we should wait until the patch is merged upstream and then fetchpatch it.

@cole-h it has been applied on master now.
not sure how to use fetchpatch though, esp that the master version is slightly different than 3.1b - the patch needs some slight adjustments (to not be rejected), which has been done in this one
ofc we can also wait until a new stable version is released, then this patch is going to be irrelevant :)

not sure how to use fetchpatch though

it normalizes the patch compared to fetchurl to better apply.

esp that the master version is slightly different than 3.1b - the patch needs some slight adjustments (to not be rejected), which has been done in this one
ofc we can also wait until a new stable version is released, then this patch is going to be irrelevant :)

breaking tmux with bugs will hit a lot of people. Just being careful when fetching pre release patches.

Not sure how to respond :)
If everyone prefers to wait (maybe it's already released and can be upgraded cleanly? - I haven't checked), I'm happy for this pr to be simply closed :)

@ofborg eval


Are all these connections necessary?

Yes.

Ha - I didn’t think I posted yet, I left the editor to do other things.
But here’s the post I was working on:
I keep getting alerts in Little Snich.
Of course there’s the usual ports which I’ve allowed - 443, 53, 5353.
But others I’m not familiar with:
UDP port 1053 for (remote-as)
UDP port 553 (pirp)
UDP port 2053 (lot105-ds-upd)


Use gem_layout_full_width_browse_header for Browse pages

What
Use new gem_layout_full_width_browse template for Browse pages. Remove blue bar from browse_breadcrumbs partial.
Why
There are instances of pages on collections that have a coloured background in the heading section. This meant that the the blue bar (which is rendered in the public_layout) had to be rendered by collections otherwise it would result in a gap between the blue bar and coloured section. This solution seemed fine until we had a recent deployment of the global bar. As the global bar includes a blue bar, it meant that the Browse pages had two blue bars. They therefore needed to be removed while the global bar was present and then added back again when the global bar was removed.
To avoid this needing to happen the next time the bar is deployed, a new template has been implemented. It means that if a page has a coloured background heading it can be specified in the template and then it will be applied to the blue bar. This means the blue bar can be rendered in public_layout and so applications don't need to render the blue bar if they have a heading section with a background colour.
To accomplish this in collections, we need to change the template to the new gem_layout_full_width_browse_header and remove the blue bar from the breadcrumbs partial.
Follow these steps if you are doing a Rails upgrade.
Relevant Trello Card

depends on  https://github.com/alphagov/govuk_publishing_components/pull/3380 https://github.com/alphagov/static/pull/3053


Optional --with-libconfig may not work

I find that there is an option "--with-libconfig" after "./configure --help" and use it to specify a non-standard install.  But it keeps alerting

checking for libconfig.h... yes
checking for library containing config_init... no
configure: error: Unable to find libconfig library

After I investigating the configure.ac file, I'm confused by the line 402 LIBS="-lconfig $LIBS":
why LIBS="-lconfig $LIBS" ?
Doesn't it mean to use the system default libconfig rather than the one "-L$with_libconfig/lib" specifies?
Then I modify the configure file to echo the checking statement and get

checking for library containing config_init... =========================-lconfig -L/some/other/path/odp/lib/ -lodp-linux ....(something else)

The checking is not using the specified user-installed libconfig at all!!
For my practice, it doesn't work at all until I change this statement to LIBS="-L$with_libconfig/lib -lconfig $LIBS"

It seems the $LIBS should be put ahead, to say, LIBS="$LIBS -L$with_libconfig/lib -lconfig".
Otherwise I'm getting a linking error while link target classifier

CCLD     classifier
/ld_path/real-ld:/install_path/odp/lib/libodp-linux.a(odp_crypto_openssl.o): in function `HMAC_CTX_new':
/odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:283: undefined reference to `HMAC_CTX_init'
/ld_path/real-ld:/install_path/odp/lib/libodp-linux.a(odp_crypto_openssl.o): in function `HMAC_CTX_free':
/odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:289: undefined reference to `HMAC_CTX_cleanup'
/ld_path/real-ld:/install_path/odp/lib/libodp-linux.a(odp_crypto_openssl.o): in function `openssl_thread_id':
/odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:1910: undefined reference to `CRYPTO_THREADID_set_numeric'
/ld_path/real-ld:/install_path/odp/lib/libodp-linux.a(odp_crypto_openssl.o): in function `odp_crypto_init_global':
/odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:1933: undefined reference to `CRYPTO_num_locks'
/ld_path/real-ld: /odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:1964: undefined reference to `CRYPTO_THREADID_set_callback'
/ld_path/real-ld: /odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:1965: undefined reference to `CRYPTO_set_locking_callback'
/ld_path/real-ld:/install_path/odp/lib/libodp-linux.a(odp_crypto_openssl.o): in function `odp_crypto_term_global':
/odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:1985: undefined reference to `CRYPTO_set_locking_callback'
/ld_path/real-ld: /odp_path/platform/linux-musdk/../linux-generic/odp_crypto_openssl.c:1986: undefined reference to `CRYPTO_set_id_callback'

Which says that odp-linux.a depends on libconfig, but the statement "-L/libconfig_install_path/lib -lconfig" keeps appearing in advance of the "-L/odp_install_path/lib -lodp-linux", even I put the option --with-libconfig=prefix ahead of --with-odp=prefix

I double checked these codes again and found that I was not thoughtful enough about it before.
This code LIBS="-lconfig $LIBS" is used to link to the standrad-installing libconfig. But there's no update after a --with-libconfig= specifies so that it keeps checking the system path while ./configure.
But I still can not figure out why this line will affect the link of classifier.
Pls provide a best solution.

This seems like a valid problem. Which ODP version are you using?

odp-marvell,  v1.21.0.
Which one of these two problem that seems to be valid? The one about  config.ac or the one about  classifier?

Most likely both are valid. I've reproduced the libconfig install path problem on my test system and I'm working on a fix right now. I'll take a look at the linking issue next.

Well, waiting for ur good news

Does this commit https://github.com/matiaselo/ofp/commit/f1b1582aa52458f3fc3cd10c3ec6acb7a997eb41 fix your libconfig issue?
The linker errors you have pasted are from OpenSSL library. Which OpenSSL version are you using?

Yes it works, but the check of config_init becomes none required, is that right?
The openssl suite is 1.0.2r version.
In fact, it only appears when I put -lconfig ahead of -lodp-linux (as a temprorary workaround, I changed the line 402 in the old config.ac to LIBS="-L$with_libconfig/lib -lconfig $LIBS" to pass the check and got the link error. And then I change it to LIBS="$LIBS -L$with_libconfig/lib -lconfig" and got no error). And with your fix commit, the link error disappears as well.

Yes it works, but the check of config_init becomes none required, is that right?

I'm not completely sure what you mean by this. I still want to check that the library is available if use_libconfig is true.

In fact, it only appears when I put -lconfig ahead of -lodp-linux (as a temprorary workaround, I changed the line 402 in the old config.ac to LIBS="-L$with_libconfig/lib -lconfig $LIBS" to pass the check and got the link error. And then I change it to LIBS="$LIBS -L$with_libconfig/lib -lconfig" and got no error). And with your fix commit, the link error disappears as well.

Just to be sure, is the linking now working for you without any additional modifications?

The openssl suite is 1.0.2r version.

I assume you are still getting the OpenSSL linking failures. Is your OpenSSL installed in the standard system path?

The linking is working now. Nothing more ought to be modified. The linking error may be introduced by some of my rough change to pass the configure checking.
Sorry for my unclear expression which disturbs you.
What I mean is I'm getting these echos while configuring:

checking libconfig.h... yes
checking for library containing config_init... none required.

Is the statement none required right ? Does it ought to be yes?

checking libconfig.h... yes
checking for library containing config_init... none required.

Is the statement none required right ? Does it ought to be yes?

Thanks, good catch. This was caused by an unnecessary   LIBS="-lconfig $LIBSline in my patch. AC_SEARCH_LIBS adds libconfig to LIBS if the test passes.

gotcha, thanks a lot again. And I'll close this issue as is solved.

gotcha, thanks a lot again. And I'll close this issue as is solved.

Glad to help. I'll keep the issue open until the fix is merged.


run  Multi-Tello-Formation erroe

All components installed
Now I don't know what to do

Oh, I'm still stupi

d


requires Http by default

Decided to try it out and after copy/pasting the example ({id, value}) got this:
No provider for Http!
Checked the code. It seems that utility class Ng2AutoComplete can have it as @Optional()
see: https://angular.io/docs/ts/latest/guide/dependency-injection.html

Hmm, I have always thought Http is a necessary part of auto complete.
I would appreciate if you make a PR.


A11y_Azure App Service extension for VS Code_Files_Popup_FocusOrder: The Keyboard focus moves out of the Pop up on pressing Tab.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags: #A11yMAS;#A11yTCS;#A11ySev2;#SH_AzureAppServiceextensionforVSCode_Win32_Sep2021;#Azure Tools for VS Code;#DesktopApp;#WCAG2.4.3;#AINotInScope;#FTP;#FocusOrder;#Keyboard;#Linked:Bug135636;#External:VSCode;
Environment Details:
Application Name: Azure App Service extension for VS Code
Screen Reader: NVDA/JAWS
Operating system: Windows 10
Repro Steps:

Launch VS Code application.
Tab till "Azure" and press enter.
Tab till "app service " dropdown and press enter.
Tab till "Files" dropdown and press enter.
Tab to any file and press enter.
Edit by adding "make changes" and save(ctrl + S) the "SRC" file..
Tab till the Pop up Saving "hostingstart.html".
Check if the keyboard focus moves out of the Pop up on pressing Tab.

Actual:
The Keyboard focus moves out of the Pop up on pressing Tab.
Note: This issue is observed with all the Notification Pop up that appear for "Initializing SSH" Pop up scenario.
Expected:
The Keyboard focus should remain in the Pop up on pressing Tab.
User Impact:
Keyboard users will be confused if the keyboard focus moves out of the Pop up on pressing Tab key.
Please find the below attachment for reference:

Using this to create a basic extension , I am able to reproduce this issue.
The extensions can't control where the focus is after a pop-up notification appears.  Please file an issue on VS Code here: https://github.com/microsoft/vscode/issues

As per the external bug comment and as discussed with SME this is not a modal pop up control hence closing this issue


Add ability to send form to list of user with token

Hello !
It would be very great if we could send the form to a list of user (by mail) for example with a specific token so that every user can respond only one time to the survey.
Thanks a lot !
Thanks for the great project !

What exactly do you mean by token?

Hi !
By "token" I mean something uniq. In fact the idea was to be able to use Tellform as a survey tool in a restricted circle. Let's say that I have 10 users I would like to send them (by mail for example) a specific uniq link for each of them so that they will be able to answer the survey (nevermind they answer it or not, the important thing is just that they not may answer twice or more to make the survey revelant)

This isn't  a core feature of a web form so Im closing this issue. If you want to fork this project and add ot you are more than welcome to do so


semverCompare issue with the Masterminds/semver library

semverCompare fails with semver-valid versions like 01.2.3, 1.02.3, 1.2.03. Templating is not possible with these version formats -> deployment not possible -> can become a major issue.
Library bug: https://github.com/Masterminds/semver/issues/255
Output of helm version:
version.BuildInfo{Version:"v3.16.4", GitCommit:"7877b45b63f95635153b29a42c0c2f4273ec45ca", GitTreeState:"clean", GoVersion:"go1.22.7"}
Output of kubectl version:
Client Version: v1.31.4
Kustomize Version: v5.4.2
Server Version: v1.30.7
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
microk8s

Sorry for a false positive bug report, in the end it was helmfile after and upgrade of the  Masterminds/semver library, see for details: https://github.com/helmfile/helmfile/issues/1848


Type spec rename follow-up items

Careful, it won't require this to be green to merge so check that it is before merging, it won't let me pick "typespec - Verify PR" yet as required. I thought I did that earlier, but apparently it didn't stick.

I think what happens is it has to be green at least once before it can be required and closing the last PR reset that, sigh. Anyway, when this is green, merge and then I think we can set it as required and it wil stick.

/azp run

/azp run


add fr32-sha2-256-trunc254-padded-binary-tree multihash

This PR reserves a single multihash code. The request here comes from the Filecoin ecosystem which is already using the underlying hashes here in relation to the codes reserved in https://github.com/multiformats/multicodec/pull/170 and https://github.com/multiformats/multicodec/pull/172.
However, it turns out the approach taken in the reservation of those codes was insufficient and as a result there’s a new spec proposal for a different multihash to better represent the data being referred to.
At a high level there were three approaches for describing these trees given here. We went with option 2, but that turns out to have been a mistake so now we’re going with option 3.

Why is this a good idea when you already had a code here?
You live and you learn. It turns out that for the particular data being dealt with the approach taken originally was problematic (and is IIUC largely why the related codec entries were tagged as filecoin rather than IPLD) and this one makes life easier. The reason CID and multihash exist is to make it easier to evolve through mistakes, this is one example of that.
Should other applications of merkle-tree hashes lean on custom multihashes rather than reusing existing ones?
As with my comment around IPLD codecs from a while ago I think the answer lies in what the application gain/loses out on by not reusing existing multihashes.
Is it reasonable to have multiple codes dealing with effectively the same data?
Situationally, yes. In this case it turns out there are better and worse ways to describe the same data and people might even disagree on what those are. The table allows us to support these options.
A related example I’ve heard mentioned in the past was if someone wanted to register codes for the internal components of the blake3 tree so that data could be referred to as either a Blake3 multihash of a 1GiB file, or a more specific Blake3 internal-node multihash for the root of the tree whose leaves are the 1GiB file. On the surface this seems like a reasonable request as well.
cc @ribasushi @willscott @rvagg @vmx
(p.s. I hope Rod and Volker forgive me for making them relive #161, #170 and #172)

From the FRC abstract:

it turns out to be much more useful to be able to express the tuple of (Root hash, size of tree) than just the root hash.

This is how I think it should be done. The size doesn't really matter for the hash. The size information is additional context that is needed for some application. To me, this is not what Multihash is for.
I've discussed with a lot of people about how to transmit additional context with CIDs at the LabWeek/IPFSCamp in 2022. I think there should be a way, but I still believe it shouldn't be part of the CID, but something separate.

I talked with various people about it, I now have a better understanding.
I've only thought about the producing side of things. You put in some data and you get a specific Merkle tree out. Though if you think about CIDs also as a way to retrieve the data, then the height matters. You would retrieve data and would want to verify that the data is the one you expected. Without the height, you could get a higher level of the Merkle tree (random bytes and not the data you expected) and it would still verify correctly.
This means that it now makes sense to me to include the height.

Should other applications of merkle-tree hashes lean on custom multihashes rather than reusing existing ones?

From an IPLD perspective (i.e. if these are multihashes intended for CIDs) then I think the answer would come down to what we are addressing. The original "bmt" entry we had, which I think was even thought to be useful for bitcoin binary merkle addressing, turns out to be not so useful because you're addressing the entire base set of data, which is not really what you typically want. From the IPLD perspective you typically want to navigate through links to individual pieces of these things.
For CommP, if we want it to address the entire base data being "hashed", then viewing the merkle process as a hash function itself makes more sense.
When we start doing things like inclusion proofs then it gets a bit more iffy. Does https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md muddy these waters a bit? Does data-segment neatly fold up into this new conception of CommP? Or do we keep those concerns entirely separate from this?
Also: you're going to have to work on table formatting (see CI) .. sorry but your long name is going to make that tricky, or you might have to shorten it.

And broadly this is +1 from me, just with some general questions about data-segment, and also the need to update the table formatting.

Can be merged in draft at least? We've been using this in web3.storage for a long time now.

can be merged when it's mergeable; table formatting needs fixing up at least


How to make HTTP GET+POST  request in Protractor

Hi,
I am facing problem to send HTTP get request in Protractor. Actually, I need to check data in DB after perform some action in UI.
It will be very helpful if I will be able to do it using JQuery, but I am not able to find a way how to use jquery inside Protractor.
Need Help !
I have added the issue at stackoverflow too, the link is http://stackoverflow.com/questions/30319610/how-to-make-http-getpost-request-in-protractor

you can call JQuery inside browser.executeAsyncScript(function() {
$.get(...);});
On Tue, May 19, 2015 at 3:34 AM, Jatin Seth<EMAIL_ADDRESS>wrote:

Hi,
I am facing problem to send HTTP get request in Protractor. Actually, I
need to check data in DB after perform some action in UI.
It will be very helpful if I will be able to do it using JQuery, but I am
not able to find a way how to use jquery inside Protractor.
Need Help !
—
Reply to this email directly or view it on GitHub
https://github.com/angular/protractor/issues/2157.

I have tried it as well, but problem was How to make my Protractor code wait until I get response from this ?

You need to call the callback() function.
global.browserAjax.post = function(url, data){
  return browser.executeAsyncScript(function() {
    var url = arguments[0];
    var data = arguments[1];
    var callback = arguments[arguments.length - 1];
    $.post(url, data, callback);
  }, url, JSON.stringify(data));

Actually, we have used "http" NODEJS Lib to make http calls GET+POST, Our code for Spec file is given below, the problem we are facing is code is not running in sequence as it should be.
This prints first
console.log("\n====Value from JSON0====>\n"+json_data._source.state);
and then
console.log("we are here");
// A Protracterized httpGet() promise
function httpGet(siteUrl) {
var http = require('http');
var defer = protractor.promise.defer();
	http.get(siteUrl, function(response) {

		var bodyString = '';

		response.setEncoding('utf8');

		response.on("data", function(chunk) {
			bodyString += chunk;
		});

		response.on('end', function() {
			defer.fulfill({
				statusCode: response.statusCode,
				bodyString: bodyString
			});
		});

	}).on('error', function(e) {
		defer.reject("Got http.get error: " + e.message);
	});

	return defer.promise;
}

it('Test case', function(){

	var tickets = element.all(by.repeater('event in data'));
	tickets.each(function(element132, index) {
		if(index >= 1){
			return false;
		}
		//click on first ticket
		var first_ticket = tickets.get(index);
		var click_on_ticket = first_ticket.$('tr:nth-child(1)');
		click_on_ticket.click();

		//click on claim button
		var click_claim_button = first_ticket.$('tr:nth-child(2) td:nth-child(1) button:nth-child(2)');
		click_claim_button.click();
		browser.driver.sleep(10000);
		console.log("we are here");

		//Get json data for ticket from elastic search
		httpGet("Site URL").then(function(result) {
			json_data = JSON.parse(result.bodyString);
			console.log("\n====Value from JSON0====>\n"+json_data._source.state);
			expect(json_data._source.state).toBe('claimed');
			expect(json_data._source.claimed_by).toBe('TestUser');
		});
    });

});

I am able to find the problem actually, browser.driver.sleep(10000); is not waiting for promise to be resolved at httpGet("Site URL"), so, problem is How we can wait for our promise to be resolved.

It looks like you're getting multiple answers on stack overflow.  In the future, please only ask there, since this issue tracker is more for bug reports/feature requests/etc

Hi Friends,
Please do not close the issue, the issue has not been resolved. I will follow what you said in future.
Tx

I'm facing the same problem, I want to check or insert some test data befor running the suite but this action needs to be completed before running the tests.

There are some good answers on SO. Please continue the discussion there.

But We are not able to find those answers working, so, please provide the valid and correct answer for the problem.

I need help on this also!

I am looking for an answer for this problem!!

I consider using Needle. Haven't tried it yet, though.

Hi Guys,
solution for this which is working for me would be as following:
Create a page object:
var site_util = function(){

    this.httpGet = function(siteUrl){
        var http = require('http');
        var defer = protractor.promise.defer();

        http.get(siteUrl, function(response) {

            var bodyString = '';

            response.setEncoding('utf8');

            response.on("data", function(chunk) {
                bodyString += chunk;
            });

            response.on('end', function() {
                defer.fulfill({
                    statusCode: response.statusCode,
                    bodyString: bodyString
                });
            });

        }).on('error', function(e) {
            defer.reject("Got http.get error: " + e.message);
        });

        return defer.promise;
    };

};

module.exports = new site_util();

And the following test case after page load:
var site_util = require('../page/site_util.js');

describe('Load page',function(){
it('Loading homepage',function () {
        dvr.get(baseUrl);
        dvr.sleep(2000);
    });

it('should return 200', function() {
        dvr.getCurrentUrl().then(function(url){
            site_util.httpGet(url).then(function(result) {
                expect(result.statusCode).toBe(200);
            });
        });
    });
});

@jatinseth2007 see this  I think this will help you, if you still facing this problem.

http://squirrel.pl/blog/2014/01/15/direct-server-http-calls-in-protractor/
This is another reference that clearly explains how you can use control flow to solve the problem

@samsul-kabir Thanks  code is working fine , but its not going inside
it('should return 200', function() {
dvr.getCurrentUrl().then(function(url){
site_util.httpGet(url).then(function(result) {
expect(result.statusCode).toBe(200);
});
im trying to console.log(result.statusCode ) ....
it giving no output, means its not getting inside this block.


Add a warning if any assets are not found

When you send a project to the playground, it would be nice if there was a warning displayed if there are some assets used that cannot be found. That will happen often now when copying projects between spaces where the images/sounds may have been uploaded locally.

Bulk of the work is in https://github.com/phetsims/paper-land/commit/d78321d6b4212d5d944fbb950e9aba1c2bdfba4e in branch asset-warning.  There are some TODOs remaining before this is ready to merge into the dev branch.

Before merging, lets add unit tests for pulling uploads from the file select, and using them in custom code. It should all be the same but the solution uses a regex pattern that may have different matches for each of the different cases.

OK! This has been merged into main. Closing.


Jm/checkbox update

closes #77 . closes #79. closes #60 .

it has been merged without following contribution guidelines, try to avoid it in future please ☮


Sometimes numTrees has pathpoints with positions that are NaN.

very hard to reproduce,  it only happens in some very specific cases. I'm keeping a breakpoint active to hope to figure out what is happening.

I think this happens since the world refactor #491

So this happens because of division by 0 in numTrees when the maxVel is set to 0.0 in the halt state.

should be fixed in #495


Added configuration option to ignore project Dockerfiles

The PR provides a configurable solution for Issue #998.

@samtrion Thanks for the submission!  As I mention in the related issue, I'm not sure adding a "ignore Dockerfile" flag would be the best approach, unless your use case is that you really don't want Tye to use the existing Dockerfile.  Rather, if the real issue is that Tye won't work with your existing Dockerfile, I'd rather see that addressed, either by defaulting instead to the current practice of using multi-stage Dockerfiles (existing or not), and/or adding a flag to the service configuration or tye build|deploy command for explicitly choosing single- or multi-stage.

@philliphoff Unfortunately I have the experience that the Project own Dockerfile often gets no ❤ / maintenance. It is simply a dead piece of code / configuration, or the Dockerfiles created by Tye run much cleaner / more stable. (👏 Thank you very much for that)
Currently I have exactly this case, I need for my complete product among other things 3 microservices, which are developed by other teams. Unfortunately they don't maintain the project's own Dockerfile and don't accept external PR's to delete, rename or even update them. I helped myself for a while by including a delete script in the build process. However, that is now not a solution either, as we are deploying a new component with a heavily customized dockerfile, which was also deleted as a result. It was just not the right approach.
I also usually prefer to fix something that doesn't work. However, there will certainly always be cases where this is not possible. Like codefreeze, stubborn maintainers or just lack of permissions.


prod build fails, file missing in typeScript compilation even so it's there, normal build works

🐞 Bug report
Command (mark with an x)

- [x] build
- [x] serve

Description
"ng build" works, but "ng build --prod" throws error about missing file.
When I disable aot in angular.json / production configuration the error doesn't occur
In tsconfig.app.json I tried to include that file with 'include' or 'files' and many different paths (./app   app/   src/app/) but that doesn't help.
🔥 Exception or Error

ERROR in ./src/app/model/generated-dto.d.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: D:\projects\eclipse\x2\x-frontend\src\app\model\generated-dto.d.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (D:\projects\eclipse\x2\x-frontend\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:752:23)
    at plugin.done.then (D:\projects\eclipse\x2\x-frontend\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at
    at process._tickCallback (internal/process/next_tick.js:188:7)

🌍 Your Environment

Angular CLI: 6.2.9
Node: 8.11.2
OS: win32 x64
Angular: 6.1.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.13.0
@angular-devkit/build-angular     0.13.0
@angular-devkit/build-optimizer   0.13.0
@angular-devkit/build-webpack     0.13.0
@angular-devkit/core              7.3.0
@angular-devkit/schematics        0.8.9
@angular/cli                      6.2.9
@ngtools/webpack                  7.3.0
@schematics/angular               0.8.9
@schematics/update                0.8.9
rxjs                              6.0.0
typescript                        2.9.2
webpack                           4.29.0

Anything else relevant?
I read about everything on stackoverflow and github issues but didn't find anything that fixes the error.
A few relevant files of our project:
tsconfig.app.json

{
	"extends": "../tsconfig.json",
	"compilerOptions": {
		"outDir": "../out-tsc/app",
		"module": "es2015",
		"types": []
	},
	"exclude": [
		"test.ts",
		"**/*.spec.ts"
	],
	"include": [
		"app/model/generated-dto.d.ts",
		"main.ts",
		"polyfills.ts"
	]
}

tsconfig.json

{
  "compileOnSave": false,
  "compilerOptions": {
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2017",
      "dom"
    ]
  }
}

angular.json

{
	"$schema"<EMAIL_ADDRESS>	"version": 1,
	"newProjectRoot": "projects",
	"projects": {
		"x-frontend": {
			"root": "",
			"sourceRoot": "src",
			"projectType": "application",
			"prefix": "app",
			"schematics": {

			},
			"architect": {
				"build": {
					"builder": "@angular-devkit/build-angular:browser",
					"options": {
						"outputPath": "dist/x-frontend",
						"index": "src/index.html",
						"main": "src/main.ts",
						"polyfills": "src/polyfills.ts",
						"tsConfig": "src/tsconfig.app.json",
						"assets": [
							"src/assets"
						],
						"styles": [
							"node_modules/bootstrap/dist/css/bootstrap.min.css",
<EMAIL_ADDRESS>						],
						"scripts": []
					},
					"configurations": {
						"production": {
							"fileReplacements": [
								{
									"replace": "src/environments/environment.ts",
									"with": "src/environments/environment.prod.ts"
								}
							],
							"optimization": true,
							"outputHashing": "all",
							"sourceMap": false,
							"extractCss": true,
							"namedChunks": false,
							"extractLicenses": true,
							"vendorChunk": false,

							"aot": true,
							"buildOptimizer": false
						}
					}
				},
				"serve": {
					"builder": "@angular-devkit/build-angular:dev-server",
					"options": {
						"browserTarget": "x-frontend:build"
					},
					"configurations": {
						"production": {
							"browserTarget": "x-frontend:build:production"
						}
					}
				},
				"extract-i18n": {
					"builder": "@angular-devkit/build-angular:extract-i18n",
					"options": {
						"browserTarget": "x-frontend:build"
					}
				},
				"test": {
					"builder": "@angular-devkit/build-angular:karma",
					"options": {
						"main": "src/test.ts",
						"polyfills": "src/polyfills.ts",
						"tsConfig": "src/tsconfig.spec.json",
						"karmaConfig": "src/karma.conf.js",
						"styles": [],
						"scripts": [],
						"assets": [
							"src/assets"
						]
					}
				},
				"lint": {
					"builder": "@angular-devkit/build-angular:tslint",
					"options": {
						"tsConfig": [
							"src/tsconfig.app.json",
							"src/tsconfig.spec.json"
						],
						"exclude": [
							"**/node_modules/**"
						]
					}
				}
			}
		},
		"x-frontend-e2e": {
			"root": "e2e/",
			"projectType": "application",
			"architect": {
				"e2e": {
					"builder": "@angular-devkit/build-angular:protractor",
					"options": {
						"protractorConfig": "e2e/protractor.conf.js",
						"devServerTarget": "x-frontend:serve"
					}
				},
				"lint": {
					"builder": "@angular-devkit/build-angular:tslint",
					"options": {
						"tsConfig": "e2e/tsconfig.e2e.json",
						"exclude": [
							"**/node_modules/**"
						]
					}
				}
			}
		}
	},
	"defaultProject": "x-frontend"
}

Thanks for your help.

Shortly after posting the issue I found a "Solution" (https://www.youtube.com/watch?v=XmE--YwyzV4). Basically just remove every line where I imported the said file and then reimported it based on the types I need it for. I have no clue how this helped, at least a few imports were removed in the process, still it doesn't really seem to make a logical difference except that the prod build now works.
Cheers

And again it happened. Same error message as first time. This time I found the problem much quicker:
It was again some import which was not required and caused the issue somehow:
This is my git change:
-import {RentalParty, Payment, AssignPaymentsRequest} from '../../../model/generated-dto.d';
+import {Payment} from '../../../model/generated-dto.d';

So my best guess is the compiler tries to complain about unused imports but fails to generate a reasonable error message. I might try to write a small example to reproduce this easily when I find the time.

update: I modified tsconfig.json as follows:
"compilerOptions": {
	"noUnusedLocals": true,
	"noUnusedParameters": false,
	....
}

Like this I get to see all unused imports and this time it fixed the build again.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


travis: correct wget over http

Use a a protocol that is not susceptable to man-in-the-
middle attacks for downloading a binary to the CI server.
Signed-off-by: William Roberts<EMAIL_ADDRESS>

Thumbs up for the use of https but given Sourceforge's security record you may want to check the hash of the tarball too before you build it :stuck_out_tongue_winking_eye:

Yeah we should, not really sure how those travis files work.

Good catching! thanks for the fix.


[BugFix] Fix BE hive csv reader OOM and Hang when field_delim=''

If user create a table in Hive like:
CREATE TABLE `csv_oom`(
  `id` int,
  `val` int,
  `label` int)
ROW FORMAT SERDE
  'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
WITH SERDEPROPERTIES (
  'field.delim'='',
  'serialization.format'='') stored as textfile;

We will pass field.delim='' to BE, then BE will into an infinite loop in csv_reader.cpp CSVReader::split_record.
We will add elements into columns infinitely until BE OOM.
What type of PR is this:

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

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[x] 3.1
[x] 3.0
[x] 2.5
[x] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 13 / 13 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
13
13
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 13 / 13 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
13
13
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4


Ground Ingest

A pipeline to extract metadata from files stored in HDFS and store it in Ground with Kafka as the intermediary.

I left a bunch of comments in line with feedback. In general, there are bunch of formatting issues, and it seems like a lot of files are duplicated (the config files in particular). All this stuff should be under the plugins directory as well.
We definitely need more tests here, both unit tests and end-to-end tests.
Lastly, a lot of the code that you've added is named a little confusingly, so we need to add a bunch of documentation explaining what each of these chunks is actually doing.


Add dry-run parameter

This PR contains the changes proposed in #8 but split into two PRs: one for each proposed feature. This one provides the dry-run option to only print ont the IDs of packages to be deleted without actually performing any destructive actions. We find this useful to test out CI settings without causing permanent package deletions.

Hello @Hsn723
We have released a major update for this action. Could you please rebase your changes against main and submit the PR again?

Hi, I see there are 2 of these pull requests (#119  ) but none of the was ever merged. I would love to have this feature. Any chance of getting either of these revived and merged?


the bootstrap MaxCDN link is not right

Challenge Name
Use Responsive Design with Bootstrap Fluid Containers
https://www.freecodecamp.com/challenges/use-responsive-design-with-bootstrap-fluid-containers
Issue Description
the bootstrap MaxCDN link is not right
Browser Information

Browser Name, Version: chrome V51.0.2704.79
Operating System: Windows 7
Mobile, Desktop, or Tablet: Desktop

Your Code

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
it should be:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>

@the94air thanks for the issue. This is a common way to tell the browser to just use whatever hypertext protocol is has. See more here http://stackoverflow.com/a/9646435/6873133. Happy coding!

I didn't know that before.Thanks


shutdown_timeout is not accepted

When passing shutdown_timeout as an option Bandit refuses to start with the following error message:
Unsupported keys(s) in options config: [:shutdown_timeout]

After a quick search through the code the only reference to :shutdown_timeout is in the docs. It doesn't seem to be used for anything in practice.
Is this still not implemented?

shutdown_timeout is an underlying Thousand Island concern, implemented here. The issue you identified is that Bandit wasn't passing the option through to Thousand Island.
This has been fixed in 0.7.5, just released.
Thanks for the issue!

Great, thank you!


ScrollableTabs heading breaks the line

This issue is for the same problem as #2225
It was closed, but problem is not fixed.
I use renderTabBar={()=> } but line break occures in Tab heading text.
I am using code from documentation documentation
import React, { Component } from 'react';
import { Container, Header, Tab, Tabs, ScrollableTab, Text} from 'native-base';
export default class TestTabs extends Component {
    render() {
        return (
            <Container>
                <Header hasTabs/>
                <Tabs renderTabBar={()=> <ScrollableTab />}>
                    <Tab heading="Tab1">
                        <Text>Tab1</Text>
                    </Tab>
                    <Tab heading="Tab long long name">
                        <Text>Tab2</Text>
                    </Tab>
                    <Tab heading="Tab long long long name">
                        <Text>Tab3</Text>
                    </Tab>
                    <Tab heading="Tab long long long name">
                        <Text>Tab4</Text>
                    </Tab>
                    <Tab heading="Tab long long long long name">
                        <Text>Tab5</Text>
                    </Tab>
                </Tabs>
            </Container>
        );
    }
}

Try to scroll to third tab and line break will occure.
native-base version - "native-base": "^2.7.2"

Problem occures when using custom theme
variables.js.zip

This is with NativeBase default theme

This is with the variable.js file that you shared above

Worked fine in both case

I replaced custom theme and all tabs are ok

I said i tried with the theme that you shared, and it worked fine

How dd'nt it work for you?

I created another theme
commonColor.custom.js.zip
With old theme it doesn't work.
Did you try with "native-base": "^2.7.2"?

Yes i tried with NativeBase 2.7.2
Sorry i cant test with this theme

I replace import external config. You can try theme file below.
commonColor.custom.js.zip

Facing the same issue, @dmitryermichev were you able to fix it ?

Hi I Have a same probleme on android device @dmitryermichev  How do you ix it?


Allow all Event functions to be called

Currently, only preventDefault can be called with a predicate or comparator object. It would be very easy and helpful to expand that to other functions like stopPropagation

Have there been any requests with actual use cases for this?

I need it for my app :)

Sounds like a reasonable thing to do.
Maybe @aronallen would also have some input on this?

Apparently Drew Deal also had this need https://gitter.im/cyclejs/cyclejs?at=59f257ddb20c642429510368

@staltz I already implemented this, but I have haven't had use of it yet.
I also can invoke blur with the same API, but I think we need a different way to invoke methods on DOM elements.

I'm all ears :)
What would be the ideal way of invoking methods on DOM elements? Reminds me when @abaco suggested that these things happen in a driver. I'm not suggesting that we should move them in a driver, but I'd like to see all the possible alternative solutions.

DOM event mutation is a write effect, so according to Cycle's principles it should go through a sink. That said, there are valid reasons to make an exception in this case. I see two separate motivations:

Convenience: using the current preventDefault API involves changing only one line of code, while a specific driver requires modifications in all components up to the root.

Serializability: the comparator object is serializable - that's necessary in Aron's cycle-sandbox, but it may have other uses.

I'm not sure that serializability requires that the event mutation happen through a source. Maybe it could happen through a sink. For instance if the DOM driver provided serializable representations of the events instead of the actual DOM events, one could emit these representations through a sink and have the driver retrieve the corresponding DOM events and manipulate them. So convenience and serializability might be independent requirements, at least in theory.
Let's also keep in mind that there will be always cases that require a specific driver, for instance when the predicate is not only a function of the event but also of some other source. The question is then whether we want to leave those cases to the user to handle, or it makes sense to implement this feature in an official driver.
The question of invoking methods on DOM elements (e.g. blur) is a separate one. The best way as of now is through snabbdom hooks - but hooks aren't serializable. A possible solution could involve emitting actions such as: {type: 'blur', key: 'xyz'}, where key is the the snabbdom key of the virtual DOM element, so that snabbdom would understand which element we're referring to.
I'm beginning to think the ideal solution to invoke methods on both DOM events and elements would be through a new DOM driver, that would accept action objects like {type: 'stopPropagation', event: serializedEvent} and {type: 'blur', key: 'xyz'} in addition to the usual virtual DOM tree.

👍 to the double DOM driver from the last paragraph. I actually used this idea for https://github.com/staltz/cycle-native-navigation some time ago. Perhaps it's a pattern we can explore more often.

DOM event mutation is a write effect, so according to Cycle's principles it should go through a sink.

This is probably more correct approach than passing {preventDefault: true} to DOM source events selector. Because what we are saying to DOM is that we want this element to emit events in a certain state, and this will actually effect all the events of a particular type.
And currently, this can be done using snabbdom eventlisteners module:
{
 on: {click: (ev) => ev.preventDefault(); ev.stopPropagation();}
}

To make this declarative, it too can be done by either

making new shabbdom modules, that can handle declarative commands
or probably cycle/DOM could convert this to eventslistener handlers and hooks for this task:

The question of invoking methods on DOM elements (e.g. blur) is a separate one. The best way as of now is through snabbdom hooks - but hooks aren't serializable. A possible solution could involve emitting actions such as: {type: 'blur', key: 'xyz'}, where key is the the snabbdom key of the virtual DOM element, so that snabbdom would understand which element we're referring to.

but second option will require cycle/DOM to traverse and mutate/update passed vtree each time.

@whitecolor I think having preventDefault and stopPropagation on the source makes sense to avoid an extra level of indirection. After all you are most likely still interested in the event: (preventDefault :: Event -> IO Event), whereas blur, focus and other functions like this should be in a sink as an explicit write effect.

The problem with current approach is:
DOM.select('input').events('click', {preventDefault: true})

// and then somewhere:
DOM.select('input').events('click') // still will be default prevent, this is a kind of declarative inconsistency

extra level of indirection.

Well, this is what many people blame cycle for. But at the same time what makes it consistent.

This problem would still not be solved with a driver calling preventDefault as it runs synchronous and both selects are receiving the same event. That's just how the DOM API works.

I'm trying to solve the "problem" of how DOM events works in this case. I'm saying about code consistency. If you say in sink that click events this elemennt should be default prevented you say it one time in the code, in one place and all the event readers will get the same result inconsistent manner.

Relevant discussion: https://github.com/staltz/experiment-push-pull-cyclejs/issues/5
Where Aron proposed the source-provided operator:
domSource.invoke(methodName: string, arguments$: Stream<any>) => Stream<ReturnValue[]>

@staltz what do you think about the issue I pointed at in the comment?
The same issue will be actual with any method "invoked" using the source. I think this approach is quite illegal/inconsistent and invoking methods on the elements (preventDefault as well) should be done through DOM sink. Maybe there are reasons to make it through the source, but I don't see them.

@whitecolor the name invoke is perhaps misleading, because it's actually an operator, and the returned stream is supposed to be sent to sinks, and only there would the actual preventDefault occur.

@staltz a better name would perhaps be .effect('blur')(blur$)

@staltz

supposed to be sent to sinks, only there would the actual preventDefault occur.

preventDefault happens in a driver, the question is how in a code this instruction is sent there.
do you see the inconsistency of the code?
DOM.select('input').events('click', {preventDefault: true})

// and then somewhere without `preventDefault` still will be default prevented
DOM.select('input').events('click')

or you think this is quite ok?

Yes @whitecolor I understand that problem, but that's not what invoke() proposal is about. That's what we're discussing here, whether to do the original proposal by Jan, or to do something like invoke operator, sending to sinks.

@staltz I still imagine the side effect happening in the "source" but only happening if the stream is a sink dependency.
The source implementation would look something like this
// selection is the current .select('') scope of DOM
(method: string): => {
  return (stream$) => {
    return stream$
        .map(arguments =>
           selection.forEach(apply(method, arguments)))
  }
}

@aronallen
The point is, that it does not really happen in the source. Just because you attach it to the source prototype, it does not actually happens in the source.
Take the preventDefault example. There, the driver calls the method before the event enters your app. Likewise a blurDriver executes the effects after they left your app. Your app stays pure. But invoke is basicly the same as map(ev = { ev.method(); return ev; }) in disguise.
Loosing purity means loosing testability, something we (at least I) dont want.
You see the problem of you try to mock your invoke() method. You would basicly be forced to use JSDom or use spies everywhere.

@jvanbruegge I agree that it is essentially a side-effect in disguise.
I would like to clarify that I like the current preventDefault API for Events, and think that it should be extended to stopPropagation and stopImmediatePropagation.
But for invoking methods on elements, I like my proposed effect API. It provides Stream operators as @staltz mentioned, in essence it is not much different than @cycle/time.

That's what we're discussing here, whether to do the original proposal by Jan, or to do something like invoke operator, sending to sinks.

Proposed invoke() API is actually the same thing as current preventDefault API for events operator. If I understand correctly @jvanbruegge just proposed to extend current API with something like events('click', {stopPropagation: true}). But this is a write API, that causes potential inconsistency in code.
So I also stand that current events API is not consistent, and potentially should be depricated/replaced, with something like:
DOM: of(div({
   on: {
     click: { preventDefault: true }
   }
}))

Or for invoking effects:
DOM: of(div({
   effect: { // this thing will be implemented using `hooks` internaly
     blur:  blur$
   }
}))

@whitecolor how is invoke the same as events?

@staltz

how is invoke the same as events

DOM.invoke('blur',..) - changes the state of the element and DOM.events('click', {preventDefault: true}) - actually change the state of the element causing all click events on the element to be default prevented. So they both actually effect the state, which should not be done through source's operator methods, which are supposed to be read only methods.

The way I understand invoke is that domSource.invoke('blur') would return willBlur$ of type Stream<[Element, string]> and then once you pass it as sinks...
const sinks = {
  DOM: vdom$,
  DOMInvoke: willBlur$,
}

Then the DOMInvoke driver would get element: Element and method: string and call element[method]().
Notice this is a simplification because I didn't use arguments, but they can be added. And my suggestion differs from Aron's suggestion because in this case we ignore the return value of element[method]().

I thought of having another sink, but I think it would be less intuitive. Then we would need one way to invoke methods or read properties where you don’t care about the return value, and another to invoke methods or write properties. Technically both read and write should be sinks, because they can both trigger side effects in the DOM. But I am thinking of how we can have a general way to manage Element side effects (reads and writes, getters and setters) where we let the driver do the actual side effect, and all you do is to tell the driver what you want. Invoke blur at this interval. Read offsetLeft 1 second after a click. Set className to this value when the following conditions are true. Some off these invocations could be dangerous like removeChildren.

I don't see any reason for additional drivers here, this is an unnecessary complication. Blur effect is just DOM effect that removes cursor/focus from the element. I really don't see the problem here with invoking this side effect with current API, it can be improved to be more declarative but not the way proposed. =)

Invoke blur at this interval.

Like any changes of the state in DOM is currently done:
DOM: blur$.map(blur => input({
   hook: {
     update:  ({elm} => elm.blur())
   }
}))

I see inconsistency issue with the current API of events read operator that causes side DOM effect (preventDefault).

@whitecolor @staltz
So I tried to put my ideas into code.
This is my attempt at a DOMDriver.
https://github.com/aronallen/cycle-doom

@aronallen
I really don't see a reason to introduce new entity ( a driver that does DOM "effects"), this is all can be done using current API. It is not stated what is wrong or lacking in current API (with an example case which can not be implemented using current API) or what its drawbacks.

@whitecolor, as mentioned in the readme, i need this as my Cycle application is running in its own thread, and function references cannot be transferered between threads.
Reading properties from Elements or Events, writing properties, or calling getters or setters are essentially side-effects, and these interactions should be declared in my component, but not executed.

@aronallen I've answered in another thread, as this one is about (though related) but different issue.


⚠ Bofrost.be has degraded performance

In aab8d28, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 958 ms

Resolved: Bofrost.be performance has improved in 414f927 after 8 minutes.


feat: include server for self hosted

 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.