Setting panel shows in release

When you open the settings panel, it says "Setting panel shows in development environment only, please manually modify", but when I switch to release, the settings panel is still there. Is there any way to disable it?

I don't really know what was the original intention here, but you are right, it does show. It is added in BasicLayout.razor file (component SettingDrawer). You can either try to remove it from there or possibly wrapping it in compiler pre-processor directive might work? Another way is to inject IHostEnvironment and condition rendering on IsDevelopment() method.

I don't really know what was the original intention here, but you are right, it does show. It is added in BasicLayout.razor file (component SettingDrawer). You can either try to remove it from there or possibly wrapping it in compiler pre-processor directive might work? Another way is to inject IHostEnvironment and condition rendering on IsDevelopment() method.

I missed it in the BasicLayout.razor file, thanks for pointing that out. It can be easily removed from there. The issue still stands though, the panel should be disabled in production environment.

I think the panel should be disabled based on a setting. I can imagine some developers to keep panel available to the users.


Switch pyPrint() into based on *grumpy.File

This PR is changing pyPirnt() into based on *grumpy.File.
It is related to PR #233 which is discussions about Stdout and Stdin.
I will proceed PR #233 after this PR is merged.
Related PR= #233

@trotterdylan Updated!! PTAL. Thank's for comment.


fix: update commit regex to support fixup! #55

Codecov Report
Base: 99.64% // Head: 99.64% // No change to project coverage :thumbsup:

Coverage data is based on head (4bb2fc1) compared to base (f149f9b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #57   +/-   ##
=======================================
  Coverage   99.64%   99.64%
=======================================
  Files          11       11
  Lines         564      564
=======================================
  Hits          562      562
  Misses          2        2

Impacted Files
Coverage Δ

commit_check/__init__.py
100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Return cell value with string formatter

There are use cases where you want to use the StringFormatter for a cell, e.g. when the format of the cell is technically set to numeric/float, but the input is 20 (not 20.0).
In these cases we would like to be able to avoid the mapping to ruby data types and return cell values as strings (in the above case "20").
The POI library offers a method (and further customisation) for that.
see: DataFormatter.formatCellValue(Cell cell)
Would it be possible to implement a similar behaviour to rubyXL?

I am not sure I am following. But, have you tried cell.raw_value? If I read correctly, that's what you want in this particular case.


./bootstrap-vcpkg.sh fails to link vcpkg and create executable binary with latest update

Describe the bug
./bootstrap-vcpkg.sh fails to link vcpkg and create executable binary with latest update
Environment

OS: [Linux OpenSuse Leap 15.1 - latest updates]
Compiler: GNU 8.2.1 - latest updates

To Reproduce
Steps to reproduce the behavior:

git clone --verbose https://github.com/Microsoft/vcpkg.git ./vcpkg
cd ./vcpkg
./bootstrap-vcpkg.sh
[72/72] Linking CXX executable vcpkg
FAILED: vcpkg
... see attached bootstrap-vcpkg.log for complete error listing produced when running ./bootstrap-vcpkg.sh

Expected behavior
bootstrap-vcpkg.sh should be compile, link and create vcpkg
Failure logs
bootstrap-vcpkg.log
Additional context

Initially since vcpkg sources were updated maybe the changes were incompatible with the an existing vcpkg instance, so I then created a new instance and it also produces the same failed results.
Also tried run ./bootstrap-vcpkg.sh logged in as root with same results.
I did a git reset --hard 1e19af09e53e5f306ed89c2033817a21e5ee0bcf on the linux instance to back out the latest two changes and ./bootstrap-vcpkg.sh compiled, linked and created the vcpkg binary properly.
On Windows 10 x64 the latest vcpkg with all updates  .\bootstrap-vcpkg.bat compiles, links and creates vcpkg.exe as expected.

Hi @timautry
Thanks for posting this issue.
It seems to be introduced by the latest commits.
@strega-nil
I also encountered the similar issue on gcc 9.2.1.
Could you please help look into this?

I don't know how this issue is coming up; it looks like it isn't correctly linking the standard library. However, on my machine, it works. @NancyLi1013 or @timautry, can you try changing the line in scripts/bootstrap.sh:
("$cmakeExe" -B "$buildDir" -S toolsrc -DCMAKE_BUILD_TYPE=Release -G "Ninja" "-DCMAKE_MAKE_PROGRAM=$ninjaExe" "-DBUILD_TESTING=OFF" "-DVCPKG_DEVELOPMENT_WARNINGS=OFF" "-DVCPKG_WARNINGS_AS_ERRORS=OFF" "-DVCPKG_DISABLE_METRICS=$vcpkgDisableMetrics" "-DVCPKG_ALLOW_APPLE_CLANG=$vcpkgAllowAppleClang") || exit 1

to
(CXX=$CXX "$cmakeExe" -B "$buildDir" -S toolsrc -DCMAKE_BUILD_TYPE=Release -G "Ninja" "-DCMAKE_MAKE_PROGRAM=$ninjaExe" "-DBUILD_TESTING=OFF" "-DVCPKG_DEVELOPMENT_WARNINGS=OFF" "-DVCPKG_WARNINGS_AS_ERRORS=OFF" "-DVCPKG_DISABLE_METRICS=$vcpkgDisableMetrics" "-DVCPKG_ALLOW_APPLE_CLANG=$vcpkgAllowAppleClang") || exit 1

and rerun?

Like @NancyLi1013 I see a linking failure with GCC 9.2.1 - on the WSL (Ubuntu  18.04.4 LTS)
But this concerns a undefined reference to std::experimental::filesystem::v1::***
console output
Like @timautry vcpkg builds fine after running git reset --hard 1e19af0
@strega-nil your suggested addition of CXX=$CXX to scripts/bootstrap.sh has no effect on this case. It might for @timautry

I cloned a new instance on the Linux machine and made the suggested change by @strega-nil to vcpkg-root/scripts/bootstrap.sh line 244 and when I ran the vcpkg-root/bootstrap-vcpkg.sh I get the following:
"tim.autry@galactica:[~/git/vcpkg.test]"
">$ ./bootstrap-vcpkg.sh"
Downloading cmake...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   639  100   639    0     0   1166      0 --:--:-- --:--:-- --:--:--  1166
100 35.4M  100 35.4M    0     0  20.4M      0  0:00:01  0:00:01 --:--:-- 45.1M
Downloading cmake... done.
Extracting cmake...
Extracting cmake... done.
Downloading ninja...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   624  100   624    0     0   2000      0 --:--:-- --:--:-- --:--:--  2000
100 77854  100 77854    0     0   122k      0 --:--:-- --:--:-- --:--:--  873k
Downloading ninja... done.
Extracting ninja...
Extracting ninja... done.
Error: could not load cache
That is the only message I get.
Note: 1. The linux instance of vcpkg is on Hyper-V machine on Windows 10 Pro x64, loaded from the latest OpenSuse-Leap 15.1 DVD with all current updates to the OS and GNU C/C++ 8.2.1.

We noticed the exact same behaviour on Ubuntu 18.04.1 with gcc9.2.1

Alright, could someone try running the cmake manually?
$ cd toolsrc
$ mkdir out
$ cmake ..
$ cmake --build .

@Farwaykorse okay that should actually never happen, could you please run the following:
cat >test.cxx <<EOF
#include <iostream>
int main() {
  std::cout << _GLIBCXX_RELEASE << '\n';
}
EOF
c++ test.cxx
./a.out

BTW, I appreciate y'all helping me so much, thanks!

@Farwaykorse okay that should actually never happen, could you please run the following:
...

farwaykorse@P53:~/tmp$ cat >test.cxx <<EOF
> #include <iostream>
> int main() {
>   std::cout << _GLIBCXX_RELEASE << '\n';
> }
> EOF
farwaykorse@P53:~/tmp$ c++ test.cxx
farwaykorse@P53:~/tmp$ ./a.out
9

@strega-nil See attached newtest.txt. I had a few issues:

I had to use "cmake ." instead of "cmake .."
then I had to add the path of the cmake downloaded/installed in vcpkg-root/downloads/tools/cmake-3.14.0-linux/cmake-3.14.0-Linux-x86_64/bin by bootstrap-vcpkg.sh because the default cmake installed by OpenSuse Leap 15.1 is only 3.10.2 which is less than what vcpkg requires.
It still did not link
newtest.txt

@timautry sorry, could you cd into out first, missed that.

@Farwaykorse could you run the following then:
cat toolsrc/build.rel/CMakeFiles/CMakeError.log

For me it builds with:
$ cd toolsrc
$ mkdir out
$ cd out
$ cmake ..
$ cmake --build .

(same when using -G Ninja)

@Farwaykorse could you run the following then:
cat toolsrc/build.rel/CMakeFiles/CMakeError.log

After rerunning .\bootstrap-vcpkg.sh.
toolsrc/build.rel/CMakeFiles/CMakeError.log

@strega-nil cc: @Farwaykorse
Ok it did not give me any errors back out to console, but it just stopped at linking 79% - see attached.
newtest1.log
CMakeError.log
CMakeOutput.log

Alright then; I'm going to revert the changes. Is there any way you two would be willing to continue trying this with changesets, because I would like to un-revert the changes at some point.

That's fine.

I observe that the default compiler from zypper install gcc is 7.0 but cmake here is choosing 8.0, could that be related?

Is it possible that we built some stuff with gcc-8 but /usr/bin/g++ is gcc-7?

Because the bootstrap-vcpkg.sh uses the symlinks called g++ and gcc in the /usr/bin.
I use a process call alternatives to quickly change between versions of g++ and gcc

see attached
gcc update-alternatives - openSUSE Wiki.pdf

Why check compiler version?
Should perform feature detection instead of detecting version number.
Should try to compile with and without libstdc++fs
Should try to compile with and without <experimental/filesystem>

@strega-nil
Sorry for the late response.
I have tried on Ubuntu 16.04 gcc 8.3.0 and Ubuntu 18.04 gcc 9.2.1 based on the PR #10867 and there are no any errors.
It seems to be normal work now.

@strega-nil: I'm seeing issues building vcpkg with g++-9 on macOS 10.14. It seems the added
if which g++ >/dev/null 2>&1; then
   CXX=g++

lines at the top of selectCXX() function (ref: https://github.com/microsoft/vcpkg/commit/22623e35016cae6061e0d9e502577077b3c33fd9)
are causing the detection of /Applications/Xcode_10.3.app/Contents/Developer/usr/bin/g++, instead of the Homebrew-installed g++-9.

@past-due yeah; try out #10867 to fix this. I'm going to merge that once the CI finishes running.

Has the reverted change made its way to master yet? I am currently seeing this problem on Ubuntu 19.10 using gcc/g++ v9.2.1. Is there a quick fix I could do in the mean time that I'm missing?

Fixed by #10867.

@strega-nil: Just confirming that this fixes the issues on macOS as well. 👍


Not an issue, this noob needs a little help!

I just installed txAdmin on my first server and am loving it! I need to know if I am to run js node, pm2 start ..., on the main.js? or the @discord index.js? Thanks in advance!

Please use our discord server.

Please use our discord server.


fix bug in Support more druid postaggregations#2235

Issue:
#2344

@mistercrunch ok，the travis-ci is passed


Only hardcoded HTTP storage backend

I like your clean and simple implementation, only the HTTP storage/auth backend is not handy when running go-ftp standalone. E.g as read-only ftp server. I think the FTP lowlevel logic and storage/auth backend can be separated by using a defined interface.
It is just an idea :-)

Hey thanks, This was really just a proof of concept toy FTP implementation, but I would like to make the auth more pluggable when I have the time


[Idea Plugin] Diagram view doesn't work for some samples

$subject won't work for https://v1-0.ballerina.io/learn/by-example/different-payload-types.html sample.

@roonyh Shall we have a look? :)

