Cloud statistics continually logs 'Completed' warning after Stack rename

Hi,
Renaming a Stack while agents where active seems to have resulted in perpetual logging of warnings to Cloud Statistics.
java.lang.IllegalArgumentException: 'myXYZStack.com' is not an OpenStack cloud but null
	at jenkins.plugins.openstack.compute.JCloudsCloud.getByName(JCloudsCloud.java:104)
	at jenkins.plugins.openstack.compute.internal.DestroyMachine.dispose(DestroyMachine.java:50)
	at jenkins.plugins.openstack.compute.JCloudsSlave$RecordDisposal.dispose(JCloudsSlave.java:393)
	at org.jenkinsci.plugins.resourcedisposer.AsyncResourceDisposer$WorkItem.run(AsyncResourceDisposer.java:287)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Even by renaming the Stack back to the original entry dosnt make it happy.  Is there any way to stop this WARNING logging?  It is not affecting agent provisioning but it makes the Cloud Statistics hard to scroll through and I guess it will grow perpetually.
Any help appreciated!

Hmm, are those added as further and further attachments to the same provisioning attempt while still being tracked as disposables? That might easily grow on forever...

Reflecting the rename is tricky as cloud config update replaces set of clouds with another so telling simultanious addition and removal from rename is generally ambiguous. Though I guess there is a way for the JCloudsSlave.RecordDisposal's to take less-frequently-mutated handle to a cloud instance (like url+project) and in case it gets gone, it will stop tracking the VMs.

Looks like further attachments

I guess the Cloud Stats eventually rotates so it should stop displaying?

@eoghankennedy, it will iff they are considered completed - which I am not sure of from the picture.

Which reminds me, you should be able to manually discard the problematic disposables so the plugin will no longer attempt to delete it. See: https://wiki.jenkins.io/display/JENKINS/Resource+Disposer+Plugin

I believe all the entries are 'Completed' so I'll reply if they don't fall off.
The discard plugin looks useful.  I'll give that go.  Thanks for your help.

Cool, thanks!


Can't send token to others

At first, there was no problem sending, but then the error kept popping up.
like "The application is not able to complete the request, due to the following error: Failed to issue transaction TransactionID(random ID like 499A5R6ra31bNbtyiAuKM1TYEBxqspRB36GBqwkCJWyC ): tips could not be selected: not able to make sure that all inputs are in the past cone of selected tips"
I tried restarting the machine or waiting for three hours, but the problem still occurred.
Device : win10 21H1
software: 0.7.0

Have the same problem since 4 days:

Same Problem on cli-wallet:
Sending funds...
ERROR:
bad request: Failed to issue transaction TransactionID(A2eVda1N4V4gGHuxW342CtrAmpehG4x3KAdjdSK7kwxE): tips could not be selected: not able to make sure that all inputs are in the past cone of selected tips


NPT Flutter for publishing

Get NPT Flutter ready for publishing to app and Microsoft store.

[ ] Microsoft Store
[ ] App Store

Duplicate ticket.


Unexplained Error Status

We have been running burrow and publishing its logs into kibana, where we are using a tool called elastalert to alert off of them. However, we are getting what appear to me to be a number of false positives that I do not understand. Here are two examples:

The first row is an example of a log that seems to have had a few logs come in over the time window, and has consumed them (because end log lag is zero).
The second row is an example of a log which has had no logs come in over the time window, but remains caught up at end_log_lag zero.
Yet both of these  appear to have a status of "ERR".  By the first rule in your "Consumer Lag Evaluation Section":If any lag within the window is zero, the status is considered to be OK. , shouldn't these rows be marked status: ok ??
Here are the full log lines produced by burrow:
2016/08/26 14:34:48 ;source_timestamp=2016-08-26T14:34:48Z;cluster=local;consumer_group=cd-changeevent-consumer;error=false;status=ERR;complete=true;lag_type=Partition;topic=directory-users-processed;partition=0;partition_status=STOP;start_log_offset=124848;start_log_timestamp=1469311346327;start_log_lag=0;end_log_offset=124857;end_log_timestamp=1469311386135;end_log_lag=0;

2016/08/26 14:34:48 ;source_timestamp=2016-08-26T14:34:48Z;cluster=local;consumer_group=cd-changeevent-consumer;error=false;status=ERR;complete=true;lag_type=Partition;topic=directory-orgunits-change-feed;partition=0;partition_status=OK;start_log_offset=23;start_log_timestamp=1472219388000;start_log_lag=0;end_log_offset=23;end_log_timestamp=1472222088000;end_log_lag=0;

Why might this happen??
Thank you!!

If a consumer evaluates to ERR on a PARTICULAR topic, say, for instance, one that it consumed from a long time ago, but has since been decomissioned, will that error status stick to the consumer group, even if it is consuming from other topics correctly??

So those consumers are marked as ERR because they are stopped for at least one partition. That means that they have not committed an offset at all for an extended period of time. The lag for a consumer's partition is calculated on offset commit, so it's entirely possible that the current broker offset is ahead of the last committed offset, and therefore there is lag. This is a problem with the current method of calculating lag.
And yes, if there is a problem with a single partition, then the consumer group is in a bad state.

Hmm well in the case that we have decomissioned a topic that we once consumed from, is there a way to reset our consumer group such that burrow no longer looks at those topics?? It will always be marked stopped on partitions in those topics, because we no longer use them :/

Yes, you can use the API to delete the consumer group from Burrow. If the consumer is active, it will immediately be recreated and start populating lag information again with only the topics that it is currently consuming.


Windows Server 2019 Errors on -FirstRun

I am attempting to run the script on a Windows Server 2019 Standard which has nothing more than WSUS, Microsoft SQL Server 2019  and the supported tools. The default PowerShell installed is 5.1, I attempted to use the latest of version 6 as well but have similar issues.
IISAdminiistration won't install with the following error;
PS C:\Users\char\Desktop> Install-Module Name IISAdministration
Install-Module : A positional parameter cannot be found that accepts argument 'IISAdministration'.
At line:1 char:1
+ Install-Module Name IISAdministration
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Install-Module], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Install-Module

SqlServer won't install with the following error;
PS C:\Users\char\Desktop> Install-Module -Name SqlServer

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): a
PackageManagement\Install-Package : The following commands are already available on this system:'Add-SqlAvailabilityDat
abase,Add-SqlAvailabilityGroupListenerStaticIp,Add-SqlFirewallRule,Backup-SqlDatabase,ConvertFrom-EncodedSqlName,Conver
tTo-EncodedSqlName,Convert-UrnToPath,Disable-SqlAlwaysOn,Enable-SqlAlwaysOn,Get-SqlCredential,Get-SqlDatabase,Get-SqlIn
stance,Get-SqlSmartAdmin,Invoke-PolicyEvaluation,Invoke-Sqlcmd,Join-SqlAvailabilityGroup,New-SqlAvailabilityGroup,New-S
qlAvailabilityGroupListener,New-SqlAvailabilityReplica,New-SqlBackupEncryptionOption,New-SqlCredential,New-SqlHADREndpo
int,Remove-SqlAvailabilityDatabase,Remove-SqlAvailabilityGroup,Remove-SqlAvailabilityReplica,Remove-SqlCredential,Remov
e-SqlFirewallRule,Restore-SqlDatabase,Resume-SqlAvailabilityDatabase,Save-SqlMigrationReport,Set-SqlAuthenticationMode,
Set-SqlAvailabilityGroup,Set-SqlAvailabilityGroupListener,Set-SqlAvailabilityReplica,Set-SqlCredential,Set-SqlHADREndpo
int,Set-SqlNetworkConfiguration,Set-SqlSmartAdmin,Start-SqlInstance,Stop-SqlInstance,Suspend-SqlAvailabilityDatabase,Sw
itch-SqlAvailabilityGroup,Test-SqlAvailabilityGroup,Test-SqlAvailabilityReplica,Test-SqlDatabaseReplicaState,Test-SqlSm
artAdmin'. This module 'SqlServer' may override the existing commands. If you still want to install this module
'SqlServer', use -AllowClobber parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:1809 char:21
+ ...          $null = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
   Exception
    + FullyQualifiedErrorId : CommandAlreadyAvailable,Validate-ModuleCommandAlreadyAvailable,Microsoft.PowerShell.Pack
   ageManagement.Cmdlets.InstallPackage

Lastly, running the script anyway returns errors on most entries, the full run is at the following link;
https://pastebin.com/f9EBS6Cn

So tinkering some more, I did manage to get the SqlServer installed on PS 5.1, only by being in an Admin window. I still can't get it working in PS 6, not sure why... but I have been able to run the package fully this time on PS 5.1.


webhooks/gosquared: Support chat message events.

Unfortunately, there is no good way to infer the event type of the payload except the attributes that the payload happens to contain. :/

@timabbott: FYI :)

OK.  Merged.


Update Denmark holidays: add holiday categories

Proposed change

Update Denmark holidays (add optional holidays).
Closes #1553.
Type of change

[ ] New country/market holidays support (thank you!)
[x] Supported country/market holidays update (calendar discrepancy fix, localization)
[ ] Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
[ ] Dependency update (version deprecation/upgrade)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (a code change causing existing functionality to break)
[ ] New feature (new python-holidays functionality in general)

Checklist

[x] I've followed the contributing guidelines
[x] I've added references to all holidays information sources used in this PR
[x] The code style looks good: make pre-commit command generates no changes
[x] All tests pass locally: make test, make tox (we strongly encourage adding tests to your code)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.978%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
10246

Relevant Lines:
10246

💛  - Coveralls


fabric1.1.0 Cannot read property 'getConnectivityState' of undefined Join channel failed

