Game controller and DPAD navigation should work

Internal: b/140829915
Along with keyboard navigation (#13264), and handling keycodes for DPAD (#1670), we should also support focus navigation with a game controller and phone DPAD.

And TV remotes?

@SpajicM This bug is about DPAD on game controllers, please file a separate bug if you would like TV remotes supported. Thanks!

@jtmcdole we have some questions around this request that is specific to customer: fun.

Do you want this support just for Android? or for iOS as well?
Can you give us a canonical example of a controller so we can acquire one to test?
We assume you are expecting more than dpad keys to work?  e.g. the proportional joystick controls and all the buttons. Could you confirm?

Both OS
XBox1 Controller  connected over USB HID or Bluetooth HID should work assuming you have a later device to map it.  8Bitdo N30Pro 2 has a direct Android and Mac HID Mapping mode.
Yes, I'd like to be able to react to the buttons, triggers, and thumb sticks. Navigation via frameowrk and potential for "the user hit the {A,B,X,Y} button on this element" so they can select the element on the screen or we cna handle a "back" navigation.

Mapping the various buttons shouldn't be too hard, but right now we don't have any API for delivering/sampling the proportional data from the thumb sticks, so that's a bigger task. Do you just want simulated DPAD events from proportional inputs? (and maybe the platforms already provide this: I haven't looked in detail at the platform APIs yet).
Do you also need the pressure data from buttons (I noticed that some iOS controllers have this)?

We do not need pressure data, we only need activation / deactivation. The idea here is not to bubble this up to us, but to support a controller navigating the UI as it does at the Android system level.

OK, cool.  So I assume you don't need proportional data from the thumb sticks either, right, just activation of a direction?  Do you need all eight directions, or just combinations of four directions (e.g. combinations of north, south, east, west or do you need n, ne, e, se, s, sw, w, nw)?

I believe the remaining work here is iOS.

I believe the desktop platforms also need some work here.

Does this mean actual UI navigation will work... or will we still have to use the gamepad inputs and try to invent that?

We probably won't want it to work by default, since game controllers are primarily used for games, but we want to make it easy to enable by just supplying the key bindings at the app level.  Right now the key binding part exists, and the function calls exist for moving the focus.  I'm currently building the missing Actions that need to exist to make it a reality.  They're pretty trivial to make though, they look something like this:
/// An [Action] that moves the focus to the next focusable node in the focus
/// order.
///
/// This action is the default action registered for the [key], and by default
/// is bound to the [LogicalKeyboardKey.tab] key in the [WidgetsApp].
class NextFocusAction extends Action {
  /// Creates a [NextFocusAction] with a fixed [key];
  NextFocusAction() : super(key);

  /// The [LocalKey] that uniquely identifies this action to an [Intent].
  static const LocalKey key = ValueKey<Type>(NextFocusAction);

  @override
  void invoke(FocusNode node, Intent tag) {
    super.invoke(node, tag);
    node.nextFocus();
  }
}

That's worrisome as Android already has gamepad navigation working on the home screen, gmail, the Google Home App, etc. I don't think every application implemented their own navigation graphs.

Oh, I didn't think that was the case (that it was implemented at the system level for apps). Well, maybe we will make it the default on Android then. I'll have to do some more research and see what other platforms provide.

I'm only guessing that multiple teams did not re-invent the wheel (plus some did not seem to hint correctly at what's selectable, so it skips over some items on the screen).  We have a navgraph API we could re-use, but that was based on static layouts on other frameworks. Thoughts?

Also note: Many controllers only supports HAT_X and HAT_Y axis that are only (-1,0,1). Today these are not converted to "dpad" digital events.

Just as a perspective is this something super complicated to include in the Flutter framework?
I would think the implementation could piggy back on the bounding boxes that are used by the accessibility layer right?

Well, yes, it is pretty complicated, but it's separate from the accessibility system because they have different needs (for instance, accessibility traverses things like icons and labels, etc.). Also, building the accessibility data structures is pretty expensive because it has to be properly filtered to only include those elements that accessibility is interested in, and we don't want to pay that performance hit unless accessibility is enabled.
The focus infrastructure for this is mostly in place now, but the final step of adding the right default shortcuts for the DPAD keys is still a week or so off while I figure out how to handle focus when applications push and pop navigation routes. I don't want to enable the default shortcuts until they can operate properly in all situations.

b/140829915

Update: the remaining work is just to hook up the default actions.  There has been key support for DPAD key events for a while, but there aren't default navigation bindings yet.
However, I have PRs already in review for most of the remaining work:
https://github.com/flutter/flutter/pull/40166

Prerequisite to turning on default navigation shortcuts, so that route scopes are properly focused.
https://github.com/flutter/flutter/pull/40186
Draft PR, depends up on https://github.com/flutter/flutter/pull/40706, also in review.
Only includes arrow key bindings, but DPAD is mapped to arrow keys, so should also enable DPAD navigation.

Once those are in, the only remaining large piece is that the ENTER, SPACE, or gamepad buttons don't activate controls. For this, we need to rework some of the innards of controls (mainly those that use InkWell) so that reactions occur when an (as yet unbuilt) "activate" Action is invoked from a shortcut. I've started this, and have a draft PR for it:
https://github.com/flutter/flutter/pull/41220

Reopening because I had to revert this in https://github.com/flutter/flutter/pull/41945 due to a 5% regression in microbenchmarks_stock_build_iteration. Will re-land as soon as possible.

Re-landed.


[UIE-89] move analysis components

Jira Ticket: https://broadworkbench.atlassian.net/browse/[Ticket #]
Summary of changes:
Analysis related UI components and modules moved to new feature-area based project organization.  Files, subfolders, moved to src/analysis/...
What

file moves, import cleanup

Why

in preparation for further cleanup to support UI Code Sharing effort (and general code organization improvements).  This will better align things for eventual split up into sub-packages within a mono-repo setup.

Don't forget to update the CODEOWNERS file.

I was gonna do that as a quick follow, just to get these hard-to-remerge file moves in a bit quicker.

Is it worth putting the visual components (i.e. Environments.js and ContextBar.js) and the hooks (useAnalysisFiles and useRuntimes) in their own folders?

probably... but that can be an iterative (and much smaller) PR after this one :)


no valid 'aps-environment'

I am using plugin version of push notification (1.8.4) and create build using phonegap build with cli 6.3.0. Build created successfully but when test application on IOS 10.1.1 got following error message
no valid 'aps-environment' entitlement string found for application
I am using following code. Please help me as soon as possible
var push = PushNotification.init({
android: {
senderID: "12345679"
},
browser: {
pushServiceURL: 'http://push.api.phonegap.com/v1/push'
},
ios: {
alert: "true",
badge: "true",
sound: "true"
},
windows: {}
});
push.on('registration', function(data) {
alert(data.registrationId);
});
push.on('notification', function(data) {
// data.message,
// data.title,
// data.count,
// data.sound,
// data.image,
// data.additionalData
});
push.on('error', function(e) {
// e.message
});

Update to 1.9.x - that fixes it

@clearminds , 1.9x says it requires >= 6.4.0 which  it doesn't seem that @js12690 has. @js12690 I wonder if you are using Meteor because of the specific version you have. If so, what did you end up doing in order to get it to work? I am in a similar boat

@js12690 this got me to the next step, may have been xcode related or an issue with my entitlements file

also, you might want to do a quick double check of your certs. I recommend using https://github.com/noodlewerk/NWPusher to make sure everything is setup properly on that end

Same problem here: "no valid 'aps-environment' entitlement string found for application". But I won't be able to upgrade my cordova, so I can't upgrade to 1.9.1....
Any other ideas? I tried branching a version with the aps-enviironment configs in the plugin.xml, but that seems to do nothing.
Thanks for thinking with me.

I'm experiencing the exact same problem in a very strange set of circumstances: "no valid 'aps-environment' entitlement string found for application upon registration.
It started since I upgraded the plugin to the latest version, as well as Cordova to 6.4.0, and attempted to build on PhoneGap Build. I then read that 1.9+ was not supported on PGB, so I reverted back to 1.8.4, but it wouldn't work even after reverting.
I don't understand what the problem could be. It's been working for months on plugin v1.8.4 and Cordova 6.3.1, just upgrading then downgrading back to the exact same version numbers again killed it.

Well, now it seems to be working! What I did was change the SENDER value in config.xml, and did not specify a plugin version:
<plugin name="phonegap-plugin-push" source="npm">
    <param name="SENDER_ID" value="different-name-than-before" />
  </plugin>

@timeseriesBH did you try my fix? I was having the same issue and that's what fixed it for me

I would try, but I am generating the app through a service (OutSystems), so I don't use Xcode...

Same problem here.
I'm using PGB which doesn't support 1.9.x, so i cannot upgrade to that.
Is there any solution to get it work with PGB before it starts to supports 1.9.x?
We should be updating some minor issues to our application, but this is preventing us to do it.

Same problem; we use PGB, the entitlement is in the provisioning profile (also tried regenerating it) but we get "no valid 'aps-environment' entitlement string found for application" at registration.
Is there a solution or is it possible to port the fix to 1.8.x?

As far as I can see in the changelog, version 1.9.0 of the push plugin added aps-environment to *-Release.plist and *-Debug.plist. I updated my config.xml to include these lines but this didn't help (I am getting the error message). Is there anything I am still missing? Maybe, we can find a way to "port" the necessary changes of 1.9.0 into the config.xml? My attempt was:
<config-file platform="ios" target="*-Release.plist" parent="aps-environment">
	<string>production</string>
</config-file>
<config-file platform="ios" target="*-Debug.plist" parent="aps-environment">
	<string>development</string>
</config-file>

So I think I am still missing something. But maybe, this isn't as easy as I initially thought...

@MBuchalik; saw that too and also tried that change and a few different variations on the target attribute in the config.xml but also haven't been able to get it to work.

I confirm that the solution suggested by @MBuchalik does not fix the issue.

PR added that might resolve the issue. Change your config.xml plugin spec to
    <plugin name="phonegap-plugin-push" source="npm" spec="https://github.com/tonijn/phonegap-plugin-push#fix-aps-environment">
        <param name="SENDER_ID" value="99999"/> <!-- pgb -->
        <variable name="SENDER_ID" value="99999"/> <!-- cordova -->
    </plugin>

We are testing it now.

Just did a PGB build and that seems to fix the problem. Thank you!

For users of PGB: use a newer version:
<preference name="phonegap-version" value="cli-6.4.0"/>

Might fix the issue.

@rgagne : is it solved?
@tonijn : what is the final solution of this issue?

@js12690 - Working for me. Builds on PGB with that tag and instead of the aps-environment error getting a success callback from the init() call.

@rgagne which phonegap-version you have used?

have you used following solution?

It means you have used version 1.9.2 for push notification plugin. am i right? so finally you got device token from 10.1.1 and please check which IOS you are using for test?
Thanks in advanced

