Conection lost

After a few hours working perfectly, I had to restart the equipment that powers the esp32 that pipsolar has installed.
It has not read from the investor again and the log shows me this:
[13:34:18][D][pipsolar:756]: timeout command to poll: QPIRI
[13:34:18][D][pipsolar:839]: Sending polling command : QPIGS with length 5
[13:34:23][D][pipsolar:756]: timeout command to poll: QPIGS
[13:34:23][D][pipsolar:839]: Sending polling command : QMOD with length 4
[13:34:28][D][pipsolar:756]: timeout command to poll: QMOD
[13:34:28][D][pipsolar:839]: Sending polling command : QFLAG with length 5
[13:34:33][D][pipsolar:756]: timeout command to poll: QFLAG
[13:34:33][D][pipsolar:839]: Sending polling command : QPIRI with length 5
[13:34:38][D][pipsolar:756]: timeout command to poll: QPIRI
[13:34:38][D][pipsolar:839]: Sending polling command : QPIGS with length 5
what could be the problem? how can I solve that?

Some ideas:

Reboot your inverter
Verify all connections
Replace the RS232 converter module
Attach a PC to the inverter. Does the communication board still work?


how to test SubmitMisbehaviour

Summary
I want to broadcast submitmisbehaviour msg , but i found ,i cant build the message correctly
firstly, i get header through the cmd  cli query ibc header  ,but i found the trustValidator will be nil

Problem Definition

Proposal

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Do you have valid misbehaviour to submit? You likely need two headers. The trustValidator is the validator set of the trusted header you are proving against. You have to submit that since ibc-go maintains minimal information on chain for proof verification

Sry for the late response ,and thanks your replay .
Currently  I dont have any misbehaviour to submit , Can you tell me how could I create this by cli ?

Can you tell me how could I create this by cli ?

Misbehaviour can't really be trivially generated via cli since you need chains to misbehave. For example, a chain's validator set would need to double sign on two different headers for the same height. It'd be helpful to know why you want to test misbehaviour submission. I'd suggest looking at the support section on our README to see if there's a communication channel that we could help you more effectively on


biodetail-rtl

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--world-bank--aemsites.hlx.live/
After: https://biodetail-rtl--world-bank--aemsites.hlx.live/ext/ar/leadership/axel-van-trotsenburg

Corrected @mkbansal1.
pls check


Deliver unit test metadata locally only

As a developer I want to avoid retrieving unit test metadata over the network.
Acceptance criteria

Unit test metadata is delivered locally.
Unit tests pass even if no network is available.

Tasks

[ ] Deliver media composition with a custom URLProtocol redirecting to the the local Python server.
[x] ~Deliver MP3 on-demand sample stream locally.~
[x] ~Deliver MP3 livestream locally.~
[ ] Deliver token locally (append to unprotected local streams).

Local MP3 delivery does not work for on-demand content, see #297. Livestream delivery is probably complicated anyway. Crossed off the list for the moment.


About Cora Dataset

Hello, I notice that in your implementation, Cora dataset contains 10556 edges. But many papers in recent years adopted settings of 5429 edges(5429*2=10858). Why is there such a difference?

Because the Cora dataset is holding duplicated edges, which we remove in a pre-processing step. See https://github.com/rusty1s/pytorch_geometric/issues/343.

Thank you very much!


request confirmation screen

Need a new UX where the phone number is being entered to confirm a request. The user can only see the requester name in big. So ends up trying to enter their number when they have to enter their own. That is not very clear.
Also the slider.

@shreyasnisal  i have sent the request to UX team. Will let you know once i hear back

https://xd.adobe.com/view/00485057-d5b7-4b2b-641b-20216b3a38d5-7679/screen/b23aa521-4891-4b54-b7da-98ede8a333e2/specs/@hemantsain  this is the spec link
The message needs to be updated
the second heading should be
Confirm your mobile number
Enter your mobile number to accept the request
Simialr UI changes need to be made for email address and OTP based flow.
@antuz123


add custom machine size to readme

I needed more space for my virtual machines, as the default (1GB?) filled up very quickly. It would be nice to add this to the README to get more space, increases it to 8GB:
docker-machine rm dinghy
docker-machine create --driver virtualbox --swarm-host tcp://<IP_ADDRESS>:2376 --virtualbox-memory 8096 dinghy
dinghy up

The README already mentions running dinghy help create before creating the machine, which displays options to change disk, cpu and memory parameters. Though the default is 20GB, not 1GB, in every instance that I've seen, I'm not sure how you ended up with a 1GB disk.

Thank you, missed that!


Unit-test workflow defaults to PHP 8.1

In https://github.com/mage-os/infrastructure/blob/c1cb625360a8f8e23146103b8434e2610a65ca9d/.github/workflows/unit-tests.yml#L49 , the composer install runs with the GitHub Action runner's default PHP, which for Ubuntu 22 is PHP 8.1. That breaks composer install for latest versions, which now expects PHP 8.2.
To fix this, we need to install the explicit PHP version determined by the matrix.

Fixed in #45 -- confirmed by successful test run at https://github.com/mage-os/mageos-magento2/actions/runs/9845770197/job/27182053474?pr=98 .


Update skype-room-systems-v2.md

Added GCC and GCC high Dod Sku's

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LanaChin PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@LanaChin Any updates on this? Thanks

@LanaChin @waseemhashem @jambirk PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Waseemhashem was mentioned in error, approval needed is from @sohailta

@sohailta PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

according to Sohail GCC or GCC High and DoD SKUs are definitely not supported. Since they aren't supported, let's close the PR.


[Fixes: #193] Add LocalizeContext typescript definition to module exports

Should be all good:

built files include change
everything else is as before
npm audit --production doesn't expose any issues.

I know LocalizeContext wasn't supposed to be a recommended interface but in useContext land it's nice to be able to use it.

Also need this to build a "hook helper".
@adamdharrington im not sure whether bumping the package version should be part of this commit


MS Edge in selenoid hub

Hello guys.
I came to a problem today, which is related to MS EDGE with chromium. When selenoid hub is started, I am able to run the first test (with ms edge browser) once - it opens the browser, but not for the second time, it ends up with timeout - org.openqa.selenium.WebDriverException: cannot create session MicrosoftEdge-85.0 on any hosts after 1 attempt(s) (WARNING: The server did not provide any stacktrace information)
In selenoid logs at my selenoid hub -> 2020/09/07 16:30:10 [-] [NEW_REQUEST] [unknown] [MY_IP]
In ggr logs -> 2020/09/07 14:30:11 [17] [0.00s] [SESSION_ATTEMPTED] [test] [<IP_ADDRESS>] [MicrosoftEdge-85.0]
I am using MS EDGE 85.0.564.44 64-bit
MsEdgeDriver: 85.0.564.44 on port 9515
SELENOID_ID run as Administrator
Internet Explorer Driver server version <IP_ADDRESS> (had <IP_ADDRESS> before, I updated it)
I don't know, if this has something to do with this issue, but in SELENOID_IE server I can see this:
DevTools listening on ws://<IP_ADDRESS>:49704/devtools/browser/someid
ERROR: edge_auth_errors.cc(374). EDGE_IDENTITY: Get default OS account failed: Error: Primary Error: kImplicitSignInFailure, secondary error: kAccountProviderFetchError.
ERROR: device_event_log_impl.cc(208). Bluetooth: bluetooth_adapter_winrt.cc: 1074 Getting default adapter failed.
Thank you for your help :)

@al7dckh5gb at least old Edge (EdgeHTML) was able to run only 1 copy in parallel.

@vania-pooh I am not trying to run tests in parallel. But sequential. First test ends, second starts, but second is not able to create session.

@al7dckh5gb what is your Selenoid server -limit parameter value? Couldn't it be that your request simply goes to Selenoid queue?

My limit is 1.
After first test, url:8888/status has: "pending":0,"queued":0,"total":1,"used":1... browser is opened & closed (that's fine)
After second test, URL:8888/status has: "pending":0,"queued":1,"total":1,"used":1}... why? I am the only one who uses this, so there can't be anyone else.

@al7dckh5gb are you closing session with driver.quit()?

Yes, I forgot.. 🥇 Sorry.. I used java code from selenoid-ui, but I totally forgot about driver.quit(); Thank you!


datableCHN file recognition error

Hello.
I'm using TaikoSoundEditor,
Datatable CHN file recognition error.
Please fix this bug.

skill issue

This has been fixed by #5 !


Update Gitflow and Contributing Section and PR Template Report

Preflight Checklist

