Discussion: submitting an amp-form to an external landing page

As discussed in the WG meeting on 12th March 2020, we would like to discuss the possibility of submitting an amp-form to an external landing page.
Currently all forms submitted via amp4email will return results inside the email. This works well for a number of use cases, however there are also a number of use cases which would be better served by directing the user to an external landing page.
From an external landing page it would be easier to filter results, change display (e.g view hotels on a map), add a product directly to a shopping cart.
Ideally this would keep all features currently available in the amp4email amp-form.
This could prove complicated as the submit event is triggered in an iframe, opening a new tab will likely cause a popup alert.

One idea to avoid the popup blocker issue (user gesture not propagate through postMessage across frames) is to render an interstitial dialog inside the DOM of the email client (but outside of the email iframe) that contains the external link to the landing page. Since it requires the user to click on the link again, that link open will be recognized as a user action and will not be blocked by popup blocker. However, the downside is that it creates an additional step for the user to land on the desired page, which could be a frustrating experience and may reduce CTR drastically.
Another idea is to open the link directly from inside the email iframe when the user gestures to submit the form (which requires having the allow-popups allow-popups-to-escape-sandbox tokens in the iframe's sandbox attribute). I suppose we also want to wait for the form submission XHR to come back before opening the page in a new tab, but I'm not sure if user gestures are propagated through the use of the fetch or XMLHttpRequest API, or if popup blockers have a limit on the time after the user gesture for allowed popups.

I believe we already have allow-popups allow-popups-to-escape-sandbox for the iframe since we need to allow anchor tag with target="_blank" to open href in a new window.
I feel that (and please correct me if I am wrong) the request here is to allow the form to work like the regular html form with target="_blank" and action="https://destination.com" (this will submit form to https://destination.com in a new window).  Currently, the validator doesn't allow target and action attributes.  Instead the validator requires action-xhr, so there is no way to submit form to the external page on a new window.

This would  be a crucial feature not to have.

This is too crucial of a feature not to have.
Imagine all those eCommerce emails that allow users to add merchandise to their shopping carts directly from the emails.  Or the wedding invites that allow RSVP and opening up the wedding registries...

The e-commerce use case (e.g., redirecting the user to a landing page, passing some dynamic data) can be implemented by using a regular hyperlink rendered inside an amp-mustache template:

Have an amp-form that gathers user input and submits to an XHR endpoint
Make the form XHR endpoint return JSON data that renders into a template. The dynamic data should include a dynamic link URL constructed from the form input.
Render the link in the amp-form's success template under
.
Normally, you would render a button to submit the form, and then amp-form will render the success template that contains link. To reduce the number of actions from 2 down to 1 in order to go to the landing page, you could add a change event listener on all the form input and submit the form when any input is changed.

Something like this:
<form id=form method="post" action-xhr="https://example.com/addToCartUrl">
  <input type="text" on="change:form.submit" name="name">

    <template type="amp-mustache">
      Add to cart
    </template>

</form>

This allows developers to build for example an email that lets users select different options for a product and provides a link to an external site with the selected options pre-populated in an add-to-cart page. This is what for example the Nest AMP email does.


[Paper] Want drugs? Use Python. M. Nowotka

Overall comments: it's a great resource, with excellent tutorials and lots of examples.  The paper is well written as well.
The only thing which is missing and I'd love to see is a big conda meta-package to install all the complex packages and their dependencies - which is slightly less cumbersome to use than a full virtual machine or docker image.

Hi @FedericoV,
Thank you for your comments. For the next myChEMBL release we are planning to replace virtualenv with miniconda. I think this will be a good start to implement your idea, which is very good and can further streamline the whole process. I'll apply all the stylistic changes, you've suggested, later today.

Hi Michal,
I'm not an expert at commenting directly on github diffs - I'll go through
the paper in more detail during the week-end.  A lot of the work is in the
(excellent) examples that you link - so this paper I guess serves more to
present everything done by the chEMBL group as a coherent whole?
On Fri, 30 Oct 2015 at 11:36 Michał Nowotka<EMAIL_ADDRESS>wrote:

Hi @FedericoV https://github.com/FedericoV,
Thank you for your comments. For the next myChEMBL release we are planning
to replace virtualenv with miniconda. I think this will be a good start to
implement your idea, which is very good and can further streamline the
whole process. I'll apply all the stylistic changes, you've suggested,
later today.
—
Reply to this email directly or view it on GitHub
https://github.com/euroscipy/euroscipy_proceedings/pull/44#issuecomment-152488696
.

Yes, this paper was meant to provide a high-level picture of all ChEMBL activities, where Python plays an important role. So far your comments made on diffs are clear for me. Take your time to correct the paper and let me know when you are done so I will apply all the changes in one go.

I've been going through the examples.  Most are very good - but in some cases you are duplicating existing functionality that can be covered with other excellent libraries.  For example, lots of the demo plots in the plotting tutorial can be done with two lines using seaborn.
The molecule plots in iPython using the display hooks are very impressive though.

Anyway - I think the paper is well written, and the documentation and notebooks are excellent.  I wish there was a conda package to deal with the build headache instead of a virtual machine, but I understand that's on the TODO list for your group as well.

Hi @FedericoV - I'd like to include seaborn in our software stack to reduce functionality duplication. Can you give a couple of examples of replacing our demo plots with seaborn?
Also, are there any other libraries that can help us to avoid reinventing the wheel? I'd be happy to use as many well-know good-quality libraries as possible if they make common tasks much simpler, as long as those libraries are open source.


Tutorial notebook renders incorrectly in dark mode

Completed in #8

Reported as not fixed. #12 should fix the issue.


Apply force

Hi ,great work on the library. I had a question, would it be possible to apply a (variable) amount of force to an emitter? Let's say you have a smoke system that is affected by wind forces?
This illustrates it quite nicely:
https://processing.org/examples/smokeparticlesystem.html

Emitters/particles have an acceleration property that is basically that, although it is not a shared global reference, so currently you wouldn't be able to change the acceleration on the Emitter and have all live Particles start using it immediately.

Ah I can't believe I didn't see that. Thanks!
Well I tried to assign the result of a sin function with some added randomness to the acceleration at requestAnimationFrame and it gave a nice effect but it really killed performance. Ah well ¯_(ツ)_/¯


Is there any web project?

Hi guys, I would like to know if there is any web project adapted to this api? Thanks~

I don't think anyone's created an unofficial web client based on the rest_api from this project, although you can always use Claude's official web interface at claude.ai


Taking variables into account when checking for possible null values TS2532

Suggestion
I excuse in advance for opening this if this is too expensive too implement.
I think it might be useful to some though.
🔍 Search Terms
all included below
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
If an if statement only contains a single local constant variable, the compiler should inline the variable into the if statement (if the contents can be locally inferred) when checking for undefined variables.
If that sounds complicated to you, I suggest to check out the example below.
📃 Motivating Example
This does not compile:
    const noSelection = !start || !end || (start[0] === end[0] && start[1] === end[1]);
    if (noSelection) {
      if (foo) bar();
      return;
    }

    console.log(start[0]); // Object is possibly undefined ts2532
    // some more code using noSelection

but this does:
    if (!start || !end || (start[0] === end[0] && start[1] === end[1])) {
      if (foo) bar();
      return;
    }

    console.log(start[0]); // No error
    const noSelection = !start || !end || (start[0] === end[0] && start[1] === end[1]);

although they are basically the same code.
The information is there to deduce that start can never be undefined, so it could be used in theory.
💻 Use Cases
This can prevent uneccessary null checks or executing code twice that only needs to be executed once.
Can also help readability. The current workaround is to duplicate the logic

#12184

#12184


Web inference fails due to insufficient memory

Web inference fails due to insufficient memory

I have friends using 4g graphics card and 6g graphics card, in the time of pushing the situation of insufficient memory

reduce batch size

Can we add the parameter for reasoning to the reverse webpage in the future? Currently, the method involves directly modifying config.py, which is less convenient. Thank you.


vulkaninfo: Prevent infinite loops

GetVectorInit could get stuck in an infinite loop if the underlying API call eternally returned
VK_INCOMPLETE. This commit makes GetVectorInit stop after 3 tries.
Fixes #674

CI Vulkan-Tools build queued with queue ID 5260.

CI Vulkan-Tools build # 774 running.


Bahaar

Hello shindimitry,
I have to report this in Bahaar. Normally when a healer Plague/Regression the boss in the old times the guide was showing like "Stun, Stun (2),  Stun (3)" now when they use Regression/Plague   "Stun" for the first hit doesnt show up. It just says last aerolite and u gotta stun then it starts to count 2 and 3. Is it possible to patch an aid-fix for this?

It would be good if a '' Plague/Regression '' message appears before the messages '' Stun 1 '', '' Stun 2 '' and '' Stun 3 ''

I think this can be fixed. We will check it soon.

Hi, we fix the first "Stun" message and add the notification about "Plague/Regression" (but not tested yet).
Please update and check.


Define TCPRoute spec

Describe the proposal
The current TCPRoute is more of a placeholder than an actual specification as it doesn't have a top level spec or any fields. We should define a spec for it and afterwords revisit the UDPRoute PR.
A TCPRoute can match a list of ports:
apiVersion: specs.smi-spec.io/v1alpha3
kind: TCPRoute
metadata:
  name: mysql-routes
  namespace: default
spec:
  matches:
    ports:
    - 3306
    - 6446

A TCPRoute can match all ports with:
apiVersion: specs.smi-spec.io/v1alpha3
kind: TCPRoute
metadata:
  name: default
  namespace: default
matches:
  ports: []

Scope

[ ] New specification
[ ] Traffic Access Control
[x] Traffic Specs
[ ] Traffic Metrics
[ ] Traffic Split

Possible use cases
A service mesh would use the TCPRoute to avoid protocol detection for the specified ports and just use L4.

@stefanprodan how would this interact with the ports already on TrafficTarget? It feels like we can just move the ports into this entirely? Alternatively, it is a little weird to have the ports on every protocol (tcp, udp, http). Is there a protocol that wouldn't include ports?

I actually gave thoughts about that yesterday evening as well, and I think Port could be a good add (also for the UDP Spec).
I think it's fine to have that on the Route, in order to be able to specify subsets of L4 Level Traffic.

Another thought, just something that came to my mind.
I know, initially has been said that it could be fine to avoid protocol detection.
If we do want to have protocol detection tough, how about some sort of SNI matching? Could / would it make sense?
---
apiVersion: specs.smi-spec.io/v1alpha3
kind: TCPRoute
metadata:
  name: mongo-routes
  namespace: default
spec:
  matches:
    ports:
    - 27017
    - 27018
    - 27019
    sni:
      host: my-mongo.internal.svc

For the port question, I think every protocol will have Ports for sure, but I feel like the TrafficTarget should infer that from the route as the route is in my mind bundled with the Port (and you can have multiple). Currently, port is an optional element on the TrafficTarget, which if not set, will allow all traffic anyway, right? So inferring it from the Route kinda makes sense, I guess.

I don't think the SNI should be specified on a TCPRoute, you should be able to use the mongo routes definition for all your mongo instances no matter the SNI. The TrafficTarget should be the place where you associate a traffic spec to specific service.

@stefanprodan I think the SNI host would be an optional match, so it would not be required. SNI being a TLS extension would make sense to be tied to the TCPRoute IMO, and it would allow protocol-specific routes to have protocol-specific matches. Just as path makes sense to be on an HTTPRouteGroup, sni makes sense on TCPRoute.

SNI's interesting, what problem would be solving with it?

It would allow TCPRoute to operate without statically defined ports, by matching on an SNI header instead.
As long as requests were made from a valid source, with the correct SNI header, it would be allowed.
TCP just has so few properties with which to match on (especially compared to HTTP), that it seems that there should be a method to match on the few that do exist.

Oooh, that's an interesting idea. How would this work from the implementation perspective? As that's all handled automatically for you in Linkerd (via identity), it might be a little weird.

---
apiVersion: specs.smi-spec.io/v1alpha3
kind: TCPRoute
metadata:
  name: mongo-routes
  namespace: default
spec:
  matches:
    ports:
    - 27017
    - 27018
    - 27019
    sni:
      host: my-mongo.cluster.svc.local
---
kind: TrafficTarget
metadata:
  name: tcp-demo
  namespace: default
spec:
  destination:
    kind: ServiceAccount
    name: mongo-db
    namespace: default
  sources:
  - kind: ServiceAccount
    name: my-app
    namespace: default
  rules:
  - kind: TCPRoute
    name: mongo-routes
---
apiVersion: v1
kind: Service
metadata:
  name: my-mongo
spec:
  selector:
    app: MyApp
  ports:
    - protocol: TCP
      port: 27017

Alright, from an implementation point of view, we could check the given SNI in the TCP Route and match it against the internal dns address of a service, which is holding a pod which has the destination service account.
To be honest, I'm not quite sure if its greatly "usable" but at least, it's an idea.
However, apart from that, if we decide to keep out SNI for now and "only" use ports, what does stop us from moving on further here?

@SantoDE I think we could open a new issue for the SNI proposal after #185 is merged.

SGTM @stefanprodan. Will take a look at #185 too

@stefanprodan How does this proposal handle the use case where we want a combination of TCP and HTTP routes for an endpoint while ensuring no ambiguity?
For ex. HTTP GET on port 9000 should be allowed, but a GET on other ports shouldn't be allowed.
This scenario could arise for services that expose multiple ports.


Adding LazyRecord ORM

Hi @ziadoz Could we merge this PR? Thanks  :)

wdzmarsdwndztmxdft mygnnm gftxf xfx
On Jul 6, 2015 9:58 AM, "Yo-An Lin"<EMAIL_ADDRESS>wrote:

Hi @ziadoz https://github.com/ziadoz Could we merge this PR? Thanks :)
—
Reply to this email directly or view it on GitHub
https://github.com/ziadoz/awesome-php/pull/376#issuecomment-118746596.

Hi @jadb I just updated the patch, please take a look. Thanks!

@c9s sorry I should have better expressed myself.
Please change to: A fast ORM designed for simplicity, extendability and performance.
Wouldn't like usage of The and capitalization of Fast to sound like the chosen one ;)

Hi @jadb  Thanks for your help. the commit is updated. :)