beans-MacBook-Pro:caliper bean$ npm install<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>updated 2 packages in 5.893s
beans-MacBook-Pro:caliper bean$ cd benchmark/simple/
beans-MacBook-Pro:simple bean$ ls
config-composite-rate.json	config-sawtooth.json		fabric-remote.json		main.js				sawtooth.json
config-fabric.json		config-zookeeper.json		fabric.json			open.js
config-iroha.json		config.json			iroha.json			query.js
beans-MacBook-Pro:simple bean$ node main.js -c config-fabric.json -n fabric.json
TAP version 13
docker-compose -f network/fabric/simplenetwork/docker-compose.yaml up -d
Creating orderer.example.com ... done
Creating ca_peerOrg1         ... done
Creating ca_peerOrg2         ... done
Creating couchdb             ... done
Creating peer0.org1.example.com ... done
Creating peer0.org2.example.com ... done
Creating peer1.org2.example.com ... done
Creating peer1.org1.example.com ... done
create mychannel......
ok 1 created mychannel successfully
Sleep 5s......
Join channel......
join mychannel
not ok 2 Failed to join peers, TypeError: Cannot read property 'getConnectivityState' of undefined at EventHub._checkConnection (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/fabric-client/lib/EventHub.js:479:39) at EventHub.registerBlockEvent (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/fabric-client/lib/EventHub.js:658:8) at Promise (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:140:20) at new Promise () at eventhubs.forEach (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:137:29) at Array.forEach () at Client.newDefaultKeyValueStore.then.then.then.then (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:136:19) at
operator: fail
at: channels.reduce.then.catch (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:216:19)
stack: |-
Error: Failed to join peers, TypeError: Cannot read property 'getConnectivityState' of undefined
at EventHub._checkConnection (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/fabric-client/lib/EventHub.js:479:39)
at EventHub.registerBlockEvent (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/fabric-client/lib/EventHub.js:658:8)
at Promise (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:140:20)
at new Promise ()
at eventhubs.forEach (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:137:29)
at Array.forEach ()
at Client.newDefaultKeyValueStore.then.then.then.then (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:136:19)
at
at Test.assert [as _assert] (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/tape/lib/test.js:224:54)
at Test.bound [as _assert] (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/tape/lib/test.js:76:32)
at Test.fail (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/tape/lib/test.js:317:10)
at Test.bound [as fail] (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/tape/lib/test.js:76:32)
at channels.reduce.then.catch (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:216:19)
at
fabric.init() failed, Error: Fabric: Join channel failed
at channels.reduce.then.catch (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/fabric/join-channel.js:217:31)
at
not ok 3 TypeError: Cannot read property 'getUpdates' of undefined
operator: error
expected: |-
undefined
actual: |-
[TypeError: Cannot read property 'getUpdates' of undefined]
at: process.onetime (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/tape-promise/node_modules/onetime/index.js:22:12)
stack: |-
TypeError: Cannot read property 'getUpdates' of undefined
at update (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/gui/src/demo.js:145:26)
at Object.demoStopWatch [as stopWatch] (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/gui/src/demo.js:185:5)
at startPromise.then.then.then.then.then.then.catch (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/src/comm/bench-flow.js:347:18)
at
/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/fabric-client/lib/EventHub.js:308
if(self._stream) state = self.stream.call.channel.getConnectivityState();
TypeError: Cannot read property 'getConnectivityState' of undefined
at ClientDuplexStream. (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/fabric-client/lib/EventHub.js:308:56)
at emitOne (events.js:116:13)
at ClientDuplexStream.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at ClientDuplexStream.Readable.push (_stream_readable.js:208:10)
at Object.onReceiveMessage (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/grpc/src/client_interceptors.js:1302:19)
at InterceptingListener.recvMessageWithContext (/Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/grpc/src/client_interceptors.js:629:19)
at /Users/bean/Developer/gopath/src/github.com/hyperledger/caliper/node_modules/grpc/src/client_interceptors.js:728:14