[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

git flow with PRs
To solidify our contributing and gitflow process: the community has agreed to put in place a system. These are the following updates to contributing to this repo

Going forward, all Pull Requests will require 2 reviewers prior to merging. If the contribution isn't hefty, one reviewer is fine. Repo Collaborators should edit this otherwise.
The PR author will choose a label (between "Review: Needs 1" and "Status: Needs 2") to further organize the repo
It's mandatory that the PR author adds reviewers prior to submitting the pull request

What needs to be done:

Assignee needs to update the PR template
Should reflect the above rules in the contributing document

@codyseibert @divanov11 @PraveenMalethia I know that we can rephrase the list above. If you guys have a better way of saying it, please add a comment 😃

Sounds Good! 👍🏻

@abhivemp  are you working on the PR template?

@abhivemp  are you working on the PR template?

I am, yes. Should be getting a PR about this very soon.


Add ability to pass in multiply --tunnel options

Closes #41

I apologize for the notification spam, I ended up having to downgrade both flake8 and iblack


ExpressRoute: Minor update: Configure ExpressRoute and Site-to-Site coexisting connections using the Azure portal

corrected words

#sign-off


Localize the country name

It would be nice if there would be a props to override the country name, to localise it with the language we want. We could pass a json with the french names with the key of the country.
We love your component but we are developing a software in French, so we need to override countries name.
Thank you

@cptdesro
You can do that using the onlyCountries prop. From the package country-telephone-data, pick allCountries, modify them as you like and send to ReactTelephoneInput as onlyCountries prop.
var ReactTelInput = require('react-telephone-input')
var countryTelData = require('country-telephone-data')
var localizedCountryData = localizeCountryNames(countryTelData.allCountries)

<ReactTelInput
    onlyCountries={localizedCountryData}
    ...otherProps
/>

Try it and let me know if it works.

Perfect Thanks, if you are interested, i can give you the list of localized country in french. It was long to localize each country.

You can put it on github and put a link here. I would be happy to add the data link to README section.


Validation

Do we need any validation during mapping? Like getting error back from EKMapper with list of invalid keys and values?

I don't think we do. Mapping should work safely, or raise exceptions when keys are invalid. What would you do with information, that for example list of keys are invalid? And how would you mark them as invalid?
However, i'm open for discussion, making EasyMapping more safe and functional is always my goal.

At least we can leave invalid properties with nil values. Also we can even not create object if it's representation is invalid and we check for it at first. Maybe it could make core data import faster, though I din't work with EasyMapping + CoreData. I think in terms of mapping it's better to have no object than to have invalid one as a result. Of course in mapping block user can provide default value if input is not valid, check for input value type and transform it to appropriate one and do what ever else, but maybe it's not what users would like to do and maybe we can simplify this task. Also for me to provide some error as feedback of some failable operation is a good practice. If you have an error after mapping object you can ignore this object or log this error in your logging system or provide any fallback in your application. And you just check the error message, not all properties of result object that you are interested in and that should be correct to use this object further. Hope you'll got my point =)

Yes, returning NSError from Foundation API is a common practice. However with mapping, too much stuff can go off rails, it does not seems possible to cover all cases. Wrapping everything in try catches, and endless if's seems not efficient.
It would be nice to fail gracefully and provide keys or values, that are unexpected, but i'm not sure if we can achieve this in a clean and compact way.

does easymapping handle uniqueness validation? Do I have to fetch an existing object based on id in order to update it? How does this affect the benchmarking, say if I had to update hundreds of records?

Hi!
CoreData.framework supports uniqueness by using primary key on your NSManagedObject. Of course, you need to fetch object prior to updating it.
EasyMapping implements some optimizations, that will speed up imports of large number of objects in CoreData. If you have performance issues, I suggest profiling them with Instruments to actually see where your performance problem is.
Best regards,
Denys Telezhkin

20 ôåâð. 2015 ã., â 23:22, mitrenegade<EMAIL_ADDRESS>íàïèñàë(à):
does easymapping handle uniqueness validation? Do I have to fetch an existing object based on id in order to update it? How does this affect the benchmarking, say if I had to update hundreds of records?
—
Reply to this email directly or view it on GitHub.

Closing this issue for now, cause it's a discussion, not an issue for EasyMapping.


call _SG_ERROR/_SG_WARN after _SG_LOGMSG

call _SG_ERROR/_SG_WARN after _SG_LOGMSG so that if the logging callback panics on errors/warnings, the log message will have made it to the console before the panic. Really helps with debugging.

Hmm, the original behaviour is actually intended. Both errors and warnings are not supposed to terminate execution, only the panic log level.
For instance, in the validation layer, there's a single panic at the end if any validation had failed (and before that the validation layer may output multiple error log messages):
https://github.com/floooh/sokol/blob/b803c9a0214c6ab6dcb9cc6dd9d30d7ace4eda1e/sokol_gfx.h#L14656

My apologies, I thought it was expected that errors would cause an abort. I misread the sokol_log implementation.


Seperate tabs for current session loot and total loot for each entity

I always like to reset my loot tracker for a boss whenever I start a new session to farm it. I get frustrated when I reset my boss loot kills to track the new session. I also would like to see the total loot I have accumulated since I started farming the boss (at least since I enabled loot tracker obv).
Having two tabs at the top of the loot tracker, one for current session loot and one for total loot all the way (or what is possible) from when the loot tracker was enabled for a specific entity (zulrah,vorkath,red dragon, etc...)
Another option I thought about, although not very practical possibly, I would like to store the loot tracker data/content into a bundle/chest that stays in the loot tracker itself. For example I tracked the loot of my 1-50 kc of zulrah, I would now like to put all of the loot I got in a bundle that appears in the loot tracker of the boos, when you hover over it it would tell you that kc, date and value. You can then proceed to hide this and start your new loot session kc 51-60. When I would like to see all of my loot I would just unpack the boxes see all of what I got from kc 1-60 and then repack for a new session.
Another option, would be having two tabs at the top of the loot tracker, one for current session loot and one for total loot since loot tracker was enabled for a specific entity (zulrah,vorkath,red dragon, etc...)

Duplicate of #10346


File Transfer Stuck same point/percentage

i downloaded an apk which is 208mb and it keeps getting stuck and yes i have transfer files before and my phone has sufficient space

same problem here. I was transfering a large .zip file

Same happens here. it's fast at first and then gets stuck at around a quarter.

Can you check if you have any errors in JS console, and if so paste them here?

sorry, I don't know what those words mean. Where would I find that, how would I identify an error and so on. I was using Firefox.

No problem!

Load the page in Firefox.
Go to Tools -> Browser Tools -> Browser Console. This should open a new window. I'm on Mac, but hopefully the options are the same on Windows and Linux.
Click the trash icon in the upper left corner to clear whatever is already in the console.
Start the transfer.
When it gets stuck, copy everything from the console and paste it here.

It would be great if you could do it on both sides, i.e. on the sender and recipient side.


dualized <$> hints with <&>

Done fairly mechanically. Left out a select few further opportunities, involving Just applications: https://github.com/ndmitchell/hlint/blob/1591b773dabbede12912cd43dabe73a578502103/data/hlint.yaml#L593-L594 https://github.com/ndmitchell/hlint/blob/1591b773dabbede12912cd43dabe73a578502103/data/hlint.yaml#L973-L974 https://github.com/ndmitchell/hlint/blob/1591b773dabbede12912cd43dabe73a578502103/data/hlint.yaml#L1056

Thanks, makes sense! Agree on the ones you left out.


Enable Zstd support

This enables Zstd support for http compressor in curl. Zstd is added as
a dependency.

This has been merged upstream. Can we close it?


Documentation fixes

Three documentation fixes that should hopefully make life easier for people consuming this gem.
Fixes #90

Amazing. Thanks @mamhoff!


Permission denied when attempting to install new package

I recently installed homebrew, and originally had no problems installing new programs.  However, today I attempted to install textwranger via
brew install Cask/caskroom/textwrangler
and I got the following error:
Checking out v1.0.1 in /usr/local/Homebrew...
To checkout v1.0.1 in /usr/local/Homebrew run:
'cd /usr/local/Homebrew && git checkout v1.0.1
==> brew cask install Caskroom/cask/textwrangler
==> Moving Caskroom from HOMEBREW_REPOSITORY to HOMEBREW_PREFIX
Error: Permission denied - (/usr/local/Homebrew/Caskroom, /usr/local/Caskroom)Most likely, this means you have an outdated version of Homebrew-Cask. Please run:
brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup

If this doesn’t fix the problem, please report this bug:
https://github.com/caskroom/homebrew-cask#reporting-bugs

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in rename' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in block in mv'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1552:in block in fu_each_src_dest' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1568:in fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1550:in fu_each_src_dest' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:508:in mv'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:8:in migrate_caskroom_from_repo_to_prefix' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc.rb:52:in init'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:146:in process' /usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in <top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:23:in require?' /usr/local/Homebrew/Library/Homebrew/brew.rb:105:in '
I then attempted running the suggested command, and received the same error:
Error: No available tap phinze/cask.
Error: No available tap caskroom/cask.
Checking out v1.0.1 in /usr/local/Homebrew...
To checkout v1.0.1 in /usr/local/Homebrew run:
'cd /usr/local/Homebrew && git checkout v1.0.1
Already up-to-date.
==> Tapping caskroom/cask
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3432, done.
remote: Compressing objects: 100% (3413/3413), done.
remote: Total 3432 (delta 37), reused 452 (delta 13), pack-reused 0
Receiving objects: 100% (3432/3432), 1.16 MiB | 1.69 MiB/s, done.
Resolving deltas: 100% (37/37), done.
Checking connectivity... done.
Checking out files: 100% (3416/3416), done.
Tapped 0 formulae (3,439 files, 3.6M)
==> Moving Caskroom from HOMEBREW_REPOSITORY to HOMEBREW_PREFIX
Error: Permission denied - (/usr/local/Homebrew/Caskroom, /usr/local/Caskroom)Most likely, this means you have an outdated version of Homebrew-Cask. Please run:
brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup

If this doesn’t fix the problem, please report this bug:
https://github.com/caskroom/homebrew-cask#reporting-bugs

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in rename' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in block in mv'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1552:in block in fu_each_src_dest' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1568:in fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1550:in fu_each_src_dest' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:508:in mv'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:8:in migrate_caskroom_from_repo_to_prefix' /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc.rb:52:in init'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:146:in process' /usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in <top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:23:in require?' /usr/local/Homebrew/Library/Homebrew/brew.rb:105:in '
I then followed the instructions from github, adding export HOMEBREW_CASK_OPTS="--appdir=~/Applications" to my .bash_profile.  I sourced .bash_profile and retried installing, but I got the same error.  I'm not sure what else to try.
Thank you so much for your help, and please let me know if you need more info!

Duplicate of #24674.

Thanks!  That solved my problem!


Tradeoff between physical cost and human effort cost(design + implementation)

Discuss. Am I right here?

Because, strictly speaking, if all resources are used properly, economical and resource costs will be directly related, and optimising physical resources will be enough for both cases.
I am biased toward optimizing physical resources.


Add hint for Android Studio users to keep Android Gradle Plugin updated

Description
This PR adds a documentation hint under "The Android Gradle Plugin and the Gradle Build Tool" section in the caching_android_projects.adoc file. The hint advises Android Studio users to keep their Android Gradle Plugin (AGP) updated to the latest version to avoid compatibility issues and gain performance improvements.
Context
Addresses #30995: Many Android developers face issues when using outdated versions of AGP, which can lead to build errors and suboptimal performance. This hint is intended to encourage users to upgrade regularly, aligning with Gradle's recommendations for maximizing build efficiency and stability.
Changes

Added a note in caching_android_projects.adoc recommending Android Studio users to upgrade AGP for better performance and compatibility.

Checklist

[x] Documentation updated
[ ] Tests (N/A)
[x] Ready for review

Additional Notes
Please let me know if there are any adjustments or additional sections needed. Thank you!

This does not resolve the linked issue. Also the added line is saying the same as the first line of the next paragraph. So having both makes no sense.
As such, we will not accept the PR like this. If you feel like improving it, here are guidelines:

Remove the sentence about old versions, it brings no value
Add the upgrade suggestion at the right location, in the upgrade guide

Hey @Ayushcode10, can you make sure to follow the DCO guidelines so I can merge your PR?

 This is required for a merge as well as to ensure you get credit.

I have signed off on the pull request, so it should pass the DCO check. What is causing it to fail? Please provide guidance.


feat: sort results by row and column isntead of just row

Make it, so items of the same priority are sorted line-wise as well.
Before:
https://user-images.githubusercontent.com/85341530/141746028-3acd71dd-980d-4b8d-aac7-627df1514a89.mp4
After:
https://user-images.githubusercontent.com/85341530/141746079-533ff2cb-1a8a-473e-973f-91dc896244ec.mp4

Thank you!


chore: upgrade yarn

Summary
Getting an outdated warning is annoying

Test plan
Green CI

Codecov Report

Merging #8643 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8643   +/-   ##
=======================================
  Coverage   63.32%   63.32%
=======================================
  Files         274      274
  Lines       11355    11355
  Branches     2771     2771
=======================================
  Hits         7191     7191
  Misses       3547     3547
  Partials      617      617

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 9c70ba0...749801f. Read the comment docs.


SAM-2721 fix JS issue found by Juan Jose

Ok, let's see if this fix the issue.
Thank you @ottenhoff !!


HDDS-8858. Do not mix JSON output with hints.

What changes were proposed in this pull request?
We should avoid mixing JSON output with hints, which can lead to jq parse failure.
In this PR, In code where hints are printed with stdout is replaced by stderr.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8858
How was this patch tested?
Verified in local cluster to see json/err redirection
$$ozone sh key list -l 1 o3://localhost:9862/vol11/ > a.txt
Listing first 1 entries of the result. Use --length (-l) to override max returned keys.
$$cat a.txt
[ {
  "volumeName" : "vol11",
  "bucketName" : "bucket1",
  "name" : "key1",
  "dataSize" : 0,
  "creationTime" : "2023-06-19T11:04:46.584Z",
  "modificationTime" : "2023-06-19T11:04:46.640Z",
  "replicationConfig" : {
    "replicationFactor" : "THREE",
    "requiredNodes" : 3,
    "replicationType" : "RATIS"
  },
  "metadata" : { }
} ]

@adoroszlai, Please help to review. Thanks

As a general question - does the json output contain any hint that there are more records to retrieve?
Eg, should it have a startKey and hasMore = true / false so that a program can page down the results?
Also having a limit of 1 by default seems a bit strange - a default of 100 or something like that might be more useful.

@sodonnel, Thanks for the review.
does the json output contain any hint that there are more records to retrieve?
Json and hints are separated, stdout will contain only json that can be used by jq
Hints will be output using stderr so can be redirected separately or can be displayed on console.
Also having a limit of 1 by default seems a bit strange
---Default is 100, just I have less keys so I used -l 1 to override default value which is 100.

@sodonnel Agreed, such metadata in the JSON output would be nice, but that would mean changing the top-level list to a map, which is not backwards compatible.  I hope we can make this change for 2.0.

having a limit of 1 by default seems a bit strange

Where do you see that default?  The command in the description limits output to 1 item, but the default is 100 (in ListOptions).

Ah, I just looked at the example output - didn't realize the default was not 1. Good to know its 100, as that is more sensible.

Thanks @ashishkumar50 for the patch, @sodonnel for the review.


feat: integrate contract registries

Integrate contract registries into the interface.
To fix:

[x] Selected count doesn't change after approval in ApplicationsToApprove.tsx @kittybest can you help with this please?

To finish:

[ ] Project search
[x] Ballot
[x] Results

re #263

Closing in favour of a new PR due to rebase not being the best option


update the docker image

Build and upload the latest docker image

https://hub.docker.com/repository/docker/pengjianqing/xiaogpt-arm64/
https://hub.docker.com/repository/docker/pengjianqing/xiaogpt-x86/

thanks


feat: support deploying all functions in parallel

What kind of change does this PR introduce?
feature
closes https://github.com/supabase/cli/issues/456
What is the new behavior?

deploys all functions in supabase/functions in parallel

Other nice to haves:

[ ] allow configuring max concurrency
[ ] use a single bundle with different entrypoint

Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

73 of 82 (89.02%)  changed or added relevant lines in 2 files are covered.
31 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.2%) to 62.697%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/functions.go
0
1
0.0%

