Provide ability to determine if collision has occurred on popover when passing in sideOffset / alignOffset

Describe the feature in detail (code, mocks, or screenshots encouraged)
It would be nice to have an ability to pass a callback as values for sideOffset / alignOffset to get the side that's going to be used before determine the offsets.
Something like
type SideOffset = number | (side: Side) => number;

I'm using the library somewhat unconventionally by creating a custom context menu using popovers as I want a single instance of the component at all times.
I have a popover with the content dynamically anchored to the element that is right clicked.  Then manually calculate the offsets using the mouse event.  This works fine until the collision detection flips the side and then the offset causes the element to be very far from the target element.
First screenshot shows the typical behavior.

Second screenshot shows the distance from the mouse when collision detection flips the side.

What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
Using next branch

I'll need to dig further into floating UI's source code to determine how feasible this is.
My initial shot at it resulted in the floating state breaking entirely, which leads me to believe it needs to know the sideOffset/alignOffset before determine which side to move the floating content to (imagine if you had sideOffset={3000} and it wouldn't fit on the flipped side + that offset).

So, I took a look through the context menu code and realized I was kinda going down an unnecessary complex path.  I imitated what you do with having a virtualEl that's just of type Measurable and have it working much better with less code.  Personally, I don't need this feature anymore, though I'm not sure whether or not to close the issue in case someone actually needs it.


Github actions are failing

Hi James,
The GitHub actions are failing and this means errors can go unnoticed.
https://github.com/Psy-Fer/blue-crab/actions

Currently MacOS13/14 are failing
I think this is due to using python3.13
Especially after pinning a minimum version on pip
I have opened an issue with pod5 devs
https://github.com/nanoporetech/pod5-file-format/issues/149


[release/6.0] Push command line url parameters to lowest precedence.

Backport of #1382 to release/6.0
This also requires taking a dependency on the 6.0.0 version of Microsoft.Extensions.Hosting in which the IHostBuilder ConfigureDefaults(this IHostBuilder builder, params string[] args) method was introduced. Without this dependency, the code would need to be rewritten in such as way that the in-memory collections are inserted before the sources that were already added from prior invocations of IHostBuilder IHostBuilder.ConfigureHostConfiguration(Action<IConfigurationBuilder> configureDelegate).

/backport to release/6.x


Disallow foreign schemes on mounts that have nested mounts

Master should restrict foreign URI's access to its own mount only. To guarantee that this fix blocks foreign URI translation for mounts that have nested mounts.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5317/
Test PASSed.

@gpang Updated as we discussed. PTAL.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5384/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5395/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5396/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5404/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5405/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5407/
Test PASSed.

alluxio-bot, merge this please


Test Pagination.js

Test the promise that is returned
try variation of all the arguments being passed in being invalid/valid

Will have to stub out the third-party request here using proxyquire, too?

Dang, that's right. we're going to have to.

Oh, geez. The stub is going to have to mimick some sort basic

is the proxyquire something that you guys did last night?

I added it in this morning, but it's something we realized we needed last night in order to test request(...) in pagination. Not everyone who runs this test will have the same username/password for their accounts, so you can stub out the request and have it return a response on a certain username/password combo and error on others.

It's also to help ensure that our unit tests only test the single unit on its own. We don't want our unit tests depending on however some external system operates. (i.e. The pagination module shouldn't depend on the real implementation of the request module.)


Fix existing bugs before moving to next iterations

Here is the status for each of the engines (For Each of the engine, this PR also addes proper versioning inside the requirements, which was causing some problem in reproduction of results)

[X] AutoAWQ: Need to add auto-awq kernel library for making it work
[X] CTranslate2
[X] CTransformers
[X] DeepSpeed
[X] PyTorch Transformers
[X] ExllamaV2: Added tokenizers library inside requirements
[X] Optimum Nvidia: Added official image

Note: Removing the following engines, since they are not contributing much in the current inference market:

Burn
TinyGrad

For AutoGPTQ, and OnnX I will do in a different issue. Since, we need to make a decision on whether we are going for Mistral or not. Because Mistral has Onnx support too here

@Anindyadeep one last comment, can you remove the removed engines from docs/llama2.md.template

@Anindyadeep one last comment, can you remove the removed engines from docs/llama2.md.template?

Done


Problem with using ui-sortable and infinite scroll together

Hi,
I'm using ui-sortable and infinite scroll and have some problem when items are added dynamically (by infinite scroll). For example, 20 items shown and i'm start dragging element to down so infinite scrolling fires and next 20 items added, and i can't drop element to this new dynamically added items.
Can someone help me with this issue?
Thanks,

Hmmm, I've never used it myself, but logically the DOM manipulations from
the infinite scroll probably messes with the sortable implementation. Try
running something like $(sortableElement).sortable('refresh') after the
infinite scroll fires.
--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Thanks for your answer,
but i tried to do "refresh", and it doesn't help. Problem appear only if the item is added while dragging, and not only by infinite scroll, even if i use, for example some setInterval and add new element each few sec. If we change DOM during the process of dragging without "refresh" - i can't drop dragged element to just added items, but if i do "refresh" after each new added element - it's look strange, elements "flicker".
Here is example with setInterval: http://jsfiddle.net/37nhrp7y/2/
Start dragging and wait till new element will be added and try to drop to the bottom

Thanks for the great jsfiddle that you provided. Couldn't be more accurate.
I don't think that the problem originates from our side, since the drag&drop functionality is pure jquery-ui-sortable. As a result, I think that this should be reported to jquery-ui-sortable itself.
I also tried refreshPositions but like  refresh it didn't work...

I also tried it with pure jquery-ui-sortable, here is example:
http://jsfiddle.net/X5sBm/13/
Seems it works fine after refreshing, this is why i'm asking here

Thanks for the vanilla jquery-ui version :+1: that was very helpful.
Here is how it ended up after some tries.
Some of the things that I had to change included:

referencing a more recent version of ui-sortable
using a proper ng-model
using a better track by (that might not actually be necessary)

Does this cover your use case?

In my project i'm use newest version of jquery-ui and proper ng-model to (just forget about it in jsfiddle above). But unfortunately it's doesn't solve the pb, see video below where elements "blinks" (by the left side - poor jquery-ui, by the right - your example):
https://vimeo.com/148197887

So, to clear this out, the sorting now works, it's just the blinking that bothers you?

Yep, you're right. I would greatly appreciate it if you are prompt in what direction to look for solving this pb?
Thanks,

I'm sorry but I really don't know what to suggest, since you absolutely need to refresh the sortable, but this by definition causes the mini reinitialization of jquery-ui-sortable widget and the flickering of the helper and placeholder elements. Your best chance is to dig in jquery-ui documentation.
As you can probably find in other issues, I always have suggested people against manipulating the DOM or the models, during a drag. At this point I'm really happy that it even worked to that degree... Since angular's ngRepeat doesn't like it when you touch the DOM yourself and as an extra we are doing a couple of tricks with the elements that existed at the time that the drag started, so that it can work.

Thank you very much, you've been very helpful! ;)

It was nice elaborating with you on this. I hope this detailed issue and
its code samples will be useful to others as well. :+1:
--
Thodoris Greasidis
Computer, Networking &
Communications Engineer


Migrate to python3

We currently need python2 to build the smart card connector. Since python2 will go away at some point, we need to migrate to python3.

This is mostly done, except in the code that calls NaCl SDK. I don't think we should invest into migrating the latter, since it'll be lots of efforts into a legacy toolchain that'll be removed in mid-term future. Hence closing this as fixed.


Update cs2.json

added 28 new items

Can you also make changes to csgo.json? I keep this file for legacy reasons (cs2.json is identical).


Add support for instance method reassignment when extra='allow'

Change Summary
Adding aligning the logic of __setattr__ and __getattr__ when extra=True on a model's config.
Related issue number
Fix #7631
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[ ] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @Kludex

Please review
Reviews welcome - not super set on a given pattern / if we should even do this, just looking for feedback 😄

What happens if the model is also frozen?

Lol good question.
I checked, and:

On main, you get an error if you try to replace a method on a frozen model instance with or without extra='allow'.
On this branch, you get an error if you try to replace a method on a frozen model instance with or without extra='allow'.
For what it's worth, dataclasses raises an error if you try to overwrite a method on a frozen dataclass instance

I think this is reasonable behavior for frozen models (i.e., frozen instances don't let you overwrite any attributes, not just fields/extra/etc.). And since it raises an error, if we did ever want to change this in the future it would be easier to justify in terms of backwards compatibility than going in the other direction (i.e., making a non-error into an error).


Making 'data types' mandatory for stations

Stations are used to group data together for OSPAR, HELCOM and AMAP hazardous substances assessments. Data type is used in for the matching of stations with data and data series might fall out of assessment if the station 'data type' do match with data. Because station 'data type' is critical in the assessment processing, perhaps it should be mandatory to have at least one 'data type' added for a station?
This was suggested by Germany that finds it 'strange' using an optional field to decide to take data for an assessment or not (only station matched data are used in the OSPAR MIME assessment)

Respective task is created in Stations section in DevOps


Added setup_bin attribute to the 'append_env_path' option in the default...

I noticed that the default recipe doesn't use the setup_bin attribute. As per the ark cookbook documentation,
append_env_path: If true, append the ./bin directory of the extracted directory to the PATH environment variable for all users, by placing a file in /etc/profile.d/. The commands are symbolically linked into /usr/bin/*.
I have added this attribute to the default recipe.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@smackers-user

Please sign the CLA here.


Work Zone Projects per Feed

It is unclear if the intention of the specification is to limit a unique 'feed' (URL) to a single work zone project with 1 or more work zone activities (as defined by the XSD), or, whether it is acceptable for a single feed to support multiple projects, each with their own header and metadata assignment.

See #65


Error logging (feature request)

New tool
During usage of angular-cli there could be an Error/Usage logging tool that would monitor user experience. After approval of users, errors that occur would be recorded (and automatically create an issue, if it is not a user error and does not already exist). This would help the angular-cli team in the following ways:

Prioritize issues based on frequency. The Angular-cli team would be able to easily focus on important problems.

Users do not have to create issues as they will be automatically created.
a. This will avoid duplicates as the system would be able to detect if it already exists but also all important errors will be reported during usage. This would overall improve angular-cli.
b. Issues would be solved much faster as they will be automatically generated with all necessary info to replicate and solve. Angular-cli's time wil not be consumed to understand the problem and have communication delays with users.

If something goes wrong with a new release it will be quickly dealt with before affecting the community.

This is just a suggestion to improve things.

@Brocco was looking at stats/monitoring options, this sounds like it would fit in there.

Closing as this is not currently in the Angular CLI roadmap.
Let's re-consider this in the future.


Differences from type-graphql

What's the difference between this library and type-graphql?

typegql is trying to be thin layer over original graphql API while type-graphql has some framework-like features like baked in authorization or validation model.
With typegql I've tried to make it pure library.

Super helpful, thanks!


Can't able to use this module or directive?

Can't resolve all parameters for ClickOutsideDirective: ([object Object], ?)
First I import clickoutsidemodule and then use (clickoutside) event in div. But, it gives error.

Can I see how you're importing and using the module?

import { ClickOutsideModule } from 'ng-click-outside';
And then import this module in @import decoration

@sudhirroy-tudip Do you mean in the imports array of your NgModule?

Yes

Also, the earlier version of the same module works well but when you guys updated it, It's no more working and says Can't resolve all parameters for ClickOutsideDirective: ([object Object], ?)

Did you also import the BrowserModule from @angular/platform-browser? The only other suggestion that I have would be to remove node_modules and install everything again in case something went wrong.

Try importing it to see if that helps.


Add support for the Pkl configuration language

Language name
To quote Pkl's homepage:

Pkl — pronounced Pickle — is a configuration-as-code language with rich validation and tooling. It can be used as a command line tool, software library, or build plugin. Pkl scales from small to large, simple to complex, ad-hoc to recurring configuration tasks.
We created Pkl because we believe that configuration is best expressed in a special-purpose configuration language; a blend between a static configuration format, and a general-purpose programming language.
Not to be confused with Python's “Pickle” serialisation format, stored on-disk using .pkl as a file extension.
URL of example repository
https://github.com/apple/pkl-k8s-examples
URL of syntax highlighting grammar
https://github.com/apple/tree-sitter-pkl
Editor extensions

VSCode
Neovim
IntelliJ

Most popular file extensions
.pkl
Detected language
none

The format you're referring to is already supported by Linguist as Pickle, assuming it's the same format documented by FileInfo.com. However, it lacks syntax highlighting (which may give the impression of the format not being supported on GitHub), so if you know of a TextMate-compatible grammar (i.e., not a Tree-Sitter grammar), we'd welcome a pull-request to add it, provided it's released under a permissive license. See CONTRIBUTING.md for more info on that.

@Alhadis I took a stab at putting together a repo here https://github.com/nishtahir/language-pkl. Seems to work well in NovaLightshow . If you guys are ok with this, I can open a PR with it.

New PR: https://github.com/github-linguist/linguist/pull/6730


Stuck at "i2c /dev entries driver"

My raspiblitz is refusing to boot up after working perfectly for two months. I tried to reinstall a new copy on a NEW SD card and still having the same issue. It was able to only connect to the network via ethernet at theinitial install process but then when it rebooted it just hangs and does nothing. No network. No SSH. Nothing.
This is a log from the 1st install before it shuts down and never boot up again:
OK - a restart is needed: sudo shutdown -r now
Provisioning UPS - not active
Provisioning LNbits - keep default
Provisioning JoinMarket - keep default
Provisioning Specter - keep default
Provisioning Faraday - keep default
Provisioning Balance of Satoshis - keep default
Provisioning ThunderHub - keep default
Provisioning letsencrypt - keep default
Provisioning kindle-display - keep default
Provisioning Stacking Sats Kraken - keep default
Running the custom install script ..
'/mnt/hdd/app-data/custom-installs.sh' -> '/home/admin/custom-install.sh'
There are no custom user installs so far.
Done

*** Replay backup of LND conf/tls
*** Repair Bitcioin Conf (if needed)
Aligning lnd.conf & bitcoin.conf
Not setting local network hostname
Prepare fstab for permanent data drive mounting ..
datadisk --> sda
DONE - Give raspi some cool off time after hard building .... 5 secs sleep
END Provisioning
rebooting
shutdown in 1min

Broadcast message from root@raspberrypi (Sun 2020-10-04 01:06:05 BST):

The system is going down for reboot at Sun 2020-10-04 01:07:05 BST!

Now it just powers up and shows "i2c /dev entries driver" as a last message on the HDMI screen.
Tried:

new SD card
reinstall raspiblitz
connect HDD to USB2 instead of USB3
installed default Raspberry Pi OS (works perfectly)

There some LCD setups that hang that way ... but usually its just the LCD output and in the background system is still running. If you run into "not able to ssh in" check if you using the Shimfan and remove it. Also some HDDs make problems - connect them to the USB2 ports.

There some LCD setups that hang that way ... but usually its just the LCD output and in the background system is still running. If you run into "not able to ssh in" check if you using the Shimfan and remove it. Also some HDDs make problems - connect them to the USB2 ports.

thanks for the quick assist! were there any breaking changes in the last update? because I was always connecting my USB 3.0 HDD to the right USB 3.0 port.

tried connecting the HDD to the USB2 port, still behaving the same. It's not connecting to ethernet, only on the install before shutdown it did, now it's just the RPI running and doing nothing

Ah OK .. when it worked before good then you wil probaly not have that bad HDD casing that just works on USB2 and also no Shimfan.
Try to make a fresh sd card and start it without LCD - by not connecting the LCD screen and turn it to HDMI output like this with placing a file on the boot section before first start: https://github.com/rootzoll/raspiblitz/blob/v1.6/FAQ.md#can-i-run-the-raspiblitz-without-a-displaylcd

Ah OK .. when it worked before good then you wil probaly not have that bad HDD casing that just works on USB2 and also no Shimfan.
Try to make a fresh sd card and start it without LCD - by not connecting the LCD screen and turn it to HDMI output like this with placing a file on the boot section before first start: https://github.com/rootzoll/raspiblitz/blob/v1.6/FAQ.md#can-i-run-the-raspiblitz-without-a-displaylcd

never had the LCD on just a cooling fan enclosure. Did the HDMI file method anyway and still same result. Also conencted the HDD to USB2...

This might be a known issue when the RaspiBlitz is not booting with a HDMI cable connected.
Try booting without HDMI and connect via ssh.
You can connect the HDMI screen later and use the menu shortcut command:
hdmi
to run:
sudo /home/admin/config.scripts/blitz.lcd.sh hdmi on

This might be a known issue when the RaspiBlitz is not booting with a HDMI cable connected.
Try booting without HDMI and connect via ssh.
You can connect the HDMI screen later and use the menu shortcut command:
hdmi
to run:
sudo /home/admin/config.scripts/blitz.lcd.sh hdmi on

no HDMI cable is connected just RPi, Ethernet cable and HDD.
P.S. It' hangs at a point where  no SSH and no ethernet are working

Update:
Okay upon installing raspiblitz another time I get this error at the end of the install:
$ sudo tail -n1000 -f raspiblitz.log:
/home/admin/config.scripts/blitz.touchscreen.sh: line 129: /mnt/hdd/raspiblitz.conf: Input/output error
sed: can't read /mnt/hdd/raspiblitz.conf: Input/output error
OK - a restart is needed: sudo shutdown -r now
Provisioning UPS - not active
Provisioning LNbits - keep default
Provisioning JoinMarket - keep default
...

/home/admin/config.scripts/blitz.touchscreen.sh: line 129: /mnt/hdd/raspiblitz.conf: Input/output error
sed: can't read /mnt/hdd/raspiblitz.conf: Input/output error

This does not look good. You seem to have I/O errors on your HDD. I would call (if possible) repair and run BACKUP-LND to download the rescue-file to your laptop - so that you have your LND funds+channels safe. After that your RaspiBlitz will turn off. Make sure that rescue-file is a TAR file you can unzip on your laptop and also contains the channel.backup file.
Then you can give the HDD another chance by fresh formatting it on another computer and then start with a fresh sd card - setting up a complete fresh RaspiBlitz (with resyncing the blochchain) and the choose "OLD" LND wallet and reupload that the rescuefile.

/home/admin/config.scripts/blitz.touchscreen.sh: line 129: /mnt/hdd/raspiblitz.conf: Input/output error
sed: can't read /mnt/hdd/raspiblitz.conf: Input/output error

This does not look good. You seem to have I/O errors on your HDD. I would call (if possible) repair and run BACKUP-LND to download the rescue-file to your laptop - so that you have your LND funds+channels safe. After that your RaspiBlitz will turn off. Make sure that rescue-file is a TAR file you can unzip on your laptop and also contains the channel.backup file.
Then you can give the HDD another chance by fresh formatting it on another computer and then start with a fresh sd card - setting up a complete fresh RaspiBlitz (with resyncing the blochchain) and the choose "OLD" LND wallet and reupload that the rescuefile.

my HDD was untouched and the raspiblitz wasn't working for around a month before this happened. My instinct was to just redo everything from scratch but I was more bugged to know how this happened and how a fresh install of raspiblitz on a new SD card didn't fix the issue...
P.S don't need to backup anything as I didn't have any relevant data there so it's fine to just delete all and skip recovering, I was just worried about downloading the blockchain again...

I/O erros are hard to pin down. A common source for I/O errors is the power supply. If on writing the power is weak it can corrupt the HDD data.

I'm experiencing this same issue, trying to to get a new Raspiblitz install running.
I've tried booting from the pre-built image, and building an image on top of a Rasbian install, both times I end up stuck with the boot hanging on "i2c /dev entries driver". This happens with or without my LCD hat connected, and with & without HDMI connected.

I/O erros are hard to pin down. A common source for I/O errors is the power supply. If on writing the power is weak it can corrupt the HDD data.

what guarantees that my future raspiblitz install doesn't corrupt my blockchain and have to re-download it all again let alone recovering any lost wallet info if there were any?
my HDD was off and untouched for quite sometime. now it's corrupted because of the new version of raspiblitz. do you suggest I format my HDD and redo all again?
I'm looking for an alternative...

P.S assuming the HDD is broken why raspiblitz can't format and ask to re-downloads again like on a fresh install?

I/O erros are hard to pin down. A common source for I/O errors is the power supply. If on writing the power is weak it can corrupt the HDD data.

got 2 original power supply adapters

i observed some sedxxx files in the home directory, maybe we got a bug with a script which is abusing sed?

i observed some sedxxx files in the home directory, maybe we got a bug with a script which is abusing sed? This could break the system to the point we currently are in

Thats interesting ... can you give more details on this for debug?

Hey, i observed an empty sed file in /mnt/hdd and also in /home/admin. I could try to get the timestamps for those sed files and compare to some logs what was happening at that point.
Maybe someone could recheck the filesystem for some sed* files

Maybe someone could recheck the filesystem for some sed* files

Found nothing like you describe:
$ sudo find / -name sed*
find: ‘/proc/4597’: No such file or directory
find: ‘/proc/10709/task/10709/net’: Invalid argument
find: ‘/proc/10709/net’: Invalid argument
/home/admin/.cache/yarn/v6/npm-shelljs-0.8.3-a7f3319520ebf09ee81275b2368adb286659b097-integrity/node_modules/shelljs/src/sed.js
/home/thunderhub/thunderhub/node_modules/shelljs/src/sed.js
find: ‘/run/user/1000/gvfs’: Permission denied
/var/lib/dpkg/info/sed.md5sums
/var/lib/dpkg/info/sed.list
/usr/include/linux/sed-opal.h
/usr/share/vim/vim81/syntax/sed.vim
/usr/share/doc/sed
/usr/share/doc/sed/sedfaq.txt.gz
/usr/share/locale/et/LC_MESSAGES/sed.mo
/usr/share/locale/de/LC_MESSAGES/sed.mo
/usr/share/locale/fr/LC_MESSAGES/sed.mo
/usr/share/locale/pt/LC_MESSAGES/sed.mo
/usr/share/locale/it/LC_MESSAGES/sed.mo
/usr/share/locale/fi/LC_MESSAGES/sed.mo
/usr/share/locale/zh_TW/LC_MESSAGES/sed.mo
/usr/share/locale/id/LC_MESSAGES/sed.mo
/usr/share/locale/he/LC_MESSAGES/sed.mo
/usr/share/locale/eo/LC_MESSAGES/sed.mo
/usr/share/locale/uk/LC_MESSAGES/sed.mo
/usr/share/locale/eu/LC_MESSAGES/sed.mo
/usr/share/locale/pl/LC_MESSAGES/sed.mo
/usr/share/locale/tr/LC_MESSAGES/sed.mo
/usr/share/locale/da/LC_MESSAGES/sed.mo
/usr/share/locale/sv/LC_MESSAGES/sed.mo
/usr/share/locale/af/LC_MESSAGES/sed.mo
/usr/share/locale/ro/LC_MESSAGES/sed.mo
/usr/share/locale/nl/LC_MESSAGES/sed.mo
/usr/share/locale/sl/LC_MESSAGES/sed.mo
/usr/share/locale/gl/LC_MESSAGES/sed.mo
/usr/share/locale/ca/LC_MESSAGES/sed.mo
/usr/share/locale/el/LC_MESSAGES/sed.mo
/usr/share/locale/ko/LC_MESSAGES/sed.mo
/usr/share/locale/hr/LC_MESSAGES/sed.mo
/usr/share/locale/es/LC_MESSAGES/sed.mo
/usr/share/locale/cs/LC_MESSAGES/sed.mo
/usr/share/locale/sr/LC_MESSAGES/sed.mo
/usr/share/locale/ru/LC_MESSAGES/sed.mo
/usr/share/locale/hu/LC_MESSAGES/sed.mo
/usr/share/locale/nb/LC_MESSAGES/sed.mo
/usr/share/locale/sk/LC_MESSAGES/sed.mo
/usr/share/locale/vi/LC_MESSAGES/sed.mo
/usr/share/locale/pt_BR/LC_MESSAGES/sed.mo
/usr/share/locale/ja/LC_MESSAGES/sed.mo
/usr/share/locale/bg/LC_MESSAGES/sed.mo
/usr/share/locale/zh_CN/LC_MESSAGES/sed.mo
/usr/share/locale/ga/LC_MESSAGES/sed.mo
/usr/share/locale/ast/LC_MESSAGES/sed.mo
/usr/share/info/sed.info.gz
/usr/share/man/man1/sed.1.gz
/bin/sed

You could have run buggy sed command manually. Happens to me often.

@ChuckNorrison can you describe when those start to appear - is that before the RaspiBlitz get Stuck or is it after and you were able to mount the drive again?

Hey, sorry for the sed hint, seems not related to that. I found a great answer on raspis so called "maintenance mode". This seems to gets caused by external USB storage. Maybe this is not available in time while boot.
This can be solved by edit fstab and remove the dependency to external storage... maybe mount after boot?

Update:
connected the HDD to Windows/Linux OS and it looks dead and needs a manual reformat since raspiblitz can't do on it's own while installing..
Looking into how #552 might be related

@rootzoll
The final conclusion is that HDDs are risky and shouldn't be used on a raspiblitz setup, even like the one I have which is USB 3.0 spec... I will be looking for a SSD since they are more durable and require less power than HDDs and powering the raspberry pi with a proper 5v 3A power adapter should be no issue for powering other peripherals connected to it.

This should not be closed, this is essential to build this blitz up properly. So maybe the docs needs to get changed if SSD is not affected or we can get deeper into the USB3.0 HDD Limitations of a PI 4

And here we go:

The adapters work fine under USB2.0 on the Raspberry Pi 4 and on x86 under USB3.0, without quirks and UAS enabled.
This issue probably pertains to VL805 firmware or the Raspberry kernel and both of those are the vendor's responsibility to fix.

https://github.com/raspberrypi/linux/issues/3070
I dont know what the quirks or UAS is and how to configure it

@ChuckNorrison the UAS / UASP issue with RPi4-s have been discussed extensively.
Check the issues labeled hardware : https://github.com/rootzoll/raspiblitz/issues?q=is%3Aissue+label%3Ahardware
: https://github.com/rootzoll/raspiblitz/issues/708#issuecomment-518850854
https://github.com/rootzoll/raspiblitz/issues/691#issuecomment-520526004

Hey, thanks for the thread, i will get into this. Anyway you recommended some hardware one comment above, i bought exactly this usb 3.0 case from the first amazon link. 1TB SSD is used. So SSD is not a solution.
After all that i observed several things to force that behaviour.

wlan and bluetooth both not disabled in /boot/config.txt
USB 3.0 was used
UAS is enabled

So this results in some filesystem check errors while boot and ends up in the so called maintenance mode with press Control-D.
if check filesystem with e2fsck -n -v /dev/sda1 tresults in errors, we need to add forcefsck to /boot/cmdline.txt. This is risky?! Target should be to avoid this with some preparation and a well configured config.txt and cmdline.txt

great research, just please keep it clear if you are writing about this Stuck at "i2c /dev entries driver" issue which is isolated, not reproducible (I haven't seen it at least) and probably related to a faulty disk or a UASP incompatible adapter.
or the press Control-D to continue https://github.com/rootzoll/raspiblitz/issues/1587 problem which is happening to more people and the cause is even less clear.
Might they be related?

I did it 👍
you need to edit your /etc/fstab and add nofail to your usb hdd

you need to edit your /etc/fstab and add nofail to your usb hdd

does this solve this issue or #1587?

this will resolve the control-D, yes. Iam in blitz upgrade screen... maybe the usb hdd is not available and it is not a real solution. but it proofes the usb hdd as the culprit as expected

First time poster but am having the same "Stuck at 'i2c /dev entries driver'" issue.
Can SSH in to box. Can run repair. But anything lightning is telling me LND is not working/running.
Not sure how to add my voice here in an organized fashion, any help appreciated.
Using a Kingston 16GB Canvas Select Plus microsd, 5v 3.1A power supply, and microHDMI to HDMI cable to an hdtv.

where does your blitz ends up after Control-D? What is the output of sudo ls -laht /home/lnbits/lnbits
I solved lnbits issues with chown -R lnbits /home/lnbits/lnbits cause permissions are lost

Hi,
I have the same issue now.
After my raspiblitz worked for weeks without issues, I wanted to update lnd today. For some reason the raspiblitz was in sync mode at 99% although it was in sync yesterday... I restarted it, needed to use Ctrl + D to continue on boot, but then it was stuck in an LND restart loop with the same error message as issue #720.
I made an LND backup, and then reset the HDD but kept blockchain data. I flashed my SD card with 1.6.1 RC1.
And when starting I am now completely stuck at
i2c /dev entries driver
There is not even the possibility to press Ctrl +D anymore.
My hardware setup is exactly like before, no cables moved.
@amiroff157  I have an SSD, so I don't think using a SSD instead of an HDD will fix anything.

@michaelWuensch can you try flashing the SD card again?
Can use the same v1.6.1RC1 image.

@openoms just reflashed it, same.

how it is if you boot without the disk attached?
Which disk and adapter you have?

Stuck at the same point without the disk attached.
I will now try to flash 1.6 again which was the version that worked before and see if that changes anything.

Hi, it boots now with 1.6.1.
Sorry for the trouble guys, I forgot to copy the hdmi file into the boot section of the sd card.
I run a raspberry pi 4 without lcd.

Where does one acquire this hdmi file?
On Sat, Oct 17, 2020 at 12:02 PM Michael Wünsch<EMAIL_ADDRESS>wrote:

Hi, it boots now with 1.6.1.
Sorry for the trouble guys, I forgot to copy the hdmi file into the boot
section of the sd card.
I run a raspberry pi 4 without lcd.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/1618#issuecomment-711025697,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMZBTW7S5NCQUD3KAYCWS3SLGWXFANCNFSM4SDSMKOA
.

@argentoblitz just create a new empty file and name it hdmi.
For more info have a look over here:
https://github.com/rootzoll/raspiblitz/blob/v1.6/FAQ.md#can-i-run-the-raspiblitz-without-a-displaylcd

OK, I re-loaded the system with Raspberry Pi Imager, and then used my mac
terminal to do
touch hdmi
and
touch ssl
which both wrote files as expected.
Now, I get rainbow screen but no terminal text on the HDTV -- where
previously I would get scrolling terminal text until the i2c /dev entries
driver
issue.
Thanks for any help.
Matt
On Sat, Oct 17, 2020 at 12:48 PM Michael Wünsch<EMAIL_ADDRESS>wrote:

@argentoblitz https://github.com/argentoblitz just create a new empty
file and name it hdmi.
For more info have a look over here:
https://github.com/rootzoll/raspiblitz/blob/v1.6/FAQ.md#can-i-run-the-raspiblitz-without-a-displaylcd
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/1618#issuecomment-711033100,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMZBTQUXIVIT7BEXFCTS2DSLG4FJANCNFSM4SDSMKOA
.

--
Regards,
Matt

Iam at this point again after 2 days and a reboot :( At Startup i observed extfs filesystem errors. This blitz project seems not to work at a raspi anymore?!
@rootzoll is your blitz running?

@ChuckNorrison My Blitzes work fine ... but I can see the "control-d" things gets pretty anoying for some people. I will try to put higher priority on booting from SSD feature 1235 - moving away from booting from sd card.

I ended up going with raspibolt done by hand and it’s fine. Takes time but
raspiblitz in its current form even with all recommended equipment was too
opaque for me to make progress in, although we are surely all supremely
grateful for all of it.
Matt
On Sat, Oct 24, 2020 at 2:29 PM ChuckNorrison<EMAIL_ADDRESS>wrote:

Iam at this point again after 2 days and a reboot :( At Startup i observed
extfs filesystem errors. This blitz project seems not to work at a raspi
anymore?!
@rootzoll https://github.com/rootzoll is your blitz running?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/1618#issuecomment-716025913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMZBTQXBXBUVKWAXMSEUNTSMMFHFANCNFSM4SDSMKOA
.

@argentoblitz Can you please keep this updated if your bolt is running over time? Maybe the RaspiBolt will show you this issue too. Would be very helpful to know. Good Luck.

So far zero such issues. Zero issues at all, in fact. Outside of the usual
blockchain download wait, it took plenty of time to type and/or paste
commands, but it’s been up and running solidly.
But yes, definitely will stay in thread with any related such thing.
On Tue, Oct 27, 2020 at 5:34 AM ChuckNorrison<EMAIL_ADDRESS>wrote:

@argentoblitz https://github.com/argentoblitz Can you please keep this
updated if your bolt is running over time? Maybe the RaspiBolt will show
you this issue too. Would be very helpful to know. Good Luck.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/1618#issuecomment-717077716,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMZBTTKCIRIVOZHRK2K5SDSM2AZNANCNFSM4SDSMKOA
.

No issues after all the tweaks above and  updating to 1.6.1. Several reboots and install/uninstall RTL, lnbits successful. Even lnd 0.11 is running fine.
Maybe we could add some advice on using USB 2.0 and free up all available USB ports. Further disable unused connections in config.txt could free up some power consumption.

No issues after all the tweaks above and updating to 1.6.1. Several reboots and install/uninstall RTL, lnbits successful. Even lnd 0.11 is running fine.
Maybe we could add some advice on using USB 2.0 and free up all available USB ports. Further disable unused connections in config.txt could free up some power consumption.

updated mine to 1.6.1 and wiped the entire drive for a fresh install. Blockchain progress is at 87% will update once it's done and stable!

For the ext4 HDD is switched to the fstab options (including nofail) recommended by RaspiBolt guide for a lucky chance that this will ease some pain with the Control-D ... but to be tested. Will merge PR #1727
TODO: Retest fresh install with HDD and then push this issue to v1.7 for next iteration.

For the ext4 HDD is switched to the fstab options (including nofail) recommended by RaspiBolt guide for a lucky chance that this will ease some pain with the Control-D ... but to be tested. Will merge PR #1761
TODO: Retest fresh install with HDD and then push this issue to v1.7 for next iteration.

Already got 1.6.1 running with a fresh install. Looking forward to 1.7 👍
Thanks @rootzoll !

OK looks good. Closing for v1.6.2 release.


Add doc for Customizing Pinot

Codecov Report

Merging #3927 into master will increase coverage by 0.11%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3927      +/-   ##
============================================
+ Coverage     67.29%   67.41%   +0.11%
  Complexity        4        4
============================================
  Files          1032     1032
  Lines         50881    50881
  Branches       7108     7108
============================================
+ Hits          34240    34300      +60
+ Misses        14306    14244      -62
- Partials       2335     2337       +2

Impacted Files
Coverage Δ
Complexity Δ

...a/manager/realtime/RealtimeSegmentDataManager.java
50% <0%> (-50%)
0% <0%> (ø)

...lix/EmptyBrokerOnlineOfflineStateModelFactory.java
86.66% <0%> (-13.34%)
0% <0%> (ø)

.../BrokerResourceOnlineOfflineStateModelFactory.java
49.15% <0%> (-10.17%)
0% <0%> (ø)

...e/operator/dociditerators/MVScanDocIdIterator.java
51.51% <0%> (-9.1%)
0% <0%> (ø)

...elix/core/relocation/RealtimeSegmentRelocator.java
74.72% <0%> (-7.7%)
0% <0%> (ø)

.../apache/pinot/common/config/RealtimeTagConfig.java
93.33% <0%> (-6.67%)
0% <0%> (ø)

...impl/dictionary/DoubleOnHeapMutableDictionary.java
75.55% <0%> (-6.67%)
0% <0%> (ø)

...e/operator/dociditerators/SortedDocIdIterator.java
58.33% <0%> (-5.56%)
0% <0%> (ø)

...troller/helix/core/retention/RetentionManager.java
75% <0%> (-4.17%)
0% <0%> (ø)

...not/broker/broker/helix/ClusterChangeMediator.java
66.66% <0%> (-2.57%)
0% <0%> (ø)

... and 20 more

Continue to review full report at Codecov.

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

Based on comments and discussion, this would be better split out into multiple sections under Extensions. Will do that separately.


Which level is being played in a specific Procgen game

Does the current Procgen environment provide the function to learn which game level is being played ?
Currently, I am planning to learn it by looking at the "observation" returned by the environment at the beginning of the game.

You can view the current level seed in the info dictionary, is that what you mean?

Here is an example scenario:
I set env_name to starpilot, distribution_mode to hard, num_levels to 2 and start_level to 0 and start watching my trained agent to play the game with the code piece below:
 env.reset() while True:         actions, _, _, _ = model.step(obs)         time.sleep(0.1)         obs, rew, done, _ = env.step(actions)         episode_rew += rew         env.render()         if done:             print('episode_rew={}'.format(episode_rew))             episode_rew = 0
I observe that the first level being played can be one of the two possible (fixed) levels for different runs. I don't know how the first level being played is determined and I want to know on which level the actions are taken.
Alternatively, fixing the order of levels can solve my problem.  I hope now it is clear.
I am new in both Gym and Procgen, I am not how much this issue makes sense. My ultimate goal is to induce some artificial actions on the policies of some specific game levels.

Thanks, this solved my issue. I also updated the other issue that I opened.


FastAPI implementation throwing missing segment

Hi, I am trying to utilize this library to implement X-Ray into my FastAPI api.
I have the following code:
    xray_recorder.configure(context_missing="LOG_ERROR")
    xray_recorder.configure(service="API DEV")
    xray_recorder.configure(plugins=("ECSPlugin",))
    xray_patch_all()
    app.add_middleware(BaseHTTPMiddleware, dispatch=xray_middleware)

But on each request I send, I see the daemon only receives 1 segment. Usually with a response time of 0.04ms, which definitely isn't the case. I see that this segment is sent before the response is even sent to the client.
Along with this, the following is logged in my application:
cannot find the current segment/subsegment, please make sure you have a segment open
Is there a working example of this working with FastAPI? Am I missing something here? Thanks!

@garyd203 Hi Gary, sorry to bug, but is this an old implementation? Need to know if I'm wasting my time trying to implement this solution.

Hi @sean-a-grant, yes other people are using xraysink to instrument FastAPI servers with X-Ray, and it is actively maintained (on a volunteer basis, like many other software libraries).
The upstream aws_xray_sdk library can be a bit tricky to configure correctly. I don't have a working example I can share at the moment (most people's usage of X-Ray tends to be proprietary), but happy to work through your example with you and see if we can reproduce and/or solve the problem.
A few analysis questions to get us started:

What versions of everything do you have (fastapi, xraysink, aws_xray_sdk)?
What other xray configuration or set up do you do in your code (apart from what's shown above)? I would normally expect to see a context=AsyncContext() of some sort.
Do you have any of the AWS_XRAY_ environment variables set?
What other app configuration do you do? Is your app a vanilla FastAPI object, or have you customised it? Do you have any other middleware - what is it, and what order is it added in?
Does your code explicitly start any segments/subsegments (eg. using xray_recorder.in_segment_async)?
Are you using any other X-Ray libraries, such as the Lambda powertools?

Some things you can do yourself to troubleshoot:

Set context_missing="RUNTIME_ERROR" for non-production, so that you get an exception to tell you when and where something breaks.
If the above doesn't produce a useful stack trace, run your code in a debugger (I find it easy to do this inside a unit test), slap a breakpoint on the place in the aws_xray_sdk code where that error message appears, and see what you can learn from the call stack
The internals of aws_xray_sdk can be confusing, but I've got some experience in that codebase so happy to help interpret any state or tracebacks you find if you post them here

Hi @garyd203, thanks for writing back so quick.
I wrote a clean version to reproduce the issue. My expectation is I would be able to see the individual calls and their time taken. I was not able to reproduce the traces being significantly shorter than the actual response, however.
Versions:
fastapi: 0.67.0
xraysink: 1.5.2
aws_xray_sdk: 2.9.0

Implementation:
...
from aws_xray_sdk.core import xray_recorder
from aws_xray_sdk.core import patch_all as xray_patch_all, patch as xray_patch
from xraysink.context import AsyncContext
from starlette.middleware.base import BaseHTTPMiddleware

app = FastAPI(title="API", openapi_url="/api/openapi.json", docs_url="/")

xray_recorder.configure(context_missing="LOG_ERROR")
xray_recorder.configure(service="API DEV clean")
xray_recorder.configure(service="API DEV clean", context=AsyncContext())
patch_all()

app.add_middleware(BaseHTTPMiddleware, dispatch=xray_middleware)
...

def more_work():
    sleep(1)

def do_work():
    more_work()
    sleep(0.5)
    return 1

@router.get('/test')
def test():
    engine.execute('SELECT pg_sleep(1);')
    result = do_work()
    return result

Example response:
 content-length: 1
 content-type: application/json
 date: Fri,20 May 2022 07:10:46 GMT
 server: uvicorn
 x-amzn-trace-id: Root=1-62873efa-529979dc1db26af3e616be67

Server log:
cannot find the current segment/subsegment, please make sure you have a segment open
No segment found, cannot begin subsegment placekitten.com.
cannot find the current segment/subsegment, please make sure you have a segment open
cannot find the current segment/subsegment, please make sure you have a segment open
No segment found, cannot begin subsegment postgres.
cannot find the current segment/subsegment, please make sure you have a segment open
No segment found, cannot begin subsegment execute.
cannot find the current segment/subsegment, please make sure you have a segment open
2022-05-20 07:10:53,650 [uvicorn.access] [INFO] <IP_ADDRESS>:62726 - "GET /test HTTP/1.1" 200

In X-Ray:

Hey @sean-a-grant , that screenshot from the X-Ray console is about what I would expect to see - there's a single top-level segment that takes a bit more than 1+1+0.5 seconds. That sounds better than your initial comment, which sounded like the top-level segment was completely incorrect.
This means that you have got the initial setup for xraysink and aws_xray_sdk correct. The middleware is intercepting calls and creating a segment. Well done ✅
If I can read between the lines a bit, what I think you're asking is:

Why are there logging messages for cannot find the current segment/subsegment and No segment found?
Why aren't there subsegments for the database call, inner function calls to do_work and more_work, and the external HTTP request?

The log messages are a symptom of xray-instrumented functions being called outside of a request handler. Unfortunately the aws_xray_sdk gives useless error messages in this case, but setting RUNTIME_ERROR will help you figure out what those function calls are and where they're being called from.
Note that internal function calls are not instrumented by default. If you want this, decorate them with @in_subsegment or in_subsegment_async from the aws-xray_sdk library - and then make sure you only call them inside a request handler!
However, database and external HTTP calls not showing up in the segment sounds more problematic. In this case, those two libraries should be instrumented by your patch_all call, so we would expect to see their use appear in the X-Ray console. I think in this case the fact that you also get the "no segment present" error messages is probably a separate symptom of the same problem...
Fundamentally, X-Ray instrumentation is about taking a piece of data from the incoming request (the trace id), and making sure that same piece of data is attached to any outgoing requests. This is done by using thread context for non-async code, or asyncio context for async code. But I suspect what is happening in your case is the following:

FastAPI is an async framework and handles an incoming request, which is passed to the async xray_middleware, which attaches the trace ID to the async context
FastAPI creates a separate thread pool to execute your non-async test() handler. The trace ID is not propagated from the async context into the thread context.
The test() handler calls requests.get and engine.execute, which are unable to find the trace ID on the thread context. Hence they log a message, and you don't get the segment information.

Hopefully I explained that clearly. If you're super-keen then a bit of time with a debugger should confirm that test is being executed in a different thread to xray_middleware (and possibly not in a direct function call stack).
Assuming this understanding is correct, I can see there's two ways forward for you:

The easy way: Make your handlers (and their downstream libraries for database and HTTP) be async. This is what I do, which is presumably why I've never encountered your situation.
The hard way: Write your own variation of AsyncContext that propagates the trace ID from the asyncio context into the thread context. This is probably going to be specific to FastAPI's particular mechanism for using that thread pool.

@garyd203 Hi Gary and whoever else may be reading. I am glad to hear my implementation is correct. You're right on the money with your assumptions. Unfortunately my codebase does not use async due to the main thread becoming blocked under load.
https://fastapi.tiangolo.com/async/#path-operation-functions

When you declare a path operation function with normal def instead of async def, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server).

I tested it with async and it worked perfectly.
Here is the full stack trace:
Traceback (most recent call last):
  File "/app/api.py", line 78, in catch_exceptions
    return await call_next(request)
  File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/base.py", line 45, in call_next
    task.result()
  File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/base.py", line 38, in coro
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/dist-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "/usr/local/lib/python3.8/dist-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 580, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 241, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 52, in app
    response = await func(request)
  File "/usr/local/lib/python3.8/dist-packages/fastapi/routing.py", line 219, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.8/dist-packages/fastapi/routing.py", line 154, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/usr/local/lib/python3.8/dist-packages/starlette/concurrency.py", line 40, in run_in_threadpool
    return await loop.run_in_executor(None, func, *args)
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/app/controllers/work.py", line 49, in do_work
 ...
  File "/usr/local/lib/python3.8/dist-packages/aws_xray_sdk/ext/requests/patch.py", line 38, in _inject_header
    inject_trace_header(headers, xray_recorder.current_subsegment())
  File "/usr/local/lib/python3.8/dist-packages/aws_xray_sdk/core/recorder.py", line 315, in current_subsegment
    entity = self.get_trace_entity()
  File "/usr/local/lib/python3.8/dist-packages/aws_xray_sdk/core/recorder.py", line 390, in get_trace_entity
    return self.context.get_trace_entity()
  File "/usr/local/lib/python3.8/dist-packages/aws_xray_sdk/core/context.py", line 99, in get_trace_entity
    return self.handle_context_missing()
  File "/usr/local/lib/python3.8/dist-packages/aws_xray_sdk/core/context.py", line 123, in handle_context_missing
    raise SegmentNotFoundException(MISSING_SEGMENT_MSG)

I will attempt a solution the hard way and report back here, hopefully make a PR or share my solution for others. Thanks for the help!

This seems to be the root of the issue: https://github.com/tiangolo/fastapi/issues/953

Thanks for digging into that @sean-a-grant . It's good to know we've bitten off a simple issue, isn't it :-)

Are you still thinking of attempting an implementation?
Tiangolo's comment seems helpful, although in our case the context var isn't expected to be modified inside the sync code, so we don't need to worry about the mutate-a-dictionary-indirectly approach.
However, we do need to make sure that we set the correct sync thread-local variable, because this has to match up with what the core sync Context in the aws_xray_sdk library looks for, because this is used to instrument the outgoing network calls.
I don't have heaps of time in the next few weeks to look into it myself, but good luck and thank you! Drop me a note if you get stuck and want someone to talk things over with.

Closing since we know what the problem is, and have documented a detailed solution separately in #89

@garyd203 apologies for the lack of reply. I wasn't able to devote more time to this, but I'm still following in case it is supported in the future :) Thanks for the assist!

No worries @sean-a-grant-old , I haven't had time either! I was mainly just wanting to combine the tickets together, are you happy to follow #89 instead?

Absolutely! Thanks. This (ultimately abandoned) PR might be a good hint on how to fix it.


Finish populating Case JSON from subtables

The first cut at generating JSON from Postgres was focussed on getting things working. Now we need to flesh it out. We currently pull in data from the main cases table, case___authors, case__localized_texts, and geolocation, but we want to also pull in:

[x] case__attachments
[x] case__methods
[x] case__tags
[x] case_videos

"from the postgres"?

Note: case__methods table appears to be completely unpopulated, will need to fix that in data import.

Fixed in PR #19


Add PlutusData type

Related to #112

@adamczykm Hopefully we can use purescript-bridge in the future. We need datum support for stage 3, though, so we can use this for now


pytorch_model-00002-of-00003.bin - Access denied

Hi,
For the past couple of days, I've been trying to download the model weight delta using Python's gdown.
I've downloaded all files except for pytorch_model-00002-of-00003.bin. When I try to download it directly:
gdown https://drive.google.com/uc?id=1S2bgHQSFL7deBuVF_Z1ReG7KQyz0m_kt
I keep getting the following:

Access denied with the following error:
Too many users have viewed or downloaded this file recently. Please
try accessing the file again later. If the file you are trying to
access is particularly large or is shared with many people, it may
take up to 24 hours to be able to view or download the file. If you
still can't access a file after 24 hours, contact your domain
administrator.

Is there a way to resolve this quickly? Or perhaps move all files over to Hugging Face?
Thanks.

Hi! Thanks for pointing this out!
The model checkpoint is now on huggingface.

Hi,
Sorry for the delayed reply. Many thanks for uploading to Hugging Face!


Interrupt wakeup from sleep via GPIO (IDFGH-1837)

IDF Ver: v4.0-dev-1476-g1b8ed9abf
build system: CMake
Compiler Ver: 8.2.0
OS: Windows 7
Scenario:
Attempting to use an accelerometer to wakeup esp32 from lightsleep with enabled external wakeup. Interrupt acts as normal when not in light sleep and only occurs once.
Expected behavior:
Wakes up and continues program from task
Actual behavior:
Interrupt doesn't get cleared and repeatedly gets called after waking from sleep (This does not occur if the esp32 is not sleeping, only occurs when waking from sleep)
Please see attached files below for more context:
Coredump:
libespcoredump.zip
.elf:
SourceCode.zip
sdkconfig:
sdkconfig.zip

@lachlanleslie1995 Thanks for reporting the issue, we will look into it. Thanks.

Thanks @Alvin1Zhang ,
Let me know if you find the cause of the issue.
Cheers

Hey @Alvin1Zhang ,
I found the cause of the issues. When you set the gpio_wakeup_enable it changes the interrupt type to high/low. And thus when I woke from sleep caused the interrupt to trigger repeatedly, maybe this should be highlighted in the documentation for people wanting to wakeup with an interrupt but also have an ISR attached to it?

@lachlanleslie1995 Thanks for the updates. We will check your advice. Thanks.


SONY BDV-E490 power on not working

Related to #15
@dpoposki79 could you install the android app Packet Trace and start tracing.
Then start the remote app and power off and power on your device via the remote app.
Stop the trace afterwards in the packet trace and export this trace.
Attach the trace to this ticket.
Make sure it does not contain personal information by closing all other apps before crating the trace.
This way I will be able to analyse the differences between my implementation and the Sony app.
Thanks

Closed due to inactivity.


bugfix: the end matching length is 0.

current commits mainly for study ^_^.

here is the test case: https://github.com/c9s/r3/pull/128/files#diff-54bbbdaaec8855f2ba266946c518709eR15
@c9s Do you have any suggestions on how to fix this bug?

@c9s I have rebased this PR to master branch, please take a look when you have time.


Getting the error useId does not exist in preact/hooks

./node_modules/@bpmn-io/diagram-js-ui/lib/index.js:3:0-183 - Error: export 'useId' (reexported as 'useId') was not found in 'preact/hooks' (possible exports: useCallback, useContext, useDebugValue, useEffect, useErrorBoundary, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState)

Hi, any idea why i am getting the above error ?

Thank you for reporting the issue.


To fix this, a cache entityLastDamager was created which tracks the last damager of the entity, and is used to set the killer of the entity (Entity#setKiller) when the last damage cause on entity death was not another entity.

I didn't add a config option for this because I don't think its necessary. There isn't a way to exploit this that doesn't require you to hit the mob atleast once, and the minimum damage amount config option still applies. This can be added if needed to get the merge approved.


@kubectl@ --show-all option is defaulted to true and deprecated since 1.11 and removed since 1.14

deploy/gk-deploy : remove @--show-all@ option to @kubectl@ command line

 ~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:53:57Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
~$ kubectl get pods --show-all --no-headers -l job-name=heketi-storage-copy-job
Error: unknown flag: --show-all
....
Use "kubectl options" for a list of global command-line options (applies to all commands).
unknown flag: --show-all

This change is

Can one of the admins verify this patch?

This might be needed in previous versions? It would probably be good to add the --show-all option for versions < 1.13.
@jarrpa what do you think?

Since version 1.11, --show-all option is deprecated and defaulted to true, so it can be removed from the command line.
Does the versions < 1.11 are still supported ?
If yes, i can propose a patch which set this option when version is < 1.11.


Allow wrapping cell text

Also provide the properties:
Line height: (+/- font height)
Justification: left, right, center
review padding directives.

Mind if I ask how this is intended to work?
I'm doing this and it still acts like 'nowrap' is set
                  grid = canvasDatagrid({
                        parentNode: parentNode,
                        data: gridData,
                        style: {
                            cellWidth: 200,
                            cellWhiteSpace: 'normal'
                        }
                    });

Looks like you have it set correctly.  Data is clipped at the size of the cell, if the cell is tall enough for more than 1 row, it will draw multiple rows.  Rows do not expand height to fit their content.
I think maybe you're expecting the rows to expand in height.  I can add that feature, but right now it's not automatic, you'll need to set the height of the row manually.  I used this as the default behavior for now because it is the behavior I observed in other grid programs.  Another behavior I'd like to add is to allow overflow to overflow the cell without increasing row height if there is no data in the lower cells.


Avoid duplication by moving sanitizer setup to matrix (ci)

Codecov Report

Merging #24 into main will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #24   +/-   ##
=======================================
  Coverage   97.21%   97.21%
=======================================
  Files           6        6
  Lines         861      861
=======================================
  Hits          837      837
  Misses         24       24

Continue to review full report at Codecov.

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


fix: block production nonce error

Pull Request type
Bugfix

Solves #323
Added a clear_pending_block when block production on_block_time errors, just in case (unreleated to 323)
Re-added mempool prevalidation, which was broken by #263 - this pr is a duplicate with #324, sorry didnt see it

Does this introduce a breaking change?
No

fixes #323


fix getChannelsWithUnreads

Instead of checking whether the unread_count property exists, check whether it is > 0.

To clarify: This fix is needed because getChannelsWithUnreads is broken due to a bad assumption in the code about the CoffeeScript question mark operator.

Nice find


Logout view, doesn't check if user is authenticated or not

Hello, first I want to say thanks for the library and well  documentation,
If you POST request on Logout view without an authorization header, it returns 500 Internal server error that says:

File .../venv/lib/python3.8/site-packages/durin/views.py", line 172, in post
    request._auth.delete()
AttributeError: 'NoneType' object has no attribute 'delete'

I know it doesn't make sense that an unauthenticated user wants to log out, But shouldn't we check?
post method in Logout view can be:
def post(self, request, *args, **kwargs):
        if request._auth:
            request._auth.delete()
            user_logged_out.send(
                sender=request.user.__class__, request=request, user=request.user
            )
        return Response(None, status=status.HTTP_204_NO_CONTENT)

OR in my case I overwrite the LogoutView method and add permission_class:
from durin.views import LogoutView as DurinLogoutView

class LogoutView(DurinLogoutView):
    **permission_classes = [permissions.IsAuthenticated]**

The same happens in LogoutAllView except there can't find the user
File ".../venv/lib/python3.8/site-packages/durin/views.py", line 195, in post
    request.user.auth_token_set.all().delete()
AttributeError: 'AnonymousUser' object has no attribute 'auth_token_set'

Hey. I am glad you found this library useful!
The behaviour you describe is actually exactly how this library used to function but it was later changed with the v1.0.0 release (see commit https://github.com/eshaan7/django-rest-durin/commit/384d89ccddd926a86a30d085fd894f12e99664e8). The reason for this change is that the recommended way of defining authentication and permission settings for a django-rest-framework application is in the settings.py, like so:
REST_FRAMEWORK = {
    ...
    "DEFAULT_AUTHENTICATION_CLASSES": ["durin.auth.TokenAuthentication"],
    "DEFAULT_PERMISSION_CLASSES": ["rest_framework.permissions.IsAuthenticated"]
}

So it would make sense for the LogoutView, LogoutAllView, etc. to adhere to this behaviour only and not be overriden by default in the library.


Update rooms.json

Moved SSF to the garden and updated the cemetery to remove the YT embed

These descriptions are all from Pride. They need to be for October. Isn't there a document with room descriptions somewhere? If not, I can rewrite them, but these can't be Pride


Publish to Maven Central.

Anyway we can get this library published to Maven Central?

I was trying to add this library to my project and ran into a problem (error when compiling with the mill build tool):
1 targets failed
consumer.compileClasspath
Resolution failed for 1 modules:
--------------------------------------------
  com.ovoenergy:fs2-kafka_2.12:0.16.4
	not found: /Users/<MyUser>/.ivy2/local/com.ovoenergy/fs2-kafka_2.12/0.16.4/ivys/ivy.xml
	not found: https://repo1.maven.org/maven2/com/ovoenergy/fs2-kafka_2.12/0.16.4/fs2-kafka_2.12-0.16.4.pom
	not found: https://oss.sonatype.org/content/repositories/releases/com/ovoenergy/fs2-kafka_2.12/0.16.4/fs2-kafka_2.12-0.16.4.pom
	not found: https://oss.sonatype.org/content/repositories/snapshots/com/ovoenergy/fs2-kafka_2.12/0.16.4/fs2-kafka_2.12-0.16.4.pom
	checksum format error: /Users/<MyUser>/Library/Caches/Coursier/v1/https/bintray.com/ovotech/maven/com/ovoenergy/fs2-kafka_2.12/0.16.4/fs2-kafka_2.12-0.16.4.pom.sha1

According to the sbt documentation (https://www.scala-sbt.org/1.x/docs/Faq.html): "This error occurs when the published checksum, such as a sha1 or md5 hash, differs from the checksum computed for a downloaded artifact, such as a jar or pom.xml."
So, I would second either publishing to Maven Central or fixing the published checksum.

@smourapina I'm not sure where that file, fs2-kafka_2.12-0.16.4.pom.sha1 is coming from, because there is no such file published, as far as I can tell. All the current checksums are MD5, like e.g. fs2-kafka_2.12-0.16.4.pom.md5. You should be able to see all published files here: https://bintray.com/ovotech/maven/fs2-kafka/0.16.4
Regarding Maven Central, I'm just waiting for Sonatype to grant permissions, and then next release forwards will be on Maven Central rather than Bintray.

@vlovgr Thanks for the quick reply. Unfortunately at the moment there does not seem to be a workaround for this issue with mill, and I am not sure either where the file is coming from.
Do you have an estimate as to when you will be able to publish to Maven Central?

@smourapina Have you tried clearing the Coursier cache, as in having this directory deleted?
/Users/<MyUser>/Library/Caches/Coursier/v1/https/bintray.com/ovotech/maven/com/ovoenergy/fs2-kafka_2.12/0.16.4/

It's all up to Sonatype at this point. From past experience, I would guess a couple of days, but there's no real estimate, unfortunately.

@vlovgr Yes, I have tried that already. Same result. Thanks!

0.17.0 is out on Maven Central now.
Release notes are here:
https://github.com/ovotech/fs2-kafka/releases/tag/v0.17.0


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in e974667 after 540 days, 18 hours, 5 minutes.


upgrade hyper to v0.11

This adds a reqwest::unstable::async module that makes puts the reqwest API over hyper v0.11, but with futures and streams. The sync API is powered by the unstable async one. This should keep the sync API completely the same, with all features working.
The async module is available publicly only with features = ["unstable"] in your Cargo.toml, and then via reqwest::unstable::async. It may be worth considering how rayon handles unstable APIs, and possibly do likewise.
The async module may be missing some features. The gzip option does not work, as the libflate crate used internally cannot handle non-blocking IO yet. The Body stream may be barebones, while trying to decide the exact async body API.

Woops, forgot I had disabled the timeout feature. Adding back in (with integration tests this time, so it's harder to forget next time).

nice, I'm waiting for this :D!


Create custom_clusterer.py

Add custom clusterer example file.

Looks good to me. Changes were merged, despite github thinking otherwise.


Receipt Attachment missing on the FOI INTAKE SUBMISSION email and end user confirmation email

Describe the bug in current situation
Arielle from Intake team has reported like, the receipt attachments are missing  on some  FOI REQUEST submission emails .
Upon analysis its observed that there is a 504 Gateway Timeout happening with  NODE BE logic on FOI SUBMISSION APP, while calling receipt generation endpoint on request management api( FOI FLOW) side.
---submitFoiRequestEmail Generate Receipt Error starts-- { Error: Request failed with status code 504     at createError (/opt/app-root/src/node_modules/axios/lib/core/createError.js:16:15)     at settle (/opt/app-root/src/node_modules/axios/lib/core/settle.js:17:12)     at IncomingMessage.handleStreamEnd (/opt/app-root/src/node_modules/axios/lib/adapters/http.js:269:11)     at IncomingMessage.emit (events.js:203:15)     at IncomingMessage.EventEmitter.emit (domain.js:448:20)     at endReadableNT (_stream_readable.js:1145:12)     at process._tickCallback (internal/process/next_tick.js:63:19)   config:    { url:       'https://request-management-api-002-prod.apps.silver.devops.gov.bc.ca/api/foirawrequests/15454/payments/4579/receipt',      method: 'post',    toJSON: [Function: toJSON] } ---submitFoiRequestEmail Generate Receipt Error ends--
Error can be related with  CDOGS Service is taking more time to generate PDF which in turn makes a timeout on Angular app, NODE Backend.
Link bug to the User Story
Impact of this bug
No loss of information related to payment, since we convey TRANSACTION# on email message as well. Breakdown of total is missing and order id will be missing - that is only on receipt. We don't know  whether this was happening before OCT 5th, since we recreated PODS on OCT 5th.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:
There is specific reproduction steps, sporadic in nature! As per logs, it happened 2 times - between OCT 5 and OCT 6 evening.
Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

Issue with CDOGS systems due to other client's over usage. More details here, https://chat.developer.gov.bc.ca/channel/nr-common-services-showcase/thread/35Hhk9LvSBMTdC7DP


UI consistency

Hi @tarkah,
First let me say this is a really cool project and I hope to contribute some effort into it.
At first glance I noticed a few things that seem a bit off:

The words in the Toggle box are all capitalized, but things like current price, high, and low are lowercased. The same goes for the words in the Options pane as well. I think there should be some consistency where these words are all capitalized.
The c, h, and l letters do their job. One consistency change would be to spell them out to Current Price, High, Low.
In the Toggle box, the 'c' keybind should show the current chart type rather than the next chart type. This would be parity with other trading software.
When entering a ticker in lowercase, the ticker shows up in the Tabs section as all lowercased. I think they should be all uppercased.

Most of these are not issues, mostly just personal preferences from what I've seen in other charting software. If these sound like changes you'd like to see, let me know and I'd be happy to submit a PR.

@mandeep Thanks for opening this up. I'd absolutely love the contributions, so feel free! I think these are great suggestions.
If you want to take a stab, here's a few spots to get you started:

Toggle box is rendered here: https://github.com/tarkah/tickrs/blob/d7c6b54bef11cc03cdcd649466461274eddd9fe3/src/widget/stock.rs#L721
This is where the add stock symbol is submitted to created a new widget: https://github.com/tarkah/tickrs/blob/d7c6b54bef11cc03cdcd649466461274eddd9fe3/src/widget/add_stock.rs#L43


Accumulo 3970

Here's a sketch of what I'm thinking for ACCUMULO-3970. It's by no means ready to be merged, I just want to send the PR as a starting point for a discussion.
The idea is to define a new type of iterator, a VisibilityTransformingIterator, which can be set on a table. The iterator is only active in scan scope and is applied before the scan authorizations. Concrete subclasses of the VisibilityTransformingIterator receive individual key-value pairs that are present in the table and, for each pair, produce zero or more extra representations of that value. How these extra representations are produced will probably be driven by how an organization wants to anonymize or de-identify its data.

Test comment

ACCUMULO-3970

Can one of the admins verify this patch?

@rweeks Can I close this PR?  Looking at the feedback on the JIRA ticket, I take it folks were not comfortable with this change or felt that it was out of scope to include in Accumulo.

If no one objects over the next week, I will close this pull request.

@milleruntime I think it's fine to close now. This PR was never intended to be merged. It can always be re-opened if there is consensus on including the feature in a future version, and the PR is updated with new merge-ready commits.


az disk update doesn't increase os disk filesystem size

Description
Outline the issue here:
According to https://docs.microsoft.com/pdfstore/en-us/Azure.azure-documents/live/virtual-machines/linux.pdf it's possible to expand os disk.
Documentation also shows expanding data disk automatically increase filesystem size.
However it doesn't clarify if it's possible to automatically increase filesystem size for os disk after its expansion.
I expanded os disk using
az vm deallocate ...
az disk update ...
az vm start ...
but filesystem size for os disk was not increased automatically after os disk expansion
My questions:

is it by design? if not it has to be fixed. if so it has to be clearly documented.
in the latter case what is the way to increase os disk filesystem size after os disk expansion either automatically or manually?

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here:
According to https://docs.microsoft.com/en-us/cli/azure/install-azure-cli#windows
CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here:
2.0.6
OS Version: What OS and version are you using?
Answer here:
Windows 10 Pro 64-bit
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here:
cmd.exe and Bash on Windows

I would expect this would increase the size of the "physical" hard disk, but not the size of the disk partition within the OS.  For that, you would likely need to interact directly with the OS.  I'll confirm though.

let's see what documentation says:
'If you've resized the operating system disk, the partition is automatically be expanded. If you have resized a data disk, any current partitions need to be expanded in the VMs operating system'
'To verify the OS disk has been resized, use df -h'.
It doesn't work unfortunately for operating system disk.
Disk size is increased, but neither partition nor filesystem size is not.

@yugangw-msft can you confirm the expected behavior with the managed disk folks?  It looks like the documentation is wrong here.

is it possible to automate OS disk file system size increase based on
https://blogs.msdn.microsoft.com/cloud_solution_architect/2016/05/24/step-by-step-how-to-resize-a-linux-vm-os-disk-in-azure-arm/
in order not to fix documentation?
described solution works fine for me, but it has to be done manually

Right, but the fact that you have to manually go in an adjust the partition size seems to imply that the documentation is wrong about it being automatic.
The technical requirements are such that we can't make the CLI command automate these tasks:

the CLI doesn't have a way to connect to the VM
the process would be different for each OS image

@tjprescott, agreed. Let us close this issue

Yes, but we should report this somewhere so the docs can be fixed.

ok, pls. fix documentation then. cheers

@alexeyshishkin01 : can you point to the exact link to the docs you would like to change? I can work with the right folks.

sure, for example the link
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-manage-disks#resize-vm-disk
says:
'If you’ve resized the operating system disk, the partition is automatically be expanded. If you have resized a data disk, any current partitions need to be expanded in the VMs operating system.'
another link
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks#expand-disk
says:
'SSH to your VM with the appropriate credentials. To verify the OS disk has been resized, use df -h. The following example output shows the data drive (/dev/sdc1) is now 200 GB' - which means both partition and filesystem are expanded automatically
could you pls also look at the corresponding items in pdf-file
https://docs.microsoft.com/pdfstore/en-us/Azure.azure-documents/live/virtual-machines/linux.pdf
thanks!

This is a tutorial doc that is not actionable for CLI @sptramer

@alexeyshishkin01, please open an issue at https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/virtual-machines/linux/tutorial-manage-disks.md

ok, I've opened an issue https://github.com/MicrosoftDocs/azure-docs/issues/18436


add images browser

概要
過去に作成した画像を閲覧する機能を追加しました

課題
infoが空っぽなので外部に保存するか他のWebUIのように画像にメタデータとして保存する必要がある
https://github.com/ddPn08/Lsmith/compare/main...fa0311:Lsmith:add-gallery?expand=1#diff-c4527fee4f6fa4dfdf25ffbe014e44632a928857f9ae4b93e68dd395f30d2ab9R18-R20
Overview
Added the ability to view images created in the past

Future issues
info is empty, so it needs to be stored externally or as metadata in an image like other WebUI
https://github.com/ddPn08/Lsmith/compare/main...fa0311:Lsmith:add-gallery?expand=1#diff-c4527fee4f6fa4dfdf25ffbe014e44632a928857f9ae4b93e68dd395f30d2ab9R18-R20

下の方見切れてるのでそこを直す

@fa0311 Would you please use English in PRs, its really painful to follow as a non-japanese user.

Would you please use English in PRs, its really painful to follow as a non-japanese user.

I have updated the comments.
Since the maintainer is Japanese, we used to use Japanese, but now we will use both.

Thank you very much.
On the topic of image browsers, I have created metadata writer for Volta, would you be interested in integrating it in UI if I make a PR for the backend?

On the topic of image browsers, I have created metadata writer for Volta, would you be interested in integrating it in UI if I make a PR for the backend?

It is possible, but I am already working on it.

Ok, then I will leave it to you, feel free to take some code from https://github.com/VoltaML/voltaML-fast-stable-diffusion/blob/a12bd8c6cbff3d73e62fe659666ecb59f69ca466/core/png_metadata.py

Added info preview.

Parameters by other WebUI

めっちゃ助かります！ありがとうございます；

Thank you very much.


OSRAM outlet

Is it possible for a OSRAM smart plug to be directy used as ‘valve’ instead of ‘outlet’ via ph -H [ip] valve -v ?

I have magnetic valves plugged in, so when the plug turns on, the valve opens and waters the garden. Therefor it would be neat to have the plug exposed as a valve to HomeKit.


When running in monorepo

Bug Report
Prerequisites

[x] Can you reproduce the problem in a MWE?
https://github.com/nolanlocke/piral-mono-example

Instructions on how to reproduce specifically with the monorepo is available in the readme

[x] Are you running the latest version?
[x] Did you perform a search in the issues?

Environment Details and Version
[Package Version, OS, Browser, ...]
piral-cli 0.11.4
yarn 1.22.4
Description
When running the app in monorepo mode, the public url for the app shell is not defaulting to "/" and will attempt to load the piral source file from the current url.
Steps to Reproduce

Run pilet debug against a pilet that is using a local piral instance (via symlink)
Navigate to http://localhost:1234/foo/bar/
It should fatally error. Inspecting the generated html file should have <script src="src.f69400ca.js"></script> without the leading / (which is there when running piral build

Expected behavior
The public url should be / for the generated html file
Actual behavior
There is no public url and it causes loading in on deep routes to error
Possible Origin / Solution
Going through the source I didn't see a particularly easy way to solve this when looking through the monorepo code.
My temporary workaround is to add  <base href="/" /> to the index.html but it's not a very long term solution.

This landed in the preview / develop. You could try upgrading to piral-cli@next.

Thanks again Florian! And sorry about the half-sentence of a title. just fixed that.


Registration/Login Pages

[ ] Design
[ ] Implementation
[x] Hookup
[x] API

API/Hookup is complete for our registration process, but still need to support third-party social logins.

Yeah, so the implementation iirc will be:

Client performs a server-style auth (grant=authorization_code) to Facebook
On redirect, the client reads the code out of the query parameters and ships it to server via a special OAuth2 flow on our end

Right?

Yep, I’ll be able to send up the Facebook UID of the user, and an active access token (which should be valid for 10 minutes).
I’m not sure we’ll need to send the token up tho, assuming we create a in-the-middle page for social logins to fill out their information instead of importing it directly like what we do in V2.

On 5 Oct 2015, at 12:36 PM, Peter Lejeck<EMAIL_ADDRESS>wrote:
Yeah, so the implementation iirc will be:
Client performs a server-style auth (grant=authorization_code) to Facebook
On redirect, the client reads the code out of the query parameters and ships it to server via a special OAuth2 flow on our end
Right?
—
Reply to this email directly or view it on GitHub https://github.com/hummingbird-me/hummingbird/issues/667#issuecomment-145413601.

How about {"token": "fas8yf5as87f5s67agsa76fd5sa78g5sadg5sag98ashfgh769g6sd8fs4df35as46d6f1sdf35gsd21h3h2jfhj45k1f5j", "user_id": "1234567", "site": "facebook"} for the login, with a relationship to handle manipulation of the connections?

Something else to consider is what happens when a user attempts to social connect after they already have an account. Their registration will fail (email already taken) I think we'll want to do two things:

Ensure that a social account is not 'locked' or tied to a ghost account and that user can still login and connect to their current account from the settings page.
Show a message on registration fail telling them that they already have an account and either ask them to login (and connect the account) OR ask them to login and go to settings to connect.

ghost account?  locked?

Ghost account as in, we don't want the social profile tied to an account that doesn't exist. Not sure if that's an actual concern, but being that one social account is tied to one user, we wouldn't want it so that their failed registration causes that social profile to now be unavailable to attach to another account.


Refactore onMessage into separate calls

It would be nice to get rid of the 'message' parameter in socket calls.

good suggestion, I will refactor it asap

:+1:


Fix shutdown order for server mode

In server mode we cannot send back logging information to VS after the "exit".
cc: @drognanar

I am assuming that would be hard to safe guard with some test?

We cannot I did it manually simulating/reproing a throw new timeout.