Consider support for Anroid 4.4

Hi, I know this may be bit odd but there are MANY devices deployed which still run Android 4.4. They are mostly Chinese made POS systems with "stable" Android 4.4. Supporting newer Android devices you are virtually disconnecting all these standalone POS systems, which generally generate interesting transaction volumes compared to some smaller merchants.

Hi,
The minSdkVersion for our SDK is API 16. So technically, Android 4.4 is totally covered.

minSdkVersion seems to be 26 nowadays, any chance you clean up the dependencies to get this below 26 anytime soon?

Can you elaborate on your issue specifically? Our minSDK is still API 16.

Sorry, I meant to write compileSdkVersion, which is 26.


minor: fix editor toolbar styling

Fixes #98
@WardBrian @jsoules this is very minor, either of you can go ahead and merge.

Oh we do, #23


fix(telemetry): do not track disabling of telemetry

Fixes #739. The line removed in this PR was added long ago without an issue or PR, so it isn't clear why we need it. Since disabling telemetry via config bypasses this call altogether, we should bypass it for users that disable via flag as well. track() shouldn't be called at all for users who disable telemetry.

force: true says it all.


Propose adding the relative orbit to the group name

Group names do not uniquely identify a burst, it possible (even if unlikely) that two relative orbits will have identical group names for different bursts, e.g. group="IW2/N433_W0120_VV". Adding the relative orbit to the group structure will make all group names longer and more complex, but unique: e.g. group="22/IW2/N433_W0120_VV" and group="169/IW2/N433_W0120_VV".
This is a trade-off. I'm not sure what naming scheme is best.
We could even accept both (causing even more confusion).

The relative orbit is useful mainly to identify uniquely the bursts,   I would rather add the orbit in the burst name, for example:
group="IW2/N433_W0120_VV_T22"

@aurghs I agree with the idea, but prefer: group="IW2/R022_N433_W0120_VV" (R for "relative orbit" and keep the name to a fixed length).
I also noticed that the polarization should really be bands of the same dataset, not different datasets, but that is another issue.

I'll close the PR as "rejected" and open an issue with the discussion.
(@aurghs ok, I see why having an issue is better that a PR :/)


Fresh clone wont load homepage

Describe the bug
A clear and concise description of what the bug is.

When going to localhost:3000, it had the loading icon and then "Failed to login"
and then the button with "try agian"

To Reproduce
Steps to reproduce the behavior:

Go to 'localhost:3000'
See error

Expected behavior
A clear and concise description of what you expected to happen.

to go to the main home page

Screenshots
If applicable, add screenshots to help explain your problem.

Device:

OS: Windows
Browser: Opera
Version: latest

Additional context
Add any other context about the problem here.
N/A

Please read the Guide carefully, You need to write a backend so that the dashboard can connect to your bot
I had wrote a document about it already

Ohhhhh, I didn't see that part, thanks

and how can i write a backend? i didn't understand these examples :<

and how can i write a backend? i didn't understand these examples :<

Oops! I'm sorry to hear that
You can try my typescript backend which supports launching without extra setup
Don't worry if it's too hard for you, A better version is now in development: https://github.com/SonMooSans/discord-bot-dashboard-next

Thank you! Should I just clone it only?

Because there's error, and the website isn't deploying

Ugh, I've tried many times, I can't do it :<. I'm running it on replit. May you do it for me? the host is <IP_ADDRESS> :>

Because there's error, and the website isn't deploying

Can you have me more details?

here's the output

New error...., where can i add the client id?

What I mean here, he's redirecting to localhost, and I want it to a certain website, and the client id is not on the link, even i've changed it on bot.ts

Ok I've tried to make my own link that redirects to the website, and here's a new new error xD !

Ok I've tried to make my own link that redirects to the website, and here's a new new error xD !

Failed to do Oauth2 request, have you filled the BOT_CLIENT_ID and BOT_CLIENT_SECRET environment variables correctly?
Please read the guide before asking a question

Please open a new issue


Warning! HDF5 library version mismatched error

I got the error message shown above. I had HDF5 version 1.10.2.
I had to downgrade HDF5 to version 1.10.1 to fix the issue.

Hi, Thanks for sharing your implementation.
i run your code ,  And I want to save the network in  format   .h5
i use this code i method save :
tf.keras.models.save_model('model.h5')
but not save the model...... please help me to saveing the mode whit json or h5 format.

I got the error message shown above. I had HDF5 version 1.10.2.
I had to downgrade HDF5 to version 1.10.1 to fix the issue.
hi .what save model with hdf5 in tensorflow??


[Content]:

What article on segment.com/docs is affected?
https://segment.com/docs/connections/destinations/destination-filters/#destination-filters-api:~:text=blocklist_fields,to the destination.
What part(s) of the article would you like to see updated?
Spelling Correction : The doc states blocklist_fields while the API states blacklist_fields
DOC : blocklist_fields | Don’t send blocklisted properties to the destination.
API REF : blacklist_fields | Blacklist fields..
Additional information
CSE Liz Kane<EMAIL_ADDRESS>

Blocklist also shows up in the UI for the destination filter as shown in the photo.

@lizkane222 we stopped using the term "blacklist" and changed it to "blocklist" to support Black Lives Matter


Scottdarch develop

This should be everything. Let me know if I'm missing something.

CC @wuehr1999

This fixes #3.


[dnsmadeeasy-webhook] New chart

Description of the change

New chart to enable DNSMadeEasy with cert-manager.
Benefits

Possible drawbacks

Applicable issues

fixes #

Additional information

Checklist

[X] Chart version bumped in Chart.yaml according to semver.
[X] Title of the PR starts with chart name (e.g. [home-assistant])
[X] (optional) Chart is using our common library as a dependency.
[X] (optional) Variables are documented in the README.md

@onedr0p @bjw-s any other feedback before merging?


[Basic] Make OutputByteStream thread safe

-- rdar://problem/32315728 Make stdoutStream and stderrStream thread safe
(cherry picked from commit fad2d4648f6292c9a16d6ce6517084a326b54c26)
-- rdar://problem/32315972 swift-4.0-branch: Make stdoutStream and stderrStream thread safe

@swift-ci please smoke test

Approved for the Swift 4.0 branch


find out what OBSTYPEs to use in create_prescan_files() in corgidrp/mocks.py

Alex Greenbaum should know.

@agreenbaum, should we expect anything other than SCI and ENG (only those two are currently the only ones indicated in the Data Formats page). What about calibration frames, e.g. Darks?

@maxwellmb, Alex added some other possibilities (not finalized) on the "Data Formats" page.

@kjl0025, @agreenbaum, @ell-bogat. Are we satisfied with the current list enough to close this issue? If its not breaking anything then perhaps we can add new things as they come up?

Is this the page @semaphoreP was referring to?   In that case, I think we're fine on this and could add as needed.  On my branch (https://github.com/roman-corgi/corgidrp/blob/0640e436acfed0c6a2c4ad7548ceda67fed7f063/corgidrp/detector.py#L98), I have the geometries for the 4 types (SCI, ENG, ENG_EM, ENG_CONV) that were defined in the CTC's proc_cgi_frame repo.  prescan_biassub on my branch can handle any of these, and we can adjust the other step functions to be able to handle them if necessary.

Yes, I had noticed that, I think that's great. Alright, closing the issue for now.


Nothing happens when the integration label is added

I guess I need to add it and then still push more commits??
Repo needs a workflow that triggers on labeled and actions to do on it, e.g. like the centralized guy

I transiently implemented this in #309, but (a) the on-labelling job didn't ever run or even get skipped, so maybe that needs to be in main a the time the PR is opened in order to work? And (b) IIRC on: workflow_call: only works for stuff in main, so even if the PR label job had run, I wouldn't have gotten what I wanted.
Nonetheless, it provides a simple template for the work to be done to close this issue.
Note that the resulting .github/workflows/pr-labeled.yml job can be extended to accept black formatting tags, etc.


feat: ini tracing

Current dependencies on/for this PR:

main

PR #183   👈

This comment was auto-generated by Graphite.


Return server's response after a transaction is broadcasted

The server returns some information about the transaction including a block number.  It is probably a good idea to include the server's response here too in the returned value:
https://github.com/steemit/steem-js/blob/8297117cc4712c5fa63f75dcf8431f4978950a8f/src/broadcast/index.js#L41
I just tested broadcastTransactionSynchronousAsync and got the following reply.  I expect to see the same reply format in the non-synchronous broadcast that is used in [master].

I'm not sure who this might affect so I'm not going to make the change without feedback.

Now we are using this response on Busy. Do you want that Steem.js answer with server response? The server will always respond with "null" on confirmation right?


RHIDP-2908-fix: Fix build errors in Admin guide

[ ] Docs review: @abrennan89

/cherrypick 1.2.x


switched over to aws sdk

switched over to aws sdk with no additional features

Closing in favor of #75 which uses AWS SDK crates instead.


Provide alternative to yaml comments for configuring linting rules

Hey, just discovered this tool, awesome work!
We would like to use pint in watch mode for continous scanning of our prometheus rules, and use the owner feature so we can route alerts for problems to the right team.
Unfortunately, pint linting rules can only be configured via yaml comments, but we use jsonnet to generate our prometheus rules (serializing them to yaml via std.manifestYamlDoc()) and I couldn't find a way to add comments to the generated output. I am no jsonnet expert but it looks like the design of jsonnet doesn't even allow this.
Our primary motivation for jsonnet is that we can use the existing monitoring-mixins ecosystem and get an improved authoring experience over raw yaml - which works pretty well so far.
Some linters allow their rules to be configured in external config files, e.g. in PMD you can define rulesets - but I wouldn't use XML today :-)  I havent thought about how this could look in detail but in general I think such a mechanism could solve our problem.
Would you be open to implement or accept a PR for such a feature?

What kind of rules are you looking to add?
Comments are used mostly for rule level overrides, rules themselves have minimal configuration which is set in a config file.
This is a common pattern among tools that are checking source code. pint is not unique here.
It's comments because this allows to place any overrides next to the source code they are for. Any other solution would require you to write your rule in one place and then add a pint override in another place, which will make maintenance of those rules much more difficult.
There are some things that could be configured centrally, since they don't change much, like file ownership, but I wouldn't add any central mapping of everything that everyone can set, that's just gonna get messy.
Maybe you should report a bug/request to jsonnet?