It's a problem caused by the newest grpc library.
You can  install<EMAIL_ADDRESS>manually (using npm install<EMAIL_ADDRESS>and try again.


add holidays from maldives

Hi there, I'm closing this one as I already saw 2 other Maldives PRs. Perhaps you could help one those PRs instead? Thanks for you help!


[Issue:4753] Add encryption docs to Functions develop

Signed-off-by: xiaolong.ran<EMAIL_ADDRESS>Fixes #4753
Motivation
The encryption section in the Functions develop chapter is missing.
Modifications

Add encryption docs to Functions develop

@sijie @Jennifer88huang PTAL, thanks.

run integration tests
run java8 tests

run java8 tests

I don't think that's what the original github issue asks for. The original issue asks for the documentation around security especially secrets (https://github.com/apache/pulsar/tree/master/pulsar-functions/secrets) in the development of functions. It is not about security in the function worker.

Thanks @sijie clarification, will fix it.


Use shaders for Face calculation

Implementation of #10 #15 tasks.
Details on StackExchange.
Store coefficients of Face in textures. Use one texture per face fragment (nose, cheeks etc.).

Done in https://github.com/char-lie/mfm/compare/48391463be8e41d6f931da468b22eeef9449d541...c1617c785e5257e48a344ada0f59baf645f9100b


Exception 'Invalid parameter not satisfying: characteristic != nil'

Exception 'Invalid parameter not satisfying: characteristic != nil' was thrown while invoking print on target RNZebraBluetoothPrinter with params (
"^XA^FX Top section with company logo, name and address.^CF0,60^FO50,50^GB100,100,100^FS^ FO75,75 ^ FR ^ GB100, 100, 100 ^ FS^ FO88, 88 ^ GB50, 50, 50 ^ FS ^XZ",
15018,
15019
)

@GeekyAnts please help me with this issue


Shell minor changes

Added support for using SHELL_CMD_ARG() with 0 mandatory arguments.
Macro SHELL_CMD_ARG was not supporting 0 mandatory case as this value was used to disable argument precheck when  SHELL_CMD macro was used.
Added invalid value that is used to indicate that argument  count precheck is disabled.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #11620   +/-   ##
=======================================
  Coverage   48.22%   48.22%
=======================================
  Files         279      279
  Lines       43285    43285
  Branches    10357    10357
=======================================
  Hits        20875    20875
  Misses      18270    18270
  Partials     4140     4140

Impacted Files
Coverage Δ

subsys/shell/shell_cmds.c
64.13% <ø> (ø)
:arrow_up:

include/shell/shell.h
100% <ø> (ø)
: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 2d6a226...341e6f3. Read the comment docs.


Adds CODEOWNERS file

Context: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
I also updated branch protection to require code owner reviews: https://github.com/tablelandnetwork/table-nft-renderer/settings/branch_protection_rules/30495554

@awmuncy there's a weird vercel error here 🤷🏻


Round three of erroneous shard removal

Supersedes #468
This switches to a rolling window approach; removing only the shards that have not been built in a span of time (1 year to start).  This approach will only remove "inactive" shards, and give additional times for more active shards to setup periodic builds.
Setting up Periodic builds

TravisCI - https://docs.travis-ci.com/user/cron-jobs/
GH Actions - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#scheduled-events-schedule
CircleCI - https://circleci.com/docs/2.0/configuration-reference/#schedule
DroneCI - https://blog.drone.io/drone-1/#cron-scheduling
GitLab - https://docs.gitlab.com/ee/user/project/pipelines/schedules.html

Shards To Be Removed
The following shards have not had a build in the last 1 year.  Please setup a periodic build if your project is still maintained, otherwise just ignore this.
https://github.com/0x73/hoop - @0x73
https://github.com/CodeSteak/Nuummite - @CodeSteak
https://github.com/DanSnow/crystal-binary_parser - @DanSnow
https://github.com/EvanHahn/crystal-helmet - @EvanHahn
https://github.com/SuperPaintman/request-id - @SuperPaintman
https://github.com/SuperPaintman/crystal-ctags - @SuperPaintman
https://github.com/SuperPaintman/serve - @SuperPaintman
https://github.com/SuperPaintman/response-time - @SuperPaintman
https://github.com/SuperPaintman/ms - @SuperPaintman
https://github.com/TPei/progress_bar.cr - @TPei
https://github.com/TamasSzekeres/asound-cr - @TamasSzekeres
https://github.com/TamasSzekeres/cairo-cr - @TamasSzekeres
https://github.com/TamasSzekeres/x11-cr - @TamasSzekeres
https://github.com/TobiasGSmollett/hash_ring - @TobiasGSmollett
https://github.com/TobiasGSmollett/fluent-logger-crystal - @TobiasGSmollett
https://github.com/abvdasker/crystal-linked-list - @abvdasker
https://github.com/akiicat/m3u8 - @akiicat
https://github.com/anicholson/gopher.cr - @anicholson
https://github.com/beanieboi/aws-signer.cr - @beanieboi
https://github.com/benoist/terminal_table.cr - @benoist
https://github.com/blocknotes/kemal-rest-api - @blocknotes
https://github.com/comandeo/crystal-memcached - @comandeo
https://github.com/comandeo/syslog.cr - @comandeo
https://github.com/crystal-lang/html_builder - @crystal-lang
https://github.com/danielpclark/keyer_cr - @danielpclark
https://github.com/dhruvrajvanshi/crystal-futures - @dhruvrajvanshi
https://github.com/diggersheep/warden - @diggersheep
https://github.com/dlanileonardo/sendgrid.cr - @dlanileonardo
https://github.com/emancu/crotest - @emancu
https://gitlab.com/ezrast/crometheus - @ezrast
https://github.com/faustinoaq/watcher - @faustinoaq
https://github.com/faustinoaq/sentry-run - @faustinoaq
https://github.com/faustinoaq/kemal-watcher - @faustinoaq
https://github.com/fazibear/tensorflow.cr - @fazibear
https://github.com/felipeelias/crystal-github - @felipeelias
https://github.com/gdonald/blackjack-cr - @gdonald
https://github.com/geppetto-apps/crow - @geppetto-apps
https://github.com/gewo/bugsnag.cr - @gewo
https://github.com/icyleaf/wasp - @icyleaf
https://github.com/isaced/pangu.cr - @isaced
https://github.com/izniburak/denetmen - @izniburak
https://github.com/izniburak/query-builder - @izniburak
https://github.com/izniburak/turkish-number - @izniburak
https://github.com/jeromegn/bson.cr - @jeromegn
https://github.com/johnjansen/clamp - @johnjansen
https://github.com/kemalyst/kemalyst-generator - @kemalyst
https://github.com/luislavena/radix - @luislavena
https://github.com/maiha/redis-tsv.cr - @maiha
https://github.com/maiha/hq.cr - @maiha
https://github.com/marceloboeira/bojack - @marceloboeira
https://github.com/measurechina/eventql-crystal - @measurechina
https://github.com/metaware/flipper - @metaware
https://github.com/mjago/soundfile - @mjago
https://github.com/mosop/cli - @mosop
https://github.com/mosop/optarg - @mosop
https://github.com/obsidian/oak - @obsidian
https://github.com/philnash/envyable.cr - @philnash
https://github.com/phoffer/inflector.cr - @phoffer
https://github.com/rhysd/Crisp - @rhysd
https://github.com/rogeriozambon/http-protection - @rogeriozambon
https://github.com/sdogruyol/tren - @sdogruyol
https://github.com/sdogruyol/cryload - @sdogruyol
https://github.com/splattael/libnotify.cr - @splattael
https://github.com/topaz-crystal/topaz - @topaz-crystal
https://github.com/unn4m3d/cppize - @unn4m3d
https://github.com/veelenga/play-crystal.el - @veelenga
https://github.com/vjdhama/crystal-cookbook - @vjdhama
https://github.com/westonganger/form_builder.cr - @westonganger
https://github.com/z64/openssl.cr - @z64

abvdasker/crystal-linked-list had new commits about a month ago. Would it
be possible to keep it?
On Mon, Mar 23, 2020 at 11:40 AM George Dietrich<EMAIL_ADDRESS>wrote:

Shards To Be Removed
The following shards have not had a build in the last 1 year. Please setup
a periodic build if your project is still maintained, otherwise just ignore
this.
https://github.com/0x73/hoop - @0x73 https://github.com/0x73
https://github.com/CodeSteak/Nuummite - @CodeSteak
https://github.com/CodeSteak
https://github.com/DanSnow/crystal-binary_parser - @DanSnow
https://github.com/DanSnow
https://github.com/EvanHahn/crystal-helmet - @EvanHahn
https://github.com/EvanHahn
https://github.com/SuperPaintman/request-id - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/crystal-ctags - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/serve - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/response-time - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/ms - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/TPei/progress_bar.cr - @TPei https://github.com/TPei
https://github.com/TamasSzekeres/asound-cr - @TamasSzekeres
https://github.com/TamasSzekeres
https://github.com/TamasSzekeres/cairo-cr - @TamasSzekeres
https://github.com/TamasSzekeres
https://github.com/TamasSzekeres/x11-cr - @TamasSzekeres
https://github.com/TamasSzekeres
https://github.com/TobiasGSmollett/hash_ring - @TobiasGSmollett
https://github.com/TobiasGSmollett
https://github.com/TobiasGSmollett/fluent-logger-crystal -
@TobiasGSmollett https://github.com/TobiasGSmollett
https://github.com/abvdasker/crystal-linked-list - @abvdasker
https://github.com/abvdasker
https://github.com/akiicat/m3u8 - @akiicat https://github.com/akiicat
https://github.com/anicholson/gopher.cr - @anicholson
https://github.com/anicholson
https://github.com/beanieboi/aws-signer.cr - @beanieboi
https://github.com/beanieboi
https://github.com/benoist/terminal_table.cr - @benoist
https://github.com/benoist
https://github.com/blocknotes/kemal-rest-api - @blocknotes
https://github.com/blocknotes
https://github.com/comandeo/crystal-memcached - @comandeo
https://github.com/comandeo
https://github.com/comandeo/syslog.cr - @comandeo
https://github.com/comandeo
https://github.com/crystal-lang/html_builder - @crystal-lang
https://github.com/crystal-lang
https://github.com/danielpclark/keyer_cr - @danielpclark
https://github.com/danielpclark
https://github.com/dhruvrajvanshi/crystal-futures - @dhruvrajvanshi
https://github.com/dhruvrajvanshi
https://github.com/diggersheep/warden - @diggersheep
https://github.com/diggersheep
https://github.com/dlanileonardo/sendgrid.cr - @dlanileonardo
https://github.com/dlanileonardo
https://github.com/emancu/crotest - @emancu https://github.com/emancu
https://gitlab.com/ezrast/crometheus - @ezrast https://github.com/ezrast
https://github.com/faustinoaq/watcher - @faustinoaq
https://github.com/faustinoaq
https://github.com/faustinoaq/sentry-run - @faustinoaq
https://github.com/faustinoaq
https://github.com/faustinoaq/kemal-watcher - @faustinoaq
https://github.com/faustinoaq
https://github.com/fazibear/tensorflow.cr - @fazibear
https://github.com/fazibear
https://github.com/felipeelias/crystal-github - @felipeelias
https://github.com/felipeelias
https://github.com/gdonald/blackjack-cr - @gdonald
https://github.com/gdonald
https://github.com/geppetto-apps/crow - @geppetto-apps
https://github.com/geppetto-apps
https://github.com/gewo/bugsnag.cr - @gewo https://github.com/gewo
https://github.com/icyleaf/wasp - @icyleaf https://github.com/icyleaf
https://github.com/isaced/pangu.cr - @isaced https://github.com/isaced
https://github.com/izniburak/denetmen - @izniburak
https://github.com/izniburak
https://github.com/izniburak/query-builder - @izniburak
https://github.com/izniburak
https://github.com/izniburak/turkish-number - @izniburak
https://github.com/izniburak
https://github.com/jeromegn/bson.cr - @jeromegn
https://github.com/jeromegn
https://github.com/johnjansen/clamp - @johnjansen
https://github.com/johnjansen
https://github.com/kemalyst/kemalyst-generator - @kemalyst
https://github.com/kemalyst
https://github.com/luislavena/radix - @luislavena
https://github.com/luislavena
https://github.com/maiha/redis-tsv.cr - @maiha https://github.com/maiha
https://github.com/maiha/hq.cr - @maiha https://github.com/maiha
https://github.com/marceloboeira/bojack - @marceloboeira
https://github.com/marceloboeira
https://github.com/measurechina/eventql-crystal - @MeasureChina
https://github.com/MeasureChina
https://github.com/metaware/flipper - @metaware
https://github.com/metaware
https://github.com/mjago/soundfile - @mjago https://github.com/mjago
https://github.com/mosop/cli - @mosop https://github.com/mosop
https://github.com/mosop/optarg - @mosop https://github.com/mosop
https://github.com/obsidian/oak - @obsidian https://github.com/obsidian
https://github.com/philnash/envyable.cr - @philnash
https://github.com/philnash
https://github.com/phoffer/inflector.cr - @phoffer
https://github.com/phoffer
https://github.com/rhysd/Crisp - @rhysd https://github.com/rhysd
https://github.com/rogeriozambon/http-protection - @rogeriozambon
https://github.com/rogeriozambon
https://github.com/sdogruyol/tren - @sdogruyol
https://github.com/sdogruyol
https://github.com/sdogruyol/cryload - @sdogruyol
https://github.com/sdogruyol
https://github.com/splattael/libnotify.cr - @splattael
https://github.com/splattael
https://github.com/topaz-crystal/topaz - @topaz-crystal
https://github.com/topaz-crystal
https://github.com/unn4m3d/cppize - @unn4m3d https://github.com/unn4m3d
https://github.com/veelenga/play-crystal.el - @veelenga
https://github.com/vjdhama/crystal-cookbook - @vjdhama
https://github.com/westonganger/form_builder.cr - @westonganger
https://github.com/z64/openssl.cr - @z64
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/veelenga/awesome-crystal/pull/489#issuecomment-602681532,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7AXFCVVT3U6A4ELW34ATLRI57H5ANCNFSM4LRLO47Q
.

@Blacksmoke16 feel free to remove Radix from the list, however the library is feature-complete (except for one bug) and setting up an periodic build seems a bit too much waste of resources.

@Blacksmoke16 feel free to remove
https://github.com/gdonald/blackjack-cr - @gdonald
from the list.  It is feature-complete and IMHO setting up a periodic build is a waste of resources.

@abvdasker Ah, it looks like the project was using CircleCI 1.0, which cause CI to not run for those commits.

Service alert: Your project references CircleCI 1.0 or it has no configuration. CircleCI 1.0 and projects without configuration files are no longer supported. You must update your project to use CircleCI 2.0 configuration to continue. Learn more.

Looks like you just need to update the configuration for 2.0 and it'll be good.  https://circleci.com/sunset1-0/
@luislavena @gdonald As you wish.  For how trivial it would be to setup a weekly build is your call.

For how trivial it would be to setup a weekly build is your call.

@Blacksmoke16 would accept a PR to setup that with either Travis (currently in use) or GitHub Actions (if Crystal works with it). But I don't have the bandwidth right now to tackle any OSS projects.
Cheers.

@luislavena Setting it up on Travis would take 1min as it's just clicking a few buttons.  https://docs.travis-ci.com/user/cron-jobs/

My old shard/project is listed here.  It's been a while since I've worked with Crystal.  Is there a binary I need to build for those who use my library?  What does "removing the shard" mean… does that mean remove from a publicly listed directory of packages, or maybe a stored binary package?

@Blacksmoke16  feel free to remove.
https://github.com/icyleaf/wasp - @icyleaf

Thanks, cron set up to build https://github.com/philnash/envyable.cr periodically. 👍

@danielpclark It just means removing the shard from the list.
If you're still maintaining it just setup a periodic build for it and it'll be fine.
See this comment for the background context.

https://github.com/TPei/progress_bar.cr still green with 0.33.0, will set up periodic builds some time this week

Ok, abvdasker/crystal-linked-list has been updated to CircleCI 2.0 . Can we
keep this repo on the list?
On Mon, Mar 23, 2020 at 11:53 AM Hal Rogers<EMAIL_ADDRESS>wrote:

abvdasker/crystal-linked-list had new commits about a month ago. Would it
be possible to keep it?
On Mon, Mar 23, 2020 at 11:40 AM George Dietrich<EMAIL_ADDRESS>wrote:

Shards To Be Removed
The following shards have not had a build in the last 1 year. Please
setup a periodic build if your project is still maintained, otherwise just
ignore this.
https://github.com/0x73/hoop - @0x73 https://github.com/0x73
https://github.com/CodeSteak/Nuummite - @CodeSteak
https://github.com/CodeSteak
https://github.com/DanSnow/crystal-binary_parser - @DanSnow
https://github.com/DanSnow
https://github.com/EvanHahn/crystal-helmet - @EvanHahn
https://github.com/EvanHahn
https://github.com/SuperPaintman/request-id - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/crystal-ctags - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/serve - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/response-time - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/SuperPaintman/ms - @SuperPaintman
https://github.com/SuperPaintman
https://github.com/TPei/progress_bar.cr - @TPei https://github.com/TPei
https://github.com/TamasSzekeres/asound-cr - @TamasSzekeres
https://github.com/TamasSzekeres
https://github.com/TamasSzekeres/cairo-cr - @TamasSzekeres
https://github.com/TamasSzekeres
https://github.com/TamasSzekeres/x11-cr - @TamasSzekeres
https://github.com/TamasSzekeres
https://github.com/TobiasGSmollett/hash_ring - @TobiasGSmollett
https://github.com/TobiasGSmollett
https://github.com/TobiasGSmollett/fluent-logger-crystal -
@TobiasGSmollett https://github.com/TobiasGSmollett
https://github.com/abvdasker/crystal-linked-list - @abvdasker
https://github.com/abvdasker
https://github.com/akiicat/m3u8 - @akiicat https://github.com/akiicat
https://github.com/anicholson/gopher.cr - @anicholson
https://github.com/anicholson
https://github.com/beanieboi/aws-signer.cr - @beanieboi
https://github.com/beanieboi
https://github.com/benoist/terminal_table.cr - @benoist
https://github.com/benoist
https://github.com/blocknotes/kemal-rest-api - @blocknotes
https://github.com/blocknotes
https://github.com/comandeo/crystal-memcached - @comandeo
https://github.com/comandeo
https://github.com/comandeo/syslog.cr - @comandeo
https://github.com/comandeo
https://github.com/crystal-lang/html_builder - @crystal-lang
https://github.com/crystal-lang
https://github.com/danielpclark/keyer_cr - @danielpclark
https://github.com/danielpclark
https://github.com/dhruvrajvanshi/crystal-futures - @dhruvrajvanshi
https://github.com/dhruvrajvanshi
https://github.com/diggersheep/warden - @diggersheep
https://github.com/diggersheep
https://github.com/dlanileonardo/sendgrid.cr - @dlanileonardo
https://github.com/dlanileonardo
https://github.com/emancu/crotest - @emancu https://github.com/emancu
https://gitlab.com/ezrast/crometheus - @ezrast
https://github.com/ezrast
https://github.com/faustinoaq/watcher - @faustinoaq
https://github.com/faustinoaq
https://github.com/faustinoaq/sentry-run - @faustinoaq
https://github.com/faustinoaq
https://github.com/faustinoaq/kemal-watcher - @faustinoaq
https://github.com/faustinoaq
https://github.com/fazibear/tensorflow.cr - @fazibear
https://github.com/fazibear
https://github.com/felipeelias/crystal-github - @felipeelias
https://github.com/felipeelias
https://github.com/gdonald/blackjack-cr - @gdonald
https://github.com/gdonald
https://github.com/geppetto-apps/crow - @geppetto-apps
https://github.com/geppetto-apps
https://github.com/gewo/bugsnag.cr - @gewo https://github.com/gewo
https://github.com/icyleaf/wasp - @icyleaf https://github.com/icyleaf
https://github.com/isaced/pangu.cr - @isaced https://github.com/isaced
https://github.com/izniburak/denetmen - @izniburak
https://github.com/izniburak
https://github.com/izniburak/query-builder - @izniburak
https://github.com/izniburak
https://github.com/izniburak/turkish-number - @izniburak
https://github.com/izniburak
https://github.com/jeromegn/bson.cr - @jeromegn
https://github.com/jeromegn
https://github.com/johnjansen/clamp - @johnjansen
https://github.com/johnjansen
https://github.com/kemalyst/kemalyst-generator - @kemalyst
https://github.com/kemalyst
https://github.com/luislavena/radix - @luislavena
https://github.com/luislavena
https://github.com/maiha/redis-tsv.cr - @maiha https://github.com/maiha
https://github.com/maiha/hq.cr - @maiha https://github.com/maiha
https://github.com/marceloboeira/bojack - @marceloboeira
https://github.com/marceloboeira
https://github.com/measurechina/eventql-crystal - @MeasureChina
https://github.com/MeasureChina
https://github.com/metaware/flipper - @metaware
https://github.com/metaware
https://github.com/mjago/soundfile - @mjago https://github.com/mjago
https://github.com/mosop/cli - @mosop https://github.com/mosop
https://github.com/mosop/optarg - @mosop https://github.com/mosop
https://github.com/obsidian/oak - @obsidian https://github.com/obsidian
https://github.com/philnash/envyable.cr - @philnash
https://github.com/philnash
https://github.com/phoffer/inflector.cr - @phoffer
https://github.com/phoffer
https://github.com/rhysd/Crisp - @rhysd https://github.com/rhysd
https://github.com/rogeriozambon/http-protection - @rogeriozambon
https://github.com/rogeriozambon
https://github.com/sdogruyol/tren - @sdogruyol
https://github.com/sdogruyol
https://github.com/sdogruyol/cryload - @sdogruyol
https://github.com/sdogruyol
https://github.com/splattael/libnotify.cr - @splattael
https://github.com/splattael
https://github.com/topaz-crystal/topaz - @topaz-crystal
https://github.com/topaz-crystal
https://github.com/unn4m3d/cppize - @unn4m3d https://github.com/unn4m3d
https://github.com/veelenga/play-crystal.el - @veelenga
https://github.com/vjdhama/crystal-cookbook - @vjdhama
https://github.com/westonganger/form_builder.cr - @westonganger
https://github.com/z64/openssl.cr - @z64
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/veelenga/awesome-crystal/pull/489#issuecomment-602681532,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7AXFCVVT3U6A4ELW34ATLRI57H5ANCNFSM4LRLO47Q
.

@Blacksmoke16 added weekly builds for Radix and triggered a manual one. Project still compatible.

@Blacksmoke16 Thanks for taking care :bowing_man:
I've updated https://github.com/splattael/libnotify.cr to make sure it compiles on Crystal 0.33.0 and released a new version :+1:
Please don't remove this shard from the list :pray:

@Blacksmoke16 https://github.com/abvdasker/crystal-linked-list  has been updated to CircleCI 2.0 and has generated new builds.

@abvdasker Yup I saw.  I'll update the list at some point this weekend, then once again next weekend.

I updated https://github.com/beanieboi/aws-signer.cr to work with the latest crystal version. You can keep it in the list

I updated https://github.com/neovintage/accord with github actions. It'll kick off a monthly build with the latest crystal version. 😄

Hello, I fixed Crisp to make it compatible with the latest Crystal v0.33.0 at https://github.com/rhysd/Crisp/commit/0b970e875586db261e42a49a9f9d8a1a013f1e3c.

https://github.com/rhysd/Crisp/commit/b7e05f1094bbac3c8c199b4fe655dc6f8e5970b0
I've setup GitHub Actions for checking build and tests periodically.

I've added periodic builds for form_builder.cr

@Blacksmoke16 please rebase this work. We are ready to merge it.

Hi @Blacksmoke16

[x] I Fixed - sendgrid.cr
[x] Update to Crystal v0.34.1 - commit
[x] Setup Github Actions, to build periodically - Runs

Thanks everyone for your effort and understanding.


Add Chrome support for CSS math functions min(), max() and clamp()

https://chromestatus.com/feature/5714277878988800

Thanks!


What is the quick way of using layout.html in ErrorPageHandler?

I understand that we should avoid using template engines in this step but it is essential to have the error page consistent with other pages of the site.

I guess the issue is more with file-system or network access than template engines.  For example, there is a good chance that a file might load on your local laptop, but fail to load on a server due to unix permissions being wrong.  This is frustrating to debug.  The chances of your template not passing are much smaller.
With that in mind, two possible solutions, both of which involve the compiletime library:

Use CompileTime.interpolateFile('error-layout.html');  This basically uses a macro to insert the whole content of that file in as a String, but uses Haxe string interpolation.  So you can use
$error

${error.code}
 or similar.

Use new haxe.Template( CompileTime.readFile('website-layout.html') ) to get the template of your main website layout, and parse it.  This inserts the string directly, so no file system access is needed. If there is an error in your layout, at least it will be the same error on your development environment and on the server, so it should be much easier to debug.

Does that answer the question for you?

Hopefully the above solutions are enough :)


'Result' object has no attribute 'time'

Title self explanatory. It would be great to add back the 'time attribute' for speed benchmarking using reproduced results.

It has been renamed and more time attributes have been added.
There is now exec_time, start_time, and end_time.


Improvements to Scheduler and its data structures

Resolves #696
These are just some minor refactorings that I made while working on similar things in EmAgent. Functionality stays the same.
Also improved test coverage a tiny bit by adding more tests.

Replaced by #699


sync(docs): update Changelog for 0.35.0.

What type of PR is this?
/kind release
Any specific area of the project related to this PR?
What this PR does / why we need it:
Cherry picks changelog update from release/0.35.x branch.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/milestone 0.36.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[Twinkle-0011] Introduce Google Guice dependency container

[ ] Add google guice container;
[ ] Inject all required services;
[ ] Handle with hibernate session setup.


Fix cares resolution with default authority (for v1.11.x)

always initialize dns_server_ in ares resolver.
if uri.authority is empty,  the dns_server_ ends up containing garbage and that fails the DNS resolution.
it looks like we don't have tests for "dns:///foo.bar.com" (when DNS server is not specified explicitly in the URI), so it would be good to add a test for this. For now, I tested this locally.

Example of failed DNS resolution (can be tested with interop_client when GRPC_DNS_RESOLVER=ares can is set):
I0416 09:59:49.922035<PHONE_NUMBER>52928 src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:366: Using DNS server
E0416 09:59:49.922058<PHONE_NUMBER>52928 src/core/ext/filters/client_channel/parse_address.cc:144: invalid ipv6 address: ''

@mehrdada  I'd need this in v1.11.1

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

@mehrdada  should I upmerge to master?

I suspect the upmerge will be clean so you might even be able to do it on GitHub

Nope, it's not clean https://github.com/grpc/grpc/compare/v1.11.x?expand=1

FYI, it looks like there actually is a test that would catch this: the dns_resolver_test. But testing the c-ares DNS resolver requires running that test under GRPC_DNS_RESOLVER=ares, and it looks like we're not currently doing so. (the other c-ares tests need the local DNS server and so need the default authority set).

^ I'll try to update dns_resolver_test so it runs under "native" and "c-ares".

@jtattermusch Does this warrant a patch release by itself if no other fix lands on 1.11.x branch?

@mehrdada, I have another name resolution fix that should be backported here: https://github.com/grpc/grpc/pull/15134
In addition to that, there's another bug: https://github.com/grpc/grpc/issues/15118
If we can fix #15118 quickly, let's do v1.11.1 patch release with all three fixes. Background: I'll be presenting at a conference beginning of May and I revealed these bugs while setting up an example for the presentation. Having all three issues fixed & released by the end of next week would be highly desirable.


atsec/8 - Section 6.2 - typo, missing )

