add generating latitude and longitude

Codecov Report
Patch coverage: 89.47% and project coverage change: -0.94 :warning:

Comparison is base (3cdaa5a) 97.77% compared to head (e2c0fbf) 96.83%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
- Coverage   97.77%   96.83%   -0.94%
==========================================
  Files          19       20       +1
  Lines        1435     1455      +20
==========================================
+ Hits         1403     1409       +6
- Misses         32       46      +14

Impacted Files
Coverage Δ

include/faker-cxx/types/Precision.h
0.00% <0.00%> (ø)

src/modules/finance/FinanceTest.cpp
100.00% <100.00%> (+0.95%)
:arrow_up:

src/modules/location/LocationTest.cpp
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

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


Failed to Render.Index was outside the bounds of array.

Acknowledgement

[X] I have read Getting-Started and FAQ

🐛 Describe the bug
Just updated open utau today and I think the update fucked my ust.

Explains how to reproduce the bug
1.Update open utau to the newest version.
2.Load your ust.
3. ????
4. PROFIT!!!
OS & Version
Windows 10
Logs
log20230329.txt

This is probably fixed by PR #636. Or what do you think @lennyservant?


Update project to use Eclipse Embedded CDT

Use the standard Eclipse Embedded CDT (https://eclipse-embed-cdt.github.io/) to allow easy direct project loading with Eclipse IDE for Embedded C/C++ (2023-09) without needing to set the toolchain in the global system PATH.

Hi Marcus,
I have looked at the plugin many years before and decided not to use it for my embedded C/C++ development.  I did not see any advantages using this plug-in. The global system PATH setting is just a one time setup when installing a fresh Eclipse CDT. I have several Eclipse CDT environments on macOS and Linux. I will create a sandbox environment and testing if it will not break anything using this plug-in.
Groet, Arjan

I had this going under Windows 11, and Ubuntu Linux. I don't have access to masOS, but the theory is that cross plaform is neatly handled by the CDT.
You might need to define ${cross_make} on macOS, I can't be 100% sure.
Having the CDT manage the toolchain location allows for projects to target a specfic toolchain version, this is desierable as some projects need older/newer versions of the toolchain, but it also links into the version control for release builds*
The prefered/recommneded development environments layout these days is to not have the toolchain in any globally accessible PATHs, unless you are using containers/VMs.....

i.e. tie to a specfic toolchain version to prevent the need for full retesting with each incremental build, while allowing newer development projects to target bleeding edge toolchains.

Understood. I will give this migration priority. Thanks.

Changing to the new toolset will need an action on all my projects.

Changing to the new toolset will need an action on all my projects.

If your other projects are the same/similar layout then the only settings I altered/re-added are:

And you might need to define ${cross_make}


Effects freeze while typing on MK750

I keep experiencing freezes with the effects while typing on my MK750. I see that this was an issue previously, but it was closed. I have this problem with the 0.6.4 and 0.6.4b. It seems to happen to both my keyboard and mouse(g403) since they are synced. I have the latest firmware running on my board and mouse and also uninstalled the mk750 software and CM software portal. Any other steps I could take to help fix this bug?

Here's a log as well. https://pastebin.com/sYkCR7xf

What quality is your bitmap set to? You should be able to have on a fairly low setting without the effects looking bad.
Otherwise we've had a few reports of lagging effects but not really noticed any pattern to it (and none of the dev team seem to have reported this issue).

I had mine set to whatever is default. I didn't change anything in that
regard
On Mon, Jun 10, 2019 at 11:06 AM Will Bennion<EMAIL_ADDRESS>wrote:

What quality is your bitmap set to? You should be able to have on a fairly
low setting without the effects looking bad.
Otherwise we've had a few reports of lagging effects but not really
noticed any pattern to it (and none of the dev team seem to have reported
this issue).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/antonpup/Aurora/issues/1576?email_source=notifications&email_token=AKY6W2KV7TVKWMJYRZQ32PLPZ2J23A5CNFSM4HPYJHU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKVJWA#issuecomment-500520152,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKY6W2NRTQAPZPSKKYREE4TPZ2J23ANCNFSM4HPYJHUQ
.

--
-Lain-
www.WisdomWear.net

I have the same problem on Aurora 0.7.0. The newest v26 SDK doesn't seem to have fixed the problem. My Bitmap Accuracy is set to "Fine". Any solutions to this?

I have this same problem, on the MK730. My bitmap accuracy is set to the lowest possible.


Start Circle payment observer

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
Start listening and processing circle notifications.
Future work
The next steps include:

Create and register event listeners
Trigger an event from the Circle notification observer
Write tests
Update the SEP-31 code that generates the memo so it uses Circle's infrastructure to generate a memo.

Reference Server Preview is available here:https://anchor-ref-pr205.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr205.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr205.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr205.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr205.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr205.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr205.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr205.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr205.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr205.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr205.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr205.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr205.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr205.previews.kube001.services.stellar-ops.com/


feat(ci): add conventional commits workflow

This adds a workflow that checks that commits messages in pushes to main and PRs follow conventional commit guidelines, see https://www.conventionalcommits.org/en

@PThorpe92 again thanks 😊


Export operation and fetch_result in graphql_flutter.dart

I have implemented my own authlink so that I can customise the header.
My IDE gives me a warning for the imports:
import 'package:graphql/src/link/operation.dart'; import 'package:graphql/src/link/fetch_result.dart';
Don't import implementation files from another package.dart(implementation_imports)
Please add them to graphql_flutter.dart exports.

Can you try and import package:graphql/client.dart and see if it changes anything?

Didn't work since they are not a part of the client.dart exports.

Okay, I will PR this today, it's a simple change, once they are exported by the client.dart, then graphql flutter will pick them up automatically.

@Hauglid since #492 has been merged, you can try the next beta and check if this issue has been resolved. It is not released yet but will be automatically released in the next few of hours.

Outdated / Solved implicitly by core rework in 4.0.0-beta.1 #648


Update imports.yml

removed line
container: obolibrary/odkfull:v1.4
Import action runs, primary concern is the massive change to the patterns

@matentzn with the container line back in place the imports action again fails with the error
Run cd src/ontology/ && docker run -v $PWD/../../:/work -w /work/src/ontology -e ROBOT_JAVA_ARGS='-Xmx10G' -e JAVA_OPTS='-Xmx10G' --rm obolibrary/odklite make GITHUB_ACTION=true refresh-imports
/__w/_temp/ea4c4a23-56d7-4bc5-9081-faca4ab25dfe.sh: 1: docker: not found
Error: Process completed with exit code 127.

Yes, check how the command works in PATO, it should start with "make" not "docker xyz". If you have trouble I will change it tomorrow, just let me know if you didn't make it!

Made the changes, import action now runs but the deploy has the same issue that the import action had so I can't currently check that the import action is fully functioning as desired. The import changes look similar to old changes.
I will try to update the deploy as I did for the imports.


ENH: Series has gained the properties .is_monotonic*

[Current coverage][cc-pull] is 84.23%

Merging [#13336][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master     #13336   diff @@
==========================================
  Files           138        138
  Lines         50703      50710     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          42705      42712     +7
  Misses         7998       7998
  Partials          0          0

Powered by Codecov. Last updated by [f3d7c18...0a50ff9][cc-compare]
[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/f3d7c18190045bdf02f4448e46880a7030829716...0a50ff924d8ba97a09aeda52d6318e89ffa53862
[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/13336?src=pr


feat: add E2E tests for chromium and firefox

Description
This PR adds a setup for E2E testing to ipfs-companion.
The environment setup is automated using docker compose. The environment consists of:

firefox container
chrome container
kubo container
e2e container where the tests are executed from

The tests check the following for firefox and chromium:

can the extension be installed?
can api/gateway URL be modified?
is the number of connected peers correctly reported?
is the number of connected peers greater than 0?

The tests follow the proposed testing procedure from https://github.com/ipfs/kubo/blob/master/docs/RELEASE_ISSUE_TEMPLATE.md.
The newly added tests can be executed through GitHub Actions.
Testing

[x] build companion from source: https://github.com/galargh/ipfs-companion/actions/runs/3739328246
[x] download companion from releases: https://github.com/galargh/ipfs-companion/actions/runs/3739280013

TODO

[x] create GHA workflow for running E2E tests; proposed inputs

[x] firefox/chromium versions
[x] ipfs-companion version; proposed behaviours

[x] build from source
[x] download from releases

[x] kubo version

[x] add description

I would also like to voice my preference of playwright over selenium.

We're using playwright with all of our projects
Selenium is historically unstable during runtime and maintenance. I've got experience with building & maintaining an e2e library backed by selenium, and I am not a fan.

I would also like to voice my preference of playwright over selenium.

We're using playwright with all of our projects
Selenium is historically unstable during runtime and maintenance. I've got experience with building & maintaining an e2e library backed by selenium, and I am not a fan.

Personally, I don't know enough about either to prefer one over the other BUT it seems we cannot accomplish the task at all in playwright at the moment because of lack of support for Firefox extensions (https://github.com/microsoft/playwright/issues/7297).

it seems we cannot accomplish the task at all in playwright

ACK. makes complete sense.

@galargh , the only thing I would really like to see before merge is an update to README.md or docs/DEVELOPER-NOTES.md informing users how to run this locally, how to debug, etc.


Sign convention on precip and melt flux

Purpose
Conform to agreed upon convention that fluxes are positive if towards atmos and negative if towards ground.
Therefore, precipitation should be negative and snow melt should be negative (corresponds to an increase in the energy of snow, or a negative heat flux).
Doc updated as well https://www.overleaf.com/project/625c5f7677155b314c98eb75
To-do
Content
Propagate sign changes from the doc throughout the repo - src/standalone/Bucket files, and the tests and tutorials for the bucket.
Review checklist
I have:

followed the codebase contribution guide: https://clima.github.io/ClimateMachine.jl/latest/Contributing/
followed the style guide: https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/
followed the documentation policy: https://github.com/CliMA/policies/wiki/Documentation-Policy
checked that this PR does not duplicate an open PR.

In the Content, I have included

relevant unit tests, and integration tests,
appropriate docstrings on all functions, structs, and modules, and included relevant documentation.

[X] I have read and checked the items on the review checklist.

Does this PR change the convention only for the bucket, or for all models? It seems like there's precipitation in some other files that aren't being changes. I think it would be nice to be consistent throughout the repo

it was the opposite 🤦♀ we had different conventions before, and this should make them consistent everywhere.

change in coupler:

remove extra negative sign when updating liquid and snow precipitation in FieldExchanger here


[BUG] [1.1] [ameba]

Reproduction steps
I followed https://github.com/project-chip/connectedhomeip/tree/v<IP_ADDRESS>/examples/lighting-app/ameba#building-the-example-application
$ docker pull connectedhomeip/chip-build-ameba:latest
$ echo CHIP_DIR=~/matter_v<IP_ADDRESS>
$ docker run -it -v ${CHIP_DIR}:/root/chip connectedhomeip/chip-build-ameba:latest
$ git config --global --add safe.directory "*"
$ source ./scripts/bootstrap.sh
$ ./scripts/build/build_examples.py --target ameba-amebad-lighting build

Then, I got below error.
How do I resolve it?
Usage: build_examples.py [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Try 'build_examples.py --help' for help.

Error: Invalid value for '--target': 'ameba-amebad-lighting' is not a valid target name.

Bug prevalence
always
GitHub hash of the SDK that was being used
commit 8f66f4215bc0708efc8cc73bda80620e67d8955f (HEAD, tag: v<IP_ADDRESS>)
Platform
ameba
Platform Version(s)
No response
Type
Platform Issue
Anything else?
No response

Who is charge of Realtek AmebaD?
I can build and flash FW as below URL.
https://developers.home.google.com/matter/vendors/realtek
However, I don't know this is official sequence or NOT.
BTW, I followed below method, BUT I CANNOT reset and delete commissioning data.
https://developers.home.google.com/matter/vendors/realtek#reset_the_board
ATS# command is not available.
How do I delete commissioning data from device?
Can I do Factory Reset?
#help

WLAN AT COMMAND SET:
==============================
1. Wlan Scan for Network Access Point
   # ATWS
2. Connect to an AES AP
   # ATW0=SSID
   # ATW1=PASSPHRASE
   # ATWC
3. Create an AES AP
   # ATW3=SSID
   # ATW4=PASSPHRASE
   # ATW5=CHANNEL
   # ATWA
4. Ping
   # ATWI=xxx.xxx.xxx.xxx
[MEM] After do cmd, available heap 66720

#


Add support for cgroup based metrics reading

When running the nosqlbench inside a containerise environment, the client metrics are not accurate since it reads the node proc information rather than the containers'.
If we could add another Metrics reader which will use cgroup information, then we can configure nosqlbench to use that reader when running benchmarks inside containers.

To implement this, I presume to following steps:

[ ] Parse new CPU metrics from /sys/fs/cgroup
[ ] Update CPU metrics calculations.


[Question]: is there a way to read each  GPS satellite signal individually? or any code examples? Thanks.

Please check the following before submitting a new issue.

[X] I have searched the existing issues.
[X] I have carefully read the documentation.

Please select for which platform(s) you need help

[X] Android
[X] iOS
[X] Linux
[X] macOS
[X] Web
[X] Windows

Your question
I want get the raw data (Latitude, Longitude, time, satellite signal strength, satellite id? ...) for each satellite.
Is there a way to read each  GPS satellite signal individually? or any code examples?
Or any low level library I can use? better to be cross-platform.
Thanks.
Version
11.0

Hi @mw66,
Unfortunately there is not. On Android there is a possibility to receive raw NMEA events, however these are not provided on any of the other platforms which is why we currently don't support it in the geolocator.
We are planning (long term) to refactor the geolocator so that we provide access to the native SDKs which will enable developers to access the NMEA events specifically on Android, however this will still leave the other platforms unsupported.


Non weighted graph algorithms on weighted graphs

Hi, I need to perform Tarjan strongly components finding algorithm on a weighted directed graph. Is there any way to do that, except for manually trying to convert one graph to another? Thanks.

I don't think there is a way to do this without converting. I will try to update the graph algorthims to be generic enough to accept all types of graphs.

Updated beta to accept generic a graph interface. If you pass a Weighted DiGraph, it will use OutEdges to run the algorithm.


Fix labelling of SPW axis in calfits files to be consistent with uvfits format

@plaplant can you look at this one? All the tests pass, but I don't want to mess up users of dependent repos like hera_cal.


Externalize DataModel Pipeline Interface

Github issue is https://github.com/openfin/fin-hypergrid/issues/517
@joneit First part of Extracting DM Pipelines. Am I using your deprecated warning successfully?
Task list:

[ ] Rebase develop
[ ] Make sure plugin is being installed correctly
[ ] Resolve Why Headers Are Lowercase
[ ] External repo datasources-pipeline
[ ] Remove all refs toDataSourceBase
[ ] Remove package.json requires
[ ] Change Plugin paradigm from monkeypatchin to message passing the dataModel interface
[ ] Update All private examples post master release
[ ] grouped-header demo should be public, update sorting and tree-column demo
[ ] Discourage Use of getRow

Deprecated Hypergrid
      Options.controllers and options.pipeline
      .getController
      .setController
      .prop
      .charMap

Deprecated DataModel
      .DataSourceOrigin
      .pipeLineSchemaStash
      .setPipeLine
      .defaultPipelineSchemaStash
      .reindex //applyAnalytics
      .findDataSourceByType
      .getPipeLineSchemaStash
      .unstashPipeline
      .getSortImageForColumn
      .getController
      .setController
      .prop
      .charMap

DataModel Interface is now…
       reset
       getData
       setData
       getValue
       setValue
       getColumnCount
       getRowCount
       toggleRow // is this critical
       Schema
          .headers
          .name //fields
          .type
          .calculator
       isDrillDown
       isDrillDownCol
       hasHierarchyColumn
       toggleRow
       getRow
       addRow

Deprecated Behavior
      .setPipeline
      .unstashPipeline
      .reindex / applyAnalytics
      .getController
      .setController
      .prop
      .charMap
      .getUnfilteredValue
      .getIndexedData

As offer the pipeline code as exemplary code, while the core DataModel inteface will be much simpler.
Affects
https://github.com/openfin/fin-hypergrid/issues/503
https://github.com/openfin/fin-hypergrid/issues/505
https://github.com/openfin/fin-hypergrid/issues/507
https://github.com/openfin/fin-hypergrid/issues/504
https://github.com/openfin/fin-hypergrid/issues/517

Dwaynekj, what is the latest with this PR btw - any ETA on when it would be merged? Thanks.

@neilslinger Sorry for the delay here. We are planning to have this for mid-may


import failed

I had to use this:
import LePotatoPi.GPIO.GPIO as GPIO
THIS ^^ worked

Hey, I had the same issue and this didn't help. Got the same no module error.

Yes, I checked pip list to be sure as well.

Actually, apologies I used a different command i found on the PyPi. Give me a moment let me try that.

Alright, it could not find the library unfortunately. I used the following command (successfully according to pip list):
pip install LePotatoPi.GPIO

Sorry, my bad. Is it working for you now?

No unfortunately not. And no worries at all, thanks for your time!

Also sorry for the sparse responses, busy day!

Hey Don, still around?

Always

Any other ideas for how to fix the failure to import?

Never mind, it's fixed!


HSL by default with MUMPS fallback. Ipopt 3.13.0

Closes #35 #36 and possibly #34 once documentation is done.

[x] Implement capacity
[ ] Document
[x] Coverage
[ ] Discuss issue closing or additional information in each.

Hmm. Seems that if you test for ma27 this system works if libcoinhsl doesn't exist on a machine but ma97 essentially coredumps. Damnit.

Oh, come on. Now the ma27 check is failing?

OK, now it's doc etc time.

Coverage drop I'm fine with. We're not going to get Travis to check HSL.


grpc_http1_bridge sets HTTP status incorrectly for Trailers-Only responses

Title: grpc_http1_bridge sets HTTP status incorrectly for Trailers-Only responses
Description:
gRPC responses may optimize and put would-be-trailers in the headers frame if there are no data frames.  The gRPC spec refers to this a a "Trailers-Only" response.
That is, the following two gRPC responses should be considered equivalent:
# normal
HEADERS
 - END_STREAM
 + END_HEADERS
 :status: 200
 content-type: application/grpc
 trailer: Grpc-Status
 trailer: Grpc-Message
 trailer: Grpc-Status-Details-Bin

HEADERS
 + END_STREAM
 + END_HEADERS
 grpc-message: requested-error
 grpc-status: 1

# Trailers-Only
HEADERS
 + END_STREAM
 + END_HEADERS
 :status: 200
 content-type: application/grpc
 grpc-status: 1
 grpc-message: requested-error

However, the grpc_http1_bridge does not treat them as equivalent.  The bridge attempts to set the HTTP status code based on the grpc-status code; however, when doing so it it only looks for grpc-status in trailer frames; so it doesn't find it for a Trailers-Only response.  And so, for the "normal" response, the bridge correctly sets the downstream HTTP status to 503, while for the "Trailers-Only" response, it erroneously sets the downstream HTTP status to 200.
Repro steps:
Put the grpc_http1_bridge in front of a gRPC server that performs the Trailers-Only optimization (in Go, google.golang.org/grpc.Server.Serve does this optimization, but google.golang.org/grpc.Server.ServeHTTP does not).  Arrange for that server to respond with a non-zero grpc-status.  Send an HTTP/1 request through the bridge.  Observe that the HTTP status code is 200.
Notes:
The bug is plainly visible in source/extensions/filters/http/grpc_http1_bridge/http1_bridge_filter.cc.  For reference the grpc_json_transcoder has a reasonably elegant solution to this problem.

I will take this

/assign

Reopening due to the revert https://github.com/envoyproxy/envoy/pull/15317

@snowp I'll take a look at the comments/guidance you left on the PR 👍


Make Travis CI output less verbose

The job log produced by Travis CI is extremely verbose, making it hard to spot what exactly caused a build to fail.
Take a look at the job logs at https://travis-ci.org/se-edu/addressbook-level4 for examples.
Find a way to make the output less verbose, while still providing enough information for effective error diagnosis.

https://gist.github.com/nlochschmidt/5df1a5398262e0aec815


Write a R program to convert centimeters to feet

Description
Write a R program to convert centimeters to feet
1 foot = 30.48 centimeters
Input  : 152.4
Output : 5

How to contribute

Save the solution in program/convert_centimeters_to_feet.r file
Add convert_centimeters_to_feet.r file in convert-centimeters-to-feet folder

!assign

!assign


Fixed using ffmpeg before it's installed on the first run

Functions parse_arguments and prepare_ffmpeg_command get called in main on the first run when ffmpeg may not be installed yet.  This impacts calling shutil.which('ffmpeg') which returns "None", and directly calling ffmpeg within parse_arguments->find_best_device->camera_info:
data = run(
f"ffmpeg -hide_banner -f video4linux2 -list_formats all -i {device}", shell=True, stdout=PIPE, stderr=PIPE
)

Oh good call!
I would change this though, as I don't want the install to happen before the arguments are called. Or else it would happen even if you just did --help or --version.
So instead will need to change it so that it won't return any default best device, and if it detects there wasn't one found before ffmpeg was installed, try again after it is installed.

You're right.  I see another issue with placing this above the root check in main also.
I'm not primarily a Python developer, but I'm happy to take a look at making those changes and have you review it 🙂

Pushed some changes.  Let me know what you think.  Maybe you want to version bump this also


fix: revert timezone bug fix

Revert time.Now().UTC() back to time.Now().
time.Now().UTC() is now hitting the previous API error while time.Now() is not and behaves as expected...

superseded by #33


0.5.2 is not installable: ParseVersionError Unable to parse "dev"

I am using poetry to manage my environment. poetry install throws this error:
ParseVersionError Unable to parse "dev"

#62 seems to be at fault. It works fine in the build pipeline to create the source tarball and upload to pypi, but it is not installable because setup.py still specifies the version as dev when installing

Ah, snap. I have to fix the release pipeline. Thanks for reporting this.

0.5.3 should be ok


[Diagnostics] Improve diagnostic when using == instead of = for defau…

…lt function argument.
Resolves SR-11006.

cc @rintaro

@swift-ci Please smoke test

@swift-ci Please smoke test Linux platform

Thank you Victor!

thank you both for the guidance.


Fix DDPG load error if mpi is not installed.

Comply with stable-baselines 2.10.0 init.

Solves issue #81


Feature/#20 duplicate project title

Adds organization title to duplicate project titles. Works for commands project info, project use, project up.

I think we can merge it after correcting the small error (which might be from myself) and resolving the merge conflicts.


Terraform tempedehl7 EventHub

Need to create terraform for our EventHub infrastructure for HL7 ingestion.
Manually created tempedehl7 - this needs to be replaced by a terraform created resource.
Config:
[ ] DEV -> Pricing Tier: Basic (no support for capture or retention) $ 11/TU/month
[ ] TST -> Pricing Tier: Std $22 /TU/Month
[ ] StG -> Pricing Tier: Std
[ ] PRD -> Pricing Tier: Std

I would like to break this task out to focus on just the "dev" environment and focus on the other environments at a later time. This is simple to do once we have one environment up and running, as it's simply changing the "sku" parameter from "Basic" to "Standard" for the other environments.
For the other environments, we may also need to discuss capacity.

This ticket is completed for the DEV environment and available to be used with a function app.
I am currently testing it out with @cosmycx's receiver debatcher message processor (rdmp) function.
Caveats when spinning up Eventhub.

For the DEV environment, in order to have private endpoint enabled, it must be at least a Standard SKU, instead of Basic. This allows traffic to be internal only, and not available over public internet directly
I need to complete #55 - a creation of a storage account for the function app in order to fully test out the receiver debatcher function application. Right now, Eventhub is just sitting on the side without a way to be tested.


New filters for improved moderation

I have some proposed changes to improve the quality of posts in the main HH group. I'd be happy to implement some or even all of these myself. I wanted to post this issue to get approval and feedback before starting. Here are the changes:

Create a new user named Hackbot which will be used in the following items (is this against the Facebook TOS? Is there any alternative to this for the use cases below?).
Add an argument to the /thread command. The argument will be a set of predefined keywords explaining why the thread was closed. For example, /thread editor will close a thread comparing editors. Once a thread is closed, have Hackbot comment on the thread with a predefined message explaining why the thread is being closed. If the argument to the command doesn't exist, Hackbot won't post anything. This is so the mod who closed the thread can give a custom explanation if there is no predefined explanation. A detailed list of what should and shouldn't be allowed can be discussed later.
Add a /redirect <group> command. The <group> argument will be something like python, which in this case would cause Hackbot to comment with a link to the HH Python group. Whether this should be followed up with a /thread will be up to the moderator. Any user can run this command, not just mods.
Create a /wiki or /faq. Using this command will cause Hackbot to comment with a link to some page that answers the most common questions. Hopefully we can knock of all the "What are some good resources for X" questions with this command. Any user can run this command, not just mods.
Add a /report command. I think this will be easier than using the builtin FB functionality. Anyone can report a post. Reporting a post will send a notification to all of the mods. This could be useful as there aren't many mods so not all posts are seen, but any user can run /report on a thread that's becoming an editor war, which will notify the mods to close the thread. While I think this would be convenient, I can think of multiple reasons against it, so feel free to reject it.
Add a /repost command. Anyone can use this command. Running this command will make Hackbot post a comment with all of the previous reposts of the same link. Obviously it would be crazy to have Hackbot keep track of all the links posted ever, so this would be limited to some tweakable duration (i.e. all links older than 3 days would be removed from Hackbots cache).

If the new Hackbot user is against the TOS, the post could come from the account that issued the command. This shouldn't be a problem for the mods, as they can just give the app permission, and any users who wanted to use these tools could give the app permission themselves.

I'm also adding /search <phrase> to the list, which would post a link to searching a phrase in the group, which should handle the case when a question has been asked multiple times but hasn't yet been added to the FAQ.
@kern Can I get your opinion on these?

Awesome feature suggestions @gsingh93. Let's knock these out one-by-one and create separate issues for the ones we want to implement:

Making a separate user for Hackbot is against Facebook's ToS, so currently Hackbot uses an access token with user_groups and publish_actions from a group admin.

Hackbot can't edit posts that it didn't make. This is rather unfortunate, but I also don't think a keyword is the best way to go about this. Perhaps instead we make a Chrome extension which adds a "Lock" button next to the Like and Comment buttons with a few prefilled phrases. Hackbot currently allows arbitrary text after the /thread command, so this could be done without any changes to Hackbot itself.

This /redirect functionality is identical to /thread, but uses better terminology for the situation. I'll make /redirect an alias of /thread for the time-being.

This is a great idea. I'm thinking of /star or /feature as a command, which adds the post to a list on the site. The FAQ should be manually maintained, in my opinion, to make sure it's useful. This could be a jumping off point for an "HH Digest" or mailing list. I like it. :)

FB doesn't expose post reporting via the Graph API, and reports really shouldn't be public. Not sure how much more we can improve on reported posts given FB's limitations. I want the ability for users to report comments and provide a reason for their reporting, but I'm not sure the best way to go about it.

6 + /search. Again, would be cool to implement this, but it might be better as a Chrome extension.

Thanks for the reponse! I really like the /star idea, that would be really useful.
My second comment states that we could allow users to give Hackbot permission to post as them (like any other FB app). This satisfies the terms of service. Then anyone who cares enough to help out (and I'm sure there would be a lot of people who'd be willing to) could use the /redirect and other non-admin commands. The commands wouldn't work for anyone who didn't give Hackbot permission. What do you think about that?
The /redirect functionality I proposed wouldn't be a duplicate of /thread (as far as I understand it). The point of /redirect was essentially to say "here is a more appropriate group for this question", and not necessarily close the thread.
Any comments on the /repost command (given that you're OK with the idea of giving Hackbot permission to post as other users)?

Ah, true. /repost, /redirect, /search and related commands could be implemented by deleting the user's original comment and having Hackbot comment an automated post on the user's behalf. Seems simple enough, and it might just work. :)
I've spun off each command into separate issues. /repost is going to take a little more time than /redirect or /search (both of which are really simple), but more importantly we're going to have to first allow users the ability to authenticate with Hackbot (see #6). I was planning on doing this after the rewrite I have going on the sentiment branch.

Awesome, sounds great.
If I get some time I'll try to knock out some of these commands myself. I'll let you know before I start working on them so we don't step on each others' toes.

Sounds great, can't wait. :)
ᐧ
On Wed, Jul 15, 2015 at 3:09 PM, Gulshan Singh<EMAIL_ADDRESS>wrote:

Awesome, sounds great.
If I get some time I'll try to knock out some of these commands myself.
I'll let you know before I start working on them so we don't step on each
others' toes.
—
Reply to this email directly or view it on GitHub
https://github.com/kern/hackbot/issues/9#issuecomment-121764415.


How to remove dupulicate nodes?

I executed code below.

select expand(both()) from data
where value = '123456'

There are two nodes (node_A, node_B) whose value equals '123456'
and both of them connected with node_C and node_D.
Finally it returned node_C and node_D for several times
but I just want each of them for one time.
I tried to use distinct() around "expand(both())" but it didn't make effect.
How can I remove dupulicate nodes?

Just do another select like this.Then it works.

select expand(distinct(@rid)) from (select expand(both()) from data
where value = '123456')


Can not run huggingface-cli login

Describe the bug
Hi,
I have been trying to run huggingface-cli login but I have this error:
[phongngu@r15g02 huggingface_hub]$ huggingface-cli login
Traceback (most recent call last):
  File "/users/phongngu/.local/bin/huggingface-cli", line 33, in <module>
    sys.exit(load_entry_point('huggingface-hub', 'console_scripts', 'huggingface-cli')())
  File "/users/phongngu/.local/bin/huggingface-cli", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/commands/huggingface_cli.py", line 18, in <module>
    from huggingface_hub.commands.delete_cache import DeleteCacheCommand
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/commands/delete_cache.py", line 64, in <module>
    from ..utils import CachedRepoInfo, CachedRevisionInfo, HFCacheInfo, scan_cache_dir
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/utils/__init__.py", line 18, in <module>
    from . import tqdm as _tqdm  # _tqdm is the module
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/utils/tqdm.py", line 63, in <module>
    from tqdm.auto import tqdm as old_tqdm
ModuleNotFoundError: No module named 'tqdm'

Reproduction
I follow the installation instruction to install from source:
# First, clone repo locally
git clone https://github.com/huggingface/huggingface_hub.git

# Then, install with -e flag
cd huggingface_hub
pip install -e .

Then I run: huggingface-cli login
Logs
[phongngu@r15g02 huggingface_hub]$ huggingface-cli login
Traceback (most recent call last):
  File "/users/phongngu/.local/bin/huggingface-cli", line 33, in <module>
    sys.exit(load_entry_point('huggingface-hub', 'console_scripts', 'huggingface-cli')())
  File "/users/phongngu/.local/bin/huggingface-cli", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/commands/huggingface_cli.py", line 18, in <module>
    from huggingface_hub.commands.delete_cache import DeleteCacheCommand
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/commands/delete_cache.py", line 64, in <module>
    from ..utils import CachedRepoInfo, CachedRevisionInfo, HFCacheInfo, scan_cache_dir
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/utils/__init__.py", line 18, in <module>
    from . import tqdm as _tqdm  # _tqdm is the module
  File "/users/phongngu/.local/lib/python3.9/site-packages/huggingface_hub/utils/tqdm.py", line 63, in <module>
    from tqdm.auto import tqdm as old_tqdm
ModuleNotFoundError: No module named 'tqdm'

System info
- huggingface_hub version: 0.12.0
- Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /home/phong/.cache/huggingface/token
- Has saved token ?: True
- Who am I ?: phongnhhn92
- Configured git credential helpers: cache
- FastAI: N/A
- Tensorflow: N/A
- Torch: 1.13.0
- Jinja2: N/A
- Graphviz: N/A
- Pydot: 1.4.2
- Pillow: 9.3.0
- hf_transfer: N/A
- ENDPOINT: https://huggingface.co
- HUGGINGFACE_HUB_CACHE: /home/phong/.cache/huggingface/hub
- HUGGINGFACE_ASSETS_CACHE: /home/phong/.cache/huggingface/assets
- HF_HUB_OFFLINE: False
- HF_TOKEN_PATH: /home/phong/.cache/huggingface/token
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False

Hi @phongnhhn92 for some reason, it seems that you are running huggingface_hub on an older version which is weird given the fact that you install it from the source. Could you do:
cd huggingface_hub
git pull
pip uninstall huggingface_hub
pip install -e .

And then retry ? (Both huggingface-cli login and huggingface-cli env)

No news since 1 month => I'm closing this issue. Please reopen if needed.


How to customise photoswipe

I'm wanting to add an extra button to the photoswipe lightbox, but I'm not sure how to get the right reference to be able to do it.
I'm trying to follow the instructions here: https://photoswipe.com/adding-ui-elements/
It involves listening for an event on a PhotoSwipeLightbox object.. but I'm not sure how to do that when everything's set up but natural.

Hey,
https://photoswipe.com/adding-ui-elements/ refers to PhotoSwipe v5 (which is pretty new and was released / went out of beta just 12 days ago - https://github.com/dimsemenov/PhotoSwipe/releases/tag/v5.2.2)
natural-gallery-js currently uses PhotoSwipe v4 for which docs are located at https://photoswipe.com/v4-docs/getting-started.html
I think that to add a button to PhotoSwipe v4 you would have to add it to HTML template (like here - https://ecodev.github.io/natural-gallery-js/docs-options.html#lightbox)
(also, I ported natural-gallery-js to PhotoSwipe v5 just yesterday and above instructions should work there - I plan to create a pull request for that later today)

@kfsz thanks for the help!
So I added an extra button in my template.. but it wasn't obvious how to get the currently visible item.
Eventually managed to figure out a way to get a reference to the PhotoSwipe object so I could get the current item. Not super pretty but works.
  var photoswipe: PhotoSwipe<any>;
  var linkButton = document.getElementsByClassName('link_button')[0] as HTMLElement;
  gallery.addEventListener('zoom', function (evt) {
    photoswipe = evt.detail.photoswipe;
    linkButton.addEventListener('click', function (evt) {
      let currentItem = photoswipe.currItem;
      console.log(currentItem);
    });
  });

Awesome to hear you're close to having photoswipe v5 supported!

@johtso glad to hear you got it working!
and yeah, i think i used something similar before for detecting which item is currently selected
in my case it was this:
naturalGalleryObj.addEventListener("zoom", (ev) => {
    ev.detail.photoswipe.listen("beforeChange", () => {
        selectedPost =
            naturalGalleryObj._collection[
                ev.detail.photoswipe.getCurrentIndex()
            ].model;
    });
    ev.detail.photoswipe.listen("close", () => {
        selectedPost = {};
    });
    selectedPost = ev.detail.item;
});

didn't know PS had currItem property, good to know! - doesn't seem like it exists in v5 though
maybe because of a different approach and item data array not being necessary, with PS inferring image data thru HTML properties by default  - dunno, not that familiar with PS though 😛
good thing you reminded me that there should be an easier way to get current PS image - added photoSwipeCurrentItem getter to my PR 😛


data is always null in bridgefyDidReceiveData

I'm sending data using send(data, mode) where data is a string (stringified JSON)
But when getting the data, it's null
Examples of received payloads:
{"data": null, "messageId": "A0D5963C-7E1B-4F5C-81A6-02E9EF33BF68", "transmissionMode": {"mode": "mesh", "uuid": "25C27C18-C091-46E8-B360-5EE40952C5E3"}}

{"data": null, "messageId": "21AE0C18-63B5-47CA-BAE9-6E378C92331D", "transmissionMode": {"mode": "broadcast", "uuid": "742838E9-5CFD-4CF5-BCA7-994CB7304250"}}

@julian-bridgefy do you have any clue? I'm happy to help if you can point me in the right direction


PropertyEditor enhancements

Open and close input harvester groups via single click (this is the expected behaviour for a group label with an arrow)
Remove empty space on the right of the SwingNodePropertyEditor:

update tree on node change

.. no idea why Travis is failing with NameError: name 'commit_message' is not defined and what this means..

.. no idea why Travis is failing with NameError: name 'commit_message' is not defined and what this means..

this is probably not the right thread to discuss... but: How difficult would it be that nodes would remember their visibility state?
Considering a tree of nodes: suppose all is visible, I turn certain leaf not visible, then I make the root not visible, I click the root visible again, and.. surprise.. the leaf became visible again
my use case:
when I am in a complicated scene, I filter out a couple of objects (by turning them not visible), then I want to hide the whole structure (or the whole class of them, in my context) temporarily... but restoring ends up in clearing of all of my previous filtering
on the other hand, I would love to have "enable them all" too...
-> modifiers? menu item? new shortcut? 'v' 'V' (disable/enable selected) ??

@frauzufall posted a comment above for you kind consideration (sorry for spam)

@xulman thank these are great ideas and I agree that this belongs to the features one would "expect" - I'll look into it and, in case it might take more time to do it, make a separate issue.

If @frauzufall  and @xulman are alright with this, I'd merge this, and then @xulman's feature requests can be added later?