Error reading service_names from storage: Cannot achieve consistency level LOCAL_ONE

Hi!
I just created a Cassandra cluster with an operator (https://github.com/instaclustr/cassandra-operator) and the Cassandra schema job succeeded but when going to the Jaeger Query UI I get the following error:
{   "data": null,   "total": 0,   "limit": 0,   "offset": 0,   "errors": [     {       "code": 500,       "msg": "Error reading service_names from storage: Cannot achieve consistency level LOCAL_ONE"     }   ] }
--

I also get this error in the Jaeger Collector logs.
I saw this error in the following issue that seems related:
https://github.com/jaegertracing/jaeger/issues/513
But when adding the specified env variables to the CustomResourceDefiniton of the Cassandra cluster they don't seem to be propagated to the cassandra pod but just to it's sidecar (since they still are in alpha it may be an issue on their side).
I tried to add them manually to the statefulset and restart the cassandra pods but it doesn't work. It looks like the operator override these changes quickly (need more time to confirm).
While I'm trying to figure out how to set these variables without troubles with the operator, does anyone already see this error and resolved it by another way? Since the error is not that much explicit I'm wondering if it comes from here.
Thanks

I'm not sure we can be of much help here. What we can suggest is to use the Cassandra template we provide in this repository and see if that works in your environment. If it does, then you might want to get help from the operator providers.
https://github.com/jaegertracing/jaeger-kubernetes#backing-storage

@sneko it looks like a C* configuration issue. https://github.com/jaegertracing/jaeger/issues/513#issuecomment-344275159 this might help you.

@jpkrohling I tried to provision a C* datastore with your Helm chart but I get the following error:
Error: release jaeger failed: StatefulSet.apps "jaeger-cassandra" is invalid: [spec.selector: Required value, spec.template.metadata.labels: Invalid value: map[string]string{"app":"cassandra", "release":"jaeger"}: `selector` does not match template `labels`]
I looked into charts code but I can't figure out where the wrong value is set. FYI I'm using the default values.yaml (https://github.com/helm/charts/blob/master/incubator/jaeger/values.yaml).
Is it the same on your side?
@pavolloffay yeah that's the issue I mentioned but when providing env variables the Cassandra operator doesn't spread them to the C* nodes. Maintainers are on it :)

@sneko the Helm chart is hosted under a different repository. I could try to help you debug it, but it would be better to open an issue there, as I'm not really familiar with its storage setup.
This is the Helm chart repository: https://github.com/helm/charts/tree/master/incubator/jaeger

@jpkrohling just posted the issue:
https://github.com/helm/charts/issues/7407
I close this one since while talking with the C* operator team they told me there could be some issues due to their custom C* image:
https://github.com/instaclustr/cassandra-operator/issues/82#issuecomment-416299477
Thanks for all your answers 😀

@jpkrohling someone else thumbed up my issue on the Helm chart repository, it seems I'm not the only one 😀... Did you have time to dig into it?
Thank you,

I haven't, I've been focused on the Jaeger Operator for the last week, but I'm still not sure what I could do to help you there other than ping some people more knowledgeable about the Helm chart.


Missing IP address for microsoft.sharepoint.com

*.sharepoint.com is in the "Optimize" category in the Office 365 URLs list so we have it in our web proxy bypass list and we allow those URLs directly out our firewall.  microsoft.sharepoint.com, however, resolves to IP address <IP_ADDRESS>. This IP address is not in any of the IP address ranges. The closest match is <IP_ADDRESS>/31 but it doesn't fall within that subnet though.

@nm999 microsoft.sharepoint.com is the FQDN is for the central SharePoint portal for the Microsoft Corporation's Office 365 tenant. It is not a public web site. The IP address you cite above is for that purpose, and therefore does not belong in the list of public IP addresses to allow or block. Thanks for you question.

@nm999 microsoft.sharepoint.com is the FQDN is for the central SharePoint portal for the Microsoft Corporation's Office 365 tenant. It is not a public web site. The IP address you cite above is for that purpose, and therefore does not belong in the list of public IP addresses to allow or block. Thanks for you question.

@JoeDavies-MSFT  Hi, thanks for the reply. That means any time a user is invited to another organisation's tenant e.g. Microsoft corporation's sharepoint site as in this case, then our proxy bypass list will stop them accessing that portal as the list of IP addresses configured on the firewall won't match for that tenant FQDN and we will need to make manual intervention every time. The user won't have an idea why they cannot account the other organisation's tenant.
As a result the Optimize list should not include the wildcard *.sharepoint.com but only the the FQDNs that have a corresponding IP address for in the IP address range list. This must be an issue for other organisations out there also as there is quite a bit of inviting users to each other organisation's tenants to access resources there.

@JoeDavies-MSFT - Might need to consider a change that addresses this issue. I'm working with a client that restricts access by IP and URL filtering, bypassing everything for SharePoint.Com as we'd expect, however staff being invited to work directly with Microsoft in their teams implementation are being blocked by our proxies, because it can't categorise the site.
As @nm999 points out, the microsoft.sharepoint.com resolves to an IP address outside of the public ranges which we can bypass, but I can't guarantee that this is the only IP that we may need to talk to when working with Microsoft directly. A small note in the document that details what addresses to bypass if working directly with MS would be useful (And hardly sensitive.)


feat: add balances hook and refactor

Description

Added useGetBalances hook that gets all the balances provided from the lib.
Added BalancesProvider which is responsible for subscribing to every currency chain changes. When on change event is trigger, it updates the cached results from useGetBalances.
refactor code according and removed unused features

Suggestion

Instead of managing subscription across the app in different places, we could create create a SubscriptionProvider that acts like a subscription manager.

Hi @danielsimao
Do you think you we can proceed with this PR after PR #542 and PR #547?


add ocaml-version and node-version

haochenx commented 5 days ago •

We also need to update the available-docker-images.json at https://github.com/kxcdev/ocaml-general-gha?

ah, that sounds necessary. pls do it 🙏

@haochenx
Should default: 5.0.0 in action.yml also be updated to 5.1.0?

@haochenx I have fixed the conflicts.


Updates to Adobe Fonts profile

@josh-hadley This is ready for review

Great!
There's only one pending issue at the moment (#3837) on the v0.8.10 milestone. So, once I properly address that, I intend to make a new release.
Do you have additional things you'd like to include in this release?

Do you have additional things you'd like to include in this release?

Not for now, thanks for asking.
One thing I noticed is that sometimes the CI fails because of interactions between two or more tests; they're running in parallel now. Haven't had a chance to look into it, but I plan to. This should not be a blocker for the next release, I think.
When the CI fails one can just retry the failed jobs.
If this becomes a pain, we can always set -n to 0 in setup.cfg for the time being.

Cool!
Please open an issue to describe this problem and for us to track the development of a good fix.

https://github.com/googlefonts/fontbakery/issues/3873

Do you have additional things you'd like to include in this release?

Not for now, thanks for asking.

I take that back. Just found out that the latest fontbakery footprint is too large to deploy to our pipeline. The biggest offenders are numpy and uharfbuzz. Don't know what's pulling in numpy; uharfbuzz is only used by the ISO-15008 profile. Then comes lxml which AFAIK might be only needed for UFO support. I might have to prioritize #3715.
Give me a couple of days to weigh the options.

@felipesanches You can go ahead with the release plan for v0.8.10.
I've found a workaround that I can use for now. I'll address #3874 in the release after v0.8.10.

thanks

Changelog says:

Added to the Adobe Fonts Profile

[com.adobe.fonts/check/unsupported_tables]: Verifies if fonts contain any tables not supported by Adobe Fonts' font-processing pipeline (PR #3870)

To what does "font-processing pipeline" refer?  Is this Adobe's internal font development pipeline or is it the rendering pipeline (or "stack") inside Adobe applications?
And does this mean the said pipeline doesn't support the JSTF table?

@bobh0303 "font-processing pipeline" refers to the pipeline used by the Adobe Fonts team to add fonts to the Adobe Fonts library.

And does this mean the said pipeline doesn't support the JSTF table?

The pipeline currently doesn’t support that table, yes.

PS: Might be worth clarifying this in the test description.


Ambiguous Column Name on joining

I really like moor, however, the joining has been a failure for me. Please, if you could take a look at it.
  Stream<List<TaskWithBoard>> watchAllMyDayTasks() {
    final now = DateTime.now();
    final today = DateTime(now.year, now.month, now.day);
    return (select(taskTable)..where((row) => row.myDayDate.equals(today)))
        .join([
          innerJoin(taskTable, taskTable.boardId.equalsExp(boardTable.id)),
        ])
        .watch()
        .map((rows) => rows
            .map((row) => TaskWithBoard(
                task: row.readTable(taskTable),
                board: row.readTable(boardTable)))
            .toList());
  }

innerJoin first argument was the target table. Fixed.


Getting empty Dependencies array in bom file for Python and node projects.

Hi,
I have tried to generate the BOM file for python and node projects. Able to get the BOM file;  however, the dependencies array is coming as empty for them.
I'm using the latest cdxgen version 5.4.2.
Please let me know if I have to use any options in cdxgen CLI to get the dependency array.
Thanks!

The dependencies array is not populated by cdxgen yet. I will take up this request in the coming weeks.

@prabhu Thank you.

Closing this in favour of https://github.com/AppThreat/cdxgen/issues/125


Panic Error: Discovery error: Unexpected watch error

time="2015-11-06T01:13:05Z" level=error msg="Discovery error: Unexpected watch error"
time="2015-11-06T01:13:25Z" level=info msg="Removed Engine dj-1"
time="2015-11-06T01:13:25Z" level=info msg="Removed Engine dj-0"
time="2015-11-06T01:23:48Z" level=info msg="Listening for HTTP" addr="<IP_ADDRESS>:3376" proto=tcp
time="2015-11-06T01:23:49Z" level=info msg="Registered Engine dj-1 at <IP_ADDRESS>:2376"
time="2015-11-06T01:23:49Z" level=info msg="Registered Engine dj-0 at <IP_ADDRESS>:2376"
time="2015-11-06T01:28:49Z" level=error msg="Discovery error: Unexpected watch error"
2015/11/06 01:31:28 http: panic serving <IP_ADDRESS>:59989: runtime error: index out of range
goroutine 107 [running]:
net/http.(*conn).serve.func1(0xc820698000, 0x7f104e6ac198, 0xc8201258c0)
/usr/local/go/src/net/http/server.go:1287 +0xb5
github.com/docker/swarm/api.getContainersJSON(0xc820163a00, 0x7f104e627280, 0xc82019adc0, 0xc8204a6460)
/go/src/github.com/docker/swarm/api/handlers.go:272 +0x1adc
github.com/docker/swarm/api.NewPrimary.func1(0x7f104e627280, 0xc82019adc0, 0xc8204a6460)
/go/src/github.com/docker/swarm/api/primary.go:128 +0x300
net/http.HandlerFunc.ServeHTTP(0xc8201be520, 0x7f104e627280, 0xc82019adc0, 0xc8204a6460)
/usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/gorilla/mux.(*Router).ServeHTTP(0xc820167220, 0x7f104e627280, 0xc82019adc0, 0xc8204a6460)
/go/src/github.com/docker/swarm/Godeps/_workspace/src/github.com/gorilla/mux/mux.go:98 +0x29e
github.com/docker/swarm/api.(*dispatcher).ServeHTTP(0xc82016cfa0, 0x7f104e627280, 0xc82019adc0, 0xc8204a6460)
/go/src/github.com/docker/swarm/api/server.go:32 +0x9f
net/http.serverHandler.ServeHTTP(0xc8203826c0, 0x7f104e627280, 0xc82019adc0, 0xc8204a6460)
/usr/local/go/src/net/http/server.go:1862 +0x19e
net/http.(*conn).serve(0xc820698000)
/usr/local/go/src/net/http/server.go:1361 +0xbee
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:1910 +0x3f6
2015/11/06 01:41:18 http: panic serving <IP_ADDRESS>:60113: runtime error: index out of range
goroutine 26 [running]:

ping @abronan

@dsampath This should be fixed by #1465. It'd be great if you can confirm.

Let me check that and get back to you.
Thanks!
Sent from my iPhone

On Dec 4, 2015, at 2:58 PM, Dongluo Chen<EMAIL_ADDRESS>wrote:
@dsampath This should be fixed by #1465. It'd be great if you can confirm.
—
Reply to this email directly or view it on GitHub.

Thanks @dsampath!

That works ! Please close this ticket out. Thanks for fixing it !
On Sun, Dec 6, 2015 at 7:44 AM Sebastiaan van Stijn <
<EMAIL_ADDRESS>wrote:

Thanks @dsampath https://github.com/dsampath!
—
Reply to this email directly or view it on GitHub
https://github.com/docker/swarm/issues/1385#issuecomment-162324420.

Cool! I don't have permissions in this repository, but since you created this ticket, you should be able to close it :+1:


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

88888

Sss

Xxx

Xxx

Xxx

Sorry, your issue will be closed as you did not submit your information in the correct format.


Guided Snapping

So if I understand, we now have object snapping. In other words we can place one held object near a point in the world, and the held object will immediately snap to this point...
...what if the snapping wasn't immediate?
We could have a threshold (distance of the hand holding the object to snap to the snap point) that once entered, the object being held would begin to 'gravitate' towards the snap point. As you guide the holding-hand closer to the full snapping point, the object would take on more of the final transform until it's then fully snapped?
The point of this would be to smooth the transition from holding the object to it being placed precisely where it needs to go.
Picture hold a wrench you would use to loosen bolts. Instead of having the wrench immediately appear on a bolt to which you then crank to loosen it, the wrench would start to be drawn to the bolt (magnetic if you will) until it finally settles into the position it needs to, all driven by the proximity of your hand to the bolt.
Make sense?! 😄

Would this cause an issue with the wrench (or any object) moving away from your grabbed controller feeling as if tracking of the controller has gone haywire?

well now this may sound complicated (and perhaps it is) but I was thinking the wrench would still be held, but that it would start to point towards the snap point.
This really could be difficult, or maybe all that's needed is a 'Look-At', with any given axis just aiming at the point it's going to snap.
Also does the wrench/bolt concept apply, where the snap point of the wrench is NOT the center of the object? That could be an issue too...

I think as long as the snap happens quickly it would be okay.  No slow drift.  Say it lerps there in 1/4 second or so, then lerps back when you leave the snap area.  This will also be less disorienting if you still have some indication of your hand (glove, ghostly outline, something).
Another possible option would be to only snap the object on release, and indicate that a snap would happen with a preview of a transparent/outlined instance of the object.  Eg enter snap zone with wrench, see a translucent green wrench appear in snap zone.  Exit snap zone, see preview object disappear.

@cameronoltmann the existing drop snap zone already does what you're section option is (if I'm reading it right).
When you place an object over a droppable area you get a highlight preview object
https://www.youtube.com/watch?v=d2PdHTPMYEg