Where I would have expected that this passes, since there is a more specific rule block that overrides settings for the same annotation check.

If it matches it applies, it doesn't matter than there's another rule that also matches.
If you want to exclude a subset of rules then add an ignore.

It could be useful if it's possible to ignore an alert in annotations, we're using prometheus operator as well, the comment in yaml will disappear in the output prometheus rules.


Environment variables not working in main.js

Description
For some reason, I cannot interpolate env variables in code alike
[...]
const accessToken = process.env.AUTH_TOKEN

export default function(Vue, { router, head, isClient }) {
  Vue.use(PrismicVue, {
    endpoint: process.env.PRISMIC_ENDPOINT,
    linkResolver,
    apiOptions: { accessToken },
  })
}

the AUTH_TOKEN and PRISMIC_ENDPOINT variables are just not taken into account.
It does work everywhere else but not in this file.
Steps to reproduce
I pretty much ran a stock gridsome project out of the box, trying to get Prismic.io to work. Nothing too fancy, I may add a demo if really needed.
Expected result
As far as the docs are saying, I could use process.env.AUTH_TOKEN to get an interpolated variable everywhere (main.js file included).
Actual result
It returns undefined, even in some ${process.env.AUTH_TOKEN} way. Oh and my key is totally working too. :+1:
Great news tho, I found that solution to work actually ! I wished to know if it was an intended behavior (maybe add a line in the docs in that case) or if it is a bug.
Thanks ! :pray:

You must prefix the variables with GRIDSOME_ to access them in the browser bundle (usually all files in the src folder). Read more about it in the Usage in the browser section :)

I don't really want my Auth token variable to be accessible on the browser tbh. 😅

@kissu I have the same issue with an env. var. that I don't want to make accessible on the browser. Did you solve this?


Text Area not updating on New File creation

When creating a new file with unsaved changes, the text area does not update to reflect the new file, even though the dropdown menu indicates that you are in the new file.

Its funny. I thought it was gone.
Now I am experiencing it.
The issue I see on my side is EditorGuiLayout.TextArea() does not automatically reflect on the screen. This happens only occasionally (though, it can occasionally happen consistently). If you wait, or potentially swap tabs), it will update to reflect an empty file.
So, I believe there is a bit of thread contention where the OnGui Completes successfully, but the window does not reflect it.

Ok, It might be related to whether the item is focused.
If it is unfocused, it will immediately updated.
If it is focused, it will maintain state with the existing text and wont update to empty until unfocused. It will also update with the prior text + new input if new characters is provided. If no new input is provided (such as moving cursor), it will update to empty string once focus is lost.

Check the latest release. I fixed the new issue after merging the code you provided. Also extracted NotepadModel to it's own class. Only issue remains is the original one that I'm still unable to figure out


Update specs2-core to 4.14.0

Updates org.specs2:specs2-core from 4.13.3 to 4.14.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2", artifactId = "specs2-core" } ]

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Codecov Report

Merging #86 (e649fea) into master (197ce63) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head e649fea differs from pull request most recent head 520a8e1. Consider uploading reports for the commit 520a8e1 to get more accurate results

@@           Coverage Diff           @@
##           master      #86   +/-   ##
=======================================
  Coverage   31.78%   31.78%
=======================================
  Files          17       17
  Lines         258      258
  Branches        6        6
=======================================
  Hits           82       82
  Misses        176      176

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 197ce63...520a8e1. Read the comment docs.

Superseded by #87.


please support umd format

Describe the feature
this tool can produce cjs and esm format build assets. I hope umd format can also be supported
Additional information

[ ] Would you be willing to help implement this feature?

~> #398


I purchesed a LiftTime License, but the profile shows that it will be expired one year after

Thank you for purchasing a Lifetime License.
It's a known bug, and it fixed for you.
Check it again.


fix: support custom MaxPages on groups

This is a bug that results in limit of Groups at 200 (20 results, 10 pages). This change allows for many more to be returned.


Implement asin and acos in cmath

These functions show a weird rounding error like this:
Welcome to the magnificent Rust Python 0.1.2 interpreter 😱 🖖
>>>>> import cmath
>>>>> cmath.acos(0.2)
(1.369438406004566+0.00000000000000011102230246251565j)
>>>>> cmath.asin(0.2)
(0.20135792079033082+0.00000000000000011102230246251565j)

For which CPython returns:
Python 3.9.7 (default, Oct  1 2021, 17:26:30)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cmath
>>> cmath.acos(0.2)
(1.369438406004566-0j)
>>> cmath.asin(0.2)
(0.20135792079033082+0j)

The tests are ignored for the moment, see here
Docstrings are copied from CPython docs.

Please note that the result of acos should be negative zero but it is positive something instead.

Ah.. I think duplicated #3198 here.

It seems so, please close at will :)


Update E2E test suite creator and runner

Pull Request Key Information
Reason for change
End to end tests were outdated with the change from V3 to V4
What was changed
Updated the end-to-end test suit creator, and the running script and remade 4 basic E2E tests
Intended Purpose
Update the end-to-end tests from v3 to v4.
Testing Completed
Manually tested to see if the scripts ran, and verified the E2E results.
V4-simple_all_repairable_3c176cb78d0106ec77c2951c7e1bae09b9dcd831.log
All existing unit tests run
results.txt
Level of version change required
Patch
Additional Information
More E2E tests will be added in future patches.

New E2E Test results files:
V4-simple_all_repairable_9ed4958239661f54f2456b4d0a532e49706d9d6b.log
V4-simple_all_non_repairable_9ed4958239661f54f2456b4d0a532e49706d9d6b.log
All unit existing unit tests pass:
results.txt

All existing unit tests pass.
results.txt
All E2E tests pass - ran on a different machine.
V4-simple_all_non_repairable_9c4b0ae71517cb6beb0f6e2d73f09e15faa176cf.log
V4-simple_all_repairable_9c4b0ae71517cb6beb0f6e2d73f09e15faa176cf.log
V4-simple_mixed_emissions_9c4b0ae71517cb6beb0f6e2d73f09e15faa176cf.log

results.txt

results.txt


fix extraction for expressions with computed properties

Addressing to this issue - https://github.com/c-3po-org/babel-plugin-c-3po/issues/85
@MrOrz @alxpy

@MrOrz ah, nice catch. I think we should also validate what can be used as a key for the computed property.
I think possible values of computed property can be:

identifiers - ${ arr[val].value }
literals - ${ arr[0].value }
and member expressions - ${ arr[val.test].value }


How can I disable my addin for word online

As RichApi is only available on native word application. We want to disable our addin for Word Online
How can we do that

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1b7148f0-0384-00d9-16f4-99cdab9c8ecc
Version Independent ID: 9a7623fd-dd24-267f-a17f-dfcbd496ee0e
Content: Specify Office hosts and API requirements - Office Add-ins
Content Source: docs/develop/specify-office-hosts-and-api-requirements.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@abdulkareemnalband We don't really offer a way to disable a particular type of client since the intention is for you to write once and run everywhere add-ins are supported. However, you may be able to check for the current platform and exit if it's the online/web client, for example.
I must point out that RichApi is available if you run Word in a web browser (see WordApi availability). Is there a reason you believe that the RichApi doesn't work in that client? Is there a particular API you have in mind?
Thanks.

@ElizabethSamuel-MSFT  ContentControl.insertHtml is not supported on word online

@abdulkareemnalband Are you receiving an error when you use ContentControl.insertHtml in the browser client? Can you share more details about this, including which browser and behavior you're seeing?
Thanks.

Getting following error on
contentControl.insertHtml('some html' , 'Replace')
await context.sync()

The action isn’t supported by Word in a browser. Check the OfficeExtension.Error.debugInfo for more information.
and error.debugInfo has following details
{
  "code": "NotAllowed",
  "message": "The action isn’t supported by Word in a browser. Check the OfficeExtension.Error.debugInfo for more information.",
  "errorLocation": "ContentControl.insertHtml",
  "statement": "var insertHtml = v13.insertHtml(...);",
  "surroundingStatements": [
    "...",
    "// Instantiate {insertText9}",
    "var v12 = context.root._getObjectByReferenceId(\"{fb450cb9-7d22-4f6e-8b64-975e91eab92d}{104}\");",
    "var insertText10 = v12.insertText(...);",
    "// Instantiate {insertText10}",
    "var v13 = context.root._getObjectByReferenceId(\"{fb450cb9-7d22-4f6e-8b64-975e91eab92d}{105}\");",
    "// >>>>>",
    "var insertHtml = v13.insertHtml(...);",
    "// <<<<<",
    "// Instantiate {insertHtml}",
    "var v14 = context.root._getObjectByReferenceId(\"{fb450cb9-7d22-4f6e-8b64-975e91eab92d}{106}\");",
    "var insertText11 = v14.insertText(...);",
    "// Instantiate {insertText11}",
    "var v15 = context.root._getObjectByReferenceId(\"{fb450cb9-7d22-4f6e-8b64-975e91eab92d}{108}\");",
    "..."
  ],
  "fullStatements": [
    "Please enable config.extendedErrorLogging to see full statements."
  ]
}

@abdulkareemnalband Thanks for sharing this information. I'll transfer to the product repo, office-js, so the product team can take a look.
Thanks.


override central.content.url and analyzer.central.retry.count

Is there any way we can override the central.content.url and analyzer.central.retry.count variables.
Didn't find these variables in https://jeremylong.github.io/DependencyCheck/dependency-check-gradle/configuration-aggregate.html

You should be able to override them with -Danalyzer.central.retry.count=1.

not sure you can actually use a different central.content.url though... You may have to use the nexus analyzer instead.

we would like to point to 'https://repo1.maven.org/maven2/' instead of default 'https://search.maven.org/' while executing the dependencyCheckAggregate task. To use the nexus analyzer it should be pro version right?

Not sure if https://repo1.maven.org/maven2/ has the same API endpoints as search.maven.org. Regarding nexus - I'm not sure, I didn't right the integration and I haven't tested it. it might work with the free version.

@tadlakha9 Updating to that URL would be useless. The central analyzer is using maven central search to search artifacts by sha. That's not an API offered on repo1.maven.org/maven2