Thanks!


Possible to add extra symbols after good Cron pattern and bypass validation

try {
    final CronExpression expr = new CronExpression("0 15 10 ? * MON-Fri_BATMAN");
} catch (final ParseException e) {
      // no expected exception here -- validation allows this
}

Possible fix:
In CronExpression.storeExpressionVals add check
if (s > 7) {
    throw new ParseException("Invalid Day-of-Week value: '" + s + "'");
}

Hm... yeah, probably can use the strict validation. But this is not breaking the parser, so priority is low.
Thanks for the feedback though.


[docs][Command Ref][2.1.x] Create key pairs

Applied new command reference template.

Change Description

Change Type
Select ONE:

[x] Documentation

[ ] Stability bug fix

[ ] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[ ] New Tests

[ ] Existing Tests

[ ] Test Framework

[ ] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

combined into PR #10403


[go_router] Add a way to set the default transition page

Use case
I would like all my pages to use the same transition/animation (ex: fade).
Right now, I have to give a pageBuilder to all my GoRoute (or override all the pageBuilder of my GoRouteData with go_router_builder) to pass the same CustomTransitionPage
example with go_router_builder and GoRouteData:

Page<void> _buildPage(BuildContext context, GoRouterState state) {
    return CustomTransitionPage<void>(
      key: state.pageKey,
      transitionsBuilder: (
        context,
        animation,
        secondaryAnimation,
        child,
      ) =>
          FadeTransition(
        opacity: animation,
        child: child,
      ),
      child: build(context, state),
    );
  }
}