Right, of course it does.  Sorry, my bad.
Yeah if the lerp is quick I don't think it will be disorienting

More or less exactly what I was thinking Cameron. No slow drift, just continuity from the hand to the snap point. I likened it to the ease of which a magazine could be loaded into a weapon, but still giving a satisfying interaction 'visually'. Seeing the magazine go into the weapon while still being under your control. This smooths out interactions but not removing player input so we maintain a maximum amount of 'interaction'.

I was playing around with VRweapons (which uses VRTK) and I didn't like that the magazines immediately snapped into the breach. This is only one example mind you, but otherwise it would just look nicer if there was a transition of the object to the snap point rather than it be immediate. :)

you can do magazine transition snapping already by just using the transitions on the snap drop zones.
You basically set your snap drop zone to have a transition time and then things would slide into place.
This initial issue (i believe) was about you would hold something and it would then gravitate to a specific location whilst you were still holding it and therefore it would have to become disjointed (or at least dis-oriented) from the grabbing controller.

Correct and you know, I'm not certain transitions were in when I posted this, so yea that's most likely just fine. :)


Excluded imports except ValidationRule in generating d.ts files.

This update has a hard-coded set for exactly one import. This may become fragile depending on how often you change the API.

This pull-request probably shouldn't be accepted until after the removal of the spoonx prefix is applied.

why is the validation import needed while the other external imports are not?

@doktordirk Because we provide a custom validator. :+1:

@kellyethridge right. that place is giving me pain. i suggest to add a like 'dts-builder-options.js' file (where and like paths.js) and get an array of additional importsToAdd from there. (you might need to rebase first)