Comment:
A closing parenthesis “)” is missing in the last sentence in that section.  “Extended SFRs (i.e. those SFRs that are not defined in [CC2]   …. “  The closing “)” should be added after [CC2].
Proposal:
Add the missing “)”
Priority: 1

Can be moved to v1.1


Generates the exec command properly

Fixes #9 and #10

LGTM! Thanks for your commit, I'll publish it after merging this PR.


Upgrade RSpec

RSpec is at a very outdated version and should be upgraded.

Can you submit a PR for that?

Yeah, a lot of broken things. Sorry about that. Trying to get back on track. Paying $100 to anyone who puts Monologue back on track with Rails 5 support. Closing but see https://github.com/jipiboily/monologue/issues/314


libcanberra: fix build on darwin

libcanberra was marked as broken on commit 806d814516c, but the error doesn't appear with current nixpkgs master.
It is the linking which is failing now with:
ld: file not found: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

But it was easily fixed by adding Carbon to the derivation inputs.
I just found this broken package because I am trying to fix pympress, which doesn't build on Darwin because of it (and a few other packages). I can see it building, but I cannot run it to see that it is running properly, since it is a library.

Motivation for this change
libcanberra not building on Darwin.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Oh, sorry. libcanberra-gtk3 is still broken as originally marked. I missed it.
Closing this.


