tf and bfl: do_compile fails with boost::serialization error with boost 1.64

OpenEmbedded-Core updated boost to version 1.64 [1]. The two packages tf and bfl both include boost/numeric/ublas, which seems not to properly compile with boost version 1.64.
I already reported the issue with tf on the ros/geometry issue tracker at: https://github.com/ros/geometry/issues/146
Concerning the bfl issue, I did not report anything to the bfl project/maintainers yet.
bitbake tf fails during compiling with:
| In file included from /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/vector.hpp:21:0,
|                  from /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/matrix.hpp:18,
|                  from /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/geometry-1.11.8/tf/src/transform_listener.cpp:34:
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp: In member function 'void boost::numeric::ublas::unbounded_array<T, ALLOC>::serialize(Archive&, unsigned int)':
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp:299:18: error: 'make_array' is not a member of 'boost::serialization'
|              ar & serialization::make_array(data_, s);
|                   ^~~~~~~~~~~~~
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp: In member function 'void boost::numeric::ublas::bounded_array<T, N, ALLOC>::serialize(Archive&, unsigned int)':
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp:494:18: error: 'make_array' is not a member of 'boost::serialization'
|              ar & serialization::make_array(data_, s);
|                   ^~~~~~~~~~~~~

And similarly for bfl, a similar error occurs:
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/bfl/0.7.0-6-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp:299:18: error: 'make_array' is not a member of 'boost::serialization'
|              ar & serialization::make_array(data_, s);
|                   ^~~~~~~~~~~~~

The failing build configuration is:
Build Configuration:
BB_VERSION        = "1.33.4"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "ubuntu-14.04"
TARGET_SYS        = "i586-oe-linux"
MACHINE           = "qemux86"
DISTRO            = "nodistro"
DISTRO_VERSION    = "nodistro.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              = "master:c59fa3bd71b42410bf032846ee8fdb6e6eb1b95c"
meta-oe
meta-multimedia
meta-python       = "master:fc03b3d9382dd5b6a8fff5f84e4c86a1acc9a73a"
meta-ros          = "boost-update-to-1.64:118a1d072872cd1c7b013e9ff1545116a7703627"

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=9ba71dc40dd782d192504b0827ca91f0fe180abe

This patch [1] fixes the issue. I'll submit a backport to OE-core.
[1] https://github.com/boostorg/serialization/commit/1d86261581230e2dc5d617a9b16287d326f3e229

Submitted https://patchwork.openembedded.org/patch/139856/

The tf package could be easily addressed to work around the issue. Then, I also encountered another issue in the laser-geometry package.
However, it is much better to just get boost properly working again. I am currently testing the proposed boost patch with meta-ros.

I tested the boost patch successfully with this build configuration:
Build Configuration:
BB_VERSION        = "1.33.4"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "ubuntu-14.04"
TARGET_SYS        = "i586-oe-linux"
MACHINE           = "qemux86"
DISTRO            = "nodistro"
DISTRO_VERSION    = "nodistro.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              = "boost-1.64-fix:313410a3130272edf9c6d5155b27967e272ce16d"
meta-oe
meta-multimedia
meta-python       = "master:fc03b3d9382dd5b6a8fff5f84e4c86a1acc9a73a"
meta-ros          = "master:36eb1dd4f23f4a65827aea12258b4fbc7f751dc1"

The commit that resolves this issue has been finally merged to openembedded-core, cf. http://cgit.openembedded.org/openembedded-core/commit/?id=e1da4cc99e57c596b2a354767cc1e261718dac52.

Issue is resolved in the openembedded-core repository for quite some time; so we expect that users will not encounter the issue if they update to recent versions.


Provide basic Issue Templates/Links

In order to avoid questions on the issue-tracker, templates can be used. Provide a basic template/link.
(I can do this within the next days)

The project doesn't use the issues list for usage questions and getting help, but we often leave the issues open in case somebody can help.

If nobody can help, eventually the issue like the one referenced here is closed with a comment like the following:

Please reserve Fabric issue list for code issues.
For getting community help, see
https://hyperledger-fabric.readthedocs.io/en/latest/CONTRIBUTING.html#communications-and-getting-help

Originally posted by @denyeart in https://github.com/hyperledger/fabric/issues/4140#issuecomment-1494552050

I think the two important issue categories are "Bug Report" which you have, and "Proposed Work Item". Could you add the latter? It could go to a blank entry.
https://github.com/hyperledger/fabric/pull/4144#issuecomment-1494828754

The quasi-standard on github is bug (labeled 'bug'), and Feature Request (labeled Enhancement).
For "Proposed Work Item", could you elaborate a little bit, so I can add an explanation. (who proposes this? if its the visitors, than an Enhancement/Feature Request would be more appropriate. If its for the Team, the ok.)

#4144 merged as a first pass on the issue template, thanks @abebeos .
Concerning a second button, I was envisioning it to be used by core contributors for "todos" and "improvements", as well as for public users for "feature requests", hence the generic name. But you're right, let's add two more buttons to make them clear, how about:

"Feature Request" (enhancement label)

and

"Other work item" (no label)

Both could use a blank template, so the only real difference would be the automatic enhancement label.
Thanks again for helping to improve the user community experience.

Also, I'm not seeing the "Support, Help, Questions, Chat" button. Maybe the about field is required under contact_links.
See the example at https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser.

It should appear, did in other repos. Will take a look later.

Thanks @abebeos , looks really good now!


GraphQL filtering clauses using cppgraphqlgen.

I am trying to generate code for a GraphQL schema with the most recent schemagen compiler.
The schema is as follows:

input IntFilter {
  eq: Int
  in: [Int]
  le: Int
  lt: Int
  ge: Int
  gt: Int
}

input StringFilter {
  in: [String]
  eq: String
}

type Person {
  name: String
  age: Int
  city: String
}

input PersonFilter {
  name: StringFilter
  age: IntFilter
  city: StringFilter
  and: PersonFilter
  not: PersonFilter
  or: PersonFilter
}

type PersonQuery {
  persons(filter: PersonFilter): [Person!]
}

schema {
  query: PersonQuery
}

I get the following error:
$ /vcpkg/installed/x64-linux/tools/cppgraphqlgen/schemagen --schema cyclic.graphql --prefix Person --namespace person
Input object cycle type: PersonFilter

With cppgraphqlgen version 3.5, I was able to generate a schema that was although not compiled as it is but I was able to modify it to support this use case. For example, it gave me:

struct PersonFilter
{
        std::optional<StringFilter> name;
        std::optional<IntFilter> age;
        std::optional<StringFilter> city;
        std::optional<PersonFilter> and;
        std::optional<PersonFilter> not;
        std::optional<PersonFilter> or;
};

which I was able to modify to
struct PersonFilter
{
        std::optional<StringFilter> name;
        std::optional<IntFilter> age;
        std::optional<StringFilter> city;
        std::unique_ptr<PersonFilter> and_;
        std::unique_ptr<PersonFilter> not_;
        std::unique_ptr<PersonFilter> or_;
};

and then make my app compile and work as expected.  I want to migrate to the newer version of cppgraphqlgen but I am not sure how to get around this new behavior introduced in schemagen. My questions are:

Given that the above schema is valid GraphQL. Does it make sense to support this usecase?
If for some reason this usecase is not supported then can someone suggest a workaround that does not involve forking this library and modifying schemagen?

Thanks in advance.

The issue in the latest version is #225. The issue that you're seeing in v3.x is a matter of not recognizing the alternate C++ keywords/tokens, which was fixed in main for #209, but never backported to v3.x.

Both issues should be fixed now in main, please give this another try. Thanks!


HOCS-6603 CCT Triage Accept - Transfer to CCH

Changes value of the transfer to CCH to No to restore backwards compatibility on existing cases

Closed as hotfix applied.


[WIP] Removing time flipping and time flow state

Addresses #569
Refactoring so that models always store time varying data in time-forward format.
'Backwards time' is to be a matter internal to dynamic programming solvers.
It would also be possible to have a report method that reports this data in a time backwards way if that's important for presentation.
There are a few failing tests in this PR at the moment--honestly fewer than I expected.
They seem mostly due to lifecycle and cyclical models.
I wonder if @mnwhite has any ideas about how time flipping interacts with those cases so that I can go make the necessary corrections.

As long as you are tackling this, I'd propose that you investigate whether there might be some standardized  data structures for representing time-varying data.  For example, for time series econometrics tools, there is often a way to represent data that "understands" that an interval (of, say, a year" can be divided into subintervals (like, say, quarters, months, weeks, days) which should then aggregate back up to the full interval.  It would not be hard to persuade me that using such structures would be overkill from our perspective.  But maybe there are lightweight standards that would work well.
This is actually something of a substantive issue, because one of the challenges facing the literature at the moment is the choice between the use of continuous time methods and discrete time methods.  Any choices that we can make that would ease the comparison between continuous time and discrete time solutions might prove useful down the road.

@llorracc There's an easy answer to your question. It's pandas
https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html
It's very widely used. I've used it in both finance and communications analytics.
I'm glad you brought this up. Pandas could be a useful backend for a lot of things. It has some nice integration with Jupyter notebooks and is considered part of the same software ecosystem.
I'm trying to make incremental steps so that we can do thorough testing and review before changing core functionality. So I don't think I'll swap in a Pandas backend in this PR or issue. But I'll keep it in mind if it looks viable in future work.