yes. :+1: that's good. lets merge those commits to make it look nicer in the commit log. (reset to branching point (--mixed which is default to keep changes). add what should be in new version, commit and force push)
for command line that'll be :
git reset 9e84f30
git add build/*
git commit -m "fix(d.ts): include only necessary imports"
git push -f origin HEAD

gulp util and a new build isn't needed

@kellyethridge That's one beautiful commit you have there :)

Two tiny comments in the same file. After that, you have my :+1:

nice work !!

:+1: thanks guys. It's been a fun learning experience.


老哥releases发布一版

Okay, I'll release a version as soon as I can tonight

The relevant binaries have been released.
Thanks for the suggestion


iOS/macOS templates default to enabling Metal API validation which causes a substantial regression on some Impeller workloads.

Metal API validation can add multiple ms of overhead to applications with lots of little draws. This can cause confusing raster overhead for simple seeming applications like the one in https://github.com/flutter/flutter/issues/157827 . In this application raster time goes from ~1ms up to ~8ms with API validation enabled.
Metal API validation also appears to be active in both debug and profile modes. While this thankfully disappears in release modes, our users expect profile mode to be more representative of real performance.

Our flutter create templates include Metal API validation by default. We can turn it off for new apps, but ideally we could migrate existing applications - including the repo, because right now all of our benchmarks are using this too.


Integration between FieldSupport and new UI component FormField

The Blueprint FormGroup component is something we are using in a few ad hoc cases (including Toolbox) and looks like a promising component to bring more fully into Hoist and integrate with the new FieldSupport work.
Specifically, a model field could provide an integrated FormGroup with a label and use it to display validation requirements / errors. Would need to determine best way to structure the control w.r.t. the input component itself.

Discussed with Lee some more just now and think that FormField might be an appropriate name for this.
We're looking to rename HoistField to HoistInput (along with the associated components) to de-emphasize "field" there - these are the relatively "raw" input controls, even though they can bind to a model field.  But with this wrapper, you are now more directly providing a UI layer on top of the overall Field (class) concept.
@TomTirapani had a few more thoughts here and would love to discuss anytime you have a chance. Think / hope we could get a pretty straightforward initial cut in and usable across a few specific projects.

Great to discuss earlier today. Implemented in Hoist React and Toolbox:
https://github.com/exhi/hoist-react/pull/609
https://github.com/exhi/toolbox/pull/67


Sales Assistant is mispelled "Assitant"

See below, when I typed on "Start Chatting" from email I saw this:

Fixed


Remove Str and Slice swaps

Both of these types are "is_trivially_move_constructible" and "is_trivially_move_assignable", so the default std::swap would already correctly do exactly the same thing that these are doing.
We keep the custom swap on Box, String, Vec which are not trivially movable, their moves do stuff to the source object to move around ownership.
FYI @capickett

A small note here is that this changes means that
rust::Str s1 = "abc";
rust::Str s2 = "def";
s1.swap(s2);

Will now no longer compile. Referencing the STL, it appears std::string_view exposes a member swap https://en.cppreference.com/w/cpp/string/basic_string_view/swap. Perhaps worth keeping the member and implementing as:
void Str::swap(Str &rhs) noexcept {
  std::swap(*this, rhs);
}

A small note here is that this changes means that
rust::Str s1 = "abc";
rust::Str s2 = "def";
s1.swap(s2);

Will now no longer compile. Referencing the STL, it appears std::string_view exposes a member swap https://en.cppreference.com/w/cpp/string/basic_string_view/swap. Perhaps worth keeping the member and implementing as:
void Str::swap(Str &rhs) noexcept {
  std::swap(*this, rhs);
}

Thanks! Good catch, I was only paying attention to the "std::swap"-style usage. Thanks for the link, it seems clear that we should have the member functions to match string_view. I've put those back in #646.

Thanks! Good catch, I was only paying attention to the "std::swap"-style usage. Thanks for the link, it seems clear that we should have the member functions to match string_view. I've put those back in #646.


Saw the following stack trace while selfhosting

I didn't do anything special at the time (i.e. I was typing in a TypeScript file, right after typing in keybindings.json). I have the following settings:
// Place your settings in this file to overwrite the default settings
{
	"editor.fontFamily": "Hack",
	"editor.fontSize": 16,
	"editor.renderWhitespace": "boundary",
	"editor.renderIndentGuides": true,
	"files.autoSave": "afterDelay",
	"editor.renderLineHighlight": "gutter",
	"telemetry.enableTelemetry": false,
	"telemetry.enableCrashReporter": false
}

shell.ts:540 A system error occured (ENOENT: no such file or directory, stat 'c:\Users\alexdima\AppData\Roaming\Code - Insiders\Backups\ad08f2029706e72480f9216ce0db91d9\file\09c2dfdc538a2e9dc22c92d69ab27978'): Error: ENOENT: no such file or directory, stat 'c:\Users\alexdima\AppData\Roaming\Code - Insiders\Backups\ad08f2029706e72480f9216ce0db91d9\file\09c2dfdc538a2e9dc22c92d69ab27978'
    at Error (native)e.onUnexpectedError @ shell.ts:540
(anonymous function) @ shell.ts:456
e.onUnexpectedError @ errors.ts:68
o @ errors.ts:88done @ winjs.base.raw.js:1378
v @ winjs.base.raw.js:1224enter @ winjs.base.raw.js:901
_run @ winjs.base.raw.js:1068
_chainedError @ winjs.base.raw.js:1031
n @ winjs.base.raw.js:736
then @ winjs.base.raw.js:1436
enter @ winjs.base.raw.js:747
_run @ winjs.base.raw.js:1068
_setCompleteValue @ winjs.base.raw.js:1052
v @ winjs.base.raw.js:1209
enter @ winjs.base.raw.js:901
_run @ winjs.base.raw.js:1068
_error @ winjs.base.raw.js:1041
(anonymous function) @ async.ts:654
(anonymous function) @ original-fs.js:123

@alexandrudima to be clear, this error was only showing up in dev tools but not shown to you via error message right?

Having difficulty reproducing but my guess is that this is a race condition when auto save is on since the default delay is the same as the backup's delay (1000ms). @bpasero unless you think it's something else, how about we disabling all backups for text files when afterDelay is on?

I also hit this, I had auto save on at the time:
shell.ts:540A system error occured (ENOENT: no such file or directory, stat '/home/daimms/.config/Code - Insiders/Backups/45f8cb37345e6af816edadc2d14de789/file/fd1efab8f93adb9063c41d598b09ccaa'): Error: ENOENT: no such file or directory, stat '/home/daimms/.config/Code - Insiders/Backups/45f8cb37345e6af816edadc2d14de789/file/fd1efab8f93adb9063c41d598b09ccaa'
    at Error (native)

No error on UI.

@bpasero Yeah, saw it in dev tools, not in an error popup

@Tyriar when I look at how discardResourceBackup and backupResource are triggered in backupModelTracker I think you will always have a chance to hit this if someone manages to save the file while the backup is being made. The reason is that backupResource is not an atomic operation, it has a chance of being in the middle of work while discardResourceBackup is kicking in.
Since it is currently not possible to cancel any running backupResource call, maybe it would be best to check if there is a pending backupResource running and only afterwards delete the backup?
As for auto save: hot exit for auto save enabled does not add much value because upon quit we save all dirty files if any of the auto save configurations is enabled. Basically you will never see a confirm dialog on quit, unless you have untitled files opened.
Now, if we take out backups when auto save is enabled, we would probably solve this issue for the 90% case. However, doing so would also mean that there is no backups being made for people that have auto save on.
I agree though that with auto save after 1 second, backups are not making much sense...

@bpasero for the auto save case I'm suggesting only disable text file backups when it's set to afterDelay.
Proposed actions:

Make discard and backup go through a queue
Disable text file backups when files.autoSave is afterDelay and files.autoSaveDelay <= TextFileEditorModel.DEFAULT_CONTENT_CHANGE_BUFFER_DELAY

I made the auto save change, let's push the queue out to Jan as I don't think it's critical enough to get fixed at this point.

@bpasero Are there steps to verify?

No, I think we should mark this as verified given it was not reported again in a while.


Use idea-test-fix Gradle plugin

Coverage remained the same at 99.107% when pulling 13f76b58e2b864afcc9b4f2a4ab4b1d56e743bb4 on nmiyake:ideaTestFix into 498e73fbba9b173a3a72ae21cb0e07b9a7acd1b3 on palantir:develop.

Coverage remained the same at 99.107% when pulling 6198125b7d9c369fe5da9913a19e592cf64552d6 on nmiyake:ideaTestFix into 724d80af3647e7d39a747424993dbb5e10830991 on palantir:develop.


Implement Electronic Lock

An Electronic Lock need a Electronic Pad to work. The player configure the pad with a design (what are on the buttons). When a button is clicked, the lock will fire a computer event.

Electronic Pad

[x] Basic Item
[x] Entry abstraction
[x] Entry implementation for characters
[x] Entry implementation for ItemStack
[ ] Recipe

Electronic Lock

[x] Model and texture
[ ] Owner logic
[ ] Pad storage
[ ] Button click handling
[ ] Recipe

Electronic Pad Designer

[ ] Model and texture
[ ] GUI design
[ ] GUI logic
[ ] Recipe

run tests


Password Vault/LastPass

Just set-up LP for: Eventbright (CityCamp NC + NC Datapalooza), Twitter (CityCamp NC + NC Datapalooza), Hootsuite, and survey monkey. Mailchimp should have a personal invite

I can not access Youtube account, Instagram, or Dropbox, who has access to that???

No info on this one from my end - sorry!

I have updated Instagram. How are they being stored?

Youtube should be squared away.

still need access for all of these @jhibbets for<EMAIL_ADDRESS>

done
On Wed, Aug 16, 2017 at 4:12 PM, Ashley<EMAIL_ADDRESS>wrote:

still need access for all of these @jhibbets https://github.com/jhibbets
for<EMAIL_ADDRESS>—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/NCOpenPass/issues/399#issuecomment-322885238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADgoVw6bIB5husPBEj2g2tKEXw_BtqZiks5sY01BgaJpZM4Nbze2
.


Not Available on NuGet

The "dotnetliberty.AspNet.log4net": "1.0.0-beta8" package is not available on NuGet. Is this intentional?

published "Log4net.Extensions.Logging": "1.0.0-beta11" to nuget. Check fork https://github.com/mspratap6/Log4net.Extensions.Logging for more details.
This version is targeting AspNet Core 1.0.0RC2  net461


The further life of the project?

Will you finish version 0.7.19, so that not only the graphics subsystem works, but everything else?

Not sure. Support from Allwinner is quite poor, as they mostly focus on android. There's quite good effort done on mainline, and I expect that we soon switch to mainline with everything.


Fully extended joints snap back to centerline for all smoothing values on 0.9.2

Describe the bug
When a distal joint is far from the center of the body, sometimes the whole limb will 'snap back' to the centerline, before correctly re-positioning itself as joints up the tree are flexed.
Using k4abt_tracker_set_temporal_smoothing helps, but this bug persists across all smoothing values from 0 to 1.
To Reproduce
Make a motion similar to what is shown in the attached gif at about 3/4 speed.
Expected behavior
I would expect that foot position could rely on the current knee and ankle positions as well as their positions from the previous several frames to know that an extended position is much more likely than going back to the position of the other leg.
Screenshots
See the attached animated gif.
Desktop (please complete the following information):

OS with Version: Windows Version 10.0.18362 Build 18362
GPU: GTX 1080
SDK Version:  1.2 with body tracking 0.92

Update for 0.9.3 - The gif below is the same technique run through the new 0.9.3 version with smoothing set to 0. It seems like the problem may now be slightly worse, in addition to the standing leg being now located improperly.

Fixed in 0.9.3

@qm13- I am still having this issue in 0.9.3. Please see the above gif of the same MKV file run through the new SDK.

@billpottle can you verify that this still happens in 0.9.4?

@qm13 - Yes, I can verify that it still happens on 0.9.4

@billpottle we would like to get a recording that demonstrates the problems you are reporting. We require a signed data release agreement along with the recording. Could you provide me with contact details so I can provide you both the agreement and upload instructions?

@qm13 You can email me at<EMAIL_ADDRESS>

@qm13 - I haven't received the email with the data release agreement yet. You can also try<EMAIL_ADDRESS>

@billpottle we have reproduced this bug and are actively working on a fix.


Update socket rocket to 0.4

All the tests still pass and I tried it out in the sample app and everything looked to be working as expected.
Also fixed a few other things as I came to them, as noted in the commit messages.

The fix for _openConnection _closeConnection has been merged in SocketRocket.
https://github.com/square/SocketRocket/issues/263

Looks good to me so far, we should also include in this PR a bump of the main library up to 1.6.1.

Bumped the version of SocketRocket to 0.4.1 and the version of the pod itself to 1.6.1. Think I got all the references but could do with you checking it if possible @lukeredpath

v1.6.1 now available via cocoapods, I still need to create a binary release though.


"Edit this page" links no longer working

The "Edit this page" links are no longer working, likely due to some of the recent restructure.
Steps to replicate:

Navigate to any page on the Tag App Delivery website.
Click "Edit this page"
Results in a 404 on github

I wonder if this was caused by the work in #625 (FYI - @lianmakesthings) and/or if @cjyabraham has seen something like this before?

This is due to the multi-language support, as the content is now under content//, but the link expects content/
I suspect this will require a bigger fix that we'd really need to think about

From #639

The problem is, the duplicated page itself doesn't know it's duplicated. I didn't want to make it too complex, that's why the duplication happens during build, and not before.
I'm thinking about what the expected behaviour should be for those cases. The issue happens, when I'm on a non-default language page that has been duplicated. So if I'm clicking edit, do I want to add a translation or do I want to edit the English page? I'd argue both are likely expectations, so it's tough to say what the fix should be.


Create more than one operator token for OSS

Proposal:
There should be some way to create additional operator tokens.
Current behavior:
Currently only the setup and upgrade processes create operator tokens: https://docs.influxdata.com/influxdb/v2.0/security/tokens/#operator-token
Desired behavior:
Users with an existing operator token should be able to create new operator tokens via the CLI, e.g. with influx auth create --operator. It would also be great to have a convenience argument for all access tokens for an org, like influx auth create --all-access.
Alternatives considered:
N/A
Use case:

Multiple admins can have separate authentication and separate revocation of authentication (original issue https://github.com/influxdata/influxdb/issues/20540)
Rotation of operator token

Update: it actually is possible to create more than one operator token via the API, the change needed is to expose this via the CLI


[Feature Request] ISA Spreadsheet functions should work on updated datatypes

https://github.com/nfdi4plants/ISADotNet/pull/115


Diabetes prediction  using machine learning models and visualization

i found a dataset on kaggle about diabetes prediction by their symptoms which has 2k data points,by using machine learning models in one of the notebook they got 98.3% accuracy,I want to work on that and I will try to increase the accuracy by feature engineering and data cleaning,kindly assign this issue for me

@RajeshJampa 98.3% is the training accuracy, what about test accuracy and validation accuracy?

@utkarsh0702 98.3% roc_auc_score on the test set only sir

@RajeshJampa


bug: can overrun file length when caching long urls

https://discord.com/channels/1186394868336038080/1186684706700410962/1278115158438187058

#223


Update image ghcr.io/onedr0p/qbittorrent to v5.0.2

This PR contains the following updates:

Package
Update
Change

ghcr.io/onedr0p/qbittorrent (source)
patch
5.0.1 -> 5.0.2

Release Notes

qbittorrent/qBittorrent (ghcr.io/onedr0p/qbittorrent)
v5.0.2
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


(refactor): Refactor the Reconcile function

REFACTOR
What happened:

Some pods and services are being built and created in the reconcile function. There's a check for the resources to be already present before being created.

What you expected to happen:

All the pods and services should be created only after it is verified that they are not present.

Anything else we need to know:

ChaosEngine is a controller and built on top of operator-sdk framework. As all the operator-sdk controllers, it has a reconcile function. Reconcile function runs in a recursive manner checking all the resources needed to be up. If any of the resource is not available it again calls itself.
Issue related to Repository: https://github.com/litmuschaos/chaos-operator

This has been fixed as part of the overall chaosengine controller refactor in 1.0 release. Further refactor items are being tracked as part of https://github.com/litmuschaos/chaos-operator/pull/176

With the github issue corresponding to this: https://github.com/litmuschaos/chaos-operator/issues/175


Update scala 2.12 and 2.13

Related https://github.com/scoverage/sbt-scoverage/issues/319

Related https://github.com/scoverage/sbt-scoverage/issues/319

Codecov Report

Merging #913 (ee35992) into develop (279a441) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #913      +/-   ##
===========================================
- Coverage    89.61%   89.52%   -0.10%
===========================================
  Files          119      119
  Lines         9869     9869
  Branches       494      494
===========================================
- Hits          8844     8835       -9
- Misses        1025     1034       +9

Impacted Files
Coverage Δ

...ala/com/twitter/algebird/ApproximateProperty.scala
72.00% <0.00%> (-10.00%)
:arrow_down:

...in/scala/com/twitter/algebird/scalacheck/Gen.scala
90.90% <0.00%> (-9.10%)
:arrow_down:

.../main/scala/com/twitter/algebird/Successible.scala
83.33% <0.00%> (-8.34%)
:arrow_down:

...a/com/twitter/algebird/immutable/BloomFilter.scala
94.26% <0.00%> (-1.64%)
:arrow_down:

.../main/scala/com/twitter/algebird/Approximate.scala
88.70% <0.00%> (-1.62%)
:arrow_down:

.../main/scala/com/twitter/algebird/BloomFilter.scala
93.36% <0.00%> (-1.33%)
:arrow_down:

.../scala/com/twitter/algebird/immutable/BitSet.scala
96.35% <0.00%> (-0.43%)
:arrow_down:

.../main/scala/com/twitter/algebird/Applicative.scala
51.72% <0.00%> (ø)

.../main/scala/com/twitter/algebird/HyperLogLog.scala
89.61% <0.00%> (ø)

...scala/com/twitter/algebird/CorrelationMonoid.scala
86.76% <0.00%> (+1.47%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #913 (ee35992) into develop (279a441) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #913      +/-   ##
===========================================
- Coverage    89.61%   89.52%   -0.10%
===========================================
  Files          119      119
  Lines         9869     9869
  Branches       494      494
===========================================
- Hits          8844     8835       -9
- Misses        1025     1034       +9

Impacted Files
Coverage Δ

...ala/com/twitter/algebird/ApproximateProperty.scala
72.00% <0.00%> (-10.00%)
:arrow_down:

...in/scala/com/twitter/algebird/scalacheck/Gen.scala
90.90% <0.00%> (-9.10%)
:arrow_down:

.../main/scala/com/twitter/algebird/Successible.scala
83.33% <0.00%> (-8.34%)
:arrow_down:

...a/com/twitter/algebird/immutable/BloomFilter.scala
94.26% <0.00%> (-1.64%)
:arrow_down:

.../main/scala/com/twitter/algebird/Approximate.scala
88.70% <0.00%> (-1.62%)
:arrow_down:

.../main/scala/com/twitter/algebird/BloomFilter.scala
93.36% <0.00%> (-1.33%)
:arrow_down:

.../scala/com/twitter/algebird/immutable/BitSet.scala
96.35% <0.00%> (-0.43%)
:arrow_down:

.../main/scala/com/twitter/algebird/Applicative.scala
51.72% <0.00%> (ø)

.../main/scala/com/twitter/algebird/HyperLogLog.scala
89.61% <0.00%> (ø)

...scala/com/twitter/algebird/CorrelationMonoid.scala
86.76% <0.00%> (+1.47%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

Huh, the micro site is failing somehow. I haven't checked the logs.

Huh, the micro site is failing somehow. I haven't checked the logs.

Right, this is related to tut which is removed in #920

Right, this is related to tut which is removed in #920

so, if we merge #920 this should be good to go?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 5 committers have signed the CLA.:white_check_mark: ianoc:white_check_mark: regadas:x: Jonathan Coveney:x: isnotinvain:x: sritchie-stripeJonathan Coveney seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Request to be an member of Volcano community

I've learnt a lot from the community last several monthes and made a few improvements by fixing some bugs like volcano-sh/volcano#1981 volcano-sh/volcano#2216 and volcano-sh/volcano#2225, hopely I could join as a member of this raplidy growing community and do more contribution in the future.

Thanks for your contribution! Welcome to Volcano community!
/lgtm

/lgtm
Welcome!

/lgtm
Welcome!

+1
Thanks for the contribution, Welcome to Volcano family :)

/cc @kevin-wangzefeng Please help send an invitation. Thanks!

+1
/approve

Invited, please visit https://github.com/volcano-sh to accept the invitation.


fix: meaning of limit_options in OpenSmartHouse import script

fixes: #6311

@zwave-js-bot automerge


no_op playback doesn't respect autoplay option

Browser: Chromium 53.0.2785.116
OS: Linux 4.7
Clappr Version: 0.2.63
Steps to reproduce:

Set autoPlay to false
Make player use no_op playback
Load page with the player - player autostarts showing no_op playback with "Your browser is not supported" message

Did you try to reproduce this issue at http://cdn.clappr.io - Yes
I don't know if this supposed to be a feature, but I think it would be more appropriate to respect specifically specified autoplay option and don't autostart the player.

What would you expect to see?
I think for most users if their browser can't play a video they would expect to see an explanation why.
I think you should be able create your own playback and add it to the player in the options and if you call it 'no_op' it will override the inbuilt one.

@NicholasAsimov : you mean if autoplay is false then show the poster over the "not supported" message, which only display if user click poster ?

@kslimani Yeah, kind of like that. I was thinking more like: if autoplay is false it's always going to show a poster and a play button and only after clicking the play button it's going to show the no_op playback message.
One reason why I'm concerned about it is that if, for example, you have a lot of players on one page (like an admin page or a summary page with a lot of videos) it will drain quite a few resources if no_op is going to trigger (one example could be using rtmp plugin [which uses flash] and browser doesn't have flash).
Hope I made that clear. Of course I can make this change in my version but maybe this is something that would be more appropriate for everyone?

I understand. I've just been trying to figure out why the poster isn't actually there and it turns out it is but it is below the no_op div in the dom.
Will look into this.


Casing of addressing does not consider certain special cases

The ogr2osm translation needs to include cases for street names like McDonalds and O'Donnell. Current logic is lacking here.

Reran the translation and the ordinals are good to go, so I just need to implement that replace loop.

Fixed this in 2733f2fd884e5a4e7160d653dec79de4cc609ea2

@mpetroff The latest commit I made for the translations fixes all of the special cases I had found.


Permission denied to access property "addEventListener" on cross-origin object

baron.js:103
This error only on https sites

This code is work normal
        	elem[prefix + 'EventListener'](eventName, handler, opts)
        } catch (e) {

		}

Duplicate of https://github.com/Diokuz/baron/issues/170
but thanks!

Fixed in<EMAIL_ADDRESS>

Where is it?

https://www.npmjs.com/package/baron )


Traccar Performance for 100-200 units reporting at 5sec

Hello Guys
We have a upcoming project that we will like to use traccar. Here is the scenario. We have around 100 - 200 portable gps units that will be reporting their location every 5 seconds. This reporting could last from 1 to 5 hours then It will be offline. During this project from 400 - 500 users could be viewing the gps units position. We don't need the users (viewers) to play with the reporting, basically we want them to view the gps position.  I have configure traccar to use Mysql however I know I must fine tune mysql for a better performance. So far around 10 gps units are reporting fine to the server.
At this moment we are using a local server but we can switch to a Amazon Ec2 server.
So my question is:
What would you recommend for this scenario? (Hardware Specs, Mysql Setup, Ram, etc)
Could traccar manage this type of load?
Thanks!

What is the time frame for your project? I am working on a new web interface which will have an in-memory cache of latest GPS locations. It will also support live updates using long polling instead of periodical (every 15 seconds in current version) requests like in the current version.
In general 200 devices with 5 seconds period is not a problem for the device communication back-end, but 500 web users might be a problem as current web interface and database queries are not optimal.

I would like to suggest to use  web sockets instead of long pooling for the positions notifications

I think it's still to early for web sockets. Some IE versions and older Android devices don't support it. Probably in future I will change implementation to work over web sockets.

Greetings tananaev
Sorry for the delay on responding the question I was out of town. The project is scheduled for 1 month. For the backend service do you recommend any changes on the default mysql config to provide a better performance? I will be monitoring the site for the new web interface. Thanks!

New web interface should be ready within a few weeks, so maybe it's better to wait.

@joepr, any updates ? Please share your H/W configuration along with the performance observations and issues faced so far.

Traccar has been using WebSockets for a very long time now.


Exceptions in CppNode impls do not show trace or node information

Describe the bug
When an exception is raised within the cpp implementation of a node, there is no pertinent information about the node or trace from where the exception occurred.
To Reproduce
DECLARE_CPPNODE(my_impl) {
TS_INPUT(Generic, x);
INIT_CPPNODE(my_impl);
INVOKE() {
  if(csp.ticked(x)) {
    throw;
  }
};
};
EXPORT_CPPNODE(my_impl);

@csp.node(cppimpl=_lib.my_impl)
def my_impl(x: ts['T']):
    if csp.ticked(x):
         return

Raise an exception within the cpp implementation of a node.
Expected behavior
Have some kind of traceback or pertinent information about the node which raises the exception.
Error Message
File "/run.py", line 117, in <module>
    csp.run(g, starttime=datetime.utcnow(), realtime=True)
 File "/home/svcccagqa/include/csp/csp/impl/wiring/runtime.py", line 183, in run
    with ExceptionContext():
  File "/home/svcccagqa/include/csp/csp/impl/error_handling.py", line 40, in __exit__
              raise exc_val.with_traceback(new_tb)
Exception: [SOME EXCEPTION]```

If you use CSP_THROW (https://github.com/Point72/csp/blob/main/cpp/csp/core/Exception.h#L80) instead of throw you should be able to see a stack trace

Right. The example above would be more related to an external dependency for the node raising the exception internally. It would not necessarily use csp_throw inherently.

In a user-defined node, if they call into external functions which they know can throw exceptions they should be catching those exceptions and rethrowing with CSP_THROW. When we throw exceptions from csp they need to be valid Python exception types i.e. ValueError, TypeError so I don't see how we could make a generic throw; return useful information.
If you set csp.impl.error_handling.set_print_full_exception_stack( True ) do you at least get a stack now?

Fair enough, ill try that


Added exceptions for Criminal: United Kingdom

Updated scene exeptions for Criminal: United Kingdom show

Adding the actual show name is not necessary. There was a bug that has been fixed and both of these strings will be tried automatically.


Add tanzu integration

Motivation
Closes https://github.com/networkservicemesh/integration-k8s-aks/pull/332
Closes https://github.com/networkservicemesh/deployments-k8s/issues/11186

/cc @szvincze


PSORG Overhaul PR

This PR introduces restructuring of the MUIS, MAS, MLS, MPS, and DME startup sequences respectively to reflect advancements in the configs, and better verbose info.
Numerous new packets have been added and introduced.
Added support for Pre-Medius 1.50 titles
Code organization has been done for cleaner reading.
Review needed.

@Jump-Suit Thanks for the PR. I'm running into some issues testing this from a fresh clone. Are you able to make a fresh clone of your repo/this PR and confirm that everything runs and builds correctly?

PRed changed for what was requested.
The details are in the commit.
For games that don't use SERVER_ECHO there exists a ServerEchoUnsupported config value, this still needs work to disable timeouts for clients that aren't capable of handling SERVER_ECHO!
Additionally, many appIds are implemented per game case. If this breaks support for any of the PS2 Ratchet games let me know.

Due to inactivity with this, I will unfortunately be closing this PR and removing the github repo for this.
Thanks for looking.


Clarification and possible bug in hw_timer

I'm working on porting a onewire driver I made for the NONOS SDK that uses FRC1 to drive a state machine (and thus avoid blocking delays). The lowest time-step for Onewire (that I've seen) is 10us, so I use non-autoreload mode and set the timeout to 10us as needed to process read/writes.
In my NONOS code, I use clockdiv16 and the US_TO_RTC_TIMER_TICKS(t) macro provided by Espressif to set the value. I've tested this and it works pretty well.
I've set up a basic test with esp-open-rtos that looks like this:
App code:
void task1(void *pvParameters)
{
   while(1) {
      vTaskDelayMs(1000UL); // Print every second
      /* Should be close to 1000 */
      uint32_t count = getTestCount();
      printf("test count = %lu\n", count);
   }
}