class MyRoute extends GoRouteData {
  @override
  Page<void> buildPage(BuildContext context, GoRouterState state) => _buildPage(context, state);
}

Proposal
It would be nice to have a way to set the default page builder of go router so it is apply to each routes
GoRouter(
  defaultPageBuilder: _pageBuilder,
);

Or even better would be having a parameter in GoRouter or RouteShell to set the default page builder of the sub-routes:
GoRoute(
  subRoutesDefaultPageBuilder: _pageBuilder,
  routes: [/* ... */],
);
ShellRoute(
  subRoutesDefaultPageBuilder: _pageBuilder,
  routes: [/* ... */],
);

Hi @ValentinVignal, this looks similar to https://github.com/flutter/flutter/issues/113282.
Can you take a look and confirm if this is the same as the feature being requested in the issue linked above?

@danagbemava-nc Thanks, it looks like a similar feature. However, mine is also mentioning the ability to set it in the GoRoute/ShellRoute for the subroutes.
Do you want to keep this issue open or do you prefer me to add a comment in https://github.com/flutter/flutter/issues/113282 ?

Hi @ValentinVignal,  please add a comment in #113282.
Closing from here as duplicate.
Thank you


Enable translation on belongTo field when in browse or view mode

Hi all,
I needed to also see translation of fields with relationships (belongTo) at least in browse or read mode.
I used this modification to get what i wanted, maybe it can help ?
Bye!

Edited and PR done.

Thanks


Actions or intents should allow an array of RegEx

Currently, you can only have one RegEx action or intent. The reason this is problematic is that you may have multiple RegEx templates for extracting data that all ultimately correspond to the same thing. Combining them into one massive RegEx is very impractical, especially if you then need to extract the data using a match array.
Currently the workaround is to create multiple actions and append a number to them (getweather1, getweather2, etc.) then map them to the same dialog. This seems pretty messy.

In v3.2.1 there's a new IntentDialog.matchesAny() method.


Run "lite ." cleanly from the terminal

Hi! Started using lite and I love it so far. But I often find myself opening the current directory in light from the terminal using "lite .". This will cause the terminal to host the application and will not be usable until the program terminates. Is there a way to use "lite ." while still being able to use that terminal window? Thanks!

in linux you can use: lite . &

Thanks! I set a alias in my zshrc to execute this and it works perfectly.


Ispravka za Talin - uklonjen typo

👷 Deploy Preview for balkantransport processing.
🔨 Explore the source changes: 230f66311552a7af78a28b6b236671d02191c587
🔍 Inspect the deploy log: https://app.netlify.com/sites/balkantransport/deploys/61f82fed0f5dcf00082ca782


Publish build of develop branch to npm

With the merge of #410 into the develop branch and the switch to yarn we are experience build errors on our side.
The error occurs because we are using npm (instead of yarn) and using/building lineup directly from the develop branch. We could decouple and avoid this error when using the compiled JS also for the develop branch.
@sgratzl Could you please configure the GitHub action to automatically publish the JS files of the yarn build to npm? For the develop branch the release could be marked with a next tag (similar to typescript).
Then we are able to always use the npm version instead of building from the develop branch.

I just manually published https://github.com/lineupjs/lineupjs/releases/tag/v4.2.0-alpha.0

Thanks for the quick fix. 👍  We will check the develop build tomorrow morning. If it works I will remove the blocker label and replace the bug with a feature request, because publishing the develop branch automatically on npm is still useful.


fix: prevent Int.ofNat being used instead of Nat.cast

Not tested, I'm hoping CI will do that.

FYI CI is failing.

I would move both into Std/Classes/Cast.lean.  The instance doesn't have any dependencies, and forgetting to import Std/Data/Int/Lemmas seems like an easy mistake to make.


Doesn't Work

Hey, I tried to run this on Python IDLE 3.10.0 and it doesn't work. It says every time there's a syntax error.

Hey, may you share the error output please

Hey, I tried to run this on Python IDLE 3.10.0 and it doesn't work. It says every time there's a syntax error.

Hey, may you share the error output please

Whats the structure of your SQL database?


A11y_AzureDataStudioSQL_Projects_Add View_ScreenReader: Voice Over does not announces the line number in code editor on which keyboard focus is there.

Actual:
Voice Over does not announces the line number in code editor on which keyboard focus is there when navigated on it with the help of tab key.
Same issue is observed throughout the application where code editor is present
Expected:
Voice Over should announce it as line 1 and then the information present in line when navigated on it with the help of tab key.
GitHubTags: #A11yMAS;#A11yTCS;#A11ySev2;#SH_AzureDataStudioSQL-MAC-Feb2021;#SQL Azure Data Studio;#MAC;#FTP;#DesktopApp;#WCAG1.3.1;#VoiceOver;#Element:Combobox;#AINotInScope;
Environment Details:
Application Name: Azure Data Studio
Mac OS Version: Big Sur Version 11.2.2
Screen reader: Voice Over
Repro Steps:

Launch the application-Azure Database Project and install extension SQL Database Projects.
Navigate to SQL Database Project Home Screen with heading "Projects".
Tab to connections select your server and connect to it.
Tab to Projects tab an right click on any created project.
Tab till "Add View" and hit enter
Start Voice Over and tab code editor line 1 and check the result.

User Impact:
Screen reader user will not get the complete information like on which line the keyboard focus is there,
“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”

same issue as the one opened for Windows https://github.com/microsoft/azuredatastudio/issues/14414

dupe of https://github.com/microsoft/monaco-editor/issues/410

Verified the bug in the environment
Application Name: Azure Data Studio
macOS: Ventura 13.2
Issue is fixed and does not reproduced. Please find the not repro attachment below.
Screen Recording (4).webm
Github Tags:#Closed;

Logged new bug: https://github.com/microsoft/azuredatastudio/issues/22711
#Closed;


feat: generate random parquet files

As title.
Mainly for benchmark purposes. All data are floating point numbers as data types do not matter.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.99%. Comparing base (5de045a) to head (aa84f76).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   85.05%   84.99%   -0.06%
==========================================
  Files          17       17
  Lines        2027     2026       -1
  Branches     2027     2026       -1