Great, I've used pandas a good bit already, but did not realize that it has special facilities for handling time series data (which is I think what you are saying?)

Yes. I've linked to its documentation on that topic.

Ok, I have traced the discrepancies in one of the tests:
The test in test_ConsIndShockSolverBasic is failing because there is a difference in solver.vPfuncNext when the time reversal logic is removed (as per this PR).

This backs up to a difference in LifecycleExample.solution[1].vPfunc

Ah, ok, now I see...
ConsIndShockSolver, and I assume most of the other solvers, have been written with the assumption that the time varying parameters will be flipped backwards at the time when solve() is run.
Wow.

None of the solvers themselves work that way.  It's
HARK.core.AgentType.solve and HARK.core.solveOneCycle that work this way.
That's what needs to change, nothing in the model files.
On Sun, Mar 15, 2020 at 7:38 PM Sebastian Benthall<EMAIL_ADDRESS>wrote:

Ah, ok, now I see...
ConsIndShockSolver, and I assume most of the other solvers, have been
written with the assumption that the time varying parameters will be
flipped backwards at the time when solve() is run.
Wow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/pull/570#issuecomment-599281590, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRAFNJKAGXJ5HIYNEJN5DRHVRGDANCNFSM4LLFF2RA
.

Ah, that's a relief. I must have been misreading earlier.

I'm requesting a review from @mnwhite .
The tricky part was the loop in solveOneCycle.
I've added some more tests for this code to make sure it's tight.

@mnwhite: It seems like this might break a bunch of things?

@llorracc This PR does not break anything currently covered by the automated tests in HARK.
It is possible that some custom code built on top of HARK might break.
This is always a risk when changing HARK, and why it is a good idea to pin downstream code that is not being actively maintained to a stable release version.

Any objection to my merging this PR? It has been sitting for 12 days.

Sorry, pandemic has drawn my attention onto a time-sensitive project.  It
will be days before I get a chance to look at this meaningfully.
If current solver tests run (on a model with cycles=1), then the only thing
this could break is other projects that use HARK but specified their
lifecycle parameters from end to start (no one does this).  It would also
break any AgentType subclasses that people wrote privately, if they
remembered to do time_flow checking in their updateXXX() methods.
On Tue, Apr 7, 2020 at 8:35 AM Sebastian Benthall<EMAIL_ADDRESS>wrote:

Any objection to my merging this PR? It has been sitting for 12 days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/pull/570#issuecomment-610360588, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRAFL6IZBEWKACXQ2TUV3RLMM2TANCNFSM4LLFF2RA
.


Unable to install PHP5, exit status = 100

I tried installing easy engine on Ubuntu 14.04, Amazon EC2 instance. When I entered the command sudo ee stack install it gave me the error.
Here's the complete output from the server, from starting to end.
ubuntu@ip-172-31-40-26:~$ wget -qO ee rt.cx/ee && sudo bash ee
Executing apt-get update, please wait...
Creating EasyEngine (ee) log directory, please wait...
Installing required packages, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
bc is already the newest version.
coreutils is already the newest version.
curl is already the newest version.
ed is already the newest version.
tar is already the newest version.
wget is already the newest version.
The following extra packages will be installed:
  fontconfig fontconfig-config fonts-dejavu-core fonts-liberation git git-man
  libcairo2 libcdt5 libcgraph6 libdatrie1 liberror-perl libfontconfig1 libgd3
  libgraphite2-3 libgvc6 libgvpr2 libharfbuzz0b libice6 libjbig0
  libjpeg-turbo8 libjpeg8 libltdl7 libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libsm6 libthai-data libthai0
  libtiff5 libvpx1 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4
  libxrender1 libxt6 x11-common
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn gsfonts graphviz-doc
  libgd-tools ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp
  ttf-arphic-gkai00mp ttf-arphic-bkai00mp
The following NEW packages will be installed:
  fontconfig fontconfig-config fonts-dejavu-core fonts-liberation git git-core
  git-man graphviz libcairo2 libcdt5 libcgraph6 libdatrie1 liberror-perl
  libfontconfig1 libgd3 libgraphite2-3 libgvc6 libgvpr2 libharfbuzz0b libice6
  libjbig0 libjpeg-turbo8 libjpeg8 libltdl7 libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libsm6 libthai-data libthai0
  libtiff5 libvpx1 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4
  libxrender1 libxt6 python-software-properties x11-common
0 upgraded, 43 newly installed, 0 to remove and 4 not upgraded.
Need to get 10.2 MB of archives.
After this operation, 43.4 MB of additional disk space will be used.