@tadlakha9 The central.content.url is the base URL for the central search API to deliver content pointed to by a file path as obtained from central search search-by-sha API. It should not be exchanged for the base URL for maven central repository itself.


Move Jackson JSON converters to horreum-api module

This PR moves the Jackson JSON converters to the horreum-api module to allow users writing downstream webhooks to simply depend on horreum-api
fixes #184

Thanks, integrated!


[Admin] Publish

Docs Build status updates of commit a4dcbe9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-debugging.md
:white_check_mark:Succeeded
View

docs/excel/excel-add-ins-events.md
:white_check_mark:Succeeded
View

docs/overview/office-add-ins-community-call.md
:white_check_mark:Succeeded
View

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Connection demo app: Connection modal from on-chain action

Variation for the connection modal displaying different content, which is triggered when a user initiates an on-chain action. Connect with MetaMask button is primary action. Modal can be cancelled/closed. Should include current network indicator. Might not make through testing.

[ ] Connect with Metamask button
[ ] Network indicator
[ ] Test

Resolved by: https://github.com/ConsenSys/rimble-app-demo/issues/16


FATAL ERROR: invalid table size Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x1363f0c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Dictionary<v8::internal::SeededNumberDictionary, v8::internal::SeededNumberDictionaryShape, unsigned int>::EnsureCapacity(v8::internal::Handle<v8::internal::SeededNumberDictionary>, int, unsigned int) [node]
 6: v8::internal::Dictionary<v8::internal::SeededNumberDictionary, v8::internal::SeededNumberDictionaryShape, unsigned int>::Add(v8::internal::Handle<v8::internal::SeededNumberDictionary>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyDetails, int*) [node]
 7: v8::internal::SeededNumberDictionary::AddNumberEntry(v8::internal::Handle<v8::internal::SeededNumberDictionary>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyDetails, v8::internal::Handle<v8::internal::JSObject>) [node]
 8: 0xe7b896 [node]
 9: v8::internal::JSObject::AddDataElement(v8::internal::Handle<v8::internal::JSObject>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow) [node]
10: v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow, v8::internal::Object::StoreFromKeyed) [node]
11: v8::internal::Object::SetProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::LanguageMode, v8::internal::Object::StoreFromKeyed) [node]
12: v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::LanguageMode) [node]
13: v8::internal::Runtime_KeyedStoreIC_Slow(int, v8::internal::Object**, v8::internal::Isolate*) [node]
14: 0x1ec92480437d
Aborted (core dumped)

The RAM dump may have to be written in segments.

Fixed in a945e71ae177f79474906984fbaa3bb41b068648


Entrypoint string specification and validation

Right now the entrypoint strings are '#'-delimited (Wasm file and method): https://github.com/containerd/runwasi/pull/102. In https://github.com/containerd/runwasi/pull/219 there was some discussion about specifying this particular entrypoint string format and semantics well, so it would be documented for users and other projects could potentially support this.
In particular, we need to write validation code and tests. For example, #219 listed these test cases:

foo#bar
#bar
foo#bar#bar
foo
#foo#bar
foo#
foo#bar; -- %

👍

More discussion happened here: https://cloud-native.slack.com/archives/C04LTPB6Z0V/p1693606484029809

Pulling out the relevant differences from the slack thread:

wasmtime shim expects entrypoint to be a main.wasm#foo or main.wat#foo
wasmedge , lunatic  expect entrypoint to be main.wasm (I am not sure if .wat is supported)
wws shim expect a app binary. (e.g. hello.js)
slight and spin don't expect anything from entrypoint because they look for framework specific manifest files on root directory (e.g. spin.toml)

wws shim expect a app binary. (e.g. hello.js)

wws behaves as slight and spin. It uses a specific manifest too and scans for functions defined at any level beneath the root directory, mapping that subpath at the appropriate place in the HTTP server.


Heaps

Problem link: https://www.hackerrank.com/challenges/qheap1/problem

I can do it in C++

I can do it in  python or cpp

Can I do it in python?

@JayeshGChandan Python

@v-malwade Check any other issue or create a new one

I can do it in Java

This issue is open for JAVA and Python

I am working on this issue #125 for java implementation.

I will do this in python
please assign this to me

@shash-2468 GO ahead


[2.1] Remove vestigial GUI installer port from installer

High-level description
Back-port of #7394
The installer maps port 9000 (or $PORT) on the host to the container, where the GUI installer used to listen before DC/OS 1.12.
The port is now unused, and can occasionally cause problems since, even though unused, the port must be available on the bootstrap host.
Corresponding DC/OS tickets (required)

D2IQ-66022 test-e2e/test_external_cert.py: bind: address already in use
D2IQ-67994 TestCertUpdate is flaky
D2IQ-61304 docker driver failed programming external connectivity on endpoint: address already in use
D2IQ-7844 CLI Installer binds on :9000?

@mesosphere-mergebot changelog-not-required only external difference is that port 9000 is no longer reserved while installer runs

@mesosphere-mergebot request-review @janisz @fatz @DominikDary


[hotfix] [core] Add missing stability annotations for classes in flink-core

Several classes in flink-core do not have a stability annotation.
I went over the classes which were added since Flink 1.1.0 (and some that I found on the way) and added @PublicEvolving and @Internal annotations.
The PR is split into two commits, one for each annotation.
Please validate the annotations I added @StefanRRichter, @zentol, @twalthr
Thanks, Fabian

Good cleanup, thanks a lot!
Merging this...


Command order for creating a deployment

[Enter feedback here]
What is the difference between "deployment group create" and "group deployment create"
https://docs.microsoft.com/en-us/cli/azure/deployment/group/create?view=azure-cli-latest#az_deployment_group_create

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: de233487-a2e5-00ab-30e9-f68866735957
Version Independent ID: 2cd3ed9f-113f-a6c2-6a36-2925a044edf8
Content: az group deployment
Content Source: latest/docs-ref-autogen/group/deployment.yml
Service: azure-resource-manager
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

ARM


intermittent failure of tests/net/socket/select on qemu_x86

Describe the bug
Seeing this occasionally fail when running sanitycheck with high CPU load:
SeaBIOS (version rel-1.12.1-0-ga5cab58-dirty-20200625_115407-9426dddc0a1f-zephyr
)
Booting from ROM..*** Booting Zephyr OS build zephyr-v2.3.0-2150-gdd655d7c9163  ***
Running test suite socket_select
===================================================================
START - test_fd_set
 PASS - test_fd_set
===================================================================
START - test_select

    Assertion failed at WEST_TOPDIR/zephyr/tests/net/socket/select/src/main.c:115: test_select: (tstamp >= 30U && tstamp <= 30 + FUZZ is false)

 FAIL - test_select
===================================================================
Test suite socket_select failed.
===================================================================
PROJECT EXECUTION FAILED

This is very strange as we have icount enabled, so our tests should be deterministic.

The test has the configuration CONFIG_NETWORKING=y which will disable Qemu icount.

The test has the configuration CONFIG_NETWORKING=y which will disable Qemu icount.

ohhhhhh makes sense now.
Closing. I have a general idea how to mitigate this.


Support multiple configuration for authentication API

If we want to support authentication per API (see #247), we need to give the possibilty to configure multiple authentications for Basic, Digest and OAuth2. Right now the API GET /apigility/api/authentication gives only the last chosen authentication. We need to be able to store all the authentication configurations when we do POST/PUT on specific type /authentication/http-basic, /authentication/http-digest, /authentication/oauth2.
This can be a potential BC, maybe we can find a different solution with a new API.

We implemented it in ver. 1.1.


Add force option to delete campaign api.

@madchutney

Hi @JammuKekkonen, thanks for the PR. We'll review with Product and if ok, then take a look at adding the functionality to all SDKs and writing the test cases.

This functionality is now available by the foundation interface:

UpdateCampaign.stop()

Although this is different from the suggested implementation it is consistent across the SDKs and is part of the regression tests.


refactor: update versions and code accordingly

This PR was deployed with mocked data in the following URLs for your appreciation:

Frontend: https://fabric8-launcher-frontend-pr-1317-app.surge.sh
Welcome App: https://fabric8-launcher-frontend-pr-1317-welcome-app.surge.sh
Storybook: https://fabric8-launcher-frontend-pr-1317-storybook.surge.sh


Allow overloading of function call syntax using __call method.

For non-functions, x(...) should call x.__call(...) instead.

added to v0.11.4


feat: add docker compose file for development

Run a dev environment with docker compose -f docker-compose.dev.yaml up -d, and keep no command console.
Before do that, do some setup command as below:
docker compose -f docker-compose.dev.yaml run api go install github.com/cosmtrek/air@latest
docker compose -f docker-compose.dev.yaml run web npm install

PS: If this proposal was approved, maybe we can move docker-compose.dev.yaml to docker-compose.yaml.

Please format the PR title prefix.

I have fixed it, how is it now?


Improve FileSystemError by adding associated path

Currently FileSystemError doesn't have an associated path, which makes diagnosing errors harder. This is going to be fixed in TSC and SwiftPM, but this is a breaking change. Usage of FileSystemError is updated in the SourceKit-LSP codebase accordingly.

apple/swift-package-manager#3055
@swift-ci please test


"Open account settings" in Slack has no effect

Describe the bug
In the "Profile & account" pane of a Slack service, the "Open account settings" command has no effect.
To Reproduce
Steps to reproduce the behavior:

Open a Slack service
Click on the name of the service to activate its pull-down menu
Click on "Profile & account"
In the new pane that appears, click on the "…" button
Click on "Open account settings"

Expected behavior
I expect some sort of menu or dialog to appear that allows me to change my account settings (e-mail address and password, I suppose, and maybe other settings).  Instead, nothing happens.
Desktop (please complete the following information):

OS: openSUSE 15.0
Browser: SeaMonkey
Version: 2.49.4

I've tried to access the "Open account settings" pane using a web browser (Chromium) and it works as expected.  In the web browser, the account settings page is opened in a new tab as opposed to the current tab.  This might be why Franz has trouble displaying it.

This seems to be an issue of electron compatibility with openSUSE 15.0 … this works as expected on all major platforms we test …


CINMS Pisaster graph: show missing data w/ dashed line

Comparing the NPS: Sanctuary static graph to the MARINe: Ochre seastar interactive graph:

interactive graph missing data for Santa Barbara Island for 2005, 2006
Also noticed that one or more island means are missing in the years following the population crash so also want to double check that no sites were surveyed at those islands in those years

Also, let's add a caption to the interactive plot that is a modification of the one from the static plot:
Average number of ochre stars (Pisaster ochraceus) counted during 30-minute searches at monitoring sites at each of the five islands in Channel Islands National Marine Sanctuary from 1999–2014. Sea star wasting syndrome caused a massive die off of ochre stars in later 2013-2014. Prior to 2014, most locations had more than 100 sea stars counted during 30-minute searches. After 2014, the majority of sites have had less than ten per search. Surveys conducted by Channel Islands National Park

BB: So Santa Barbara Island is missing between 2004 and 2007; not sure how we should proceed here vs existing interpolation.

TODO:

Create gap where values missing in time series a la:

Update modals/_captions.md.

Issue fixed:


Speak aloud example

Added a simple Text-to-Speech (TTS) example using festival.

@jquesada2016 are you still interesting in merging this work?
Is it worth making changes to update for latest roc? Maybe there are changes which have resolved some of the previous issues? It looks like a fun platform..
Maybe we could add to roc-awesome instead of merging into roc-lang now we seem to be migrating platform examples out of the repository. Another option might be to move into roc-lang/examples repository instead?
What do you think?

Closing as this has not been active for some time. Please re-open if you would like to update and merge these changes.


the template argument weill be removed as bellow

func BoolToNumber[T T_Number](v bool) T {
if v {
return T(1)
}
return T(0)
}

when run goformat commant, it will be changed to:
func BoolToNumber(v bool) T {
if v {
return T(1)
}
return T(0)
}

That's because goformat doesn't know anything about this syntax because it was added after the last sync with upstream gofmt.  Maybe you want to try it. There is a script get-upstream-changes that helps with this.


Build Error

Hi,
I came with the lots of following error after following your guides in the building section.
'RTCSignalingState' does not have a member named 'value',
Am I facing some strange situations? Thank in advance.
FYI, I am using EL Capitan 2 and Xcode 7 Beta but installing on a iOS 8.3 machine.

Honestly no idea. But I don't even know whether you are using Xcode or Cordova CLI, nor your Swift or Xcode version.
It works, at least, with:

Xcode 6.3.2
Swift 1.2
NPM cordova 5.0.0

Thank you so much for replying!
I guess this may be the problem of swift two or Xcode beta because when I open the project the Xcode remind me whether to "update the syntax".
I am closing this issue and see if things can be solved in the next beta.

Hey I did a successfully build after Xcode default updating the syntax and changed some of the lines. However I have not yet tested it. Just want to ask @ibc are you going to update a swift 2 version of iosrtc after the stable release of it?

When Swift 2 becomes stable I will do my best effort to update the code so it runs in both Swift 2 and 1.2, sure. It would help if you mention what must be changed :)