==========================================
- Hits         1724     1722       -2
  Misses        207      207
- Partials       96       97       +1

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


Bump balena-yocto-scripts to 1.15.1

This updates balena-cli in automation scripts to fix preloading of AMIs

@balena-ci I self-certify!


Missing Doc pages entries in mkdocs.yaml

Describe the bug
We missed to add the entry of few recently added docs in the mkdocs.yaml due to which the docs are not published on our readthedocs.
I learnt this by running mkdocs serve locally.

To Reproduce
Steps to reproduce the behavior:

Learn mkdocs serve locally.

Expected behavior
All the docs are published.
Additional context
NA

Passing now


Remove generated 'As()' methods for static types

This PR removes the generated As<I>() methods on static RCW types. This method is:

Unnecessary, now that ActivationFactory is public
Only works with either [ComImport] types, or via IDIC
It doesn't exist on non-static RCW types, which is not consistent (eg. Win2D uses that)

Devs should just use ActivationFactory directly, which also exposes new high perf methods.

Isn't it an ABI breaking change and breaks all existing apps?


Automatic addition of current scene does not inform Editor that object serialization changed

Describe the bug
NetworkManager will automatically add the current scene to its "RegisteredScenes" list. It does this by directly adding the scene to the RegisteredScenes list (NetworkManager.cs:214 on #a0e87b3b79) but it does not call EditorUtility.SetDirty on the object. This means that if there are no other changes to the NetworkManager, the object/scene is not flagged for reserialization and may not be saved to disk.
To Reproduce
Steps to reproduce the behavior:

Create a saved scene on disk
Add a network manager to the scene
Note that the network manager will automatically add the registered scene, but because you just made a change it will be added correctly
Rename or Duplicate your scene
Open the scene but make no further changes
Select the NetworkManager (may not be necessary)
Observe that the NetworkManager automatically added your current scene to its settings, but no other changes were made to the scene
Close Unity
Notice that there is no "Unsaved changes" prompt

Expected behavior
When automatically updating serialized data in the network manager, the editor needs to be informed so that the data is saved correctly
Environment (please complete the following information):

OS: Win10
Unity Version: 2020.2.7f1
MLAPI Version: 0.1.0
MLAPI Commit: a0e87b3b79

Additional context
I mainly witnessed this behavior when running MultiPie. Because the configuration change is not saved, the remote client and server disagree on the network manager configuration. Users would likely observe the same behavior when testing their game with sym links.

Committed to via MTT-541


Update Newsletter theme CSS

Add some simple formatting to give the newsletter a facelift to match this theme.

How do you enable the newsletter features of this theme ?

How do you enable the newsletter features of this theme?

Do you have Micro.blog premium? The newsletter feature is part of the service itself, not the theme.
I looked at some CSS that will update the newsletter to match the theme, but it isn't straightforward. We can only do a few cosmetic tweaks.
I have some extra CSS in my Design page in my Micro.blog account that does this. I'll try to share the CSS soon.

Yes I do have Premium blog.rmendes.net I'll try to figure out where this is hidden, thanks for your answer and for this nice theme!

Thanks. You should have Newsletter in the left menu of your micro.blog account. Here is a screenshot of mine on mobile. On desktop it would be in the left menu.

If not, check Account > View Subscriptions. You may need to reach out to Micro.blog help if you still don't see it.


arrow functions - Basics require transpailer to be turn off to be accepted

In current version http://tddbin.com/#?kata=es6/language/arrow-functions/basics
first test will not pass with transipiler turn on. When it is off solution pass.
//solution to this requires transpailer to be turn off to be accepted. it('are shorter to write, instead of function(){}write() => {}', function() {     var func = function(){};     assert.equal('' + func, '() => {}');   });

http://tddbin.com/#?kata=es6/language/rest/with-destructuring
same for last example from this link


[Event Modification] Page 232 "Apply Customer Entries": procedure SetCustApplId(CurrentRec: Boolean)

OLD********
        OnSetCustApplIdAfterCheckAgainstApplnCurrency(Rec, CalcType.AsInteger(), GenJnlLine);
        CustLedgEntry.Copy(Rec);
        if CurrentRec then begin
            CustLedgEntry.SetRecFilter();
            CustEntrySetApplID.SetApplId(CustLedgEntry, ApplyingCustLedgEntry, "Applies-to ID")
        end else begin
            CurrPage.SetSelectionFilter(CustLedgEntry);
            CustEntrySetApplID.SetApplId(CustLedgEntry, ApplyingCustLedgEntry, GetAppliesToID)
        end;

        CalcApplnAmount();

NEW************
        IsSetApplIdHandled := FALSE ;
        OnSetCustApplIdAfterCheckAgainstApplnCurrency(Rec, CalcType.AsInteger(), GenJnlLine, CurrentRec, ApplyingAmount, ApplyingCustLedgEntry, GetAppliesToID(), IsSetApplIdHandled);
        if NOT IsSetApplIdHandled then begin
              CustLedgEntry.Copy(Rec);
              if CurrentRec then begin
                  CustLedgEntry.SetRecFilter();
                  CustEntrySetApplID.SetApplId(CustLedgEntry, ApplyingCustLedgEntry, "Applies-to ID")
              end else begin
                  CurrPage.SetSelectionFilter(CustLedgEntry);
                  CustEntrySetApplID.SetApplId(CustLedgEntry, ApplyingCustLedgEntry, GetAppliesToID)
              end;
        END;
        CalcApplnAmount();

CurrentRec: Boolean
ApplyingAmount: Decimal as var
ApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary as var
IsCalcApplAmountHandled: Boolean as var

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


VS Code uses all my ram and CPU (searchService)

When I open certain project directories (normally large ones), VS code starts immediately eating all my memory (12GB). Closing VS Code before it freezes my computer immediately clears all the RAM. I have disabled all extensions and the problem still persists, however only when I do a ctrl + E to search for files. As soon as I do that, my memory starts climbing until it reaches max memory and starts going into the swap. I've had this problem over a year ago and it has come back, often resulting in an unexpected freeze and crash of my OS. I limited the amount of files it can watch to as low as 8 and the problem still persisted when I tried to search for files. It's becoming extremely frustrating that apparently no one can replicate this problem even though quite a few people have reported this issue over the last year. If I look at the process explorer, I can see the RAM usage of searchService skyrocket. I have also set the following config, which has made no effect.
"files.watcherExclude": {
"/.git/objects/": true,
"/.git/subtree-cache/": true,
"/node_modules/*/": true
}
If there's any way I can help diagnose or fix this problem, let me know. My project directory has 566 subfolders and 4373 files, if that helps. I've opened larger directories with no problem whatsoever, so I don't think it's just specific to the file count.

Is it possible that you have symlinks leading outside of your workspace causing a search to include many other files? You can try disabling search.followSymlinks.
Also when this is happening do you see an rg process using lots of CPU or memory? It's surprising to me that searchService would be the one using lots of memory.

Thanks for the quick response @roblourens! You are amazing. Disabling  search.followSymlinks did the trick. VS Code is working perfectly again.
Using a htop I do see an rg process consuming lots of CPU and memory..
Is this an issue and will it be fixed? If so, I can provide more information on my symlinks if needed

It's probably not a bug, it's likely that you have symlinks that lead out of your workspace and cause vscode to search much more than is needed.


{azurestackhci} and {k8sconfiguration} broken links in "List of available extension" report

Describe the bug
There are 2 broken links on the List of available extensions report:

https://github.com/Azure/azure-cli-extensions/tree/master/src/azurestackhci in line 55
https://github.com/Azure/azure-cli-extensions/tree/master/src/k8sconfiguration in line 125

Line 55: |azurestackhci | 2.15.0 | Microsoft Azure Command-Line Tools AzureStackHCI Extension | Experimental | 0.2.9 |
Line 125: |k8sconfiguration | 2.15.0 | Microsoft Azure Command-Line Tools K8sconfiguration Extension | Preview | 0.2.4 |
These are being reported on MSFT's Broken links report.
Related command
Command groups impacted:

azurestackhci
k8sconfiguration

Errors
404
Issue script & Debug output
See previous information.
Expected behavior
See previous information.
Environment Summary
See previous information.
Additional context
No response

Thank you for opening this issue, we will look into it.

Adding service attention label since this is non-customer reported thread.

@NarayanThiru, could you please help fix the broken links?

@NarayanThiru, I'm only finding the broken link, https://github.com/Azure/azure-cli-extensions/tree/master/src/azurestackhci in https://github.com/azure/azure-cli-extensions/blob/main/src/index.json which is then published in https://github.com/microsoftdocs/azure-docs-cli/blob/main/docs-ref-conceptual/azure-cli-extensions-list.md and ends up on MSFT's broken links report.


update plutus-metatheory documentation SCP-1451

By documentation I mean the clickable html rendering of the Agda code mostly.
The aim of this PR is to fix these problems

The README is out of date
I am not taking advantage of the support for .lagda.md to make nice looking clickable content that looks similar to the https://plfa.github.io/. Only a few files use this format and there is little commentary in the agda files.
This is also an opportunity for some general tidying. Especially using variable to cleanup type sigs a lot.

Plan:

Update README and turn it into installation instructions and a summary.
Turn the Everything.lagda file into a table of contents with an explanation of the structure.
Start to add to inline commentary in each agda file and convert files to .lagda.md format.

Current approach:
Get Agda to generate markdown files where the code blocks have been marked up (i.e., converted to html) but the rest hasn't. Use jekyll to generate a static html site from the markdown files. Use gh-pages to serve the site.

Jekyll site source: https://github.com/input-output-hk/plutus-metatheory/tree/jekyll
generated site source: https://github.com/input-output-hk/plutus-metatheory/tree/gh-pages
Rendered output: https://input-output-hk.github.io/plutus-metatheory/

Alternative/approved approaches:
There is no particular reason to use jekyll to generate html from markdown. Some other tool could be used or I think gh-pages could do this step itself. Or perhaps readthedocs/sphinx could be used instead.
Progress:

[x] Manually generate nice html from .lagda.md style literate agda
[x] Update README
[x] Update Table of Contents
[x] Update Types
[x] Update builtins
[x] Update Declarative Terms

For another PR:

[ ] Automate

To be done when these files are touched for other reasons:

[ ] Update Normal types (might delay until eta question is resolved)
[ ] Update Algorithmic Terms
[ ] Update Well-scoped terms
[ ] Update Untyped terms
[ ] Update type checker
[ ] Update plc-agda

We can probably set up a nice nix expression for this and stick it somewhere. I'm not sure how much the Jeykll site adds: you can just put raw HTML on GH pages, which I think would probably look better than the awkward blog frontend.

We can probably set up a nice nix expression for this and stick it somewhere. I'm not sure how much the Jeykll site adds: you can just put raw HTML on GH pages, which I think would probably look better than the awkward blog frontend.

We can probably set up a nice nix expression for this and stick it somewhere.

That would be great! This was just a first step.

I'm not sure how much the Jeykll site adds: you can just put raw HTML on GH pages.

My intention was to just using jekyll as to generate .html files from .md files with the default theme. I am serving raw html on gh pages.

which I think would probably look better than the awkward blog frontend.

I guess there are other jekyll themes I could use or I am happy to use some other tool to generate html from markdown. Phil and Wen's book looks pretty nice I think: https://plfa.github.io/Induction/.

We can probably set up a nice nix expression for this and stick it somewhere.

That would be great! This was just a first step.

I'm not sure how much the Jeykll site adds: you can just put raw HTML on GH pages.

My intention was to just using jekyll as to generate .html files from .md files with the default theme. I am serving raw html on gh pages.

which I think would probably look better than the awkward blog frontend.

I guess there are other jekyll themes I could use or I am happy to use some other tool to generate html from markdown. Phil and Wen's book looks pretty nice I think: https://plfa.github.io/Induction/.

Hm okay, I guess I don't know how the HTML gets generated normally. Don't you need to do some generation in order to get the clickable links etc working?

Hm okay, I guess I don't know how the HTML gets generated normally. Don't you need to do some generation in order to get the clickable links etc working?

Hm okay, I guess I don't know how the HTML gets generated normally. Don't you need to do some generation in order to get the clickable links etc working?

You start with a literate Agda file MyFile.lagda.md. Agda can convert this to MyFile.md which converts the code blocks to html with clickable links and leaves the surrounding commentary intact. You can then convert this to html with some other tool (e.g., jekyll).

Hm okay, I guess I don't know how the HTML gets generated normally. Don't you need to do some generation in order to get the clickable links etc working?

You start with a literate Agda file MyFile.lagda.md. Agda can convert this to MyFile.md which converts the code blocks to html with clickable links and leaves the surrounding commentary intact. You can then convert this to html with some other tool (e.g., jekyll).

Huh, it actually generates markdown rather than HTML? Interesting. We do then have to decide what we do with it to get the markdown then, I guess.

Huh, it actually generates markdown rather than HTML? Interesting. We do then have to decide what we do with it to get the markdown then, I guess.

rather annoyed I forgot to remove "WIP" from the title before merging :(

rather annoyed I forgot to remove "WIP" from the title before merging :(


Fix loading kernel specs from untrusted locations

Fixes #12039

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/release-2022.09.100@8370952). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 0873c0c differs from pull request most recent head f9c86a5. Consider uploading reports for the commit f9c86a5 to get more accurate results

@@                      Coverage Diff                       @@
##             release/release-2022.09.100   #12040   +/-   ##
==============================================================
  Coverage                               ?      43%
==============================================================
  Files                                  ?      305
  Lines                                  ?    23737
  Branches                               ?     4083
==============================================================
  Hits                                   ?    10359
  Misses                                 ?    12245
  Partials                               ?     1133


0.10.0dev - RFR - Rule should be part of packs (similar to actions and sensors)

What?
Previously, rules did not belong in a pack. So we were getting rules by name.
Now, rules belong to a pack and therefore we need to use 'ref'.
TODO

[X] - rulesregistrar fixes
[ ] - CHANGELOG
[ ] - Docs
[X] - CLI
[X] - WebUI - https://github.com/StackStorm/st2web/pull/138/files cc: @enykeev

CLI
(virtualenv)~/st2 git:rule_pack ❯❯❯ st2 rule list                                                                                ✭ ◼
+----------------------------------+----------+-------------------------+-------------+
| ref                              | pack     | name                    | description |
+----------------------------------+----------+-------------------------+-------------+
| examples.sample_notify_slack     | examples | sample_notify_slack     |             |
| examples.sample_on_actiontrigger | examples | sample_on_actiontrigger |             |
| examples.sample_with_timer       | examples | sample_with_timer       |             |
| examples.webhook_file            | examples | webhook_file            |             |
+----------------------------------+----------+-------------------------+-------------+
(virtualenv)~/st2 git:rule_pack ❯❯❯ st2 rule get examples.sample_notify_slack                                                                                ✭ ◼
+----------+------------------------------------------------+
| Property | Value                                          |
+----------+------------------------------------------------+
| id       | 55395c0b6d0aff6b8ed87fe5                       |
| ref      | examples.sample_notify_slack                   |
| pack     | examples                                       |
| name     | sample_notify_slack                            |
| enabled  | True                                           |
| action   | {                                              |
|          |     "ref": "slack.post_message",               |
|          |     "parameters": {                            |
|          |         "message": "{{trigger.message}}"       |
|          |     }                                          |
|          | }                                              |
| criteria | {                                              |
|          |     "trigger.channel": {                       |
|          |         "pattern": "slack",                    |
|          |         "type": "equals"                       |
|          |     }                                          |
|          | }                                              |
| tags     |                                                |
| trigger  | {                                              |
|          |     "type": "core.st2.generic.notifytrigger",  |
|          |     "parameters": {},                          |
|          |     "pack": "core"                             |
|          | }                                              |
+----------+------------------------------------------------+
(virtualenv)~/st2 git:rule_pack ❯❯❯

I assume, this also required related webui changes, right?

And probably also need to update CLI to also display ref.

Good points about the webui and CLI. Will note it in the TODO.

so this is gonna break backwards compatibility?

so this is gonna break backwards compatibility?

Unfortunately, yes. We can provide a migration script that deletes all rule models and reloads them from packs with the pack info.

@Kami @manasdk Let's decide about the backward compatibility part. This PR has been open for too long :P.

Can we some how preserve backwards compatiblity? Say assume pack is default if not provided.

also existing rules in DB can get new property filled in as a migrations script?

Can we some how preserve backwards compatiblity? Say assume pack is default if not provided.

Since rules would switch to using ResourceReference, backward compatibility would mean do a get_by_name (Which requires a data model that has name set to unique) and if that fails do a get by ref (Data model needs to be unique on ref). So to support both, we'd need to have both the data models somehow. It will add lot more complication to code.

All we need is to make sure that a default value is assumed? Why woudl we need to keep both model. I am thinking about making sure we go in an update all existing rule in an st2 install at upgrade.
Also, a rule which does not have pack can be assigned a value automatically.

We decided we'll run a pre-upgrade migration script that by passes mongoengine validation and writes to mongo directly with pack: default for all pre-existing rules, upgrade the bits and things should be fine.

+1


Dynamically changing NativeAdmobOptions on state change

I have a theme integrated into my application, is it possible to change the theme dynamically while the ad is visible

@XSiyabonga yes, u can change NativeAdmobOptions on setState


Incorrect directory for cloning operation

Updated the instructions and explanation to correct directory. (Also removed a random "The" that was hanging out in the instructions.)
@rloutlaw

@JasonFreeberg : Thanks for your contribution! The author, @rloutlaw, has been notified to review your proposed change.


Documentation for installing a new topology is missing

I would like to use the apache_hbase topology checked in on HBase master branch. There is no documentation for going from those files to something that will work.
I did try

Copying the apache_hbase topology files into clusterdock/clusterdock/topologies/. This does not work "build_cluster: error: argument topology: invalid choice: 'apache_hbase' (choose from 'nodebase', 'cdh')"

Setting CLUSTERDOCK_TOPOLOGY_IMAGE to the path clusterdock/clusterdock/topologies/apache_hbase. Yeah, this wasn't going to work because it expects a Docker repository ID, but it seemed the only other obvious thing to try.

No docs available for making a local topology image, so that's the end of the road presently.

Hey Andy,
If you check out the clusterdock repo and copy the apache_hbase folder into the topologies folder and then do docker build from the repo root, it will build that image. Then, you can specify the image name of your custom-rolled clusterdock image with CLUSTERDOCK_IMAGE when invoking clusterdock_run. If you name your own version cloudera/clusterdock, it may will be overwritten since we default to pulling the image normally (can be disabled with CLUSTERDOCK_PULL=false). I agree I need to get the docs away from their currently dismal state.

Tried this:

docker build -t clusterdock:apache_hbase_topology apache_hbase_topology
Add 'CLUSTERDOCK_TOPOLOGY_IMAGE=clusterdock:apache_hbase_topology' to command invocations.

build_cluster: error: argument topology: invalid choice: 'apache_hbase' (choose from 'nodebase', 'cdh')
And this:

cd apache_hbase_topology
docker build -t clusterdock:apache_hbase_topology .
Add 'CLUSTERDOCK_TOPOLOGY_IMAGE=clusterdock:apache_hbase_topology' to command invocations.

build_cluster: error: argument topology: invalid choice: 'apache_hbase' (choose from 'nodebase', 'cdh')

Here's what worked for me

cp -a apache_hbase_topology clusterdock/clusterdock/topologies/apache_hbase
docker build -t clusterdock:latest ./clusterdock

Proceed with new local clusterdock image 'clusterdock:latest'
Now I'm stuck with
"build_cluster: error: unrecognized arguments: --nodebase-image=centos6.6_nodebase"

Dropping the old '--nodebase-image' argument to build_cluster gets me further along, now
INFO:clusterdock.topologies.apache_hbase.actions:Building image docker.io/apache/clusterdock:centos6.6_java-8u91_hadoop-2.7.3-sfdc-1.0.0_hbase-0.98.22-sfdc-1.0.0...
Sending build context to Docker daemon 449.2 MB
Step 1 : FROM docker.io/apache/clusterdock:centos6.6_nodebase
Pulling repository docker.io/apache/clusterdock
Error: image apache/clusterdock not found
Fatal error: local() encountered an error (return code 1) while executing 'docker build -t docker.io/apache/clusterdock:centos6.6_java-8u91_hadoop-2.7.3-sfdc-1.0.0_hbase-0.98.22-sfdc-1.0.0 --no-cache /tmp/clusterdock/afc72cf9-0fbd-482f-ad91-88ceb396e551'
Aborting.

I have tried
CLUSTERDOCK_IMAGE=clusterdock:latest CLUSTERDOCK_PULL=false clusterdock_run
./bin/build_image centos6.6_nodebase
followed by
CLUSTERDOCK_IMAGE=clusterdock:latest CLUSTERDOCK_PULL=false clusterdock_run
./bin/build_cluster -o centos6.6_nodebase apache_hbase ...
CLUSTERDOCK_IMAGE=clusterdock:latest CLUSTERDOCK_PULL=false clusterdock_run
./bin/build_cluster -o centos6.6 apache_hbase ...
Step 1 : FROM docker.io/apache/clusterdock:centos6.6_nodebase
Pulling repository docker.io/apache/clusterdock
Error: image apache/clusterdock not found
Fatal error: local() encountered an error (return code 1) while executing 'docker build -t docker.io/apache/clusterdock:centos6.6_java-8u91_hadoop-2.7.3-sfdc-1.0.0_hbase-0.98.22-sfdc-1.0.0 --no-cache /tmp/clusterdock/384dc3e4-09d7-4b4b-8c19-048b4aa9ef66'
Aborting.
How do I get this to stop trying to pull a nonexistent OS image from docker.io/apache/... ?

Well, for now I can move forward by changing apache_namespace to "cloudera" in constants.cfg  :-)

Sorry, wasn't getting notifications on this issue. So the two parts of naming an image (and deciding where to get base images) are the --registry-url/-r and --namespace arguments to the ./bin/build_cluster (or ./bin/start_cluster) scripts. As it stands, the Apache HBase topology will default to using the apache_namespace if no --namespace is specified. Try this workflow:

From the hbase/dev-support/apache_hbase_topology folder, run docker build -t dev/clusterdock:apache_hbase_topology ..
Assuming you've sourced the clusterdock.sh script (we should get a copy of this with defaults set for the Apache Bintray account checked in...), build the centos6.6_nodebase image: clusterdock_run ./bin/build_image --namespace=dev centos6.6_nodebase.
Build an HBase image: CLUSTERDOCK_TOPOLOGY_IMAGE=dev/clusterdock:apache_hbase_topology clusterdock_run ./bin/build_cluster --namespace=dev apache_hbase ....

I'll try to get on updating the HBase ref guide (and also pushing images of the centos6.6_nodebase and apache_hbase_topology itself into our apache/hbase Bintray) in a few days when I have some more time.


Using oauth2 gem with Rails authorize_url seems to get changed

Hi
Beginner question so apologies if obvious....
I am trying to authenticate using oauth2 against a 3rd party API.
I am using the ruby gem oauth2 - https://github.com/oauth-xx/oauth2
The "authorize_url" method insists on adding an oauth subfolder to my URL.
So I want this: https://oauth.companyname.com/authorize?
But I get: https://oauth.companyname.com/oauth/authorize?
client_id = "Demo"

client_secret = "blablabla"

site_path = 'https://oauth.companyname.com'

client = OAuth2::Client.new(client_id, client_secret, :site => site_path)

client.auth_code.authorize_url

Why is this happening and how can I solve it please?

@Simonp27 Are you using the current master, or the latest released gem?  Please test again latest master.  We are getting close to a 2.0 release, and there are many unreleased fixes in master.

An absolute URL should do the trick. https://github.com/oauth-xx/oauth2/issues/79
site_path = 'https://oauth.companyname.com'
auth_url = 'https://oauth.companyname.com/authorize'

client = OAuth2::Client.new(client_id, client_secret, :site => site_path, :authorize_url => auth_url)

Also, if needed, you can use an absolute URL for your token_url too.


Support for React v15

Can we get an updated 0.2.x version that adds a peer dependency on react v15? Thanks, love this package. ;-)