Fetched 10.2 MB in 1s (7378 kB/s)
Selecting previously unselected package fonts-dejavu-core.
(Reading database ... 51065 files and directories currently installed.)
Preparing to unpack .../fonts-dejavu-core_2.34-1ubuntu1_all.deb ...
Unpacking fonts-dejavu-core (2.34-1ubuntu1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.0-0ubuntu4.1_all.deb ...
Unpacking fontconfig-config (2.11.0-0ubuntu4.1) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.0-0ubuntu4.1) ...
Selecting previously unselected package libpixman-1-0:amd64.
Preparing to unpack .../libpixman-1-0_0.30.2-2ubuntu1_amd64.deb ...
Unpacking libpixman-1-0:amd64 (0.30.2-2ubuntu1) ...
Selecting previously unselected package libxcb-render0:amd64.
Preparing to unpack .../libxcb-render0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-render0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxcb-shm0:amd64.
Preparing to unpack .../libxcb-shm0_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-shm0:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxrender1:amd64.
Preparing to unpack .../libxrender1_1%3a0.9.8-1_amd64.deb ...
Unpacking libxrender1:amd64 (1:0.9.8-1) ...
Selecting previously unselected package libcairo2:amd64.
Preparing to unpack .../libcairo2_1.13.0~20140204-0ubuntu1_amd64.deb ...
Unpacking libcairo2:amd64 (1.13.0~20140204-0ubuntu1) ...
Selecting previously unselected package libdatrie1:amd64.
Preparing to unpack .../libdatrie1_0.2.8-1_amd64.deb ...
Unpacking libdatrie1:amd64 (0.2.8-1) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.0-2ubuntu4.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.0-2ubuntu4.1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.1_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.3-7ubuntu0.1) ...
Selecting previously unselected package libvpx1:amd64.
Preparing to unpack .../libvpx1_1.3.0-2_amd64.deb ...
Unpacking libvpx1:amd64 (1.3.0-2) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.10-1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.10-1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../libgd3_2.1.0-3_amd64.deb ...
Unpacking libgd3:amd64 (2.1.0-3) ...
Selecting previously unselected package libgraphite2-3:amd64.
Preparing to unpack .../libgraphite2-3_1.2.4-1ubuntu1_amd64.deb ...
Unpacking libgraphite2-3:amd64 (1.2.4-1ubuntu1) ...
Selecting previously unselected package libharfbuzz0b:amd64.
Preparing to unpack .../libharfbuzz0b_0.9.27-1_amd64.deb ...
Unpacking libharfbuzz0b:amd64 (0.9.27-1) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../x11-common_1%3a7.7+1ubuntu8_all.deb ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking x11-common (1:7.7+1ubuntu8) ...
Selecting previously unselected package libice6:amd64.
Preparing to unpack .../libice6_2%3a1.0.8-2_amd64.deb ...
Unpacking libice6:amd64 (2:1.0.8-2) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../libltdl7_2.4.2-1.7ubuntu1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../libthai-data_0.1.20-3_all.deb ...
Unpacking libthai-data (0.1.20-3) ...
Selecting previously unselected package libthai0:amd64.
Preparing to unpack .../libthai0_0.1.20-3_amd64.deb ...
Unpacking libthai0:amd64 (0.1.20-3) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../fontconfig_2.11.0-0ubuntu4.1_amd64.deb ...
Unpacking fontconfig (2.11.0-0ubuntu4.1) ...
Selecting previously unselected package libpango-1.0-0:amd64.
Preparing to unpack .../libpango-1.0-0_1.36.3-1ubuntu1_amd64.deb ...
Unpacking libpango-1.0-0:amd64 (1.36.3-1ubuntu1) ...
Selecting previously unselected package libpangoft2-1.0-0:amd64.
Preparing to unpack .../libpangoft2-1.0-0_1.36.3-1ubuntu1_amd64.deb ...
Unpacking libpangoft2-1.0-0:amd64 (1.36.3-1ubuntu1) ...
Selecting previously unselected package libpangocairo-1.0-0:amd64.
Preparing to unpack .../libpangocairo-1.0-0_1.36.3-1ubuntu1_amd64.deb ...
Unpacking libpangocairo-1.0-0:amd64 (1.36.3-1ubuntu1) ...
Selecting previously unselected package libsm6:amd64.
Preparing to unpack .../libsm6_2%3a1.2.1-2_amd64.deb ...
Unpacking libsm6:amd64 (2:1.2.1-2) ...
Selecting previously unselected package libxt6:amd64.
Preparing to unpack .../libxt6_1%3a1.1.4-1_amd64.deb ...
Unpacking libxt6:amd64 (1:1.1.4-1) ...
Selecting previously unselected package libxmu6:amd64.
Preparing to unpack .../libxmu6_2%3a1.1.1-1_amd64.deb ...
Unpacking libxmu6:amd64 (2:1.1.1-1) ...
Selecting previously unselected package libxaw7:amd64.
Preparing to unpack .../libxaw7_2%3a1.0.12-1_amd64.deb ...
Unpacking libxaw7:amd64 (2:1.0.12-1) ...
Selecting previously unselected package fonts-liberation.
Preparing to unpack .../fonts-liberation_1.07.3-3_all.deb ...
Unpacking fonts-liberation (1.07.3-3) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1_all.deb ...
Unpacking git-man (1:1.9.1-1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1_amd64.deb ...
Unpacking git (1:1.9.1-1) ...
Selecting previously unselected package git-core.
Preparing to unpack .../git-core_1%3a1.9.1-1_all.deb ...
Unpacking git-core (1:1.9.1-1) ...
Selecting previously unselected package libcdt5.
Preparing to unpack .../libcdt5_2.36.0-0ubuntu3_amd64.deb ...
Unpacking libcdt5 (2.36.0-0ubuntu3) ...
Selecting previously unselected package libcgraph6.
Preparing to unpack .../libcgraph6_2.36.0-0ubuntu3_amd64.deb ...
Unpacking libcgraph6 (2.36.0-0ubuntu3) ...
Selecting previously unselected package libpathplan4.
Preparing to unpack .../libpathplan4_2.36.0-0ubuntu3_amd64.deb ...
Unpacking libpathplan4 (2.36.0-0ubuntu3) ...
Selecting previously unselected package libgvc6.
Preparing to unpack .../libgvc6_2.36.0-0ubuntu3_amd64.deb ...
Unpacking libgvc6 (2.36.0-0ubuntu3) ...
Selecting previously unselected package libgvpr2.
Preparing to unpack .../libgvpr2_2.36.0-0ubuntu3_amd64.deb ...
Unpacking libgvpr2 (2.36.0-0ubuntu3) ...
Selecting previously unselected package graphviz.
Preparing to unpack .../graphviz_2.36.0-0ubuntu3_amd64.deb ...
Unpacking graphviz (2.36.0-0ubuntu3) ...
Selecting previously unselected package python-software-properties.
Preparing to unpack .../python-software-properties_<IP_ADDRESS>_all.deb ...
Unpacking python-software-properties (<IP_ADDRESS>) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for ureadahead (0.100.0-16) ...
Setting up fonts-dejavu-core (2.34-1ubuntu1) ...
Setting up fontconfig-config (2.11.0-0ubuntu4.1) ...
Setting up libfontconfig1:amd64 (2.11.0-0ubuntu4.1) ...
Setting up libpixman-1-0:amd64 (0.30.2-2ubuntu1) ...
Setting up libxcb-render0:amd64 (1.10-2ubuntu1) ...
Setting up libxcb-shm0:amd64 (1.10-2ubuntu1) ...
Setting up libxrender1:amd64 (1:0.9.8-1) ...
Setting up libcairo2:amd64 (1.13.0~20140204-0ubuntu1) ...
Setting up libdatrie1:amd64 (0.2.8-1) ...
Setting up libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libjbig0:amd64 (2.0-2ubuntu4.1) ...
Setting up libtiff5:amd64 (4.0.3-7ubuntu0.1) ...
Setting up libvpx1:amd64 (1.3.0-2) ...
Setting up libxpm4:amd64 (1:3.5.10-1) ...
Setting up libgd3:amd64 (2.1.0-3) ...
Setting up libgraphite2-3:amd64 (1.2.4-1ubuntu1) ...
Setting up libharfbuzz0b:amd64 (0.9.27-1) ...
Setting up x11-common (1:7.7+1ubuntu8) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
 * Setting up X socket directories...                                    [ OK ]
Setting up libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Setting up libthai-data (0.1.20-3) ...
Setting up libthai0:amd64 (0.1.20-3) ...
Setting up fontconfig (2.11.0-0ubuntu4.1) ...
Regenerating fonts cache... done.
Setting up libpango-1.0-0:amd64 (1.36.3-1ubuntu1) ...
Setting up libpangoft2-1.0-0:amd64 (1.36.3-1ubuntu1) ...
Setting up libpangocairo-1.0-0:amd64 (1.36.3-1ubuntu1) ...
Setting up fonts-liberation (1.07.3-3) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1) ...
Setting up git (1:1.9.1-1) ...
Setting up git-core (1:1.9.1-1) ...
Setting up libcdt5 (2.36.0-0ubuntu3) ...
Setting up libcgraph6 (2.36.0-0ubuntu3) ...
Setting up libpathplan4 (2.36.0-0ubuntu3) ...
Setting up libgvc6 (2.36.0-0ubuntu3) ...
Setting up libgvpr2 (2.36.0-0ubuntu3) ...
Setting up python-software-properties (<IP_ADDRESS>) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libice6:amd64 (2:1.0.8-2) ...
Setting up libsm6:amd64 (2:1.2.1-2) ...
Setting up libxt6:amd64 (1:1.1.4-1) ...
Setting up libxmu6:amd64 (2:1.1.1-1) ...
Setting up libxaw7:amd64 (2:1.0.12-1) ...
Setting up graphviz (2.36.0-0ubuntu3) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Cloning EasyEngine (ee) stable branch, please wait...
Installing EasyEngine (ee), please wait...

EasyEngine (ee) required your name & email address
to track changes you made under the Git version control
EasyEngine (ee) will be able to send you daily reports & alerts in upcoming version
EasyEngine (ee) will NEVER send your information across
Enter your name [root]: root
Enter your email address<EMAIL_ADDRESS>

For EasyEngine (ee) auto completion, run the following command
source /etc/bash_completion.d/ee

EasyEngine (ee) installed successfully
EasyEngine (ee) help: https://rtcamp.com/easyengine/docs/