@js12690, yes I used the solution given by @tonijn (should have specified that). The version of plugin-push is the branched 1.8.4. I am using PhoneGapBuild set to cli-6.4.0; this would fail to build on 1.9.x because the actual phonegap version was 6.3.x according to the logs.
In my build log file is:
Repository "https://github.com/tonijn/phonegap-plugin-push" checked out to git ref "fix-aps-environment" at "94b0cac".
Installing "phonegap-plugin-push" at "1.8.4" for ios
My test device is iOS 10.1.1 and I am getting a device token.

@js12690 - fyi looking at https://github.com/phonegap/phonegap-plugin-push/pull/1467 you'll need to use the latest cli in PGB if using that:

@rgagne - Thanks for your reply
Just confirm with you. My code is following. Please correct me if i am wrong
`

`

@js12690 - sorry looks like the tag was deleted; solution won't work anymore
@tonijn - could you restore that? it actually worked fine for me on PGB as long as I bumped the cli version to the latest

@tonijn - Please make a tag as it is. it is work for @rgagne
Thanks in advanced @tonijn

@tonijn  @rgagne @macdonst  - i think there is some issue in phonegap build because week ago i have created one build that give me device token but now with same code i am trying to create build is not working for me. my code is same but before week it is work and now it is not. i have both ipa file (one is created week ago and second one is create yesterday). I am getting device token from one week ago file but unfortunately not get from file that created yesterday.
can you please check on it?
Thanks

@js12690 fyi - my build also was working a week ago (roughly) and stopped working. I think something changed at Apple so that the aps-environment is required in the entitlements file. When I uploaded through iTunesConnect I'd get a warning (not an error) from Apple, but registration stopped working.
With the 1.8.4 branch that @tonijn it started working again - looks like the fix is a change in the plugin's config file to add the correct entitlement string.

@js12690 - to answer your question above about your code; spec and version do the same thing; not sure what the behavior is if you have both
<gap:plugin name="phonegap-plugin-push" source="npm" spec="https://github.com/tonijn/phonegap-plugin-push#fix-aps-environment">
	<param name="SENDER_ID" value="xxxxxx" />
</gap:plugin>

My version is working now in Debug and Release. I customised the 1.8.3.
https://github.com/timeseriesBH/phonegap-plugin-push#v<IP_ADDRESS>

Hello all
I am getting device token from IOS 10.1.1 without change any single word in my code.
I am using following code
<preference name="phonegap-version" value="cli-6.3.0" />
<gap:plugin name="phonegap-plugin-push" source="npm" version="1.8.4"> 		<param name="SENDER_ID" value="99999" />   </gap:plugin>
I think there is some problem in PGB. if i am wrong then please guys test your app and let me know if you still got issue
Thanks in advanced

Okay I think this is the fix for building with PGB. It works for us.
    <engine name="cordova" version=">=6.4.0"/>
    <engine name="cordova-ios" version="~4.3.0"/>

    <plugin name="phonegap-plugin-push" source="npm" spec="https://github.com/frederikbosch/phonegap-plugin-push#fix-aps-environment">
        <param name="SENDER_ID" value="99999"/> <!-- pgb -->
        <variable name="SENDER_ID" value="99999"/> <!-- cordova -->
    </plugin>

So you need cordova cli 6.4.0, cordova ios and 4.3.0 and the fix from PR #1469. And then you can get push working with Phonegap Build.

The new branch provided by @frederikbosch is also working for me.

@js12690 can you try 1.9.x on PGB now? I believe the issue on the build server has been resolved.

My phonegap build is still not working with 1.9.2
Installing "phonegap-plugin-push" at "1.9.2" for ios Plugin doesn't support this project's cordova version. cordova: 6.3.2, failed version requirement: >=6.4.0 Skipping 'phonegap-plugin-push' for ios

I get this same error "no valid 'aps-environment' entitlement string found for application" - I am using cordova 6.4.0 and phongeap-plugin-push 1.9.2
I am not familiar with PGB and so I don't believe am using that. My platform/ios/.entitlements file has the aps-environment entry
	<key>aps-environment</key>
	<string>development</string>

The plugin.xml file has the changes from 1469 commit
    <config-file target="*-Debug.plist" parent="aps-environment">
      <string>development</string>
    </config-file>
    <config-file target="*-Release.plist" parent="aps-environment">
      <string>production</string>
    </config-file>

This was all working fine at one point and then something changed which started giving this error - part of what changed was the renewal of my Apple dev account and I had to rebuild my provisioning profiles. I have spent quite some time reading through articles trying to figure this out but don't quite understand how to resolve this.  Appreciate any help and pointers.
Thanks.

https://github.com/fastlane/fastlane/issues/6544
For xcode8+ you have to manually add aps-environment entitlement to the entitlements file. Some plugins (namely phonegap-plugin-push v1.9.0+) already do it automatically.
There is also a second problem, the entitlement files can get conflicted. I suggest you to view the entitlement file location in your ios project. It should be Entitlements-Release.plist and Entitlements-Debug.plist.
There are some plugins that can create their own entitlement files, and then ios starts to use them by default which then ignores the "real" entitlement files.
You can read more about here:
https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues/299

@ccorcos , thanks for giving a right direction to this error because none of the solution mentioned worked for me.
I tried creating a hook using your code but that doesn't make any change in entitlement file. Then I manually made the change (adding aps-environment key) in entitlement file then also I got same "no valid aps-env" error. At last when I manually made change in Entitlements-Debug.plist file then it worked. Now I need to figure out how to update this plist file using hook.
Please Let me know if you made any change in your hook code after posting code snippet here. Or share if you have any other suggestion.


refactoring BFP to use config parameters

https://trello.com/c/VXJDdFOb/343-refactor-writebfp

110.62 PSF tokens awarded to ChilliFeliz for work on PSF Metrics project. TXID:
6ccc4451b4faff5d355fef804a221b415e0ba09f539735e831dc872c9c0e7c6c

:tada: This PR is included in version 1.0.2 :tada:
Your semantic-release bot :package::rocket:


sokol_imgui.h: Updated imgui keypad enter constant

The constant in ImGui has been updated in https://github.com/ocornut/imgui/pull/2625
The old one ImGuiKey_KeyPadEnter is still present for backwards compatibility but if one uses IMGUI_DISABLE_OBSOLETE_FUNCTIONS it is not defined.

Thanks! But this will be fixed in a few minutes when I merge the sokol_imgui.h changes for Dear ImGui v1.87, I've updated the whole input code for the new event-based IO and extended virtual key codes.


Do not show minimum admins on application for hosts that don't require it

Describe the bug
Even though OCNZ has no minimum admins setting, it's showing minimum admins in the application form.
This is confusing and would block a single admin Collective form applying even if that's not what the host intends.
To Reproduce
Steps to reproduce the behavior:

Have a host without the minimum numbers of admins policy
Apply to it
See minimum admins section in form

Expected behavior
Do not show the minimum admins part of the form for hosts without any minimum admins setting
Screenshots
Not set in policies:

Showing in application form:

P2 low frequency, high impact

Seems like a very easy one to fix in https://github.com/opencollective/opencollective-frontend/blob/2b548d84a7bdb9836bae9a2ffde080dde3f36a6d/components/ApplyToHostModal.js#L460
cc @kewitz


Unknown taxonomy error

I ran zola init and then followed the directions for the Even theme and I got the following error:
$ zola serve
Building site...
-> Creating 1 pages (0 orphan), 0 sections, and processing 0 images
Error: Failed to render page 'zola-blog/content/first_post.md'
Reason: Failed to render 'even/templates/page.html'
Reason: `get_taxonomy_url` received an unknown taxonomy as kind: tags

Here is a gist of all the files I created. https://gist.github.com/pianomanfrazier/9f76f42ee77f544bbb6ddfa11a5ad255
I am not sure how to fix the error. I have the taxonomy tags defined in my config.toml and then in /content/first_post.md I define some tags.
Using zola 0.7.0

After playing with it a bit it seems that this error comes up when the reloading server is running and I change a tag in the post metadata to something new. The issue is probably with zola.

That's caused by the page.html template.
It can be reproduced within even.

zola serve
edit content/first_post.md and change a tag to another, non-existing tag (e.g. tag1 -> tag2)
the serve log shows:

Change detected @ 2019-05-08 23:47:37
-> Content changed /Users/jhereth/repos/even/content/first_post.md
Failed to build the site
Error: Failed to render page '/Users/jhereth/repos/even/content/first_post.md'
Reason: Failed to render 'page.html'
Reason: `get_taxonomy_url`: couldn't find `tag2` in `tags` taxonomy
Done in 11ms.

The error message comes from page.html, L48 - the renderer needes the urls for all tags of the page - but the new tag is not yet known.
The error seems similar to zola's #319 but also happens on non-draft pages.

So it looks like the issue is that on reload, the templates are re-rendered without recreating the get_taxonomy function first? If so that is definitely a bug in Zola

@Keats yes, it happens on zola serve only, zola build works fine. I didn't find where the difference comes from.

I am getting it both with server and build. Using anpu theme.

which version of zola?

Sorry, I realize this is a different theme. I thought this was zola. I will try with this theme to see if it is the theme or config. The error message looks identical

Sorry, I realize this is a different theme. I thought this was zola. I will try with this theme to see if it is the theme or config. The error message looks identical
Edit: Yup, same error with even theme

I think you may be filling in taxonomy in config.toml below [markdown].
I was having trouble with the same error, but when I changed where I filled it in, that error did not occur.

Wouldn't you know it. I copied the config.toml from the theme, which had it in the [markdown] block. I just checked the config.toml in this repo, and works a charm. Thank you so much!

I've run in to this issue too.
Error: Reason: `get_taxonomy_term_by_name` received an unknown taxonomy as kind: project

I get this error with this code:
get_taxonomy_term(kind="project", term="foo")

However this works:
get_taxonomy(kind="project")

I don't have the [mardown] config.toml issue mentioned above


Update officespace-software-provisioning-tutorial.md

Updated screenshots for the OfficeSpace software side of this guide, and accompanying directions.

@owinoakelo
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@jferguson2021 @ZollnerdMSFT - all images in the article must be uploaded to the repo... and not in a github user-attachments folder. @jferguson2021 : can you put the images into the (media/officespace-software-provisioning-tutorial/) folder as .pngs?  you'll need to follow our naming convention (all lowercase characters, full words, separated by hyphens).
thanks ... ping me or add #sign-off when that has been done and you're ready for another review. thanks!
#hold-off


Run E2E tests under both WebAssembly and server-side execution modes

This PR is based on the as-yet-unmerged #1128, because it depends on a couple of bugfixes in that PR. That's why it says I've modified 50+ files. In reality this PR will be more compact once #1128 is merged into master. So if you want to see what's really changed, look at the commits after the first one here.

@rynowak I'm duplicating your comments here because, since I rebased, GitHub considers them out of date:

[About JSAsyncCallResult] I'm not totally sure I grok what's going on with this type. How is this different from using object ? What are the scenarios where you'd use this? Do we expect library code to need this?

A fair question - it was definitely not made clear in the code. Hopefuly I've now clarified this in 233c3929cf7c036c8ddf350f908b448ec58427d4, but please let me know if you think that still doesn't suffice.