+1 v15 would be great. Thank you for the great package

There's a pull request #24 but it'd be much better to just keep React as a peer dependency.

@jharris4 keeping it as  peer dependency may break when new version comes out.

just pointing out that this is in #28
But doesn't look like the repo is getting much attention these days.


replace hdfs dfs with the more generic hadoop fs

[x] replace hdfs dfs invocations with hadoop fs so that it is more generic and can work with more backends than just hdfs.
[x] parameterize the fs_superuser to run hadoop commands as

:+1: LGTM


Separate parsing of tags and add zsh completion

I separated the parsing of the tags into a function and added some tests for it. Additionally added zsh completion.

Looks great, good job!
I will merge this to my branch and we shall keep waiting that upstream approves my merge request.


emoji: Write "original" file before attempting resize.

Resizing emoji can fail, especially for animated GIFs; in such cases,
it is useful to have the original data on hand, to be able to dissect
the failure.
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv!


Add tokio-based async stream support

The readyness detection depends on epolling the WaitObject's underlying FD. So this is unfortunately not portable to windows. Maybe some Windows person can add support.

Thanks, this is great. In the tokio-stream branch I just made here, I made a few minor fixes so it builds on Windows.
The grab example is no longer runs with the new stream feature enabled, which I think it problematic. See traceback below. Simply converting the example to use a tokio reactor and using the new feature is not an option because the example should continue to compile and run in Windows. Also, even on linux, it should continue to run with the new feature enabled (as I tried here). So, we need to think of a way to handle this.
strawlab@flycube10:~/src/pylon-cxx$ RUST_BACKTRACE=1 cargo +nightly run --example grab --features stream,backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
     Running `target/debug/examples/grab`