ubuntu@ip-172-31-40-26:~$ source /etc/bash_completion.d/ee
ubuntu@ip-172-31-40-26:~$ sudo ee stack install
Adding rtCamp NGINX launchpad repository, please wait...
Adding Ondrej PHP5 launchpad repository, please wait...
Executing apt-get update, please wait...
Installing nginx-custom, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libxslt1.1 nginx-common
The following NEW packages will be installed:
  libxslt1.1 nginx-common nginx-custom
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 595 kB of archives.
After this operation, 1692 kB of additional disk space will be used.
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libxslt1.1 amd64 1.1.28-2build1 [145 kB]
Get:2 http://ppa.launchpad.net/rtcamp/nginx/ubuntu/ trusty/main nginx-common all 1.6.0-1ppa~trusty [65.2 kB]
Get:3 http://ppa.launchpad.net/rtcamp/nginx/ubuntu/ trusty/main nginx-custom amd64 1.6.0-1ppa~trusty [385 kB]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Fetched 595 kB in 2s (230 kB/s)
Selecting previously unselected package libxslt1.1:amd64.
(Reading database ... 52325 files and directories currently installed.)
Preparing to unpack .../libxslt1.1_1.1.28-2build1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2build1) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../nginx-common_1.6.0-1ppa~trusty_all.deb ...
Unpacking nginx-common (1.6.0-1ppa~trusty) ...
Selecting previously unselected package nginx-custom.
Preparing to unpack .../nginx-custom_1.6.0-1ppa~trusty_amd64.deb ...
Unpacking nginx-custom (1.6.0-1ppa~trusty) ...
Processing triggers for man-db (<IP_ADDRESS>-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libxslt1.1:amd64 (1.1.28-2build1) ...
Setting up nginx-common (1.6.0-1ppa~trusty) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up nginx-custom (1.6.0-1ppa~trusty) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Installing PHP, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libc-client2007e libmcrypt4 libonig2 libqdbm14 mlock php-pear php5-json
  php5-readline
Suggested packages:
  uw-mailutils libmcrypt-dev mcrypt libcache-memcached-perl libmemcached
  php5-dev php5-user-cache
The following NEW packages will be installed:
  libc-client2007e libmcrypt4 libonig2 libqdbm14 memcached mlock php-pear
  php5-cli php5-common php5-curl php5-fpm php5-gd php5-imap php5-json
  php5-mcrypt php5-memcache php5-mysqlnd php5-readline php5-xdebug php5-xmlrpc
0 upgraded, 20 newly installed, 0 to remove and 6 not upgraded.
Need to get 6385 kB of archives.
After this operation, 26.3 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  php5-common php5-curl php5-json php5-fpm php5-gd php5-imap php5-mcrypt
  php5-cli php5-readline php5-xmlrpc php5-mysqlnd php-pear php5-memcache
  php5-xdebug
E: There are problems and -y was used without --force-yes
[ Sat Jul 19 12:50:22 UTC 2014 ] Unable to install PHP5, exit status =  100
ubuntu@ip-172-31-40-26:~$ sudo ee stack install
Adding rtCamp NGINX launchpad repository, please wait...
Adding Ondrej PHP5 launchpad repository, please wait...
Executing apt-get update, please wait...
Installing nginx-custom, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
nginx-custom is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Installing PHP, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libc-client2007e libmcrypt4 libonig2 libqdbm14 mlock php-pear php5-json
  php5-readline
Suggested packages:
  uw-mailutils libmcrypt-dev mcrypt libcache-memcached-perl libmemcached
  php5-dev php5-user-cache
The following NEW packages will be installed:
  libc-client2007e libmcrypt4 libonig2 libqdbm14 memcached mlock php-pear
  php5-cli php5-common php5-curl php5-fpm php5-gd php5-imap php5-json
  php5-mcrypt php5-memcache php5-mysqlnd php5-readline php5-xdebug php5-xmlrpc
0 upgraded, 20 newly installed, 0 to remove and 6 not upgraded.
Need to get 6385 kB of archives.
After this operation, 26.3 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  php5-common php5-curl php5-json php5-fpm php5-gd php5-imap php5-mcrypt
  php5-cli php5-readline php5-xmlrpc php5-mysqlnd php-pear php5-memcache
  php5-xdebug
E: There are problems and -y was used without --force-yes
[ Sat Jul 19 12:51:15 UTC 2014 ] Unable to install PHP5, exit status =  100
ubuntu@ip-172-31-40-26:~$

Still getting this error, but only on 14.04 LTS. Tried setting
gpg-key-fix = true

and running
ssh-keygen

but I can't install PHP. Only workaround I found was using
apt-get-assume-yes =

and doing this
WARNING: The following packages cannot be authenticated!
php5-common php5-curl php5-json php5-cli php5-fpm php5-gd php5-imap
php5-mcrypt php5-readline php5-xmlrpc php5-mysqlnd php5-geoip php5-memcache
php5-xdebug
Install these packages without verification? [y/N] y


Sample code doesn’t work

Hi,
I’m quite new to the scene and I can’t manage to make the sample code work on my raspi 4B.
I’ve followed the instructions, installed the scd30_i2c package, did the wiring and copied the sample code to Thonny IDE on my raspi that I access trough VNC. When runing the code I get the following error msgs:
"
Traceback (most recent call last):
File "/home/pita/Documents/Malina SCD30 test.py", line 5, in
scd30 = SCD30()
File "/home/pita/.local/lib/python3.7/site-packages/scd30_i2c/init.py", line 17, in init
self._i2c = smbus2.SMBus(1)
File "/home/pita/.local/lib/python3.7/site-packages/smbus2/smbus2.py", line 279, in init
self.open(bus)
File "/home/pita/.local/lib/python3.7/site-packages/smbus2/smbus2.py", line 308, in open
self.fd = os.open(filepath, os.O_RDWR)
PermissionError: [Errno 13] Permission denied: '/dev/i2c-1'
"
I think this is because I did not do something in the "Software configuration and I²C clock stretching" part of the tutorial. This is because this part is clarifying why i2c clock stretching is required but it doesn’t give precise instructions on how to achieve the software configuration and I2C clock stretching.
Please advise what do I need to do in this part of the tutorial.
Thank you, cheers!

I'm guessing that this is because you do not have the requisite permission to read /dev/i2c-*.
This can be fixed by adding yourself to the i2c group:
sudo usermod -a -G i2c $USER

Note that you will need to log out and in again for this to take effect.
You can also try running the Python script using sudo.

Hello Pat,
About two weeks ago I ran Thonny IDE for Python as sudo and the code
worked. But thanks for the instructions for I2C.
Have a great day,
Rastko
On Wed, Jan 5, 2022 at 3:03 AM Pat Wilson @.***> wrote:

I'm guessing that this is because you do not have the requisite permission
to read /dev/i2c-*.
This can be fixed by adding yourself to the i2c group:
sudo usermod -a -G i2c $USER
Note that you will need to log out and in again for this to take effect.
You can also try running the Python script using sudo.
—
Reply to this email directly, view it on GitHub
https://github.com/RequestForCoffee/scd30/issues/9#issuecomment-1005318313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWZQP663OLOQIDC7Q25GBDLUUORIXANCNFSM5JOJBBSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Adjust chairman test configuration location

Remove accidentally committed file
Move chairman/configuration to configuration/chairman

bors merge


Add tutorials to MAPL CI

Description

Now that the tutorials of @bena-nasa are in MAPL, we should make sure changes to MAPL don't break them. This PR adds CI runs of the tutorials
Related Issue

Motivation and Context

Makes sure we don't break the tutorials
How Has This Been Tested?

Types of changes

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

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Converting to draft until I know it works. Because...it might take a few rounds of testing!

It all looks good and runs. Huzzah!


Scan always finish with exit code 1

I'm using the docker run --rm -e "WORKSPACE=${PWD}" -v $PWD:/app shiftleft/sast-scan scan command to execute scans on my repo (it has python and terraform code). The exit code is always 1 (error) and no log is printed on the console.

I tried removing all the types of scan one by one, just to find that whatever scan type I'm using, it always ends with exit code 1. Can i enable some log tracing?

@guidorapisarda automatic build breaker is a feature and is based on critical and high vulnerabilities found. You can pass the argument --no-error to disable this

Okey, thanks for the info and for your very fast response. I couldn't find that option on my own 🤣

Not an issue. Happy to help!


Wrong version of Flow

flow status
Wrong version of Flow. The config specifies version ^0.44.0 but this is version 0.42.0
Could not start Flow server!
How fix this bug?

You have to instal Flow 0.44.0 or later


Get Warning on EnhancedButton

I'm getting this warning in my console:

Each child in an array should have a unique "key" prop. Check the render method of EnhancedButton. See http://fb.me/react-warning-keys for more information.

I'm not even using EnhancedButton anywhere (I am using RaisedButton).

@kentcdodds RaisedButton uses EnhancedButton. If you pass a key into RaisedButton, it'll get passed down to EnhancedButton.

Understood. However, why is this a requirement for RaisedButton when I'm not using an array? Here's how I'm using it:
<div>
  <RaisedButton label="Toggle Background" onClick={this.props.toggleBackground} />
</div>

It seems odd to me to have to specify a key when I'm just using one button...

@kentcdodds It could be that we need to assign keys the ripple elements inside EhancedButton?

Ok, sounds fine. Thanks.

@kentcdodds I've added keys to the button ripples and it seems to fix the warning. See: https://github.com/callemall/material-ui/commit/0342430a4c686ea6d5a5dd827aa341f779957e34

Oh, great. So it was an issue. I think I just read your response wrong. Thanks for fixing it!


Pick Random not working on GHI Hardware

Sprites don't appear in random places on the hardware screen.  Works in Simulator.
mySprite.setPosition(Math.randomRange(0, scene.screenWidth()), Math.randomRange(0, scene.screenHeight()))

STM32 does not have a random generator.

I think it would be relatively easy to hook up accelerometer and use reading as a seed. Later I want to implement flash writing and we will store seeds there on every run, so you don't have to move the thing for it to be random.ETA mid Jan

Okay.  Let's leave this open until then.


Crash relaited to train tracks

Describe the Bug
While placing train tracks or moving away from them client may crash, server running as usual.
Reproduction Steps

place tracks
move further
place more tracks
repeat
???
game crashed

Expected Result
game not crashed
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/iBNi07xA
Operating System
win 10
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
too much mods, you can check them in crashlog
Additional Context
No response

Remove super sound physics


Project Description

I think we could make a better description, such as:
VideoSplashKit - UIViewController library for creating easy intro pages with background videos

@lfarah good idea, updated


create directory if doesn't exist for submissions download

#68

also would appreciate if you can merge those 2 tiny commits into single one, e.g. you can do it by reseting or rebasing in your local git repo.

done


[AssemblyScript] CPU: Operators

Implemented opcodes in bold:

--
--
--
--
--
--
--
--
--
--
--
--
--
--

ADC
AND
ASL
BCC
BCS
BEQ
BIT
BMI
BNE
BPL
BRK
BVC
BVS
CLC

CLD
CLI
CLV
CMP
CPX
CPY
DEC
DEX
DEY
EOR
INC
INX
INY
JMP

JSR
LDA
LDX
LDY
LSR
NOP
ORA
PHA
PHP
PLA
PLP
ROL
ROR
RTI

RTS
SBC
SEC
SED
SEI
STA
STX
STY
TAX
TAY
TSX
TXA
TXS
TYA

Codecov Report

Merging #29 (4980678) into assemblyscript (3673e3f) will decrease coverage by 0.07%.
The diff coverage is 95.40%.

@@                Coverage Diff                 @@
##           assemblyscript      #29      +/-   ##
==================================================
- Coverage           95.80%   95.73%   -0.08%
==================================================
  Files                  36       37       +1
  Lines                1217     1382     +165
  Branches              210      220      +10
==================================================
+ Hits                 1166     1323     +157
- Misses                 45       53       +8
  Partials                6        6

Impacted Files
Coverage Δ

src/assembly/.eslintrc.js
0.00% <0.00%> (ø)

src/assembly/cpu/index.ts
97.04% <95.85%> (-2.96%)
:arrow_down:

src/assembly/bus.ts
100.00% <100.00%> (ø)

src/assembly/cpu/register.ts
100.00% <100.00%> (ø)

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 3673e3f...4980678. Read the comment docs.


Can you support reordering and vector embedding models？

Can you support reordering and vector embedding models？

This is not part of the repository, which provides inference services for large language models.


python3Packages.sagemaker: 2.33.0 -> 2.34.0

Motivation for this change
Update
Things done

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

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] 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/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 119251 at ecf709f7 run on aarch64-linux 1

2 packages built successfully:

python38Packages.sagemaker
python39Packages.sagemaker


Create documentation on running Storybook

Feature
Why is this feature being added?
We want developers to use Storybook, but are not instructing them on how to run the Storybook instance from our repository.
What should your feature do?
Provide step-by-step instructions on running Storybook in CONTRIBUTING.md

@kylemh I can take this is no one is one it!