Get rid of nullable-related EEType info

We no longer need the IsNullable rare flag because EETypeElementType captures that. We can now check for nullable without going to the rare flags.
I went ahead and also deleted the pointer to the T type in nullable, since this is redundant with the generic composition information (generic composition is new as of ~2 years ago - we didn't have that before).

Depends on #8037 being merged, so submitting as a draft for now. I expect build breaks.


update dependencies and remove allow of RUSTSEC-2023-0024

branch is explicitly allowing above rustsec vulnerability, as our dependencies haven't updated yet. This is the original failing job. https://github.com/kaskada-ai/kaskada/actions/runs/4510764637/jobs/7942099545, with allow pr: https://github.com/kaskada-ai/kaskada/pull/153/files

I believe this was fixed by #179. Could you verify, and if so make sure not to check-in the the allowance?

Removed explicit allows in commit 428ae2f18097b859955aa9b8e09f7c04e4fe6cc5


High memory consumption with all YOLOX variants

The memory consumption seems extremely high during training. For all the variants it is occupying almost entire capacity of GPU, I'm training with batch size of 16 on a 32G GPU. Ultralytics models had a comparatively low memory consumption around 15G for X variant, and 12G for L variant. Is this behavior normal, am I missing something.
My training params for reference
batch_size=16
num_workers=4
image size = 640,640
cache is turned off

Train logs for reference
2023-11-01 12:29:23,051 — yolox.core.trainer — INFO — after_iter:292 — epoch: 50/50, iter: 39/42, gpu mem: 28725Mb, mem: 111.2Gb, iter_time: 0.558s, data_time: 0.008s, total_loss: 0.0, iou_loss: 0.0, l1_loss: 0.0, conf_loss: 0.0, cls_loss: 0.0, lr: 1.250e-04, size: 640, ETA: 0:00:01
2023-11-01 12:29:23,630 — yolox.core.trainer — INFO — after_iter:292 — epoch: 50/50, iter: 40/42, gpu mem: 28725Mb, mem: 111.3Gb, iter_time: 0.567s, data_time: 0.008s, total_loss: 0.0, iou_loss: 0.0, l1_loss: 0.0, conf_loss: 0.0, cls_loss: 0.0, lr: 1.250e-04, size: 640, ETA: 0:00:01
2023-11-01 12:29:24,221 — yolox.core.trainer — INFO — after_iter:292 — epoch: 50/50, iter: 41/42, gpu mem: 28725Mb, mem: 111.6Gb, iter_time: 0.572s, data_time: 0.010s, total_loss: 0.0, iou_loss: 0.0, l1_loss: 0.0, conf_loss: 0.0, cls_loss: 0.0, lr: 1.250e-04, size: 640, ETA: 0:00:00
2023-11-01 12:29:24,794 — yolox.core.trainer — INFO — after_iter:292 — epoch: 50/50, iter: 42/42, gpu mem: 28725Mb, mem: 111.8Gb, iter_time: 0.553s, data_time: 0.003s, total_loss: 0.0, iou_loss: 0.0, l1_loss: 0.0, conf_loss: 0.0, cls_loss: 0.0, lr: 1.250e-04, size: 640, ETA: 0:00:00

there was a mismatch in weights during resume, closing as finished

I have this same issue, when training say Yolox_s, it uses 10.3gb vram no matter what, batch size doesnt matter, net depth doesnt matter, it takes 10.3 and goes. Did you figure out what was causing it? You said mismatch in weights, but how do you solve it (and why this mismatch causing to use so high memory)?

nvm just found out that removing -o from training call shows whats being used, and that -o is to occupy the gpu mem
# yolox.utils.metric.py
def occupy_mem(cuda_device, mem_ratio=0.9):
    """
    pre-allocate gpu memory for training to avoid memory Fragmentation.
    """
    total, used = get_total_and_free_memory_in_Mb(cuda_device)
    max_mem = int(total * mem_ratio)
    block_mem = max_mem - used
    x = torch.cuda.FloatTensor(256, 1024, block_mem)
    del x
    time.sleep(5)

And as my gpu has 12228mb, 90% is ~11gb and my computer is using ~800, which left it to use 10.3.


Can dateparse return the formatters used?

Hi! New to open-source here, so not sure if this is the best place to ask a question about your project. Let me know if i need to direct my question elsewhere.
After parsing a date string, is it possible to return the formatters used for parsing? For example, I have a large file of dates all the same unknown format. It would probably be much faster to parse the first date, figure out what formatter it's using and apply that to subsequent dates through time.Parse.
I asked this same question about python's dateutil.parser but learned that what I was aksing is impossible from the base package. https://stackoverflow.com/questions/49197938/return-directives-used-by-dateutil-parser. We could follow the guidance from this answer: https://stackoverflow.com/a/49198112/6146337 to implement.
What do you think?

https://godoc.org/github.com/araddon/dateparse#ParseFormat
You can call ParseFormat, store the resulting string, and use it with time.Parse thereafter


Change regex for dateparser format 'd' and 'M' to allow for leading zeros and fix regex for 'M' format

Allow leading zeros for day and month for format d and M
Use case:
Format d.M.y should allow for entering dates like 02.05.12 and like 2.5.12
This format is very common.
In addition, the regex for 'M' is incorrect. The order of the alternation should be changed.

This is true I had the same issue. @dkuerner please make a pull request with your commit so that the someone from the team can review/merge. (hope sometime soon :+1: )

We are not interested in supporting this at this point in time - the dateparser currently aims to support the behavior found in Angular's dateFilter.

Are you serious. Filters are meant primarily for presenting data not user input. Try putting a date picker on an input type text and explain to the user why is 1/2/2015 is not a valid date. IMHO this is a bug

Nothing is stopping you from overwriting the dateparser factory to implement your own custom parser.
That type of attitude though is unwarranted and unprofessional.

My sincere apologies for my outburst.

You'll be happy to know @cleftheris that I figured out a good implementation for this feature, and it will make it shortly to master - see #4809 :) .

@wesleycho thanks much appreciated. Although currently I have overridden the DateParser as you suggested and works quite well I will switch back to default in order to get updates as soon as it gets merged.
cheers


brew audit --strict  is different on TRAVIS/CIRCLE

Locally, with brew audit --strict --online I am allowed to do

head "*http:// .... .git"
depends_on can non-alphabetical

But when i submit a formula these both fail audit.

Try…
brew audit --strict --online --new-formula

Ok thanks - i didn't know that. No wonder i've been randomly confused for so long. I will update my brew-audit alias!

I'm regularly surprised by things I didn't know about Homebrew.

I'm NOT surprised...


Delayed video

Hi all .
i'm doing first steps with GVR.
after built first app with steps from online guidehttp://www.gearvrf.org/bin/view/GearVRfDeveloperGuide/GearVRfDevGuide300BasicApp
when start this app on mobile i see that video is delayed when head moving

Hi, are you seeing this when docked into GearVR? What phone model are you using? Which version of Android? Thanks.

Hi. Thx for you response.
Yes , problem when attach to GearVR , phone is s6.Android 6

Any chance you might share the logcat output?

How do some of the samples we have work for you? See https://github.com/gearvrf/GearVRf-Demos

@Arct1k Still having issues? Do you have more answers for us? Thanks.

Assuming it is all good. Will close the issue if you don't mind.

Yes , was HW problem.(with any phone all ok)


Created train/test splits

It seems that the #2 has included the files proposed in this PR. We can:

close #1 in favor of #2; or
update #2 to just include the changes outlined in #2

I suggest at this stage of project, the first option (closing this) may be a simpler approach.

Pull Request #2 uses data being created in #1. If we approve only #2 , will the train and test datasets being created in #1 still be created?

Yes, since your #2 includes all commits from #1. This is how the git log looks:
| * 5e63fd5 (origin/eda/manvir) Minoe changes in markdown cells formatting  # <-- #2 here
| * 58dd5cc Uploaded Initial EDA results
| * 50eb273 (origin/train_test_split) Created train/test splits             # <-- #1 here
|/


Prompt cache for Claude Sonnet used via Vertex AI

Issue
Hi!
Is the prompt caching support hardcoded to work only for direct Anthropic API?
I'm using Claude via Vertex AI and the prompt cache label isn't showing up even though Vertex does support prompt caching for Anthropic models: https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude-prompt-caching
The command I'm running
VERTEXAI_PROJECT=redacted VERTEXAI_LOCATION=redacted aider --model vertex_ai/claude-3-5-sonnet-v2@20241022 --weak-model vertex_ai/gemini-1.5-flash-002 --dark-mode --cache-prompts --no-auto-commits

Version and model info
Aider v0.69.1
Main model: vertex_ai/claude-3-5-sonnet-v2@20241022 with diff edit format, infinite output
Weak model: vertex_ai/gemini-1.5-flash-002
Git repo: .git with 68 files
Repo-map: using 1024 tokens, files refresh

using Claude via vertex ai is handled by litellm library. Not sure if prompt caching was enabled on litellm side!


Dark theme

A full dark theme; cf. #73

@z------------- That looks very good, thanks for your good work :+1:

I just tested the dark mode, it works very well.
Thank you for including this.


Applying model to to the real robot

Hi,
Thanks for opening this repository.
I'm trying to implement lift task on real Panda robot after training a model on the simulator (robosuite).
even the success rate on the simulator is almost 100% but it didn't work in reality.
I'm using OSC controller and getting the observations from /franka_state_controller/franka_states and /joint_states topics.
I think the problem is that the coordinate system in the simulator and real world doesn't match. In the real robot I have the observations related to the base frame and couldn't be sure about the observations frame in the simulator.
any advice to solve this problem? did I miss something else??
Thanks a lot and I appreciate any help

The repo is not designed for sim-to-real transfer. For all of our experiments in the original study paper, we collected demonstrations in the real world. For doing real-world data collection, you could try https://github.com/UT-Austin-RPL/deoxys_control

how about ur5?


Cannot get OAuth token from http:// token provider url.

If you try to get an OAuth token from a token provider url that is not using https, then you get the following error:
This is preventing our testers from using Malone to test our web api's, since the internal test servers are not set up (currently) to use https for the /oauth/token resource.

http://stackoverflow.com/questions/6265944/dotnetopenauth-throws-a-protocolexception

so you're saying (or not) to include the test server names for the sts token providers to the server whitelist in config files???

Sorry, that link without context was simply a reminder for when I came back to this issue - I ran out of time to fully investigate. When you try to authenticate against an OAuth provider, the response you see is from the server, not an error in Malone. So the response:

This message can only be sent over HTTPS.

... means the server doesn't allow you to request an OAuth token over HTTP. With DotNetOpenAuth, there is a setting to relaxSslRequirements so that HTTP will work. You'll have to update the web.config for the server to allow it. An example config is here:
https://github.com/DotNetOpenAuth/DotNetOpenAuth/blob/master/samples/OAuthClient/Web.config

I think I might have been lying. Re-opening until I can further investigate, but my thinking now is that both ends have to allow it (relaxSslRequirements).

cool. i think you may be right. After updating the webserver, Stacy still has the problem, but I don't.....

Replace %LocalAppData%\Malone\app-0.4.0\Malone.exe.config with the following:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<configSections>
		<sectionGroup name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection, DotNetOpenAuth">
			<section name="messaging" type="DotNetOpenAuth.Configuration.MessagingElement, DotNetOpenAuth" requirePermission="false" allowLocation="true" />
		</sectionGroup>
	</configSections>
	<appSettings>
		<add key="UpdateUrl" value="http://ninja.co.nz/malone/releases" />
	</appSettings>
	<system.net>
		<defaultProxy useDefaultCredentials="true" />
	</system.net>
	<dotNetOpenAuth>
		<messaging relaxSslRequirements="true" />
	</dotNetOpenAuth>
</configuration>


pistons can remove some protections

Version: 2.1.3-dev-e9744bb
pistons can move protected doors,trapdoors, fance gates (and maybe more)

Unable to replicate the issue. Do you have hopper protection disabled in the config? If not, please post it here via a hastebin.

protections:
denyHoppers: false

Full config please. Use a service like pastebin. If you do not wish to share it publicly, please join the discord and send it to us in a private message.

Again unable to replicate the issue, using the config file sent via Discord (changing only the login credentials). Perhaps this is a plugin conflict. Have you tried testing whether this occurs on a clean server, with only LWC installed?

Thats not a config issue. On a fresh Server with only Modern LWC (and a fresh config) its the same problem.

What kind of server are you running this on? Also, a video may help. No luck replicating this whatsoever. Can't fix something until the source of the problem is known.

Paper version git-Paper-492 (MC: 1.13.2)

Ok finally confirmed (after discussing this with you on Discord). You left out some important details in this issue about how to cause this to occur. Now I see, but in the future please give a more thorough report. I will try to fix this soon.

If you had tested all the possibilities (with pistons), you would have found it.

This should be fixed now in the latest development build.
In response to your last comment though, please actually make a proper report next time, by filling out the issue template. I spent a lot more time than I needed to because you did not describe the problem clearly. Many people report issues that are non-existent (caused by their server / other plugins), and if this were one of those cases I would not ever have found the bug regardless of the amount of testing. It is important that you give enough information. Please bear that in mind next time. Thanks!
Closing now


LRA - how to implement a model driven approach?

Hi,
I am very interested in LRA as a way to implement the Microservice SAGA pattern.
We develop a Open Source Workflow engine ( imixs-workflow )based on Java EE and we already adopted the Eclipse Microprofile API (config, metrics).
I already wrote an article about business transactions in Microservice environments where the transaction is described in a BPMN model: https://dzone.com/articles/microservices-and-business-transactions
I am interested to try an implementation of LRA in combination with our workflow engine.
One of my question is if it is/will be possible to add participants at runtime or if I need to annotate everything at build time? The question is from the point of a model driven approach where the workflow engine is the coordinator and the model describes the different participants.
I know it is an early stage, but what is necessary to try LRA? We already run on Payara.

Hi @rsoika, hopefully, I will be able to answer some of your questions:

I am very interested in LRA as a way to implement the Microservice SAGA pattern.
We develop a Open Source Workflow engine ( imixs-workflow )based on Java EE and we already adopted the Eclipse Microprofile API (config, metrics).

I already wrote an article about business transactions in Microservice environments where the transaction is described in a BPMN model: https://dzone.com/articles/microservices-and-business-transactions

I am interested to try an implementation of LRA in combination with our workflow engine.

That's great!

One of my question is if it is/will be possible to add participants at runtime or if I need to annotate everything at build time? The question is from the point of a model driven approach where the workflow engine is the coordinator and the model describes the different participants.

We used to have an API for runtime registration but it was removed for 1.0. However, it is possible that something similar will be included in any of the 1.x releases if there will be a community request which we now have, I believe.

I know it is an early stage, but what is necessary to try LRA? We already run on Payara.

@rdebusscher created the Payara implementation so he will be the contact person for Payara related questions. Another option is Narayana implementation where you can contact @mmusgrov or me with questions.

Hi Ralph,
Regarding the Payara Support,
The dynamic registration will not be standardized in the 1.0 specification
as mentioned, but it will be possible to use a Java API to handle the
participants at runtime within Payara Server and Payara Micro.
Currently, the implementation is in an early stage, but if you are
interested in a beta version later on, let me know.
Regards
Rudy
On Mon, 8 Jul 2019 at 09:43, Martin Stefanko<EMAIL_ADDRESS>wrote:

Hi @rsoika https://github.com/rsoika, hopefully, I will be able to
answer some of your questions:
I am very interested in LRA as a way to implement the Microservice SAGA
pattern.
We develop a Open Source Workflow engine ( imixs-workflow )based on Java
EE and we already adopted the Eclipse Microprofile API (config, metrics).
I already wrote an article about business transactions in Microservice
environments where the transaction is described in a BPMN model:
https://dzone.com/articles/microservices-and-business-transactions
I am interested to try an implementation of LRA in combination with our
workflow engine.
That's great!
One of my question is if it is/will be possible to add participants at
runtime or if I need to annotate everything at build time? The question is
from the point of a model driven approach where the workflow engine is the
coordinator and the model describes the different participants.
We used to have an API for runtime registration
https://github.com/eclipse/microprofile-lra/blob/e71efb0071e791a26e9ebba78740ddd2aea3273a/api/src/main/java/org/eclipse/microprofile/lra/participant/LRAManagement.java#L46
but it was removed for 1.0. However, it is possible that something similar
will be included in any of the 1.x releases if there will be a community
request which we now have, I believe.
I know it is an early stage, but what is necessary to try LRA? We already
run on Payara.
@rdebusscher https://github.com/rdebusscher created the Payara
implementation so he will be the contact person for Payara related
questions. Another option is Narayana implementation
https://github.com/jbosstm/narayana/tree/master/rts/lra where you can
contact @mmusgrov https://github.com/mmusgrov or me with questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/microprofile-lra/issues/179?email_source=notifications&email_token=AAJL32OFMST5IBI74MI5PSDP6LV3LA5CNFSM4H6JSF7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZMIBRA#issuecomment-509116612,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJL32O6SLWUTLFGW5JITW3P6LV3LANCNFSM4H6JSF7A
.

I am just reading the spec and try to map the concept to my workflow engine.
My question is now: is a LRA persisted in any way, or are they only stored in the ApplicationScoped client class? I ask this because I want to understand what happens when I have actions that take several hours and I have to manage several thousand such actions.

This should be the choice and the responsibility of the implementation. The specification says that:

The application developer indicates which method to use for a compensating activity by marking it with the @Compensate annotation. Whenever the associated resource is invoked in the context of an LRA the method corresponding to this @Compensate method MUST be enlisted with the LRA: enlistment means that if the LRA is subsequently cancelled then the compensation method MUST be invoked.

Ralph,
LRA status and info around the participants who have joined the LRA are
persisted. (since the spec says it guarantees the Eventual Persistent
outcome.)
There is no issue that an action takes several hours, that is why they are
called Long Running Actions :) Of course, the LRA implementation needs to
store the information of each on going action.
The current implementations don't store information in an ApplicationScoped
class (also because it needs to work in a distributed environment where an
actions spans multiple requests located on multiple servers.) For Narayana
it is a dedicated process which is responsible for this, and Payara uses
the Payara DataGrid for this purpose.
Regards
Rudy
On Mon, 8 Jul 2019 at 12:27, Martin Stefanko<EMAIL_ADDRESS>wrote:

This should be the choice and the responsibility of the implementation.
The specification says that
https://github.com/eclipse/microprofile-lra/blob/master/spec/src/main/asciidoc/microprofile-lra-spec.adoc#324-compensating-activities
:
The application developer indicates which method to use for a compensating
activity by marking it with the @compensate
https://github.com/compensate annotation. Whenever the associated
resource is invoked in the context of an LRA the method corresponding to
this @compensate https://github.com/compensate method MUST be enlisted
with the LRA: enlistment means that if the LRA is subsequently cancelled
then the compensation method MUST be invoked.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/microprofile-lra/issues/179?email_source=notifications&email_token=AAJL32JQ43D7EYJLZ4NTUILP6MJB5A5CNFSM4H6JSF7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZMVK3Y#issuecomment-509171055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJL32PKRPQT2H6ZVJ35VXTP6MJB5ANCNFSM4H6JSF7A
.

@rsoika Thanks for raising the issue. It looks like the question has been answered so I am closing it. If you have further thoughts or questions then please either reopen it or raise a new question.


feat: forward cache-control header

I've set Cache-Control: max-age=604800 (7 days) on files stored on the S3 static assets bucket (GoC logos, images on the homepage etc).
Forward this cache header at the Cloudfront level to tell clients to cache these images
Reference for syntax: https://stackoverflow.com/questions/63934583/what-is-the-syntax-for-headers-in-aws-cloudfront-distribution-forwarded-values

@AntoineAugusti any concerns about asset caching for newly uploaded and then re-uploaded/changed assets such as custom headers?

@AntoineAugusti any concerns about asset caching for newly uploaded and then re-uploaded/changed assets such as custom headers?

@dorianjp Good question!
The header Cache-Control: max-age=604800 needs to be applied manually (or we need to build something to do that). I've done it on the whole bucket in staging/prod now but ideally, we would need to do it sometimes for other assets.
The most important gain is for the GoC logos that are used often.
For reuploads, new images are assigned a temporary filename temp-<hash> so even if the cache header was applied/created automatically, this would not be an issue

@dorianjp Good question!
The header Cache-Control: max-age=604800 needs to be applied manually (or we need to build something to do that). I've done it on the whole bucket in staging/prod now but ideally, we would need to do it sometimes for other assets.
The most important gain is for the GoC logos that are used often.
For reuploads, new images are assigned a temporary filename temp-<hash> so even if the cache header was applied/created automatically, this would not be an issue