void user_init(void)
{
   /* Init hw timer */
   hw_timer_init();
   hw_timer_start();

   xTaskCreate(task1, (signed char *)"hw_timer_task", 256, NULL, 2, NULL);
}

Hw Timer code:
static uint32_t testcout = 0;
static uint32_t loadval = 0;

uint32_t getTestCount(void)
{
   return testcout;
}

static void frc1_interrupt_handler(void)
{
   static uint32_t step_count = 0;
   /* Inc. every 10us * 100 = 1ms */
   if (++step_count == 100)
   {
      testcout++;
      step_count = 0;
   }
   timer_set_load(FRC1, loadval);
}

void hw_timer_init(void)
{
    /* set up ISRs */
    _xt_isr_attach(INUM_TIMER_FRC1, frc1_interrupt_handler);
}

void hw_timer_start(void)
{
   loadval = timer_time_to_count(FRC1, 10, TIMER_CLKDIV_16);
   printf("loadval = %u\n", loadval);

   timer_set_divider(FRC1, TIMER_CLKDIV_16);
   timer_set_reload(FRC1, false);
   timer_set_interrupts(FRC1, true);
   timer_set_run(FRC1, true);
}

Using timer_time_to_count with div16 I get this output:
loadval = 50
test count = 886
test count = 1779
test count = 2671