[About DotNetObjectRef] Should this have a finalizer? Is this class just infrastructure? I'm not sure I understand yet how this is used

This class is the public API for indicating that you want to pass something by reference, rather than by JSON serialization. Any .NET object can be wrapped in DotNetObjectRef, and then when it's used in a JS interop call as an arg or return value, the JS side receives a handle that it can later use to invoke instance methods on, or to pass back to .NET as JS interop args or return values in the opposite direction.
I don't think it would benefit from having a finalizer, because it doesn't have any non-.NET resources to release. It's explictly rooted in the JSRuntimeBase until you .Dispose() it (either from .NET code or from the JS side).
Later, if we have a symmetrical equivalent JSObjectRef counterpart, that would have a finalizer so that we could automatically notify the JS side that it can stop tracking that instance if the .NET side forgets about it.
And if JS had a concept of a finalizer, we would use it to trigger disposal of DotNetObjectRef instances. But JS has no such concept, so it's entirely the developer's own responsibility to dispose explicitly.

Here's how this PR attempts to deal with the inherent timing issues in the server-execution E2E tests:

Have enabled Selenium's implicit wait feature with a timeout of 1 second

This means that whenever the test code does a FindElement, Selenium attempts it immediately, and if there is no matching element, it waits for 1 second then tries again.
This doesn't slow the code if it was going to succeed anyway, but does slow it a little in cases where we do need to wait. It isn't polling - it's literally just waiting 1 second.
This approach deals with a lot of cases where we perform some action then try to assert about an element that's appeared because of the action

Have defined some new assertion methods on a static class called WaitAssert

These look like Xunit assertions (e.g., instead of Assert.Contains, we have WaitAssert.Contains), but work by polling until the assertion becomes true.
They take a Func<T> instead of a T to define the "actual" value, because the polling logic has to keep evaluating the "actual" until it obtains a passing value
If it times out (after 1 second) then it throws the same exception that the underlying Xunit assertion does.
The idea is to use WaitAssert assertions immediately after actions such as clicks and navigations because it's possible that the new value will appear after an observable delay. It's not necessary to use WaitAssert for all assertions - only immediately after some action that mutates the UI.

I don't know yet how much of a long tail of instability issues we're going to have to deal with. I'm confident that any individual E2E test can be made to work robustly using the above two techniques, but it remains to be seen how many will need to be edited.
I hope to merge this PR as soon as I've made enough E2E test tweaks to get a few green runs in a row.


Method to export/import indexdb browser state to file

See: https://github.com/pouchdb-community/pouchdb-replication-stream
JSON file should generate and download in browser like https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser-without-a-server
If we run into memory issues use this:
https://github.com/jimmywarting/StreamSaver.js

Closing. Will reopen if we need this.


Node 14 support

System information

node version: v14.5.0
npm version: 6.14.5
OS/version/architecture: Ubuntu 16.04 LTC - linux 4.4.0-89-generic x64
Applicable nodegit version: v0.26.5

nodegit failing to install with Node 14

We're not always prepared to work on the bleeding edge node releases. We often skip odd releases entirely and focus only on Active LTS or Maintenance LTS releases. You can expect that we will definitely support Node 14 by the time it's in LTS.
See https://nodejs.org/en/about/releases/. The developers of Node are pretty specific about what should or should not be used in production:
| Production applications should only use Active LTS or Maintenance LTS releases.

@implausible According to the link, Node 14 will enter LTS on October 20 — a little over 80 days from now — it would be helpful to be able to develop using nodegit + Node 14 before then so that we can cut over to the new LTS when it's ready. Thanks!

This will be solved today by 0.27.0

Thanks!


CI on GitHub Actions using a patched haskell-ci generated workflow

WIP, first successful run at https://github.com/andreasabel/alex/runs/2829343149?check_suite_focus=true
Rests on/includes PR #188.

This PR is now ready.
Please have a look at the supplied DEVELOPER.md for the explanation of the philosophy of this CI:  It uses the workflow generated by haskell-ci and adds bits that are specific to Alex:

additional dependencies: alex and happy
generate Scan.hs and Parser.hs before doing sdist
install the built Alex so that it can be found by the test runner (this seemed to be the easiest way, otherwise I have to somehow get reliably the path the build executable somewhere in dist-newstyle)

This PR should ideally squashed, but after merging #188 (so that #188's commits do not get squashed into the GHA specific stuff).

I think I will just start with this one :).
Can you rebase this first? I think it would be good if the PR also didn't have the extra diff from #188, even if I do squash it, for anyone reading the PR after.

I rebased it onto current master, so now the #188 bits are gone.
The commit sequence is otherwise unchanged and still reflects my try-and-error process, it is probably best to squash this into one commit.


Demo App not running on android