Issue is no longer valid for Swan Lake release. Hence, closing it.

Issue is no longer valid for Swan Lake release. Hence, closing it.


Outdated dockerfile

After the docker build, if I try a demo:
python demo/pcd_demo.py demo/data/kitti/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth
I get
Traceback (most recent call last):
  File "demo/pcd_demo.py", line 4, in <module>
    from mmdet3d.apis import inference_detector, init_model, show_result_meshlab
  File "/mmdetection3d/mmdet3d/__init__.py", line 36, in <module>
    f'MMDET=={mmdet.__version__} is used but incompatible. ' \
AssertionError: MMDET==2.19.0 is used but incompatible. Please install mmdet>=2.24.0, <=3.0.0.

It would be great to have docker updated to the latest packages.

Thanks for your issue; I have updated dockerfile in https://github.com/open-mmlab/mmdetection3d/pull/1697.


[4.2.x] Added GitHub Action workflow to test all Python versions listed in the project config file.

Backport of 470f4c2436e00873a31673a5992c5260b2de4e97 from main.
Branch description
This is a PR and not a mechanical backport because the config file was changed from pyproject.toml to setup.cfg, so I want to triple check it works as expected.

@sarahboyce I created this PR prior to backporting to 4.2.x to ensure the manual modification (target setup.cfg instead of pyproject.toml) works as expected. I also created the new python-matrix label and set it on this PR :guitar:

I think the security repo also needs the label :+1:

I think the security repo also needs the label 👍

You are absolutely right! Creating it.


Plugins troubleshooting

Description

Testing instructions
Preview link:
Checklist

[ ] Review label added
[ ] Conditional version tags added, if applicable.

I wonder - if we have troubleshooting content that applies to multiple plugins, I guess we'd just use an include, then have two markdown files where the include is used? For example, something that applies to Rate Limiting and Rate Limiting Advanced.

that should work

I removed the dummy content.


When attempting to upgrade only the primary launch config for a  service with sidekick , sidekick also gets stopped and recreated.

Server version - v0.43.0-rc2
Choose "upgrade" option for a service which has 1 sidekick. On the upgrade page , update launch config values from only primary service and click on "upgrade".
Notice that both the primary service and side kick service get upgraded.
We  should have a way to upgrade individual launch configs.

Checkboxes at the top to choose which services to upgrade now.

Server version - v0.43.0-rc3
We are allowed to select services to upgrade now. I am able to upgrade only the primary service now. But attempting to upgrade all services / only sidekicks have issue which is tracked in - #2451


Properly change gauge value.

Makes Add() safe (thanks @CodeArno for spotting this).
Others:

compare/exchange loop not needed in Set(), use std::atomic::store()
nit: rename increment/decrement param

Since there was some discussion, do you think we should drop atomic completely and use a plain old mutex? @wohe @gaschler

@MichaelGrupp +1 from my side.

Will change


As a content editor, I want to create and edit people in wagtail so that I can manage them just like pages.

testing notes
to test this, log into the new admin site (/cms) and check to see if you have a new menu on the left side called "People". there should be three new options in here: "People", "Titles", and "Profile Pages".

Create a new CDH position title by going to the "People" menu, choosing "Titles", and clicking "add title" at the top right. Don't worry about "sort order" for now since it's only relevant for #267; anything is fine.
Make a new person by going to the "People" menu, choosing "People", and clicking "new person" at the top right. Feel free to also give the person a picture, and assign them one (or multiple) CDH positions at the bottom, including your new title.
Create a profile for your new person by going to the "People" menu, choosing "Profile Pages", and clicking "add profile page" at the top right. Make the profile for the person you just made, but feel free to upload a different image, and also give the profile a title that isn't the same as the person's name (add a middle initial, for example).
Visit the new profile page by clicking "preview" at the bottom (by "publish"). Check that the profile is visually similar to current CDH profiles (e.g. your own profile page on the current site). The picture displayed should be the picture you uploaded to the profile (not the person) and the name shown at the top should be the profile's title (not the person's name).

dev notes
For Person, how we can make it orderable and what type of chooser block will we need (maybe extend)? to add it to other pages? We want to preserve the Django user model, along with some functionality to populate it from LDAP, but no longer make Person inherit it.
For person index pages, see #267.
models