internal/functions/deploy/deploy.go
73
81
90.12%

Files with Coverage Reduction
New Missed Lines
%

cmd/functions.go
1
32.26%

internal/utils/deno.go
30
55.23%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
4491

Relevant Lines:
7163

💛  - Coveralls


Extracting/Migrating the Credential Provider: KEP + Alpha Implementation

As part of the cloud provider extraction/migration, we should start to look into how the credential provider is going to be extracted so that the kubelet does not rely on cloud SDKs for image pulling credentials. Also to support future credential providers without adding it into the main tree.
Need to work with SIG Auth and propose a KEP to extract/migrate credential providers to move out-of-tree.
related: https://github.com/kubernetes/kubernetes/issues/68810
cc @justinsb @mcrute

/assign @mcrute

Also related kubernetes/kubernetes#70675

@mcrute and I are doodling out some ideas for this, hoping we can have an alpha feature-gated version of this in for v1.15.
cc @liggitt @smarterclayton

Would secret a possible solution for this?

Would secret a possible solution for this?

Yes, this is one of the possible solutions we're discussing. KEP is work in progress :)

For KEP + alpha implementation
/milestone v1.15
/priority critical-urgent
cc @dchen1107 @derekwaynecarr

p0: KEP + alpha implementation

Rough draft of the KEP, mostly just the problem statement at this point.

For v1.15, p0: KEP + alpha implementation

@andrewsykim What's your proposal for alpha implementation?

/remove-lifecycle stale

/remove-lifecycle stale

/lifecycle frozen


Subscription aliases don't seem to work correctly

What did I do
Subscribed to topics with an alias limit set to request the broker to alias messages to the same topic.
This does require a broker that supports aliases, which I don't believe mosquitto does.
What happened
After the first message (establishing the aliases), subsequent messages don't properly report the topic.
Expected
If a message doesn't contain a topic, but contains an alias reference, then the alias should be dereferenced and the topic displayed.
Environment

OS: OS version, e.g. macOS Ventura 13.1
MQTTX version, e.g. v1.6.0

Details
Subbed to tmp/# on broker.emqx.io and sent two messages:
mosquitto_pub -d -h broker.emqx.io -t tmp/x -m hello
mosquitto_pub -d -h broker.emqx.io -t tmp/x -m hello

Compare to the output of my client subscribed at the same time:
tmp/x → hello
  TopicAlias 1
tmp/x → hello
  TopicAlias 1

Hi, sorry I'm late in replying. As I understand it, your mean it should eventually show the topic from which this message was received, right?

It should always show the topic.  If it receives an empty topic with no known alias, there's a state mismatch between the client and the broker and he connection should be dropped.  Otherwise, the client does know the topic and should display it.


Handle movies

Exif doesn't handle movies and reading them takes a long time. We could just depend on modtime which would be fast. Or make it optional. Worth thinking about. Tired of hand filtering.

We can just detect movie suffix and use modtime instead of exif.


[PE-D][Tester A] GUI does not update when editing a class

I had a class named 'CS2030' which is index 1 in my list.

I then entered the command view /c 1 to view the class. This will be very confusing to the user as they might not know whether the class is actually edited, or whether they edited the correct class. I suggest that the current class message box be updated too after entering the edit command.

However, when I enter the command edit /c 1 /n piano /m 1234, the GUI does not update the details of the current class message box.

Labels: severity.Medium type.FunctionalityBug
original: andrechuakj/ped#6

duplicate with #98


Burst fails to find 2160p (4k) torrents, although the provides do have them

Preface
The following is a request of a friend who uses firestick 4k. I have neither the bandwidth nor the hardware to play 4k video.
Also, the issue report follows elementum's guide of issue reporting.
Expected Behavior
Burst should find 4k torrents that have 2160p in their name.
Current Behavior
Burst simply ignores 2160p torrents, probably because "4k" is not part of their name. The same may apply for 2k too. However, it does return results for 1080p and lower resolutions with no problem.
Possible Solution
No idea.
Steps to Reproduce (for bugs)

Make sure you have 4k resolution enabled in burst's settings (settings for elementum burst provider > resolutions > 4k > ticked)
Make sure you have enabled a tracker that has 4k content for movies and/or series. I don't know if I can mention one, but the one whose api listens to torrentapi.org does have such movies and series.
Search or find a movie that is available in 2160p/4k through trakt lists, eg the latest spiderman movie under trakt > trending.
Notice that there is no results for 2160p/4k, although there are results for lower resolutions.
Open a web browser, visit the forementioned tracker, search for the movie again and notice that 2160p/4k torrents do exist in the results.

Context
I want burst to provide 2160p/4k content for elementum :)
Or at least see if anyone else faces the same issue.
Your Environment

Version used: Burst 0.0.71 and elementum 0.1.86
Environment name and version: Kodi 18.9 (libreelec) and 19.4
Operating System and version: Libreelec 9.2.6 x64 (for kodi 18.9), debian testing/unstable x64 and fireos 7 on the firestick (for kodi 19.4).
Link to Kodi debug log: No log. Screenshot (with the search results) only upon request.

this is weird. probably some issue with trackers/torrent files, rather than with burst.
i do have 4k results.
also you can see burst support 4k filtering (actually it supports it from the beginning  - 5 years ago):
https://github.com/elgatito/script.elementum.burst/blob/10ea0b5168eefff71243cfbb79426cf02e1afd21/burst/filtering.py#L87
check names of "your" torrents against these patterns. maybe "your" torrents use some non-standard naming convention.

What do you mean by "names of your torrents"? When I search for a movie, the only thing that is search is probably the name, e.g. "spiderman no way home", which should return results that contain 720p, 1080p, and 2160p in their names. Why would I add the resolution as a search parameter?
This limits, if not breaks, the results. I just searched for "spider-man: no way home 2160p" (notice the dash and the dots before "no") and it got 0 results for matching movies.

I agree with the first part. However, the torrent name from that specific provider clearly states the resolution, at least for movies.
For the second part, I am now waiting for my friend to check the forementioned setting in his firestick 4k and reply. I had mine set to 20gb, which is fair considering I rarely go for 1080p, because as I said I do not have the bandwidth to download such data volumes in reasonable time.