@wuweiweiwu @ksmacleod99 is currently assigned.

@kylemh sounds good!

@ksmacleod99  you still got this one?

Yup, just got busy at work

No problem just taking a quick pulse of issues on here thank you for the update!!

I'm still tracking this. I'm going to make some time this week to review how storybook works

@ksmacleod99 yeah we just removed the Status: In Progress label on every issue 💃

Well yes, I just wanted y'all to know I haven't forgotten <3

I want to give this a shot since I haven't used storybook before and want to learn how to integrate it into my projects if this issue hasn't been taken by someone.

@lebilly this is a great task for you, since @ksmacleod99 is busy.
It looks like Storybook is no longer working, so you may need to upgrade some dependencies in a PR to get it to a working state first. Uncertain on whether or not Storybook is only not working on my machine though.

Yup there does seem to be a problem.
I looked into it here and found this.
Looks like you just need to add ejs to the storybook webpack config's list of excluded filetypes for file-loader (lines 28-37).

@kylemh @ksmacleod99 @lebilly Is there any update on progress with this issue?

Storybook currently isn't working. The steps needed to fix it are listed above, but could be put into a separate issue to block this one 👍

Done in new repo


Rebased branch to master + updated WooReq & Reqify

Hey @apbendi
Updated everything to current Master - let me know if it's good like this :)

Thanks for taking the time to clean it up @robbinmaz! Appreciate your contributions :)

Thanks for the merge @apbendi - deleting branch :)


An arrow next to a teacher or other info suggest a menu but does nothing (in Chromium)

Right next to my name I see a little "person" icon with an arrow pointing down. It gives me the feeling there should be some drop down menu, but there is none. The mouse cursor also changes to pointer (aka link indication):

But clicking on the person icon, the arrow or my name does nothing.
It seemed this is not an intended behavior so I've checked in other browser and it worked in Firefox, so this is a bug only in my browser: Chromium 43.0.2357.132 (Fedora 21 64bit).

Opera 26.0.1656.32, same result. Basically it is broken in Chromium core at all.
Trackback:
fittable.min.js:16 Uncaught TypeError: Cannot read property 'classList' of undefined
fittable.min.js:16 _createClass.value
fittable.min.js:502 executeDispatch
fittable.min.js:714 SimpleEventPlugin.executeDispatch
fittable.min.js:502 forEachEventDispatch
fittable.min.js:502 executeDispatchesInOrder
fittable.min.js:494 executeDispatchesAndRelease
fittable.min.js:787 forEachAccumulated
fittable.min.js:494 EventPluginHub.processEventQueue
fittable.min.js:631 runEventQueueInBatch
fittable.min.js:631 ReactEventEmitterMixin.handleTopLevel
fittable.min.js:633 handleTopLevelImpl
fittable.min.js:740 Mixin.perform
fittable.min.js:607 ReactDefaultBatchingStrategy.batchedUpdates
fittable.min.js:704 batchedUpdates
fittable.min.js:633 ReactEventListener.dispatchEvent

This is fixed in our development version, but we have another regression here. I'm working on it right now.

I believe this is fixed on our dev version. Build will be deployed shortly, could you please verify?

In the dev version, clicking the teacher opens the menu as it should, but also closes the detail modal window for the event.

But now it is (at least) consistent in WebKit and Chromium.
2015-09-24 11:52 GMT+02:00 Miro Hrončok<EMAIL_ADDRESS>
In the dev version, clicking the teacher opens the menu as it should, but
also closes the detail modal window for the event.
—
Reply to this email directly or view it on GitHub
https://github.com/cvut/fittable-widget/issues/86#issuecomment-142877528
.

Deployment was broken for past few hours so now it is deployed to dev. Do a force refresh and let me know. I will close this for now.

Fixed


docs: add missing source name in default config

Name for the snippets source missing in the default configuration in the readme

Thanks for the PR @KarlEricsson!


rename mpsc::Receiver::try_next

I think mpsc::Receiver::try_next should be renamed, since it conflicts with TryStreamExt::try_next. Since receiver is actually a Stream itself it's definitely confusing that there's two try_next()s that could apply that do distinctly different things.
I'd argue that the Receiver one is more niche, since (docs):

Tries to receive the next message without notifying a context if empty.
It is not recommended to call this function from inside of a future, only when you've otherwise arranged to be notified when the channel is no longer empty.
This function will panic if called after try_next or poll_next has returned None.

Those caveats make it so you have to be careful in how you use it. IMO we should save the "good name" try_next for the one that returns a future, and pick a less nice name for this case.
I'm not sure what it should be called though. next_nonblock?
Also side note it might be worth checking to see if there's any cases where currently compiling code using Receiver::try_next might erroneously keep compiling after that method is renamed because TryStreamExt is still in scope.

What about next_or_never or similar, after Future::now_or_never? That seems to be a close analog to Receiver::try_next's behavior.

What about next_or_never or similar, after Future::now_or_never? That seems to be a close analog to Receiver::try_next's behavior.

It is very similar, but it isn't really _or_never since it doesn't consume the stream.

Assuming https://github.com/rust-lang/futures-rs/issues/2184 is also implemented, I think try_recv is a reasonable name here.


Load in audio content

Include wav or mp3 in the www/sounds directory.

@DFurnes Is Luke on Github? I'm assigning this to you for now...


Use execution context of provided ActorSystem if provided, default to global if not provided

Library code typically uses a provided ExecutionContext rather than using a custom or the global, as end users might have custom logic in their own ExecutionContext. One common use case is propagating normally thread-local MDC values across Future boundaries.

Unfortunately, I've found with some local testing that this unfortunately doesn't work 100% of the time. Allowing it to pass in the ExecutionContext works fine, it maintains the MDC through several Future jumps. However, it loses the MDCs when it starts to interact with the Actors. I may reopen this in the future if I can find away to prevent MDC loss in Actors without it being too hacky.

We managed to get it working internally without any further changes to Scredis, we ended up having to use a custom dispatcher configurator. With that and the changes in this PR, we were able to confirm that MDC survived through an entire request with multiple calls to Scredis. Reopening this PR.

Thanks for the PR. Unfortunately at the moment it looks like there's no active maintainer of this repo. Are you interested in this role @zackman0010 ?

We recently moved from using Scredis to a different Redis backend, so unfortunately I no longer have an investment in this project. Sorry!

So I'll close this PR. Thank you for your efforts!


Fix get_terrain_attribute bug with edge_method='none'

Resolves #244