So testcount only gets to about 890 every time when I am expecting ~1000.
If I manually set loadval to 44 I get pretty close to 1000, +/- a couple us.
I also tried the timer_set_timeout() method, but I was getting testcount's around ~700 or so. I looked around a bit and In core/include/esp/timer.h I saw this:
/*
   ...
   Note that for a true "one shot" timeout with FRC1 then you need to
   also disable FRC1 in the timer interrupt handler by calling
   timer_set_run(TIMER_FRC1, false);
*/
int timer_set_timeout(const timer_frc_t frc, uint32_t us);

First, is TIMER_FRC1 is supposed to just be FRC1? I get this error otherwise:
In file included from extras/hw_timer/hw_timer.c:10:0:
extras/hw_timer/hw_timer.c: In function 'frc1_interrupt_handler':
../../core/include/esp/timer_regs.h:15:28: error: incompatible type for argument 1 of 'timer_set_run'
 #define TIMER(i) (*(struct TIMER_REGS *)(TIMER_BASE + (i)*0x20))
                            ^
../../core/include/esp/timer_regs.h:16:20: note: in expansion of macro 'TIMER'
 #define TIMER_FRC1 TIMER(0)
                    ^
extras/hw_timer/hw_timer.c:93:18: note: in expansion of macro 'TIMER_FRC1'
    timer_set_run(TIMER_FRC1, false);

If I use FRC1 to get it to compile, and set timer_set_run(FRC1, false); in the ISR, it seems to disable the interrupts (testcount stays at 0). I suppose there could be an issue calling timer_set_run() and re-arming inside the ISR, but that's the only way I can achieve 10us with FreeRTOS. In my NONOS code I use system_os_post() to re-arm the next 10us one-shot as opposed to doing it directly in the ISR so I could see that being a potential issue.
Also, tried all the same things but using TIMER_CLKDIV_1 and with that I get testcount differences around 5500:
test count = 14
test count = 5435
test count = 10906

So yeah, any info on this would be helpful. Also I'm running the ESP @ 160MHz if that matters (didn't seem to change anything in NONOS, but that's using their macro for load value).
In my NONOS code US_TO_RTC_TIMER_TICKS(t) also returns a value of 50 for 10us, so that lines up with what timer_set_timeout() gives me. So that makes me think that I'm not achieving the "true one-shot timeout" described in the code comment.

Hi @someburner,
If you need small precise delays in your code you can use sdk_os_delay_us. Please have a look at i2c driver for example.
Regarding your example. If you want the interrupt handler to be called with fixed precise time periods you need to set the load value and set the timer to autoreload:
void hw_timer_start(void)
{
   loadval = timer_time_to_count(FRC1, 10, TIMER_CLKDIV_16);
   printf("loadval = %u\n", loadval);

   timer_set_load(FRC1, loadval);
   timer_set_divider(FRC1, TIMER_CLKDIV_16);
   timer_set_reload(FRC1, true);
   timer_set_interrupts(FRC1, true);
   timer_set_run(FRC1, true);
}

I would also suggest placing interrupt handler into IRAM:
static void IRAM frc1_interrupt_handler(void)
{
   static uint32_t step_count = 0;
   /* Inc. every 10us * 100 = 1ms */
   if (++step_count == 100)
   {
      testcout++;
      step_count = 0;
   }
}

The above modifications gives me pretty close count reading:
getTestCount: 8993
getTestCount: 9993
getTestCount: 10992
getTestCount: 11992
getTestCount: 12992
getTestCount: 13992
getTestCount: 14991
getTestCount: 15991
getTestCount: 16991

Another possible solution might be to use already running timer FRC2 timer

Thanks for the help. I was under the impression that sdk_os_delay_us() was a blocking delay. Is it not?
Also, is timer_set_reload() an esp-open-rtos implementation? Or does that set the FRC1_AUTO_LOAD flag? I know esp-open-rtos is quite a bit different than Espressif's SDK, but the Espressif docs say that in auto-reload mode the acceptable range in us is 50 - x7FFFFF. But perhaps I'm confusing auto-load with reload..
I made the changes you suggested and it does indeed work. Thanks! For my implementation it's probably okay to use reload and then just enable/disable the timer, but I'm still a bit curious about this "true one-shot" comment.
Thanks again.

Thanks for the help. I was under the impression that sdk_os_delay_us() was a blocking delay. Is it not?

sdk_os_delay_us delays by burning CPU cycles. As far as I understand it will not block the OS from task switching. If you really need a precision delay you need to disable OS task switching during the delay. For long delays that do not require a precision vTaskDelay is preferred way as it will directly say the OS to switch tasks right away.

Also, is timer_set_reload() an esp-open-rtos implementation? Or does that set the FRC1_AUTO_LOAD flag? I know esp-open-rtos is quite a bit different than Espressif's SDK, but the Espressif docs say that in auto-reload mode the acceptable range in us is 50 - x7FFFFF. But perhaps I'm confusing auto-load with reload..

Hardware timer manipulation is open source, you can have a look.
/* Write load value for timer. */
static inline void timer_set_load(const timer_frc_t frc, const uint32_t load)
{
    TIMER(frc).LOAD = load;
}

/* Set timer auto-reload on or off */
static inline void timer_set_reload(const timer_frc_t frc, const bool reload)
{
    if (reload)
        TIMER(frc).CTRL |= TIMER_CTRL_RELOAD;
    else
        TIMER(frc).CTRL &= ~TIMER_CTRL_RELOAD;
}

I don't need precision on the delays for this module, it's more that I plan to have other tasks running that I would like to give priority, and so I'm worried that using many delay_us() calls required for read/write operations would block for >1ms in some cases, which I'd like to avoid.
Yeah I looked into the source but the macros got a little cryptic for my level of experience with the project. But I think I have enough info to get me on my way for now. Thank you.


let pick accept proc with single argument