#Hi,
due to problems with the plugin on ios (see #26), I decided to check, if I have the same issues on android to specify if it is more related to my sources or the native part.
So first I tried to run my app on an android emulator, which resulted in problems in the require of the plugin:

So I decided to give the demo app a try. Cloned the repo, started server as documented and switched to the app. Also here I followed the two steps from docs, which made a successfull built. But trying to run the demo resulted in:

I'm outta luck on my side.

Remove platforms and node_modules folders then run:
npm install
tns install
tns prepare android
tns run android


Add Mobile Maps and upgrade tailwind

📝 Changed routes:

/

(view full size)

Commit 17ca03a6df3dc7dbcaa946c7fc735cb94db8e620 (https://routes-agnijbotw-samuelkraft.vercel.app).


XSLT is not updated after testing

Describe the Bug with repro steps
After testing a map in Visual Studio Code the Xslt file is not updated. Any subsequent tests or execution will use an xslt that is not current.

Create a new map
Start working with the map
Save
Review that the Xslt file and Yml files match each other
Do some update and save
Review that the Xslt file and Yml files match each other
Test the map
Do some update and save
Review that the Xslt file and Yml files and find that the files are not synchronized.

 Restart VS Code and continue working.
Workflow JSON
No response
Screenshots or Videos
Comparing the Yaml and Xslt files when not synchronized.

Browser
Extensions:

Data Mapper v2.3.0
Azure Logic Apps (Standard) v2.4.5

Visual Studio Code

Version: 1.77.3 (user setup)
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:16:02.548Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

Additional context
No response

This is a known issue that has been fixed. It is pending a new Azure Functions Core Tools extension bundle release

This has been deployed.


Check not only setting existence but its boolean value

@rennerocha @ejulio please review.

This fixes issue #25

Closed as I proposed another solution in my newer PR.


Cyclic imported JSON file

The error message for cyclic imported JSON files is very hard to capture:
json file 'D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\tsm-test_config_cyclic.1.jsonp': 'json file 'D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\import.cyclic\tsm-test_config_cyclic.2.jsonp': 'json file 'D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\import.cyclic\import.cyclic\tsm-test_config_cyclic.3.jsonp': 'Cyclic imported json file 'D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\tsm-test_config_cyclic.1.jsonp'!'''
Because it's only one line, without any line breaks.
In the past we decided to wrap every path in single quotes - for better readability. But in case of a cyclic import this error message seems to be a nested one. It is therefore unfavorable to use quotes here around the file paths, because the quotes are also nested. See '!''' at end of error message. This makes no sense.
In CJsonPreprocessor.py I found the following line of code, that causes the error message:
raise Exception(f"json file '{jFile}': '{error}'")
I gave it a try and modified the line to:
raise Exception(f"JSON file: {jFile}\n{error}")
This is the outcome now:
JSON file: D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\tsm-test_config_cyclic.1.jsonp
JSON file: D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\import.cyclic\tsm-test_config_cyclic.2.jsonp
JSON file: D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\import.cyclic\import.cyclic\tsm-test_config_cyclic.3.jsonp
Cyclic imported json file 'D:\ROBFW\Dev\JsonPreprocessorTest\config_tsm\tsm-test_config_cyclic.1.jsonp'!

Much better now in my opinion.
Please give this change a try.
General hint: The abbreviation JSON should be written in capital letters.

Hi Son,
please look into this.
Expectation is what Holger writes.
Thank you,
Thomas

Hi @namsonx ,
what is the status of this ticket?
Thank you,
Thomas

Error message is improved. Ticket can be closed.

My mistake. I tested in the context of the Testsuites Management. There the error message is well formatted.
But in between I added the same test case to the self test of the JsonPreprocessor. And the error message looks the same as described above. Therefore the issue is still not solved.
Like I mentioned above: Please change the line
raise Exception(f"json file '{jFile}': '{error}'")
to:
raise Exception(f"JSON file: {jFile}\n{error}")
Not a big thing; can be done quickly.

Hello Holger,
I created the commit ec3a6255 to update error message log according to your suggestion.
Thank you,
Son

Solved with
https://github.com/test-fullautomation/python-jsonpreprocessor/pull/151
Ticket can be closed again.


Rdiscount support?

My legacy jekyll site was using rdiscount; can I use rdiscount as an external or what's a good migration path to convert?

Use http://discuss.gohugo.io/ for questions.


Replace deprecated methods for CakePHP 3.6

Description
This pull request's replace deprecated methods/property calls with new ones.
Summarize

session() has been replaced with getSession()
templates() has been replaced with getTemplates()
config() has been replaced with getConfig()/setConfig()
Form->input() has been replaced with Form->control()
Security::salt() has been replaced with Security::getSalt()
TableRegistry::clear() has been replaced with TableRegistry::getTableLocator()->clear()
I18n::locale() has been replaced with I18n::getLocale()
Requests in test class has been changed to make use of new with*() methods
Breadcrumb test has been replaced to use new BreadcrumbsHelper instead of HtmlHelper

Thanks!


Bug fixes

Tested, works as expected.
Only slightly related and just as a side note: If I recall correctly, then view <> model mapping roughly consumes 80-90 % of the time spent, when updating the history


Add file type detections for Template Toolkit

Where did you get that list of extensions from?  Why .tt, .tt2 and .html.tt from?  And .html.tt seems redundant to .tt, no?
I haven't seen anything in the TT docs that give any sort of official extensions, have you?
For me, I've got everything as .ttml and .tt, with .ttml for main files and .tt as subtemplates/components.

They're just the extensions that I see most often in projects that I had to work on. I added .html.tt when adding just .tt didn't detect a .html.tt file, although I confess that that might just be because I forgot to reload something! I'll take a closer look at that tomorrow.

I'm reluctant to add types for something where 1) there is not a standard, and 2) TT is not really part of Perl.
I use it constantly, and have my own types set up, but I'm not sure it's appropriate to add to standard Vim.


Unable to view the tests to pass the Waypoint

Challenge http://freecodecamp.com/challenges/waypoint-delete-your-jquery-functions has an issue.
I am not able to view the instructions/tests in the bottom left pane. I am using chrome 45.0.2454.85 m. Screenshot attached below.

@avikghosh thanks for posting this issue!
We are aware of this issue. It is a global problem (https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2717 and https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1081) so I'll close this issue. You can continue further discussion there, thanks.

Please review the Guidelines for Contributing, thank you!.


SELECT ('Hello' AS a, 123 AS b) fails on newer Clickhouse versions

A query where I do this:
|> select([x], %{
   event: selected_as(fragment("tuple(?, ?)", x.event_type, x.event_module), :event),
})

started failing.
On version <IP_ADDRESS>:
iex(4)> ClickhouseRepo.query!("SELECT ('Hello' AS a, 123 AS b)")
[11:22:05.855] [debug] module=Ecto.Adapters.SQL function=log/4
QUERY OK db=1.6ms idle=1406.1ms
SELECT ('Hello' AS a, 123 AS b) []

%Ch.Result{
  command: :select,
  num_rows: 1,
  rows: [[{"Hello", 123}]],
  headers: [
    {"date", "Thu, 22 Aug 2024 09:22:05 GMT"},
    {"connection", "Keep-Alive"},
    {"content-type", "application/octet-stream"},
    {"transfer-encoding", "chunked"},
    {"x-clickhouse-query-id", "7bc4812b-22da-4c0b-b58d-e07276bbd586"},
    {"x-clickhouse-format", "RowBinaryWithNamesAndTypes"},
    {"keep-alive", "timeout=30"},
    {"x-clickhouse-summary",
     "{\"read_rows\":\"1\",\"read_bytes\":\"1\",\"written_rows\":\"0\",\"written_bytes\":\"0\",\"total_rows_to_read\":\"0\",\"result_rows\":\"0\",\"result_bytes\":\"0\",\"elapsed_ns\":\"731417\"}"}
  ],
  data: nil
}

On v<IP_ADDRESS>84:
iex(4)> ClickhouseRepo.query!("SELECT ('Hello' AS a, 123 AS b)")
[11:21:36.957] [debug] module=Ecto.Adapters.SQL function=log/4
QUERY ERROR db=1.6ms decode=2.2ms idle=1543.0ms
SELECT ('Hello' AS a, 123 AS b) []

** (ArgumentError) failed to decode "Tuple(a String, b UInt8)" as ClickHouse type (no function clause matching in Ch.Types.decode/3)
    (ch 0.2.6) lib/ch/types.ex:338: Ch.Types.decode([:type, :close, {:tuple, [:type]}, []], "a String, b UInt8)", [])
    (ch 0.2.6) lib/ch/types.ex:328: Ch.Types.decode/1
    (ch 0.2.6) lib/ch/row_binary.ex:600: Ch.RowBinary.decode_types/1
    (ch 0.2.6) lib/ch/row_binary.ex:590: Ch.RowBinary.decode_types/3
    (ch 0.2.6) lib/ch/query.ex:183: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.7.0) lib/db_connection.ex:1479: DBConnection.decode/4
    (db_connection 2.7.0) lib/db_connection.ex:830: DBConnection.execute/4
    (ch 0.2.6) lib/ch.ex:87: Ch.query/4
    (ecto_sql 3.11.3) lib/ecto/adapters/sql.ex:519: Ecto.Adapters.SQL.query!/4
    iex:4: (file)

On the newer version, it does work when I disable the new feature:
ClickhouseRepo.query!("SELECT ('Hello' AS a, 123 AS b) SETTINGS enable_named_columns_in_function_tuple=0")

so it is very likely the new feature Function tuple will now try to construct named tuples in query (controlled by enable_named_columns_in_function_tuple) from Clickhouse 24.7.

👋 @hkrutzer
Thank you for the report!
Right, Ch cannot parse named tuples right now. I'll try to prepare a fix later today.

@hkrutzer would you be able to try out https://github.com/plausible/ch/pull/197?
def deps do
  [
    # ...
    {:ch, github: "plausible/ch", branch: "parse-named-tuples", override: true},
    # ...
  ]
end

ClickhouseRepo.query!("SELECT ('a' as a, 'b' as b)") works now! But it seems an underscore is a problem: ClickhouseRepo.query!("SELECT ('a' as a_a, 'b' as b)") does not work

Great, I added $ and _ "support" in https://github.com/plausible/ch/pull/197/commits/0415d9fe16477441b5f4e3bec0b143257da8f4ca

Thank you!


关于PLIC部分代码是否可综合问题（Is the plic code synthesizable ？ ）

please  ，Is the plic code synthesizable ？，Thanks！

please ，Is the plic code synthesizable ？，Thanks！

Of course，you can have a try，or what's the problem you have when you did the synthesize

thank you，sir


Not working on phone

Describe the bug
When trying to acces the site on phone, iphone 11. it keeps reloading the page and sometimes just crashes completly.
To Reproduce
Steps to reproduce the behavior:

Go to anything
Click on anything
Scroll down to anything
See error

Expected behavior
A clear and concise description of what you expected to happen.
Sim Links and Screenshots
If applicable, add links to your sim settings or screenshots to help explain your problem.
Desktop (please complete the following information):

OS: iphone 11. OS: 15.6.1
Browser tried with safari and opera.
Version newest.

Smartphone (please complete the following information):

Device: iphone 11
OS: 15.6.1
Browser Safari/Opera
Version newest.

Additional context
Add any other context about the problem here.

#1509


Verbosity Level Not Shown in the commandLine Property of the PerfView/CommandLineParameters

This seems like a bug where despite adding the /ClrEventLevel:Verbose to collect a trace with all CLR Verbose events via perfview using a command such as:
PerfView start /AcceptEULA /NoGUI /Merge:true /zip:false /sessionName:e9a042b3-a75e-47f6-813f-afc5cf323f52 /GCCollectOnly /ClrEventLevel:Verbose /LogFile:C:\\V8\\heapcount_1\verbose.txt /DataFile:C:\\V8\\heapcount_1\verbose.etl
the PerfView/CommandLineParameters event doesn't mention this additional detail:

Event Name                      Time MSecProcess Name    commandLine                                                                                Rest  PerfView/CommandLineParameters  1,735.222PerfView (27240) "/DataFile:C:\V8\heapcount_1\verbose.etl" /BufferSizeMB:256 /StackCompression /KernelEvents:Process /ClrEvents:GC /NoGui /SessionName:fd0f4705-d616-4faa-bcdb-c0c196777e5f /LogFile:"C:\V8\heapcount_1\verbose.txt" /NoRundown /NoNGenRundown /Merge:True /GCCollectOnly       PerfView/CommandLineParameters208,645.495PerfView (20216) "/DataFile:C:\V8\heapcount_1\verbose.etl" /BufferSizeMB:256 /StackCompression /KernelEvents:Process /ClrEvents:GC /NoGui /SessionName:fd0f4705-d616-4faa-bcdb-c0c196777e5f /LogFile:"C:\V8\heapcount_1\verbose.txt" /NoRundown /NoNGenRundown /Merge:True /GCCollectOnly       PerfView/CommandLineParameters214,751.470PerfView (20216) "/DataFile:C:\V8\heapcount_1\verbose.etl" /BufferSizeMB:256 /StackCompression /KernelEvents:Process /ClrEvents:GC /NoGui /SessionName:fd0f4705-d616-4faa-bcdb-c0c196777e5f /LogFile:"C:\V8\heapcount_1\verbose.txt" /NoRundown /NoNGenRundown /Merge:True /GCCollectOnly

The expected behavior is to be able to observe what verbosity level is being passed in for ClrEvents as the issue here is that the non-verbose commandline parameters are the same and thereby could be a point of confusion to those who rely on the event to decide what type of trace is captured.
Verbose CLR events not specified:

Event Name                      Time MSecProcess Name    commandLine                                                                                Rest  PerfView/CommandLineParameters    531.885PerfView (19496) "/DataFile:C:\\V8\\heapcount_1\gc.etl" /BufferSizeMB:256 /StackCompression /KernelEvents:Process /ClrEventLevel:Informational /ClrEvents:GC /NoGui /SessionName:161f9269-73bf-49b0-8f48-cb53204a15d2 /LogFile:"C:\\V8\\heapcount_1\gc.txt" /NoRundown /NoNGenRundown /Merge:True /Zip:False /GCCollectOnly       PerfView/CommandLineParameters205,659.995PerfView (7856)  "/DataFile:C:\\V8\\heapcount_1\gc.etl" /BufferSizeMB:256 /StackCompression /KernelEvents:Process /ClrEventLevel:Informational /ClrEvents:GC /NoGui /SessionName:161f9269-73bf-49b0-8f48-cb53204a15d2 /LogFile:"C:\\V8\\heapcount_1\gc.txt" /NoRundown /NoNGenRundown /Merge:True /Zip:False /GCCollectOnly       PerfView/CommandLineParameters210,603.619PerfView (7856)  "/DataFile:C:\\V8\\heapcount_1\gc.etl" /BufferSizeMB:256 /StackCompression /KernelEvents:Process /ClrEventLevel:Informational /ClrEvents:GC /NoGui /SessionName:161f9269-73bf-49b0-8f48-cb53204a15d2 /LogFile:"C:\\V8\\heapcount_1\gc.txt" /NoRundown /NoNGenRundown /Merge:True /Zip:False /GCCollectOnly

CC: @Maoni0

@mrsharm, apologies for the delay on this.  The reason that this happens is because Verbose is considered to be the default value for /ClrEventLevel.  The expectation is that if the value is the default value, then it won't get shown, though I'm sure there are cases where that doesn't happen.  The code responsible for this is at https://github.com/microsoft/perfview/blob/main/src/PerfView/CommandProcessor.cs#L2930.


0.9.0: Validation of Rule Failed

0.9.0 rule with project_id=gmp-eval-central selector fails to be applied:
Error from server (isolating rules failed: set isolation selector project_id="test_project" on up{cluster="gmp-test-recording-rules",project_id="gmp-eval-central"}: conflicting label matcher project_id="gmp-eval-central" found): error when creating "rules.yaml": admission webhook "[validate.rules.gmp-operator.gmp-system.monitoring.googleapis.com](http://validate.rules.gmp-operator.gmp-system.monitoring.googleapis.com/)" denied the request: isolating rules failed: set isolation selector project_id="test_project" on up{cluster="gmp-test-recording-rules",project_id="gmp-eval-central"}: conflicting label matcher project_id="gmp-eval-central" found

My 2-cents since we saw a customer report this issue recently: besides maybe rewording this error message, maybe we also shouldn't make it a hard error if they're using the correct values?


Focal loss calculation

Hey,
I'd like to know wether the focal loss is calculated on the test dataset or the validation one ?
I also would like to modify this focal loss to tune it for my case. I want to add a term taking into account the precision of the center of my predicted bounding boxes. In what file should I add this term ?
Thank you
Originally posted by @VincentDuf in https://github.com/NVIDIA/retinanet-examples/issues/158#issuecomment-617230204

The focal loss is calculated in loss.py
https://github.com/NVIDIA/retinanet-examples/blob/master/retinanet/loss.py
The loss is calculated on the training dataset, as specified by --images and --annotations

Ok thank you.
Is there a way to add a "focal loss" on the validation dataset ?
Concerning the loss if I want to add an extra term, should I insert it in the line 18 when the forward function return the result ?
Thanks


Fixes for clustered DTCs

Do you accept fixes to these cmdlets from the community? I recently had to make a couple of changes to the Test-Dtc cmdlet so that it would work correctly when testing with a clustered DTC.

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

ID: 6bb83e47-15b2-86aa-f296-06a44ff798a5
Version Independent ID: 68a4a153-4502-6620-4edc-d76829e3bc07
Content: Test-Dtc (msdtc)
Content Source: docset/windows/msdtc/test-dtc.md
Product: w10
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

@officedocsbot unassign @e0i
@officedocsbot assign @yogkumgit

@officedocsbot assign @yogkumgit

Hello @dave-sampson13
What kind of fixes? The documentation is open to propose changes but afaik the cmdlets belonging to this module not, can you confirm if the current documentation needs any fix?
Thank you

@get-itips  Thank you very much for the contribution and sharing this explanation. @dave-sampson13
as explained please feel free to contribute with your expertise to improve the documentation. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


Dynamic use while rendering Markdown pages

Hey @oprypin!
I'm working on a simple Markdown extension that allows to execute code blocks and inject their output in the page.
I'm building a small gallery of examples, and am currently trying to write a diagram example:
```python exec="true" show_source="tabbed-right"
import tempfile
from contextlib import suppress
import mkdocs_gen_files
from diagrams import Diagram, setdiagram
from diagrams.k8s.clusterconfig import HPA
from diagrams.k8s.compute import Deployment, Pod, ReplicaSet
from diagrams.k8s.network import Ingress, Service

with suppress(FileNotFoundError):
    with Diagram("Exposed Pod with 3 Replicas", show=False) as diagram:
        diagram.render = lambda: None
        net = Ingress("domain.com") >> Service("svc")
        net >> [Pod("pod1"),
                Pod("pod2"),
                Pod("pod3")] << ReplicaSet("rs") << Deployment("dp") << HPA("hpa")

        with mkdocs_gen_files.open(f"img/{diagram.filename}.png", "wb") as fd:
            fd.write(diagram.dot.pipe(format="png"))

output_html(f'<img src="../img/{diagram.filename}.png" />')
```

The issue is that, by the time this code is executed, FilesEditor._current is None again, so opening a file with mkdocs_gen_files.open triggers the creation of another instance of FilesEditor without a temporary directory attached. It means that files I create this way end up in my docs dir, which is unwanted.
So I attach a temporary directory myself:
        editor = mkdocs_gen_files.editor.FilesEditor.current()
        with tempfile.TemporaryDirectory(prefix="mkdocs_gen_files_") as tmp_dir:
            editor.directory = tmp_dir
            with editor.open(f"img/{diagram.filename}.png", "wb") as fd:
                fd.write(diagram.dot.pipe(format="png"))

But then it seems the file is not added to the final site because I'm getting a 404 :confused:

Ah, maybe the temporary file is deleted too early.

The clear issue here is that mkdocs_gen_files runs within the on_files event. But Markdown rendering is clearly outside of that event.
https://github.com/oprypin/mkdocs-gen-files/blob/4d5d4ac497ef50c070253c1ae4062b395b03413c/mkdocs_gen_files/plugin.py#L27-L30
https://github.com/mkdocs/mkdocs/blob/dc35569ade5e101c8c48b78bbed8708dd0b1b49a/mkdocs/commands/build.py#L174
In terms of a solution, I don't have any suggestions yet.

https://oprypin.github.io/mkdocs/dev-guide/plugins/#events
Ah and Markdown rendering is all done between on_page_markdown and on_page_content, and by that time at least the existence of all files is final.  Well, it needs to be strictly final only for Markdown files (as we're iterating over them at that time!), other kinds of files might still be able to be added without bad consequences.
But, mkdocs_gen_files only modifies the set of files within the on_files event (by returning a new object as per the only official interface), and I'm not sure if mutating files is viable at later stages. Needs more thought....

Thanks, I get it now. That seems indeed a bit bold to modify files at such a stage of the build. And if you provide a way to do it, I guess users will try to generate Markdown files that way :sweat_smile: ... I wonder if there's a way for me to keep a reference to the Files instance...

There was a much simpler solution, which is to encode the PNG image as base64 and include it in the HTML with f'<img src="data:image/png;base64, {png}"/>'. Feel free to reopen :slightly_smiling_face:

I'm reopening, because now I'm generate mp4 files, and inlining them in the HTML, base64 encoded, is not very efficient. It would be better to use an URL instead of base64 data, for smaller loading times and better browser perfs.


Fix hiding submit and cancel buttons in material-ui

material-ui now respects hideCancel and hideSubmit

The fix is correct, don't you want to merge it?

Thanks for the contribution


process the attached captchas

Hello, excellent work. What changes would you have to make to process the attached captchas. I changed the dimensions but it doesn't work for me

I doubt humans will solve the bottom one 😰

Hi @MauroLondon, thanks for reaching out. The issue backlog is not the best place for support requests. Can you repost this to one of the forums below? That way your question will have more visibility.

TensorFlow forum
Keras mailing list

Thanks!


long hot reload times: Critical dependency: the request of a dependency is an expression, [webpack-dev-middleware] wait until bundle finished:

Describe the bug

I'm experiencing long hot reload times as well as browser unresponsiveness when updating my style sheets. At times I think it fails completely. In short my development build is unpleasant to work with to say the least.
To Reproduce
Steps to reproduce the behavior.

git clone https://github.com/hktari/fictional-succotash
npm run develop
make a change inside _bootstrap-config.scss

Expected behavior

browser should display changes made to stylesheets in real time
Screenshots

Applicable Versions:

decap-cms-app: 3.0.12
Git provider: Github
OS: Ubuntu 22.04
Browser version firefox 126.0.1 (64-bit)

Node.JS version:

CMS configuration

https://github.com/hktari/fictional-succotash/blob/staging/static/admin/config.yml
Package.json
https://github.com/hktari/fictional-succotash/blob/staging/package.json
gatsby-config.js
https://github.com/hktari/fictional-succotash/blob/staging/gatsby-config.js
Additional context

info changed file at /home/hktari/source/zdrava-rutina/src/pages/index.md
warn ./node_modules/gatsby-plugin-decap-cms/gatsby-browser.js
[03:38:06] Critical dependency: the request of a dependency is an expression
success Re-building development bundle - 22.300s
success Writing page-data.json files to public directory - 0.116s - 1/7 60.38/s
success building schema - 0.215s
success createPages - 0.030s
info Total nodes: 143, SitePage nodes: 8 (use --verbose for breakdown)
success Checking for changed pages - 0.002s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.094s
success write out requires - 0.002s
success Writing page-data.json files to public directory - 0.009s - 0/6 678.35/s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.116s
success write out requires - 0.001s
success run page queries - 0.128s - 1/1 7.82/s
success Writing page-data.json files to public directory - 0.005s - 1/6
[03:38:59] 1132.37/s
WAIT  Compiling...3:47:01 AM

success onPreExtractQueries - 0.001s
success extract queries from components - 0.093s
success write out requires - 0.001s
[03:47:02]
WARNING  Compiled with 1 warning3:48:22 AM

warning  in ./node_modules/gatsby-plugin-decap-cms/gatsby-browser.js

Critical dependency: the request of a dependency is an expression

WAIT  Compiling...3:48:22 AM

warn ./node_modules/gatsby-plugin-decap-cms/gatsby-browser.js
[03:48:22] Critical dependency: the request of a dependency is an expression
success Re-building development bundle - 80.695s
success Writing page-data.json files to public directory - 0.031s - 0/5 161.52/s
success onPreExtractQueries - 0.001s
[03:48:23]
 [webpack-dev-middleware] wait until bundle finished: /commons.js
 [webpack-dev-middleware] wait until bundle finished: /commons.css
 [webpack-dev-middleware] wait until bundle finished: /page-data/app-data.json
 [webpack-dev-middleware] wait until bundle finished: /page-data/index/page-data.json
 [webpack-dev-middleware] wait until bundle finished: /page-data/404.html/page-data.json
success extract queries from components - 0.100s
success write out requires - 0.001s
warn Warning: Event "xstate.after(200)#waitingMachine.aggregatingFileChanges"
[03:48:57] was sent to stopped service "waitingMachine". This service has already reached
[03:48:57] its final state, and will not transition.
[03:48:57] Event: {"type":"xstate.after(200)#waitingMachine.aggregatingFileChanges"}
[03:48:57]
 [webpack-dev-middleware] wait until bundle finished: /page-data/sq/d/229118374.json
WARNING  Compiled with 1 warning3:49:41 AM

warning  in ./node_modules/gatsby-plugin-decap-cms/gatsby-browser.js

Critical dependency: the request of a dependency is an expression

warn ./node_modules/gatsby-plugin-decap-cms/gatsby-browser.js
[03:49:41] Critical dependency: the request of a dependency is an expression
success Re-building development bundle - 44.393s
success Writing page-data.json files to public directory - 0.037s - 0/5 133.60/s
[03:49:41]
 [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/home/hktari/source/zdrava-rutina/.cache/webpack/stage-develop/5.pack_' -> '/home/hktari/source/zdrava-rutina/.cache/webpack/stage-develop/5.pack'

This seems unrelated to Decap, so I'm closing the issue. If it is, please explain how to reproduce.

I've attached a sample project, as seen from the log files, compilation time for scss changes is approximately 1.5min

Thanks for the repo. You use gatsby-starter-decap-cms template, so I'm moving the issue there. It's probably more related to Gatsby because that's the one reloading CSS.


Add use-cases first draft

Signed-off-by: Boris Glimcher<EMAIL_ADDRESS>

Seems reasonable, though I still wonder if boards without a BMC are actually DPU/IPUs vs. just being SmartNICs.

@mestery What is defined as a BMC here? Is that a separate "processor env" that is controlling the hw env of the DPU/IPU next to the processor complex which will run the IPU/DPU OS? If so, existence of a BMC is in my opinion not required for a DPU/IPU implementation as it could also be implemented in the mother chassis where the IPU/DPU is placed in (just my 2 cents...)

Seems reasonable, though I still wonder if boards without a BMC are actually DPU/IPUs vs. just being SmartNICs.

@mestery What is defined as a BMC here? Is that a separate "processor env" that is controlling the hw env of the DPU/IPU next to the processor complex which will run the IPU/DPU OS? If so, existence of a BMC is in my opinion not required for a DPU/IPU implementation as it could also be implemented in the mother chassis where the IPU/DPU is placed in (just my 2 cents...)

I know RH require to have DPU bmc in their DPU/IPU deployments, for example

to

Seems reasonable, though I still wonder if boards without a BMC are actually DPU/IPUs vs. just being SmartNICs.

@mestery What is defined as a BMC here? Is that a separate "processor env" that is controlling the hw env of the DPU/IPU next to the processor complex which will run the IPU/DPU OS? If so, existence of a BMC is in my opinion not required for a DPU/IPU implementation as it could also be implemented in the mother chassis where the IPU/DPU is placed in (just my 2 cents...)

@stolsma, I know RH require to have DPU bmc in their DPU/IPU deployments, for example

Wow, for me as a OS/software solution customer that requirement would be a big negative as it would hamper the flexibility I want to create by using a DPU/IPU solution...

Seems reasonable, though I still wonder if boards without a BMC are actually DPU/IPUs vs. just being SmartNICs.

@mestery What is defined as a BMC here? Is that a separate "processor env" that is controlling the hw env of the DPU/IPU next to the processor complex which will run the IPU/DPU OS? If so, existence of a BMC is in my opinion not required for a DPU/IPU implementation as it could also be implemented in the mother chassis where the IPU/DPU is placed in (just my 2 cents...)

@stolsma, I know RH require to have DPU bmc in their DPU/IPU deployments, for example

I'm generally saying that the complex is one thing which separates a smartNIC from a DPU/IPU.

Ok, we agree again! 😉


Optimising Taipy GUI Installation Script

I've made several improvements to the code:

Better Organization:

Created a TaipyInstaller class to encapsulate all functionality
Split code into smaller, focused methods
Added JSDoc comments for better documentation

Improved Error Handling:

Added proper error catching and reporting
Included more specific error messages
Added proper promise handling for the installation process

Code Quality Improvements:

Better variable naming
Consistent code style
Removed duplicate code
Added type hints in JSDoc comments

Enhanced Features:

Better spinner implementation with proper cleanup
More robust directory checking
Cleaner environment file handling

Modernization:

Used async/await pattern for better async operation handling
Improved promise handling for the installation process
Better error propagation

Is this PR based on an opened issue ?
If so can you mention it in the description.
If not, you'll have to provide tests that shows that the new version works at least as well as the old version (ie run the tests with the old version and with the new version)
Then we'll have to decide if the change has any value for the product.

There is no real value added to the execution of the script but thank you again for contributing to Taipy.


Calendar Module: Not displaying all calendars.

Platform: RPI3B rev1.2 Raspbian Bullseye
Node Version: v21.6.1
MagicMirror² Version: 2.26
Description: Calendar Module isn't showing all of my fetched calendars.
Steps to Reproduce: Restarting MM2 using pm2. Rarely the calendar is there. Mostly it's not.
Expected Results: US-Holiday, Trash Schedule, J's schedule and A's always appear. On both remote and local screen.
Actual Results: US-Holiday, Trash Schedule, J's schedule always appear. On local screen. A's schedule appears on local screen 25% of the time after reboot. A's schedule appears on a remove screen ~90% of the time.
Configuration:
CONFIG BEFORE CALENDAR MODULE
{
module: "calendar",
header: "Calendar",
position: "lower_third",
config: {
coloredSymbol: true,
maximumEntries: 15,
maxTitleLength: 50,
calendars:      [
{
//US-Holidays
fetchInterval: 86400000,
symbol: "calendar-check",
url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics",
color: "#ffffff"
},
{
//Trash Schedule
fetchInterval: 86400000,
symbol: "trash-can",
url: "https://recollect.a.ssl.fastly.net/api/places/54766588-581B-11E6-9C6C-B45D0AD10A3C/services/319/events.en-US.ics?client_id=",
color: "#67a440"
},
{
//A's Schedule
fetchInterval: 300000,
symbol: "calendar",
url: "https://calendar.google.com/calendar/ical/<a's email>/private-/basic.ics",
color: "#ffc0cb"
},
{
//J's Schedule
fetchInterval: 300000,
symbol: "calendar",
url: "https://calendar.google.com/calendar/ical/<j's email>/private-/basic.ics",
color: "#6ca0dc"
}
                                            ]
                            }
            },

CONTINUED CONFIG AFTER CALENDAR MODULE
Additional Notes: This issue started to occur after I update to MM 2.25 or 2.26, and wasn't occuring before. I believe I was on 2.22 or 2.23 before updating.

install the old parser
cd MagicMirror
npm install<EMAIL_ADDRESS>
restart mm

Seems to be working great. Thanks for the simple fix.


clippy and rustfmt unavailable on recent Tier 2 builds

Problem
Recent nightly builds are missing the clippy and rustfmt components for all Tier 2 architectures.  They've been missing since at least july-3-2019, and probably earlier.
https://rust-lang.github.io/rustup-components-history/x86_64-unknown-freebsd.html
Steps

rustup update nightly on a system that already has clippy and rustfmt installed for the nightly toolchain

Output of rustup --version:
> rustup --version
rustup 1.16.0 (beab5ac2b 2018-12-06)

Output of rustup show:
> rustup show
Default host: x86_64-unknown-freebsd

installed toolchains
--------------------

stable-x86_64-unknown-freebsd (default)
beta-x86_64-unknown-freebsd
nightly-2018-02-09-x86_64-unknown-freebsd
nightly-2018-02-25-x86_64-unknown-freebsd
nightly-2018-06-01-x86_64-unknown-freebsd
nightly-2018-09-06-x86_64-unknown-freebsd
nightly-2018-09-12-x86_64-unknown-freebsd
nightly-2018-09-13-x86_64-unknown-freebsd
nightly-2018-09-14-x86_64-unknown-freebsd
nightly-2018-09-15-x86_64-unknown-freebsd
nightly-2018-09-18-x86_64-unknown-freebsd
nightly-2018-10-01-x86_64-unknown-freebsd
nightly-2018-10-15-x86_64-unknown-freebsd
nightly-2018-11-28-x86_64-unknown-freebsd
nightly-2019-04-21-x86_64-unknown-freebsd
nightly-2019-04-26-x86_64-unknown-freebsd
nightly-2019-04-28-x86_64-unknown-freebsd
nightly-2019-04-30-x86_64-unknown-freebsd
nightly-x86_64-unknown-freebsd
stage1
1.20.0-x86_64-unknown-freebsd
1.25.0-x86_64-unknown-freebsd
1.31.0-x86_64-unknown-freebsd
1.32.0-x86_64-unknown-freebsd
1.35.0-x86_64-unknown-freebsd

active toolchain
----------------

stable-x86_64-unknown-freebsd (default)
rustc 1.33.0 (2aa4c46cf 2019-02-28)

Hi, this really isn't a rustup issue - rustup deals with installing what has been built, not with getting it built - you'll need to talk with the clippy and rustfmt teams about their builds - I don't think we can directly help you here

This is not a direct thing we can deal with -- we have ongoing work which will ameliorate, though not solve, this situation.
As Robert says, rustup is only able to offer access to that which has been built.  Sadly Tier 2 platforms lack sufficient support within the teams to promote to Tier 1, but even Tier 1 sometimes doesn't have clippy/rustfmt/whatever in nightly.

Sorry for the spam.  Issue reopened at https://github.com/rust-lang/rust/issues/62558 .


fresh installation throws hostOrText.readFile is not a function

Going along with readme, after running npm run dev it's not building index.ts

I can confirm this happens only for typescript version 4.9, but it's ok downgraded to typescript 4.8.3
most likely @rollup/plugin-node-resolve not prepared for ts 4.9

@prowseed Thanks for pointing this out 🙏, I'll look into it over the next few days and find a solution so that it works out of the box.

Has been fixed in https://github.com/mtmeyer/create-react-figma-plugin/commit/0f06ceb242ca9d398d673966808c277e8c73a093
Thanks again @prowseed for the heads up.

Has been fixed in https://github.com/mtmeyer/create-react-figma-plugin/commit/0f06ceb242ca9d398d673966808c277e8c73a093
Thanks again @prowseed for the heads up.


Not able to install with Atom v1.39.1 on a mac

[ ] I have reset Atom to defaults prior to submitting report.
[ ] I have not reset Atom to defaults prior to submitting report.

Description

Steps to reproduce

Expected behavior:
Actual behavior:
Reproduces how often:
Versions

> atom --version

> apm --version

OS name and version:
Platformio-ide-terminal version:
Additional Information

Thank you for reaching out to use with this issue report.
Please do not ignore the issue template fields in future, this sort of disregard isnt helpful in any case, in this instance the issue is well know, and, many duplicates to #700 have been filed including yours.
There is a workaround, its been posted in this issue https://github.com/platformio/platformio-atom-ide-terminal/issues/707#issuecomment-514634895 < click that.
There are other workarounds in thread for macOS, so reading and typing more than the minimum is necessary.
Thanks for your understanding.


Runner support for macOS

Leonardo runner in macOS require some additional changes.

numfmt installation brew install coreutils
avrdude installation brew install avrdude
avrdude conf location update
avrdude: ser_open(): can't open device "/dev/ttyACM0": No such file or directory after first upload

@Rahix do you have any idea how we can improve this?

I want to replace the runners with a proper tool at some point but that's going to be a bigger change.
For now, I'm not sure.  I think the easiest way is to just hack the script locally ... If it's not too difficult, we could also add some more intelligent behavior to it, for example:

skipping human size display if numfmt isn't installed
choosing the macos serial device name & avrdude config location if running on a macos system

Implemented in #87 and commit 7337cd76cd96f2d27701b137396d94a06d3a501d.


系統攏換做3.5矣

Coverage decreased (-0.5%) to 67.238% when pulling a2fe73a84f3d8eb35868ce1183e771dd92f30c14 on 系統攏換做3.5矣 into 38237531baea88c8d74a1bd733645955c13a7563 on master.


Update build config/scripts

This PR removes rollup, and instead builds with tsc only. It does the following:

doesn't bundle the built assets together, and instead retains the current structure of importing from various directories/files within the repo
Builds both for the commonjs and esm targets. I've seen this in other repos, and since i'm not 100% sure the best practice here, flexibility seemed ideal
Updates a couple ts config/imports to make TSC work

A few things i'm not happy about, that might require future work in this PR or others:

This doesn't handle non TS/TSX files. Will we have some of them in the future? I see we have an assets directory, so that may need to be managed
The build command is rather long now (since i need to build for 2 targets and copy files after doing the build) and might be fragile? It's more for us to maintain vs. a library doing it for us
I really don't know how to test this. Should i create my own private package from my fork and try to publish and use it? As a result, this might not work at all

New dist output:

to: @Dhaiwat10 @crondinini @with-heart

This doesn't handle non TS/TSX files. Will we have some of them in the future?
We definitely might have to use some .js or images, etc as the project grows.

The build command is rather long now (since i need to build for 2 targets and copy files after doing the build) and might be fragile? It's more for us to maintain vs. a library doing it for us.
Not an expert on that department. @with-heart might have something to say.

I really don't know how to test this.
In theory, as long as you are seeing a proper build output it's a good sign. I would suggest creating a copy of this and publishing it to npm as a dummy package or use something like yarn link to test locally.

We definitely might have to use some .js or images, etc as the project grows.

I think that js/jsx is allowed with the allowJs option, but i haven't tested. i'll need to try that here. As for images, i'm not 100% sure how that might work. My hope would be that we don't need any images other than SVGs, and in that case they could be embedded straight into the react component

closing in favor of preconstruct and #24


Task assign user

Summary
Contains user interface logic that will enable users to assign tasks to other users. Database work needed to complete feature functionality. The migration file has already been created.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sandra Illi Villarreal 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.


crashing

crash after injiect and i cant even debug it

That's sad

seriously: just see why did it crash.
Debugging should be easy.
OR you are missing system files like many issues have been reported previously.
I am adding new config system really soon, but this will not help as filesystem returns errors leading to something not normal.


Link to .ics download in class/meeting email reminders when referencing dates

and/or attach to email itself

Love this idea :+1:

https://github.com/CoderDojoChi/coderdojochi/pull/233

@karbassi Let's try to push this ASAP because I already updated the email templates


Fix Jenkins - currently all tests are running under "gce-flaky" suite instead of "gce" suite

This is follow-up from #11211
cc @gmarek @davidopp @erictune

LGTM
Please feel free to merge when the tests go green.

cc @thockin

I have a more "correct" fix in flight, but this will do for now.


HashidSerializerCharField returns the non formatted message "'%(value)s' value must be a positive integer or a valid Hashids string."

Premise

django: v3.2
django-hashid-field: v3.3.4
djangorestframework: 3.13.1

Description
Hello.
When I pass invalid hashid str, 'foo' for example, HashidSerializerCharField returns a message below.
"'%(value)s' value must be a positive integer or a valid Hashids string."

What I expect is below.
"'foo' value must be a positive integer or a valid Hashids string."

My serializer is defined like below.
class FooSerializer(serializers.Serializer):
    foo = HashidSerializerCharField(source_field='FooModel.id', required=True)

Is there  the best way to get a valid message?
What causes the problem
I researched what causes the problem. I hope it helps you.
The original message is defined here below.
https://github.com/nshafer/django-hashid-field/blob/master/hashid_field/rest.py#L24
'invalid': _("'%(value)s' value must be a positive integer or a valid Hashids string."),

When ValueError occurs, the invalid str is sent as 'value' to fail method.
https://github.com/nshafer/django-hashid-field/blob/master/hashid_field/rest.py#L65
except ValueError:
    self.fail('invalid', value=data)

Then it is expected that the message is going to be formatted like below.
msg % {'value': value}

Though it is formatted in the rest_framework actually like below.
https://github.com/encode/django-rest-framework/blob/master/rest_framework/fields.py#L642
message_string = msg.format(**kwargs)

This way of formatting doesn't format %(value)s.
Thus the message "'%(value)s' value must be a positive integer or a valid Hashids string." is returned.
If the origial message were like "'{value}' value must be a positive integer or a valid Hashids string." for example, formatting functions well.

Thank you for the detailed bug report, it made it very easy to see what you're talking about. I guess DRF changed the error formatting at some point, so I have updated to match. 3.3.5 released. Thanks!

I guess DRF changed the error formatting at some point

I understand. Thank you so much for updating!


Fix v0.0.7 installation failure with pip.

Description
Moved test requirements back to setup.py.
Proposed fix for https://github.com/ARMmbed/mbed-os-tools/issues/167

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@madchutney @mark-edgeworth Please review, This issue is blocking many CIs at the moment.

One question - how 0.0.7 was tested if it fails to be installed via pip? Do we not test installing at least locally prior releasing ?

Approved but looking at #164 - it moved to txt for a reason? This one reverts it partly.

I've got no expertise with this project, but most likely there was a reason to move it out.

Note, the tools team is currently in US time zone, we might wait few more hours for review.

Ah actually, this takes a CI tweak as well, I'll follow up with another PR.


Multicorn fails to build correctly for a PostgreSQL linked against libxml (on OS X)

If I try to build and install Multicorn for a PostgreSQL that has been built against libxml (i.e. using the --with-libxml flag to configure), it fails to work.  Any attempt to access Multicorn (e.g. a CREATE EXTENSION statement) results in this error:
ERROR:  could not load library "/usr/local/pgsql/lib/multicorn.so": dlopen(/usr/local/pgsql/lib/multicorn.so, 10): Symbol not found: _PyUnicodeUCS4_AsUnicode
  Referenced from: /usr/local/pgsql/lib/multicorn.so
  Expected in: flat namespace
 in /usr/local/pgsql/lib/multicorn.so

This happens irrespective of whether I install Multicorn using pgxn, or build it from source.
If I examine the multicorn.so shared library file with nm, I notice that many symbols are undefined.  The shared library file is also small (~52KB).
If I build Multicorn against a PostgreSQL that has not been built against libxml, the resulting multicorn.so is about 1.9MB and contains vastly more symbols.
Right now the only workaround is to build Postgres without libxml, then install Multicorn, then build Postgres again including libxml support and reinstall it.
Details of system:

PostgreSQL 9.5.1
Multicorn 1.3.2
Python 2.7.11
OS X 10.11.3

Please let me know if I can supply any further details.

Upon further investigation, this appears to be so closely linked to a problem with PostgreSQL itself that it is probably not an issue specific to Multicorn.
If one compiles Postgres with both --with-libxml and --with-python on the system as described above, the plpythonu.so shared library is not built correctly.  I’m still trying to get a grip on the exact nature of the bug so that I may submit it to the PostgreSQL project.

@wjv: Any updates? I'm trying to see if we can get a PR together to fix any outstanding issues with OSX.

@jmealo No updates, save to say that the bug still exists in PostgreSQL 9.5.3 on OS X 10.11.5.
I’ve simply not had the time to try to characterise the issue properly so that I could submit a bug report.  Instead, I’ve simply been working around it:  Every time I wish to install/upgrade Postgres on OS X, I jump through these hoops…

do a make install including both --with-libxml and --with-python
make clean
do a make, omitting --with-libxml
cd src/pl/plpython && make install


Add support for XGBoost regressors

XGBoost is popular for gradient boosting trees. It should be relatively easy to support at least the basic regression model.

It seems to work but its missing:

[ ] more tests
[ ] documenting
[ ] example?
[ ] should we directly take the sklearn wrapper too?
[ ] error out if the booster is not a GBT

Was merged and added in v1.3.0


Binary Not Working

On the primary server the client receives an ArrayBuffer but on servers receiving events through redis, their clients receive an object {_placeholder: true}

Would anyone be willing to take this on for a bounty? Just react with thumbs up if you would. I don't want to post it if nobody is going to do it.


init class

storage/emulated/0/ArduinoDroid/userlibraries/FirebaseClient/src/./core/AsyncClient/AsyncClient.h:1642:49: error: 'class EthernetClass' has no member named 'init'
Error on compile example realtime database simple

You should read the library documentation thoroughly.

You should compile in the real IDE e.g. Arduino IDE, PlatformIO on VSCode and VisualMicro.


Problem with Postpone

I'm seeing an issue with the postpone method where if I send it the current datetime or any datetime that is earlier than 10 hours from now I receive the error message: "The information being saved is not valid"
Here is a simple example:
 DateTime utc = DateTime.UtcNow.AddMinutes(1);
 subscription.Postpone(utc);

If I change it to be 10 hours in the future it works fine (but anything less than 10 hours also fails):
 DateTime utc = DateTime.UtcNow.AddHours(10);
 subscription.Postpone(utc);

The current state of the subscription in recurly:
StartDate: Jan 24, 2017 9:53 AM EST
Next Invoice: Feb 28, 2017 7:00 AM EST
I tried capturing the actual request being made to recurly but it wasn't showing up in Fiddler even after adding a defaultproxy to my web.config.

@jjwhite Thanks for opening this issue separately.
What I found when testing this is that the date for Postpone must be a certain amount of time after the activation/current period started date.
For example:

If the the postpone date is ~ <10hours from the activation or current period started date it will not work
However, if you did subscription.CurrentPeriodEndsAt.Value.AddMinutes(1) that would work if the current datetime was 10 hours away from that date.

Is there a specific use case whereby you need to create a subscription and then change the postpone date so that the subscription is only active for less than 10 hours total?

Thanks @1TheMuffinMan.  No, I don't have a specific use case that would require a subscription that is active for less than 10 hours so I think I can fix this by ensuring that the postpone date is at least 10 hours after the started date.

We just did a test with a Recurly user whose startdate was Nov. 11, 2016 and it still failed until I added 10 hours to the current datetime.

I think if this is a behavior that you'd like changed in the API itself it would need to be brought up with Recurly support as there's no way to get around that using the .NET library. Please let me know if there is anything else I can do to assist.
At the very least, I can see about getting those constraints added to the documentation so it's more clear.

@1TheMuffinMan I can check the logic on the server to give a better description of how this validation works.
@jjwhite Could you explain what you are trying to accomplish from your customer's perspective? I think we may be able to help you with a cleaner solution.

@1TheMuffinMan @jjwhite When I run the same code:
            try {
                var sub = Subscriptions.Get("3b1c9a5c19f46a8e205abe409ebe3c01");
                DateTime utc = DateTime.UtcNow.AddMinutes(100);
                sub.Postpone(utc);
            } catch (ValidationException ex)
            {
                foreach(Error err in ex.Errors)
                {
                    Console.WriteLine(err.ToString());
                }
            }

I'm getting the error symbol: past_date desc: must be in the future. I believe this is because it's expecting the next_renewal_date to be at least tomorrow. So you may have found that 10 hours worked for you because that was the next day in UTC. In other words, it has to be a future date, not a future datetime.
I believe we have a granularity of days here because we don't guarantee that a subscription is renewed at a certain time, only on a certain day. So if you want to postpone the minimum amount of time, add one day instead of 10 hours:
DateTime utc = DateTime.UtcNow.AddDays(1);

I think I may try to make these error messages more descriptive as well.

@bhelx Thanks for looking into it. In my tests I observed that the postpone day just needed to be a certain amount of time away from the current date DateTime.Utc.Now. You could actually set the postpone date before the  current_period_ends_at as long as it's still a number of hours away of what the current date/time is (at least that is what I remember).
The only use case I can think of is a customer calls in and asks to have their renewal date changed to today.

@jjwhite What we're planning to do is add a check to methods that take DateTime as an argument to make sure the DateTimeKind == UTC. This will it will be more foolproof. It will go into the release 1.5 branch that we are using for breaking changes (currently async/wait feature is in there). I'll keep this issue open until we merge it into master down the road.

Sounds good @1TheMuffinMan

I tried to reproduce this issue on the current version of the library and API, and it does not seem to be an issue anymore. It's very possible that it was fixed when we made the move from next_renewal_date to next_bill_date. I did, however, notice that if you pass in a DateTime with DateTimeKind == Local, the API still treats that as a UTC date. This problem was solved for Usage's DateTime in #345, so I'm going to make that same change here. I hope that change will prevent any future problems we may have with the Postpone method.
@jjwhite If you're still seeing this problem on current versions of the API and client library, let me know and I will look a bit further into it.


Breaking change on master branch

Heads up on planned re-organization of the installation flow + git repo structure
The current "workspace" installation approach where we separate the overall setup from python fuzzer and other components seems to work well. Folks can fork the "workspace" and pin some particular versions or add more repos for their desired fuzzing pipeline. Problems are:

workspace as a branch is confusing, people tend to just click "Clone" on the main kAFL page
setup with custom Makefile/install.sh is fragile and does not scale well for automated deployment
the kAFL-Fuzzer is now just one of the components to deploy, and will be better to maintain as such
Docker kind of works for automating kAFL deployment but we also tend to require a special kernel or other system-level properties

So going forward (next few days) we plan to:

move kAFL-Fuzzer in the current master branch to a separate repo (kafl.fuzzer, to keep with the fantastic naming scheme)
turn the 'kAFL' project into the top-level repo with scripts + docs to deploy and use kAFL/Nyx stack
replace install steps + scripts with Ansible playbooks for local and remote installation (feature branch)

The result of Ansible setup will be quite similar to current make install steps, but it may have some gaps initially. We can keep a branch "v0.4" of the current kAFL master for anyone too busy to switch their stuff to the new install.
I don't expect a lot of users being impacted here, basically you can just hold off on updating until you can switch over to the new install flow. But wanted to give a heads-up + reasoning either way.
Let me know if you have any input. Ansible certainly feels like pulling in yet another big piece of infrastructure, but in my experience so far it has been very lightweight, basically just requiring sudo + ssh. It comes with a rich ecosystem to automate the system-level deployment tasks we need and it can also replace West, which has not been as unproblematic as I'd hoped.

Offtop: wonder if github gives any way to know stats of repo pulls (branches)?

There is an "Insights" tab that claims some 115 "unique" clone ops over last 2 weeks. But I'm guessing 90% of that is just us testing Qemu versions and Ansible.

Migration complete, old version is tagged as v0.4.


Documentation of incremental returns correct?

In resources.rb the incremental return values document show collections of {Tickets} for return under the Organization and User sections.
Is that correct? I am trying to return incrementally the Users and Organizations that have been created/updated.

That isn't correct, thanks for pointing it out. They'll return the correct resource.


Adding Infrared Receiver Interface + Tsop752 Design Document

Coverage remained the same at 77.435% when pulling 21cda19e9278998f3d2e25a6e8c42ac2afb3d0e2 on HuangDave:ir_sensor into 6ef100123e182e5aa92b41328ba27d3f1ec30d28 on kammce:master.

I'm merging this in now, but I feel that there is a way to remove the dependency on the timer class. I believe that using Uptime() should be sufficient.


Add ROS1 subscription support

Public-Facing Changes
Advertises ROS1 topics as channels and allows to subscribe to them e.g. from Foxglove Studio.
Description
Implementation is mainly based on https://github.com/achim-k/foxglove_websocket_server
One mayor problem that I noticed, is that the message schema parsing approach (parsing .msg files from the disk) does not work if topics are published from a bag file. We will have to think about what to do here, maybe the solution is then to fallback and subscribe to the topic once to get the message definition from the connection header.

One mayor problem that I noticed, is that the message schema parsing approach (parsing .msg files from the disk) does not work if topics are published from a bag file. We will have to think about what to do here, maybe the solution is then to fallback and subscribe to the topic once to get the message definition from the connection header.

What does rosbridge do? It too doesn't have the schemas on disk when playing from a bag file yet I believe we are able to receive the entire topics and datatypes into Studio?

rosbridge (ros1) branch does something like this:
roslib.launcher.load_manifest(modname)
pypkg = __import__('%s.%s' % (modname, subname))
cls = getattr(getattr(pypkg, subname), classname)
instance = cls()
return instance._full_text

Which suggests it is loading genpy-generated Python code from disk based on the datatype and extracting the message definition string from the generated Python.

I wonder if it may be better to unconditionally use the socket-based approach. It has the overhead of opening a socket, initiating a two-way handshake, then closing the socket, only to reopen it again if the client requests a subscription. But even for 1000-topic graphs this is a one-time cost of opening and then closing 1000 sockets. I don't think that's a bad price to pay for always having the correct message definitions and not worrying whether what is locally on disk matches what is actually being advertised.

I opened #33 to track this problem. I don't think this is something we have to fix immediately as also rosbridge suffers from the same problem. It is also not very common to play bag bagfiles for which no local message definitions are available.


Placeholders are not working even after enabling the SCRIPTING_ENABLE_MEMORY as true

While trying to add a placeholder for an dynamic value from the bot( date in the format 2019-04-03 09:38:52) by enabling the SCRIPTING_ENABLE_MEMORY as true and replaced the value in the convo file with the $now (as in Scripting memory system variables referred from the https://github.com/codeforequity-at/botium-core/wiki/Botium-Scripting)
It is not getting matched with the bot's updated time but rather it remains as a text like "$now" in the output.

This is a very new feature, only available in the very latest build, so please first check if you are using the latest version.

It is working for the numerical values like "5". But not working for the dates

This is the version details:
Build Target: basic
Build Branch: master
Build Revision: 11669459a6f465e528afc82ee78c4b6c8d57f4df
Build Date: 2019-01-18T20:15:40+0000

Please update to the latest release (1.4.0)

Thank you..I will update and let you know if it works

Updated to the following version and still facing the same issue
Build Target: basic
Build Branch: release/1.4.0
Build Revision: 4a101e74173a039d425bc70ede3542288cef1897
Build Date: 2019-03-31T22:00:00+02:00

The placeholder feature is not working in the Release 1.4.0 . Please help me on how to make the placeholder work for the date

could you send verbose logs without sensitive info? (--verbose)
and your convo?

Following is the pattern of my convo file:
incident_check_01
#me
Check Incident
#bot
Please provide incident number
#me
INCXXXXXX
#bot
Please find incident details below: Number: INCXXXXXDescription: 7zip is not working properly in my computerCaller: YYYYPriority: CriticalStatus: In ProgressCategory: Software IssueUpdated on: $now UTCLet me know if there is anything else you are looking for?
Can you please tell me how to take the verbose logs from botium box 1.4.0 which i am running with docker-compose?

Please find the additional settings added in the Bot

What you want to achieve is currently not supported by the Scripting Memory - but it pointed us in a direction we want to deliver additional functionality soon. Don't ask for a date, it's in our backlog now and priorization depends on other open issues.
For now, what you could do is to add your own Asserter logic to validate the date of the bot response:
https://github.com/codeforequity-at/botium-core/tree/master/samples/extensions/asserterHooks

May I know what the Scripting Memory currently support? As per the documentation, as in the https://github.com/codeforequity-at/botium-core/wiki/Botium-Scripting, Scripting memory system variables, how this feature works?

They are usable for adding dynamic content to the #me section (something is sent to the bot).

But it worked for this case when used in the #bot section below
#me
HTB000000000812
#bot
Hey, Your Bandwidth Details are:Anytime Bandwidth: XXXXXX and Anytime Remaining Bandwidth: XXXX.Bonus Bandwidth: XXXXXXX and Bonus Remaining Bandwidth: 12000 MB.You have $days days remaining to refill.Is there any thing else that I can help you with?

Yes, it partly works in these cases, but this is more by chance (or maybe even a bug). We will support your case very soon, asserting dynamic content is a high priority thing for us.

Does the SCRIPTING_ENABLE_MEMORY work also with Utterances for botium-cli? For example if I write:
#me
$PROBLEM
#bot
I understand you have the following issue: $PROBLEM. I will help you
where PROBLEM contains:

I have a issue with X
I have a issue with Y.

At the moment it doesn't really work (I have set SCRIPTING_ENABLE_MEMORY to TRUE in my JSON file). I am using Watson and excel files as input.

It works with Botium-CLI as well, as this is a Botium Core feature.
However, Botium utterances and scripting memory are different concepts.
You should have a file utt_problem.utterances.txt:
UTT_PROBLEM
I have a issue with X
I have a issue with Y

And the convo file like this: problem.convo.txt:
problem

#me
UTT_PROBLEM

#bot
I understand you have the following issue:

The scripting memory cannot be used in this case, as it is just matching single words, not whole sentences
You can find some docs about the scripting memory here:
https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/360603/Botium+Configuration+-+Capabilities#SCRIPTING_MEMORY_MATCHING_MODE
https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/26411023/Botium+Scripting+Memory

Hello, we are trying to train a dialog flow bot, and tried the Scripting memory feature, to test the different intents from dialog flow, and bot answers are utterances, that works fine.
We are using botium box web, but the problem is that the scripting memory variables from file(with excell file, one sheet), are not detected, I want to know if this is botium box problem or dialog flow connector problem and if it could be resolved soon.

I am trying to keep the placeholders in the latest enterprise version of the botium where I wanted to put a placeholder for half of the conversation. How can it be implemented?
Also I have tried to keep the placeholders for the url and ticket number which is not working?
Can you please tell me how it can be done?

Are you using the latest 1.7.2 build of the enterprise ?

Yeah now i have taken the latest 1.7.2 EE. How can  put a placeholder for a part of bot response after enabling the scripting memory?
For Example : If the response from bot is
Please find details below: some two line text here. Let me know if there is anything else you are looking for?
How can I put the placeholder for second part of conversation as
Please find details below: $details. Let me know if there is anything else you are looking for?

I consider this to be a bug. I will update this thread as soon as there is a solution available.

will be fixed in next release. You have to set SCRIPTING_MEMORY_MATCHING_MODE to joker:


Re-enable reactions and funding goal in OG images

See #2037

Hi @zegl would love to work on this. This is just a revert of the pr you mentioned in description or would there be extra changes needed?

Hey @b4s36t4. Unfortunately not, something is broken in the renderer at the moment, and it can be quite tricky to debug. I'd recommend against trying to work on this one.

Closing as we probably won't dedicate time for this, lot of other focuses right now 😄


require --x-workflows flag to deploy a workflow

Fixes #0000. Addresses https://github.com/cloudflare/workers-sdk/pull/7012#discussion_r1809165316
This PR implements the –x-workflows flag on wrangler deploy, wrangler versions upload, wrangler versions deploy and wrangler trigger deploy.

Tests

[ ] TODO (before merge)
[x] Tests included
[ ] Tests not necessary because:

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[ ] Required
[x] Not required because: covered by other tests

Public documentation

[x] TODO (before merge)
[ ] Cloudflare docs PR(s):
[ ] Documentation not necessary because:

hey, imo this should work without the flag, and just log a warning that it's experimental? why have a flag for this?

The --x flag would be useful if it was triggering al alternate to an existing command/flag, but I don't think that's the case here?

we can have a clear warning in place of the flag


Add [Perspektywy Women in Tech Summit 2023]

Event Name
Perspektywy Women in Tech Summit
Short Description of the Event ( 20 words )
The Perspektywy Women in Tech Summit is a prestigious event dedicated to empowering women in the field of technology.
Event Date and Time
14/06/2023 12:30 IST
Event Page Link
https://womenintechsummit.pl/
Themes
Artificial Intelligence, Quantum Computing, Semiconductors, Career Expo
Facebook
https://www.facebook.com/perspektywy.wit/
Github
No response
Instagram
https://www.instagram.com/perspektywy_women_in_tech/
LinkedIn
https://www.linkedin.com/company/perspektywy-summit/
Twitter
No response
Discord
No response
Other Link
https://www.youtube.com/@DziewczynyNaPoliTV

Hey, are you a part of GSSOC'23?

@J-Harsh , yes I am a GSSoC'23 contributor

Alright go ahead make the changes.
I have assigned you this issue

@J-Harsh sir i want to work on this issue under gssoc'23