Release23

This PR is the release23-dev-branch, intended to be merged into master after we've done a few tests (August 2020).
It contains #157 , #155 , #154, as well as a few minor minor fixes and tests.

Codecov Report

Merging #158 into master will increase coverage by 4.72%.
The diff coverage is 92.92%.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   75.52%   80.25%   +4.72%
==========================================
  Files          41       44       +3
  Lines        4871     5460     +589
  Branches     1104     1291     +187
==========================================
+ Hits         3679     4382     +703
+ Misses       1149     1017     -132
- Partials       43       61      +18

Impacted Files
Coverage Δ

src/devices/abstract.ts
100.00% <ø> (ø)

src/devices/atem.ts
60.86% <ø> (ø)

src/devices/casparCG.ts
68.03% <ø> (ø)

src/devices/httpSend.ts
67.50% <ø> (ø)

src/devices/httpWatcher.ts
84.74% <ø> (ø)

src/devices/hyperdeck.ts
63.63% <ø> (ø)

src/devices/lawo.ts
69.23% <ø> (ø)

src/devices/osc.ts
87.28% <ø> (ø)

src/devices/panasonicPTZ.ts
67.96% <ø> (ø)

src/devices/panasonicPTZAPI.ts
73.40% <0.00%> (+39.01%)
:arrow_up:

... and 18 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 6950b97...66ff167. Read the comment docs.

We're skipping r23 and focusing our efforts on r24 instead.


argo cli generates none non-obvious error message

[ERR_BAD_REQUEST] influxdb-ci.yaml: template 'test-cov' steps[0]. name is not unique
  - name: test-cov
    inputs:
      artifacts:
      - name: source
    steps:
    - - test-cov-query:
        template: test-cov-base
        arguments:
          parameters:
          - name: package
            value: "query"
      - test-cov-tsm1:
        template: test-cov-base
        arguments:
          parameters:
          - name: package
            value: "tsdb/engine/tsm1"

The correct error is that name is a required field.

Perhaps we should also report that 'test-cov-query' is not a valid field name.

Unfortunately, the ability to detect unknown fields was lost in the transition to 2.0, and is not easy to re-add with the 2.0 workflow manifests. The reason is, 2.0 heavily makes use of the kubernetes data structs. Some of the k8s datastructures have customized golang UnmarshalJSON() methods. The go library that we previously used to detect unknown fields (mapstructure), is unable to handle the the case where the UnmarshalJSON() method unmarshals json into an different type (which is what some of these customized unmarshallers are doing). Therefore I was unable reuse the logic to detect unexpected fields during YAML validation.

a390927 will detect and give a proper error for unnamed steps


AN-337 - Add interpolation to validator

I added a test, I think it might be just enough, as the interpolation is not something complex. If you have any idea for other tests that would be useful let me know.


can't run hoeffding tree

hi, i am newbie to this lib, I have installed scala, my java version is 8 and now, after compiling the lib, i enter the bellow command:
./spark.sh "200 EvaluatePrequential -l (meta.Bagging -l trees.HoeffdingTree) -s (FileReader -f covtypeNorm.arff -k 5810 -d 10 -i 581012) -e (BasicClassificationEvaluator -c -m) -h" 1> result_cov.txt 2> log_cov.log
and the result in log file is:
Exception in thread "main" java.lang.AbstractMethodError
at org.apache.spark.internal.Logging$class.initializeLogIfNecessary(Logging.scala:99)
at org.apache.spark.streamdm.streams.FileReader.initializeLogIfNecessary(FileReader.scala:46)
at org.apache.spark.internal.Logging$class.log(Logging.scala:46)
at org.apache.spark.streamdm.streams.FileReader.log(FileReader.scala:46)
at org.apache.spark.internal.Logging$class.logInfo(Logging.scala:54)
at org.apache.spark.streamdm.streams.FileReader.logInfo(FileReader.scala:46)
at org.apache.spark.streamdm.streams.FileReader$$anonfun$init$1.apply$mcVI$sp(FileReader.scala:93)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
at org.apache.spark.streamdm.streams.FileReader.init(FileReader.scala:92)
at org.apache.spark.streamdm.streams.FileReader.getExampleSpecification(FileReader.scala:106)
at org.apache.spark.streamdm.tasks.EvaluatePrequential.run(EvaluatePrequential.scala:64)
at org.apache.spark.streamdm.streamDMJob$.main(streamDMJob.scala:56)
at org.apache.spark.streamdm.streamDMJob.main(streamDMJob.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:879)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:197)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:227)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:136)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Infrastructure details

**Java Version:8
**Scala Version: 2.13.0-M1
**Spark version:2.3
**OS version:centOS 7
**Cluster mode or local mode? local

Hi @saraAlizadeh
Have you run sbt package to build the jar file?
You need to change to the directory where you cloned the project and execute it to create the jar file.
Another thing you should check after that is the existence of file covtypeNorm.arff in the same directory for which you are executing script (i.e. spark.sh). Let me know if this works, or the error message if it did not work.
Best Regards,
Heitor

Hi @saraAlizadeh
I believe the issue is that you are using Spark 2.3 and StreamDM support up to Spark 2.2.
You can try downloading Spark 2.2 and updating the script spark.sh to use it instead of SPARK_HOME in case you want to keep SPARK_HOME pointing to Spark 2.3, otherwise you can just update SPARK_HOME.
Best Regards,
Heitor

hi @hmgomes
I appreciate your answer, I checked spark 2.2 and 2.1, too.
both times this error came up:
ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0) java.lang.ArrayIndexOutOfBoundsException: 4 	at org.apache.spark.streamdm.core.DenseInstance.add(DenseInstance.scala:84) 	at org.apache.spark.streamdm.core.DenseInstance.add(DenseInstance.scala:26) 	at org.apache.spark.streamdm.classifiers.SGDLearner$$anonfun$train$1$$anonfun$3.apply(SGDLearner.scala:91)
do you think I need to check other versions of Spark? or is there some other issue?

Hi @saraAlizadeh
I see, but this is a different error than the first one, right? Please provide me the command line for this last error so I can investigate further.
Best Regards,
Heitor

I just wanted to run spark, using
./spark.sh
In scripts directory
On Tue, May 1, 2018, 12:56 PM Heitor Murilo Gomes<EMAIL_ADDRESS>wrote:

Hi @saraAlizadeh https://github.com/saraAlizadeh
I see, but this is a different error than the first one, right? �Please
provide me the command line for this last error so I can investigate
further.
Best Regards,
Heitor
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huawei-noah/streamDM/issues/93#issuecomment-385624212,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APxKp9K8zRu20NbgfZUC5jHXxNdw9-oLks5tuBxTgaJpZM4Tft2N
.

Hi @saraAlizadeh ,
Thanks, so it is the default configuration while executing spark.sh without any parameters.
Best Regards,
Heitor


[FLOC-2746] Add network logging to release processes.

This PR enables the requests library logging to display the URLs and status of HTTP connections.  This makes it easier to see which URLs have failed if an error occurs.
This is particularly useful now, as we start running dev releases with the PEP440 changes.
To test, run a command like:
./admin/publish-artifacts --target=clusterhq-archive-testing --flocker-version=0.9.0pre1

In other branches, the only information is a stack trace and:
flocker.provision._effect.SequenceFailed: <SequenceFailed(results=[], exc_info=(<class 'requests.exceptions.HTTPError'>, HTTPError('404 Client Error: Not Found',), <traceback object at 0x3a65488>))>

With this branch, before the stack trace, we also see:
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): build.clusterhq.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /results/omnibus/0.9.0pre1/centos-7/clusterhq-python-flocker-0.9.0-0.rc.1.x86_64.rpm HTTP/1.1" 404 145

which makes it quicker to see where an expected file is missing.

I will rely on your testing. Looks good.


*Refactor menu to better conform to bootstrap markup

There appears to be a few CSS classes missing that causes the menu to be a list, rather than a menu. It also isnt using a navmenu-header or brand class/div.
This fixes all issues in the menu.
It also should be considered to use container-fluid over container

Please see #1427.


percentage not working

I tried adding a block into the mine like I used to and it said to type the number in the chat and it never accepted it, it said to give a percentage from 0 to 1 for some reason and when I tried to cancel it, nothing happened.
This was on a paper 1.20.1 server.

Hi there. Can you provide additional logs and steps to reproduce the problem?

No further logs provided, closing issue.


Bracket highlighting incorrect

When you have more than one level, it matches the close bracket with the incorrect open bracket.
Applies to parentheses, curly braces, square brackets.

Also reported on developer community at https://developercommunity.visualstudio.com/content/problem/235221/python括号匹对不正确.html

Guessing this is an off-by-one error with how we use GetTokensForwardsFromPoint vs. GetTokensInReverseFromPosition (probably one includes the start point and the other doesn't)

Any chance to get it fixed? 15.9 is out, but no fix for this one.

@seva0stapenko, this has been fixed and should be updated in 16.2


feat(subscriptions): add unbind-from-token message for WebSocket subscriptions

Depends on changes in #4180
Fixes #4133

Non-blocking, idle thoughts... Would we have any way to track how many open connections there are? Just trying to think through the dev ops scenario, and how we could get observability here. Might already be possible via otel?

We should definitely add an issue, I think reporting via otel should be relatively simple and would definitely be a win for observability


Image uploader not working in safari browser

Image uploader div not show on safari browser

The image-uploader plugin uses the DataTransfer Api (as it is referred in readme) which is not supported by safari. Check browser compatibillity here : https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/DataTransfer

The image-uploader plugin uses the DataTransfer Api (as it is referred in readme) which is not supported by safari. Check browser compatibillity here : https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/DataTransfer

Thank You :+1:


[Feature Request] Onboarding Flow

Overview
Have a onboarding page/window for new users in order to welcome to Nebula
User should have a simple, quick welcome to website.
Proposal

First time users see: "Welcome, Student" and tutorial to inform them of how the website works (+ have "skip tutorial" button).
Direct to Profile page in order to ask for "Email" (required to create profile). "Major, Minor, Honors, etc." are skippable for now.

Email is used for profile log-in + if need to inform of session/date/time change for projected schedule.

Supplementary Information
See Cornell's for inspiration (simple, linear, marketable).

Good work! We already have an onboarding flow which can be found here. However, it can definitely be improved upon. I really like the idea of adding a tutorial.

Steps to Implement
Product

Create a user flow for onboarding flow
Write out what the tutorial should look like (i.e. what screens should it show, what features should it highlight, what should the user see)
Write out what the user flow should look like. Try to make this as detailed as possible for design & engineering team.

Design

Meet w/ product to understand new onboarding flow
Create mockups
Get feedback from product & project lead
Attach mockups to onboarding flow issue

Engineering

Meet w/ product to understand feature
Implement feature
Open PR & get feedback from product & design team
Get feedback from project lead
Merge PR

Hey, can I be assigned to this.


blacklist doesn't work

I used the following code to exclude those actions. The strange thing is: TAB_CHANGE, SEGMENT_CHANGE don't trigger SAVE action, but DOWNLOAD_UPDATE action still triggers SAVE action. The difference between them is: DOWNLOAD_UPDATE action is very frequent.
const middleware = storage.createMiddleware(engine, [
  actionTypes.TAB_CHANGE,
  actionTypes.DOWNLOAD_UPDATE,
  actionTypes.SEGMENT_CHANGE])

I add several console.log to debug this issue.
                var isOnBlacklist = blacklistedActions.indexOf(action.type) !== -1;
                var isOnWhitelist = actionWhitelist.length === 0 ? true // Don't filter if the whitelist is empty
                : actionWhitelist.indexOf(action.type) !== -1;

                console.log(blacklistedActions)
                console.log(action.type)
                console.log(isOnBlacklist)

The following is my observation:

Then I output that extra action:

The workround is check if the action type is undefined:
                var result = next(action);

                if (! action.type)
                    return result

Thank you for reporting this!
With 4a12182 redux-storage will now a) ignore invalid structured action objects and b) warn about them if NODE_ENV != 'production'.