The documentation for pick suggests that a proc accepting just the file list as a parameter can be used (https://github.com/avit/stockboy/blob/master/lib/stockboy/provider.rb#L183 , https://github.com/avit/stockboy/blob/master/lib/stockboy/providers/ftp.rb#L22). However reduce requires a proc taking two arguments.
Suggested change conforms to examples in docs and shouldn't break existing usage.

I'm a little concerned that this would behave differently based on the block arity (which can be a bit strange in ruby with *splat arguments: proc { |a, *b| }.arity == -2) but maybe that's unwarranted...
It looks like that pick ->(list) { documentation is just wrong anyway, it should just work with a standard reduce like this:
https://github.com/dvee/stockboy/blob/fix_pick/lib/stockboy/provider.rb#L155
Your point makes sense though, there might be room for improvement, let me know what you're trying to accomplish if reduce can't do it.

See also: https://github.com/avit/stockboy/issues/1 if it's specifically about FTP.


I want to contribute 5 python programs

Description
I want to contribute 5 python programs
Additional context
triangle_area.py, celsius_to_fahrenheit.py, multiplication_table.py, sum_of_n_numbers.py and check_leap_year.py
Languages and Assignees:

[x] Python: @

https://github.com/AnOnYmOus001100/Code_Repository/tree/main/Basic Python Programs
A clear case of spamming other repos with the same code.

Hey that's my own repository, will make it private soon

Ok, Code repository is now private, I am just keeping a copy of my programs to keep track of them. There's no spamming or plagirism, the codes are written by me and executed.

@AnOnYmOus001100 I have seen the repo, it was not at all a backup repo it was inviting other contributors to make their PR, and that's absolutely fine your account your choice. Even though you have implemented your codes and that's great but you have already pushed them in your repo and I also know this thing you will make it public one day. I can't continue this conversation ahead


javascript.json snippets from friendly-snippets stop work in .ts and .tsx files

Hello. I've noticed that javascript snippets stop work in typescript files with .ts and .tsx extension.
It works before.

Yes, that was a change in friendly-snippet, see here for a discussion.
The TLDR is that you need to call
require("luasnip").filetype_extend("typescript", {"javascript"})

somewhere in your config.

Thanks!


Manual updates

...

Coverage increased (+0.2%) to 77.553% when pulling f52706131349f3e0f60acb0eaddcc70f9d48dbe0 on RickCarlino:merge_stuff into a74e8defe06fdc81ce98a1063178b61e6c69a085 on FarmBot:master.


Health check endpoints

Add route 53 health check as per https://github.com/HumanCellAtlas/dcp-monitoring/blob/master/README.md
┆Issue Number: HCAB-334

Does this issue even make sense?  If the data browser is a JS app with no server side component, there is nowhere to put a health-check endpoint.

Exact thats why this is not implemented. It is not super clear what the goal is and how to meet the HCA  alerting requirements with this. For the data portal we quickly did this:
https://dev.data.humancellatlas.org/health/ but the portal does have individual pages.
Not sure what we could test on the browser. That the index.html page loads? We could create a separate health.html page and load that just to check cloudfront and S3 but that wont tell if actual site is working.
We could have some testing endpoint run the JS and then look for something in the dom etc.
Not sure what the goal is here and what level of effort is justified.

Superseded by #398.


Update dependencies

Pull Request Test Coverage Report for Build 1819

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 66.861%

Totals

Change from base Build 1812:
0.01%

Covered Lines:
6843

Relevant Lines:
9625

💛  - Coveralls


Bump minimum server version to 7.6

Summary
Proposing we depend on v7.6 as part of this upcoming release -- it's been a long time since we've bumped this, and it's probably been wrong for a while!
Note that this won't actually build successfully until we bump the server version -- hopefully soon!
Ticket Link
N/A

/update-branch


[SPARK-15662][SQL] Add since annotation for classes in sql.catalog

What changes were proposed in this pull request?
This patch does a few things:

Adds since version annotation to methods and classes in sql.catalog.
Fixed a typo in FilterFunction and a whitespace issue in spark/api/java/function/package.scala
Added "database" field to Function class.

How was this patch tested?
Updated unit test case for "database" field in Function class.

Test build #59641 has started for PR 13406 at commit 798329a.

Test build #59641 has finished for PR 13406 at commit 798329a.

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

Merged build finished. Test PASSed.

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

cc @yhuai

LGTM

Merging into master 2.0


How to save Column Picker selection?

I want to save column picker selection to users preferences, Is there any inbuilt function for this already?

https://volkanceylan.gitbooks.io/serenity-guide/content/grids/persisting_settings.html
Please read the guides. They're extremely helpful :)

Thanks alot. I missed it.


An issue about the ExpModI function

Description
The ExpModI function returns xp mod N. As shown in the below testcase, when x is 2, p is 0 and N is 1, the function returns 1 instead of 0. I think it is a bug of the ExpModI function.
Testcase
namespace NISLNameSpace {
    open Microsoft.Quantum.Canon;
    open Microsoft.Quantum.Intrinsic;
    open Microsoft.Quantum.Math;

    @EntryPoint()
    operation main() : Unit {
        mutable NISLVariable = ExpModI(2,0,1);
        Message($"{NISLVariable}");
    }
}

Output
1

Expected Output
0

Environment
Operating system: Windows 10
dotnet version: 3.1.408
QDK: 0.21.2111177148
Command
dotnet run

@QuXing9, thanks for reporting this issue. It should be resolved once #513 is merged.


Allow command line arguments for bios tutorial [skip-ci]

There's a conflict with changes I'm working on. I'm adding command-line arguments to control which steps it executes.

Conflict is with pull #3420. A good spot to add your arguments is where --http-port is on mine.


YJDH-527: Show applicant's vtj-data on handler UI

Description :sparkles:
Shows Vtj (Väestötietojärjestelmä) data for the application. There is also error indicators when there is some notable exceptions in the data:

Raw data is also available under accordion:

Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #1055 (b567c10) into develop (ca0ca00) will decrease coverage by 35.20%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop    #1055       +/-   ##
============================================
- Coverage    64.58%   29.37%   -35.21%
============================================
  Files          905       63      -842
  Lines        25098     1011    -24087
  Branches      2546      156     -2390
============================================
- Hits         16209      297    -15912
+ Misses        8500      684     -7816
+ Partials       389       30      -359

Impacted Files
Coverage Δ

...c/__tests__/utils/components/get-index-page-api.ts

...teli/handler/src/components/form/ActionButtons.tsx

...d/kesaseteli/handler/src/components/form/Field.tsx

...seteli/handler/src/components/form/HandlerForm.tsx

...rontend/shared/src/__tests__/utils/fake-objects.ts

...c/__tests__/utils/render-component/render-page.tsx

...nd/shared/src/components/confirm-dialog/Portal.tsx

...s/fields/fieldErrorMessage/FieldErrorMessage.sc.ts

...rms/fields/fieldErrorMessage/FieldErrorMessage.tsx

frontend/shared/src/constants.ts

... and 831 more

Continue to review full report at Codecov.

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

I didn't really find anything for change recommendations or even typos. Good to have date.utils also tested :). Using translationApi for the queries in tests seems also a good idea that should be added to tet-project's tests. Prevents writing tests again in a case of translation changes.

🙌


Feature/logos and img

Feature:
Logos and images
Logo is now being displayed in the edit endpoint.

Before approving, just a couple of questions:

Will this work for any image?
What exactly is the solution/fix here?
Will this result in cross origin errors?


every hourly Restart stat up and down times

$CMD/data/data.yaml
I want to stat up and down times,start from zero.every hourly.
How it should be configured？
---
name: EaseProbe
version: v1.7.0
---
"":
    name: ""
    endpoint: http://xxxxx:8000/accounts
    time: 2022-07-25T03:40:09.881474243Z
    timestamp:<PHONE_NUMBER>881
    rtt: 354.042µs
    status: down
    prestatus: down
    message: 'Error (http): Error: Get "http://xxxx:8000/accounts": dial tcp xxxxx:8000: connect: connection refused'
    latestdowntime: 2022-07-25T02:44:48.241836769Z
    recoverytime: 0s
    stat:
        since: 2022-07-07T02:49:31.152596481Z
        total: 1454
        status:
            up: 1412
            down: 42
        uptime: 23h32m0s
        downtime: 42m0s
    timeformat: 2006-01-02 15:04:05 UTC

@hongery What's your configuration file?

@hongery What's your configuration file?

{
"http": [
{
"name": "test",
"method": "GET",
"url": "http://<IP_ADDRESS>:8000/accounts",
"success_code": [
[
200,
502
]
],
"timeout": "10s"
}
],
"sla":{
"schedule":"hourly"
},
"notify": {
"retry": {
"times": 5,
"interval": "10s"
},
"log": [
{
"name": "log file",
"file": "/tmp/easeprobe"
}
]
},
"settings":{
"probe":{
"tmieout":"20s",
"internal":"2m"
}
}
}

{     "http": [       {         "name": "test",         "method": "GET",         "url": "http://<IP_ADDRESS>:8000/accounts",         "success_code": [           [             200,             502           ]         ],         "timeout": "10s"       }     ],     "sla":{       "schedule":"hourly"     },     "notify": {       "retry": {         "times": 5,         "interval": "10s"       },       "log": [         {           "name": "log file",           "file": "/tmp/easeprobe"         }       ]     },     "settings":{       "probe":{         "tmieout":"20s",         "internal":"2m"       }     }   }

@hongery What's your configuration file?

{     "http": [       {         "name": "test",         "method": "GET",         "url": "http://<IP_ADDRESS>:8000/accounts",         "success_code": [           [             200,             502           ]         ],         "timeout": "10s"       }     ],     "sla":{       "schedule":"hourly"     },     "notify": {       "retry": {         "times": 5,         "interval": "10s"       },       "log": [         {           "name": "log file",           "file": "/tmp/easeprobe"         }       ]     },     "settings":{       "probe":{         "tmieout":"20s",         "internal":"2m"       }     }   }

{
"http": [
{
"name": "test",
"method": "GET",
"url": "http://<IP_ADDRESS>:8000/accounts",
"success_code": [
[
200,
502
]
],
"timeout": "10s"
}
],
"sla":{
"schedule":"hourly"
},
"notify": {
"retry": {
"times": 5,
"interval": "10s"
},
"log": [
{
"name": "log file",
"file": "/tmp/easeprobe"
}
]
},
"settings":{
"probe":{
"tmieout":"20s",
"internal":"2m"
}
}
}

it should be a yaml file.

{     "http": [       {         "name": "test",         "method": "GET",         "url": "http://<IP_ADDRESS>:8000/accounts",         "success_code": [           [             200,             502           ]         ],         "timeout": "10s"       }     ],     "sla":{       "schedule":"hourly"     },     "notify": {       "retry": {         "times": 5,         "interval": "10s"       },       "log": [         {           "name": "log file",           "file": "/tmp/easeprobe"         }       ]     },     "settings":{       "probe":{         "tmieout":"20s",         "internal":"2m"       }     }   }

And, if you need to reset the statistics, The easiest way is to use a script to delete the data.yaml hourly.

it should be a yaml file.
i use apollo config ,can use json config file.

And, if you need to reset the statistics, The easiest way is to use a script to delete the data.yaml hourly.

No other configuration options?

The data.yaml is designed to persist the data, so that, the EaseProbe can be rebooted without losing the statstices.
At this moment EaseProbe hasn't the option to reset the statistics periodically. The workaround is that do this outside the EaseProbe. setup a cronjob to clean the data.yaml and restart the EaseProbe hourly.

By the way, @hongery why do you need to clean it hourly?

I want to count SLA daily，test hourly。

By the way, @hongery why do you need to clean it hourly?

What better way to fix it than to reboot.

@haoel Just a suggestion, how about a signal handler that will reset the SLA counts (and data) only? We could use the SIGUSR1 or SIGUSR2 signals for the zeroing out.

Thanks, guys. I'd like to do some evaluation for different solutions here. Please feel free to propose a new solution.

Script Way. Write a script to remove the data file and restart the EaseProbe, and config it into cron job
Native Way. Support the hourly, daily, weekly, and monthly SLA data reset
Signal Way. Support the signal to reset the SLA data, and configure it into cron job

Solution
operation works
code works
efforts
comment

1) script
script, cron job
no
low
if we run in Docker, it's much easier

2) native
no
configuration, runtime reset
high
might consider backup before reset