Using device "acA1300-200um"
thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/strawlab/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/context.rs:29:26
stack backtrace:
   0: rust_begin_unwind
             at /rustc/4e0d3973fafdfb1c51011bc74e44257b5e3863f1/library/std/src/panicking.rs:495:5
   1: core::panicking::panic_fmt
             at /rustc/4e0d3973fafdfb1c51011bc74e44257b5e3863f1/library/core/src/panicking.rs:106:14
   2: core::panicking::panic_display
             at /rustc/4e0d3973fafdfb1c51011bc74e44257b5e3863f1/library/core/src/panicking.rs:62:5
   3: core::option::expect_failed
             at /rustc/4e0d3973fafdfb1c51011bc74e44257b5e3863f1/library/core/src/option.rs:1638:5
   4: core::option::Option<T>::expect
             at /rustc/4e0d3973fafdfb1c51011bc74e44257b5e3863f1/library/core/src/option.rs:709:21
   5: tokio::runtime::context::io_handle::{{closure}}
             at /home/strawlab/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/context.rs:29:13
   6: std::thread::local::LocalKey<T>::try_with
             at /rustc/4e0d3973fafdfb1c51011bc74e44257b5e3863f1/library/std/src/thread/local.rs:399:16
   7: tokio::runtime::context::io_handle
             at /home/strawlab/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/runtime/context.rs:27:15
   8: tokio::io::driver::Handle::current
             at /home/strawlab/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/io/driver/mod.rs:263:13
   9: tokio::io::async_fd::AsyncFd<T>::with_interest
             at /home/strawlab/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/io/async_fd.rs:190:51
  10: tokio::io::async_fd::AsyncFd<T>::new
             at /home/strawlab/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.17.0/src/io/async_fd.rs:180:9
  11: pylon_cxx::InstantCamera::start_grabbing
             at ./src/lib.rs:540:28
  12: grab::main
             at ./examples/grab.rs:20:5
  13: core::ops::function::FnOnce::call_once
             at /rustc/4e0d3973fafdfb1c51011bc74e44257b5e3863f1/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Adding an async-grab example depending on the stream would also be a welcome addition - just porting one of your tests to a standalone program would be fine for that.