After using the default update of syntax and some inline tips change I successfully built it and the getUserMedia worked pretty well. Below are the three changes I spotted.
1.All "value" statements for PluginRTCTypes and throughout the plugin are changed to "rawValue".

Some "!" are append to variables.

The toggle function need to use the new "do try catch" error handler grammar.

And tons of warning mentioning change "var" to "let".
However, the connection worked bad and thread alert came out on RTCPeerConnectionDelegate. The very first event emitter emitted "signalingState:have-local-offer" and everything dead. I am not very familiar with the method behind so I will have a deeper look and see if I can provide any more help.

Thanks. I will face it when I upgrade to Swift 2.0, but honestly I do not want to do it until it becomes stable. I will update the README though.

I found a way to make everything happen although it is really dirty.
Besides the three changes I mentioned earlier, I also commented out everything related to reading rawValue from RTCTypes and the self.eventListener methods (Although I know it may be important). However things worked pretty well after this.
Anyway, it is not a constructive way of doing things, so l am still looking forward for your update~!

I cannot understand how the plugin can even work without the calls to self.eventListener methods XD
OK, it's better that I wait until I get Swift 2.0.
Thanks.

Greetings @ibc , since Xcode 7 GM version is available now, are you planning to make an upgrade from swift 1.2 to 2.0?

I will update the code to Swift 2.0 once the currently OSX stable version asks me to upgrade Xcode to 7.0 stable.

PS I just saw in the release notes of Xcode 7.0 (which just became available for download via the app store / update center / whatever the heck apple calls it) has a "Tool" to covert source code to Swift 2 via menu Edit > Convert > To Latestest Swift Syntax
FYI

Yeah, I ran the conversion.
It didn't solve EVERYTHING obviously.
There is still a handful of what I would consider minor things needing fixed to resolve errors.
But as @windht mentioned earlier, it sounds like there is more to it than just resolving syntax conversion issues.
My builds are halted until I find a solution to this.
You would think specifying that your app should b iOS 7.0 compatible that it would resort to using the Swift 1.2 compiler.  How on earth can code compiled in Swift 2.0 run on iOS 7.0?  Guess I don't fully understand it.

@joshuairl I adapted the exception handling code, can you give #70 a try?

@saghul I had posted this before I noticed your PR.
LGTM but have not tested my app much this morning since I used your branch last night. But it definitely was able to build successfully!


Not working with Android 9

Thanks for writing this app pair. It fills in a huge deficiency of fitness machines being unable to directly read heart rates from fitbit devices.
It seems to work on Android 10 devices, but not on Android 9. Is there anything I can do to get it working on earlier Androids? If I need to use a phone as a Bluetooth relay, I'd much rather use one of my much older devices.

Curious, the app is targeting SDK version 27, which is Android 8.1.
This Android app is mostly stitching together a GATT server example and web server example. I'm not really an experienced Android developer.
I don't have the time right now to revisit this project or dig into Android compatibility issues, but thanks for trying it out!

Hi Michael, thanks for your quick reply.
As a dev myself, I fully understand the feeling of time scarcity.
Your 'app pair' Simply Just Works (tm) :)
It's nice too, to have the FitBit Sense wrapped as a 'virtual Bluetooth HRM', to the point where the Bowflex JRNY app detects and uses it without issue.
I'm tempted to fork the code and start onboarding with Android and FitBit development. This might give me a good way to onboard with both ecosystems :)
Talking about ecosystems, the exercise equipment industry in general has embarrassed itself badly by refusing to support interoperability. They need to have an interface standard akin to MIDI for musical equipment.
Cheers again
David


RDFLIB requirement inconsistent with SBOL Factory

We require RDFLIB 5, and SBOL Factory requires 6, which is why our GitHub CI actions are broken.
I don't know why RDFLIB is pinned to 5, I'm afraid.

I think rdflib 6 is now required by pySBOL, hence is also a requirement for sbol_factory, so we will have to upgrade paml's dependency, too.


Remove tagging from AddCommand

Remove tagging from AddCommand
Edit some test cases
Modify TagCommand such that it only accepts arguments with hex as tags
TODO:
Implement delete tag
Edit UserGuide
Create tests for the new implementation of TagCommand and AddCommand

Modify tagging fuctionality such that it parses tags in sentence-case
Fix ResultDisplay such that it only displays tags if there are tags
Edit UserGuide to reflect current Delete/Tag/Add commands
Shift deletion of tags to DeleteCommand
To do:
Fix J-Unit testing (will be done after quantity has been added in)

LGTM 👍🏻


Add "license" badge to readme

Feature Request
Describe your problem
Add the license as a badge to readme.

Can I work on this?
What kind of license do you want? Creative commons? MIT?

Hey @syauqy Go ahead :tada: we are using the MIT license https://github.com/Elevate-Lab/elevate-lab-website/blob/main/LICENSE

Closed via #75


Update existing Skia Perf alerts to point to new tags and new benchmark names

Tags of device/host info are being collected with https://github.com/flutter/flutter/pull/92141, https://flutter-review.googlesource.com/c/recipes/+/19380 for a week.
Benchmark metrics are being uploaded to both builder name (with platform info) and task name (without platform info) https://github.com/flutter/flutter/pull/92530 for 5 days with over 14 commit data.
For example, for metric 90th_percentile_delay_benchmarkLive_millis, we have data under both Linux_android_frame_policy_delay_test_android and frame_policy_delay_test_android, with tags device_type: Moto_g__4, device_version: android-24, host_type: linux, and host_version: debian-10.11.
Existing alerts are linked to metric names only, without specifying tags. This will cause fluctuation when we support more platforms.
This bug tracks to update existing alerts to point to new tags and new test names before we deprecate uploading metrics to old builder name and support more platforms. (We only need to add tags to existing alerts. No action is needed for pointing to new test names, because we are relying on metric names which are independent of benchmark names)

List of alerts to update:

Energy (https://github.com/flutter/flutter/issues/92877)
Memory (https://github.com/flutter/flutter/issues/92879)
Size sub_result (https://github.com/flutter/flutter/issues/92881)
Technical debt (No trace is selected)
Caches (https://github.com/flutter/flutter/issues/92922)
Time-based Alerts (https://github.com/flutter/flutter/issues/92927)

I don't understand why this is needed. The alerts segment metrics by type but don't cause unrelated data to be mixed. I don't see why the tags would cause fluctuations. Can you give me an example?

I don't understand why this is needed. The alerts segment metrics by type but don't cause unrelated data to be mixed. I don't see why the tags would cause fluctuations. Can you give me an example?

You are right that alerts are based on trace (which is a combination of benchmark (performance test) and configuration (for example, OS)), and we will not have a mix of different types of data.
IMHO, by separating the alerts based on tags, we will have the flexibility to control thresholds on different platform levels, rather than a single setting for all.
The fluctuation here I meant is when we have multiple device types. For example: linux benchmark flutter_gallery__start_up_delayed: when running in Moto_G_Play phone (in staging), it has relatively high values, whereas when running in Moto_G_4 phone (in prod), it has relatively low and more consistent values. I would expect we have different alerts threshold for these two platforms.
Even now for a same metric, we also see different patterns on existing platforms. For example worst_frame_build_time_millis is being collected in multiple benchmarks. Two of them are Mac_ios_complex_layout_scroll_perf_ios__timeline_summary and Mac_ios32_flutter_gallery__transition_perf_e2e_ios32. I would expect we have different alerts settings based on their trending chart.

Ah, I think there is a little misunderstanding about how the SkiaPerf alerting works. It isn't based on hard-coded per-metric thresholds. Rather, it looks for changes w.r.t. the recent past using a configurable strategy along a single data series. So, I don't think splitting these alerts out along the lines of the tags makes sense.

Based on offline sync up, tags are not necessary as alerts are based on normalized data and are config specific. When we have new platforms in the future, their metric data will trigger alerts based on their own dataset.
Closing.


Speeding up the docs build

@GeorgeR227, now that we have the overhaul in #231, what is the plan for the literate examples? Are there any that need to be worked into the current docs build?
One benefit of using Literate is that we can accelerate the docs with slurm, by launching jobs for each literate page and then including them in the final docs.
Another option is to have a script that runs simulations to generate the figures and then write docs pages that include those figures as references. Then the docs pages don't have to run the code that generates the figures in the docs build. That would let us use a standard pipeline for building the docs on github actions, but a buildkite job that can launch a slurm job for each page to build the figures by simulation on hipergator.

Ref: #218/#190

To be honest I haven't looked at Literate a lot but it seems to me like it's meant to speed up turning examples into markdown which can then be feed into Documenter which in turn creates the HTML doc pages. So from what I see, using Literate won't actually speed up the build but maybe speed up our workflow of turning physics into docs.
For our large simulations, like Navier-Stokes or NHS, setting up that pipeline sounds good, especially since those already have julia and slurm scripts ready.
A large time sink right now is also the package pre-compilation which takes around 8 minutes so tackling that would also help a lot.

Also, @lukem12345 and I were discussing yesterday that we should move in the Brusselator, and maybe Gray-Scott as well, example into a doc page.

Another option is to have a script that runs simulations to generate the figures and then write docs pages that include those figures as references. Then the docs pages don't have to run the code that generates the figures in the docs build. That would let us use a standard pipeline for building the docs on github actions, but a buildkite job that can launch a slurm job for each page to build the figures by simulation on hipergator.

I am worried that this would exacerbate issues related to keeping simulations (including the initial conditions and such) living in multiple locations in synch.

Given that Literate does not actually execute the docs pages in separate environments, but just generates the markdown for Documenter, I think that parallelizing that isn't actually helpful.

For our large simulations, like Navier-Stokes or NHS, setting up that pipeline sounds good, especially since those already have julia and slurm scripts ready.

We also want to accelerate as many of these sims with CUDA as possible, so having the docs build on the cluster and deposit the files for Documenter to load would be great.
Buildkite has a mechanism for building and deploying artifacts https://buildkite.com/docs/pipelines/artifacts. We could have all the simulation results build as an artifact and then have the documentation link to files in that artifact.
https://github.com/JuliaComputing/MultiDocumenter.jl/ has tools for aggregating docs from multiple packages into a single website. It can do link rewriting, so maybe we could use that to have docs that get images and results from a BK artifact.

Apparently execute=true on Literate.markdown will store the results so that Documenter doesn't have to rerun the cells when building the docs. https://github.com/JuliaDocs/Documenter.jl/issues/2456#issuecomment-1954469264


prefix route

hello,
wondering if it is possible not to repeat prefix uri like this:
location /todo-app/v0.1/test/ {
          content_by_lua_block {
            local router = require "router"
            local r = router.new()

            r:get("hello", function(params)
              print('hello')
            end)

            r:get("hello/:name", function(params)

currently i have to repeat each time prefix uri:
location /todo-app/v0.1/test/ {
          content_by_lua_block {
            local router = require "router"
            local r = router.new()

            r:get("/todo-app/v0.1/test/hello", function(params)
              print('hello')
            end)

            r:get(" /todo-app/v0.1/test/hello/:name", function(params)

thanks

When you call the .execute(method, path) you can just pass the path without the prefix.
location /todo-app/v0.1/test/(?<path>.+) {
  content_by_lua_block {
    ...
    r:execute(ngx.req.get_method(), ngx.var.path)
  }
}

or use the full uri and do string.gsub to remove the prefix.

Feel free to reopen if you can't make it work. But I'd say this is not an issue of the router. Just strip the prefix before giving it to the router and make every path relative.

oh i see, of course i can do it simply like this.
thanks for your feedback


libusb1 - enable build with examples

I added withExamples to build all examples into examples/bin.
since the fxload package is outdated and source code moved to  libusb's examples. I believe it is better to build fxload here and have it install to /sbin similarly to how fxload package does it.
this version of fxload supports USB3 devices.
https://github.com/NixOS/nixpkgs/issues/207381

thank you @prusnak , made the changes. Just didn't change the maintainr list, it is not sorted. Happy Holidays!

Can you please split the change in maintainers/maintainer-list.nix into the commit with commit message: ``
Can you please update the commit message to: maintainers: add realsnick.
The second commit message should read: libusb1: add option to build with examples

Can you please split the change in maintainers/maintainer-list.nix into a separate commit with commit message: maintainers: add realsnick?
The remaining changes should be put into a commit with message: libusb1: add option to build with examples

done. thank you!

@NixOS/ofborg eval

@GrahamcOfBorg eval

Hm, why does this change causes rebuild?

Hm, why does this change causes rebuild?

This adds a new derivation attribute, postInstall = "".

This adds a new derivation attribute, postInstall = "".

Is there a way how to achieve the same but not trigger rebuilds?

@prusnak by triggering rebuilds you mean it will rebuild everything that depends on libusb1?
If that the case, is there a way to put the lib.option withExamples outside the event handlers? sorry i'm new to nix and its syntax

As far as I know, there's no idiomatic way to prevent the mass rebuild here.
That's ok though, just retarget this PR to the staging branch. Please follow the instructions in  CONTRIBUTING.md on how to do this correctly without causing a mass ping.

Should I recreate the PR to the staging branch?


Feature Request:  Robot file in json style to support easier dynamic creation

Didn't found this to be available or already requested yet.
Request:
It would be helpful if json as input format of a robot file is supported.
E.g. with specific extension '.robot.json' like 'mytest.robot.json'
Example based on TestSuite.robot from the front page (https://robotframework.org) could look like this

{
  "Settings": {    "Documentation": [  "A test suite for valid login.",
                                        "",
                                        "Keywords are imported from the resource file"
                                                       ],
                         "Resource": [      "keywords.resource"    ],
                         "Default Tags": [      "positive"         ],
                      },

  "Test Cases":  [ {    "Headline": "Login User with Password",
                           "Steps": [      "Connect to Server",
                                           "Login User            ironman<PHONE_NUMBER>",
                                           "Verify Valid Login    Tony Stark",
                                            "[Teardown]    Close Server Connection"
                                        ]
                                },
                      ],
}

'Test Cases' shows only the first TC.
Teardown could be provided as "Teardown": 'Close Server Connection'
And further elements like "variables:", "key words:", ...

Benefit:

Parsing might speed up because a more structured format is provided.
Scripts/Tools e.g. jsonnet could easier create dynamic testcases.

One vs. more spaces:
"Login User            ironman<PHONE_NUMBER>" could be provided as [ "Login User",  "ironman", "1234567890" ]
This might improve the readability (beside the pipe notation) of what is concatenated and what is a separate parameter (or similar).
Story:
My intention is to create robot files (or at least the test cases in it) dynamically.
Several approaches can be found to do this inside the robot script or RFW, but my goal is to this outside being not limited by RFW.
Based on my background know how of creating gitlab jobs dynamically with jsonnet, I thought to do the same with robot by writing a script converting json to robot. Afterwards the idea was born to directly use json as input format for robot.

There is an open issue which goes into that direction
https://github.com/robotframework/robotframework/issues/3902

Yeah, #3902 already proposes using JSON as a data format. The idea is to map executable objects, not *.robot files, to JSON meaning that the result will be something like this:
{"name": "Suite", "doc": "Example", "tests": [{"name": "T1", "body": [{"type": "KEYWORD", "name": "Log", "args": ["Hi!"]}]}, {"name": "T2"}]}

That format ought to be a lot easier for tools to handle than the format proposed here.

@pekkaklarck  yes, #3902 looks good. 👍


Marketplace ToU violates GPL and similar licenses?

The marketplace hosts some GPL extensions, but at the same time the ToU restricts the use of downloaded extensions to official products only, and it does not contain the usual disclaimer that this restriction does not apply to open source code. Doesn't this violate the GPL license? (Also it makes it dubious as to whether extensions can contain third party GPL code, which is why I am asking this in the first place.)

Example of a GPL extension: kde.breeze, AdaCore.ada
Example of an LGPL extension: uloco.bluloco-theme-light
There are some example that require third party GPL code as well.


Remove test setups

Attribute test_setups is replaced by verification_methods. This
PR removes the backward compatibility for test_setups.
#24

Fixes #24


[FEATURE] Rename profile

Description
When people change their GitHub username that does not match their LinkFree profile an alert should be shown with a button to rename their profile - with a warning that their url will change
Screenshots
No response
Additional information
No response

Hi, can i work on this issue.

@kunalshokeen051 great you are keen to contribute to the project, but this is a Points: 8 Issue so it is best if it done by someone who is more familiar with the project.  We recommend new contributors start of with Issues which have Points: 1 to Points: 3

Ok, Thanks for the reply.

Please assign this issue to me. I guess I have spent a decent amount of time understanding the Linkfree codebase. I feel like I can work on this issue.

Please assign this issue to me. I guess I have spent a decent amount of time understanding the Linkfree codebase. I feel like I can work on this issue.

@akash19coder I have assigned this to you

Approach:
Step 1: Github Username Monitoring

Use id to detect username changes in BioDrop’s user GitHubAccount because it remains constant for a GitHub User. We will periodically perform checks to detect if username has changed

GithubProvider({
    clientId: serverEnv.GITHUB_ID,
    clientSecret: serverEnv.GITHUB_SECRET,
    profile(profile) {
      return {
        id: profile.id.toString(), //we are talking about this id
        name: profile.name ?? profile.login,
        username: profile.login,
        email: profile.email,
        image: profile.avatar_url,
      };
    },
  })

Step 2: Alerting Mechanism

Whenever we detect a change in the username of a particular BioDrop user's Github profile, we would alert them.

Step 3:

When user clicks on the rename button, a warning message will pop up telling user that their BioDrop link will change. The user clicks on it and their new Github username will be fetched.

Step 4: URL Redirection (could be a separate issue)

Since user has already circulated his/her old BioDrop link with old username on different platform, we could implement a URL Redirection system which will redirect viewers to the changed link.

Step 1: Github Username Monitoring
Step 2: Alerting Mechanism

No monitoring is required, when they log in, we know their GitHub username, if this doesn't match their profile username we should show the alert. The alert should only be showed on the account statistics page

Step 3: When user clicks on the rename button, a warning message will pop up telling user that their BioDrop link will change. The user clicks on it and their new Github username will be fetched.

We have their new username, when they accept the warning message, we need to update all references to their old username to their new username

No monitoring is required, when they log in, we know their GitHub username, if this doesn't match their profile username we should show the alert. The alert should only be showed on the account statistics page

@eddiejaoude If we don't implement monitoring, we can only track the change in username if and only if the session has expired and the user re-logs in. Did I understand it right?

[...nextAuth.js] file
`import NextAuth from "next-auth";
import GithubProvider from "next-auth/providers/github";
import { serverEnv } from "@config/schemas/serverSchema";
import DbAdapter from "./db-adapter";
import connectMongo from "@config/mongo";
import { Account, Profile } from "@models/index";
import {
getAccountByProviderAccountId,
associateProfileWithAccount,
} from "../account/account";
let profileUsername = "";
let githubProfileUsername = "";
let profileID = "";
export const authOptions = {
adapter: DbAdapter(connectMongo),
providers: [
GithubProvider({
clientId: serverEnv.GITHUB_ID,
clientSecret: serverEnv.GITHUB_SECRET,
profile(profile) {
return {
id: profile.id.toString(),
name: profile.name ?? profile.login,
username: profile.login,
email: profile.email,
image: profile.avatar_url,
};
},
}),
],
session: {
strategy: "jwt",
},
callbacks: {
async signIn({ user, profile: githubProfile }) {
// console.log(user);
// console.log(githubProfile);
await Account.findOneAndUpdate(
{ userId: user._id },
{
github: {
company: githubProfile.company,
publicRepos: githubProfile.public_repos,
followers: githubProfile.followers,
following: githubProfile.following,
},
},
{ upsert: true }
);
return true;
},
async redirect({ baseUrl }) {
return ${baseUrl}/account/statistics;
},
async jwt({ token, account, profile }) {
// Persist the OAuth access_token and or the user id to the token right after signin
if (account) {
account = await getAccountByProviderAccountId(profile.id);
    profile = await Profile.findOne({
      _id: account.profiles[0],
      // username: githubProfile.username,
    });
    token.accessToken = account.access_token;
    token.id = profile.id;
    token.username = profile.username;
  }

  return token;
},
async session({ session, token }) {
  // Send properties to the client, like an access_token and user id from a provider.
  session.accessToken = token.accessToken;
  session.user.id = token.id;
  session.username = token.username;

  return session;
},

},
pages: {
signIn: "/auth/signin",
},
events: {
async signIn({ profile: githubProfile }) {
// associate BioDrop profile to BioDrop account
const account = await getAccountByProviderAccountId(githubProfile.id);
const profile = await Profile.findOne({
_id: account.profiles[0],
});
profileUsername = profile.username;
githubProfileUsername = githubProfile.username;
profileID = profile._id.toString();
  console.log(profileUsername);
  console.log(githubProfileUsername);
  console.log(profileID);

  if (profile) {
    await associateProfileWithAccount(account, profile._id);
  }
},

},
};
export { profileUsername, githubProfileUsername, profileID };
export default NextAuth(authOptions);
`

Statistics.js file
import { authOptions } from "../api/auth/[...nextauth]";
import { useState } from "react";
import { getServerSession } from "next-auth/next";
import dynamic from "next/dynamic";
import ProgressBar from "@components/statistics/ProgressBar";

import { getUserApi } from "../api/profiles/[username]";
import { clientEnv } from "@config/schemas/clientSchema";
import { getStats } from "../api/account/statistics";
import logger from "@config/logger";
import Alert from "@components/Alert";
import Page from "@components/Page";
import PageHead from "@components/PageHead";
import { abbreviateNumber } from "@services/utils/abbreviateNumbers";
import Navigation from "@components/account/manage/Navigation";
import UserMini from "@components/user/UserMini";
import ConfirmDialog from "@components/ConfirmDialog";
import { PROJECT_NAME } from "@constants/index";
import {
  profileUsername,
  githubProfileUsername,
  profileID,
} from "../api/auth/[...nextauth]";
import { Profile } from "@models/index";

console.log(Profile);
const DynamicChart = dynamic(
  () => import("../../components/statistics/StatsChart"),
  { ssr: false }
);

export async function getServerSideProps(context) {
  const { req, res } = context;
  const session = await getServerSession(req, res, authOptions);

  if (!session) {
    return {
      redirect: {
        destination: "/auth/signin",
        permanent: false,
      },
    };
  }
  const username = session.username;
  const { status, profile } = await getUserApi(req, res, username);
  if (status !== 200) {
    logger.error(
      profile.error,
      `profile loading failed for username: ${username}`
    );

    return {
      redirect: {
        destination: "/account/no-profile",
        permanent: false,
      },
    };
  }

  let data = {};
  let profileSections = [
    "links",
    "milestones",
    "tags",
    "socials",
    "testimonials",
  ];
  let progress = {
    percentage: 0,
    missing: [],
  };

  try {
    data = await getStats(username);
  } catch (e) {
    logger.error(e, "ERROR get user's account statistics");
  }

  progress.missing = profileSections.filter(
    (property) => !profile[property]?.length
  );
  progress.percentage = (
    ((profileSections.length - progress.missing.length) /
      profileSections.length) *
    100
  ).toFixed(0);

  data.links.individual = data.links.individual.filter((link) =>
    profile.links.some((pLink) => pLink.url === link.url)
  );

  const totalClicks = data.links.individual.reduce((acc, link) => {
    return acc + link.clicks;
  }, 0);
  data.links.clicks = totalClicks;

  data.profile.daily = data.profile.daily.map((day) => {
    return {
      views: day.views,
      date: day.date,
    };
  });

  return {
    props: {
      data,
      profile,
      progress,
      BASE_URL: clientEnv.NEXT_PUBLIC_BASE_URL,
    },
  };
}

export default function Statistics({ data, profile, progress, BASE_URL }) {
  const [isConfirmDialogOpen, setIsConfirmDialogOpen] = useState(false);

  const openConfirmDialog = () => {
    setIsConfirmDialogOpen(true);
  };

  const handleRename = async () => {
    openConfirmDialog();
  };

  const renameUsername = async (
    profileUsername,
    githubProfileUsername,
    profileID
  ) => {
    if (profileUsername !== githubProfileUsername) {
      try {
        const updatedProfile = await Profile.findByIdAndUpdate(
          { _id: profileID },
          { username: githubProfileUsername },
          { new: true }
        );

        if (updatedProfile) {
          console.log(`Updated username to: ${updatedProfile.username}`);
        } else {
          console.log(`Profile with ID ${profileID} not found.`);
        }
      } catch (error) {
        console.error(`Error updating profile: ${error}`);
      }
    } else {
      console.log(`Profile username is already "${profileUsername}"`);
    }
  };

  return (
    <>
      <PageHead
        title={PROJECT_NAME + " Statistics"}
        description="Private statistics for your account"
      />

      <Page>
        <Navigation />
        <Alert
          type="info"
          message="We've detected change in your Github username. Please rename your biodrop profile with new changes"
          buttonLabel="Rename"
          onButtonAction={handleRename}
        />
        <ConfirmDialog
          open={isConfirmDialogOpen}
          setOpen={setIsConfirmDialogOpen}
          title="Your profile URL will change"
          description="Are you sure you want to rename?"
          buttonText="Rename"
          action={async () => {
            try {
              await renameUsername(
                profileUsername,
                githubProfileUsername,
                profileID
              );
              setIsConfirmDialogOpen(false);
            } catch (error) {
              console.error("Error renaming username:", error);

            }
          }}
        />

        <UserMini
          BASE_URL={BASE_URL}
          username={profile.username}
          name={profile.name}
          bio={profile.bio}
          monthly={data.profile.monthly}
          total={data.profile.total}
          clicks={data.links.clicks}
          rank={data.profile.rank}
        />

              Profile Completion: {progress.percentage}%

            {progress.missing.length > 0 && (

                (missing sections in your profile are:{" "}
                {progress.missing.join(", ")})

            )}

          <ProgressBar progress={progress} />

        {!data.links && (
          <Alert type="warning" message="You don't have a profile yet." />
        )}

        {data.profile.daily.length > 0 && (

                Profile views

                Number of Profile visits per day.

            <DynamicChart data={data.profile.daily} />

        )}

                Your Links ({data.links.individual.length})

                Clicks ({abbreviateNumber(data.links.clicks)})

            {data.links &&
              data.links.individual.map((link) => (

                    {link.url}

                    {abbreviateNumber(link.clicks)}

              ))}

      </Page>
    </>
  );
}

@eddiejaoude  I am getting an error like this. I tried to look it up but couldn't resolve it alone.

Please can we discuss in EddieHub Discord, it is easier than here.
Oh I just got a notification there also

@SaraJaoude I have unassigned myself because I have been a bit busy with my university tests and assignments for the past few weeks so I haven't been able to progress much on the issue and don't think I  will be able to for the upcoming 10 days. Therefore, I have decided to unassign myself so that others can work if they want. I will ask for re-assignment if the issue is still unassigned after 10 days or definitely work on another if it's not 😅

Hey can i work on this issue. I have gone through the codebase we need to make changes here
async signIn({ profile: githubProfile }) {
await connectMongo();
// associate BioDrop profile to account
const account = await getAccountByProviderAccountId(githubProfile.id);
const user = await User.findOne({ _id: account.userId });
  // associate User to Profile for premium flag
  const profile = await Profile.findOneAndUpdate(
    {
      username: githubProfile.username,
    },
    {
      user: account.userId,
    },
    {
      new: true,
    }
  );
  if (profile) {
    await associateProfileWithAccount(account, profile._id);
  }

  // Create a stripe customer for the user with their email address
  if (!user.stripeCustomerId) {
    logger.info("user stripe customer id not found for: ", user.email);

    const customer = await stripe.customers.create({
      email: user.email,
      name: user.name,
      metadata: {
        userId: account.userId,
        github: githubProfile.username,
      },
    });

    await User.findOneAndUpdate(
      { _id: new ObjectId(account.userId) },
      { stripeCustomerId: customer.id, type: "free" }
    );
  }
},

},
};
we will compare both the userId that we got while authentication and the userId in MongoDb and if they both are different we will show the warning message.

Hey can i work on this issue. I have gone through the codebase we need to make changes here
async signIn({ profile: githubProfile }) { await connectMongo(); // associate BioDrop profile to account const account = await getAccountByProviderAccountId(githubProfile.id); const user = await User.findOne({ _id: account.userId });
  // associate User to Profile for premium flag
  const profile = await Profile.findOneAndUpdate(
    {
      username: githubProfile.username,
    },
    {
      user: account.userId,
    },
    {
      new: true,
    }
  );
  if (profile) {
    await associateProfileWithAccount(account, profile._id);
  }

  // Create a stripe customer for the user with their email address
  if (!user.stripeCustomerId) {
    logger.info("user stripe customer id not found for: ", user.email);

    const customer = await stripe.customers.create({
      email: user.email,
      name: user.name,
      metadata: {
        userId: account.userId,
        github: githubProfile.username,
      },
    });

    await User.findOneAndUpdate(
      { _id: new ObjectId(account.userId) },
      { stripeCustomerId: customer.id, type: "free" }
    );
  }
},

}, };
we will compare both the userId that we got while authentication and the userId in MongoDb and if they both are different we will show the warning message.

Yep that's right @btme0011 . Currently, when there is mismatch user are unable to login. We wanna make little bit of changes so that user can login when there is username mismatch. May be something like this:
const profile = await Profile.findOne({
        _id: account.profiles[0],
      });

Then display a warning that username has changed with an option to update username. When user chooses to updata, may be execute a function that will updata database username with github username.
What do you think about it?

yes same thing is in my mind also.
Are you working on this isssue?

yes same thing is in my mind also.
Are you working on this isssue?

Not right now and don't think will be able to work in upcoming 5 days.

Thanks for the discussion. I am not sure whether you are looking to work on this issue @btme0011  but as you already have an issue assigned to you (we only assign one issue per contributor as shown in our Contributing Guide) I could not assign this to you. Also this has become higher priority so I am adding the staff label.

Closing because a duplicate of https://github.com/EddieHubCommunity/BioDrop/issues/7349


Write requires await to work as in Express.js

Im trying out hyper-express so I can test if I can switch to it in a future refactor.
What I found is that if I have code like this:
webserver.get('/', (request: Request, response: Response) => {
  response.write('1');
  response.write('2');
  response.send('done');
});

Output will be: 1done
I need to add await to .write calls if I want all of them to execute before .send.
webserver.get('/', async (request: Request, response: Response) => {
  await response.write('1');
  await response.write('2');
  response.send('done');
});

Output will be: 12done
I could use callback argument of .write, but it's ugly and not really express like.
I get that this is something to do with uWS and maybe corking, so if its hard to make .write sync function, maybe adding something like:
write(chunk: any, callback?: (error: Error | null | undefined) => void): Promise<boolean>;
write(chunk: any, encoding: BufferEncoding, callback?: (error: Error | null | undefined) => void): Promise<boolean>;
to export class Response<Locals = DefaultResponseLocals> extends Writable { will do as a quick fix, so IDEs and users will know it should be used as async function.

Hey, good catch and yeah writing is async (regardless of Express allowing sync, they are likely just queueing it).
Do you want to make a PR with those updated TypeScript definitions?

Sorry, but how can these methods be defined while actually they don't have implementation? I mean we do not have any "write" method implementation in the Response class. It has implementation of the "_write" method which then will be automatically called by the Writable parent object when we call its "write". And so there is no meaning of defining any custom definitions for the "write" methods, as it can cause the bugs when the actual "write" method will return boolean but we may try to call "then" on it as we expect promise and then error will be thrown as we cannot call "then" method on the boolean. Please correct me if I am mistaken.

So Response is actually an extended WritableStream (We do a trick to merge prototypes to lazy initialize the stream when used https://github.com/kartikk221/hyper-express/blob/e98212ee8bb4273b6cf8c6b025d9c52e15cc9df0/src/components/http/Response.js#L958-L983) hence the Response.write() method being called is actually internally calling the WritableStream write method which then internally calls Response._write().
The implementation of Response._write() respects the arguments and properly calls the callback (if provided) which would mean Node.js should property queue and release the written chunks properly.
Now that I think about it, I think your code may actually be pointing to a bug where Response.send() should understand that there is currently a stream write in progress hence it must queue the provided data as a chunk and then finally send the response once the stream has finished.
I will do some debugging into this to see If it is a bug which must be fixed.

Hey, this bug has been fixed in the recent v6.16.1 published version. Let me know If you have any more issues.


Update README.md

fixing URLs

Pre-merge checklist
Performance:

[ ] Compare zig build benchmark on linux before and after this pr.# benchmark results before
...

# benchmark results after
...

OR

[x] I am very sure this PR could not affect performance.

Hey thank you for this! Sorry it took me a while to notice.


nixos/stalwart-mail: add openFirewall option

Description of changes

add default listeners for: smtp, imaps, submission and submissions
add option openFirewall which reads all ports of the settings.listeners attribute set and appends it to networking.firewall.allowedTCPPorts
[ ] add release notes for both

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@pacien Agree on that 👍
openFirewall is used by most modules to open TCP ports on all interfaces. I would like to use this since my mail server should be open to the public.
Maybe I could add a note to the description what the option exactly does?
Manually adding the listener ports to allowedTCPPorts is a bit confusing and unclear.


[SPARK][EXAMPLE] Added missing semicolon in quick-start-guide example

What changes were proposed in this pull request?
Added missing semicolon in quick-start-guide java example code which wasn't compiling before.
How was this patch tested?
Locally by running and generating site for docs. You can see the last line contains ";" in the below snapshot.

Can one of the admins verify this patch?

Jenkins test this please

Test build #69407 has started for PR 16081 at commit 6b01304.

Test build #69407 has finished for PR 16081 at commit 6b01304.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69407/
Test PASSed.

Merged build finished. Test PASSed.

@srowen I scanned this page and Spark programming guide for other Java code examples, apart from Self-Contained Application on Quick-start-guide page, other code examples have no such problems.

Ok, merging into master 2.1

and 2.0


IndexOutOfRangeException when modifying Texture Channels in UMA Material

Describe the bug
When decreasing the "Texture Channels" by 1 and then increasing it by 1 in UMA Material, an IndexOutOfRangeException occurs.
Environment (please complete the following information):

Unity Version: 2022.3.32
UMA Version: UMA 2.13 RC 7
Rendering Pipeline: URP
Platform Build (if not editor): Android

To Reproduce
Steps to reproduce the behavior:

Select a UMA material.
In the Inspector, locate the "Texture Channels" section.
Decrease the "Texture Channels" value by 1.
Increase the "Texture Channels" value by 1.
Observe the Console for the error.

Expected behavior
Modifying the "Texture Channels" value should not cause any errors.
Screenshots
Additional context

I'm not able to duplicate this. Can you post the error and the call stack?

IndexOutOfRangeException: Index was outside the bounds of the array.
UMA.Editors.UMAMaterialInspector.IsChannelValid (System.Int32 channel) (at Assets/UMA/Core/Editor/Scripts/UMAMaterialInspector.cs:224)
UMA.Editors.UMAMaterialInspector.DrawChannelList (UnityEditor.SerializedProperty list, UMA.UMAMaterial+MaterialType materialType) (at Assets/UMA/Core/Editor/Scripts/UMAMaterialInspector.cs:261)
UMA.Editors.UMAMaterialInspector.OnInspectorGUI () (at Assets/UMA/Core/Editor/Scripts/UMAMaterialInspector.cs:158)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass72_0.b__0 () (at <3d611f181d2047d0a4666e5262482490>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

This appears to be a case where the object has not yet been updated by the SerializedProperty, and the channel was expanded before the object was updated. I forced the SerializedObject to ApplyModifiedProperties before drawing the channel list, and then checked the array bounds before accessing the channels. Checked into Feature-13 branch, will be in next RC or Release.

Feature-13


unexpected EOF

When I downloaded the Docker image:
$ sudo nvidia-docker pull hub.baidubce.com/paddlepaddle/deep_speech_fluid:latest-gpu

I got:
unexpected EOF

May I ask how to take care of it? Thank you!

This may be helpful to you:
https://stackoverflow.com/questions/53677592/docker-pull-unexpected-eof

Thanks @lfchener for the link. So far, I could not find a way to fix the bug. Any further comments? Thank you!

Does anybody have experience with it? Or, for you the above command went through successfully? Thank you!

make sure nvidia-docker is installed successfully , more info https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html

see this to make sure you have install the nvidia-docker  successfully.


How to make sensu::plugins do an array merge in hiera

Hi,
I use hiera for pushing plugins using sensu::plugins. However, since the parameter plugins is an array, hiera is not doing a merge of different sensu::plugins declarations at various hierarchy levels.
For example, in my global.yaml I have a common set of plugins defined which have to be pushed to all nodes. I also have some specific plugins that have to be pushed based on the role. With the current configuration hiera is picking up only the role specific plugins.
Is there anyway to write a wrapper class on top of the sensu class to make the plugins do an array merge across hierarchies?
Thanks,
Siva

Yes you can do it a class that calls sensu.
Have you looked at
https://docs.puppetlabs.com/hiera/1/lookup_types.html#array-merge
and
https://docs.puppetlabs.com/hiera/1/puppet.html
In a nutshell if you do not use the function hiera_array (automatic parameter lookup) it will use the priority which is what you are seeing...

Priority Only
Automatic parameter lookup can only use the priority lookup method.

This means that, although it can receive any type of data from Hiera (strings, arrays, hashes), it cannot merge values from >multiple hierarchy levels; you will only get the value from the most-specific hierarchy level.

If you need to merge arrays or merge hashes from multiple hierarchy levels, you will have to use the hiera_array or hiera_hash >functions in the body of your classes.

So in your puppet module you could use this function and then call sensu
class sensu_install::profiles::sensu_server(
    $plugins = hiera_array('sensu_install::profiles::sensu_server::plugins')
    # or because of function you do not have to fully qualify
    #$plugins = hiera_array('plugins')
){
    class {'sensu':
        plugins => $plugins
    }
}

You may have to play with hiera deeper merge, though it sounds native might work in your scenario.
 # /etc/puppet/hiera.yaml
    ---
    :backends:
      - yaml
    :logger: puppet
    :hierarchy:
      - "%{hostname}"
      - common
    :yaml:
      :datadir: /etc/puppet/hieradata
    # options are native, deep, deeper
    :merge_behavior: deeper

The problem with the hiera functions if if the value does not exist it Errors and stop immediately but you can do a default ... which could later be ignored in the define... so it is possible but it is much easier to have a calling class (this may even work in a node definition as the hiera functions can go in the body of puppet)

I'm going to go ahead and close this as I think it is hiera config rather than an issue with this module and there has been no activity for a few weeks.  Let us know if this is incorrect.


In the book donation page ...the heading is not visible

pls assign to me...

Heyy have completed the task
Just assign me and I will send the  PR

Hey @SauravMukherjee44 I just sent a pr #173 Please check : )


how can i get the BTC balance of an address

omni_getallbalancesforaddress  this command does not contains the BTC balance

omnicore-cli -conf=/Users/nevernew/var/data/omnidata/bitcoin.conf getbalance myNLUeNH7ud7hPrLrbyWc33L4nnqeTyySk

this method can get balance of account ,but no address。

@437865981 the client can query/return the Omni Protocol balance for any address however the btc balance information is still based on the bitcoin-core code we are built on. As such you can only get btc balance information for addresses in your wallet or imported into your wallet

Hi @437865981,
you could list all available coins by using omnicore-cli listunspent.


Receive packets from entity server.

Receive packets from the entity server

[x] Add a class OctreePacketProcessor with a method processPacket().
[x] Implement just enough to confirm packets are received from the entity server.

Line endings need to be fixed in EntityServer.ts and PacketHeaders.ts. And it looks like OctreePacketProcessor.ts and OctreePacketProcessor.unit.test.js also.

I fixed PacketHeader.ts and PacketReceiver.ts. But could you double check EntityServer.ts, OctreePacketProcessor.ts and OctreePacketProcessor.unit.test.js? Because on my side I see that their lines end with CRLF. I used Linux's file command to confirm it :thinking:

Closed in favour of: https://github.com/vircadia/vircadia-web-sdk/pull/105


tets - 51

[Auto generated]
Number: [#51]

github-gitlab-webhook-server: Closing issue for PR: Pass user to manage_reviewed_by_label.
PR was closed.


Exception: Execution context was destroyed, most likely because of a navigation.

from requests_html import HTMLSession
session = HTMLSession()

r = session.get('https://footdistrict.com/en/quickview/index/view?pid=139669')
r.html.render()

Traceback (most recent call last):
  File "C:\Python36\lib\site-packages\pyppeteer\execution_context.py", line 106, in evaluateHandle
    'userGesture': True,
pyppeteer.errors.NetworkError: Protocol error (Runtime.callFunctionOn): Cannot find context with specified id

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<pyshell#9>", line 1, in <module>
    r.html.render()
  File "C:\Python36\lib\site-packages\requests_html.py", line 583, in render
    content, result, page = self.session.loop.run_until_complete(_async_render(url=self.url, script=script, sleep=sleep, wait=wait, content=self.html, reload=reload, scrolldown=scrolldown, timeout=timeout, keep_page=keep_page))
  File "C:\Python36\lib\asyncio\base_events.py", line 468, in run_until_complete
    return future.result()
  File "C:\Python36\lib\site-packages\requests_html.py", line 564, in _async_render
    content = await page.content()
  File "C:\Python36\lib\site-packages\pyppeteer\page.py", line 780, in content
    return await frame.content()
  File "C:\Python36\lib\site-packages\pyppeteer\frame_manager.py", line 379, in content
    '''.strip())
  File "C:\Python36\lib\site-packages\pyppeteer\frame_manager.py", line 295, in evaluate
    pageFunction, *args, force_expr=force_expr)
  File "C:\Python36\lib\site-packages\pyppeteer\execution_context.py", line 55, in evaluate
    pageFunction, *args, force_expr=force_expr)
  File "C:\Python36\lib\site-packages\pyppeteer\execution_context.py", line 109, in evaluateHandle
    _rewriteError(e)
  File "C:\Python36\lib\site-packages\pyppeteer\execution_context.py", line 238, in _rewriteError
    raise type(error)(msg)
pyppeteer.errors.NetworkError: Execution context was destroyed, most likely because of a navigation.

Have this same issue and am wondering if anyone has a solution?
https://github.com/GoogleChrome/puppeteer/issues/3323

I got something working for a specific case of webpage redirect.
At time of writing my software and packages version is:
Python==3.7.3
requests-html==0.10.0
pyppeteer==0.0.25

# for ipython notebook asyncio issues
tornado==4.5.3

Here's a excerpt of the sample target page content with redirection using both javascript and meta-tag:
<script>url="http://example.com/somewhereelse";window.location.assign(url)</script>
<noscript><meta http-equiv="refresh" content="0; url=http://example.com/somewhereelse"></noscript>

The code I ran which errored was:
from requests_html import HTMLSession

session = HTMLSession()
session.get("http://mysite.com")
r.html.render()

The above code results in:
NetworkError: Execution context was destroyed, most likely because of a navigation.

if we look carefully at the documentation:
>>> help(r.html.render)

Help on method render in module requests_html:

render(retries: int = 8, script: str = None, wait: float = 0.2, scrolldown=False, sleep: int = 0, reload: bool = True, timeout: Union[float, int] = 8.0, keep_page: bool = False) method of requests_html.HTML instance
    Reloads the response in Chromium, and replaces HTML content
    with an updated version, with JavaScript executed.

    :param retries: The number of times to retry loading the page in Chromium.
    :param script: JavaScript to execute upon page load (optional).
    :param wait: The number of seconds to wait before loading the page, preventing timeouts (optional).
    :param scrolldown: Integer, if provided, of how many times to page down.
    :param sleep: Integer, if provided, of how many long to sleep after initial render.
    :param reload: If ``False``, content will not be loaded from the browser, but will be provided from memory.
    :param keep_page: If ``True`` will allow you to interact with the browser page through ``r.html.page``.

    If ``scrolldown`` is specified, the page will scrolldown the specified
    number of times, after sleeping the specified amount of time
    (e.g. ``scrolldown=10, sleep=1``).

    If just ``sleep`` is provided, the rendering will wait *n* seconds, before
    returning.

The key thing is the param, "sleep".
A few points to note:

the above target page sample shows the meta refresh is content="0;... which means 0 seconds wait to redirect the page.
Looking at the javacript code there's no wait/sleep/delay either.
Under current hardware speeds, and internet access speed, I don't expect the chromium browser running headless to refresh/redirect and load target page slower than 1 seconds (unless it is a big page and multiple more redirects).

Therefore, 1 seconds wait is a reasonable time to set before returning render().
In addition we have to use keep_page for extraction of crucial information, to be shown later.
changing the input of the render() method to:
r.html.render(sleep=1, keep_page=True)

Allowed the code to run without issues. If it still errors (due to slow network speed, cpu busy, etc.), try again with higher sleep.
To find out the redirected page's URL:
>>> r.html.page.url

http://example.com/somewhereelse

This issue deals with page redirects erroring, and with this line of thought:
Although the above solution works, and it's clunky to implement a try-except loop to retry with increasing sleep time to make it work.
I'm still trying to find an equivalent of "window.onload" method to get the sleep to be automatic or dynamic wait for response from headless browser to "ping back" rather than the current method of python doing increment "polling" to check whether the redirect is completed and target URL destination has been reached.
I'm all ears to better methods if anyone comes up with any.


provider.oauth2 seems not to appear when added from pip on settings.py

Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Library/Python/2.7/site-packages/django/core/management/init.py", line 350, in execute_from_command_line
utility.execute()
File "/Library/Python/2.7/site-packages/django/core/management/init.py", line 324, in execute
django.setup()
File "/Library/Python/2.7/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/Library/Python/2.7/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/Library/Python/2.7/site-packages/provider/oauth2/init.py", line 1, in
import backends
File "/Library/Python/2.7/site-packages/provider/oauth2/backends.py", line 2, in
from .forms import ClientAuthForm, PublicPasswordGrantForm
File "/Library/Python/2.7/site-packages/provider/oauth2/forms.py", line 10, in
from .models import Client, Grant, RefreshToken
File "/Library/Python/2.7/site-packages/provider/oauth2/models.py", line 23, in
class Client(models.Model):
File "/Library/Python/2.7/site-packages/django/db/models/base.py", line 94, in new
app_config = apps.get_containing_app_config(module)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
self.check_apps_ready()
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

Same symptom here.

same here

Same

getting same error .....plz help...


⚠ Game Join API Endpoint has degraded performance

In 620fca7, Game Join API Endpoint (http://gamejoin.roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 6502 ms

Resolved: Game Join API Endpoint performance has improved in 7264b02.


steam: Update generated runtime dependencies

Motivation for this change
nix-shell -p steam was failing on master, with a bunch of errors ending with:
curl: (22) The requested URL returned error: 404
error: cannot download libvulkan1.deb from any mirror
builder for '/nix/store/1sasqspv1qjw95128g72zxys728zpqyv-libvulkan1.deb.drv' failed with exit code 1

Things done
Ran ./update-runtime.py, did the trick!

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Looks good, and runs for me.

Weirdly, no failures in 20.03 steam. Should this be backported anyway?

Hm not sure, I've been mostly playing around with master lately due to some upstream work. :)


Is there a place where one can chat about Amun?

I discovered this project on Reddit and was wondering if there is a place where one can talk with other people about Amun? I was looking for a Discord link or something of that sort but didn't find anything.

Hello @soupertonic,
Welcome to this project, for now, there is a new subreddit and I will set up a discord server soon
https://www.reddit.com/r/Amun/
I will publish the link once it created
Thanks