3) signal
cron job
runtime reset
mid
might consider backup before reset

Furthermore, I think the real X Problem is we need to get the Report in an arbitrary time range. if we need to work on this requirement, I think  we need a time-series data store to do it, this is not EaseProbe's scope.
Fortunately, current EaseProbe support Prometheus and all of the statistics would be exported to Prometheus, I think this is the ultimate way to solve such kind requirement.
P.S. Personally, I really dislike the case-by-case requirement. Thanks for understanding.

Thanks, guys. I'd like to do some evaluation for different solutions here. Please feel free to propose a new solution.

Script Way. Write a script to remove the data file and restart the EaseProbe, and config it into cron job
Native Way. Support the hourly, daily, weekly, and monthly SLA data reset
Signal Way. Support the signal to reset the SLA data, and configure it into cron job

Solution	operation works	code works	efforts	comment

script	script, cron job	no	low	if we run in Docker, it's much easier
native	no	configuration, runtime reset	high	might consider backup before reset
signal	cron job	runtime reset	mid	might consider backup before reset
Furthermore, I think the real X Problem is we need to get the Report in an arbitrary time range. if we need to work on this requirement, I think we need a time-series data store to do it, this is not EaseProbe's scope.

Fortunately, current EaseProbe support Prometheus and all of the statistics would be exported to Prometheus, I think this is the ultimate way to solve such kind requirement.
So, my suggestion is

if you need a quick lightweight way - just go to the script way, write a systemd unit, or just use the docker, and run a cron job to restart the service of the docker container.
if you need a systematic way, just go to the Prometheus solution

P.S. Personally, I really dislike the case-by-case requirement. Thanks for understanding.

I choose the third way, by singal. Timed deletion of data.yaml cache information.

@hongery you probably didn't get it. If you accept the solution to create a cron job, why not write a script remove the data.yaml before restart EaseProbe, and put it into cron job?

EASEPROBE=/path/to/easeprobe

ps -ef | grep easeprobe | grep -v grep | awk '{print $2}' | xargs kill

mv $EASEPROBE/data/data.yaml $EASEPROBE/data/data.yaml.$(date +"%Y%m%dT%H%M")

$EASEPROBE/easeprobe -f $EASEPROBE /config.yaml &

you can see, it's just 3 lines. Very simple.

close this ticket since there is no response.  feel free to reopen it.


Add example container image

Depends-On: https://github.com/ansible/ansible-zuul-jobs/pull/732
Signed-off-by: Paul Belanger<EMAIL_ADDRESS>

Pull-request updated, HEAD is now d8410a96db75fba42ba555e3b36678a79ed57ea9

Pull-request updated, HEAD is now 38ec705e287bf77d31f24deb196f82e6db3126d6

Pull-request updated, HEAD is now 9886133b173da59be018cd896183a68ad1273eeb

Pull-request updated, HEAD is now 76a42fe6e1ac84ed2c544e3e3347a5b3c3e2a05f


vcpkg crash

Full transcript attached
C:\vcpkg>vcpkg upgrade --no-dry-run option warning: Starting with the September 2023 release, the default triplet for vcpkg libraries will change from x86-windows to the detected host triplet (x64-windows). To resolve this message, add --triplet x86-windows to keep the same behavior. error: The following packages are not installed:     option:x86-windows error: The following packages do not have a valid CONTROL or vcpkg.json:     option:x86-windows internal error: D:\a\_work\1\s\src\vcpkg\commands.upgrade.cpp(180): vcpkg has crashed; no additional details are available. Please open an issue at https://github.com/microsoft/vcpkg/issues/new?template=other-type-of-bug-report.md&labels=category:vcpkg-bug with detailed steps to reproduce the problem.
crash.txt

Accidentally had the word 'option' cut and pasted into the command line

Even if you provide wrong arguments, vcpkg should not crash.

I have created #31440


Test helpers to match against regular expressions.

Extracted these from https://github.com/heroku/buildpacks-apt/pull/8 which uses these macros to test for output that cannot be done reliably using just assert_contains and assert_not_contains because of the presence of random variations like the names of temporary test folders.

@colincasey can you get CI passing? I gave it a quick skim and it looked fine otherwise. I'll give it a quick review as soon as CI is fixed. Can you ping me as soon as that is done? :)

@Malax yep, forgot to check a doc test and had accidentally applied a #[cfg(test)] to the unused dependency the linter was complaining about.


Using GitHub Actions for CI

@ronsigal @asoldano What do you guys think about this? It's not testing the two versions of WildFly like Travis currently does, but it does add testing for Windows. We could enable it to test on multiple versions of WildFly too.
One thing I have noticed is on Windows, especially Java 8 and the resteasy-jdk-http tests, fail with a "Bind address already in use". I assume this may be some kind of race for the socket actually closing. I can't duplicate it on my Windows VM at all so I'd be tempted to skip it on Windows CI. Thoughts?

I can't get these tests to fail on my Windows VM. I'm guessing it must be some kind of race though. I'm not sure if it's in Vert.x for Java 11 or the HttpServer for Java 8 or if it's just at the OS level and not actually closing the sockets. I'll see what I find on it though.

Hi @jamezp,
I just have a few random comments.

I don't know much about the subject, but  https://knapsackpro.com/ci_comparisons/github-actions/vs/travis-ci doesn't show a big difference between Github Actions and Travis. On the other hand, I think Github is a great gift to humankind, so there's that.

Testing in Windows seems like a great idea.

Something that's come up recently wrt Travis is that @jimma and I have lost the ability to restart jobs. Is there a way to restart a Github Action run?

I notice that the test run output is extremely verbose. Lots of scrolling. Not a big deal, but maybe that can be changed ...

Hi @ronsigal

I don't know much about the subject, but  https://knapsackpro.com/ci_comparisons/github-actions/vs/travis-ci doesn't show a big difference between Github Actions and Travis. On the other hand, I think Github is a great gift to humankind, so there's that.
Testing in Windows seems like a great idea.
re: "I assume this may be some kind of race for the socket actually closing. I can't duplicate it on my Windows VM at all so I'd be tempted to skip it on Windows CI." Maybe we could wait a little in a loop until the socket closes. If there's still a problem, maybe it's more serious.

I tried a simple sleep and that didn't work. I'm doing some more investigation though.

Something that's come up recently wrt Travis is that @jimma and I have lost the ability to restart jobs. Is there a way to restart a Github Action run?

It looks like you can restart all the jobs, but not a single job.

I notice that the test run output is extremely verbose. Lots of scrolling. Not a big deal, but maybe that can be changed ...

Yes that should be reduced on once repository is cached. If you look at one of the Linux jobs it's not as much to scroll through. You can also download the files if you'd rather.

I'm going to close this for right now so it doesn't keep running jobs while I try to fix the Windows errors.

I think I have it working now. There are some occasional failures on Windows with the MP TCK, but we can look at those separately or just skip them on Windows if we think that is a better option.

+1 for the PR


URLs don't appear

URLs don't appear.  Probably because we are trying to be too fancy with angular.

Solved now.  Wasn't implemented.


New Character Sheet Submission - Palladium Rifts by Grinning Gecko

Changes / Comments
Adds a new character sheet for Palladium Rifts using CSE.
Since Rifts has a practically infinite number of things that can modify bonuses, this sheet makes extensive use of repeaters. Each ability, spell, psionic, or general modifier (including weapons, armor, gear, etc.) can be used within a Profile. Each profile will aggregate the bonuses from all of its modifiers to present the player with a single set of bonuses that apply when using that profile. Profiles also include base attribute bonuses, which are automatically calculated.
Also includes the ability to export to a JSON object and import from a JSON object.

PR title includes sheet name.
Not a bug fix.
I followed Building Character Sheets standards to the best of my knowledge.

See README.md for developer info.
I saw this question https://github.com/Roll20/roll20-character-sheets/pull/9244#issuecomment-883545965 posed on another new sheet, so thought I would try to answer it proactively. The existing Rifts and Palladium sheets are very basic. All are legacy (not CSE) and make very little use of calculations. This sheet takes into account all possible modifiers that could occur via various abilities and auto-calculates bonuses based on profiles. Given the drastically different approach this sheet takes, it would be easier to list the similarities than the differences.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[x] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Hi @ggutenberg
Thanks for preemptively answering the pertinent question. Just to do due diligence: if the existing sheet is so simple, is there a reason that this sheet couldn't supersede/upgrade the existing sheet?

Is it possible to see how many people are actively using the current Rifts sheet, and/or to send them a message saying it will be changing? The current sheet has NO rolls, NO use of Roll20 features (rolls, turn order, attributes). There is no integration between sections (bonuses entered in one place do not transfer). It is missing pretty basic things like race, horror factor, trust, charm. It's definitely incomplete and could use an upgrade - it's just the migration path that's worrisome.

Hi @nmbradley . Any update on getting this merged? I'm continuing to improve it while it waits (and will continue to do so after merge too), but it would be great to get it out into the wild and get some real people using it and real feedback.


freshrss: cleanup + runHook

Description of changes
fix lint
make it possible to use extensions via external forlders: https://discourse.nixos.org/t/how-can-i-add-extensions-to-freshrss-on-nixos/28971
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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-can-i-add-extensions-to-freshrss-on-nixos/28971/6

ping @etu


feat: structure backend in packages

structure backend in packages
add tests for loading and processing

I thought about reorganising the backend code too ;-)

are you fine with the current proposal? We can also change it later on, if you see improvements

I'm not sure i would have adopted this organisation but we can always change later.

okay, sure. Yeah just a starting point. Then I can continue with the TUF staff and config support

TUF staff

What's that ?

config support

TBH i'm not sure we want to bring this to the frontend

okay, sure. Yeah just a starting point. Then I can continue with the TUF staff and config support

TUF_ROOT needs to be a writeable volume for keyless image verification and with config I mean the Kyverno config


Chg: Allow use of any board-id

A (new) board can be included with its full qualifier (e.g.: arduino:avr:uno).
script:
  - build_platform arduino:avr:uno
  - build_platform leonardo
  - build_platform esp8266:esp8266:nodemcu