Going to close this PR because I misunderstood forwarded_values. I thought it was Cloudfront forwarding an HTTP header to the client but this is the other way around.
This HTTP cache header is already forwarded to the end-user so we don't need to do any changes.
curl -I https://assets.notification.canada.ca/static/gov-canada-en.svg
HTTP/2 200
content-type: image/svg+xml
content-length: 10048
date: Mon, 11 Jan 2021 15:22:06 GMT
last-modified: Fri, 08 Jan 2021 17:02:42 GMT
etag: "cc77f0718a88b1219088cd993501df54"
cache-control: max-age=604800
accept-ranges: bytes
server: AmazonS3
vary: Accept-Encoding
x-cache: Miss from cloudfront
via: 1.1 6bc96fcd042709dbc96cdeb6eb80307c.cloudfront.net (CloudFront)
x-amz-cf-pop: YUL62-C1
x-amz-cf-id: U190cbCrdvrKxckchAeIxkC0KL9Pr9OdIYk2qo8zdxx8PVpjgSZUTg==

Going to close this PR because I misunderstood forwarded_values. I thought it was Cloudfront forwarding an HTTP header to the client but this is the other way around.
This HTTP cache header is already forwarded to the end-user so we don't need to do any changes.
curl -I https://assets.notification.canada.ca/static/gov-canada-en.svg
HTTP/2 200
content-type: image/svg+xml
content-length: 10048
date: Mon, 11 Jan 2021 15:22:06 GMT
last-modified: Fri, 08 Jan 2021 17:02:42 GMT
etag: "cc77f0718a88b1219088cd993501df54"
cache-control: max-age=604800
accept-ranges: bytes
server: AmazonS3
vary: Accept-Encoding
x-cache: Miss from cloudfront
via: 1.1 6bc96fcd042709dbc96cdeb6eb80307c.cloudfront.net (CloudFront)
x-amz-cf-pop: YUL62-C1
x-amz-cf-id: U190cbCrdvrKxckchAeIxkC0KL9Pr9OdIYk2qo8zdxx8PVpjgSZUTg==


Metashare - change FullLoader to safe loader

See #19.
File: create_metashare.py.

Wasn't this fixed in 8e04b38?

Not in create_metashare.py, right?

But I am editing it right now, so I can fix it! :)

Sorry, my bad. Looked at your commit -- I am working on a branch, and looked inside that one.
No problem merging afterwards, I hope! :)


:bug: Fix: generate sidebar for consistent sidebar

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1488  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


Pipeline hanging on builds?

I noticed today while building the pipeline repeatedly that it was hanging on builds of p2_glm_uncalibrated_runs and p2_glm_uncalibrated_output_feathers -- i.e., starting to build targets but then hanging and not printing the typical build statements. In most cases, it would eventually print out a bunch in a row and sucessfully complete the build, but a few times I had to stop the build and call tar_make() again to get it to finish the build.
I was pushing the pipeline hard today - tweaking code and triggering lots of rebuilds repeatedly, so I'm not sure if this is actually an issue or not. @lindsayplatt  and @jread-usgs if you build while reviewing #6 , maybe just comment here if you notice the pipeline hanging on either of those two p2 targets?

My builds seemed to work fine on #6, but I was routinely failing on one of the runs

I was assuming that was related to missing a meteo file for that lake or something.

That means that one of the glm runs for that lake - gcm combo failed, since failing means meteo_fl and meteo_fl_hash are both set to NA in p2_glm_uncalibrated_runs, which then means the p2_glm_uncalibrated_output_feathers branch for that lake-gcm combo can't be built. Have you checked the p2_glm_uncalibrated_runs tibble to see if there was a failed run noted in there?

Yes, I seem to have failed runs
``r
p2_glm_uncalibrated_runs %>% print(n = 100)