Delegate quoteIdentifier operation to quoteIdentifierChain

Clean up identifier quoting.  quoteIdentifierChain was doing the same thing quoteIdentifier was doing but without safety of using predefined escape tokens. In turn, quoteIdentifier was producing same result as quoteIdentifierChain by adding quotes around the token, which can be simplified by immediately converting identifier to array, pass it to identiferChain, and achieve same result.  Overriding is now necessary only if there are really different rules by the engine. Eg. DB2 seems to be doing something very different.
This will help a lot with consistency in DB engines that have multiple identifiers in the path of a database objects. Eg. PostgreSQL always has trouble between choosing identifier vs chain. This can potentially solve a good portion of bad syntax generation for them.
No unit tests added because this is well covered by existing cases; nothing new or different is generated.

@alextech

No unit tests added because this is well covered by existing cases; nothing new or different is generated.

Thanks for the hint!

How does that one small sprintf() change lowers unit test coverage across all files?

@alextech you mentioned that this PR fixes some potential issue in SQL syntax generation. Can we found and example? We need to prove with a unit test that this PR fixes something. Now, we have the same unit test of before and this PR seems not necessary.

@ezimuel pretty much every quoteIdentifier call across the codebase when using PostgreSQL or SQL Server including userland usage in other libraries and application code
https://github.com/zendframework/zend-db/pull/247/files/bfb73c8bf4be5d98207a9911eca14aabdadd79c8#diff-0113773e7838ad267d6360c243edc298R235
Or https://github.com/zendframework/zend-db/issues/161 (Ignore the sequence part)
Or related random example from other library https://github.com/zendframework/zend-log/issues/63,
some of my DDL PRs...
The reoccurring theme is the need to check database type and if an object path was given for every attempt to quote an identifier to decide if quoteIdentifier or quoteIdentifierChain should be used, both within zend db codebase, and in application code using zend db.  Any place where this is forgotten, such as pull request I linked, results in crashes that @xorock brought up in several places. As I was investigating why that is, I noticed how both functions essentially do the same thing with minor difference so I consolidated the usage. The lack of unit tests in itself proves that the PR does not break any existing usage; the whole point is to fix this inconsistency that makes all existing code work as it did before, while not needing to check database type.
For explanation of what I mean by "object path", look last comment in #206 and a typical usage example in the issue description. ( I cannot remember if this PR can fix that issue directly, but its a step towards it, as with it, identifiers can be expressed as an array or if string given, explode on object path delimiter to create needed array, and be able to quote it without having to worry about it being chain or what)

This repository has been moved to laminas/laminas-db. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:

Squash all commits in your branch (git rebase -i origin/{branch})
Make a note of all changed files (`git diff --name-only origin/{branch}...HEAD
Run the laminas/laminas-migration tool on the code.
Clone laminas/laminas-db to another directory.
Copy the files from the second bullet point to the clone of laminas/laminas-db.
In your clone of laminas/laminas-db, commit the files, push to your fork, and open the new PR.
We will be providing tooling via laminas/laminas-migration soon to help  automate the process.


Unintended behavior on objection toggle

Closing because this is no longer relevant with change in direction to objections  / claims as a whole


Is there a way to control iOS volume that is usable on the app store?

Would like to be able to do this through Cordova plugin control.
Volume is not loud enough in our app, and we need to be able to set it for the user in an emergency, rather than waiting for them to set it themselves.
Especially for speakerphone.
I realize that normally Apple doesn't want developers changing device volume.
Thanks

I've got the same issue, any thoughts?

got the same issue :(

Ditto, just seen it's rejected because of these API calls.  getActiveCategoryMuted, setActiveCategoryVolumeTo, sharedAVSystemController, toggleActiveCategoryMuted


RDBES: New code BioStructAgeNotRead for codetype BiologicalMeasurementType

The RCGs would need to record biological structures collected for age data but not read in the RDBES, typically otoliths.
The Core Group agreed that the best solution would be to add a new code to the codetype BiologicalMeasurementType:
Code     	                     Description
BioStructAgeNotRead   Biological structures collected for age data but not read
It is hope that this request could be discussed at your meeting Tuesday 16 January and hopefully
with an approval. Because it would be best to have an approval before the RCG and ICES data call is send next week.

AgeOtolithNotRead and AgeScaleNotRead are to be created instead of the generic code suggested.

On today's RDBES core group meeting, it was discussed to change this requested code to two codes, one for otoliths and one for scales:
OtolithCollected
Description: Indication on otolith collected and potentially archived. To be used for all collected otoliths including when an age is provided.
ScaleCollected
Description: Indication on scale collected and potentially archived. To be used for all collected scales including when an age is provided.
The rationale behind this, is that biological structures are usually collected but not read, and in some cases archived. There is another field to indicate whether the otoliths were unreadable, so this code should only provide the information that the otolith has been collected.
The word 'indication' on the description seems vague, but it was agreed upon, since in some cases there might be reasons such as accidents, where the otolith was removed but could not be saved, and the group decided that a mere indication of collected otoliths is enough.

@MariaMakri Core group request seems quite in line with what RMG reccomended.
@cekv @Osanna123 @pcrjoana @neil-ices-dk please react to this, as these codes are needed for upcoming data call. Thanks!

@MariaMakri I also think this is in line with what we discussed

The two codes have been added in RECO.


[#127806845]SupplierFramework: add migration adding agreed_variations json field

For story https://www.pivotaltracker.com/story/show/127806845
Code following in separate PR

The migration code looks good, I've run it up and down and it works.
But it would be nice to have a commit message that explains what this is for, and also that explains why we are going with a new column rather than putting variation details into the existing agreement_details JSON (I know there was an argument for it, but for the life of me I can't remember now what it was).

Will do

OK let's do it :+1;


[Enhancement] Navigation Bar Hover Effect Not Aligning with Website Aesthetics

Issue Description:

I noticed that the navigation bar's hover effect on the website doesn't match the aesthetics of the rest of the webpage. While this might appear to be a small change at first glance, it can impact users who pay close attention to details.
Hover and focus effects change the background color to a yellow which is not same as the vibrant one being used on rest of the website.

Proposed Changes:

Use the same color on hover which has been used for the 'See Projects' button.

On hover and focus the text color should turn to white instead of remaining greyish.
Suggested button colors on hover/focus:

Add a better and smoother hover effect.

Use a subtle animation effect to make the hover transition more engaging.

I'm interested in addressing this issue. If it aligns with the project's goals, I'd appreciate being assigned to work on this task and contribute to the improvement of the navigation bar's aesthetics.

can you assign me this issue?

is this issue resolved ? if not can you assign me this issue ?

This issue does not exist anymore as we have removed light theme from the project.


Text widget has some visual glitches after changing its content dynamically

Steps to Reproduce

Create a new app on master channel (tested also on dev 0.5.6)
replace the build function with this:

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: new Text(widget.title),
      ),
      body: new Center(
        child: new Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            new Text(
              'You have pushed the button this many times:',
            ),
            new Text(
              '1', // play with this text
              style: new TextStyle(
                fontFamily: 'Helvetica',
                fontSize: 180.0,
                color: Colors.black,
                fontWeight: FontWeight.w700,
                fontStyle: FontStyle.normal,
                decoration: TextDecoration.none,
              ),
            ),
          ],
        ),
      ),
    );
  }

start the app on a real ios device (I've used an iPhone 7 with iOS 11.1)
change the string on the line with "play with this text" comment to '3'
press hot reload
change the same string to '2'
notice a visual glitch below the number (see screenshot)

WITH GLITCH

WITHOUT GLITCH

The same glitch occurs when a Text widget is used in a dynamic way (e.g. to display a 3..2..1 countdown). It is barely noticeable with some setups, but it's very clear under other (e.g. using Nunito font). I didn't find a reliable way to work around this issue.
NUNITO GLITCH:

Doctor
[✓] Flutter (Channel master, v0.5.8-pre.110, on Mac OS X 10.13.4 17E199, locale it-IT)
    • Flutter version 0.5.8-pre.110 at /Users/sroddy_bs/flutter/flutter
    • Framework revision a7b59b51b8 (24 minutes ago), 2018-07-23 08:38:20 -0700
    • Engine revision 96f5f5b96c
    • Dart version 2.0.0-dev.69.0.flutter-937ee2e8ca

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/sroddy_bs/Library/Android/sdk
    • Android NDK at /Users/sroddy_bs/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.2

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 19.1
    • Dart plugin version 171.4424
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2018.1.6)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 26.0.2
    • Dart plugin version 181.4892.1

[✓] Connected devices (1 available)
    • Sroddy's iPhone • 4e1661d146c6e07b5835b1e5c3713ff67010a1e1 • ios • iOS 11.1

@GaryQian were you able to reproduce it?

Yes, I have reproduced it. (specifically, on an iphone 6s, ios 11.4.1)

This may have to do with Skia font rendering. @chinmaygarde  suggested looking at SDF font rendering at large font sizes. I'll see what Skia says.

@liyuqian @GaryQian I'm not 100% sure that this is related but now that we are (indirectly) relying much more on paths and shapes due to the fact that we have transitioned to use SVGs with flutter_svg we see a lot of random glitches inside our app, mostly in the form of a single horizontal line near the bottom edge of the shape.
I have some suspects these two things are somewhat related because:

They are both happening ONLY on real iOS devices.
2)They are both appearing with the same frequency (almost randomly on a fraction of the total draw events)
The visual artifacts are very similar (a single horizontal line near the bottom edge of the shape) with the color of the last drawn path.

@csmartdalton86 @bsalomon : do you know if there's any iOS GPU bug that can cause this?
Note that:

This only happens on real iOS devices. Not on iOS simulators (which uses software backend), or Android simulators / devices (which uses GPU backend).
This only happens on subsequent frames (you have to first render a '3' and then a '2'). According to my knowledge, Flutter always clears the whole canvas in the beginning of each frame.

Also, the horizontal glitch line is tied to the character. For example, change it from "2" -> "3" -> "2" -> ".2" and the horizontal line will follow the 2 around even with the extra "."

If I had to guess, this looks to me like junk from a different mask in the atlas. Can we try a couple things?

contextOptions.fDisableCoverageCountingPaths = true;  // Does this make it go away?

contextOptions.fAllowPathMaskCaching = false;  // What about this?

We suspect that a recent Skia roll has fixed this render bug.
We are no longer able to reproduce it using the latest framework and engine (https://github.com/flutter/flutter/commit/bdc3dda5f298f50b432faaffe71730c4fe26afda)
Can anyone confirm this is fixed?
cc @liyuqian

I can no longer reproduce the bug either. @sroddy @deckerst : can you please try the Tip-of-Tree flutter to see if those issues are also fixed on your devices?

Sure! I’ll try that tomorrow as first thing and let you know!

The glitches disappeared, thank you!

It seems that this issue has been resolved. I will close this for now. If you are still experiencing this bug, please feel free to re-open this issue.


Ansible-pull role repository cache

Currenlty, when executing ansible-pull-script.sh this fetches the whole repository of roles with "git clone". This has drawback of being slow, flooding github (especially if there is no cache). Can this behaviour be replaces. E.g. generate the latest repository as tar.gz or provide some cached location for entire FGCI consortium.

Maybe something like https://github.com/beefsack/git-mirror could be used to:

mirror all the required roles / repos to httpd on install node
somehow grab all the roles from the install node instead of via the requirements.yml

Why not, can be tested. If it works then why not.

If we would use git mirrors then in the requirements.yml files we can change the URL to http://{{ install_node }}/gitmirror/account/ansible-role-nhc or some such

Started work on this at https://github.com/jabl/ansible-role-gitmirror (just the bare skeleton yet).

Well, https://github.com/jabl/ansible-role-gitmirror should now work based on some limited testing. It downloads the git-mirror release tarball, unpacks it and copies the binary to a suitable location, creates a systemd unit file, creates a user&group for running the daemon, a git-mirror config file containing repos to mirror and then finally starts the whole shebang.
The remaining issue is how to do the deployment/bootstrapping in a sensible way. Initially, we need the current requirements.yml in order to pull in the required repos (including andible-role-gitmirror!). But then after the install node is installed, we want to switch to using the mirror (assuming we want to run the mirror on the install node). So maybe we need to create some requirements_mirror.yml or something like that? In the worst case we'd have to keep the repos we use up to date in 3 places, requirements.yml, requirements_mirror.yml, and in the group_vars for ansible-role-gitmirror to use when generating the git-mirror config file. Ideally we should somehow keep the list of repos we want in a single location, but how to do that in a good way? Any suggestions?

One solution would be to just keep the repos in a single location for
compute nodes. That is group_vars.

ansible-playbook install.yml could get the repos from here and setup
mirror on install based on this information
ansible-playbook install.yml could also write
/var/www/html/requirements.yml (to be used with ansible pull) based on the
repos in group_vars
finally ansible-pull-scrips.sh could be modified to use the
requirements.yml on install node.

The other nodes (admin and install) will need a separete file to bootstrap
all.

Mikko

2016-02-27 22:40 GMT+02:00 Janne Blomqvist<EMAIL_ADDRESS>
Well, https://github.com/jabl/ansible-role-gitmirror should now work
based on some limited testing. It downloads the git-mirror release tarball,
unpacks it and copies the binary to a suitable location, creates a systemd
unit file, creates a user&group for running the daemon, a git-mirror config
file containing repos to mirror and then finally starts the whole shebang.
The remaining issue is how to do the deployment/bootstrapping in a
sensible way. Initially, we need the current requirements.yml in order to
pull in the required repos (including andible-role-gitmirror!). But then
after the install node is installed, we want to switch to using the mirror
(assuming we want to run the mirror on the install node). So maybe we need
to create some requirements_mirror.yml or something like that? In the worst
case we'd have to keep the repos we use up to date in 3 places,
requirements.yml, requirements_mirror.yml, and in the group_vars for
ansible-role-gitmirror to use when generating the git-mirror config file.
Ideally we should somehow keep the list of repos we want in a single
location, but how to do that in a good way? Any suggestions?
—
Reply to this email directly or view it on GitHub
https://github.com/CSC-IT-Center-for-Science/fgci-ansible/issues/73#issuecomment-189720316
.

--
Mikko Hakala
<EMAIL_ADDRESS>045 - 678 9757

Sounds good. I was toying with the idea of creating the vars for the mirroring by parsing the requirements.yml but it seems difficult.
So two lists: requirements.yml and group_vars?
Is it possible to set version(tag/commit) on each repo?

Pushed a suggestion to a branch in the fgci-install role: https://github.com/CSC-IT-Center-for-Science/ansible-role-fgci-install/commit/e263f9c3826872852139588fd5fc7c2b6a287f27
Thoughts?
It copies requirements.yml to the install node and then replaces all instances of https://github.com with http://pull_install_ip. Top of the requirements.yml looks like below. I guess we could change defaults so that they look in http://<IP_ADDRESS>/gitmirror/ ?
Now to make the mirrors, it would be really nice one could modify requirements.yml into a gitmirror config file. Any ideas for how to do that?
---
- src: http://<IP_ADDRESS>/resmo/ansible-role-ntp
  path: roles
  version: 0.4.0

- src: http://<IP_ADDRESS>/CSC-IT-Center-for-Science/ansible-role-fgci-install
  path: roles

# called -2 because it replaces another role called ansible-role-yum-cron
- src: http://<IP_ADDRESS>/jeffwidman/ansible-yum-cron
  path: roles
  name: ansible-role-yum-cron-2
  version: 9d587da913eaa82349e86b4fb9d691818538963b

Yeah, git-mirror runs its own web server (on port 8080 by default). Another thing with the urls is that it encodes the hostname in the path. So e.g. http://github.com/foo/bar.git becomes http://{{ install_ip }}:8080/github.com/foo/bar.git, although this can be changed in the config file (see the "name" directive)

Roles in the same playbook can use eachother's default variables.

Ok, these 2 pulls should do it:
https://github.com/CSC-IT-Center-for-Science/ansible-role-fgci-install/pull/5
https://github.com/CSC-IT-Center-for-Science/fgci-ansible/pull/101
Everything is sort of tested individually, but not together so there might be some more-or-less trivial bugs left.

Things are merged. Is the ansible pull traffic now only internal?

After this change it looks like ansible-pull script is calling <IP_ADDRESS> and grabbing roles from there so that looks good. I had to run "ansible-playbook install.yml -t gitmirror,fgci-install" to get all the updates applied and after an ansible-pull run or two things looks quite nice.
Big thanks to everybody involved!

All the git cloning/pulling etc., yes. Though there is still some connecting to the external world, check e.g. with
strace -econnect -f /usr/local/bin/ansible-pull-script.sh 2>&1 |grep connect|grep -v AF_LOCAL|grep -v <IP_ADDRESS>

(replace <IP_ADDRESS> with your pull_install_ip)


ESIM320

It would be nice to add support for ESIM320. With this I would be able to open the gate automatically 😀

Eldes ESIM320 is a gate controller not an a alarm controller. It uses different API endpoints and will not be supported right now.
Somebody with enough knowledge could easily create an integration for it, as it probably would be very similar to this integration.


Working on drawing lines across boundaries

Not ready to merge yet.
As an example:
import pylab as plt
import cartosky.core
import cartosky.survey

smap = cartosky.survey.SurveyMcBryde(lon_0 = 120)
mw = smap.draw_milky_way(width=0)

plt.ion()

Filed sciTools/cartopy#1572 about drawing lines on small Globes. Increased Globe size as a workaround.


metadata.resourceVersion: Invalid value

Describe the bug
I was upgrading to the Istio 1.1.1 using the official guide and when I applied the helm chart I get this error:
The Service "istio-ingressgateway" is invalid: metadata.resourceVersion: Invalid value: "": must be specified for an update

Note: I am using this in istio-values.yaml

gateways:
  istio-ingressgateway:
    autoscaleMin: 3
    serviceAnnotations:
      service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
    externalTrafficPolicy: Local

Expected behavior
No error.
Steps to reproduce the bug
Have Istio 1.0.6 installed and try to upgrade to 1.1.1.
Version
Istio: 1.1.1
k8s: 1.11.7
Installation
I used helm chart (no Tiller). Relevant gateway is noted above.
Environment
AWS

The problem is with the annotation so remove it using:
kubectl -n istio-system annotate svc istio-ingressgateway kubectl.kubernetes.io/last-applied-configuration-

Credit: https://www.timcosta.io/kubernetes-service-invalid-clusterip-or-resourceversion/

Did you see anything similar for VirtualService types? Running into the exact same problem now.

No, but it should be the same thing.

it is okay to remove the annotation if u are deploying using kubectl.
But how to solve this with continuous delivery?


Release notes for 0.16.9

Summary
Update the release notes for documentation for every fix and new implementation.
Branch or installer

Installer: OSX
Branch: 0.16.x

Related: #426

Hi @mrpau-eduard @mrpau-richard is this one something we should close?

Yeah, It should be clossing it now.


Fabo/1363 fix delegates test

Closes #1363
Description:
Refactoring of the delegates module tests
Props to @NodeGuy for creating a nice design on how to test the modules.

❤ Thank you!

A follow up issue for renaming delegates to validators already exists: https://github.com/cosmos/voyager/issues/1381


Add some unittests for name2unicode based on the examples in the Adobe Glyph List Specification

I want to merge to dev, but I've branched of from master and now this PR has some extra commits by @0xabu. I am closing this and trying again.


Is there a better approach to Sub with Parameters?

Hi,
Could you please suggest a better approach without so much curly braces to Sub with Parameter than provided below?
param_a = troposphere.Parameter("ParamA", Type='String')
s = 'foo ${{{0}}} ${{{1}}}'.format("AWS::Region", param_a.title)
print(troposphere.Sub(s).to_dict())

This is what I do, given, say, a Bash script like this that's in my user_data variable:
export AWS_DEFAULT_REGION=${AWS::Region}
export COOKBOOK=${COOKBOOK}
export PROJECT=${PROJECT}

Then in the troposphere Python script:
troposphere.Sub(user_data, COOKBOOK=cookbook, PROJECT=name)

When referring to a variable in the Bash script, I remove the curly braces, since that's what CloudFormation attempts to replace, e.g.:
tar -C cookbooks -xf $COOKBOOK.tar.gz

You could use awacs (PyPI, GitHub).  Here are examples:
from awacs.codepipeline import ARN
from troposphere import Sub

Sub(
    ARN(
        resource=pipeline_name,
        region="${AWS::Region}",
        account="${AWS::AccountId}",
    )
)

from awacs.cloudformation import ARN
from troposphere import Sub

Sub(
    ARN(
        resource="transform/Serverless-2016-10-31",
        region="${AWS::Region}",
        account="aws",
    )
)

from awacs.s3 import ARN
from troposphere import ImportValue, Sub

bucket = "foo"
Sub(ARN(resource="${BucketName}"), {"BucketName": ImportValue(bucket)})


changes for monks-scene-navigation

Had someone create a ticket for Monks Scene Navigation, but I think this is better handled within Minimal UI.
These changes should help integrate the two.

Such awesomeness @ironmonk88 . Sorry for my silly question, can you guide me into with which combination of modules should I try this? I hear you have various ones.

I do have a lot.  Just Monk's Scene Navigation for now.
Monk's Token Bar is the other one that might need work, but it's pretty specialized.
Just FYI there's also a handful of other modules that add their own control buttons, Like Enhanced Terrain Layer.  And those aren't getting the styling because they're outside #controls.

Oh but support for monks scene navigation sounds nice (see #6 ). Pretty much the only thing that stops me frum using Minimal UI in all my worlds. I do like Token presets better but I can live with monks scene navigation.

Sounds good, will give it a test and make a release soon with these fixes! Thanks a lot!
For modules that place content outside #controls please do share some examples. I try to do everything following Foundry's standards. But yeah it is tricky when exceptions appear.


Atom makes all other processes unresponsive, performance issues

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Atom will completely bog down my machine, and when doing anything "intensive", will seemingly interrupt and freeze any other processes, sometimes for several minutes, until it finishes doing whatever it is it's doing. I understand it's not supposed to be vim, and I don't expect it to be blazingly fast, but I at least expect it to not interfere with my other processes.
What I mean by freeze/interrupt other windows, Atom itself becomes unresponsive, and so do most other windows. Chrome, as an example still "works" in that I can view a current page, but if I click a link or enter a new page, it will just load a blank page, until Atom finishes its interruption.
Steps to Reproduce

Run atom (in or out of safe mode) in a NodeJS project, with large node_modules folder in the root.
Make a change to one of the files, save the change
ctrl+shift+9 to open git panel, and stage the change/s or unstage
During either of these, even with a small file change, it'll bog down my OS for several seconds to minutes.

Expected behavior: To work and not bog down every other process, even if Atom takes 10 minutes.
Actual behavior: Atom takes several minutes goes unresponsive and does the same to every other process
Reproduces how often: 100%
Versions
atom
Atom    : 1.26.1
Electron: 1.7.11
Chrome  : 58.0.3029.110
Node    : 7.9.0

apm
apm  1.19.0
npm  3.10.10
node 6.9.5 ia32
atom 1.26.1
python
git 2.5.1.windows.1
visual studio 2015

Additional Information
Windows 7 Ultimate x64 Service Pack 1
Intel i7 49xx @ 4ghz
16GB RAM
3 Screenshots, 1 showing performance monitors before hitting unstage, 2 showing during the whole interrupt, where basically everything just freezes. Trying to change pages on chrome during this time yields nothing, the cpu % appears to just go to 0%. 3 once Atom is done loading, all other processes are responsive again, this doesn't happen with any other application, not even benchmarking utilities...
1 -

2 -

3 -

/move to atom/github


Closing airliner / light folder lock display

Remove the folder display handling (or fix it)

Removed with new event system


UserAccelerometerEvent

Do we agree that UserAccelerometerEvent will NOT give me the user current speed if in a car? It gives the speed at which the device travels to if I throw it... Thing I might do soon hahaha
Am I right thinking I need Geolocator instead with position.speed?

@SwiftyFlow Yes, you are 200% right. It will not give speed of vehicle. It's just return the value of mobile's physical acceleration speed.  You can't use this package for finding vehicle or any moving things speed.


[WIP] Add ZeroInflatedBinomial

Checklist

[x] Code style is correct (follows pylint and black guidelines)
[x] Includes new or updated tests to cover the new feature
[x] New features are properly documented (with an example if appropriate)
[x] Includes a sample plot to visually illustrate the changes (only for plot-related functions)

Codecov Report

Merging #220 (1b96f32) into main (5e50b7b) will increase coverage by 0.29%.
The diff coverage is 96.15%.

@@            Coverage Diff             @@
##             main     #220      +/-   ##
==========================================
+ Coverage   84.02%   84.32%   +0.29%
==========================================
  Files          26       26
  Lines        3080     3158      +78
==========================================
+ Hits         2588     2663      +75
- Misses        492      495       +3

Impacted Files
Coverage Δ

preliz/distributions/__init__.py
100.00% <ø> (ø)

preliz/internal/distribution_helper.py
95.65% <ø> (ø)

preliz/tests/test_maxent.py
100.00% <ø> (ø)

preliz/tests/test_mle.py
100.00% <ø> (ø)

preliz/tests/test_quartile.py
100.00% <ø> (ø)

preliz/distributions/discrete.py
94.11% <96.15%> (+0.36%)
:arrow_up:

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


Dr 857 Add dropdown to app

Changes:

Add dropdown angular-ui-select into app.
Fill dropdown.
Add dropdown into view.

WIP:

Real Countries and real Industries.

The code looks fine, could you attach a screenshot or video?

👍


Implement simple sort

Currently works with vectors of scalar type.
I'm still running into a few issues with implementing the sort function with a general typed key function.
We clone the vector before sorting and returning it.
I could use some pointers on how to check for dependencies on vectors so we can optionally generate the code to clone the vector before sorting. This wasn't done in the scala version, and I didn't completely figure out how to do it here.

All right, here's a working sort with the key function.
I've made some comments along the way.
The thing to look at is how we generate the keyfunction code.
Right now, I make an entirely new SirFunction for it and actually pass the SirFunction as a parameter of in the Sort statement.
I tried going down the track of creating a Lambda Statement and appending it to the current function block but the eventual result was a function implemented inside of a function (among other rust typing issues that came up).
The constraints imposed on sort are

The sort return type is the same as its input type which is a vec.
The key function must only return scalars. Also the return type of the key function cannot be a reference to the return value.
(returning stack references which get cleaned up once we return from the function results in nothing when we load from that address).
The parameter type of the keyfunction must be the element type of the vector we are sorting.
The keyfunction lives in its own context (no shared variables with the context that sort was called from).

ok looks good, yeah duplication is not a big issue ... if you could just do a small performance test (maybe just sorting like 100m integers) and report the times in Weld and C, that would be good

All right here are the results of the comparison.
https://docs.google.com/spreadsheets/d/13X1T8vn-eAW-c9dumG3Vtn21Mo6_kl42J0cxgorY8F8/edit#gid=0
This a bit of apples to oranges comparison since I used subtraction for the comparison function in the c code and we generate more complicated llvm code for the comparison involving the equality operator, branch, and less than operator. Using subtraction for i32's and i64's as the result of the comparison operator works for sorting and does result in a slightly faster sort. However, this breaks when we are comparing vectors (the vector comparison test fails).
There is another solution where we get rid of the branch and instead multiply the result by 0 or 1 for integer scalars. It seems to be slightly faster (>%5).


Create a dev branch for pull requests

Hi, I cloned and run the project but faced a lot of issues, especially due to the fact that the remote website is down.
I rerouted the remote requests to localhost, but it wasn't enough. In the end, in order to be able to signup, login, create a character and start a game I :
-Removed '/8100' on resources requests. Without it, they work.
-Fixed the undefined session issues
-Repaired some routes and request which were commented or reading wrong variables
-Added a middleware to mimic the expected session behavior by using cookie-session
Please create a branch so that I can make a pull req. Cheers

wow, ok, didn't expect anyone to do anything with this repo, since it was mostly for learning, but it'd be cool if you did something with it :p.
the /8100 not working for you is because on my server I make the url /8100 become port 8100. (I do this because the port is blocked at my school, but port 80 is obv open)
this repository isn't currently under very active development, the most recent thing I did with this is http://github.com/mfosse/soccerCars2, but I can totally answer any questions and open another branch.


attribute mapping and alignement

This issue to track alignment and ideally consensus across systems on naming, including for tracing too (aka Open Tracing and other domain standards)  [extracted from email thread]
As we won't have a single standard across everything it's safe to say we will need to map from one set of attributes to others and build that component and configuration

This issue hasn't seen real activity in ~11 months. Can we close it? cc @geeknoid @douglas-reid

Yeah, we'll open specific issues as they come up.

I don't think this has been addressed, that there is no recorded activity doesn't mean something isn't an issue. But I will let the responsible party handle it the way they desire.


Don't pollute host stdout/stderr

Problem
In cloak (0.3) the Dagger engine is embedded in a host program (script or tool), which instruments it to run pipelines.
Currently the dagger engine prints all its output to the standard output of the engine, which is inherited from the host program. The result is that dagger "takes over" the standard output of its host, which is not desirable.
Solution
When a program is run that embeds the dagger engine, the output of the dagger engine should not pollute the host program's standard output and error streams. Instead, all useful outputs from running a pipeline should be available to the host program by making API calls.

Perhaps we could make this a configurable part of the client? So engine.Start would let you print all of the logs or suppress them or have your own callback for them?

related #3403


Need to remove Guide articles for two set Challenges which no longer exist

A while back, PR freeCodeCamp/freeCodeCamp#34717 was merged which combined 3 challenges into a single challenge, but the corresponding Guide articles were never removed.
I am only talking about the English versions, because at this point, the other languages for the 2 challenges are still present in the repo.
@raisedadead I can easily remove the English Guide articles for the two challenges which no longer exist.  The question is, should I create 5 other separate PRs to do the following to each non-English version:

Delete the other two challenges and re-translate the Create a Set Class challenge
Delete the two Guide articles for the challenge
Re-translate the corresponding Guide article for the Create a Set Class challenge

I ask this question, because I am not sure if the current curriculum is going to even be translated and moved to production since the new curriculum direction has started.  Please advise so I don't waste time making translations.
On a side note, if the non-English versions of the current curriculum will never make it to production, should we just go ahead and do a mass merge of any non-English curriculum and curriculum related Guide articles (without merge conflicts) and close the rest?

I think I would focus on English stuff.

I agree with Tom here.

Actually, this issue has been resolved due to https://github.com/freeCodeCamp/freeCodeCamp/pull/35921 being merged.


Installation instruction is difficult to understand

Describe the bug
I've downloaded and installed this integration from HACS (with no apparent issues)
Then I added the following to my configuration.yaml:
home_connect_alt:
  client_id: MyClientID
  client_secret: MyClientSecret
  name_template: $brand $appliance - $name

Replacing MyClientID and MyClientSecret with actual values.
The name_template line written just as shown.
Then I did the Check Configuration and got Configuation valid! as response, and I restarted HA.
No error in the log during start up.
But what should I expect to find? And where? I can't see anything anywhere indicating that something new has happened.
The original HA HomeConnect integrations runs as before and all entities appear unchanged.  I cant seem to find any trace of home_connect_alt anywhere.
Please advise.
Version of the custom_component
 0.5.5
Configuration

Add your configuration here.

home_connect_alt:
  client_id: MyClientID
  client_secret: MyClientSecret
  name_template: $brand $appliance - $name

## Debug log

<!--
Check the README for instuctions on how to enable debug logging

If the bug results in an exception paste it below, in all other cases please attach the entire log file
-->

```text
Add your logs here (or attach the log file).

HACS installs the integration but did you actually add it to HA?

Good question.
I thought adding the following to my configuration.yaml ;
home_connect_alt:
  client_id: MyClientID
  client_secret: MyClientSecret
  name_template: $brand $appliance - $name

....  was how to add it to HA (?)  Am I wrong?

It wasn't enough for the built-in integration, right? You need to add it like you add any other integration in the HA UI.

Oh well, happens with me all the time 😶
What's obvious to the expert is sometimes a mystery to me.
Many thanks for your replies.
P.S. How about adding also the obvious to the installation guide ?  😊

It works now.
Here's a simple card of the oven controls:

What surprised me however (not in anyway related to this fine integration) is that none of my brand new Siemens appliances reports their power usage! I really need a way to monitor and control power consumption with today's sky high energy prices. It's amazing that this is missing. Is it the HomeControl API itself that doesn't support consumption reporting, or is this just something Siemens forgot to include?

Do I need to un-install the official home connect? or Install that, then install the home connect alt? I have the official version installed, but after configuring my yaml and trying to install this version i get a browser pop-up:
{   "error": "unauthorized_client",   "error_description": "Invalid client id",   "state": " [redacted long string here] " }

I just left the official HomeConnect integration running, and now I have both.
I never got any error message of the kind you mention.

@ekutner - should we uninstall the official Home-Connect Integration after successfully installing this Alt version ?


feat: [Bastion] Go back to turret when timer finishes & Ability 1 is not pressed - [merged]

In GitLab by @ciach795 on Feb 3, 2024, 09:08
Merges bastion/indefinite-turret -> staging
Thanks to Wadetata for this wonderful piece of code that I rewrote to OverPy: https://workshop.codes/AMSG8

added 1 commit
063f40fb - style: new line formatting
Compare with previous version

added 2 commits
ef4d8d6e - 1 commit from branch staging9550d116 - Feat: [Bastion] Go back to turret when timer finishes & Ability 1 is not pressed
Compare with previous version

Tested and appears to work pretty well.
I only request that you explain what the 4.984 means as a comment before I merge this.

changed this line in version 5 of the diff

resolved all threads

added 4 commits
f9628e1c...81fad7b0 - 3 commits from branch staging733e8b13 - Feat: [Bastion] Go back to turret when timer finishes & Ability 1 is not pressed
Compare with previous version

added 1 commit
917fb7db - chore: comment magic number
Compare with previous version

There's a slight edge case when reloading near the end of the animation, but it's fine for now.

Where is this 4.984 from?

mentioned in commit 333f8ba40f107256d8cbe70237bf352d690d7988

In GitLab by @ghost1 on Feb 4, 2024, 22:32
:tada: This MR is included in version 1.16.0 :tada:
The release is available on GitLab release.
Your semantic-release bot :package: :rocket:

approved this merge request


Could existing model deletion be delayed until models are generated successfully?

Looking at the GenerateModels method in ModelsBuilderBackOfficeController, any *.generated.cs files are deleted before an attempt is made to generate models.
If the models generation then subsequently fails, the solution refuses to build as no models exist.
Would it be possible to delay deletion of existing models, until new models have been successfully generated?

This sounds like a reasonable request, although I think it will result in people not realising an error occurred and use the out of date models...
This could be resolved by generating a warning (e.g. add an Obsolete("This generated model is out of date") attribute for every type or a single #warning).


Kotlin Version

Kotlin's implementation of Negentropy.

This PR is now all set and running the tests perfectly.

Thanks for this! I'm OK with merging this as-is, but most of the third-party implementations have so far preferred to keep their code in their own repos, and I will link to it in the Implementations section. It may be more convenient for you since I won't have to approve every future modification you make. Let me know what you'd prefer.

I can do either. Whatever is easy to keep testing all these versions for compliance. I can move it to my own repo and prepare a kotlin lib for others to use or copy this code over there.
We might need to have a little script that downloads all versions and tests them all against each other.

Cool, then let's keep the core Kotlin implementation in your repo to keep it consistent with the other implementations.
Good idea about making a single system for testing all the different implementations. Maybe we can make a parent repo that submodules in all the implementations.

Awesome! I will move this over and change this PR accordingly.


AvaloniaUI use cannot set X-axis foreground

Question: (For some reason, I can't set the X-axis foreground color when using AvaloniaUI, but can I set the Y-axis foreground color with style.AxisColor)
ScottPlot Version: (ScottPlot.Avalonia 5.0.40)
Code Sample: See http://scottplot.net/faq/repro/ for tips about creating reproducible code samples
   style.LegendBackgroundColor = style.FigureBackgroundColor = style.DataBackgroundColor = new ScottPlot.Color($"#FFFFFF");

   style.AxisColor = style.LegendOutlineColor= style.GridMajorLineColor = style.LegendFontColor = new ScottPlot.Color($"#000000");

Hi @MarkManYUN, thanks for reporting this!
I noticed you're several versions behind the current version of ScottPlot. Do you know if this issue remains present in the current version?
Thanks for the feedback!

No worries! I'm on mobile so I'll be brief but I think you may be able to find what you're looking for here
https://scottplot.net/cookbook/5.0/Styling/

Is it different on WPF than on Avalonia,
   var myPlot = plot.Plot;

    // change figure colors
    myPlot.FigureBackground.Color = new ScottPlot.Color("#000000");
    myPlot.DataBackground.Color = new ScottPlot.Color("#1f1f1f");
    // change axis and grid colors
    myPlot.Axes.Color(new ScottPlot.Color("#FF0000"));
    myPlot.Grid.MajorLineColor = new ScottPlot.Color("#404040");

    // change legend colors
    myPlot.Legend.BackgroundColor = new ScottPlot.Color("#404040");
    myPlot.Legend.FontColor = new ScottPlot.Color("#d7d7d7");
    myPlot.Legend.OutlineColor = new ScottPlot.Color("#d7d7d7");

The link you gave is the WPF way, I set the corresponding Axes.Color according to the example given, but unfortunately it is still the same as before,As shown in the figure.

Try to write a Bottom. MajorTickStyle. Color, still unable to change the Horizontal scale of the default black, In addition, before writing 'myplo.axes.Color(new ScottPlot.Color("#000000"))' is only the Vertical ruler effective, and then wrote the following code to try, but still can not see the effect.
''' C#
myPlot.Axes.Bottom.MajorTickStyle.Length = 10;
myPlot.Axes.Bottom.MajorTickStyle.Width = 3;
myPlot.Axes.Bottom.MajorTickStyle.Color = new ScottPlot.Color("#FF0000");
myPlot.Axes.Bottom.MinorTickStyle.Length = 5;
myPlot.Axes.Bottom.MinorTickStyle.Width = 0.5f;
myPlot.Axes.Bottom.MinorTickStyle.Color = new ScottPlot.Color("#FF0000");
myPlot.Axes.Bottom.FrameLineStyle.Color = new ScottPlot.Color("#FF0000");
myPlot.Axes.Bottom.FrameLineStyle.Width = 3;
'''

God, it's amazing, I can change the place, maybe this code has written the Settings at the back, so the previous Settings are invalid


ARROW-10491: [FlightRPC][Java] Fix NPE when using makeContext

Fix NPE trying to access the peer identity from RequestContext when using
FlightService directly without FlightServer.
This issue happens because the server middleware interceptors may not have
been configured to run and inject the context.

Changes look good, is it possible to add tests for this change?

Test added.

FYI @lidavidm , this got introduced during the auth 2 redesign.

LGTM, just one minor thing - can we link to the JIRA in the test and/or explain that the test was added to check for NPEs due to gRPC context keys having default values?

Sure, I added some comments about what bug the test is testing specifically and how it can be encountered.

Thanks, will merge on green (ignoring the JNI test failure)