[x] Title (migrations: change user to person, same as membership)
[x] Position (migrations: change user to person, same as membership)
[x] Person (no longer inherits User - see board for fields; optional 1:1 with user)
[x] Membership and Project (migration: change user to person)
[x] PersonResource (will become wagtail PersonRelatedLink via #181)
[x] new ProfilePage (based on wagtail Page - migrate profile-specific fields and link to Person; see board for fields; required 1:1 with person)
[x] update init_profile_from_ldap to create new person 1-1 and populate fields

admin

[x] configure Person in wagtail admin
[x] configure Title in wagtail admin
[x] make Position inline-editable on Person in Wagtail
[x] configure ProfilePage in wagtail admin

It would not allow me to create a title without a person (i.e. "positions") to go with it.
It would not allow me to create a person without a preexisting "user."
I don't know how to create a "user."

It would not allow me to create a title without a person (i.e. "positions") to go with it.
It would not allow me to create a person without a preexisting "user."
I don't know how to create a "user."

@cvansant user should be optional now, sorry about that! give it another go.

@cvansant user should be optional now, sorry about that! give it another go.

@thatbudakguy Made it all the way to step 4. When I try to preview the profile, I get the chicken and 500 error. I did give the person a middle initial and a new photo.

@thatbudakguy Made it all the way to step 4. When I try to preview the profile, I get the chicken and 500 error. I did give the person a middle initial and a new photo.

@thatbudakguy I experimented with this in my local dev and wasn't able to duplicate the 500 error. If we can duplicate it again in qa we should make sure to look at the django logs right away so we can investigate.

[ ] test previewing profile as superuser
[ ] test previewing profile as non-superuser

I was able to add a student and her image to People. I was then able to create a profile with a slightly different name and different image. And I was able to preview the new profile (with the name and image I uploaded in Profiles) and confirm that the image appears as it should.
As a user, I noticed that a website (Rockefeller College) appears as a link next to her profile image. I did not add that url anywhere in her profile (I did use an image of Rockefeller College for the profile, however).
As an editor, I was not able to add a new title ("the title could not be created due to errors") without selecting a position, and when I selected a position (student's name), I received the chicken.

@manawinters could you add a link here to view the student you created so I can check it out? I think I know what's going on with the chicken re: titles; will work on that shortly.

https://cdh-test-web.princeton.edu/cms/people/person/edit/306/
https://cdh-test-web.princeton.edu/cms/pages/359/edit/?next=/cms/people/profile/


npm create tamagui failing

Current Behavior
run npm create tamagui
error:
@tamagui/toast@npm:1.39.9: The remote server failed to provide the requested resource
➤ YN0035: │   Response Code: 404 (Not Found)
➤ YN0035: │   Request Method: GET
➤ YN0035: │   Request URL<EMAIL_ADDRESS>➤ YN0035: │ @tamagui/web@npm:1.39.9: The remote server failed to provide the requested resource
➤ YN0035: │   Response Code: 404 (Not Found)
➤ YN0035: │   Request Method: GET
➤ YN0035: │   Request URL<EMAIL_ADDRESS>Expected Behavior
npm create tamagui is successful
Tamagui Version
not applicable

Reproduction
not applicable

System Info
System:
    OS: macOS 13.0
    CPU: (12) arm64 Apple M2 Pro
    Memory: 76.44 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.18.1 - ~/.nvm/versions/node/v16.18.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.18.1/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.18.1/bin/npm
  Browsers:
    Chrome: 114.0.5735.198
    Safari: 16.1

npm was down


Quick fix initialization

[ci no changelog needed]
Pull Request Description
See https://discord.com/channels/401396655599124480/401750750277009408/942778039262126090 and thread
Important Notes

Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java, and Rust style guides.
[x] All documentation and configuration conforms to the markdown and YAML style guides.
[x] All code has been tested where possible.

An I've checked run dist


samples from STR and SNP VCFs may not match

we need to take the intersection of the samples within the TSV files (after converting the VCF GTs to usable GTs)

resolving because we decided to use the SNP-STR panel, where samples are the same anyway


ModuleNotFoundError: No module named 'uvicorn'

I'm needing to manually add uvicorn to my package to run in dev mode.
Then when installed in Claude desktop I just see the following in Claude logs
ModuleNotFoundError: No module named 'uvicorn' in claude logs stemming from site-packages/fastmcp/server.py

I am not a uv god so def a little confused on how this bundling works but I was able to overcome this error my using the --with flag:
uv run fastmcp install --with uvicorn server.py

Got the same issue while following the quickstart, by running the following command worked for me
uv run fastmcp install --with uvicorn server.py uv run fastmcp dev --with uvicorn server.py


⚠ Bofrost.at has degraded performance

In 78aa08b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1310 ms

Resolved: Bofrost.at performance has improved in afa74cc after 6 minutes.


DT-449: Add Segregation Group csv reference data file

Descriptions are missing

Implementation of this Jira issue: https://dcsa.atlassian.net/browse/DT-449


Add support for precmd and postcmd for each target

Set the following in Rules.mk to run those commands right before and after the compiling commands:
target_name: private PRECMD := cl commands
target_name: private POSTCMD := cl commands
Fixes #208

Note that we need to fix the pre/post for CRTCPPMOD to spawn a single job with bash -c


Loading candidate config files with better support for nlog.dll.nlog

Starting to think this is not an improvement, but just making it harder to maintain.
Think that finding the location of NLog.dll is not that relevant, especially after Microsoft starting using symbolic-links to the nuget-cache. Then the chance of finding a useful nlog.dll.nlog-file is very unlikely.


Fix offset logic for pagination

also can you pls pull latest master to your branch ? ...I've fixed the travis CI


Cache is extracted to wrong destination

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/markbrockhoff/turbo-repo-bug-repro
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.0.4-canary.3
Describe the Bug
Whenever I execute a build using turborepo for the first time everything is generated correctly and cached. But when running the same build again the existing cache is restored to the wrong directory causing build files to end up in the src directory.
Expected Behavior
I'd expect turborepo to restore the build cache in the exact same location where it came from.
To Reproduce
I created a minimal reproduction using the latest version of turborepo containing only one package which is the default starter for creating a Nuxt module (That's where I encountered the issue)
To reproduce the issue do the following steps:

Clone the repro: git clone https://github.com/markbrockhoff/turbo-repo-bug-repro
Install the dependencies pnpm i
Run a first build: pnpm build
Run a second build: pnpm build

After the second build you'll see that two new files were created within /packages/nuxt-test/src/runtime. These files should be placed inside the dist folder but somehow seem to be restored into the src folder.
I think the issue has something to do with the fact that the build task depends on the dev:prepare task and both habe the dist folder as output, however it's still very strange to me that the files end up in a totally different place.
Additional context
I'm using pnpm v9.3.0 and node 20.11.0, any help with this issue would be appreciated. Thanks

I can confirm that this is due to the overlapping outputs interacting in a very weird way. It appears that something in dev:prepare is creating a symlink from dist/runtime -> src/runtime`:
[0 olszewski@chriss-mbp] /tmp/turbo-repo-bug-repro/packages/nuxt-test $ pnpm dev:prepare

><EMAIL_ADDRESS>dev:prepare /private/tmp/turbo-repo-bug-repro/packages/nuxt-test
> nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground

ℹ Stubbing my-module                                                                                11:30:47 AM
ℹ Cleaning dist directory: ./dist                                                                                11:30:47 AM
✔ Types generated in .nuxt                                                                                11:30:49 AM
✔ Types generated in playground/.nuxt                                                                                11:30:50 AM
[0 olszewski@chriss-mbp] /tmp/turbo-repo-bug-repro/packages/nuxt-test $ ls -lh dist
total 48
-rw-r--r--  1 olszewski  wheel   227B Jun 13 11:30 module.cjs
-rw-r--r--  1 olszewski  wheel   171B Jun 13 11:30 module.d.ts
-rw-r--r--  1 olszewski  wheel   156B Jun 13 11:30 module.json
-rw-r--r--  1 olszewski  wheel   477B Jun 13 11:30 module.mjs
lrwxr-xr-x  1 olszewski  wheel    64B Jun 13 11:30 runtime -> /private/tmp/turbo-repo-bug-repro/packages/nuxt-test/src/runtime
-rw-r--r--  1 olszewski  wheel   918B Jun 13 11:30 types.d.mts
-rw-r--r--  1 olszewski  wheel   912B Jun 13 11:30 types.d.ts

This leads to the issue when we there's a cache hit for my-module#build and we attempt to restore dist/runtime/plugin.js and dist/runtime/plugin.d.ts to dist/runtime which now points to src/runtime due to the symlink created by dev:prepare
[0 olszewski@chriss-mbp] /tmp/turbo-repo-bug-repro $ tar --use-compress-program=unzstd -tvf .turbo/cache/72cffa046a69ae97.tar.zst
-rw-r--r--  0 0      0        1257 Dec 31  1969 packages/nuxt-test/.turbo/turbo-build.log
drwxr-xr-x  0 0      0           0 Dec 31  1969 packages/nuxt-test/dist/
-rw-r--r--  0 0      0         227 Dec 31  1969 packages/nuxt-test/dist/module.cjs
-rw-r--r--  0 0      0         192 Dec 31  1969 packages/nuxt-test/dist/module.d.mts
-rw-r--r--  0 0      0         192 Dec 31  1969 packages/nuxt-test/dist/module.d.ts
-rw-r--r--  0 0      0         156 Dec 31  1969 packages/nuxt-test/dist/module.json
-rw-r--r--  0 0      0         415 Dec 31  1969 packages/nuxt-test/dist/module.mjs
drwxr-xr-x  0 0      0           0 Dec 31  1969 packages/nuxt-test/dist/runtime/
-rw-r--r--  0 0      0         152 Dec 31  1969 packages/nuxt-test/dist/runtime/plugin.d.ts
-rw-r--r--  0 0      0         141 Dec 31  1969 packages/nuxt-test/dist/runtime/plugin.js
drwxr-xr-x  0 0      0           0 Dec 31  1969 packages/nuxt-test/dist/runtime/server/
-rw-r--r--  0 0      0          56 Dec 31  1969 packages/nuxt-test/dist/runtime/server/tsconfig.json
-rw-r--r--  0 0      0         425 Dec 31  1969 packages/nuxt-test/dist/types.d.mts
-rw-r--r--  0 0      0         419 Dec 31  1969 packages/nuxt-test/dist/types.d.ts

Ah, that makes sense that the symlik is causing the issue. Thanks for the explanation.
I was able to fix the issue inside my project by avoiding the duplicate caching of the dist folder. However I still wanted to report the strange behavior as it might also affect other people.

@markbrockhoff Thanks for the report!
I think this is still a bug on our end as we should be removing the dist/runtime symlink and creating a new directory instead of just placing files in it.
Now having two tasks who disagree on what a file (dist/runtime) should be is to be avoided as running one task will effectively "undo" the other.

I would be happy to work on this.
Please assign.

I reproduced https://github.com/markbrockhoff/turbo-repo-bug-repro
and checked test written by @chris-olszewski.
Please assign me.


Application have no way to handle out of band purchases. (Deferred & Auto renewable subscription)

On iOS, the UpdatedTransactions(SKPaymentQueue queue, SKPaymentTransaction[] transactions) method can be called without an user initiating a purchase process.
This can happen in several scenarios, most notoriously, but not limited, to Deferred purchases and Auto renewable subscriptions.
Deferred:
When a user make a purchase and it needs someone else (lets say parent) to approve it, currently the library returns the purchase as Deferred (this is fine).
Later the parent approves the transaction.
The next time the application launches (and have the PaymentObserver registered) it calls the UpdatedTransactions method.
In this scenario, there won't be any event on event Action<SKPaymentTransaction, bool> TransactionCompleted; and the application don't have any way to process this purchase to enable the content. Only a RestorePurchases will effectively notifies the application (without remote validation see  https://github.com/jamesmontemagno/InAppBillingPlugin/issues/28 for details)
Auto renewable subscriptions:
A user may purchase an auto renewable subscription, which is processed and remote validated correctly.
When subscription is about to expire, apple starts the process to charge the user for another period. (as explained here Expiration and Renewal
If a new period is successfully charged to the customer, the next time the application launches (and have the PaymentObserver registered) it calls UpdatedTransactions. Just like in the deferred scenario.
Again, since there is no event for what I call out of band purchases the application cannot respond accordingly. (Including validation with the remote server)
Code related to this:
https://github.com/jamesmontemagno/InAppBillingPlugin/blob/master/src/Plugin.InAppBilling.iOS/InAppBillingImplementation.cs#L361
note: there are other scenarios when this may happen, but are more exceptional.
Proposal:
Application code should have a way to define a method to be executed on purchases completed. (being out of band or not.)
I'm very new on how Xamarin manages this types of scenarios but to give some ideas:
an IInAppBillingPostComplete interface that is called from the iOS InAppBillingImplementation from the dependency server and if it find one, execute a method PostComplete.
Another approach will be to require on iOS to EnableInAppPurchases like this:
CrossInAppBilling.EnableInApp(Action<InAppBillingPurchase> purchase) and add this as a default event handler at registration time.
Let me know if this makes sense, I'm going to play around and implement something for this, if you have a different approach or any consideration and want to share, it will be greatly appreciated.
Thanks and this library is really amazing!

This makes sense, I think we just need an event you can register for. Working with @Redth on this.

Sorry just coming to this ?
What is the recommended way on iOS to handle the auto renewable subscriptions ?
I store the subscription end date, but once that occurs I need to call UpdatedTransactions to get a new receipt from Apple with the new expiration date/time.

I did a fork long time ago and implemented the auto renewable subscription like this:
https://github.com/dotuy/InAppBillingPlugin/blob/master/src/Plugin.InAppBilling.iOS/InAppBillingImplementation.cs#L25
Basically you call EnableInAppPurchase(onSuccess) with a onSuccess being a method to be called for any success transaction, not only the ones initiated by the user (as it works right now)
This fork is based on a previous version of this plugin hope the code may helps you or give some inspirations.

Did you want to PR this in?

@jamesmontemagno sure, let's do this. I'll pick the latest version and will start working on a PR. I'm kinda rusty to this so it wont happen overnight :)

Cool @Bartmax , that looks like what we all need. Look forward to it coming into the main library.


Grafana pi-hole query data = null

Hi ..
I would like to thanks you about this great pihole monitor docker. I have been using for 1 week and all is working, but i have a small problem, on query data i have always null value ..

This is my pihole versions:
Docker:2024.01.0
Pi-Hole:5.17.3
FTL:5.24
WebInter:5.21.
Thanks.

Are there any errors in the logs? And could you try running with the environment variable DEBUG=true and providing a small sample of the log output? It should log out the data retrieved from the Pi-hole before sending to InfluxDB - that'll help me narrow things down a bit. I'm not currently able to reproduce the issue with my setup.

Not sure if this helps, but this is the data shape

Seems like changing the transform for the dashboard to this solves the issue

@Jh123x Thanks for the data! I'll need to check out the code more closely, but I wonder if I'm not properly ensuring that the data is sent as the right type...

Fixed with this commit: https://github.com/avojak/pihole-influxdb-monitor/commit/409286ae6a28e126c7dd79d4c27349f9f95c22e5

Fixed in 1.4.0 release


Tower top displacement for wind turbines using a flexible substructure

Is your feature request related to a problem? Please describe.
There is a clear need to have a sensor that is able to provide the absolute tower top displacements (e.g. in X and Y directions) in the inertial frame coordinate system when the tower base is not fixed.
Nowadays, ElastoDyn sensors like TTDspFA provide relative values of tower displacements rather than absolute ones. That means that the user must post-process the results accounting for the translation at tower base, the rotation at tower base and the relative deflection of the tower.
Describe the solution you'd like
A new ElastoDyn sensor able to provide the absolute displacement of tower top (or any other node along the tower) in the inertial frame coordinate system.
Describe alternatives you've considered
The sensor TwHt1TPxi provides the absolute displacement of tower gage 1 in this case directed along the xi_axis (inertial frame coordinate system). However, the tower gage nodes (TwrGagNd) are defined in an odd fashion, not allowing to extract the results at tower top. From the documentation:

The above formula can be expressed as: Node location = (TwrGagNd-0.5)*TowerHt/TwrNodes.
As it can be observed, by using TwrGagNd = TwrNodes (maximum allowed in the range), the actual position is always below the tower top. Note that the same applies for tower base. This sensor will always provide the results above tower base and below tower top.

@andrew-platt
The issue that we were commenting a couple of days ago regarding tower top displacements.

It is fairly straightforward to output the tower top displacement relative to the reference tower position (this is stored directly in the TwrLn2Mesh.  However, it should be noted that this will include all platform translations in a floating system.  So if the floating platform moves 15 meters, this will be included in the tower top translational displacements.

@andrew-platt -- Yes, this is what @RBergua wants.  The global positions of the tower relative to undisplaced position is available for the tower gages, but not at the tower top.


Message to other output

Hi,
When I define more than one output and try to send messages to the other outputs nothing gets through them. Only the first output gets messages.

Never mind. I forgot to send the messages as node.send([array]).

Thanks for the follow up. Glad you got that figured out.


[PE-D][Tester C] UG "[ ]" meaning

There is no mention that "[ ]" explicity means the parameter is optional despite implication that it is.

Labels: severity.VeryLow type.DocumentationBug
original: lm-44/ped#2

add in UG that square brackets indicate optional fields


chore: Upgraded React Spectrum to 3.35.1

Upgrade React Spectrum to 3.35.1

Waiting to test with Enterprise, which is blocked on the node upgrade there: https://github.com/deephaven-ent/iris/pull/1805


[bugfix] add format and standalone in hi locale

fixes #5692
I found out that this is because of the inflections that exists in Hindi language. For example :  दिसंबर (what you wrote)can be written as दिसम्बर(what is written in code),
सितंबर - सितम्बर,
नवंबर - नवम्बर,
फरवरी - फ़रवरी,
So, in order to resolve this issue I added format and standalone feature like in Russian language.  After modifying locale file of Hindi, I also modified the test/locale/hi.js in order to pass all the tests.
I have created a pull request to fix this issue. Until, this pull request get accepted the work around is to use these months:  दिसम्बर, सितम्बर, नवम्बर, फ़रवरी.

Coverage remained the same at 88.493% when pulling afb86cba88c430adca03d9dc4c936add9874d71f on PriyaBihani:develop into adfaae8051588fcdb9347f0221e5ac1663f3a95c on moment:develop.

I would like to get one more Hindi speaker to approve.
@mayanksinghal @altro3 can you confirm?

Merging based on discussion in https://github.com/moment/moment/issues/5739


[Feature request] Layout management à la kitty

Hello,
This probably won't be high priority which is completely fine, but I'd like to open this discussion early.
One of the features of kitty I haven't really seen in other terminals is the layout system.
In kitty, I can spam the new_split key bind to get a certain amount of panes. And then with a single key bind, I can cycle through predefined layouts like vertical or grid.
An example of that workflow would be to open 9 shells to monitor logs on 9 different servers.
In kitty with no config at all, I would do:

1 system key bind to open kitty
1 key bind pressed 8 times to get 9 panes/splits
1 key bind repeated n times to cycle to the grid layout (or any other preferred layout)
(add full-screen / resize key binds to taste)

As far as I can tell from my first tests, there is a bit of that idea in the equalize_splits action. But I still have to be mindful of the direction in which I open my splits which require more key binds and more keypresses.
This might be specific to a certain type of workflow, but I almost never want to open arbitrary splits in my terminal anyway, that's something I would do with windows, through my tiling WM. In a terminal, I almost always use pre-determined layouts. I'm not advocating for removing arbitrary splits of course, but there is space for another type of pane management.
I'm not sure if that philosophy matches ghostty's, or if there would be a lot of demand for that feature, which is why I open this issue, so that it can be discussed.
Regardless, congrats on release 1.0, and thanks for all the hard work. Really enjoy using Ghostty so far ! 👍🏻

Thanks. This is a dupe. Please add this to the other discussion. Also issues are not for feature requests as noted in the contributing docs!


fix: fixes footer and other links for Slack

Notes for Reviewers
This PR fixes #41
Description

Fixes links for Slack in the website.

Signed commits

[X] Yes, I signed my commits.

LGTM! Thanks @abhilipsasahoo03 😊🎉

If all's good, kindly merge? :)

@leecalcote @Chadha93 Please merge this PR


Initialise all variables used in kxtj3 to 0

Newer compilers when used with security hardening options such as
-Werror=maybe-uninitialized so iniitial the variables to 0.
Signed-off-by: Peter Robinson<EMAIL_ADDRESS>

Merged with 1ddf96902081630889b42414061ddc6d2e360c53. Thank you!


Losing frames while saving frames as .bin

Required Info

Camera Model
{ D435 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Linux (Ubuntu 16.04 LTS)

Kernel Version (Linux Only)
4.15.0-37-generic

Platform
Aaeon Up Board

SDK Version
{ legacy / 2.. }

Language
{C++ }

Segment
{Robot }

Issue Description
Hi,
I want to save the frames captured by your camera D435 (using this the code snippet from this issue https://github.com/IntelRealSense/librealsense/issues/1485) at each time I received a pulse sent by pin VSYNC.
However, when I opened the file and plot its timestamp data into a graph, I perceived that at some moment, some of the frames went missing. Here is my code (I am using mraa and upm as libraries for my api)
void save_frames_to_files(rs2::pipeline &pipe, std::ofstream &ImageTimeFile, const std::string &depth_path_string, const std::string &color_path_string)
{
static int fcount = 0;
std::stringstream depth, color;

unsigned long frame_time = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();

rs2::frameset frames = pipe.wait_for_frames();
rs2::frame depth_frame = frames.get_depth_frame();
rs2::frame color_frame = frames.get_color_frame();
// Save to frame to file
depth << depth_path_string << "/Depth" << std::setw(7) << std::setfill<char>('0') << fcount << ".bin";
color << color_path_string << "/Color" << std::setw(7) << std::setfill<char>('0') << fcount << ".bin";
save_frame_raw_data(depth.str(), depth_frame);
save_frame_raw_data(color.str(), color_frame);
ImageTimeFile << fcount << ";" << frame_time << "; Image" << std::setw(4) << std::setfill<char>('0') << fcount << "\n";
fcount++;
}

int main()
{
// Get camera sensors
rs2::sensor depth_sensor = rs2::context().query_devices()[0].query_sensors()[0];
rs2::sensor color_sensor = rs2::context().query_devices()[0].query_sensors()[1];

// Set up camera
depth_sensor.set_option(RS2_OPTION_INTER_CAM_SYNC_MODE, 1); //master mode

rs2::pipeline pipe;
rs2::config cfg;
cfg.enable_stream(RS2_STREAM_COLOR, 640, 480, RS2_FORMAT_Y16, 30);
cfg.enable_stream(RS2_STREAM_DEPTH, 640, 480, RS2_FORMAT_Z16, 30);

std::once_flag flag1
std::sig_atomic_t stop = 0;
// Start streaming
pipe.start(cfg);

while (stop == 0)
{
    if (gpio_1.read() != 0)
    {
        std::thread t_camera(save_frames_to_files, std::ref(pipe), std::ref(ImageTimeFile),std::cref(depth_path_string), std::cref(color_path_string));
        std::call_once(flag1, setScheduling, std::ref(t_camera), SCHED_RR, 30, std::ref(sch_params4));
        t_camera.join();
    }
}
}

Does my code go wrong or we can't save the raw frames in real time at 30Hz ?

Hi @CaoKha
I'm not 100% sure, but I do have some questions regarding the code...
You are creating new thread for every camera frame(set), why?
Please double-check that both the code and the SDK are compiled as Release (-DCMAKE_BUILD_TYPE=Release)
I'd try something like:
using namespace rs2;
frame_queue queue(10); // some capacity, 1 by default
thread t([&](){
while(stop == 0)
    frameset fs = queue.wait_for_frame();
    frame depth_frame = frames.get_depth_frame();
    frame color_frame = frames.get_color_frame();
    save_frame_raw_data(depth.str(), depth_frame);
    save_frame_raw_data(color.str(), color_frame);
});
pipeline p;
p.start();
while(stop == 0) queue.enqueue(p.wait_for_frames());
t.join();

@dorodnic, to answer your questions,
I used thread there because I want to start the camera and another IMU (MPU9250 from sparkfun) at the same time (problem of synchronization between camera and IMU). I am still new to coding so after doing some research on the Internet, I found multi-threading is a solution to my problem.
I did use the command "cmake ../ -DCMAKE_BUILD_TYPE=Release" to build my project.
In your answer, if I haven't made mistake, you used a queue to slow down the process thus avoid losing frames.
However, if I use a queue to hold the frames, my IMU data recorded at instant t will mismatch the frame "en-queue" at instant t, which was recorded at instant (t -a) ms earlier.
Yesterday, after reducing the reading rate of my IMU from 200 Hz to 150 Hz, I noticed that I didn't lose any frames in 2 hours. Hence, I concluded that maybe the problem was not from your camera but rather from my Linux system.
However, if I reduce my IMU reading rate, it will make my Kalman filter, which corrects the position of my robot, less efficient.
I read some of your other posts that you recommend recording the frames in a rosbag format. But in my case, I believe that I couldn't synchronize my IMU data with that.
So that, I am asking for your help in order to know the most efficient way to save the frames in real-time.

The queue serves two purposes:
a. To handle sudden slowdowns by allowing extra latency
b. To communicate with an existing thread
My concern is that creating new thread for every frame might be too expensive.
So even if you reduce queue capacity to 1, having single dedicated thread instead of many might improve performance. At the same time, with queue size 1 you should not suffer from sync issues with the IMU.

Thank you @dorodnic,  you were right, I will try your solution and see if it might work.

@CaoKha Did you get it through? Looking forward to your update. Thanks!

Hi, I tried to implement the queue as @dorodnic said and the result is not good as I expected. I also tested with another board (Rock pi 4) and the result was also not going so well, even when I removed the IMU thread and let the camera work alone. (I later decided to join IMU thread with the main thread)
However,I saved these images to an SD Card. I think the format of the SD Card slows down the camera.
Sometimes, the ouput of 'rs2_time_t dtimestamp = depth_frame.get_timestamp()' is 3113.3113 at some first images, which is not the unix timestamp.
Here is the the code:
std::signal(SIGINT, signal_handler);
// GPIO config
mraa::Result status;
mraa::Gpio gpio_1(PIN);
status = gpio_1.dir(mraa::DIR_IN);
if (status != mraa::SUCCESS)
{
    printError(status);
    return EXIT_FAILURE;
}
sleepMillis(1000);

rs2::sensor depth_sensor = rs2::context().query_devices()[0].query_sensors()[0];
//rs2::sensor color_sensor = rs2::context().query_devices()[0].query_sensors()[1];
rs2::config cfg;
rs2::pipeline pipe;
depth_sensor.set_option(RS2_OPTION_INTER_CAM_SYNC_MODE, 1);        //master mode
cfg.enable_stream(RS2_STREAM_COLOR, 640, 480, RS2_FORMAT_Y16, 15); //change camera rate here 15 or 30Hz
cfg.enable_stream(RS2_STREAM_DEPTH, 640, 480, RS2_FORMAT_Z16, 15); //change camera rate here 15 or 30Hz
// Set up IMU
upm::MPU9250 IMU(0, MPU9250_DEFAULT_I2C_ADDR, AK8975_DEFAULT_I2C_ADDR, false);
IMU.init();
IMU.setSampleRateDivider(0x04); // Set output rate to 200Hz
int imu_count = 0;
float ax, ay, az, gx, gy, gz, temp;
// Camera thread
int fcount = 0;
rs2::frame_queue queue(1);
std::thread tc([&]() {
    while (stop == 0)
    {
        rs2::frameset frames = queue.wait_for_frame();
        unsigned long frame_time = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
        rs2::frame depth_frame = frames.get_depth_frame();
        rs2::frame color_frame = frames.get_color_frame();
        rs2_time_t dtimestamp = depth_frame.get_timestamp();
        rs2_time_t ctimestamp = color_frame.get_timestamp();
        std::stringstream depth, color;
        depth << depth_path_string << "/Depth" << std::setw(7) << std::setfill<char>('0') << fcount << ".bin";
        color << color_path_string << "/Color" << std::setw(7) << std::setfill<char>('0') << fcount << ".bin";
        save_frame_raw_data(depth.str(), depth_frame);
        save_frame_raw_data(color.str(), color_frame);
        for (int i = 0; i < 10; i++)
            ImageTimeFile << fcount << ";" << frame_time << ";" << ctimestamp << ";" << dtimestamp << "; Image" << std::setw(4) << std::setfill<char>('0') << fcount << "\n";
        fcount++;
    }
});
//sched_param mysched;
//setScheduling(tc, SCHED_RR, 30, mysched);

std::cout << "Program is running" << std::endl;
// Start streaming the camera
pipe.start(cfg);
// Synchronization tasks
while (stop == 0)
{
    if (gpio_1.read() != 0)
    {
        // start camera thread
        queue.enqueue(pipe.wait_for_frames());

        // start read imu

        for (int i = 0; i < 10; i++) // i < 5 if camera is set at 30 Hz, i < 10 at 15Hz
        {
            auto start_timer = std::chrono::steady_clock::now();
            IMU.update();
            unsigned long imu_time = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
            IMU.getAccelerometer(&ax, &ay, &az);
            IMU.getGyroscope(&gx, &gy, &gz);
            temp = IMU.getTemperature();
            IMUFile << imu_count << ";" << imu_time << ";" << ax << ";" << ay << ";" << az << ";" << gx << ";" << gy << ";" << gz << ";" << temp << "\n";
            while (std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start_timer).count() < 5000)
                ;
        }
        imu_count++;

    }
}
// close all files and device
tc.join();
pipe.stop();
IMUFile.close();
ImageTimeFile.close();

std::cout << "\nEXIT SUCCESS!" << std::endl;

}`
But yet, I am still investigating the problem. Hope it was not from your camera
(I tested your camera like 20 times a day. Can it be degraded?)

@CaoKha Thanks for the update! Please keep update here when you get more clues. Thanks!

Your camera works perfect at 15 Hz on Udoo x86. I think the problem are the kernel and scheduler policy of Ubuntu. But can you support more specific kernel like in Rock Pi 4 ? I think its difficult to implement your camera in project that require timing precision.

@Caokha What's the kernel version of Rock Pi 4 in your hand?

@CaoKha Any other questions about this ticket? Looking forward to your update. Thanks!

Hi,  I think I should close this topic because I don't want to go deep into reverse engineering with kernel development. Anyways, the problem is solved. I don't have any more questions.


Speed up Cargo Make installation

This is a bad idea because GHA already caches binaries installed with Cargo.


Move the pool namespace to internal/pool

This is an isolated bit of code that can and should be moved out of the public interface.

I can take a look on that :)

I haven't been keeping up with what's happening with the hacktoberfest drama and opt-in/opt-out, but if you're interested doing it under that, I'll get whatever is needed done on the repo to make it valid.

yeah sure, I'm just the python guy who was looking for some golang first_issue stuff:P I want to learn golang in a hard way ;) Today after work I think I will push a PR for that.

Fair enough - if it would be helpful for your learning, I'm happy to go in to some of the background/why behind the issue?

I create this PR, and tagged in a topic this issue:
https://github.com/atlassian/gostatsd/pull/348
If you spot sth, please do not hesitate to tag me, so I will fix it :)


Research: transaction checkpoints

A very common issue in our use cases: process fails and need to be re-run. The use-case is especially interesting since it's unique for AI/raw-data and does not exist in traditional DB/data-engineering paradigm when a full execution is required.
In some cases, there is a clear opportunity of reusing previous results:

LLM call failed
file download failed
re-storing pytorch training (and possible model checkpoints)

What's clear today:

This is only about "app level" operations: map/gen/agg. Other operations should work in traditional transaction DB model (full re-execution if needed).
This should be applicable to a whole chain that can contain multiple map/gen/agg operations combined with transactional ones.

We need to find a way to support this properly!

From the top of my head. Give users a way to use DB for caching, some kind of KV interface:
from datachain import cache
cache.set(k, v)

cache.get(k, v)

this way people can explicitly control it?
On top of this low level building block / mechanism we can think about caching particular invocations of gen / map, etc. Basically saving K(input-params) -> output and reusing it next time UDF runs.
Alternaive - saving partial tables,  etc - not sure how complicated it is tbh.

It would be great to have a full element-wise dag tracking, but sadly it seems like a niche feature. The problem that we have with dvc right now is that despite supporting consecutive element-wise stage processing it doesn't allow dynamic dags and that yaml.lock mechanism as a db is very inefficient.


Adding All NFL-Network Programs

Adding missing NFL Network Programs

@kaileu Thanks for the PR. This function is turning into a monster, all because in the past there's been absent and wrong data. Do you know know if this is still the case? If they've cleaned up their data, this can become a lot simpler and less expensive.

As seen in the archived games they are still very sloppy with the correct data.
I didn‘t verify all but as far as i know the data is still uncorrect at some times.
So this is by far the safest method to get all Program even if its expensive network side.
Correct me if i am wrong but in the current master we uses the information they gave us and if you compare the amounts of shows with this code to the master you see how sloppy they are :(
Mit freundlichen Grüßen
Kai Leutner

Am 16.08.2018 um 12:53 schrieb Alex Waite<EMAIL_ADDRESS>@kaileu Thanks for the PR. This function is turning into a monster, all because in the past there's been absent and wrong data. Do you know know if this is still the case? If they've cleaned up their data, this can become a lot simpler and less expensive.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@kaileu Ugh; that's too bad that the data is still a mess. :-/ But I'm glad that you've checked.
Great to hear that even more shows are supported. I havn't had time to test this at all; I've only given the patch a quick read through. I will open a review soon to address some of those questions.

Fixed typos

@kaileu Thanks for the PR. Merged. :-)
---Alex


Misunderstanding in my issue.

Your Question
Please re-read #3640. I'm not trying to use a . in a tablename, I'm trying to reference a table in a schema.
The document you expected this should be explained

Expected answer

Oh, I got it, thank you for your reminder


Remove unnecessary alire test

Had to be split out from #30.

Tests won't pass but merging anyway.


Move picking code into its own file

A majority of the code in Scene.js is now just for handling picking, made worse by https://github.com/AnalyticalGraphicsInc/cesium/pull/6934 and https://github.com/AnalyticalGraphicsInc/cesium/pull/7115. Picking code should be in its own file but still tightly integrated with Scene like View or SceneTransforms.

@IanLilleyT
This is the list of function that will move to the helper file. To avoid breaking changes Scene will still have the function signatures and documentation but the implementations will go in a separate file called Picking.js that is marked as @private like View.js.

[ ] pick
[ ] pickPositionWorldCoordinates
[ ] pickPosition
[ ] drillPick
[ ] pickFromRay
[ ] drillPickFromRay
[ ] pickFromRayMostDetailed
[ ] drillPickFromRayMostDetailed
[ ] sampleHeight
[ ] clampToHeight
[ ] sampleHeightMostDetailed
[ ] clampToHeightMostDetailed

Also make sure to move any local functions that these function call. There may be cases where these functions call local functions that are used by other areas of Scene. In that case convert the local functions to private member functions of Scene. Look at Scene.prototype.isVisible for an example of that (used by View.js).


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in 3d35cea.


exchange: De-duplicate partitioning logic

Currently, the partitioning logic has two separate branches for
power-of-two peers using bit masking and mod for all other configurations.
The branches duplicate the logic to distribute the data to the pushers.
This change moves the common functionality into a separate function.
We force inlining of the partition function to avoid a performance penalty.
Signed-off-by: Moritz Hoffmann<EMAIL_ADDRESS>

Looks great with naming nit fixed; thanks very much!


About ev-* attributes

(as a continuation of #219)
Good day, @Matt-Esch !
Don't you think that's possible to remove suport of ev-* attributes at all, do you? Because:

they're specific to dom-delegator only,
we should depend on ev-store, then.

Even if we remove it, it's simple to use:

create your own hook,
use h('button', { 'ev-click': new EvHook(value) }) instead of h('button', { 'ev-click': value }).

But virtual-dom won't use so specific component. What do you think? Thanks.

Generally speaking I think virtual-hyperscript is both too big and too slow. I'm down for removing things like ev-click and other magical specifics if there is some clean way for mercury to customize virtual-hyperscript to actually provide this functionality.

@Raynos should be more concerned about back compat

Multiple people have asked fore ways to customize virtual-hyperscript; we should look into those issues and look there; then fix mercury.

While this is in discussion, I've been wondering about being able to customise virtual-hyperscript to have React-style control over when DOM elements are destroyed, as documented here. Particularly,

componentWillLeave(callback)
This is called when the child has been removed from the ReactTransitionGroup. Though the child has been removed, ReactTransitionGroup will keep it in the DOM until callback is called.


Nice work but any chance we can add custom commands?

Hello,
Thanks very much for building this plugin. IR remotes are definitely a grey area for home automation and can absolutely see why you specify a small amount of appliances as there are too many to support.
I have been looking at some devices that are not supported and wanted to ask if there would be any options to add custom commands. Using the Tuya IoT platform, I was able to register the IR blaster and custom commands that I had set up in the Tuya Smart Life app. In doing so was also able to run through the diagnostics console and identify the remotes that I am using from custom commands. Now I have a list of the actual commands that are being run via my custom remotes.
For instance, my older xbox can be controlled via the IR blaster, however in your app, the only control I have is on and off. As i have been able to map the commands being sent and used in the Tuya IoT platform, can custom buttons be added to action these commands?
Appreciate any feedback you may have as this may be a cheeky way to extend the supported devices without having to code every option out there.
Thanks

Hello,
I wish HomeKit supported all the devices. Apple HomeKit doesn't have all the devices that IR will support. There isn't an Xbox controller device type in HomeKit. Moreover, it doesn't support custom devices. So we all have to live with what apple provides.

Hello,
Agreed that the XBOX controller is not a default one in homekit. What i have seen though, in the tuya iot platform, is that the custom remotes are showing  that they are using commands that are from generic devices. Essentially it looks like there is some crossover on the commands across devices so that the Tuya IoT platfrom is showing the following for an xbox command (i've omitted a couple of ID's)
{
  "result": {
    "brand_id": 0,
    "category_id": 999,
    "duplicate_power": true,
    "key_list": [
      {
        "key": "1642569103207",
        "key_id": 2,
        "key_name": "mode",
        "standard_key": false
      },
      {
        "key": "1642569153592",
        "key_id": 3,
        "key_name": "temperature_up",
        "standard_key": false
      },
      {
        "key": "1642574516965",
        "key_id": 5,
        "key_name": "wind_speed",
        "standard_key": false
      },
      {
        "key": "1642576257589",
        "key_id": 6,
        "key_name": "ud_wind_mode_swing",
        "standard_key": false
      }
    ],
    "remote_index": #####,
    "single_air": false
  },
  "success": true,
  "t": #####
}

These don't appear to be specific xbox commands but more generic ones so that's why I was wondering if this could be supported. It seems that all devices that re custom commands in Tyua use the device id 0.  It would be my responsibility to map the correct brand id and key ids to the commands but the support in homekit could possibly be a supported device type. I had read in earlier posts that there is some support issue with what actually works and doess not. For instance my Samsung TV is supported in Tuya IoT but it is not supported in the homebride and your plugin as it still only exposed on/off functions whereas the Tuya IoT platform shows all buttons, commands and brand specific items
Thanks

With homebridge you can ofcouse map any IR code to any HomeKit device. However, it can't be made generic for everyone. Imagine Xbox showing up as a Fan in HomeKit.
In this case feel free to fork the code and customise the mapping that works for you.


Uncleaned generated implicit dependencies and Alias

This issue was originally created at: 2007-10-03 09:17:57.
This issue was reported by: llasram.

llasram said at 2007-10-03 09:17:57

I have observed in the most recent checkpoint some almost surreal behavior on cleaning when combining implicit dependencies and Aliases.
In my minimal example I have two generated header files, an object file produced from a C source file which includes both headers, and an Alias referring to the object file and one of the generated headers.  Building then cleaning for the Alias results in the header not referred to by the Alias only being removed on a second clean:
$ ( scons example1; scons -c example1 ) | grep bheader
Touch("bheader_aliased.h")
Touch("bheader.h")
Removed bheader_aliased.h
$ scons -c example1 | grep bheader
Removed bheader.h

More strangely, if the C source file does /not/ include the header referred to by the Alias, then everything works as expected:
$ ( scons example2; scons -c example2 ) | grep bheader
Touch("bheader_aliased.h")
Touch("bheader.h")
Removed bheader_aliased.h
Removed bheader.h

SConstruct (which writes out minimal C source files) to follow.

llasram said at 2007-10-03 09:18:56

Created an attachment (id=231)
Minimal issue reproduction SConscript

stevenknight said at 2008-05-27 14:03:10

Might be related to issue #2015.

gregnoel said at 2008-05-28 22:36:37

Bug party triage.  May be related to issue 2015.

gregnoel said at 2008-12-26 13:29:17

Adjust triage of issues.

stevenknight said at 2009-11-10 18:00:19

stevenknight => issues@scons

llasram attached SConstruct at 2007-10-03 09:18:56.

Minimal issue reproduction SConscript

This doesn't happen now - running the example gives the same behavior between the two. So closing.


GetBoneParent sig outdated

Hello,
I just wanted to mention that your GetBoneParent sig is out of date, I would update it myself and create a pull, but I don't have the new one, or any x-refs.
Update would be appreciated!
Cheers

please read https://github.com/nezu-cc/BakaWare4/issues/3
TLDR: future updates are private for now and the foreseeable future, and there is WAY MORE broken than just sigs in the ancient version. And no, I'm not selling the cheat.


[PE-D][Tester A] I can put two TOS but it only stores the latest one

The add command can take in two TOS fields but only accepts the last one:

Labels: severity.Medium type.FunctionalityBug
original: Alteqa/ped#7

similar to the duplicate role bug, don't think we can change but can document it in the UG

we can handle this using argMultimap.verifyNoDuplicatePrefixesFor

According to prof, "While this sounds like a genuine oversight, as the current behavior is not strictly incorrect, I'm afraid it doesn't pass the eligibility test for 'allowed' during the feature freeze. On a somewhat related note, this behavior used to be a deliberate optimization in an earlier version of AB3. That is, this behavior allows users to quickly retype a field they mistyped earlier in the command, which may be faster than navigating back to the place where the typo is and correcting it. So, this 'feature' was provided as a way for users to rectify mistakes faster. So, if you feel this feature can be useful for that purpose, you can present it as an 'experimental' feature enabled only for a few selected commands."
This issue can be closed.


DateTime.MinValue cannot be converted to UTC in DST time zones

Expected
480

Actual
0 // in DST time zone (tested with Eastern Standard TimeZone): 0
480 // in non DST time zone

Steps To Reproduce
http://dev.deck.net/6cad8e2f400c1889be8c9f79bc69f67a
public class App
{
    public static void Main()
    {
        var start = DateTime.MinValue;
        var end = start.AddHours(8);
        var difference = (end - start).TotalMinutes;

        Console.WriteLine(difference);
    }
}

See Also

#869
http://forums.bridge.net/forum/bridge-net-pro/bugs/1457-fixed-869-1-12-subtracting-datetimes-does-not-handle-dst-in-the-same-manner-as-net?p=2020#post2020

A full test over all time zones have been undegone and all looks good, so the fix for this will be available next Bridge release!
It came last in the batch of datetime fixes, yet it works fine to all (windows 10, at least) supported time zones!


Variable mismatch in the Vagrant file prevents using nfs on the vagrant share

Vagrant folder is linked always with the default share mode, not what is set with vagrant_synced_folder_default_type
In the line https://github.com/geerlingguy/drupal-vm/blob/master/Vagrantfile#L110
This
config.vm.synced_folder ".", "/vagrant", type: vconfig.include?('vagrant_synced_folder_default_type') ? vconfig['vagrant_default_synced_folder_type'] : 'nfs'

Should be
config.vm.synced_folder ".", "/vagrant", type: vconfig.include?('vagrant_synced_folder_default_type') ? vconfig['vagrant_synced_folder_default_type'] : 'nfs'

Good catch! Thanks


GLBC health check on different port than servicePort in Ingress

Hi! I'm looking for a way to make Ingress/GLBC work when a different port is desired for the health check. Here is the context:
We run containers that contain Java gRPC services on GKE. When I set up GLBC I noticed that health checks are failing because the load balancer is making HTTP1.1 requests to the pods and our gRPC servers cannot handle HTTP1.1 requests. So I came up with a work-around by adding a side-car container that runs a HTTP server and proxies the health check requests from the LB to the gRPC server container. My service looks like this:
Name:			test-service
Namespace:		test
Labels:			name=test-service
Selector:		        app=test-service
Type:			NodePort
IP:			        <IP_ADDRESS>
Port:			grpc	9000/TCP
NodePort:		grpc	31986/TCP
Endpoints:		<IP_ADDRESS>:1337
Port:			health-check	9001/TCP
NodePort:		health-check	32231/TCP
Endpoints:		<IP_ADDRESS>:1338
Session Affinity:	None

This works but requires manual configuration after the Ingress is created. Specifically I have to:

Create a new health check in GCE that points to the node port 32231
Create a new firewall rule that allows the LB to talk to the node port 32231
Update the backend to use this new health check

Is it possible to make GLBC use a different port for health checking? Is there a better way to achieve what I want to do here?

Yeah I think we can, here's a brief sketch:
We recently added an alpha feature that allows source ip preservation for type=lb loadbalancers. As part of that implementation we introduced an annotation called healthCheckNodePort, docs are: http://kubernetes.io/docs/user-guide/load-balancer/#annotation-to-modify-the-loadbalancer-behavior-for-preservation-of-source-ip
We can reuse the healthCheckNodePort with a different value for external-traffic such that kubeproxy doesn't spin up a health check on that port. The ingress will handle everything up to the port 32231. You will have to make sure that port 32231 serves healthy on every vm. This is already the case for you, since it looks like you'll just be plugging an existing nodePort in there.

Just making sure I understand the proposal correctly:

We'll be able to specify healthCheckNodePort as an annotation when defining a service of type NodePort. Can this value be the port name in a multi-port service or does it have to be the actual NodePort port number?
GLBC will figure out that a different port should be used to create the health check when processing an Ingress. Nothing else changes except the backend now uses a health check on a port that is different from the servicePort in Ingress.

GLBC will point the health check at healthCheckNodePort, just like you did, and create the firewall rules. The port needs to serve health checks for the entire service. This part needs fleshing out since it is currently designed to fulfill a different purpose.
Right now, healthCheckNodePort needs to be an actual port. It will graduate into a field of some sort.
This is just one (probably most straightforward, least expressive) way to do it, we can also surface an entire health check block up in each backend section of the ingress.

The port needs to serve health checks for the entire service

So if I had an Ingress like
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: k8s-endpoint
  namespace: test
spec:
  rules:
  - http:
      paths:
      - path: /testservice
        backend:
          serviceName: test-service
          servicePort: 9000
      - path: /anotherservice
        backend:
          serviceName: another-service
          servicePort: 9001

The health check port is responsible for serving health checks for both test-service and another-service?

no the healtCheckPort is on the service not the ingress

Okay that makes sense. Any estimate when this is going to get fleshed out and eventually make to Beta/GA?


Allow integration testing against external Marathon

and prerequisites.
This includes refactoring, better test isolation and making the integration tests work under Linux without additional configuration.

:100:


Bluetooth: Controller: Extended Advertising - Advertising Privacy Support

Is your enhancement proposal related to a problem? Please describe.

Get a list of conformance test cases that need to be covered

Would like to do a fresh run of DDI/ADV conformance tests to see which of them passes and which not
other items will be filled in based on the list of test cases

2021-10-19:

two new HCI commands - address must be changed if data changes (not high priority)

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or graphics (drag-and-drop an image) about the feature request here.

Superceded by https://github.com/zephyrproject-rtos/zephyr/issues/43345 which covers the feature and upstream now has the Extended Advertising Privacy support.

two new HCI commands - address must be changed if data changes (not high priority)

This is no longer in the TCRL 2021-2 test plan for extended advertising support.


The script seems to not create /etc/wireguard/wg0.conf

OS: Fedora
$ uname -a
Linux serwerintranet 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 GNU/Linux

The script seems to not create /etc/wireguard/wg0.conf
$ journalctl -xu<EMAIL_ADDRESS>Jul 06 11:10:52 serwerintranet systemd[1]: Starting<EMAIL_ADDRESS>- WireGuard via wg-quick(8) for wg0...
░░ Subject: A start job for unit<EMAIL_ADDRESS>has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit<EMAIL_ADDRESS>has begun execution.
░░
░░ The job identifier is 23031.
Jul 06 11:10:52 serwerintranet wg-quick[7715]: wg-quick: `/etc/wireguard/wg0.conf' does not exist
Jul 06 11:10:52 serwerintranet systemd[1]<EMAIL_ADDRESS>Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit<EMAIL_ADDRESS>has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 06 11:10:52 serwerintranet systemd[1]<EMAIL_ADDRESS>Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit<EMAIL_ADDRESS>has entered the 'failed' state with result 'exit-code'.
Jul 06 11:10:52 serwerintranet systemd[1]: Failed to start<EMAIL_ADDRESS>- WireGuard via wg-quick(8) for wg0.
░░ Subject: A start job for unit<EMAIL_ADDRESS>has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit<EMAIL_ADDRESS>has finished with a failure.
░░
░░ The job identifier is 23031 and the job result is failed.
-- Boot 85ba8aaf3c8d4ef3a3c30f35686c0df4 --
Jul 06 11:14:02 serwerintranet systemd[1]: Starting<EMAIL_ADDRESS>- WireGuard via wg-quick(8) for wg0...
░░ Subject: A start job for unit<EMAIL_ADDRESS>has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit<EMAIL_ADDRESS>has begun execution.
░░
░░ The job identifier is 279.
Jul 06 11:14:02 serwerintranet wg-quick[786]: wg-quick: `/etc/wireguard/wg0.conf' does not exist
Jul 06 11:14:02 serwerintranet systemd[1]<EMAIL_ADDRESS>Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit<EMAIL_ADDRESS>has exited.
░░

I fixed this using another fork.

I have the same problem


AuthState event when another user is registered

Version info

Angular:
Angular CLI: 6.0.8
Node: 8.11.3
OS: darwin x64
Angular: 6.0.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular-devkit/architect         0.6.8
@angular-devkit/build-angular     0.6.8
@angular-devkit/build-optimizer   0.6.8
@angular-devkit/core              0.6.8
@angular-devkit/schematics        0.6.8
@angular/cli                      6.0.8
@ngtools/webpack                  6.0.8
@schematics/angular               0.6.8
@schematics/update                0.6.8
rxjs                              6.2.2
typescript                        2.7.2
webpack                           4.8.3
Firebase: 5.1.0
AngularFire: 5.0.0-rc.11
How to reproduce these conditions
You have to subscribe to the AngularFireAuth.authState first, for example in a route guard:

export class FirebaseAuthGuard implements CanActivate {

  constructor(private authService: AuthService, private store: Store<ISessionState>) {}

  canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean {
    return this.authService.authState$.pipe(
      take(1),
      map(authState => {
        const authenticated = !!authState;
        if (authenticated) {
          this.store.dispatch(new authActions.GetFirebaseUserSuccess(new authActions.AuthUserPayload(authState)));
        } else {
          this.store.dispatch(new authActions.NoAuthRedirect());
        }
        return authenticated;
      })
    );
  }

}

Then you have to log in your application and create a new user, from the logged in user.
By creating a new user I mean

create a new auth user on firebase
create a new document with the same id on firestore in the "users" collection
update the auth user when the creation of the document has success (I want to update the display name)

@Injectable()
export class AuthService {

  public authState$: Observable<any | null>;
  private readonly usersCol = 'users';

  constructor (private afa: AngularFireAuth, private fts: FirestoreService) {
    this.authState$ = this.afa.authState;
  }

  signIn(user: AuthUser): Observable<any> {
    return this.fromFirebaseAuthPromise(
      this.afa.auth.signInWithEmailAndPassword(user.email, user.password)
    );
  }

  signOut(): Observable<any> {
    return this.fromFirebaseAuthPromise(
      this.afa.auth.signOut()
    );
  }

  signUp(user: AuthUser, data: UserData): Observable<any> {
   //create auth user on firebase
    const createAuthUser = (email, pwd): Observable<UserCredential> => from(this.afa.auth.createUserWithEmailAndPassword(email, pwd));
    // create a new document on the users collection
    const createFireStoreUser = (authId, userData) => from(this.fts.set(`${this.usersCol}/${authId}`, userData));
    // update the auth user displayname
    const updateAuthUser = (fireUser: FirebaseUser, _data: UserData) => from(fireUser.updateProfile({
      displayName: `${_data.firstName} ${_data.lastName}`,
      photoURL: ''
    }));

    return createAuthUser(user.email, user.password).pipe(
      tap((x) => console.log('create auth user', x)),
      mergeMap((userCredentials: UserCredential) => createFireStoreUser(userCredentials.user.uid, data).pipe(
        tap(x1 => console.log('created user on firestore', x1)),
        map(() => userCredentials)
      )),
      mergeMap((fireUserCredentials: UserCredential) => updateAuthUser(fireUserCredentials.user, data).pipe(
        tap(x2 => console.log('auth user info updated', x2))
      ))
    );
  }

  changePassword(newPwd: string): Observable<any> {
    return this.fromFirebaseAuthPromise(
      this.afa.auth.currentUser.updatePassword(newPwd)
    );
  }

  private fromFirebaseAuthPromise(promise): Observable<any> {
    return from(promise);
  }

}

Expected behavior
Do no get anything on auth state observable.
Actual behavior
So when a new user is created, a new event comes in the authState Observable with the user auth state I have just created. So why I get this event while I am logged in with another user? Also if I refresh the page, the AuthGuard gets the user when I was logged in first.
For a better explanation I am logged in as user Joe and I want create a new user called Mario. When the Mario's account is created I get on the Joe's authState an event with the auth user informations related to Mario.
So why this is happening? Maybe I have called the wrong API to do this process of registration?
Thanks

I’m thinking it could have something to do with the from() you are wrapping everything with.
I don’t use it and never experienced this behavior before.
The authstate should become empty after you sign out, is this actually happening?

I have found the solution time ago, this is how i figured out:
// firebase.factory.ts
import {Injectable, NgZone} from '@angular/core';
import {AngularFireAuth} from '@angular/fire/auth';
import {environment} from '../../environments/environment';

export enum ConfigNames {
  APP = 'app-config',
  SIGNUP = 'sign-up-config'
}

@Injectable()
export class AppAngularFireAuth extends AngularFireAuth {}

@Injectable()
export class SignUpAngularFireAuth extends AngularFireAuth {}

export function AppAngularFireAuthFactory(platformId: Object, zone: NgZone): AppAngularFireAuth {
  return new AppAngularFireAuth(environment.firebase, ConfigNames.APP, platformId, zone);
}

export function SignUpAngularFireAuthFactory(platformId: Object, zone: NgZone): SignUpAngularFireAuth {
  return new AppAngularFireAuth(environment.firebase, ConfigNames.SIGNUP, platformId, zone);
}

//firebase.module.ts
@NgModule({
  imports: [
    ...
  declarations: [
   ...
  ],
  providers: [
  ...
    { provide: AppAngularFireAuth, deps: [PLATFORM_ID, NgZone], useFactory: AppAngularFireAuthFactory},
    { provide: SignUpAngularFireAuth, deps: [PLATFORM_ID, NgZone], useFactory: SignUpAngularFireAuthFactory},
  ],
  exports: [
   ...
  ]
})
export class FirebaseModule { }

Basically I have two instances of Firebase Auth, because firebase by default keeps one session per instance so you cannot for example register another user while you are logged in.


Comments about "hidden" and the Recogizer trait in parser.rs

Comments about "hidden" and the Recogizer trait in parser.rs.

Good fixes.  Thanks!


A Home button on every page

We have a back button but we should also have a home icon so that someone can go to homepage directly

Added Home Page icon


missing dependency of Crypt::DH::GMP

build image (cd cpan-api; docker build -t cpan-api .) failed, because missing some gmc.h library for module Crypt::DH::GMP (and this is dependency of module Net::OpenID::Common)
(...)

! Configure failed for Crypt-DH-GMP-0.00012. See /root/.cpanm/work/1423053241.7/build.log for details.
! Installing the dependencies failed: Module 'Crypt::DH::GMP' is not installed
! Bailing out the installation for Net-OpenID-Common-1.18.
Successfully installed JSON-2.90
! Installing the dependencies failed: Module 'Net::OpenID::Common' is not installed
! Bailing out the installation for Net-OpenID-Consumer-1.15.

(...)

! Installing the dependencies failed: Module 'Test::OpenID::Server' is not installed, Module 'Net::OpenID::Consumer' is not installed
! Bailing out the installation for /cpan-api/.
385 distributions installed
Installing modules failed
2015/02/04 13:41:43 The command [/bin/sh -c carton install] returned a non-zero code: 2

Thanks!

Thank you!


Remove alphabet key control.

You can only use arrow key to navigate the tiles within the grid.

Issue is fixed, closing issue.


ERR 505

Error: ERROR CODE 505 - DB error in method stellar.1.local.airdropRegisterLocal at new s (file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:561326) at file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:561922 at u (file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:561961) at file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:1242674 at file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:3018596 at e._call (file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:2580395) at file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:2580535 at s (file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:2580175) at e._fulfill (file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:2580505) at s (file:///opt/keybase/resources/app/desktop/dist/main.bundle.js:1:2579706)

me too

Related:

#19644
#19572
#19548
#19515

Related:

https://github.com/keybase/client/issues/15257#issuecomment-531395333
#19515
#19531
#19548
#19572
#19642
#19644
#19646
#19647

Solved: #19718

Hi Admin,
I'm getting this issue. Please help me
Error 4207


In prod environment, cannot save draft aid package, keeps freezing

[ ] In prod environment, cannot save draft aid package. It keeps freezing.

To reproduce:

Go to Create aid package
Change name and description
Press Save draft button

The same happened to this aid package:


[REST] provide java/C#/.. clients for Bagri REST interface

can be useful for someone.. will think about it..

Now any client can be generated via Swagger codegen..


feat: Feature Type Column on Feature item tables

From the community: https://discord.com/channels/1167985253072257115/1170004050578767973/1265335001633914961
Would it be possible, either by default or as an option, to include the Feature Type in the "Features" tab area? Especially for Passive Abilities, I feel like this would be useful. My players are level 9 right now, and on average they have about 15-20 passive abilities, and it can make finding the Feats a little time consuming if you don't know what you're looking for.
Plus Passive Abilities right now is looking a little bare, with only "Requirements" being the only field other than the item name. It used to also show the Reference field, which is where I used to just use to mark off Feats, but that's been gone a while.

Awaiting answer on if this is what the requester had in mind:

Confirmed, yes.


Spot fleet's IamInstanceProfile has a name property

See http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfileSpecification.html. It would make life easier for me to have this property available in troposphere.

While that is correct unfortunately the name property is not exposed via the CloudFormation API, see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-iaminstanceprofile.html.
I would recommend suggesting to AWS support that they add this property.

Closing until this is available in CloudFormation.

Ah, I didn't notice that. Thanks.


OAUTH

A extension

Don't worry guys, I'm sure it's server sided

all this extension does is just generate a link that you still gave to find yourself?

all this extension does is just generate a link that you still gave to find yourself?

I'm still working on extension

aight

all this extension does is just generate a link that you still gave to find yourself?

I'm still working on extension

Anyways, how did u get access to extension

aight

I'm thinking on how to use api

aight

I'm thinking on how to use api
How to make it use api*

Closed because it's too hard

Closed because it's too hard

And I don't think it works

Use https://github.com/TurboWarp/extensions/pull/1757


Gitsigns not working with yadm

Description
I have a yadm repo. Path to repo is~/dots/yadm-repo which I have as an env var, YADM_REPO. Git signs works great for me normally but doesn't with yadm.
Because of my repo location, I have a shell script in ~/bin/yadm whose contents are:
#!/bin/sh
$HOME/dots/yadm-project/yadm --yadm-repo ${YADM_REPO} "$@"

In terminal, yadm ls-files works fine. It also works in neovim when I issue :!yadm ls-files. I can see all the files. However, gitsigns doesn't show me anything. I'm not sure what I'm missing.
I was originally using nvim version 0.9-dev. I noticed on gitsigns that dev builds can have weird behaviors and moved to stable 0.8.3 but the issue didn't fix itself.
Neovim version
NVIM v0.8.3
Operating system and version
AL2_x86
Expected behavior
Expected behavior would be to have gitsigns for files tracked by my yadm repo.
Actual behavior

The above image shows changes to lazy_bootstrap.lua.

The above image is at the changed line with nothing on the gitgutter.
Minimal config
vim.o.packpath = '/tmp/nvim/site'

local plugins = {
  gitsigns = 'https://github.com/lewis6991/gitsigns.nvim'
}

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/pack/test/start/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
end

require('gitsigns').setup{
    debug_mode = true,
    signs          = {
      add          = { text = "┃" },
      change       = { text = "┃" },
      delete       = { text = "_" },
      topdelete    = { text = "‾" },
      changedelete = { text = "~" },
      untracked    = { text = "┆" },
    },
    signcolumn     = true, -- Toggle with `:Gitsigns toggle_signs`
    numhl          = false, -- Toggle with `:Gitsigns toggle_numhl`
    linehl         = false, -- Toggle with `:Gitsigns toggle_linehl`
    word_diff      = false, -- Toggle with `:Gitsigns toggle_word_diff`
    sign_priority  = 4, -- Lower priorirty means diag signs supercede
    preview_config = { border = "rounded" },
    yadm           = { enable = true, },
    on_attach      = function(bufnr)
      local gs = package.loaded.gitsigns

      local function map(mode, l, r, opts)
        opts = opts or {}
        opts.buffer = bufnr
        vim.keymap.set(mode, l, r, opts)
      end

      map("n", "]c", function()
        if vim.wo.diff then return "]c" end
        vim.schedule(function() gs.next_hunk() end)
        return "<Ignore>"
      end, { expr = true, desc = "Next hunk" })

      map("n", "[c", function()
        if vim.wo.diff then return "[c" end
        vim.schedule(function() gs.prev_hunk() end)
        return "<Ignore>"
      end, { expr = true, desc = "Previous hunk" })

      -- Actions
      map({ "n", "v" }, "<leader>hr", '<cmd>lua require("gitsigns").reset_hunk()<CR>',
        { desc = "reset hunk" })
      map("n", "<leader>hS", '<cmd>lua require("gitsigns").stage_buffer()<CR>',
        { desc = "stage buffer" })
      map({ "n", "v" }, "<leader>hs", '<cmd>lua require("gitsigns").stage_hunk()<CR>',
        { desc = "stage hunk" })
      map("n", "<leader>hu", '<cmd>lua require("gitsigns").undo_stage_hunk()<CR>',
        { desc = "undo stage hunk" })
      -- doesn't exist yet
      -- map('n', '<leader>hU', '<cmd>lua require("gitsigns").undo_stage_buffer()<CR>')
      map("n", "<leader>hR", '<cmd>lua require("gitsigns").reset_buffer()<CR>',
        { desc = "reset buffer" })
      map("n", "<leader>hp", '<cmd>lua require("gitsigns").preview_hunk()<CR>',
        { desc = "preview hunk" })
      map("n", "<leader>hb", '<cmd>lua require("gitsigns").blame_line({full=true})<CR>',
        { desc = "line blame (popup)" })
      map("n", "<leader>hB", '<cmd>lua require("gitsigns").toggle_current_line_blame()<CR>',
        { desc = "line blame (toggle)" })
      map("n", "<leader>hd", '<cmd>lua require("gitsigns").diffthis()<CR>',
        { desc = "diff against the index" })
      map("n", "<leader>hD", '<cmd>lua require("gitsigns").diffthis("~1")<CR>',
        { desc = "diff against previous commit" })
      map("n", "<leader>hx", '<cmd>lua require("gitsigns").toggle_deleted()<CR>',
        { desc = "toggle deleted lines" })

      -- Text object
      map({ "o", "x" }, "ih", ":<C-U>Gitsigns select_hunk<CR>")
    end

}

-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE

Steps to reproduce

nvim --clean -u minimal.lua
...

Gitsigns debug messages

The above image shows relevant debug messages saying the file isn't in git repo.

The above image shows the command yadm ls-files | rg boostrap being ran from inside nvim. The file lazy_bootstrap.lua has been edited as shown in the images above.

Mistake was on my end. Found out that my /home/user was a symlink to /local/home/user so yadm wasn't being picked up.


Fix the xml report generation for kind e2e jobs

Changes
The generation of the junitxml test results file fails because mktemp
accepts a slighlty different syntax on alpine. Pull in a fix to that
from the plumbing repo.
The ARTIFACTS varible is usually set by prow for prow jobs configs.
Set it to the mount point of the workspace used by the e2e kind
test task.
Signed-off-by: Andrea Frittoli<EMAIL_ADDRESS>/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-tekton-pipeline-build-tests

/test pull-tekton-pipeline-unit-tests

/test pull-tekton-pipeline-build-tests

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-tekton-pipeline-build-tests

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-tekton-pipeline-alpha-integration-tests

/test pull-pipeline-kind-k8s-v1-21-e2e

@lbernick The Kind based CI job I'm tweaking in this PR could be handy to split the main integration tests in multiple jobs without running out of clusters from boskos in our CI.
This PR helps in getting some results uploaded to a GCS bucket but there are still a few more things missing before we have similar functionality as with prow:

requiring ok-to-tests for PRs coming from outside the org
displaying comments with help on how to re-run the tests
mark jobs as required in the branch protection - this could be done manually for now. One gotcha there is that notifications are configured today so that if a job is skipped then no notifications are sent, but we could change that to always send the notifications and mark skipped jobs as passed.

In terms of displaying / storing logs, today we use the Tekton Dashboard, but that is short lived. Some ideas on how to improve on that: https://github.com/tektoncd/plumbing/issues/1046


Bug on startup - (10 minutes to start and error)

When starting CairoShell (for the first time, and all the others), the cairo is charging for a long time, after many minutes it shows the error message, if you click No, you can use it normally. If you click Yes, it restarts and repeats the delay ...
(Windows 10 pro x64, Xeon1270v2, Z77, 16gb, SSD, GTX970)

Cairo Desktop Error
Would you like to restart Cairo?
Please submit a bug report with a screenshot of this error. Thanks!
Message: Uma exceção foi acionada pelo destino de uma chamada.
Target Site: System.Object CreateObjectInstance(System.Exception ByRef)
Version: 0.3.6768.0
em System.Windows.Data.ObjectDataProvider.CreateObjectInstance(Exception& e)
em System.Windows.Data.ObjectDataProvider.QueryWorker(Object obj)
em System.Windows.Data.ObjectDataProvider.set_ObjectType(Type value)
em CairoDesktop.MenuBar.<>c__DisplayClass23_0.b__1()
em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Inner exception:
Message: O inicializador de tipo de 'CairoDesktop.Common.SearchHelper' acionou uma exceção.
Target Site: Void .ctor()
em CairoDesktop.Common.Searc...
Yes No

Could you also provide the .net framework versions and the build of windows 10 you are using?
Sent from my iPhone
On Mar 19, 2019, at 5:49 AM, procobain <notifications<EMAIL_ADDRESS>wrote:
When starting CairoShell (for the first time, and all the others), the cairo is charging for a long time, after many minutes it shows the error message, if you click No, you can use it normally. If you click Yes, it restarts and repeats the delay ...
(Windows 10 pro x64, Xeon1270v2, Z77, 16gb, SSD, GTX970)

Cairo Desktop Error
Would you like to restart Cairo?
Please submit a bug report with a screenshot of this error. Thanks!
Message: Uma exceção foi acionada pelo destino de uma chamada.
Target Site: System.Object CreateObjectInstance(System.Exception ByRef)
Version: 0.3.6768.0
em System.Windows.Data.ObjectDataProvider.CreateObjectInstance(Exception& e)
em System.Windows.Data.ObjectDataProvider.QueryWorker(Object obj)
em System.Windows.Data.ObjectDataProvider.set_ObjectType(Type value)
em CairoDesktop.MenuBar.<>c__DisplayClass23_0.b__1()
em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Inner exception:
Message: O inicializador de tipo de 'CairoDesktop.Common.SearchHelper' acionou uma exceção.
Target Site: Void .ctor()
em CairoDesktop.Common.Searc...
Yes No
[CairoDesktop_B7uSNASuOc]https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31631530%2F54596289-12196900-4a13-11e9-8fe9-c1a74593dfaf.png&data=02|01||52da5ba62a214cdb721f08d6ac502a6c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636885857634327839&sdata=ualBIGkQ8jXkNeW5rKcECosDbuGnmHMq07b5OOWS8Z0%3D&reserved=0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcairoshell%2Fcairoshell%2Fissues%2F248&data=02|01||52da5ba62a214cdb721f08d6ac502a6c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636885857634337848&sdata=pjUqOO4QbLEWbNsDerbdHN9p40J8TtoNlZxwMT6vAhE%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGxXASz3p8_BJP5D_qlaR-8-Cae5sW88ks5vYLKhgaJpZM4b7sRu&data=02|01||52da5ba62a214cdb721f08d6ac502a6c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636885857634337848&sdata=DR2pxrtn2%2FSB1xRMUVS06lHWK%2FOJADHcNfS8OZcyiCI%3D&reserved=0.

After these questions, I updated from 1803 to 1809, and updated everything I needed, including .net 3.5 and 4.7.2, cairo is working normally, thanks for the help.

Glad to hear it's working now!


Magnetic Monopole

You can't go from area 1 to area 2. Also the background in dipole 1 doesn't show

@Tronicality, for Dipole 1: the zone Y Positions might be negative for some reason.