I sent you an invite to join the team and you could build off the tokio-stream branch or you could pull these changes and push into your own branch which would could then merge. The advantage of building in the tokio-stream branch here is that I could follow up with further commits. (Or you could add me to your repo and I could push there.)
Windows is becoming my normal dev platform these days but I don't know really anything about the internals of async programming with it, so I'm unlikely to implement the required changes anytime soon.  Help on that from any source is welcome.
Thanks again, this is great.

Ahh, I see I can just push to your branch. So I did that and deleted by branch here.

Hey Andrew, I fixed the feature-issue and added an async-grab example. Unfortunately I can't help with the windows implementation.

great, thanks again. I will put out a new release in the next day or so.

I just published pylon-cxx 0.3.2 with this change and added you to the author list.
I hadn't noticed your crate, thanks for pointing that out.
This pylon-cxx crate is a cxx-based rewrite of my own earlier not-published pylon crate. (I always used the c++ pylon libs because pylonc wasn't available on Mac when I last checked. Certainly wrapping pure c would be easier than wrapping c++.)
I don't have a desire to rename things, but I would be happy to support you doing that if you think it is better. I think a minimal variant is simply updating the README of relevant other crates is usually sufficient.


Support configuration files

In the long run, we want to support providing config files to specify the workflow and parameters.
Usage options:
python -m webs.run {app} {args}
python -m webs.run {app} /path/to/config.toml

In this case, there's two positional arguments, app which is required and config which is optional.
I also don't think it's necessarily the case that we need to support all options in the CLI.
We need to support the following:

[ ] Provide config file to CLI
[ ] Merge config file with CLI options to create global config
[ ] Save global config to file in run directory
[ ] Have a mechanism for create subconfigs for different aspects of the workflow.

Example config?
[application]
name = 'cholesky'
matrix_size = 100
block_size = 25

[engine.executor]
name = 'process-pool'
max_processes = 10
multiprocessing_context = null

[engine.filter]
name = 'object-size'
min_size = 0
max_size = null

[engine.transformer]
name = file
file_dir = './cache'

[run]
run_dir_format = runs/{name}-{timestamp}
task_record_file_name = tasks.jsonl

[run.logging]
log_file_level = INFO
log_file_name = log.t
log_level = INFO


Add bounds on max oom_score_adj value for AdjustOOMScore

oom_score_adj must be in the range -1000 to 1000. In AdjustOOMScore if containerd's score is already at the maximum value we should set that value for the shim instead of trying to set 1001 which is invalid.
Fixes #4837
Signed-off-by: Simon Kaegi<EMAIL_ADDRESS>

/ok-to-test

Looks like you don't have a valid DCO on all commits. It is probably better if you just squash these commits together and make sure it's signed.

I wasn't sure how to write a unit test that exercised this particular case but  did run a manual test to confirm our CI case works by patching docker:20-dind and validating in my environment where the oom_score_adj is 1000.
FROM golang:alpine as build
RUN apk add git make build-base btrfs-progs-dev && \
    go get github.com/containerd/containerd && \
    cd /go/src/github.com/containerd/containerd && \
    git fetch origin pull/4845/head:pr && git checkout pr && \
    make && make install

FROM docker:20-dind
COPY --from=build /usr/local/bin/ctr /usr/local/bin/
COPY --from=build /usr/local/bin/containerd /usr/local/bin/
COPY --from=build /usr/local/bin/containerd-shim /usr/local/bin/
COPY --from=build /usr/local/bin/containerd-shim-runc-v2 /usr/local/bin/

Is there anything more to do here?
The one failing test above seems unrelated and perhaps an intermittent issue??
    --- FAIL: TestSnapshotterSuite/DevMapperUsage (0.86s)
Error:         snapshotter_test.go:141: assertion failed: expression is false: layer2Usage.Size < sizeBytes+256*dmsetup.SectorSize


Fix the behavior of {{{s when delimiters change

Coverage increased (+0.2%) to 84.653% when pulling 1328c5e6631a3b87b63c10c0409fae718620fdf0 on neongreen:unescaped into e8a4731750b61ab38ce9d79d61e3a87783b4d7d5 on stackbuilders:master.

Thanks!


Update Program.cs

What are you fixing?

Hi @ErikEJ. Just two things:

ParamServer and QueryInput are private classes which are not derived in the current assembly, therefore they could be marked as sealed for performance reasons.
FirstOrDefault was invoked by GetManifestResourceNames, but I understand using Array.Find is a faster approach.


Problem building Ghidra

Seems like a linker problem against util:

Task :Framework-Debugging:linkExpCreateThreadExitWin64Executable FAILED
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lutil
collect2.exe: error: ld returned 1 exit status

Task :Framework-Debugging:linkExpCreateProcessWin64Executable FAILED
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lutil
collect2.exe: error: ld returned 1 exit status

another informative outpt:

What went wrong:
Execution failed for task ':Framework-Debugging:linkExpCreateThreadExitWin64Executable'.

A build operation failed.
Linker failed while linking expCreateThreadExit.exe.
See the complete log at: file:///C:/Users/Test/Desktop/ghidra-master/ghidra-master/Ghidra/Debug/Framework-Debugging/build/tmp/linkExpCreateThreadExitWin64Executable/output.txt
Linker failed while linking expCreateThreadExit.exe.

any help will be much appreciated

Ghidra requires Visual Studio to build on Windows.


realdirpath not working

require 'fakefs'
Pathname.new('/tmp').realdirpath

And I get:
NoMethodError: undefined method realdirpath' for FakeFS::File:Class from /home/gokul/.rvm/gems/ruby-2.1.2/gems/fakefs-0.5.2/lib/fakefs/pathname.rb:274:in realdirpath'
Tried both 0.5.2 and master.

refer:https://github.com/defunkt/fakefs/pull/239


Autocomplete showsuggestions event provide inconsistent input value

Expected Behavior
Logs:
""
" "
"te"
"test"
"test"
"test"

Actual Behavior
Logs:
""
" "
"te"
"test"
"test"
" TEST "

Reproduce Scenario (including but not limited to)
Steps to Reproduce

visit the playground (see below)
focus the autocomplete field
enter TEST (with surounding spaces)
open browser devtools console

Browser name/version/os (ie Chrome Version 62.0.3202.94 (Official Build) (64-bit) MacOS)

Chrome 115.0.5790.56 64-bit Windows 10
Firefox 116.0b3 Windows 10

Coral Spectrum version
4.15.20
Sample Code that illustrates the problem (use the Playground if possible)
Playground example
Screenshots (if applicable)
N/A

The problem come from the different handling of inputValue:

https://github.com/adobe/coral-spectrum/blob/8d84df730d01a54151f1c0221178d58b060dfdfc/coral-component-autocomplete/src/scripts/Autocomplete.js#L1072
https://github.com/adobe/coral-spectrum/blob/8d84df730d01a54151f1c0221178d58b060dfdfc/coral-component-autocomplete/src/scripts/Autocomplete.js#L1148


TILA-739: GraphQL translations

UnitType and UnitByPkType (why do we have two types for the same data?):
ReservationUnitType, ReservationUnitByPkType (again why the duplication?):

@siren  Those ByPkTypes are there because they define extra fields (opening hours) which are not available for mass queries due to the potential high risk of (accidental) misuse of the queries to cause slowness in the system.


Port PCB Assembly doc to markdown

The doc to be ported
Refer to the project for context

I'll take this one

I'll take this one

When there's only one step in any given heading, should it be numbered 1?

When there's only one step in any given heading, should it be numbered 1?

Are 16 or 17 100nF Capacitors needed? The TeX said 17, but I think it's 17 (R1-R17, inclusive)

Are 16 or 17 100nF Capacitors needed? The TeX said 17, but I think it's 17 (R1-R17, inclusive)


Airkek Can i get 1k online ? I will pay

u need good private proxy

u need good private proxy

I was buy proxy premium from proxyscrape 20k proxy. Views stuck at 300.

how many threads do you use

I use shitty proxies and with 1000 threads it was 500 viewers

Ok , i will try thanks