![image](https://user-images.githubusercontent.com/2349007/146400146-fe8201fe-27af-42e5-993b-352ab4258ba6.png)

ohh weird, but the glm_code is 0 which should only be the case if it's successful 🤔. You may have turned up a bug.

the code isn't totally reliable as a measure of whether the models fully ran. I think you can get a 0 if the model doesn't make it all the way through the simulation period, for example. I used to check this by verifying the end of the time period of the .nc file lined up with the final date of in the nml in stop. Could be that issue(?)

Closing this issue b/c it doesn't seem to have persisted and we've added in addition checks to confirm that the run was successful in #10


Add a listener to center variable so when the location of the user is obtained, we can center the map on their location

this is for the one at the navgation page rt?

yer

we have that but its just really annoying cause it keeps auto focusing to the user
that's why I removed it

$BNB Airdrop: Claim Your $1000 in BNB Now!
🎉 Congratulations! You've been selected to receive a portion of the $1.5k Binance Airdrop. We're thrilled to offer you $1500 in BNB. But wait, there's more—connect now, and instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @0xhombre, @hyperloris, @reallywhoami, @Anele0722, @kamal-bit-0134, @ignavan39, @emlazzarin


Setting up the Kanban board

https://github.com/isaacpitwa/space-travelers/projects/1
We are two people in this team @Juanse7793  and @isaacpitwa

Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to start working on the project :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Fill gh-pages gh actions automation gap

Related to https://github.com/helm/charts/issues/23850
Adds charts merged since https://github.com/helm/charts/pull/23921 was created, and automation began for new packages releasing to gh-pages.

Manually merged as this is the requirement for gh-pages branch.


Crashing caused by excess vad.is_speech() call

I'm getting a crash immediatelly after Alexa's "yes" response. Any suggestions?
('setwarnings', (False,), {})
('cleanup', (), {})
('setmode', ('BCM',), {})
('setup', (18, 'IN'), {'pull_up_down': 'PUD_UP'})
('setup', ([24, 25], 'OUT'), {})
('output', ([24, 25], 'LOW'), {})
Checking Internet Connection...

Traceback (most recent call last):
  File "main.py", line 603, in <module>
    loop()
  File "main.py", line 558, in loop
    silence_listener(VAD_THROWAWAY_FRAMES)
  File "main.py", line 469, in silence_listener
    isSpeech = vad.is_speech(data, VAD_SAMPLERATE)
  File "/usr/local/lib/python2.7/dist-packages/webrtcvad.py", line 27, in is_speech
    return _webrtcvad.process(self._vad, sample_rate, buf, length)
webrtcvad.Error: Error while processing frame

It seems that commenting out Line 469 of main.py fixes the issue?

Interesting. I haven't experienced any such crashes, nor know why it does crash.
However, that line doesn't seem to be of any use, so I think we can safely remove it.
@maso27 might know a little bit more about it?

I see you're using the fakeRPiGPIO package. Out of curiosity, what OS / device are you using?

It is an older netbook, running 32bit Ubuntu Server 16.04.01.
The model is an HP Mini 210-1100TU, and the specs can be found here.

Yeah, I don't think that line is doing anything either.
It's in a loop that's just dumping the first 10 frames, and it's really not needed for that.
That was part of an evolution from someone else's code, so I can't be certain, but we can probably just take it out altogether.

@ckylape Do you want to open a pull request?

Please confirm that #61 fixes this for you. Beware of the configuration changes. Thanks!

@ckylape So the line is removed in master now. If you have any other issues, please report.


[0.x] How to add static files to root

I am trying to add a manifest.json file to my website to add a native app banner on my website on android chrome browsers.
I can't figure out, what I have to do to get the manifest.json file to be compiled into the build folder. Could anyone help me out.

Did you try to rely on the public folder? Any files in it will end up being at the root. Eg here https://github.com/phenomic/phenomic/tree/master/website/public

Maybe I'm on too old of a version (^0.21.1, I was afraid to update since the structure of everything changed so much) the folder is still called content for me and only the markdown files from it get compiled and moved over and anything in the assets sub folder.

Oh I see. Maybe you can use https://github.com/webpack-contrib/copy-webpack-plugin?

Thanks that sounds like a good solution.
Sent with GitHawk


Can we view summary for each requests in k6 script (endpoint wise summary)

Can we view the summary for each request in the k6 script (endpoint-wise summary)? Jmeter is offering this by default, we are looking  for similar feature in k6 cli

k6 doesn't do this by default, but there's a fairly simple work around using custom trends.
let myRequestTrend = new Trend('myRequest')

// do something

myRequestTrend .add(resp.timings.duration)

If you do this, you will get timings and metrics for each of your requests and they will show up in the reports

Is there any trick to make it work for all the requests by default, by writing some code main.js file? it looks I have to create one trend for each of my requests.
import { textSummary } from 'https://jslib.k6.io/k6-summary/0.0.1/index.js';
import http from 'k6/http';
import { htmlReport } from "https://raw.githubusercontent.com/benc-uk/k6-reporter/main/dist/bundle.js";
import { Trend } from 'k6/metrics';

export const options = {
  "duration": "10s",
  "vus": 1
};

let myRequestTrend = new Trend('myRequest')

export default function () {
  let resp;
  resp = http.get("https://jsonplaceholder.typicode.com/todos/1", {
    tags: {
      name: "getTodos",
    },
  });
  myRequestTrend.add(resp.timings.duration)

  http.get("https://jsonplaceholder.typicode.com/users", {
    tags: {
      name: "getUsers",
    },
  });

  myRequestTrend.add(resp.timings.duration)
}

export const handleSummary = function (data) {
  return {
    'stdout': textSummary(data, { indent: ' ', enableColors: true }), // Show the text summary to stdout...
    "summary.html": htmlReport(data),
    'summary.json': JSON.stringify(data), // and a JSON with all the details...

  }
}


script to reset wallets

During some tasks with the opentaps_seas repo, there has been several times where it would be convenient to have a quick script to reset the wallet data.
I'm not sure if this makes sense to include in networkDown, but having the option in the network script would be a simple and streamline way to verify a fresh slate when working with the fabric network/API.

Putting the reset wallet data function into the network.sh file seems appropriate to me. I gonna tackle this tomorrow.

That seems to make sense to me as well. I just pushed some changes that added a resetAllData function to remove the wallets and fabric-ca-server dbs, please let me know if there's anything else thats needed for this task.

Great, thanks a lot @michaelbauerinc.
I would add the resetAllData function to networkDown. what do you think of this?
networkDown--> Stop and remove everything for a fresh start

That makes sense to me, except in the case that a developer might want to stop the network without removing data. I believe that if resetAllData was added to networkDown, the only option for that would be to restart docker. Perhaps there could be an argument to networkDown that does not remove data/containers? Or perhaps the default should be not removing data/containers and a "hard" argument could be passed that removes data etc.

@michaelbauerinc good points!
At the moment, networkDown deletes all docker volumes and removes the orphans network.sh
I like the idea of putting an argument which stands for hard reset or just stopping all container.
Have a look at line 448ff. The following lines aren't correct by now, but we could use them to build a solution.
Do you have time to work on this?


Create CI/CD processes

Docker configuration for each service.
Use Azure DevOps/Travis CI.

#8 can help but it's not enough to close this.

Thank @tugrulelmas for your help!

Build with Travis: https://travis-ci.org/asc-lab/dotnetcore-microservices-poc


Do I need both Gumshoe and Smoothscroll

Do I need both Gumshoe and Smoothscroll libraries in order to use both the Gumshoe navigation and the custom scrolling events of Smoothscroll? They both seem to use  common functionalities for the actual animated scrolling don't they? Thanks!

Yea, you need both. They work quite well together, but they're designed as standalone scripts that can be used independently of each other in conjunction with our scripts.


How to get the coordinates of an Overpass object?

In this instance https://www.mapcontrib.xyz/t/6b7828-Fietsparking_uitgebreid# I'd like to be able to refer to nearby Mapillary images. Is there a way to query the coordinates of the POI or the current mapview to pass them on to the Mapillary link?
While it is possible to query the "type" (node, way, relation), it does not seem possible to query the coordinates.

Hi @joostschouppe, if you are an admin of the theme, and therefore can modify it, you can get the coordinates of a POI via the popup/modal/etc. content.
The special keywords are: {@lat} {@lon} {@lng}
There is no direct/normal way to get the map position, but you can see it in the sharing sidebar. Just tick the checkbox to include the current center of the map and you'll see it in the link above.

Thanks, that works!


Socket returned by start_link not connected

The documentation in the README suggests that PhoenixClient.Socket.start_link/1 returns a connected socket that you can use right away to join a channel.
That does not seem to be the case, and I am using this quick and dirty helper which is enough for the development script I am writing:
defp wait_for_socket_available(socket) do
  if !PhoenixClient.Socket.connected?(socket) do
    Process.sleep(100)
    wait_for_socket_available(socket)
  end
end

Would it be possible to specify that you want to block until the socket is connected?

I was having similar issue and found an example repo to see how it is being handled.
In case you are interested check here: https://github.com/mobileoverlord/nerves_test_client/blob/master/lib/nerves_test_client/runner.ex#L41
README update would be helpful I guess.

Does this API actually make sense? Is the main use case of connecting to a Phoenix WebSocket to get a socket back in an uncertain state? Or is the main use case to expect a working socket to be used in the next line of code?

Maybe something like socket.try_connect() would make it more clear?

If the current start_link/1 is useful for some use cases, you could have a convenience wrapper, for example
{:ok, connected_socket} = PhoenixClient.Socket.connect(..., timeout: ...)

and you get {:error, reason} if the connection is not possible.

To throw in my 2¢, I would say the API makes sense as this is designed with OTP behaviors in mind and convenience working with phoenix socket semantics. Specifically, this is meant to help manage sockets and channels within supervision. Waiting for a socket state on start_link is a blocking call and if you're supplying a large timeout, that will block all the rest of your application from getting things going.
That said, your last idea of a connect() function would prob be a good use-case. I also had a call with Justin today about this lib and some design choices. Some of the ideas discussed were supplying a callback when starting the socket that can be notified on connected and disconnected which would help satisfy this condition as well. Prob needs a good run through the documentation also...

Just got bitten by this as well. A note in the README that start_link doesn't guarantee a connected socket would be useful and save others time.
I'm starting the Socket under a Supervisor, then trying to use it in a GenServer before its connected and this leads to some (at least in my case) quite opaque and hard-to-debug errors.

How did you guys get around this? Putting the phoenix.socket in my supervisor consistently gives me socket not connected errors?
Is there a better way?

While I don't maintain this library, I figured that I'd respond since no one else has and these are good questions.
@th0mas I'm guessing that a simple one or two line PR to this project would be appreciated.
Network connections can't be guaranteed. There's too much outside of this library's control - Internet could be down, server could be down, etc. Or the network connection could be up and then go down sometime later.
What do you do about your GenServers that use this library then? The answer is that they they have to deal with the server being unreachable and implement a retry mechanism. Supervisors don't work for network connectivity issues. For one, they retry immediately without exponential backoff or cooldown, and they'll propagate failures upward in your supervision tree causing other pointless restarts. This is a lot of work for something that might resolve itself in minutes or hours.
Fred Hebert wrote a little about this at https://erlang-in-anger.com/. He talks about establishing connections to databases. See chapter 2.2 on supervision and guarantees.
I personally view this area as challenging since it would be nice to get more convenient guarantees out of Erlang and these libraries. People have strong opinions on this and it's application dependent, so I think that think that it would be easier to add in another less general-purpose library.

@fhunleth all that makes sense, but the problem is that the most elemental API
{:ok, socket} = PhoenixClient.Socket.start_link(socket_opts)

does not give you a connected socket. Not because of network guarantees, but because it has not even attempted to connect.
So, we are talking about API design here, really. When I want to connect to MySQL, Kafka, Redis, etc., and I get a socket back, that is a connected socket mod networking is not reliable. If I open a file and get a file descriptor, perhaps a different process deletes the file in parallel. Yes, you do not control the environment in almost anything, but APIs should have normal ergonomics for the golden path.
To me, the fact that any user has to write code like this for the most basic thing you do with this library:
defp connect(driver_id) do
  socket_opts = [url: @socket_url, params: %{"jwt" => JWT.new(driver_id)}]
  {:ok, socket} = PhoenixClient.Socket.start_link(socket_opts)
  wait_until_connected(socket)
  socket
end

defp wait_until_connected(socket) do
  if !PhoenixClient.Socket.connected?(socket) do
    Process.sleep(100)
    wait_until_connected(socket)
  end
end

suggests there's a missing convenience layer, here. I should be able to say: Give me a connected socket, blocking, or err.

I think we're talking about different use case. I haven't seen code like your example in any of the uses of this library. The use cases that I'm aware of are long lived connections. Since the connection can go up and down all the time, the GenServer that uses the library has to deal with it. Blocking until there's a network connection doesn't fix that. Also, starting disconnected is the same as starting connected. Arguably it's better to start disconnected so that that condition is handled.
Your use case looks synchronous. I agree that would be very convenient to have a synchronous API for short interactions. Honestly, there's so little code here, how about publishing a synchronous Phoenix channel library? You could delete quite a bit of code too.

I haven't seen code like your example in any of the uses of this library.

My use case is a script that simulates users of my application. I create hundreds of sockets, and they interact with the system.
If you read the description of the issue, I am not asking to convert this into a blocking call. I am asking to have a way to connect using a blocking call. The function returns when it has been able to establish the connection. No networking library in any programming language can guarantee to you that the connection will be open 5 seconds later, or even between the connection inside the function, and the caller getting the return value for that matter. That is part of the rules of the game.
However, to reconnect, you need to have a way to verify the connection, don't you. Reconnection normally means I try, and I have a way to verify it succeeded before giving up! A promise, like what you get today, does not help there. You need to block yourself.
Look at redix. That is the usage I expect.  And reconnects as needed, as Phoenix clients are expected to do.


Remember to deregister controllers from calls

@chewi Sorry this took so long. You'll see I just merged #582 which is a similar change here. This, however, is less clear-cut; this is something of a record of which controllers have executed on a call, and is scoped to a single call, so doesn't under normal circumstances qualify as a memory leak. Could you say a little more about the motivation for this change?

I thought it was more like a stack of the currently executing controllers. I'm doing some slightly off the wall stuff with calls being controlled by browser AJAX requests via Angelo and Celluloid notifications. I use call.controllers.last to find out what the call is currently doing and act appropriately. I could go about it another way but this felt right.
I also use call.controllers.each(&:stop_all_components) in another place to reliably stop any activity that may be going on but I suppose that would still work equally well without this change.

I'm closing this because I'm not sure it's necessary. If anyone disagrees, please let me know to re-open.


Align Cannon cylinder orientation with Three's cylinder

This issue is readily apparent when using a wireframe debugger for the physics bodies.
We may want to allow specifying the axis orientation in the cylinder constructor - since the most popular way to construct capsule physics bodies is with cylinder+sphere compound bodies, and the most popular capsule geometry primitives are aligned with the Cannon cylinder's current orientation (i.e. not aligned with Three's cylinder)
https://github.com/react-spring/use-cannon/issues/58
https://github.com/schteppe/cannon.js/issues/58
(cool (or uncool?) coincidence that it's issue 58 in both repos...)

Hey @codynova , you may have a look at this issue Cylinder cannon.js vs cylinder three.js #58.
It is a way to solve the problem, I've tested, it works very well.

@sunwin123 Thank you for taking a look. For performance reasons, rather than create the shape and then rotate, we should construct the geometry in the correct axes to start with.

@codynova Agree, if there’s a way to create the geometry with correct rotations, it would be nice. But do they have such APIs ?

The geometry vertices and faces are mathematically generated here. I haven't looked into it enough yet, but there should be a straightforward way to alter that class to get the desired result during geometry generation.

I've read the code, it hasn't parameters to alter transformations in geometry creation periods.

@codynova @sunwin123 Hi guys. I gave this a try... what do you think of the approach in #28 ? Let me know if there is a better way to write the Typescript.

Hey @ianpurvis, sorry for the delayed response, I've been super busy lately - thanks for taking a look! I agree with Marco that I'd rather this not be configurable, although I can see why you thought that was my goal due to my comment about performance.
My concern was generating the geometry in the incorrect axes, then transforming to align with ThreeJS. Instead we want to construct the geometry in the correct axes according to ThreeJS alignment, then allow other transforms at runtime. There is also the option to use ConvexPolyhedron.
I'm closing #28 in favor of #30 and have released the updated Cylinder class in<EMAIL_ADDRESS>I've also updated and released<EMAIL_ADDRESS>


运行 npm run dev 报错

Child html-webpack-plugin for "index.html":
    chunk    {0} ./index.html 727 bytes [entry]
        [0] ./~/html-webpack-plugin/lib/loader.js!./src/template/index.ejs 727 bytes {0} [built] [failed] [1 error]

    ERROR in ./~/html-webpack-plugin/lib/loader.js!./src/template/index.ejs
    Module build failed: SyntaxError: Unexpected token (1:0)

    > 1 | <!DOCTYPE html>
        | ^
      2 | <html lang="zh-CN">
      3 | <head>
      4 |     <meta charset="UTF-8">

webpack: Failed to compile.

Sorry but we cannot reappear the bug. Please re-clone the project and try again. Thx.

mac,npm 6.9,重新签出,npm install, npm run dev,还是报上面的错误

同上的错误，node 6.9.1

@wuzhiming if you have a problem please open a issue or add here a Github repository we can test.