The build will fail, if the identifier is invalid, because the board will not loaded and exits with an error.

@chatelao looks good. thanks for the contribution!


[metrics] Investigate nftables

Just adding an issue here as I had it multiple times:
The way we collect metrics on nftables is resource heavy and I had multiple complaints from users that if they enable it their CPU usage is pinned 100%.
I want to add this issue to keep track and one day once we have time to add improvement.

add a configuration option https://github.com/crowdsecurity/cs-firewall-bouncer/blob/af6e7e25822c2b1a02168b99ebbf8458bc6728e5/pkg/metrics/metrics.go#L9

@LaurenceJJones
You may also look at #316. The high CPU load is still not fixed.


[BUG]: Alternative kb mappings cannot be tested in the installer

Athena OS version
Athena OS Polias
Which environment or technology are you using?

[X] Baremetal
[ ] VirtualBox Virtual Machine
[ ] VMware Virtual Machine
[ ] Hyper-V Virtual Machine
[ ] QEMU/KVM
[ ] Parallels
[ ] UTM
[ ] Container
[ ] WSL

Kernel version
6.5.10-hardened1-1-hardened
Involved software
Installer in Polias
Repro steps
Go the the installation process in the Installer.  Get to the language and kb mappings.  Search for and select a gb keyboard.  Go to the test area and check the mappings for #£@ etc.
Expected behavior
I want to see how the text looks with the selected language and keyboard settings.
Actual behavior
The test area shows that the kb mappings have not changed.
Diagnostic logs
No response

Fixed: https://github.com/Athena-OS/aegis-gui/commit/66416a64a0470d039c58d0876e9219c7f29c1bac
I will ship a new ISO with this fix. If you want to test it on the current ISO, you can run a Live Environment (i.e., in a VM) and upgrade the system by sudo pacman -Syyu in order to have the latest installer version. In order to use pacman in Live Environment, you need first to set keys:
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -Syyu

Thank you for your report.


Upgrade to jupyterlab 4

This PR used the migration script to upgrade the extension to support jupyterlab 4.x: https://jupyterlab.readthedocs.io/en/stable/extension/extension_migration.html
Now available on pypi: https://pypi.org/project/imjoy-jupyterlab-extension/
cc @thewtex
closes https://github.com/imjoy-team/imjoy-jupyterlab-extension/issues/2

Now available on pypi: https://pypi.org/project/imjoy-jupyterlab-extension/

I cannot find a recent version of ImJoy on pypi which includes JupyterLab 4 support. The latest version available there is 0.1.13, which is from April 29th 2022.

@jhgoebbert the latest version is 0.2.6, released April 4th, 2024:
https://pypi.org/project/imjoy-jupyterlab-extension/#history
0.2.* has JupyterLab 4 suppport.


Timber object should also support string arguments

The Timber object only supports lambda syntax: Timber.d { "some string" }.  Even though it's effectively the same thing, it should also support the same syntax as the original Timber: Timber.d("some string").

I would argue that these are not idiomatic for Kotlin and that they would introduce extra ambiguity when it comes to code completion. Including them would expose methods that are inherently less safe as well, as referenced in the readme section about lint checks.
The only reason I'd use the old syntax would be for compatibility while migrating code but I would prefer to do that one module at a time any ways.

It's hard to argue it's not idomatic for Kotlin when that's exaclty what Anko does: https://github.com/Kotlin/anko/wiki/Anko-Commons-–-Logging
Not sure about safety, I was just thinking more for people who are use to using systems like Anko, it would make it cognitively easier to use.  I currently just create my own.

Personally, I don't use or like Anko. It's popular but that doesn't make it idiomatic Kotlin. But whatever, I don't care either way. Maybe patches welcome, eh?

I also don't use Anko anymore, but I only meant that since there's no specific word on it in https://kotlinlang.org/docs/reference/idioms.html, than official kotlin/jetbrains libraries like Anko are going to be most commonly referenced as what's 'idiomatic'.  I can look into creating a patch with my extensions if there's interest beyond just me.

I think that how Kotlin handles check() and require() are great examples of how logging would be handled idiomatically. I fail to see how parametric substitution methods offer anything beyond the inline string substitutions.
That said, I feel like the whole point is moot. One fatal flaw for this lib at the moment is that logging messages are fully realized and rendered any time a Tree is plant()ed. In my reading of the code, it does not matter if the log message will actually be logged or not, based on the underlying priorities. This is substantially different behavior from Timber.

I didn't have parametric substitution in mind, only basic no-arg strings like d("this method called").  For anything else I would use a lambda.
I didn't notice the log check before, good point.  And looking at Timber, since isLoggable is per-tree, you couldn't really support passing in lambdas that deep without rewriting timber in Kotlin.

Even with that addition it is easy to make a mistake if you're not paying attention. If your log message inadvertently has inline string subs (a situation that should be very common and expected in Kotlin), the method invocation that takes a string will cause the log message to be built regardless. So even if underlying issue discussed earlier is fixed, this is still a potential programming issue -- particularly for people who don't have a firm grasp on lambdas vs strings.
You could add these as a companion functions without changes to this lib:
inline fun TimberKt.d(message: String) = Timber.d(message)

Thanks for the detailed discussion! I would prefer not to add another overload for all the functions, especially when the new version is error prone.
@tbsandee Version 1.1.0 didn't call the log lambda unless the message was actually logged. However, since Timber doesn't expose isLoggable, the implementation used non-inline lambdas. If you're ok with that and need the precise behavior, that version works fine.


Better control over the list of clients

What happens?
This comes from this discussion. Raising it as an issues as it is a blocker for me.
In short, a lot of clients/languages are listed as icons and in dropdown lists which might not appropriate for a given project and the options available don't allow removing them.
What did you expect to happen?

Allow maintaining a list of clients to include
Make client names unique so that they can be targeted accurately
Allow filtering clients icons

How can we reproduce the issue?
See above
Swagger/OpenAPI Example
No response

See https://github.com/scalar/scalar/discussions/976

Relevant PR #1250

Much appreciated!


Update hello_cloud.py

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

.


Package dump 5.3

Fixes #465

[x] add test with 5.3 Package.swift
[ ] deploy to staging and see if it picks up the 5.3 packages (looks for twostraws/VisualEffects)
[ ] monitor for any regressions with other packages (probably unlikely)

Right, I know why it’s not getting picked up yet: due to the version consolidation we’re not re-analysing versions here. Package parsing failures are too common to not save a version, especially as old, incompatible packages that never change would be churning if we didn’t.
At the same time, we’ve now frozen the 5.3 packages as failing and won’t re-analyse unless the underlying commit changes.
I can easily fix that for packages we know are 5.3 (by clearing the versions for them manually). The question is: how do we find all packages (or versions, rather) with 5.3 Package.swift files?

Visual Effects is available now on staging: https://staging.swiftpackageindex.com/twostraws/VisualEffects

Let's get this on production as soon as PackageList#465 is merged.


[bug] in all wallets search bar, searched out nothing for any wallet names

Link to minimal reproducible example
https://stackblitz.com/edit/web3modal-next-template
Summary
click "all wallets", in the all wallets panel top search bar, search anything, always return an empty array.
List of related npm package versions
"@web3modal/wagmi": "^5.0.8"

In the minimal example, you are using an old version : "@web3modal/wagmi": "4.0.10".
Please check our docs to implement the solution: https://docs.walletconnect.com/appkit/react/onboarding/socials


Reduce Python NNLS RAM requirements

A user reported DYNAMITE runs out of RAM when there are many concurrent weight solving processes with the Python NNLS weight solver (specific case: 528GB RAM, ncpus_weights = 32, orbit library size 14x7x7).
Diagnosis: one of the Python NNLS processes throws a "Cannot allocate memory" error in LegacyOrbitLibrary.read_orbit_base() in the line that extracts the orbit library.
Before this PR:

The unzipped orbit library data is piped into a Python symbol. This data is then written into a binary "FortranFile" which in turn is read by the remaining statements in LegacyOrbitLibrary.read_orbit_base().
This means that for each of the ncpus_weights processes in the model iterator's processing pool, the (potentially very large) orbit libraries are in memory twice.

Solution:

Instead of unzipping the orbit libraries into a Python symbol, it is directly extracted to disk, creating the FortranFile for further use.
Still use the command line tool bunzip2 for performance and of course preserve the zipped version.

Tested:

test_nnls.py and test_notebooks.sh
Also, confirmed that the orbit library extracted via bunzip2 -c datfil/{fileroot}.dat.bz2 > {tmpfname} is binary equal to the old solution (piping the bunzip2 output into aaa.stdout and have Python write it as a binary file)

@prashjet: It is quite straightforward, but it'll be great if you can have a glance at the code changes (there're not many...).
Closes #393.

Great, many thanks! :-)


feat: add option to 0-pad episode number in template

If you are interested, this PR lets you zero-pad the episode number with zeros for a constant width

This is great! Thank you for taking the time to open a pull request! 💪


Tests for python plugins fail on Ubuntu-latest

Before submitting the issue

[X] I have checked for Compatibility issues
[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
https://github.com/pyansys/pydpf-core/runs/7952672200?check_suite_focus=true
Steps To Reproduce
https://github.com/pyansys/pydpf-core/runs/7952672200?check_suite_focus=true
Which Operating System are you using?
Linux
Which Python version are you using?
3.10
Installed packages
See PR

See https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/


Testing Example app: Request failed Error in loadMaskedWallet

Hello,
I am trying to run the example app with the updated dependencies and gradle wrapper.
When I run it and try to make a payment after pressing the button "buy with Android pay" an error dialog shows:

Request failed: An unexpected error has occurred. Please try again later.

And after I press ok I see this message in the logs:
06-01 18:28:02.378 12251 12251 W WalletMerchantError: Error in loadMaskedWallet: Did you forget the set Android Pay testing environment to PROD?
Before trying the example app I did my own example and this is the question I opened in stackoverflow with the same results and error: https://stackoverflow.com/questions/44305488/android-pay-error-in-loadmaskedwallet
Do you have any idea what the problem could be? I have tried in two different devices and 2 different cards

What's the type of card you have in Android Pay?
Is it real card or test card with generated number / CVC ?

According to your code on StackOverflow you moved GoogleApiClient builder to it's own function. But it's not clear if you actually call it or not?

I am using test cards provided from google or that can be found online. I am using WalletConstants.ENVIRONMENT_TEST  as the other is deprecated.
First thing I want to know from this issue is, what is the meaning of the logs and the error code. Second thing is, how to fix it.

@ShkurtiA
Issue: test cards (even the one provided by Google) don't work anymore (at least not outside of US);
Solution: you need real card to make it work. You won't be charged with ENVIRONMENT_TEST.

Ok I understand. Thank you for this hint. I will try to test also with a real card.