Same thing, only as a simple bash scriipt

Hi,
I'm banned from /r/PHP because they don't like me helping others with my own code snippets, but...
I made this same thing months ago in pure Bash. Works with any language, even if PHP isn't available.
https://github.com/hopeseekr/BashScripts/blob/trunk/changelog-maker-lite
Cheers!

Hey @hopeseekr
My goal was to make it possible to generate output in https://keepachangelog.com/en/1.0.0/ format which seems to be out of the scope of your script. Your version is definitely lighter and faster, but it looks that simplicity comes with a natural cost of limited possibilities and flexibility, but that's fine. In most cases, easier is better, at least at the beginning.
I truly admire simplicity and purity and if my use case would not be a bit over possibilities of your solution, I would happily drop what I have built here!
I'm now going to close this is issue if you don't mind. Good luck with your projects!
Either way, thanks for sharing! 🙌

Hey @hopeseekr
My goal was to make it possible to generate output in https://keepachangelog.com/en/1.0.0/ format which seems to be out of the scope of your script. Your version is definitely lighter and faster, but it looks that simplicity comes with a natural cost of limited possibilities and flexibility, but that's fine. In most cases, easier is better, at least at the beginning.
I truly admire simplicity and purity and if my use case would not be a bit over possibilities of your solution, I would happily drop what I have built here!
I'm now going to close this is issue if you don't mind. Good luck with your projects!
Either way, thanks for sharing! 🙌


misdetection because of break at CONV_THRESHOLD

#40 introduced this line in detectBlockShortText:
if (Util.normalizeProb(prob) > CONV_THRESHOLD) break;
However, I found a case in which a text with 100 characters that's clearly German is identified as Dutch. This does not happen when I comment out the break (but don't comment out the Util.normalizeProb(prob)).
Code to reproduce:
https://gist.github.com/danielnaber/6f738fca065e87a5d067710aabaa1883

Just for history, in my project JUnit tests was fail because of zero probability(version 0.5).

This behaviour happens only under windows(In my case win 10 x64, oracle java 8).
Under linux(orcale java 8) - it's good in both cases(regular and JUnit).
Problem solved by upgrading to the version 0.6 and it seems it related to this break.


Issue for supporting Google Colab Jupyter Notebook under plot.show() function

plot.show() function doesn't  have support for Google Colab Jupyter Notebook .

Is this the same root issue as #1269? Does the workaround mentioned there also work here?

@TobyRoseman   Please assign this ticket to me as I would like to try fixing it and contribute .Thanks in advance!


安装了该脚本，NAI界面也出现了相应的按钮，但是无法实现脚本连续生图的功能

如题

Removing auto save resolve this issue. (I never encountered this problem since I always disable this toggle)
If you really needs auto save, NovelAI has already provide it.


404 mozilla blog URLs on pork wiki

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

URL https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Pork
404 mozilla blog URLs

Taras Glek
David Mandelin

This is really outdated stuff anyway, but yeah, I've deleted the 404s


server: Fix resource count of primary storage/volume because of Expunged volumes

Description
If the volume of a VM is in "Expunged" state then it should not be
considered towards total resource count of "primarystoragetotal"
field of a domain.
Currently, CloudStack takes into resource calculation even if the
volume is expunged. The volume itself doesn't exist in primary
storage and hence it should not be considered towards resource
calculation.

Steps to reproduce the issue:
1 . Get the resource count of "primarystoragetotal" of a particular domain.
2 . Create a VM with 5GB root disk size and stop it.
3 . Now the value of "primarystoragetotal" should be intitial value plus 5.
4 . Navigate to "volumes" of the VM and select "Download Volume" option.
5 . Once the volume is downloaded, expunge the VM.
6 . Get the resource count of "primarystoragetotal". it will be same value as in step 3
But it should be same as initial value obtained in step 1.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?
This has been tested using the cloudmonkey api commands.
list domains id=<ID> filter=primarystorageavailable,primarystoragelimit,primarystoragetotal

We can also run update resourcecount domainid=<ID> to update the resource before running the above command.

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan help

@weizhouapache I understand these words: "help", "hello", "thanks", "package", "test"
Test command usage: test [mgmt os] [hypervisor] [additional tests]
Mgmt OS options: ['centos6', 'centos7', 'ubuntu']
Hypervisor options: ['kvm-centos6', 'kvm-centos7', 'kvm-ubuntu', 'xenserver-71', 'xenserver-65sp1', 'xenserver-62sp1', 'vmware-65u2', 'vmware-60u2', 'vmware-55u3', 'vmware-51u1', 'vmware-50u1']
Additional tests: list of space separated tests with paths relative to the test/integration directory, for example: component/test_acl_listvm.py component/test_volumes.py
Note: when additional tests are passed, you need to specify mgmt server os and hypervisor or use the matrix command.
Blessed contributors for kicking Trillian test jobs: ['rhtyd', 'nvazquez', 'PaulAngus', 'borisstoyanov', 'DaanHoogland', 'anuragaw', 'shwstppr', 'andrijapanicsb', 'Spaceman1984']

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-351

@rakgenius @weizhouapache makes perfect sense. Have you looked at the usage server and billing verification? This could be needed if events don't get logged for the volumes.

@rhtyd @DaanHoogland @andrijapanicsb can you kick off a test ?
by the way, is it possible to grant me access to kick a test ?

@weizhouapache I am afraid not, These tests are run in our internal lab and we need to keep small degree of control on how busy we let it get.
@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-502)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27677 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3669-t502-kvm-centos7.zip
Smoke tests completed. 77 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

The PR has two approvals , and BO tests passed.
is it ready for merge ?

@weizhouapache I am looking at the travis run; once again a maximum log length error. I restarted it just to see. I am awaiting it but I think we are good to go.


Is the training mask range 0-255?

hi:
I have some questions about the data .
In ptsemseg.loader.pascal_voc_loader.py,    def setup,  while "Pre-encoding segmentation masks...", encode_segmap function make mask from 0 to 20, and then transform to 0-255, use lbl = m.toimage(lbl, high=self.ignore_index, low=0)
1)Is the training mask range 0-255?
2)if source mask is (0,9,12),it will be (0,191,255) in combined_annotations,so training mask is not 0-20, is that right?

Hi,
Yes, the input labels of pascal data is in the range 0-255. Pascal labels are from 0-20 + 255. So transformation such as interpolating to 0-255 do not happens here (as you have shown in 2).


Bug in U256Str.Cmp implementation

Regarding this comparison in handleGetHeader in mev-boost that compares builder bids:
// Skip if not a higher value
if result.Data != nil && responsePayload.Data.Message.Value.Cmp(&result.Data.Message.Value) < 1 {
  return
}

I found that the Cmp function is a wrapper around bytes.Compare:
// Cmp compares one U256Str to another and returns an integer indicating whether a > b.
// The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
func (n *U256Str) Cmp(b *U256Str) int {
	return bytes.Compare(n[:], b[:])
}

According to Go Documentation:

Compare returns an integer comparing two byte slices lexicographically.

The problem is, I do not think a lexicographic comparison is appropriate here.
See the following tests which I added to the TestU256Str test function:
smaller := U256Str(common.HexToHash("0100000000000000000000000000000000000000000000000000000000000000"))
bigger  := U256Str(common.HexToHash("0001000000000000000000000000000000000000000000000000000000000000"))

require.Equal(t, "1", smaller.String())
require.Equal(t, "256", bigger.String())
require.Equal(t, 0, smaller.Cmp(&smaller))
require.Equal(t, 0, bigger.Cmp(&bigger))
require.Equal(t, -1, smaller.Cmp(&bigger))
require.Equal(t, 1, bigger.Cmp(&smaller))

You should expect all of these tests to pass, but the last two tests, which compare smaller and bigger, will fail.
$ make test
go test ./...
ok  	github.com/flashbots/go-boost-utils/bls	(cached)
--- FAIL: TestU256Str (0.00s)
    common_test.go:79:
        	Error Trace:	common_test.go:79
        	Error:      	Not equal:
        	            	expected: -1
        	            	actual  : 1
        	Test:       	TestU256Str
FAIL
FAIL	github.com/flashbots/go-boost-utils/types	0.116s
FAIL
make: *** [test] Error 1

This is because, lexicographically, 01 00 is greater than 00 01. In this situation, a malicious builder could submit a bid that is smaller in value, but lexigraphically larger to always win the bid.
Here is one more group of example tests:
smaller := U256Str(common.HexToHash("2222000000000000000000000000000000000000000000000000000000000000"))
bigger  := U256Str(common.HexToHash("1111110000000000000000000000000000000000000000000000000000000000"))

require.Equal(t, "8738", smaller.String())
require.Equal(t, "1118481", bigger.String())
require.Equal(t, 0, smaller.Cmp(&smaller))
require.Equal(t, 0, bigger.Cmp(&bigger))
require.Equal(t, -1, smaller.Cmp(&bigger))
require.Equal(t, 1, bigger.Cmp(&smaller))

The last two tests will fail here too.

Thanks a lot for the report!
Fixed in

https://github.com/flashbots/go-boost-utils/releases/tag/v0.2.0
https://github.com/flashbots/mev-boost/releases/tag/v0.7.2


Allow developers to assign labels to issues

Opened by @meetmangukiya at gitter/coala/gci

@meetmangukiya @Makman2 why is this issue still alive, we already have a mark function right, do we want a separate function which would allow developers to assign labels to issues or do we want that right still with the maintainters.

@sladyn98, as of now, mark command can add wip, pending review labels only to the PRs, not issues. If you could read the issue title properly, it states that developers(obviously maintainers also) should be provided an access to the add any labels(not wip, pending review) to an issue.


⚠ Samsung has degraded performance

In b5ba3b6, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2982 ms

Resolved: Samsung performance has improved in e7b5a0f.


Wallet connection not working for android at all

I get this error every time trying to connect to a wallet on android.
❌ [RelayClient], _connect error: SocketException: Failed host lookup: 'relay.walletconnect.org' (OS Error: No address associated with hostname, errno = 7)
I/flutter (30300): 2024-11-30 12:18:05.849820 📝 [ReownAppKitModal] relay client error: SocketException: Failed host lookup: 'relay.walletconnect.org' (OS Error: No address associated with hostname, errno = 7)

This happens when the wallet is opened and while the user authenticates and comes back the pairing does not succeed.

We have this related issue, but it seems strange that we don't have a working version of this basic functionality for such a long time.

Are you seen this error right from the start of the app or just when coming back from the connection flow? Is this happening only on Android? Could you provide a minimum reproducible code?

I see this error while user is connecting in the wallet, and when they are back I see failure to connect. I see this happening in android because, iOS works fine.
Before I start a project to write the reproducible code can you confirm you are not able to reproduce this? I have linked an issue where other people are having the same problem, so it should not be hard to reproduce.

I am not able to reproduce this issue at all and it's also weird. I mean, I would expect the relay either to work or to not work at all but being able to initiate a connection but unable to finish it it's just weird. I am also following the other issue as well and tried several times and several approaches both on Android physical device and emulator. Since this issue is the same as the original one (the one you linked) let's move our discussion there so we are all updated and every part involved can give feedback. I'll close this for now, let's continue here https://github.com/reown-com/reown_flutter/issues/23. Thanks!