Fixes an indexation issueof get_terrain_attribute with edge_method='none',
Removes wrong referencing of slope equation in comments,
Changes the default edge behaviour to match that of GDAL (i.e. edge_method='none' and fill_method=none`),
Adds doctests for slope convenience function, and adapt doctests of other attributes with new default methods.

We should have more specific, in-depth tests for the edge and filling methods. Not the aim of this PR, so opening an issue for it.

Thanks for improving on these methods!
It's uncontroversial to default to the GDAL functionality, but I think GDAL is wrong in propagating NaNs like that. If you think we should default to GDAL-behavior, then sure.

When you are missing only one point in the corner, I agree the results is still OK! But when you are missing half of the cell, the terrain attribute value will be aberrant.
Maybe an argument could control when the filling method is applied, depending on the amount of gaps to fill in the 3x3 window? Then I would certainly be fine having a default method that fills when there's only one missing pixel for example :wink:
With the current approach, we should definitely default to GDAL to avoid all those pixels that end up with erroneous estimates (usually we have enough pixels in DEM data anyway!)


Where to add results to the models

I'm trying to think of a way to add the results to each model. I've already coded a simple way but I think it's not good enough because I'm only considering the coverage model. Here it's the class I'm talking about.
I'm thinking that would be good to remove the client_facility_dict and __init__ methods from Coverage class, but I don't know where it's the best place to put it. LocateSolver is a good place since all models inherit LocateSolver?
@jGaboardi, @ljwolf, @qszhao

I'm thinking that would be good to remove the client_facility_dict and init methods from Coverage class, but I don't know where it's the best place to put it. LocateSolver is a good place since all models inherit LocateSolver?

This sounds reasonable to me since all facility location models should have an attribute for client-facility lookup. Also, we will also want an attribute that records the objective value of the model.

Great! One thing to add, how the structure of the result should be? For now, it's on dictionaries. It's a good manner to compile the results?

We've decided to use an array to output the results, as this makes it easier and faster than dict based to manage. The outputs are placed inside Mixins which are related to each model. The CoveragePercentageMixin is related to MCLP, so only MCLP class inherits the Mixin.


Fix nullability in CS/TS resolvers

Closes https://github.com/RSuter/NSwag/issues/1851

Ref https://github.com/RSuter/NJsonSchema/commit/faf5c944f1925261f2ed37d567079b5fdcf22a45


Pixhawk Flight controller connections

Hi,
@zehortigoza
@lucasdemarchi
P.S : This is the wrong place for this question but I dont seem to find a way to open a new issue in PX4 section. Please move there accordingly.
I have a Pixhawk FC that I bought. I have it powered thru a 4S lipo battery. I have the TELEM2 connected to the J5 Telemetry slot on the intel compute board (80 pin connector extension). The compute board is powered thru its HSUART connection.
How do I get the QGC app that is running on my workstation to detect the Pixhawk ? I am trying to simulate a flying drone and view it on QGC. I have my application ported to the compute board and want to see MAVLINK messages in my application sent by the Pixhawk while viewing the drone on the QGC.
I have found mixed documentation and none of them tell me how to get the QGC detect the Pixhawk.
Can you please help me out here ?

Thanks
Rohan

To connect to pixhawk you should use the wires blue, yellow and black coming out from the same connector where you powered aero.
Make sure you are using 5V to power Aero. The pins on Tha 80-pin connector should not be used. If you do want to use the 80-pin connector (for example because you don't have the cable) then you will need to change the fpga firmware to send the signal to the correct pins. Note that you have to remove the red wire as both boards are powered independently.
Then you should flash the fpga firmware that targets the compute-board, not the RTF (see in /etc/fpga)

For the connector pinout you can use https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-board-guide.pdf
See section 3.8
And make sure you understand the "caution" notes there and that VCC and GND on the telemetry connector don't match the pixhawk connector.

All those ports(telemetry, compass...) are connected to FPGA and the RTF FPGA firmware routes it to AeroFC that you don't have, so like Lucas said you need to do another FPGA firmware(you can use https://github.com/intel-aero/intel-aero-fpga as a start point) to route the Compute board UART to the telemetry connector. It is easy just use the UART pins in the power connector of compute board.

Thanks @lucasdemarchi  and @zehortigoza. So if I understand this both of you correctly,

Power Pixhawk thru 4S lipo and power pinout on Pixhawk.

Flashed the fpga firmware by running jam - aprogram /etc/fpga/aero-compute-board.jam

I wont connect the TELEM2 pinout to the 80 pin connector. I will use the 3 pinout from the other end of the HSUART power cable used to power the compute board. Where on the pixhawk does the other go ? There are 16 rows of 3 pins each on the top of the Pixhawk. I assume the other end goes there. But which 3 pins do I connect it to ?  I am attaching a pic here.

So there is no need to separately connect the TELEM2 pins on the Pixhawk I assume ?

How do I connect the Pixhawk to my workstation so QGC can detect it ? I see a micro USB connection on one side of the Pixhawk.

Thanks
Rohan

You need to connect compute board to a telemetry port in Pixhawk, this way compute board can receive and send MAVLink messages to Pixhawk.
The easiest way to connect Pixhawk to your computer is by using the microUSB there is other ways too like connect a USB FTDI to you computer and wire the FTDI to a telemetry port in Pixhawk.

The 3 pinout from the HSUART does not fit in to the Telemetry pinout directly. I got some cable with the Pixhawk that would fit into the 3 pinout. I have attached 2 pics.
First of the 3 pin out from the HSUART

Here is the cable that fits into the 3 pinout.

Let me know if there is another cable that I dont have and should order.  The Telemetry is a 6 pin connection.
If you have any pics that you can share that would be nice.

To reply to your comment @zehortigoza
All those ports(telemetry, compass...) are connected to FPGA and the RTF FPGA firmware routes it to AeroFC that you don't have

I do not have a RTF at the moment. I am using the fpga px4 firmware that came installed on the compute board. I assume that is good enough to work with Pixhawk.

It is easy just use the UART pins in the power connector of compute board.

Please see my last comment with pics. How does that 3 pinout connect to the Telem2 on the Pixhawk.

Also, when I connect the Pixhawk to the laptop using the USB connection, I get a red solid light for the main LED and the B/E for the IO is a solid orange

You can just cut and solder the cable that you have, no need to order. Again as Lucas said you need to load this FPGA firmware /etc/fpga/aero-compute-board.jam
I don't know the meaning of this solid orange led but you can find the answer to that in the Pixhawk documentation.

@zehortigoza
Again as Lucas said you need to load this FPGA firmware /etc/fpga/aero-compute-board.jam

I did flash the firmware you are mentioning. I ran
jam -aprogram /etc/fpga/aero-compute-board.jam

and got success.  I assume thats all I need to do there.
You can just cut and solder the cable that you have, no need to order.

I am confused. How is the 3 pinout suppose to connect originally ? What is the use of it ? Its got to fit somehow into the Pixhawk FC. When you say xcut and solder, what exactly ? That seems complicated for something that cost me $200 and I dont want to mess it up.

I don't know the meaning of this solid orange led but you can find the answer to that in the Pixhawk documentation.

I googled it. Apparently a solid Amber B/E and a flashing blue ACT means error and everything OK at the same time. That is strange.  Here is what I found
The LEDs are
FMU PWR = Flight management Unit Power
FMU B/E = FMU Processor in Bootloader mode (flashing) or Error (Steady)

I/O PWR = Input/ Output Power
I/O B/E = I/O processor in Bootloader mode (flashing) or Error (Steady)
ACT = Activity (a flashing heartbeat) indicating everything is ok

You can connect this(https://user-images.githubusercontent.com/18452209/30987689-c5196514-a44c-11e7-8af4-177aba3e7eb1.jpg) to this(https://user-images.githubusercontent.com/18452209/30987695-c8a22770-a44c-11e7-8255-d23c1ebaa409.jpg) then cut the other side of this connector and connect to a cable with the connector that connects to the Pixhawk telemetry port.
You just need to make sure about the order, in the aero side the black in GND the other 2 is UART RX and UART TX somewhere in the Aero documentation(https://github.com/intel-aero/meta-intel-aero/wiki) you can find it for sure but it will not cause any damage connecting inverted.

@zehortigoza then cut the other side of this connector and connect to a cable with the connector that connects to the Pixhawk telemetry port.

I dont have any such cable and nothing came with the Pixhawk. I can see if anyone solders it. Can you please send me a picture of your connection if you have one ?  I understand Pixhawk is not specifically designed for intel aero but there must be a way to do this without soldering. I do not know what the RTF uses and I am not sure how the board and FC are connected inside of it. I need to find a cable that has a 3 in and 6 out connector.

I don't have a Pixhawk.
You can cut one side this cable that you are using in this pic https://user-images.githubusercontent.com/18452209/30983285-d90ba676-a43e-11e7-8e88-9eb36a798780.jpg then connect to compute board.
Look here: https://pixhawk.org/modules/pixhawk#pinouts you just need to connect 3 pins: GND, TX and RX. TX and RX are UART TX and RX.

This is not the right place for this issue and by the missing of answers looks like it is fixed.


Migrating offsets from zookeeper to kakfa

I have to upgrade sarama clients from 0.8 to latest version and started using sarama-cluster instead of wvanbergen/kafka. I see that offset will be committed to kafka now.
On Apache Kafka page it says that for doing migration from zk based storage to kafka you need to do following:
Set offsets.storage=kafka and dual.commit.enabled=true in your consumer config.
But wvanbergen/kafka doesn't support these properties and they don't indent to support it.
How can we migrate offsets from zk to kafka? Is default value of dual.commit.enabled true?
Also when i run the following i don't see my groups:
kafka-consumer-groups --bootstrap-server {ip} --list
but i see my groups if i do:
kafka-consumer-groups --zookeeper {ip} --list
Is this expected?

@sagard sorry for the delay, I am not sure about the correct way for doing this migration as I have never done one myself. dual.commit.enabled=true is only supported by the Java client, so it's not something that wvanbergen/kafka would have built-in. I suggest you try the following:

stop your wvanbergen/kafka consumers
read the offsets from zookeeper with kafka-consumer-groups.sh
use https://github.com/fgeller/kt to set/update the offsets in the new store
start your bsm/sarama-cluster consumers


[incubator/solr] add support for extra environment variables

Signed-off-by: Joe Cai<EMAIL_ADDRESS>What this PR does / why we need it:
This PR allows extra environment variables through extraEnvVars. It can be helpful  for users with custom-built Solr images that require additional environment variables.
Special notes for your reviewer:
@ian-thebridge-lucidworks review please. thanks!
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @unguiculus

/ok-to-test
/lgtm


add support for query param in httpreader

Please read through our contribution guide prior to
creating your pull request.

Note that there is a section on requirements related to adding a new DataPipe.

Fixes #391
Changes

Added support for **kwarg for request parameters in HttpReader

Although it doesn't look like the HTTP dataset pipe is tested anywhere so I'll take a closer look and add one

Just a heads up, you have to import this PR to Phabricator then land. After the Diff landed, this PR will be merged automatically.

Thanks for the feedback folks, as discussed offline I'll add a quick test for HTTP Reader so we can make sure kwargs behavior is correct

I made a tiny change to the test @NivekT @ejguan - looking for a final ACK before merge

Can you run pre-commit on the files as well? Thanks!


i want to run this lib on native android studio project  i downloaded yt-dlp_linux_aarch64 and excute it with java processBuilder byt doesnot work

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
i want to run this lib on native android studio project  i downloaded yt-dlp_linux_aarch64 and excute it with java processBuilder byt doesnot work
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Linux exe don't run natively on android. See https://github.com/yausername/youtubedl-android

If you got the same problem, try adding --quiet


[Enhancement] Zoom in mobile

Hello, I would like to suggest an improvement in the use of the page. When I'm using it on my phone, the page zooms in on the text box, and it requires a pinch gesture to undo the zoom. It's possible to work around this behavior in several ways, as described on this page https://weblog.west-wind.com/posts/2023/Apr/17/Preventing-iOS-Safari-Textbox-Zooming . I hope you can consider my suggestion.

Thanks! Please let me know whether this is fixed - I don't have a safari device to test

It's no longer zooming in the textbox, thanks for the quick improvement.


problem on module initialization

Hi and thanks for this project. It saved great amount of time for me. My issue is, after updating to 1.1 version I began to get "module initialization error: libopenjpeg.so.2: cannot open shared object file: No such file or directory" on lambda. The file is there. Am I doing something wrong??

I'll take a look at this 🙂

I think there was an error in the order by which bpy_lambda was loading in shared object files. Should be fixed now.
If you use version 1.2, this error should go away.

Hmm... I didn't change the build process. Can you provide an error trace?

or let me just copy the code `import os
import boto3
import json
from bpy_lambda import bpy
import mathutils
from mathutils import Vector
import addon_utils
s3_client = boto3.client('s3')
bucketname = 'buckethead'
def remeshModifier(mainobj):
bpy.ops.object.mode_set(mode='OBJECT')
bpy.ops.object.select_all(action='DESELECT')
bpy.context.scene.objects.active = mainobj
mod = mainobj.modifiers.new(name='Remesh', type='REMESH')
mod.octree_depth = 8
mod.mode = 'SMOOTH'
mod.scale = 0.90
bpy.context.scene.objects.active = mainobj
bpy.ops.object.modifier_apply(apply_as='DATA', modifier="Remesh")
def lambda_handler(event, context):
objName = 'justarm.obj'
s3_client.download_file(bucketname, objName, '/tmp/' + objName)
bpy.ops.import_scene.obj(filepath='/tmp/' + objName)
#os.remove('/tmp/' + objName)
#addon_utils.enable("mesh_mesh_align_plus")
allobj = bpy.context.selected_objects
setOrigin(allobj)
parcalar = [obj for obj in bpy.context.scene.objects if obj.name.startswith("parca_")]
if len(parcalar) != 0:
joinAll(parcalar)
mainobj = bpy.data.objects["polySurface2_Arms:Arms"]
remeshModifier(mainobj)
bpy.ops.export_scene.obj(filepath='/tmp/' + objName, use_selection=False, use_uvs=False, use_materials=False, use_triangles=True, use_normals=False )
data = open('/tmp/' + objName , 'rb')
s3_client.put_object(Body=data, Bucket=bucketname, Key=objName)`

Sorry, I don't really know what the error could be. Nothing (that I know of) changed in the build package, other than perhaps a newer version of blender was pulled.

I have been trying to see if I made a mistake in my codes but in both versions (1.0 and 1.2) remesh isn't working. Other modifiers are working just fine though. If I find the problem, I will write it down here. Thanks for your time.


Initailize RBAC logic

Add specs for each role please

We need to commit table with user roles and permissions either in md or directly inside module Abilities

As far as i know we already have member with role broker and trades on barong, same permissions as a member. This members just a preparation for upcoming possibility's, but we should add them anyway.


Cannot install with Google advanced protection

Hi,
If someone using Google Advanced Protection program, cannot install 3rd party apps. Could you add app to Google Play Store or Samsung App Store?
Regards

Hi,
I will try to release this in Google Play as an open beta. So anyone with the link will be able to install it from the store. But unfortunately I don't think it will be fully released in the store (to find by search) because of Garmin trademarks and terms, and using unofficial API.

Hi @wiilkuu
I released the newest version in Google Play (https://github.com/lswiderski/mi-scale-exporter/releases/tag/v2.0.2)
https://play.google.com/store/apps/details?id=com.lukaszswiderski.MiScaleExporter
Could you please check it?

Can't open the link. Get the sth go wrong message.

Can you try now? The application verification process took some time for Google. But now I see it's up in the store.

@wiilkuu version 2.0.3 should be now available for everyone in Google Play
https://play.google.com/store/apps/details?id=com.lukaszswiderski.MiScaleExporter


Support for arbitrary rearranging of the hierarchy

This is a summary of the discussion at the Hurricane-2 debrief meeting.
This pass should, without changing the wiring/functionality of the design, allow the user to:

Group multiple instances into a new level of hierarchy
Ungroup or flatten a level of hierarchy, moving everything within it up one level
Move a particular instance to an arbitrary new position in the hierarchy

The API for this is certainly up for discussion, but it was emphasized in the meeting that even something that's relatively user-unfriendly would be a vast improvement over existing options.

This has been addressed with several feature additions, like #766, #631.


Feature/pascal

Hi @bharatkumarreddy, please rebase your branch on master for the docs to build successfully.

@bharatkumarreddy please attach a sample converted xml for the record as @satheeshkatipomu pointed out. i am merging this for the time. but please attach nonetheless.

@all-contributors add @bharatkumarreddy for code


Unbalanced instance placement results when AZs are added subsequently

Describe the bug
If you start with a count of n AZs and a count of n+1 instances with persistent disks and decrease the instances to n you will end up with one instance in each AZ. A different instance placement result is produced, when one AZ and one instance are added subsequently.
To Reproduce
Steps to reproduce the behavior (example):

Create a deployment with 3 instances with persistent disk and two AZs. The result will be:

z1: 2
z2: 1

Add a third AZ and increase the instances to 4. The result will be:

z1: 2
z2: 1
z3: 1

Delete one instace. The result will be:

z1: 2
z2: 1
z3: 0

Expected behavior
The expected behavior after instance deletion is:
z1: 1
z2: 1
z3: 1

This work as expected if you start from the beginning with tree AZs.
Versions (please complete the following information):

Infrastructure: any
BOSH version: any with AZ support

Additional context
BOSH will select the instances to be deleted based on instance index, which doesn't consider the instance AZ. This happens in the AvailabilityZonePicker#place_instances_that_have_persistent_disk_in_existing_az . That is why you end up with a different result, when AZs and instances are added subsequently.

I wonder how many users of Bosh are running into this and noticing. It's hard for me to reason about how negative an impact this has on end users unless they're scaling up and down frequently. While we could add balancing logic to deletion, it also seems expensive unless we have more validation that this should be fixed. I'm tempted to leave to leave this open for a while and see if more people chime in with their use-cases and frustrations with this pattern.

@mrosecrance This is a relevant use case if you have an instance group that requires at least 3 instances for an HA setup deployed and only 2 AZs of the IaaS provider have been used (for example if only 2 were available) and now the three instances should be distributed over 3 IaaS AZs.
Independent of the effort to change this. Is there historic reason, why it has been implemented this way? My understanding is, that the algorithm tries to leave as much persistent disks untouched as possible. Given a HA setup were the deployed software takes care of data replication this would not be necessary. But there might be other use cases where it would be helpful.


Tab bar gets transparent

when i create a new tab, my tab bar becomes transparent. I am on cachyos
Also, how do I make tmux persistent in my terminal, I use the keyword "shell" to define the path to my tmux on kitty.
This is my config:
theme = catppuccin-mocha
background-opacity = 0.95
#shell = /home/linuxbrew/.linuxbrew/bin/tmux
gtk-titlebar = false
cursor-style = block
mouse-hide-while-typing = true
macos-titlebar-style = hidden
window-padding-balance = true
window-save-state = always
window-colorspace = "display-p3"
font-family = MesloLGS Nerd Font Mono
font-size = 16

Hey @horyekhunley; you're in the Website repo here (the code that runs https://ghostty.org/).
Check out the contributing guide to see how to report a bug if you found one!
https://github.com/ghostty-org/ghostty/blob/main/CONTRIBUTING.md


Can't re-map insert mode keybinds without restarting vim

The way it's set up, those variables won't affect the insert mode invocation until vim is restarted, even after a source.
Not sure what the cleanest solution is - may need to force-reload the plugin if a change is detected in that variable, but not sure how to track that. Could be messy.

Looks like I just need to drop support for mapping by setting a variable, and just document the function names and provide an example like I do for normal mode mappings


Zenodo link not working

Thanks for the amazing work! The Zenodo link for the datasets is not working.
https://zenodo.org/record/8287453
Are all the datasets available?

Not sure what you mean as It seems to work from what I can see right now. On 11 Apr 2024, at 17:20, Pedro P. Sanchez @.***> wrote:
Thanks for the amazing work! The Zenodo link for the datasets is not working.
https://zenodo.org/record/8287453
Are all the datasets available?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Better join syntax

Coverage decreased (-1.2%) to 93.742% when pulling 2d6f0edc2b459923854bd47a6759f2d6f0197150 on feature/better-join-syntax into 9589a551681ae84c58fd8ce321fdae364ef2cd7d on master.


Meter readings are off by 10x since upgrade from 1.3.3

I am using the rtlamr2mqtt add-on and missed that there have been a bunch of updates since 1.3.3.  I upgraded today and now my gas meter is off by a factor of 10.  My gas meter reports in 10's of ft³ which I set format: '#######0' to account for this.  After upgrading my gas meter readings are 1/10 of what they should be.
My config:  https://gist.github.com/drmulligan/b9c648e0be2048977e9480719c498cd0
Logs: https://gist.github.com/drmulligan/e372d3758112dc7e17bb767a83a2fe20
In the case logged above the consumption should be 8293150 ft³ but it's being reported as 829315 ft³.

In case it is helpful, I have a test HA OS instance with an older build of rtlamr2mqtt addon with the same configuration which is still reporting the correct consumption value.  It is newer than my production instance but I can't tell you how much newer because of the recently fixed addon version number issue.   I can provide logs from it or dig into it to find what version it really is.

Hi @drmulligan , thank you for you time reporting this issue!
I know exactly where the problem is and I am working to fix it ASAP.

The value reported by sensor.gas_meter was 829315 at the time.  I will have to figure out how to subscribe to the right MQTT topic and get back to you regarding actual values being published.

Bug confirmed! I just found what is causing this issue.

I really don't know Python at all but I do know several other languages.  However I looked at the code briefly and I thought it looked like you rolled your own formatting code.  In Java and other languages there are libraries which provide formatting options like you created with rich feature sets. Plug a number, or string containing a number, in and a nicely formatted string comes out.  '#', '.', and '0' are all supported formatting characters in the libraries I am familiar with, along with many others.
If this is all very obvious I am sorry, I don't mean to be offensive.  I really need to learn Python one of these days.
Where is the best place to discuss your addon?  I am a HA newb and I have questions and ideas but they are likely nonsense so I don't want to raise feature requests just yet.

The problem was on the formatting code but on how value_template get the value.
This change came with a big PR with a lot of nice changes and I haven't noticed.
I am still putting this project on track and a proper way to test it is on my TODO list.
Feel free to open feature requests! I have a lot to discuss, just don't know how to reach everybody that is using it! :)
One thing I would like to talk about is how to expose the Linear Regression (anomaly detection) in a good way...
Thank you for you time to report!

My gas meter readings are back to normal.  Thank you.


Complex object reference

{
"author": {
"id": "c082760e-ad97-462f-bff3-4987fdfb6719",
"name": "Manoel de Barros"
},
"id": "2f85f85d-d02e-4a42-acb5-d22a4cf09a55",
"text": "bla blah blah"
}
My service returns the JSON above.
How can I add a field with the value of author.name ????
I tried nga.field('author.name') without success :+1: /
thank you

Use an element transformer from Restangular (cf https://github.com/marmelab/ng-admin/issues/324#issuecomment-75522399, https://github.com/marmelab/ng-admin/blob/master/doc/API-mapping.md#entry-format)


Build failure: phpactor

Steps To Reproduce
Steps to reproduce the behavior:

build phpactor

Build log
Package league/uri-parser is abandoned, you should avoid using it. No replacement was suggested.

https://hydra.nixos.org/build/264952873/nixlog/4
Additional context
Started bisecting it, the bad commit is in a staging merge: 91594d11a2248ebe00f45f6b9be63fe264bb74e1.
Notify maintainers
@patka-123 @NixOS/php

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.36, NixOS, 24.11 (Vicuna), 24.11.20240708.655a58a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - nixpkgs: `/nix/store/yzkx7gx2cn73dh3c7zg5rvgkp3yli1cd-source`

Add a :+1: reaction to issues you find important.

It seems that when installing the bash completion it fails running the binary phpactor on the line #!/usr/bin/env php : it doesn't find php. Building the package on nixos-24.05 triggers the same error but apparently it does not crash installShellCompletion. Indeed on nixos-unstable installShellCompletion now checks the output : https://github.com/NixOS/nixpkgs/blob/16e401f01842c5bb2499e78c1fe227f939c0c474/pkgs/build-support/setup-hooks/install-shell-files.sh#L223. So I guess the shell completion does not work on nixos-24.05 and now generate a build failure on nixos-unstable.


Cannot input different formats to BibTeX

Required by customer: article, book, inproceedings

Made different issues of the bibtex formats ---> closing this

Priority: High


New package: sirredbeard.wslinternals version 0.0.13

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I have tested my manifest locally successfully.

Hi @sirredbeard,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 615.)

Automatic Validation ended with:

ERROR: Signature Update failed with hr=80244022 CmdTool: Failed with hr = 0x80244022. Check C:\Users\VALIDA~1\AppData\Local\Temp\MpCmdRun.log for more information  Signature Update Failed. Installation failed with exit code -1978335187 Time Info - Thu Jan 18 2024 19:33:17 Update failed with hr: 0x80244022 Update failed with hr: 0x80244022 2024-01-18 19:34:24.307 [FAIL] Installer failed security check. Url: https://github.com/sirredbeard/wslinternals/releases/download/0.0.13/0.0.13.zip Result: 0x80004005

(Automated response - build 615.)

This is not the first time these files have been misidentified as malware by Defender. All the source code is online and published via GitHub Actions, so the supply chain is secure.  I have periodically re-submit them to Microsoft Security Intelligence so Defender will not detect them as malware. I have re-submitted the .zip and binaries from 0.0.13:

/AzurePipelines run


Remove rounding in cubeSize calculation

Fixes https://github.com/mpetroff/pannellum/issues/178

See comment in #178.


As a developer, I would like to merge the Relationships package install script into the Cumulus install script

Some of the advantages of using the install script in Cumulus are that it catches exceptions and sends emails on error. If for any reason the install script in Relationships failed, users would not be able to install Cumulus.

**lurch: add

Tracking W-008264


Add function for sampling from volume to surface

This is a relatively inflexible function. It assumes that the volume data are in register with the Freesurfer anatomy (which is true for lyman 2.0 images but not generally) and uses the Freeusrfer directory structure to find relevant files.

Codecov Report

Merging #148 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #148   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          19     19
  Lines        3572   3611   +39
=====================================
+ Hits         3572   3611   +39

Impacted Files
Coverage Δ

lyman/tests/test_surface.py
100% <100%> (ø)
:arrow_up:

lyman/surface.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Runtime1.1.1

I run into this in my project
* What went wrong:
Execution failed for task ':sample:preDebugBuild'.
> Android dependency 'android.arch.core:runtime' has different version for the compile (1.1.0) and runtime (1.1.1) classpath. You should manually set the same version via DependencyResolution

so I made this PR.
btw I cleaned up some unneeded files in this repo to reduce noise

I apologize for the settings.gradle error -- I have pushed a fix for that to master. I will upgrade SafeRoom support to Room 1.1.1 soon.


How to run docker compose on localhost?

Things I have tried

In .env, NOTIFO_DOMAIN=localhost
docker compose up
Chrome > visit https://localhost
error in docker console

notifo_proxy-1   | 2024/04/15 07:48:46 http: TLS handshake error from <IP_ADDRESS>:38592: remote error: tls: unknown certificate

Good question.
The problem is that notifo needs https for authentication. I do not have a setup that just works, because afaik you cannot create a trusted localhost certificate using lets encrypt.

I tried to trust the root cert as documented here: https://caddyserver.com/docs/running#docker-compose
But still not working

Here they use the internal flag, but I am not sure how to apply if dynamically:
https://stackoverflow.com/a/69648452/1229622

Where do I add this “tls internal“ just to try it out?

The caddy proxy is defined here:
https://github.com/Squidex/squidex-hosting/tree/master/docker-compose/proxy-caddy
You have to add the "tls internal" to the Caddyfile.

I have tested it and added a readme with some instructions: https://github.com/notifo-io/notifo/tree/main/deployment/docker-compose

So you have added SITE_SETTINGS to your caddyfile and published caddy-proxy v2.7.6
I have tried the new docker-compose file but still giving me the same error. Strange

At the moment, I resorted to exposing the port for notifo_notifo and use http.
It seems to work but not sure what issues I will run into later without https

Have you read the readme?


help

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

We'll need to know what it is that you're having trouble with. Please provide some details and reopen this issue if you're still having trouble.


Removes ISS stage from backend

Removes issue_reg in scheduler
pre-decodes issue_pkt in fe_queue
Moves fe_queue and fe_cmd into backend instead of core_minimal
removes now unnecessary core_minimal wrapper module

There's some ugliness in the testbench caused by a lack of a common module between unicore and multicore, but that's better fixed by modifying the hierarchical +define+ in the testbench, but that should be a different PR

Fixed comments and tested on FPGA -- boots Linux


Scanning using distance

Problem
Unfortunately , It is so difficult to scan using time delay or speed because the speed will vary with the surface and there is some mechanical errors in gears that make the velocity highly varying  and it will be so difficult to control it .
Solution
I wish that car can take a reading from the ultra sonic every 1cm and I have already a feedback tell me the distance which car travelled , Encoder
Constrains

Encoder giveback a 1024 pulse per revolution
Wheel Area =  26.4 cm
Each 38.7~38 pulse map to 1cm , pulses must be integer values so floor(38.7)

Must be known
In motor driver the variable encoder_pulses has the number of pulses achieved , so you should use it

Implementation completed. Ready for testing in a real-world scenario.


Updated for neovim

Fixed numbers for Neovim

has this been tested on all versions of vim assuming you tested with neovim.

I have tested with neovim, it should not affect vim as has('nvim') should be false.


self.last_conv() input_channels in file decoder.py

why it is "self.last_conv = nn.Sequential(nn.Conv2d(304, ..." here?
I think 304 should be determined by the backbone type? Maybe 304 is only for 'drn' and 'resnet' backbone?
"self.last_conv = nn.Sequential(nn.Conv2d(low_level_inplanes + 48, ..." will be better I think.

304 = 256 + 48, where 256 comes from ASPP


Add Bower Config

You need to register teoria after merging:
bower register teoria git://github.com/saebekassebil/teoria.git

This will allow users to install teoria via:
bower install teoria

Whoops, I missed the previous discussions regarding Bower.
It seems Teoria can be installed via bower install teoria, but it doesn't appear in the registry. I don't see a bower.json anywhere in the repository? Maybe it will appear in the registry after a merge and / or unregister + register?

teoria should be installable with bower:
$ bower install saebekassebil/teoria