Scope software publication skill section to add precision and discuss software citation

Based on @annalenalamprecht's comment, I've changed the "Software publication" skill section to include a more precise list of skills for software publication, and discuss software citation as well.
Notes:

I've added one fundamental reference to the Software Citation Principles paper (IMHO on the same level of fundamentality as SWEBOK, also referenced in a skill section), but removed the more specific reference.
I've cheekily added myself to the authors list. If this is unwanted, let me know and I'll roll back the last commit.

I think it's good and I certainly don't mind you adding yourself to the authors!
But you should be aware that we are currently in the works of lincensing this repo under CC-BY,
so you should be okay with that.
(just to make sure from the legal side!)

this looks good

But you should be aware that we are currently in the works of lincensing this repo under CC-BY, so you should be okay with that. (just to make sure from the legal side!)

Yea, of course. CC-BY is my default anyway.

I think the 2016 citation is more general than the 2022 HERMES reference?

Yes, more general, more foundational, covering different aspects.


File Structure Components & Pallettes

If we need a more "User Centered" Structure within the Components and Palettes UX should make a proposal.


Support starting agent containers in privileged mode

This will help in using a docker in docker image to run docker related tasks using elastic agents.

@varshavaradarajan It seems that starting docker service in privilege mode is not yet supported in docker swarm due to security and implementation complexities involved. Here is the open issue in docker github for supporting privilege mode for docker swarm https://github.com/docker/swarmkit/issues/1030
https://forums.docker.com/t/privileged-containers/36935


calendarpicker,Date picker, preset value

example
data-role="calendarpicker" value="1972/12/21" shows 1972/12/20

This problem occurs if your local time zone is gmt -x. fix this problem in work.

what is your timezone?

America/MonterreyUTC-6, UTC-5
2018-04-26 11:50 GMT-05:00 Sergey Pimenov<EMAIL_ADDRESS>
what is your timezone?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/olton/Metro-UI-CSS/issues/1084#issuecomment-384711827,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYqWmLnk3xuL3orD0rPt7mAE44PPaawks5tsfrZgaJpZM4Tkiub
.

Fixed, wait for 4.2.7 update


feat: showCurrentChain prop for <ConnectButton />

Changes

Added showCurrentChain prop to always show the current chain without having to open the chain modal

What to test

Pass in showCurrentChain prop to <ConnectButton /> by using responsive values like largeScreen, smallScreen and even just a plain boolean. Make sure it works as expected in the example app

I'm not quite sold on this one. When experimenting, if showCurrentChain is active when multiple chains are available, you lose the ability to switch chains. This prop also clashes with chainStatus and it isn't immediately clear to someone reading the types or docs why they're different.
My alternative proposal:

Change the behavior so that the chain button (without hover, click reaction or drop-down) is visible after connection even when just 1 chain is available
Users can override this new default with none on chainStatus reactive values (though I don't think many would)
I thought about maybe adding a chainVisibility prop and type to replace the none in chainStatus, and to support the usecase with the chain indicator appears even before the user connects, but that still feels like an unusual edge case for most devs

Closing this PR in favor of https://github.com/rainbow-me/rainbowkit/pull/1806


ubuntu 23.10  after source gvm env  ，the cd command cannot work

after
[[ -s "/home/afonso/.gvm/scripts/gvm" ]] && source "/home/afonso/.gvm/scripts/gvm"
in bash , i type    cd  anypath,  it doesnot work

after
[[ -s "/home/afonso/.gvm/scripts/gvm" ]] && source "/home/afonso/.gvm/scripts/gvm"
in bash , i type cd anypath, it doesnot work

check ~/.gvm/scripts/gvm-default
and comment . "$GVM_ROOT/scripts/env/cd" && cd .


Backport 6094 to Chef 12: apt-key finger no longer matches extract fingerprints regex

Signed-off-by: Matt Whiteley<EMAIL_ADDRESS>Description
Backport #6094 to Chef 12
This is just a cherry pick of the commit there and then I cleaned up the small conflict
Issues Resolved
#6094
Check List

[ ] New functionality includes tests
[ ] All tests pass
[ ] RELEASE_NOTES.md, has been updated if required (not required for bugfixes, required for API changes)
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

Travis and Appveyor are mad, but I'm pretty sure it's unrelated.


Vision release (after minor regenerated update)

Fortunately we haven't done any releases with product search before - but regardless of whether we had, it's describing the service behaviour rather than the client library anyway. I agree it's somewhat unusual.


Lcms

different attempt at fixing https://github.com/KnicKnic/WASM-ImageMagick/issues/45

got it working on magica


[sw] meson_init.sh bombs with custom toolchain install path

When installing the toolchain at a different location and invoking meson_init.sh, I ran into the following error:
$ export TOOLCHAIN_PATH=~/opentitan/riscv
$ mkdir $TOOLCHAIN_PATH
$ cd $REPO_TOP
$ ./util/get-toolchain.py -t $TOOLCHAIN_PATH
   -> success!
$ ./meson_init.sh
...
meson.build:5:0: ERROR: Unable to determine dynamic linker

Thanks
Sri

Nevermind, this is a case of terminal polluted due to other modules.


Feature Request: Next, Prev and Go show controls

Add support for Next, Prev and Go buttons to move up and down scene or cue list to control show.

I have opened a feature request on the XM32 Series Trello board to have OSC commands for this be added

Update: feature suggestion accepted and will be looked into 🥳
https://trello.com/c/cjmYGB8r

GO can be implemented with the current X32 firmware:
https://community.musictribe.com/discussions/223527/311014/x32-midi-mapping
(I'll copy-paste the answer here, since who knows how long a MusicTribe URL will last!)
Paul_Vannatto wrote March 29 2021:
There is no midi or OSC command for the Go button directly. The way I have implemented the Go command in X32 Live Toolbox is as follows:

Get current position using the /-show/prepos/current OSC command
Send the appropriate OSC command with the current position as the value (eg. /-action/goscene ,i 15

@stevekmcc interesting, would need to take an extra step that they don't mention (I suppose they do allude to it)
would need to use /-prefs/show_control to determine whether to use /‐action/gocue,  /-action/goscene  or /‐action/gosnippet
technically I could use similar logic for next and previous. Am I right in saying it would just change the "highlighted" scene up or down? wonder how it handles when you go to a number above the number of scenes you have (eg you have 2 scenes and you press next 4 times... Im assuming it would go to 6 still and if you say "go" it will just ignore it... but then you would need to press previous 4 times to get it to be "in range" again) unless I check to see does scene 3 have data /‐show/showfile/scene/2/hasdata if yes set /-show/prepos/current to 3 else ignore
will look at this tomorrow though when I've had some sleep

Yes, it looks like that's how they do it too. X32 Live Toolbox is open source, so see the latest version, https://sourceforge.net/projects/x32livetoolbox/files/Source Code/LiveToolbox-133-source.zip/download
file OscTxRx.pas lines 2943-3062

I always forget ugly Pascal/Delphi is... Wowza I struggle to read that 🙈

okay I think I have it implemented... Will text on either Thursday or Sunday when Im at church again
Its not pretty with needing to ensure 700 hasDatas are loaded but... if I want to check that each the next or previous has data...it has to be done (just realised while typing this I probably dont need to do that check for previous because the current highlighted thing SHOULD always have data, but still need to check preload 500 cues 100 scenes and 100 snippet for next... yay -_- thank goodness for loops I guess)


make ClientFuture public

In the multiple and pipeline modules. Both are already used in the
Service trait implementation for ClientService (in both modules).

Thanks.


Allow configuration of returned data on signin

It would be good to allow configuration of what data is sent back when a user signs in. Currently the entire user object is sent along with the access and refresh token, including the password hash and TOTP secret.
In my opinion there is no need to send all of that, in most projects so far that I've done the most I've needed client-side is the user ID, a display name, an email and maybe the avatar URL if there's a place for it.
I think it actually might be dangerous to send the TOTP secret as it's supposed to be an out of band authentication factor and the application shouldn't know or care about it at all.

Still want this.

We don't have plans to make the returned object configurable, however, if there is sensitive information we can look into taking it out from the response.

Currently the entire user object is sent along with the access and refresh token, including the password hash and TOTP secret.

You need the access and refresh tokens, otherwise, why are you signing in?

including the password hash and TOTP secret.

I don't see those, at least not on the latest hasura-auth.


--sheet_key probably doesn't work anymore

Describe the bug
In Daft Punk I broke access to the --sheet_key flag in a refactor.
Judging by these lines:
https://github.com/bastienboutonnet/sheetload/blob/master/sheetload/config.py#L18-L23
self.sheet_key should be self.flags.sheet_key.
Not really planning on fixing this for the Daft Punk version but Nicolas Jaar is probably suffering from this also.
TODO

[] think about whether I want to keep supporting this function at all anymore
[] think about how to solve it with the new config, profile, project design.

This problem seems solved!


Update chart installation instructions to use OCI by default

Proposal
Just found out about this project. It looks great!
quick note, i see you're already pushing the chart versions to OCI storage. This issue is to suggest adding this as the default installation method.
PS, nice use of Artifact Hub annotation usage, especially chart source 🤌 love to see it

Hey @scottrigby glad to hear that 🙇🏽♂
Can you provide us an example?


SAK-32675 - Update license plugin and license headers

I tried to tweak this plugin configuration the best I could. I'm not too sure if we can do any better automatically without changing the plugin?
This does not update any existing files (mostly it was changing the copyright year and the URL's) but for some reason a "few" files could not be detected correctly and have completely duplicate license headers here. I'd like to figure out a good idea for how to detect these and probably just remove the older one.

I see quite a few with duplicates (crude way to find them):
 egrep -rc 'Licensed under the Educational Community License,' . | grep ':2$' | wc -l

gives 192.

Yeah, do you have thoughts on an easy way of removing the duplicates? I thought about writing up a script but really this didn't seem like big enough of a deal to me. Ideally the license plugin would do it but again modifying it just for this didn't seem worth the effort. I'm 100% happy for someone else to do this better or find a better plugin/process.

Removing and cleaning the duplicates could also be a separate task. This is also ignoring a few directories that added a lot of duplicates (jsf/delegatedaccess) and some of the duplicates maybe should stay there or even have their dates updated, which this plugin would do if they header format was correct.


#2973 - File Uploader Bug

As a part of this PR, the following file uploader bug was fixed:
Bug: The text of the file was not displaying properly. Instead, it was displaying [Object object]
Fix: Updated the FormUploadService downloadFile method to use the fileUtils.downloadStudentDocument method which ensures the proper download of the blob type response.
Screenshot:

Great work. Just one comment.


websocket client can now switch to appBase

This PR adds an option to the client, useAppbaseApi, which tells the Websocket transport to switch to the new condenser_api supplied with Appbase-enabled versions of steemd.
Incidental to this work was removing the Websocket transport's reliance on an obsolete pattern for calling APIs in steemd.

I can reproduce your issue @bonustrack. This appears to have to do with a major difference between the way the tests are compiled and the way the production build is compiled. Looks like I have a couple hours' meddling with babel settings in front of me.

I'm getting an odd error trying to run on my machine now. Upgrading Node to see if that helps.

What error do you get? Is it specific to this PR or master too? Master for me working well.

I've isolated the cause of the failure, not that I know why it's happening. Just calling a method async in one place (perhaps erroneously) resulted in the failure. Pushing changes now.

back to you @bonustrack , fixed the issue for me


Feature/comp tweaks

Changes proposed in this Pull Request:

Hide InofListItem padding only when icon not present
Remove @pxblue/colors dependency from @pxblue/angular-components
Update scorecard action item styles to be 32x
Update all components ChangeDetection strategy to be OnPush.
Update all components view encapsulation to be 'None'
Prefix all components with the name pxb-component-name-.
Update various unit tests
Fix Empty State's margin issue
Remove ChannelValue inline style Input because it conflicts with theming.

ChangeDetectionStrategy.OnPush reduces the amount of the ChangeDetection checks that'll happen within our components.  OnPush tells the UI to only redraw when an input to our component has changed.  This is appropriate because none of our components so far have any state-managing logic that would require a redraw.  The Inputs dictate what is on the screen.  This is the setting that angular material is using so I thought it'd be appropriate to use here as well.
ViewEncapsulation.None is angular material's component encapsulation setting as well.  Angular's default style encapsulation adds an invisible wrapper around each component so that styles won't be shared between components, despite duplicate class names.  Using ViewEncapsulation.None exposes our components classes to be targeted by 1. people using our components, or 2. Our global theme without the use of ::ng-deep.
::ng-deep is deprecated and might be removed in the future releases of Angular so it's best to follow suite with angular material.
I also used angular material's class prefix style.

This needs to be published as a beta package before this PR can be merged. https://github.com/pxblue/themes/pull/65

This needs to be published as a beta package before this PR can be merged. pxblue/themes#65

which one needs to go first? This one or the theme?

This needs to be published as a beta package before this PR can be merged. pxblue/themes#65

which one needs to go first? This one or the theme?

I was thinking it makes sense to publish the themes first, then integrate them into this PR.


gitlab backup restore doesn't work because of store path

The command
gitlab-rake gitlab:backup:restore

does not work as it fails trying to open a store path as a log file
rake aborted!
Errno::EACCES: Permission denied @ rb_sysopen - /nix/store/ax15nk17lry7bx62rz83pvysc796dka3-gitlab-15.9.3/share/gitlab/log/backup_json.log

Thanks, I'll take a look at it tomorrow.


Spring boot 2 actuator health endpoint has moved

Hello!
If you generate a new application with http://start.spring.io/starter.zip?type=maven-project&language=java&bootVersion=2.0.0.M3&baseDir=demo&groupId=com.example&artifactId=demo&name=demo&description=Demo+project+for+Spring+Boot&packageName=com.example.demo&packaging=jar&javaVersion=1.8&autocomplete=&generate-project=&style=web&style=cloud-starter-consul-discovery&style=actuator and then add @EnableDiscoveryClient to the main class, you will see in the logs that actuator now registers the health check on /application/health instead of /health in spring-boot 1.5, but spring cloud consul still registers it in consul with a health endpoint on /health, so the service is never up in consul.
2017-08-14 18:42:28.676  INFO 70729 --- [           main] o.s.b.a.e.mvc.EndpointHandlerMapping     : Mapped "{[/application/health || /application/health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
[...]
2017-08-14 18:42:29.406  INFO 70729 --- [           main] o.s.c.c.s.ConsulServiceRegistry          : Registering service with consul: NewService{id='application', name='application', tags=[], address='<IP_ADDRESS>', port=8080, enableTagOverride=null, check=Check{script='null', interval=10s, ttl=null, http=http://<IP_ADDRESS>:8080/health, tcp=null, timeout=null, deregisterCriticalServiceAfter=null, tlsSkipVerify=null}, checks=null}

Regards

Of course if the default configuration is overridden, then it works:
spring.cloud.consul.discovery.health-check-path=/application/health

Upgrading from Spring Boot 2.0.0 M6
Actuator configuration changes
After some feedback from the community, the default management.endpoints.web.base-path has been changed from "/application" to "/actuator" to avoid collision with user-defined mappings (see #10970).

Ok, I managed to fix my configuration , thanks to help in this thread here:   https://github.com/djangofan/spring-boot-reactor-flux-example/commit/8e760dc6d9b77a100c2cb0f5ea5543c02ab5c177


simulate_equilibrium_solidification should do order/disorder checks automatically

Currently there are no checks for order/disorder phase name checking in simulate_equilibrium_solidification, so a order/disorder modeled phase that is in a disordered configuration will still show as the ordered phase name.
The main challenge in making this change that the order/disorder check assumes a pycalphad LightDataset, rather than xarray Dataset.

I wrote some code to do this for another project, but it needs to be integrated still. rename_disordered_phases could be used for both equilibrium and Scheil solidification simulations, but it would require using the xarray Dataset objects from pycalphad, i.e. calls to equilibrium in simulate_scheil_solidification cannot use the to_xarray=False performance optimization.
from dataclasses import dataclass
from typing import Sequence, List
import itertools
from collections import defaultdict
import numpy as np
import xarray as xr
from pycalphad.core.utils import unpack_components, generate_dof

@dataclass
class OrderingRecord:
    ordered_phase_name: str
    disordered_phase_name: str
    subl_dof: Sequence[int]  # number of degrees of freedom in each sublattice of the ordered phase
    symmetric_subl_idx: Sequence[Sequence[int]]  # List of sublattices (of the ordered phase) that are symmetric

    def is_disordered(self, site_fractions):
        # For each sublattice, create a `slice` object for slicing the site
        # fractions of that particular sublattice from the site fraction array
        subl_slices = []
        for subl_idx in range(len(self.subl_dof)):
            start_idx = np.sum(self.subl_dof[:subl_idx], dtype=np.int_)
            end_idx = start_idx + self.subl_dof[subl_idx]
            subl_slices.append(slice(start_idx, end_idx))

        # For each set of symmetrically equivalent sublattices
        for symm_subl in self.symmetric_subl_idx:
            # Check whether the site fractions of each pair of symmetrically
            # equivalent sublattices are ordered or disordered
            for idx1, idx2 in itertools.combinations(symm_subl, 2):
                # A phase is ordered if any pair of sublattices does not have
                # equal (within numerical tolerance) site fractions
                pair_is_ordered = np.any(~np.isclose(site_fractions[subl_slices[idx1]], site_fractions[subl_slices[idx2]]))
                if pair_is_ordered:
                    return False
        return True

def create_ordering_records(dbf, comps, phases):
    """Return a dictionary with the sublattice degrees of freedom and equivalent
    sublattices for order/disorder phases

    Parameters
    ----------
    dbf : pycalphad.Database
    comps : list[str]
        List of active components to consider
    phases : list[str]
        List of active phases to consider

    Returns
    -------
    List[OrderingRecord]

    Notes
    -----
    Phases which should be checked for ordered/disordered configurations are
    determined heuristically for this script.

    The heuristic for a phase satisfies the following:
    1. The phase is the ordered part of an order-disorder model
    2. The equivalent sublattices have all the same number of elements
    """
    species = unpack_components(dbf, comps)
    ordering_records = []
    for phase_name in phases:
        phase_obj = dbf.phases[phase_name]
        if phase_name == phase_obj.model_hints.get('ordered_phase', ''):
            # This phase is active and modeled with an order/disorder model.
            dof = generate_dof(dbf.phases[phase_name], species)[1]
            # Define the symmetrically equivalent sublattices as any sublattices
            # that have the same site ratio. Create a {site_ratio: [subl idx]} dict
            site_ratio_idxs = defaultdict(lambda: [])
            for subl_idx, site_ratio in enumerate(phase_obj.sublattices):
                site_ratio_idxs[site_ratio].append(subl_idx)
            equiv_sublattices = list(site_ratio_idxs.values())
            ordering_records.append(OrderingRecord(phase_name, phase_obj.model_hints['disordered_phase'], dof, equiv_sublattices))
    return ordering_records

def rename_disordered_phases(eq_result, ordering_records):
    """
    Modify an xarray Dataset to rename the ordered phase names to the disordered phase
    names if the equilibrium configuration is disordered

    Parameters
    ----------
    eq_result : xarray.Dataset
    order_disorder_dict : OrderingRecord
        Output from scheil.utils.order_disorder_dict

    Returns
    -------
    xrray.Dataset
        Dataset modified in-place

    Notes
    -----
    This function does _not_ change the site fractions array of the disordered
    configurations to match the site fractions matching the internal degrees of freedom
    of the disordered phase's constituents (although that should be possible).

    Examples
    --------
    >>> from pycalphad import Database, equilibrium, variables as v
    >>> dbf = Database('Al-Ni.tdb')
    >>> comps = ['AL', 'NI', 'VA']
    >>> phases = list(dbf.phases.keys())
    >>> eq_res = equilibrium(dbf, comps, phases, {v.P: 101325, v.T: (300, 2200, 10), v.N: 1, v.X('NI'): (0, 1, 0.01)})
    >>> ordering_records = create_ordering_records(dbf, comps, phases)
    >>> rename_disordered_phases(eq_res, ordering_records)
    """

    for ord_rec in ordering_records:
        # Array indices matching phase with ordered phase name
        mask = eq_result.Phase == ord_rec.ordered_phase_name
        # disordered_mask is a boolean mask which is True if the element listed
        # as an ordered phase is a disordered configuration. We want to
        # broadcast over all dimensions except for internal_dof (we need all
        # internal dof to justify whether the site fractions are disordered).
        # The OrderingRecord.is_disordered method is not vectorized and works
        # on one set of site fractions at a time, so we use `vectorize=True`
        disordered_mask = xr.apply_ufunc(ord_rec.is_disordered, eq_result.where(mask).Y, input_core_dims=[['internal_dof']], vectorize=True)
        # Finally, use xr.where to set the value of the phase name to the disordered phase everywhere the mask is true and use the existing value otherwise
        eq_result['Phase'] = xr.where(disordered_mask, ord_rec.disordered_phase_name, eq_result.Phase)
    return eq_result


ARROW-3919: [Python] Support 64 bit indices for pyarrow.serialize and pyarrow.deserialize

@pcmoritz can you rebase? would you like me to review this?

@wesm This is not done yet, but do you want to take a brief look if that's the direction we want to go in (make ListArray offsets int64_t)?

@pcmoritz this isn't consistent with the columnar format specification (list offsets are 32 bits). We'll have to find another way

Closing per discussions on mailing list


Taskcat parameter files URL

Taskcat uses a path-style S3 URL to get and validate parameters file. This should be a virtual-hosted style URL or a URL that matches the bucket region.

Fixed in https://github.com/aws-quickstart/taskcat/commit/fb750a2eae0c4b59ae3bdcdde015621a3a6db60f


HADOOP-18183. s3a audit logs to publish range start/end of GET requests.

The start and end of the range is set in a new audit param "rg", e.g "?rg=100-200"
Contributed by Ankit Saurabh
How was this patch tested?
s3 london
For code changes:

[X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[X] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

this is just #5110 with two changes

newline in logging message (checkstyle)
changed audit.md to say GET not GetObjectRequest

if yetus is happy will merge

build was happy locally; test s3 london @ scale, and verified in logs that things worked
183c9826b45486e485693808f38e2c4071004bf5dfd4c3ab210f0a21a4235ef8 stevel-london [14/Dec/2022:12:59:35 +0000] <IP_ADDRESS> arn:aws:iam::152813717728:user/stevel-dev 446CNGJCGD6DCZ4D REST.GET.OBJECT fork-0007/test/testReadSingleByteAcrossReadahead-sequential "GET /fork-0007/test/testReadSingleByteAcrossReadahead-sequential?versionId=uWXlWeVE5kCrTG.TRmC4gNekp5yWrELr HTTP/1.1" 206 - 2048 2048 28 14 "https://audit.example.org/hadoop/1/op_open/be0d9c4a-964e-423d-b22b-7fa5b56db268-00000029/?op=op_open&p1=fork-0007/test/testReadSingleByteAcrossReadahead-sequential&pr=stevel&ps=d12bd202-8831-4faf-965e-f3d7f23c3782&rg=0-2047&id=be0d9c4a-964e-423d-b22b-7fa5b56db268-00000029&t0=53&fs=be0d9c4a-964e-423d-b22b-7fa5b56db268&t1=53&ts=1671022775232"

here rg=0-2047; a single byte was read in a stream with sequential read and readahead.

I am happy with this and doing the merge, as it is a yetus issue and have just done the testing locally.

merged, backporting.


Error Install DotNetCoreSdk

OS: WSL1 Ubuntu
The Error when I execute ./build.sh

And I have Dotnet Installed in my PC

Can you give me a solution for this?

The build script installs a local SDK on its own regardless of your global installation.
Judging by the error, either the network on your machine was unreachable at the time, or there was some downtime or other issue on the official SDK feed.

see https://github.com/dotnet/announcements/issues/192#event-5076853675


Adding auth trigger to pubsub

Signed-off-by: Harsh Thakur<EMAIL_ADDRESS>
Provide a description of what has been changed
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)
[x] Tests have been added
[ ] A PR is opened to update the documentation on https://github.com/kedacore/keda-docs
[ ] Changelog has been updated

Fixes #1273

LGTM. Thanks @harshthakur9030!

Would you mind updating our docs on https://github.com/kedacore/keda-docs/blob/master/content/docs/2.0/scalers/gcp-pub-sub.md as well please?

PTAL @zroubalik  @tomkerkhove ! Did the changes asked. Here's the doc PR: https://github.com/kedacore/keda-docs/pull/293


auto numbering paragraph need a rPr node to adjust font/size

if a paragraph is auto numbering, a subnode '<w:numPr>' will be create under the node '<w:pPr>', also another subnode '<w:rPr>' need be create to save the auto numbering's font/size, so if the '<w:pPr>' node haven't this subnode, you can't modify the auto numbering's font attributes, the different font size will display on same line.

A w:pPr element is added to a w:p element when necessary to add settings, in particular .alignment, and .style. This is done using CT_P.get_or_add_pPr() -> CT_PPr. It always returns the w:pPr element, adding it only when necessary. You can use it like this:
pPr = paragraph._p.get_or_add_pPr()


Corrupt Mac JDK Mission Control?

Browser: Google Chrome is up to date
Version 78.0.3904.70 (Official Build) (64-bit)

I have the latest MacOS (macOS Catalina Version 10.15).
I downloaded JDK Mission Control (org.openjdk.jmc-macosx.cocoa.x86_64.tar.gz) from your download page (https://adoptopenjdk.net/jmc.html).
After expanding the gz (through double click in Finder), I attempt to launch the app (JDK Mission Control.app) and I get the following popup message:
"JDK Mission Control.app" is damaged and can't be opened. You should move it to the Trash.
The only options given are cancel and "Move to Trash". I even tried right clicking and selecting "Open" while holding Alt key in case this was actually a security block imposed by Catalina but I got the same message.
Thanks for any help on this.
Carlos

Still an issue in 8.3 (aarch64) - same fix works on Ventura.

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

I'm guessing the best approach here is to codesign and notarize the installer? @reinhapa I'd be happy to walk you through the steps

Could this be fixed for the 9.0.0 stable release please.


Update build, code cleanup, fix edge cases with MINEPKG_COMPANION_PLAY string handling

https://github.com/minepkg/companion-fabric/commit/8818059cfe84c32c1191d34e70a49e32b505cd0d update build, gradle, loom, shadow
Gradle 7.3 supports building with Java 17, Loom 0.10 works with all current Minecraft versions, making backports easy.
https://github.com/minepkg/companion-fabric/commit/773dca616e8239a57439d2b9c3e30e7e6f8722e8 update test engine version, move all versions them to gradle.properties
I hope the renovate bot is intelligent enough to deal with this?
https://github.com/minepkg/companion-fabric/commit/28f6aa9434d5852347ce07aec547e345a26e5bfc use a record for Modpack
This is exactly what they were made for!
https://github.com/minepkg/companion-fabric/commit/85c8f0dbc6ceeb6911282089686d8841f4c8a98a cleanup
Should be self-explanatory.
https://github.com/minepkg/companion-fabric/commit/6527f2bdf4fc79e2da6985f6327366ed0808a399 fix unicode, locale dependent string handling
Not quite as self-explanatory.
The use of toLowerCase() has multiple issues, for one, it is locale dependent, quoting the javadocs

For instance, "TITLE".toLowerCase() in a Turkish locale returns "tıtle", where 'ı' is the LATIN SMALL LETTER DOTLESS I character.

Lower-casing a server hostname could thus break it.
The docs also say this

To obtain correct results for locale insensitive strings, use toLowerCase(Locale.ROOT).

which might help with the hostnames, but there's still an issue for world names:
If the goal was to have a case-insensitive comparison, lower-casing both names isn't actually enough.
I thus removed the toLowerCase() and used equalsIgnoreCase() for world name comparison instead.
The only side effect this should have is that lOcAl:// won't parsed anymore... :sweat_smile:

thanks! looks very good!


Change breacrumb content on reasons for rejection report

Context
Breadcrumb on 2nd page (eg No science GCSE) is showing page titles as lowercase and including underscores instead of spaces.
eg qualifications instead of Qualifications

 Breadcrumb in Reasons for rejection report isn’t picking up page title properly


(De)Marshalling headers are created.

Remove int *status from server demarshaling and conform to coding standard.


Widget/Driver Tests Under-documented

Per this discussion, it seems widget tests are under-documented in these ways:

unclear why UI appears small with black regions above and below it
unclear whether that behavior can be overridden or modified in any way
it was unclear to me that driver and widget tests were a different thing, and how they differ. That said, this documentation seems pretty good. Perhaps I missed that when I was trying this stuff out.

Ultimately, what I want to do is use automate the execution of widget tests on my CI to take snapshots of the app at various points. This way, I can set up a feed for my test team to monitor to see if anything visual breaks during the development of an application. Of course, I will need to choose a resolution at which to take the snapshots, but I am unclear on how I can achieve this.

This is a @yjbanov or @Hixie question.  Thanks!

Where did you look for this information? (Not sure where to put the answers.)

I think I started here, but I'd swear those docs have been improved recently, because they certainly looked more fleshed out than I recall. However, the commit history says otherwise, so I guess I just didn't take it all in the first time. Regardless, I still think clarity is required around widget tests/black area.

We can definitely improve them!


fix serialization

basically "eligible_authrole" was in twice, and no "exclude_authrole"

Codecov Report

Merging #788 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #788   +/-   ##
=======================================
  Coverage   57.64%   57.64%
=======================================
  Files          71       71
  Lines       11587    11587
  Branches     1812     1812
=======================================
  Hits         6679     6679
  Misses       4306     4306
  Partials      602      602

Impacted Files
Coverage Δ

autobahn/wamp/message.py
59.41% <0%> (ø)
:white_check_mark:

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 0108058...037f00a. Read the comment docs.

Ah, nasty;)


[CI] Allow command-line argument or TVM_BUILD_PATH for C++ unittests

Previously, the ci.py script would execute all C++ unit tests in the "build" directory, regardless of the docker image being used.  This change allows a caller to specify the build directory to be used by task_cpp_unittest.sh, either by the command line or by using the same TVM_BUILD_PATH environment variable as used by the top-level Makefile, and passes this argument from ci.py.  To preserve the existing behavior for the pre-commit CI, if no argument is passed and if the TVM_BUILD_PATHis undefined,task_cpp_unittest.shdefaults to the"build"` directory.
Python unit tests executed through ci.py used the TVM_LIBRARY_PATH environment variable, and were not similarly affected.
cc @Mousius @areusch @driazati

Motivating reason was https://github.com/apache/tvm/pull/11970, where a failure in the C++ tests in ci_wasm required multiple steps to reproduce locally.


Added queue operation program in c and updated README.md

👋🏻 Heyy there,
I have added a program written in C that does the following operations:

🔼 Insert - Add an element at the front of the queue
🔽 Delete - Remove an element from the end of the queue
🖨 Display - Prints all the elements of the queue
🚫 Exit - End the user-defined loop

I have also added C Language Category in the README.md 📓
Happy Contributing 😄

Thankyou for the contribution Naiwrit.


Fix unit amount in cents for usage add ons

We are getting the following error when we try to create a new subscription with a Usage addon type:
Message: {usagePriceInDecimalUnits is not allowed when PricingType is USAGE. | Field: "subscription.base" Code: "" Symbol: "field_mismatch_not_allowed" Details: ""}
The problem is that the field unitamountincents was being provided with 0 automatically. With this pull request fix this error.
Regards,

👍


Add manual in readme

Please add a brief synopsis on how to compile / run qngene.
Also, add a quick steps to get started with IntelliJ.

Ask @SGrondin


Install error on Visual Studio 2015 CTP 5

I just installed Visual Studio CTP 5 today and went to install Visual F# Power Tools but get the following error. FWIW, I have Visual Studio 2013 installed as well along with F# Power Tools. I've got all of the .NET versions installed so I'm not sure why I get this message.

@frankhale Could you check whether v1.7.2 fixes the installation issue https://ci.appveyor.com/project/dungpa/visualfsharppowertools/build/1.8.0-a1501172312/artifacts? Thanks.

I will give it a try. Thank you!

This did indeed work. Thank you!


⚠ Turnos 24x7 has degraded performance

In c768b75, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1200 ms

Resolved: Turnos 24x7 performance has improved in 57f2f38.


zammy spear really needs to be optional

So let me start off by saying your tick counter is truly amazing for corp. have been using it a long time and love it. today you updated it and made it so zammy spear is counter and that's super problematic for what corp ffa07 does (corp massing clan chat) we can no longer accurately or easily tell if a person is speccing with dwh or bgs twice. is there any way you could make zammy spear optional on being counted. we heavily rely on your tick counter.  Thanks in advance!

Thanks for sorting this so quickly 🎉🎉

Added config option to exclude zammy spear ticks, with default setting that the ticks are included


add looking in orders table for same transactionHash as token transfer

add looking for transaction hash in orders table as well as trades.

The logic here is good, consider orders that have not been filled (and have not showed up in trades table yet).


no synchronization between windows - electron / chromium devkit error tho

[21426:0220/213228.333069:ERROR:CONSOLE(7323)] "Extension server error: Object not found: ", source: chrome-devtools://devtools/bundled/inspector.js (7323)

I'm seeing the same issue - no synchronization between windows. Trellis works for me, but the mpl demo instructions from README don't work.
I think the Electron log error is benign though, I also get that in Trellis.
I've tried copying some of the settings from Trellis, which does work, but that hasn't helped.
The settings I copied are:

setting MPL.config.name
setting process.env.PORT
adding  webPreferences: { experimentalFeatures: true } to the BrowserWindow preferences

I also tried changing the package.json dependencies to match Trellis exactly.
Is there something about the subclass of MPL Store in Trellis, or some other setting, which is needed to get things working as the README describes? Thanks!

Hmm, it has been a while since I've run Trellis. Might be worth trying it out again. I think I'd recommend probably building on hypermerge instead of Trellis. The signalling server requirements for WebRTC (and therefore MPL) turn out to be a real pain for practical day-to-day usage.

I've tried a fresh app using electron-forge and the sample code provided in the readme, and I'm getting the same issue. It's weird that Trellis is working fine but that a simple app is not.
Some things I've tried:

In my toy app, forcing the process.env.PORT to be 4242 like Trellis
When I remove the PORT configuration in Trellis, Trellis stops synchronizing
setting peerName like Trellis

I'm confused at how Trellis is able to sync/connect but a simpler app cannot.

Oh, it might be the firewall rules for your OS. Are you on Windows? Mac?

I'm on Mac OS. When Trellis runs (I'm in dev mode on both Trellis and my
own Electron app) there seems to be two OS dialog boxes that open asking
for permission for the app to use the network. On my Electron app I don't
get that OS dialog. I've compared code so many times, but still can't seem
to find a difference. It makes me think that somehow MPL isn't starting a
network connection. Trying to find other things to investigate.
On Fri, May 24, 2019 at 5:54 PM Peter van Hardenberg <
<EMAIL_ADDRESS>wrote:

Oh, it might be the firewall rules for your OS. Are you on Windows? Mac?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/automerge/mpl/issues/13?email_source=notifications&email_token=AAAABAJOAB7IDGXFON3ZDDTPXB54LA5CNFSM4ERT6UU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWGY24Q#issuecomment-495816050,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAABALUYNUZRC7EPJX27UDPXB54LANCNFSM4ERT6UUQ
.

Is there a reason you're building on MPL instead of hypermerge? From my perspective, Hypermerge is quite a bit more mature and robust but maybe it has some properties you don't like? I'm open to doing some investigation/maintenance here if there's a use-case I just haven't grokked.

It was mostly ignorance of hypermerge. I'm building a spike based on a fork
of PushPin now which is going well. The only thing that made MPL more
appealing was (a) documentation, and (b) slightly less complex
dependencies, e.g. I was having trouble with libsodium and another native
lib that I can't recall just now.
On Sun, May 26, 2019 at 11:39 AM Peter van Hardenberg <
<EMAIL_ADDRESS>wrote:

Is there a reason you're building on MPL instead of hypermerge? From my
perspective, Hypermerge is quite a bit more mature and robust but maybe it
has some properties you don't like? I'm open to doing some
investigation/maintenance here if there's a use-case I just haven't grokked.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/automerge/mpl/issues/13?email_source=notifications&email_token=AAAABAPIIYLY4VQ56ENGKFDPXLDMJA5CNFSM4ERT6UU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWIKFWY#issuecomment-496018139,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAABANDA2CCU7UOVFXYWBTPXLDMJANCNFSM4ERT6UUQ
.


Unable to run on heroku

I've follow the instruction on how to deploy storefront and admin. The admin is successfully deployed on heroku. But the storefront get error.
First build error I get show log like this
-----> Installing binaries
       engines.node (package.json):  >=14.0.0
       engines.npm (package.json):   unspecified (use default)

       Resolving node version >=14.0.0...
       Downloading and installing node 17.1.0...
       Using default npm version: 8.1.2

-----> Restoring cache
       Caching has been disabled because NODE_MODULES_CACHE=false

-----> Installing dependencies
       Installing node modules (package.json)
       npm ERR! code ERESOLVE
       npm ERR! ERESOLVE unable to resolve dependency tree
       npm ERR!
       npm ERR! While resolving<EMAIL_ADDRESS>       npm ERR! Found<EMAIL_ADDRESS>       npm ERR! node_modules/graphql
       npm ERR<EMAIL_ADDRESS>from the root project
       npm ERR!
       npm ERR! Could not resolve dependency:
       npm ERR! peer<EMAIL_ADDRESS>|| ^15.0.0" from<EMAIL_ADDRESS>       npm ERR! node_modules/@apollo/client
       npm ERR<EMAIL_ADDRESS>from the root project
       npm ERR!
       npm ERR! Fix the upstream dependency conflict, or retry
       npm ERR! this command with --force, or --legacy-peer-deps
       npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
       npm ERR!
       npm ERR! See /tmp/npmcache.j6WPn/eresolve-report.txt for a full report.

       npm ERR! A complete log of this run can be found in:
       npm ERR!     /tmp/npmcache.j6WPn/_logs/2021-11-12T05_58_02_132Z-debug.log
-----> Build failed

       We're sorry this build is failing! You can troubleshoot common issues here:
       https://devcenter.heroku.com/articles/troubleshooting-node-deploys

       Some possible problems:

       - Dangerous semver range (>) in engines.node
         https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version

       Love,
       Heroku

 !     Push rejected, failed to compile React.js (create-react-app) multi app.
 !     Push failed

https://github.com/saleor/react-storefront/blob/2f3de82301435e5fe7698063e8cd9a9ec1075278/package.json#L6
So I change to follow saleor-dashboard configuration
    "node": ">=14 <15",
    "npm": ">=6.11.0 <7"

And the build succeed.
-----> Installing binaries
       engines.node (package.json):  >=14 <15
       engines.npm (package.json):   >=6.11.0 <7

       Resolving node version >=14 <15...
       Downloading and installing node 14.18.1...
       Bootstrapping npm >=6.11.0 <7 (replacing 6.14.15)...
       npm >=6.11.0 <7 installed

-----> Restoring cache
       Caching has been disabled because NODE_MODULES_CACHE=false

-----> Installing dependencies
       Installing node modules (package.json)

       ><EMAIL_ADDRESS>install /tmp/build_758d4938/node_modules/sharp
       > (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

       sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.11.3/libvips-8.11.3-linux-x64.tar.br

       ><EMAIL_ADDRESS>postinstall /tmp/build_758d4938/node_modules/core-js-pure
       > node -e "try{require('./postinstall')}catch(e){}"

       added 1108 packages from 853 contributors and audited 1118 packages in 31.74s

       122 packages are looking for funding
         run `npm fund` for details

       found 3 moderate severity vulnerabilities
         run `npm audit fix` to fix them, or `npm audit` for details

-----> Build
       Detected both "build" and "heroku-postbuild" scripts
       Running heroku-postbuild

       ><EMAIL_ADDRESS>heroku-postbuild /tmp/build_758d4938
       > npm run build

       ><EMAIL_ADDRESS>build /tmp/build_758d4938
       > next build

       info  - Loaded env from /tmp/build_758d4938/.env
warn  - SWC minify beta enabled. https://nextjs.org/docs/messages/swc-minify-enabled
       warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
       Attention: Next.js now collects completely anonymous telemetry regarding usage.
       This information is used to shape Next.js' roadmap and prioritize features.
       You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
       https://nextjs.org/telemetry

       info  - Checking validity of types...
       info  - Creating an optimized production build...
warn - You have enabled the JIT engine which is currently in preview.
warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
       info  - Compiled successfully
       info  - Collecting page data...
       info  - Generating static pages (0/57)
       info  - Generating static pages (14/57)
       info  - Generating static pages (28/57)
Rich text data not in the EditorJS format.
       info  - Generating static pages (42/57)
       info  - Generating static pages (57/57)
       info  - Finalizing page optimization...

       Page                                              Size     First Load JS
       ┌ ● /                                             848 B           200 kB
       ├   /_app                                         0 B             133 kB
       ├ λ /[sitemap]                                    244 B           133 kB
       ├ ○ /404                                          2.3 kB          163 kB
       ├ ○ /account/addressBook                          589 B           197 kB
       ├ ○ /account/login                                1.55 kB         143 kB
       ├ ○ /account/orders                               646 B           197 kB
       ├ ● /account/orders/[token]                       1.37 kB         198 kB
       ├ ○ /account/preferences                          2.13 kB         199 kB
       ├ ○ /account/register                             1.54 kB         143 kB
       ├ ○ /cart                                         1.51 kB         201 kB
       ├ ● /category/[slug]                              1.32 kB         201 kB
       ├   ├ /en-US/category/accessories
       ├   ├ /en-US/category/groceries
       ├   ├ /en-US/category/apparel
       ├   └ [+9 more paths]
       ├ ○ /checkout                                     1.21 kB         200 kB
       ├ ● /collection/[slug]                            1.33 kB         201 kB
       ├   ├ /en-US/collection/featured
       ├   ├ /en-US/collection/featured-products
       ├   ├ /en-US/collection/special-products
       ├   └ [+2 more paths]
       ├ ○ /order                                        472 B           197 kB
       ├ ● /page/[slug]                                  512 B           197 kB
       ├ ● /products/[slug] (ISR: 60 Seconds) (3216 ms)  3.7 kB          203 kB
       ├   ├ /en-US/products/saleor-beanie (840 ms)
       ├   ├ /en-US/products/less-is-mo
       ├   ├ /en-US/products/polo-shirt
       ├   ├ /en-US/products/polo-shirt-2
       ├   ├ /en-US/products/saleor-cup
       ├   ├ /en-US/products/saleor-digital-pack
       ├   ├ /en-US/products/saleor-hoodie
       ├   └ [+6 more paths]
       └ ○ /search                                       1.36 kB         198 kB
       + First Load JS shared by all                     133 kB
         ├ chunks/framework-beb51d85c0b60541.js          42.1 kB
         ├ chunks/main-9f9209d678e95caa.js               28.7 kB
         ├ chunks/pages/_app-b1e6a06895e54cab.js         61.3 kB
         ├ chunks/webpack-29f4e7141b68b4d4.js            831 B
         └ css/4221126af8035ac7.css                      7.08 kB

       λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
       ○  (Static)  automatically rendered as static HTML (uses no initial props)
       ●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
          (ISR)     incremental static regeneration (uses revalidate in getStaticProps)

       ><EMAIL_ADDRESS>postbuild /tmp/build_758d4938
       > next-sitemap

       Loaded env from /tmp/build_758d4938/.env

-----> Pruning devDependencies
       Skipping because NPM_CONFIG_PRODUCTION is 'false'

-----> Build succeeded!
=====> Downloading Buildpack: https://github.com/mars/create-react-app-inner-buildpack.git#v9.0.0
=====> Detected Framework: React.js (create-react-app)
       Writing `static.json` to support create-react-app
       Enabling runtime environment variables
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-static.git
=====> Detected Framework: Static HTML
-----> Installed nginx 1.19.0 to /app/bin
Using release configuration from last framework (Static HTML).
-----> Discovering process types
       Procfile declares types     -> (none)
       Default types for buildpack -> web
-----> Compressing...
       Done: 134.2M
-----> Launching...

But when I open the application, it shows nginx 404 not found. And when I check the log, it shows
2021-11-12T06:18:51.491389+00:00 app[web.1]: ls: cannot access '/app/build/static/js/*.js': No such file or directory
2021-11-12T06:18:51.491653+00:00 app[web.1]: Error injecting runtime env: bundle not found '/app/build/static/js/*.js'. See: https://github.com/mars/create-react-app-buildpack/blob/master/README.md#user-content-custom-bundle-location
2021-11-12T06:18:51.750685+00:00 app[web.1]: Starting log redirection...
2021-11-12T06:18:51.750932+00:00 app[web.1]: Starting nginx...

I try to connect to heroku console and I don't found /app/

Is there something wrong with the configuration?

Okay, I got it working. Some changes I made.
Don't use mars/create-react-app as buildpacks. Use heroku/nodejs and run Next as nodejs apps
At first, I assume that the storefront is like dashboard, build react static pages and deploy it. I try to build next to static pages by changing the package.json build script from "next build" to "next build && next export" and adding static.json to read from "out/" folder as mentioned in Next documentation, but build failed with error
Error: i18n support is not compatible with next export. See here for more info on deploying: https://nextjs.org/docs/deployment
    at /tmp/build_7bd606c1/node_modules/next/dist/export/index.js:247:19
    at async Span.traceAsyncFn (/tmp/build_7bd606c1/node_modules/next/dist/trace/trace.js:74:20)

So I though why not running Next as nodejs application.
This is what I do.

Change the buildpack to heroku/nodejs
Add start script in package json "start": "next start -p $PORT"

Hope it helps.
https://docs.saleor.io/docs/2.11/developer/running-saleor/heroku#storefront-and-dashboard-deployment
Perhaps the documentation needs update?

This may help? https://dev.to/adrai/static-html-export-with-i18n-compatibility-in-nextjs-8cd


Bug introduced in 8.2.0

There was quite a nasty big bug introduced in the latest version 8.2.0.
...it is rather strange too.

You can toggle (set/remove) your authentication back and forth (tried Basic Auth & API Key)
You can expand/collapse an endpoint panel back and forth
If you have your authentication set, expanding an endpoint will fail (TypeError: Cannot read property 'some' of undefined)
if you have an endpoint exapanded, setting your authentication fails (TypeError: Cannot read property 'some' of undefined)

It does not happen in 8.1.2

I think these issues do not exist in the latest code
can you test it with dist\rapidoc-min.js the latest code from

fixed in latest 👍


Support for scaling processes

It would be great to be able to scale a single Procfile line to run as multiple processes.
For example Procfile:
worker: /usr/local/bin/command.sh
But to be able to tell overmind to launch N number of these.
In Heroku this can be done with a ps:scale N command. In supervisord, there is a way to specify numprocs parameter per program definition.

If you look at the output of overmind s -h you will find this option
   --formation value, -m value     Specify the number of each process type to run. The value passed in should be in the format process=num,process=num. Use 'all' as a process name to set value for all processes [$OVERMIND_FORMATION]

Would be good to have this mentioned in the README

Added formation docs to README https://github.com/DarthSim/overmind#scaling-processes-formation


Update the specification to include filing-history

Update the specification to include filing-history
Resolves BI-8770

This PR is not required


Passing flags when compiling app

I created a new project using the yesod-sqlite stack template. When I run yesod devel I get colorized text output like so:

But when using wai-devel, I get boring 'ol black-and-white:

Based on investigation, this is because the pretty logging is enabled by a CPP conditional (#if DEVELOPMENT), which is itself triggered by a flag in the .cabal file:
    if flag(dev) || flag(library-only)
        cpp-options:   -DDEVELOPMENT
        ghc-options:   -Wall -fwarn-tabs -O0
    else
        ghc-options:   -Wall -fwarn-tabs -O2

Is there a way wai-devel can pass a flag to compile for development mode? Or is there another way that wai-devel might inform apps they're being compiled for development?
Version: Latest master commit as of today (67672e3196526abff5e84782092af14b7de44cd6)
OS: OS X El Capitan
Stack: Version <IP_ADDRESS> x86_64

@MaxGabriel Hey, sorry I can only look into this later. I have a high priority issue (in ide-backend https://github.com/fpco/ide-backend/issues/313) that I have to solve first before I get to this.

No problem, this isn't an urgent concern or anything


Setting console window always on top

Console window should always be on top of other programs

Yousouf.

Done in current release.


Tricount

Goal of this PR : Adding the Tricount module, to handle grouped expenses
Description of the added features :

[x] Creating group
[x] Editing group
[ ] Deleting group
[ ] Adding a user in a group
[ ] Self deleting from a group, only when balance is null
[x] Displaying stats of a group

[x] users in the groups
[x] expense of each user
[x] total amount
[x] amount to reimburse for each user

[x] Displaying cross group stats

[x] amount to reimburse to other user
[x] amount to be reimbursed

[ ] Adding an expense for a group
[ ] deleting an expense for a group
[ ] Reimbursing a user in a group
[ ] Making a cross group reimbursement to a user

Images (if the PR changes the front) :

Desktop
Mobile

Other information :

Codecov Report
Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (075a746) 55.96% compared to head (f43aa90) 55.77%.

Files
Patch %
Lines

lib/tools/providers/list_notifier.dart
0.00%
12 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #207      +/-   ##
==========================================
- Coverage   55.96%   55.77%   -0.19%
==========================================
  Files         166      166
  Lines        3581     3593      +12
==========================================
  Hits         2004     2004
- Misses       1577     1589      +12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Server Not Found Error with broken links

Hello to everyone! I have a quick question. I am trying to access the links at the page 1 (list of all available parameters) and page 2 (parameter file database) of the manual document. Please, could you provide to me the correct link or an alternative way to have access to this kind of information?
Thank you very much for your time and help!

I have been experiencing the same issue with these links. It seems they have been down for several weeks now.

Hi Maria,
For now, the only solution that I've found to view the list of parameters and their descriptions is to build the elastix documentation on your local system using these steps:
https://github.com/SuperElastix/elastix/wiki/How-to-build-Doxygen-documentation-from-elastix-source-code
(I got this from the wiki)
I hope it helps.

Yes, indeed the website it down. We are working on a solution, but it will take some time.

A zip file with the doxygen documentation can be found via the readme: https://github.com/SuperElastix/elastix/blob/main/README.md

Thank you all for your comments and your help!


otLwf Spinel and Logging Fixes

otLwf was recently broken by the Spinel protocol changes around the _RAW_STREAM property. To help handle future issues around this, I added additional validation of the protocol version on start up.
Also, while debugging this, I found several build breaks related to logging when enabling platform logging and building for cc2538 and nrf52840.
Note, otLwf is still not completely fixed it seems, but I am having issues diagnosing the problem due to an issue getting logs (#1531).

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1532      +/-   ##
==========================================
+ Coverage   71.12%   71.24%   +0.11%
==========================================
  Files         146      146
  Lines       18347    18347
  Branches     2238     2238
==========================================
+ Hits        13050    13072      +22
+ Misses       4455     4433      -22
  Partials      842      842

Impacted Files
Coverage Δ

src/core/thread/mesh_forwarder.cpp
75.02% <ø> (+0.97%)
:arrow_up:

src/core/net/udp6.cpp
82% <0%> (-2%)
:arrow_down:

src/core/net/ip6.cpp
53.45% <0%> (-0.24%)
:arrow_down:

src/core/common/message.cpp
95.02% <0%> (+0.41%)
:arrow_up:

src/core/thread/mle_router.cpp
80% <0%> (+0.47%)
:arrow_up:

src/core/meshcop/dtls.cpp
89.23% <0%> (+1.02%)
:arrow_up:

examples/platforms/posix/random.c
100% <0%> (+15%)
:arrow_up:

Continue to review full report at Codecov.

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


logged-evaluation.nix: support additional servicesSrc argument

Context: we're in the process of adding support for services.nix, a nix file specifying long-running services that enable / support project development.
This PR contains 100% plumbing. There are zero user facing changes.
In order to evaluate services.nix without too much additional overhead, the idea is to coalesce, or batch, the evaluation. That is, if there is both a shell.nix and a services.nix, they should be evaluated by lorri using a single nix-instantiate subprocess whenever necessary.
This PR adds support for a servicesSrc argument to logged-evaluation.nix. If this argument is used, evaluating logged-evaluation.nix will result in two derivations, one for the shell and one for services. This is a first step towards supporting services.nix in addition to shell.nix.
Why not split this already large file into multiple files? I've decided to keep it all in logged-evaluation.nix because every additional file would have to be included in the Rust binary using its own include_str! (at least the way things are currently set up). This doesn't add all that much to logged-evaluation.nix so that seemed fine.

Merge conflict alert: this clashes with https://github.com/target/lorri/pull/253. Let's merge #253 first. I'm working on a branch rebased on top of #253 in the meantime.
This PR is good to be reviewed, but should not be merged.

Closing in favour of https://github.com/target/lorri/pull/257.


newer method to get gredentials for GoogleAuthorizeUtil

About https://www.baeldung.com/google-sheets-java-client
Seems like Google is promoting the google-auth-library-oauth2-http project for getting credentials. I see in libraries-data-2/src/main/java/com/baeldung/google/sheets/GoogleAuthorizeUtil.java another method is used.
You may consider updating to google-auth-library-oauth2-http approach. I have used like this:
import com.google.auth.oauth2.GoogleCredentials;
import com.google.auth.oauth2.AccessToken;
import com.google.auth.http.HttpCredentialsAdapter;

import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
import com.google.api.client.json.jackson2.JacksonFactory;

GoogleCredentials credentials = GoogleCredentials.fromStream(new FileInputStream("my-creds.json")).createScoped(SheetsScopes.SPREADSHEETS);

Sheets sheets = new Sheets.Builder(
          GoogleNetHttpTransport.newTrustedTransport(),
          JacksonFactory.getDefaultInstance(),
          new HttpCredentialsAdapter(credentials)).
          setApplicationName(APPLICATION_NAME).
          build();

hmm, actually you want a browser to get user permissions. I guess just different use case. Ignore.


HDDS-9893. Client in clientCache is not properly invalidated with security enabled

What changes were proposed in this pull request?
clientCache in XceiverClientManager hold the client created in XceiverClientManager. Client in clientCache will be invalidated by two ways,
one is the explicitly call XceiverClientManager#releaseClient for this client,
another is when the client in clientCache is not accessed for a predefined period of time.
When XceiverClientManager#releaseClient is called, it will invalidate the client based on the constructed cache key, where it doesn't match the key constructed when client is put into clientCache when security is enabled.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9893
How was this patch tested?
unit test

Thank you @adoroszlai for the review and merge.


Discvv5.1 - the latest spec updates

PR Description
Adopted the latest changes to Discv5.1 spec PR: https://github.com/ethereum/devp2p/pull/157 starting from commit d19fbe7b

Packet classes: fields reorg
Message encrypt/decrypt now requires maskingIV as a part of AES/GCM AD. That's why we need now to pull RawMessage.maskingIV till message decryption. This is done via additional Envelope field MASKING_IV
The whole WhoAreYou message is now mixed to id-signature input. We need to remember the challenge of outbound WhoAreYouPacket in the NodeSession to validate the next inbound HandshakePacket
WhoAreYou has no more src-node-id thus we need to find session via original-nonce (as it was in v5.0 with authTag)
Adopted the latest test vectors
Add a bit more type-safety to Envelope class

This is passing almost all of my tests except for PingHandshakeInterrupted
(2997d331417a5899) >> PING/v5
(2997d331417a5899) << WHOAREYOU/v5
(2997d331417a5899) >> PING/v5
(2997d331417a5899) << PONG/v5
-- OK Ping (340.6ms)
(d9ed6382e5798e98) >> PING/v5
(d9ed6382e5798e98) << WHOAREYOU/v5
(d9ed6382e5798e98) >> PING/v5
-- OK PingLargeRequestID (318.4ms)
(4ebd3ecca8e66336) >> PING/v5
(4ebd3ecca8e66336) << WHOAREYOU/v5
(4ebd3ecca8e66336) >> PING/v5
(4ebd3ecca8e66336) << PONG/v5
(4ebd3ecca8e66336) >> PING/v5
(4ebd3ecca8e66336) << WHOAREYOU/v5
got WHOAREYOU for new session as expected
(4ebd3ecca8e66336) >> PING/v5
(4ebd3ecca8e66336) << PONG/v5
(4ebd3ecca8e66336) >> PING/v5
(4ebd3ecca8e66336) << WHOAREYOU/v5
got WHOAREYOU for new session as expected
-- OK PingMultiIP (61.2ms)
(02addb7ed1f805fc) >> PING/v5
(02addb7ed1f805fc) << WHOAREYOU/v5
got WHOAREYOU for PING
(02addb7ed1f805fc) >> PING/v5
expected WHOAREYOU, got read udp <IP_ADDRESS>:57061: i/o timeout
-- FAIL PingHandshakeInterrupted (313.6ms)
(e1507f192949d7e8) >> TALKREQ/v5
(e1507f192949d7e8) << WHOAREYOU/v5
(e1507f192949d7e8) >> TALKREQ/v5
(e1507f192949d7e8) << TALKRESP/v5
(e1507f192949d7e8) >> TALKREQ/v5
(e1507f192949d7e8) << TALKRESP/v5
-- OK TalkRequest (58.6ms)
(17ba7d15e1069974) >> FINDNODE/v5
(17ba7d15e1069974) << WHOAREYOU/v5
(17ba7d15e1069974) >> FINDNODE/v5
(17ba7d15e1069974) << NODES/v5
-- OK FindnodeZeroDistance (64.8ms)
(9f5befb513dcd7c4) >> PING/v5
(94d089665a1f11dc) >> PING/v5
(66418e05cd479efa) >> PING/v5
(719166b5c811eed9) >> PING/v5
(ee2b7948e16f629f) >> PING/v5
(9f5befb513dcd7c4) << WHOAREYOU/v5
(9f5befb513dcd7c4) >> PING/v5
(94d089665a1f11dc) << WHOAREYOU/v5
(94d089665a1f11dc) >> PING/v5
(66418e05cd479efa) << WHOAREYOU/v5
(66418e05cd479efa) >> PING/v5
(719166b5c811eed9) << WHOAREYOU/v5
(719166b5c811eed9) >> PING/v5
(ee2b7948e16f629f) << WHOAREYOU/v5
(ee2b7948e16f629f) >> PING/v5
(9f5befb513dcd7c4) << PONG/v5
(94d089665a1f11dc) << PONG/v5
(66418e05cd479efa) << PONG/v5
(719166b5c811eed9) << PONG/v5
(ee2b7948e16f629f) << PONG/v5
(9f5befb513dcd7c4) << PING/v5
(9f5befb513dcd7c4) >> PONG/v5
bystander node 9f5befb513dcd7c41a5db3ce7d4d3a2bc69d650d2990182f17a4f2dd4959cd9c added to remote table
(94d089665a1f11dc) << PING/v5
(94d089665a1f11dc) >> PONG/v5
bystander node 94d089665a1f11dcc71e159d20ec7e5dd851d0ed7967eb09a5e5345b1c1416b3 added to remote table
(719166b5c811eed9) << PING/v5
(719166b5c811eed9) >> PONG/v5
bystander node 719166b5c811eed9bff72a30ca5e69f2a6be6a03ec123f00805b723fc0c4456a added to remote table
(66418e05cd479efa) << PING/v5
(66418e05cd479efa) >> PONG/v5
bystander node 66418e05cd479efa1371499d2f0fd9fb0ba0e5bd00e25232b854a89bb01ad1ef added to remote table
(ee2b7948e16f629f) << PING/v5
(ee2b7948e16f629f) >> PONG/v5
bystander node ee2b7948e16f629f812297db6d6069a64e0da11b4cc153b134161cd46ba77400 added to remote table
all 5 bystander nodes were added
(1320b97164e34053) >> FINDNODE/v5
(1320b97164e34053) << WHOAREYOU/v5
(1320b97164e34053) >> FINDNODE/v5
(1320b97164e34053) << NODES/v5
(1320b97164e34053) << NODES/v5
remote returned 5 nodes for distance list [254 256 255]
all 5 expected nodes were returned
(ee2b7948e16f629f) shutting down: read udp <IP_ADDRESS>:34121: use of closed network connection
(719166b5c811eed9) shutting down: read udp <IP_ADDRESS>:53478: use of closed network connection
(66418e05cd479efa) shutting down: read udp <IP_ADDRESS>:60398: use of closed network connection
(94d089665a1f11dc) shutting down: read udp <IP_ADDRESS>:33700: use of closed network connection
(9f5befb513dcd7c4) shutting down: read udp <IP_ADDRESS>:48154: use of closed network connection
-- OK FindnodeResults (1.5104s)
6/7 tests passed.

@fjl thanks for testing! Results look surprisingly good 👍
Will try reproducing the failed case locally and fix it

@fjl fixed the issue with latest commits

@fjl turned out that ephemeral public key was in uncompressed form. Curious why your tests don't catch this


Added initial version

This version is already fully functional and relies on the official bitballoon go client library.

LGTM

I'm one of the maintainers, we decided if the author is one of the maintainers another LGTM should be enough, merging.


check for license classifier exist

Hey!
Overview
Check for license in classifiers.
Changes

implement pyroma check for license in classifiers
add license classifier in tests data for unit tests

Have fun!

@regebro thanks for review!
Changes done!
I doesn't squash my commits for make new review easier, when your new review was done ping me and I'll squash my commits for clean history.

I think that this should go in "This is the list of checks that are currently performed:" in the README.

@adamtheturtle @regebro Adding license check in README.
Ask me if your want a rebase commits in single one commit when review was OK ;)

@regebro can you review this PR please

I guess that this should also go in HISTORY.txt.

@adamtheturtle done! ;)

Merged, thanks!


Feature/about

Made changes on the about text for alignment , space between and the text meaning  and the media query


Begin patching Cython

It compiles, but for some reason in some tests the server is receiving null call objects.

Before I go digging: would that be expected for streaming calls?


kubectl should accept --to-revision option

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
I want to patch an annotation of an older revision of a deployment
What you expected to happen:
I want to use this command to patch it
kubectl patch deployment mydeployment --patch '{"metadata": {"annotations": {"kubernetes.io/change-cause": "custom message"}}}' --namespace mynamespace --record=false
--to-revision 3
How to reproduce it (as minimally and precisely as possible):
There is nothing to reproduce
Anything else we need to know?:
Environment:

Kubernetes version: all-version

@helayoty, any news about this?

@rikatz @helayoty @lauchokyip, any feedback about this?

I want to patch an annotation of an older revision of a deployment

This data is pulled from the kubernetes.io/change-cause annotations in the replicasets for the deployment ... if you want to modify the change reason for one of them, you can patch the replicaset object directly.
I don't think it makes sense to add type-specific logic into a generic command like patch.

Yeah, I don't see kubectl patch getting a deployment-specific flag, but you can accomplish what you want using existing functionality in bash, like this:
kubectl patch replicaset "$(kubectl get replicasets -o jsonpath='{range .items[*]}{.metadata.ownerReferences[0].name}{" "}{.metadata.annotations.deployment\.kubernetes\.io/revision}{" "}{.metadata.name}{"\n"}{end}' | awk '$1 == "foo" && $2 == "2" {print $3}')" --patch '{"metadata": {"annotations": {"kubernetes.io/change-cause": "'"My Change Reason"'"}}}'

The above command gets the replicaset name for revision "2" of deployment "foo", and then patches the change cause to be "My Change Reason".
You might be able to simplify this somehow, but it shows how it can be done.
I'm going to close this issue, since there is a way to do this using existing functionality.


A lot of broken websites

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

Provide the following infos properly, which will help us to resolve your issue quickly.

Issues:

[ ] Whitelist
[ ] Blacklist
[ ] App Broken
[x] Website Broken
[ ] Request
[x] Other Issue

Pack:

Energized IP List Extension and Energized Regional Extension

Extension:

uBlock Origin

Domain:

A few examples: Github.com, KnowYourMeme, YouTube.com (with old layout), Languagetool.org, Pcgamingwiki.com, Ap-pro.ru, Crymods.net, Forum.worldofplayers.de and Worldofplayers.ru.

Details:

Any domain, which has 2 in its name or the name of any file on the website.

Seems to work fine here for me! Can you check the domain list if anything is being blocked? and report them here kindly.

I too have been facing problems in getting packages

New URLs of the packs have been added. Updated via those URLs.

@AdroitAdorKhan From what I remember, it probably happens only on the Iridium and Ungoogled, but I'm not sure, since it was a very long time, since I posted this issue, and meanwhile I have removed the filters.
Can you tell me, which versions of which ones should I download? There are too many of them, and the links for them on the Filterlist doesn't work.

@AdroitAdorKhan The problem with the /2 filter is back, and it mainly happens on the Iridium and Ungoogled, which I use as a main browser, currently. It's only in the Energized IP List only thou.

@AdroitAdorKhan  It seems that it was fixed meanwhile (along with the other filter problems, which I had), so thanks!


key remap not working

I'm testing with 2 servers
root:
  listen: <IP_ADDRESS>:16378
  hash: fnv1a_64
  distribution: ketama
  preconnect: true
  timeout: 5000
  auto_eject_hosts: true
  server_retry_timeout: 30000
  server_failure_limit: 2
  redis: true
  servers:
   - <IP_ADDRESS>:6379:1 server1
   - xxxx.com:6379:1 server2

I add key 'aaa' with some value and then I check with redis-cli which one of both servers have the key 'aaa' and then I stop the target server. At twemproxy I try get the key 'aaa' which return connection dropped and then in the next get key request returns null, is ok.
Then I set the key 'aaa' again with some other value and then I start the other server, twemproxy shows the key 'aaa' new value until it reconnects to the server I stopped and then start showing the key 'aaa' first value. It should not remap this key 'aaa' to the last server I set the key value?

this is the feature of consistency hash algorithm.


Running on Windows fails silently due to certificate verification problem

Trying to get dwdweather 0.11.1 running on Python 3.7.4.
Problem:
Issuing the command
dwdweather weather 02667 20190717T11 --resolution hourly --categories air_temperature
leads to
2020-01-07 16:33:48,803 [dwdweather.client   ] INFO   : Requesting https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/recent
2020-01-07 16:33:48,928 [dwdweather.client   ] WARNING: Station "2667" has no data for category "air_temperature"
The issue is also present when importing DwdWeather in python using the minimal example in the readme.
I tracked the problem to the client.py. For some reason the find_resource_file function in get_measurements  gets stuck in the try block, but there is no Error raised.
https://github.com/panodata/dwdweather2/blob/37426b85f89babd7e5b6e7c3f5d0c69ad0ea12e4/dwdweather/client.py#L129

Dear @bakunin75,
we have been running dwdweather2 on Python 3.7.4 and it worked well so far. Invoking the command you outlined above gives us:
$ dwdweather weather 02667 20190717T11 --resolution hourly --categories air_temperature
2020-01-07 23:00:43,306 [dwdweather.client   ] INFO   : Acquiring dataset for resolution "hourly" from "https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly"
2020-01-07 23:00:43,309 [dwdweather.core     ] INFO   : Using cache database /Users/amo/.dwd-weather/dwdweather2.db
2020-01-07 23:00:43,310 [dwdweather.commands ] INFO   : Querying data for station "2667" and categories "['air_temperature']" at "2019-07-17 11:00:00"
2020-01-07 23:00:43,315 [dwdweather.core     ] INFO   : Downloading measurements for station 2667 and timeranges ['recent']
2020-01-07 23:00:43,315 [dwdweather.core     ] INFO   : Station information: null
2020-01-07 23:00:43,315 [dwdweather.core     ] INFO   : Downloading "air temperature" data (TU)
2020-01-07 23:00:43,315 [dwdweather.client   ] INFO   : Requesting https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/recent
2020-01-07 23:00:43,541 [dwdweather.client   ] INFO   : Fetching resource https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/recent/stundenwerte_TU_02667_akt.zip
2020-01-07 23:00:43,590 [dwdweather.client   ] INFO   : Reading from Zip: produkt_tu_stunde_20180706_20200106_02667.txt
2020-01-07 23:00:43,595 [dwdweather.core     ] INFO   : Importing measurements for station "2667" and category "{'key': 'TU', 'name': 'air_temperature'}"
2020-01-07 23:00:43,595 [dwdweather.core     ] INFO   : Importing "air temperature" data from "https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/recent/stundenwerte_TU_02667_akt.zip/produkt_tu_stunde_20180706_20200106_02667.txt"
100%|██████████████████████████████████| 13202/13202 [00:04<00:00, 2701.92it/s]
{
    "airtemp_humidity": 68.0,
    "airtemp_quality_level": 3,
    "airtemp_temperature": 17.7,
    "cloudiness_quality_level": null,
    "cloudiness_source": null,
    "cloudiness_total_cover": null,
    "datetime":<PHONE_NUMBER>,
    "precipitation_fallen": null,
    "precipitation_form": null,
    "precipitation_height": null,
    "precipitation_quality_level": null,
    "pressure_normalized": null,
    "pressure_quality_level": null,
    "pressure_station": null,
    "soiltemp_quality_level": null,
    "soiltemp_temperature_002": null,
    "soiltemp_temperature_005": null,
    "soiltemp_temperature_010": null,
    "soiltemp_temperature_020": null,
    "soiltemp_temperature_050": null,
    "soiltemp_temperature_100": null,
    "solar_atmosphere": null,
    "solar_duration": null,
    "solar_end_of_interval": null,
    "solar_global": null,
    "solar_quality_level": null,
    "solar_sky": null,
    "solar_zenith": null,
    "station_id": 2667,
    "sun_duration": null,
    "sun_quality_level": null,
    "visibility_quality_level": null,
    "visibility_source": null,
    "visibility_value": null,
    "wind_direction": null,
    "wind_quality_level": null,
    "wind_speed": null
}

You might want to add the --reset-cache option or drop the cache database manually in order to check if this has anything to do with.
With kind regards,
Andreas.
[1] https://github.com/panodata/dwdweather2/issues/7#issuecomment-549464844

I tracked the problem to the client.py. For some reason the find_resource_file function in get_measurements gets stuck in the try block, but there is no Error raised.

These observation could also indicate there might be network connectivity problems?

Thanks for the replies. I'm curious, which OS are you running on?
Upon further investigation, I tracked the problem to the following call:
response = self.http.get(uri + u'/')
I created a minimal example (windows).
from requests_cache import CachedSession
from bs4 import BeautifulSoup
import os

APP_NAME = "dwdweather2"
APP_VERSION = "0.11.1"

cache_name = os.path.join(os.getenv("APPDATA"),"dwdcache", "dwd_cache")

http = CachedSession(
    backend="sqlite",
    cache_name=cache_name,
    expire_after=300,
    user_agent=APP_NAME + "/" + APP_VERSION,
)

baseurl = "https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/recent"
extension = "zip"
response = http.get(baseurl + u"/",verify=True)
content = response.content

soup = BeautifulSoup(content, "html.parser")
ret_list = [
    baseurl + "/" + node.get("href")
    for node in soup.find_all("a")
    if node.get("href").endswith(extension)
]

This one throws
OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
When setting verify=False (which you wouldn't want) the requests runs through and prints the expected list of zip files.

I'm curious, which OS are you running on?

I am running macOS 10.13.6.

certificate verify failed

Strange thing. Maybe some certificates are missing or it is really about connectivity woes on your side? Will you be able to check using a different internet uplink if you get the chance to?

Strange thing. Maybe some CA certificates are not properly installed on your machine or it is really about connectivity woes on your side. Will you be able to check using a different internet uplink if you get the chance to?
I will try that, but probably don't get the chance until the weekend. It's possible that some company firewall/proxy or whatever is causing this problem.

If not this issue may be linked to https://github.com/pyca/pyopenssl/issues/823 (see first reply), but I can't work that into my minimal example. I wonder if anyone has ever run this module successfully on windows before?

Btw the dwdbulk package mentioned in https://github.com/panodata/dwdweather2/issues/22#issue-546569328 suffers from the same SSL issue on windows (which is not supported anyways).
I've tested both modules on a linux VM and either works fine. So probably won't investigate further on the windows front and just stick to linux..

Dear @bakunin75,
thanks for your answer. While I was thinking about closing this issue, I believe we should keep it open for a while. This error really should not silently swallow the issue with certificate verification.
For all others running the same thing: As requests_cache's CachedSession does not accept the verify argument, you might want to set it at runtime within DwdCdcClient.setup_cache like
self.http.verify = False

in order to work around that problem.
With kind regards,
Andreas.

So probably won't investigate further on the windows front and just stick to Linux.

All right, thanks!


Mesh Simplification porting to babylon JS

The mesh simplification is now a part of the framework. A
meshSimplification file was added, including an ISimplifier interface
and a SimplificationType enum that will allow further implementations of
simplifications.
Mesh now has a "simplify" function that receives a list of
SimplificationSettings (containing quality and distance for LOD) and add
them to the LOD list of the mesh.
The implementation allows using the simplification outside the mesh, if
needed somewhere else (it can be used to async clone a mesh, if quality
is set to 1.0, for example).
First commit, hopefully no typos or errors. Was tested locally.

Awesome!!!
Could you please add a new wiki page to document your great feature? (including a small sample on the playground)
Thank you so much!

So great being a (small) part of this awesome project :-)
Sure, I'll work on a wiki page today, let me know when the playground is updated so I can test it there and save an example.

Done :) I also did a small code cleanup :)

https://github.com/BabylonJS/Babylon.js/wiki/Auto-LOD---In-Browser-Mesh-simplification
After the cleanup, the call to executeNext needs to be added wherever I am using AsyncLoop, otherwise it won't run :-)
I'll add it and send a PR.

https://github.com/BabylonJS/Babylon.js/pull/368

Let me know when you update the playground, I'll finish the tutorial with some examples :-)

It's online :D


flyTo() events now firing only when appropiate.

Should fix #3134, even if the code is a tiny bit hackish IMHO.

Thanks! I rewrote the confusing logic in _resetView in #3278, I guess we need to coordinate the changes before I can merge this. Can you look at that PR and see if those changes make sense?

Let me rebase this into events-refactor and see how much stuff breaks down.

@IvanSanchez it will probably be easier to review the changes before rebasing, the latter would get confusing without background.

Not needed once #3278 gets merged, events are fired as expected in the events-refactor branch.


schematics: inputs should be sanitized

🐞 Bug report
Description
The inputs for the schematics to create a post or markdown should be sanitized.
🔬 Minimal Reproduction
The following command generated a new post as /blog/first/post.md, the post will not be found in this case.
ng g @scullyio/init:post --name="first/post"

A similar thing happens to the markdown schematic, this command creates invalid JSON in the config:
ng g @scullyio/init:markdown --name=my-test! --slug=my-test!

exports.config = {
  projectRoot: "./src/app",
  routes: {
    '/my-test!/:my-test!': {
      type: 'contentFolder',
      my-test!: {
        folder: "./my-test!"
      }
    }
  }
};

💻Your Environment
Angular Version:

Latest

Scully Version:

Latest

🔥 Exception or Error

https://github.com/scullyio/scully/issues/23 should face this issue. I created some more tests check the options will be dasherized / camelized / normalized

But I checked it again: special chars like "!" will still be kept. They should be filtered.

I think replacing all special chars except _ should be used additionally for dasherized and camelized parts:
const final = original.replace(/^[a-z0-9\-]$/g);

And replacing all special chars except / and - should be used additionally for the route parts parts:
const final = original.replace(/^[a-z0-9\-]$/g);


Zip Slip Vulnerability Fix

Is there a fix for the Zip Slip Vulnerability?
When there is, what would be the best way to apply it to affected machines?
https://github.com/snyk/zip-slip-vulnerability

As your link points out, it was fixed in 0.21 in this contributed pull request: https://github.com/adamhathcock/sharpcompress/pull/374

It appears that several products are using outdated versions of the DLL. Sorry for the confusion.