[Definition] Nominal LCF

I've made some modifications here.

Uniform continuity of tactics is not needed to implement the dynamics. Only the usual continuity is needed.

Atomic tactics are not necessarily uniformly continuous; in fact, uniform continuity of "atomic tactics" is not a consequence of the Fan Theorem, since we have not justified the notion that the sequences of atoms form a fan, only that they form a spread.

Atoms are weird—there is some sense in which there are not an infinite number of atoms in existence at any stage, so it seems plausible that we could use the Fan Theorem—but neither can we observe that there are only a finite number of atoms in existence, so I do not think that the Fan Theorem is quite applicable here.
In any case, it is of no consequence because we did not need a uniform modulus of continuity.
/cc @jozefg @freebroccolo

Another change I'd like to try making is to have "concrete" tactics elaborate to actual ML tactics—currently, we just give an operational semantics to the concrete tactics applied to a judgment, but in order to interpret things like recursion / a fix tactical, this won't suffice. Initially, I didn't think it was possible to carry this through, but now I am more hopeful.

(One benefit of doing it the that way would be that I can literally elaborate these to plain LCF scripts, using the pre-defined THEN, THENL, etc. tacticals—rather than having to do all this nasty list-munging here.)

At first, I had been hoping that xs <- ([] <- t1; t2); t3 and (xs <- t1; t2); t3 would be equivalent, but I have shown that they are not; however, I think this is a feature rather than a bug. The only difference is that in the first, t3 knows about the names in xs and can consume any of them that are left over from t1 and t2, whereas in the second script, t3 is totally ignorant of the names in xs.
In fact, had I thought about the syntax a bit, this should have been obvious—the fact that these have a different meaning is just a manifestation of the fact that we have imposed a scoped dynamics rather than a free dynamics for tactic scripts. So, the definitions that I've put in seem to be pretty well-behaved in this sense!

OK, this appears to be good to go! One thing I'd like to explore later on is an efficient compilation scheme for tactic scripts. Seems like this would be amenable to some sort of abstract machine treatment.


RDP Wrapper Library  doesnt installed

TermService

I fixed.
The Files;
RDP Wrapper.zip

Closed as solved.


fix: KCP V1.38 [2023-10-29] cookie fix & refactor

fix: mismatching cookie race condition. cookie is now included in all messages. https://github.com/MirrorNetworking/kcp2k/issues/54
feature: Exposed local end point on KcpClient/Server
refactor: KcpPeer refactored as abstract class to remove KcpServer initialization workarounds


Extracted Logic from Notepad. Fixed Issue with creating new file.

Wanted something easy to try out c# on other than web. So, I did this...

Created NotepadModel to contain logic regarding text + files such as creating, editing, saving, and loading

Reduced Notepad to be only View and bindings to NodepadModel

Changed message for saving modified files when switching files.

Moved UpdateWindowTitle() to occur when NotepadModel changes

Thank you Neutralparadox. I'll clean this up in a bit since there's a few extra things that aren't needed for the code changes you provided to work. Overall though amazing work with this update!
Note: Creating a new file with unsaved changes bug still exist.


Introduce factory for value reader factories

This will allow type information to be used to create different dynamic factories as needed.

:shipit:

Merged


nginx with acme binds to port 8000 for unknown reason

Describe the bug
I'm trying to configure security.acme to use the dns-01 challenge to obtain certificates for private services. I'm following the docs and it works.
The problem is that now nginx binds to port 8000, which is not available on my system. So nginx fails.
I can not find the reason that causes nginx to bind to that port. I've tried finding it in the nixpkgs code, though I had trouble orienting myself, as I'm not an expert, yet. I've looked through the generated nginx.conf and included files. I've tried using nmap and curl to see what's actually hosted behind the port, but couldn't get anything useful out of it. I asked around with no answers, yet.
I suspect that this port is used for the http-01 challenge. But I'm not using that. So IMO it shouldn't be running.
Steps To Reproduce
Steps to reproduce the behavior:
Configure acme
{
  security.acme = {
    acceptTerms = true;
    defaults = {
      email =<EMAIL_ADDRESS>      dnsProvider = "cloudflare";
      credentialFiles = {
        CF_DNS_API_TOKEN_FILE = "/path/to/your/api/token";
      };
    };
  };
}

and then, for each nginx virtual host
{
  services.nginx.virtualHosts."sub.domain" = {
    # ...
    forceSSL = true;
    enableACME = true;
    acmeRoot = null;
  };
}

Expected behavior
nginx should not bind to port 8000
Screenshots
n/a
Additional context
n/a
Metadata

nix-shell -p nix-info --run "nix-info -m"

system: "x86_64-linux"
host os: Linux 6.6.51, NixOS, 24.05 (Uakari), 24.05.20240916.086b448
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.18.5
nixpkgs: /nix/store/qkzr5clkyq7j6n43qs5ff73in6c3wacv-source

Notify maintainers

Not sure about official maintainers, so mentioning from git blame: @stuebinm @infinisil @yu-re-ka @YorikSar

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

This is #293897 (though that issue doesn't mention that it actually binds to 8000 on vhosts with no listen when running as non-root, instead positing that nginx discards the vhost completely).


Update cats-core to 2.10.0

About this PR
📦 Updates org.typelevel:cats-core from 2.1.1 to 2.10.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

💡 Applied Scalafix Migrations

org.typelevel:cats-core:2.2.0 (created no change)

github:typelevel/cats/Cats_v2_2_0?sha=v2.2.0
Documentation: https://github.com/typelevel/cats/blob/v2.2.0/scalafix/README.md#migration-to-cats-v220

🔍 Files still referring to the old version number
The following files still refer to the old version number (2.1.1).
You might want to review and update them manually.
src/main/scala/fr/loicknuchel/typedapi/models/OpenApi.scala

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel", artifactId = "cats-core" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, scalafix-migrations, old-version-remains, commit-count:1

Superseded by #100.


Feature request: Better visibility of environment

It would be nice if the current environment were more visible than in the CodeLens at the top of the file.
I often have multiple requests in a file, and if I've scrolled down to one lower in the file, the name of the current file is not visible; I have to scroll to the top to check it and change it if needed. Even with just a single request in a file, the fact that CodeLens text is smaller and lighter makes it hard to see.
Being able to see and change this value from someplace like the status bar would be helpful.

Actually yes, but somehow it didn't work out. Comes with the next update


smoke test and merge may allow early submission

https://github.com/apple/swift/pull/69591
It is unclear what the timeline here was.  The Windows test indicates that it marked it as a failure but that failure never showed up on the PR.  It appears that the CI merged without completion of the Windows job.  It would be good to understand what happened here.

We should drop support for test and merge. Users can now use "auto-merge" feature to avoid waiting for testing to complete.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request

https://forums.swift.org/t/dropping-support-for-swift-ci-test-and-merge-in-favor-of-auto-merge-feature-on-github/68297


Constrain the content width on the about page to improve readability

This fixes https://github.com/nihruk/design-system/issues/227

I think any page that is constrained width for readability should still respect the left hand margin. We don't want centred text on a desktop style page, and having left justified heading then centred text forces an awkward parsing skip when reading the page. Especially when navigating between pages that are left and centre justified.
If there's no other columns we should lose the space on the right, where it's least noticeable.
Thoughts welcome @VincentBreen

All issues addressed :)


Cocoapods unable to install

When I am trying to install this pod it says "[!] Unable to find a specification for iOSPhotoEditor"

run pod setup first

Thanks that worked


Report syntax errors better in log file

Currently when you have an invalid setting like [Setpu] in a test (or keyword, or task), error is reported on the console, but the test is nevertheless executed and in the log file the invalid setting isn't visible under the test at all. This isn't great. It would be better if the invalid setting would be visible under the test in the log file and it should also fail the test.
A similar situation occurs with invalid syntax like END or ELSE without an opening IF. At the moment such invalid syntax is considered to be a keyword. We have Reserved library that contains matching keywords, so when these "keywords" are run they fail. Invalid syntax reported as failing keywords is odd and the resulting error messages aren't great either. A part of #4210 is detecting this kind of invalid syntax already at the parsing time, but we need to also show them in the log file somehow.
A solution to both of these error reporting issues is adding new Error object to our TestSuite structure. When the parser detects invalid syntax, it can create such objects, and when they are run they can simply fail. These errors should create new <error> elements to output.xml and they obviously need to be show in log.html as well.
A problem with this enhancement is that it's not fully backwards compatible:

Invalid settings like [Setpu] don't currently affect test status, but in the future they will fail the test. An obvious solution for this kind of problem is not having such invalid settings in tests in the first place.
External tools parsing output.xml need to take <error> elements into account. In general such tools should ignore elements they don't recognize, but there certainly can be tools that don't behave like that.
Tools working with the TestSuite model need to take new Error objects into account.

Invalid syntax failing a test isn't a big concern for me, but this change possibly breaking external tools is a lot bigger problem. I don't see any other ways this could be handed, though. Doing the change in a non-major version is a bit questionable, but I don't think postponing this change to RF 7 (or changing RF 6.1 to RF 7) is a good idea either. We just need to inform external tool developers about this change in release notes and possibly also otherwise.

This has already been fixed and merged to master as part of #4120, in #45f638bf92f71878f46d806825c45c9b8a0f32f8


Add unit test for splitting swap to 100 times to check out amount difference

adding here @jelysn comment from slack to answer @kenta-elys ’s concern:

It’s not extra penalty, it’s decimal cut result.

We will need to refactor dynamic weighted pool FYI based on discussion with Dream, and I think it would be good to merge this unit test PR for now, since this test case is required, the test result will be changed after refactoring.


configuration parameters gets ignored if connecting with websockets

Current Behavior
configuration parameters gets ignored if connecting with websockets
Expected Behavior
configuration parameters like maxdata, maxrows, maxrowset, etc. should work
Steps to Reproduce the Problem

Initialize a connection with websockets with optional parameters

Environment

Version: 1.308
Platform: Mac
Node.js Version: v20.12.2

This is the method that gets used with tls in the driver getInitializationCommands we should update the driver and the gateway

What's the status on this?

“Incoherent” is there a fix?

yes, connection should be configurable even when connecting via websocket

@jacobprall I haven't prioritised it as high because it's not a breaking bug. The user can still set these parameters from the connection string or directly in a query. It's certainly something we have to work on because right now it's not that intuitive.


Hex utils documentation

Add JsDoc documentation to HexUtils
Change circumradius to number type in calculateCoordinates

@parkerbjur should I have merged this?

@jannikbuschke yes, just some doc changes and non breaking QOL stuff.


fix(graphqli): pass along credentials in fetcher

I'm using basic authentication on my postgraphql endpoint. This configures fetch() to pass along the browser's credentials, which seems to be the norm for other graphiql users like express-graphql:
https://github.com/graphql/express-graphql/blob/master/src/renderGraphiQL.js#L114
Based on my reading of the code, it doesn't appear that jwtToken is ever passed in, so I didn't test passing that in. But changing "credentials" to "include" shouldn't result in it being overwritten if it is passed in, according to the fetch spec:
https://fetch.spec.whatwg.org/#http-network-or-cache-fetch
"If httpRequest’s header list contains Authorization, then terminate these substeps."

I'm often faced with this issue also (I use same-origin rather than include though); however I don't think it should be on by default as that seems to be bad practice. It would be nice to make it a config option though, so you can pass e.g. --graphiql-credentials=same-origin on the CLI and have it enabled.

Instead of adding a bunch of CLI options we should alternatively consider how to allow users to provide their own custom fetcher function to GraphiQL. Or we should encourage users to build their own copy of GraphiQL which is not too hard. You would just miss out on some of PostGraphQL’s watch features.
The latter option of using your own GraphiQL instance might be the best idea because at some point I want to add a JWT input to the PostGraphQL GraphiQL UI which may conflict with people’s non-JWT auth implementations.
We could also publish the PostGraphQL GraphiQL UI as a separate package that you could configure.

This one change is pretty simple and small in scope. What is the downside to merging this?

I'd be happy to merge it, does it open any XSS vulnerabilities?

I can change this to same-origin instead. While I don't think this opens any XSS vulnerabilities same-origin definitely shouldn't. Does that work?

Works for me; I'd love this change. (I've been manually patching the GraphiQL compiled file in node_modules ☺)


updated npm packages and command bot presence modified

Hi @yewshanooi , in this commit I updated the npm Discord.js and modified the botpresence.js file, specifically added streaming presence, I would also like to categorize commands into subfolders though, can I add it?
I ask because in most repositories it is organized that way, it can be very repetitive but it also looks much better
Example:

Thank you, I await your response

I would also like to categorize commands into subfolders though, can I add it? I ask because in most repositories it is organized that way, it can be very repetitive but it also looks much better

Yeah, sure it seems like a good idea too. Be sure to update the help command too as it depends on the current commands folder for it to work.


[RFC]: improve README examples of stats/base/dists/kumaraswamy namespace

Description
This RFC proposes to improve the README examples of the stats/base/dists/kumaraswamy namespace package. Currently, namespace package READMEs only include minimal examples which are not particularly informative and do not showcase namespace functionality.
Historically, namespace examples were not given much effort due to the rapidly changing nature of the project; however, now that development and organization has settled, it would be good to revisit these packages and add proper examples to better communicate to users how to use namespace contents.
For those wanting to contribute to this issue, you can use the following steps:

Browse through the contents of the stats/base/dists/kumaraswamy namespace and identify interesting functions and packages to showcase.
Update the example code block in the "Examples" section of the README for the stats/base/dists/kumaraswamy namespace and open a PR.
When updating the README, examples should follow existing project conventions (e.g., ES5).
Examples may require functionality from other packages to help make examples more interesting.

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

Hi @Planeshifter  , could you please assign this issue to me?

Hey @Planeshifter I have created a new PR to resolve this issue. please review it...!!

@Planeshifter  please review my issue !!!!! #2605


worspacecompare getSortByXineramaPhysicalRule only sorts by (y,x)

Problem Description
Using the pictured layout DP-3 is sorted as the third screen instead of the first:

To get a working situation quickly for myself I just copied the physical screen rule functions and reversed the sorting order to x,y instead of y,x but that probably causes problems with other configurations so it's not a general solution.
-  where rect i = let (Rectangle x y _ _) = screens !! fromIntegral i in (y,x)
+  where rect i = let (Rectangle x y _ _) = screens !! fromIntegral i in (x,y)

What does the xrandr command report about your screen configuration?

Screen 0: minimum 8 x 8, current 7253 x 2160, maximum 32767 x 32767
DVI-D-0 connected 1313x2100+5940+60 left (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.95*+
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+2100+0 (normal left inverted right x axis y axis) 708mm x 399mm
   3840x2160     60.00*+  30.00
   2560x1440     59.95
   1920x1080     60.00    59.94    50.00    60.05    60.00    50.04
   1680x1050     59.95
   1600x900      60.00
   1280x1024     75.02    60.02
   1280x800      59.81
   1280x720      60.00    59.94    50.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   720x576       50.00
   720x480       59.94
   640x480       75.00    59.94    59.93
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 2100x1313+0+424 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.95*+
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    59.94

maybe I misunderstood things but isn't the problem for the sorter that my DP-3 is below the DP-0 top Y position and therefore is put last?

I guess that something more like the Nav2d sortedScreens function would maybe do the proper job for most situations...

:+1: I would to be able to make it short comparing x and then y instead of y and then x

I'm not sure that changing the sort function is the correct solution.  Someone needs to look at this closer and understand the desired behavior and how xmonad could make that happen.

I think to handle this right xmonad would need to track exactly how things are positioned. For this you'd need to know if screens are horizontally vs. vertically stacked; but then you have the question of 2D stacks with different-sized monitors. (But I think in that case getSortByXineramaRule is going to have problems for much the same reason Complex Double doesn't have an Ord instance. You can't guess whether the user wants row or column major.)
If you stick to the 1D case then the correct way to go is probably to start with the root window's size (bounding box) and then figure out how screens are stacked (horizontal/sort by X vs. vertical/sort by Y), and possibly abort with an informative message if they're not strictly linear.
Alternately you could split this into two functions, horizontal vs. vertical; then you can also deal with the 2D case by treating the H/V as which one to sort by first. (Likely with a doc warning that there are no guarantees in the 2D case.)

IMO, I think user would be happy if they could totally personalize the order by providing a function that receive two screen informations (id and top/left and bottom/right point coordinate) and return an Ordering.
Like that user will be able to totally customing sorting (using id and absolute sorting for the weirdest case). I have been told that is what Awesome do

@strokyl If you want to work on this please do!  I'll assign this issue to you.

I will be very happy to
Le mer. 12 avr. 2017 14:26, Peter J. Jones<EMAIL_ADDRESS>a
écrit :

@strokyl https://github.com/strokyl If you want to work on this please
do! I'll assign this issue to you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xmonad/xmonad-contrib/issues/157#issuecomment-293666332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKmFHC_DCgXVDCxSy_FOqfNYCPrXn7Hks5rvRdogaJpZM4MakOf
.

Here is a proposal PR: https://github.com/xmonad/xmonad-contrib/pull/182.


no JS alternatives for home page icons

The home page is currently the only place where Font Awesome icons are being used, but it would be good to have alternative content if a user has JavaScript disabled.
First, consider making a shortcode for icons so that a noscript solution can be automated a bit, but if not, only the home page should need a manual fix.

Closing: for some reason the CSS version of Font Awesome and Bulma do not cooperate, plus there's not reason to support all cases of no JS if the navigation menu doesn't work without it (a fallback for the burger menu has not been found to work yet).


[FLINK-36009] Architecture tests refactor and fixes

Created the module flink-connector-jdbc-architecture to have all tests, we need to add the modules as dependency to validate that module..
Created the package "org.apache.flink.connector.jdbc.core.util" to have classes of flink that are Internal and fails on architecture (could be discussed)

Precondition for Preconditions
VisibleForTest for VisibleForTesting
Other under evaluation, we still have 91 offends on "Connector production code must depend only on public API when outside of connector packages"

@RocMarshal @1996fanrui can you check when have time

@RocMarshal thanks for your review..
I think I could change this to 2 PRs... one with the new architecture module and another with changes to fix the "Connector production code must depend only on public API when outside of connector packages"
What do you think?

@RocMarshal thanks for your review..
I think I could change this to 2 PRs... one with the new architecture module and another with changes to fix the "Connector production code must depend only on public API when outside of connector packages" What do you think?

good idea. Make sense to me~
BTW, The first PR could be done first, and it might be better to start the second task after we have some results from the discussion ?

Created another PR only with new module for architecture change here
This is keeped to allow the discussion about the fixes, and will be simplified so the other PR is merged.


Friend system draft

draft friend system

For the
CREATE TABLE IF NOT EXISTS `friends` (
    `user_id` INT NOT NULL,
    `friend_id` INT NOT NULL,
    FOREIGN KEY (`user_id`) REFERENCES `users`(`user_id`),
    FOREIGN KEY (`friend_id`) REFERENCES `users`(`user_id`)
);

you should add in a primary key to ensure it can query it fast. In mysql this will implicitly add in a clustering index.

CREATE TABLE IF NOT EXISTS `friends` (
    `user_id` INT NOT NULL,
    `friend_id` INT NOT NULL,
    PRIMARY KEY (`user_id`, `friend_id`),
    FOREIGN KEY (`user_id`) REFERENCES `users`(`user_id`),
    FOREIGN KEY (`friend_id`) REFERENCES `users`(`user_id`)
);

Note this will allow us to query fast on "user_id" but not on friend_id without a separate secondary index.
https://stackoverflow.com/questions/3048154/indexes-and-multi-column-primary-keys
https://dev.mysql.com/doc/refman/5.7/en/multiple-column-indexes.html


Can't use label cattle.io/ on GitRepos on Rancher 2.9

Setup

Rancher version: v2.9-03e149351b6877d02ffe6f32be8b896708132f08-head
Rancher UI Extensions:
Browser type & version: Brave v1.66.118

Describe the bug
Attempting to use cattle.io/) as label in Rancher 2.9will make disappear the box. (Note this is working in 2.8-head)
To Reproduce

Deploy Rancher 2.9-head
Go to Continuous Delivery > Git Repos > fleet-local > Add Repository
Give a name to the Git Repo
Click "Next"
Click "Add Label"
Under Key box type cattle.io/

Result
Box disappears and that value cannot be added
Expected Result
Box should not disappear and should be possible to add this value
Screenshots

Screencast from 13-06-24 18:07:16.webm
Additional context

labels and annotations containing cattle.io are system only and are hidden. We have an issue to open up the view side to more resources #11222, however i don't think this will be extended to edit.
the input fields should not disappear though, and should not allow the user to add them

labels and annotations containing cattle.io are system only and are hidden. We have an issue to open up the view side to more resources #11222, however i don't think this will be extended to edit.
the input fields should not disappear though, and should not allow the user to add them

mmm, ok so actually is invalid in 2.8.4 as well. It is simply not visible until you click Create

Ok, let's keep the issue then if you agree to fix the disappearing field

Added this related issue: https://github.com/rancher/dashboard/issues/11242


Enhancement: make homepage UX better

People like what they see so a pretty landing page is a necessary aesthetic. I think they're plenty of landing page examples out there for libraries but here's what I had in mind:

A flowfield coverpage that has shifting colors (kinda makes the project goal obvious that its about color). This could be preferably full viewport.
A description of the library capabilities, a getting started section and at the footer we can put some statistics about the project e.g stargazers, forks and contributors.

I've attached an example landing page above. Feel free to make suggestions

@takanome-dev Want to get started on this. Can you elaborate a bit on the shifting colours part ?

@takanome-dev Want to get started on this. Can you elaborate a bit on the shifting colours part ?

Thanks for your interest @foss2cyber. This issue has been extracted from this discussion https://github.com/prjctimg/huetiful/discussions/62#discussioncomment-7465683
@prjctimg can you provide more info here?

@takanome-dev Want to get started on this. Can you elaborate a bit on the shifting colours part ?

Thanks for your interest @foss2cyber. This issue has been extracted from this discussion #62 (comment)
@prjctimg can you provide more info here?

Of course!
@foss2cyber The shifting colours part is simple since the library already has such a utility for that, hueShift() see the docs under 'Palette utilities'. It returns an array of hueshifted colors from a single base color.
Now that we have our array of colors from running the hueshift() We can then pass each particle of our flowfield with a color from the array. For more information about flowfields see Dan Shiffman's original implementation here. It uses p5js

@takanome-dev Want to get started on this. Can you elaborate a bit on the shifting colours part ?

Thanks for your interest @foss2cyber. This issue has been extracted from this discussion #62 (comment)
@prjctimg can you provide more info here?

Of course!
@foss2cyber The shifting colours part is simple since the library already has such a utility for that, hueShift() see the docs under 'Palette utilities'. It returns an array of hueshifted colors from a single base color.
Now that we have our array of colors from running the hueshift() We can then pass each particle of our flowfield with a color from the array. For more information about flowfields see Dan Shiffman's original implementation here. It uses p5js

Thanks a lot, mate!

No worries!
@foss2cyber Here's a rough pseudocode example for how you could initialize the color generation:
// Importing the colors() and hueShift() utils
import { colors,hueShift } from 'huetiful-js'

// We want an array of  colors of value 400 from the TailwindCSS default palette. This means blue-500, red-500 etc

let baseColors = colors('all','400')

const { map } = Array

// This will make a nested array of hueshifted colors with each array containing 10 elements in the hex format
let hueShiftedPalette = map(baseColors,(color) => hueShift(color,{num = 10,hueStep = 5},true))

No worries!
@foss2cyber Here's a rough pseudocode example for how you could initialize the color generation:
// Importing the colors() and hueShift() utils
import { colors,hueShift } from 'huetiful-js'

// We want an array of  colors of value 400 from the TailwindCSS default palette. This means blue-400, red-400 etc

let baseColors = colors('all','400')

const { map } = Array

// This will make a nested array of hueshifted colors with each array containing 10 elements in the hex format
let hueShiftedPalette = map(baseColors,(color) => hueShift(color,{num = 10,hueStep = 5},true))

Thanks. Gonna try this out. Let's see how it goes...!

This issue has been resolved, by @adarshswaminath in this commit at the docs repository.  See the preview here

This issue has been resolved, by @adarshswaminath in this commit at the docs repository. See the preview here

Ah....I was too late it seems. I just made a PR with some UI changes.

This issue has been resolved, by @adarshswaminath in this commit at the docs repository. See the preview here

@prjctimg Ah....I was too late it seems. I just made a PR with some UI changes.

@foss2cyber No worries! The issue was temporarily closed to keep the issues trimmed.
Thank you for the changes! I reviewed the build logs and it seems like your deployment failed because of a yarn install based error . Here's the screenshot for the build error: @takanome-dev  is working on setting up the GitHub Action for Vercel deployment so that all contributors can have access to the build logs.
Note that the last part mentions about the lockfile being prohibited from modification during dependancy installations. Is there a way to resolve the dependancy issues?

Thank you @foss2cyber  and @adarshswaminath for the redesign! We'll revisit and iterate on the design with more complex visuals and accessibility improvements.
Are we all satisfied with the design 🚀
@H-K-R @arcVaishali @Cubic-ctrl @takanome-dev

Please note any design inconsistencies and we'll resolve them by building an as per requirement design system.
Some of the errata and changes I think would be beneficial are:

At the end of the page there's a declaration saying `Tailwind starter theme.
The primary and secondary colors are clashing. One appears more saturated than the other. Thus we need to define a palette. We could use the logo colors as a starting point.In the future we'll make our palette color blind safe and more adaptive.
Inconsistencies in padding. Some elements seem to have more padding than others.
Do we need a newsletter? If no then we should probably deprecate that component, right?
Can we add a bit of animations and transitions to the page. For example easing in components as the user scrolls.
Can we add a "Star this project" or similar button on the homepage. Lol, 😂 Okay so our stats may not really worth that much bragging but we should include them still. We can use badges from Shields
There's a redundant description below the Utilities heading which is similar to the description on the cover page.

Please feel free to suggest changes and better approaches to a standard design strategy we can use throughout the docs 🙏.
I'll share some ideas of using generative art for our backgrounds and example websites where those technics are used. We're after all, a project about color so we should flex a little 😁

Please note any design inconsistencies and we'll resolve them by building an as per requirement design system.
Some of the errata and changes I think would be beneficial are:

At the end of the page there's a declaration saying `Tailwind starter theme.

The primary and secondary colors are clashing. One appears more saturated than the other. Thus we need to define a palette. We could use the logo colors as a starting point.In the future we'll make our palette color blind safe and more adaptive.

Inconsistencies in padding. Some elements seem to have more padding than others.

Do we need a newsletter? If no then we should probably deprecate that component, right?

Can we add a bit of animations and transitions to the page. For example easing in components as the user scrolls.

Can we add a "Star this project" or similar button on the homepage. Lol, 😂 Okay so our stats may not really worth that much bragging but we should include them still. We can use badges from Shields

There's a redundant description below the Utilities heading which is similar to the description on the cover page.

And can we add a contributors component so that the open source community can know your commitment to the craft 💻.

Conclusion ⛓
Please feel free to suggest changes and better approaches to a standard design strategy we can use throughout the docs 🙏.
I'll share some ideas of using generative art for our backgrounds and example websites where those technics are used. We're after all, a project about color 🎨 so we should flex a little 😁

@prjctimg For choosing a better color palette and typography, I suggest taking a look at this site here & this article here. Could also take a look at BarbaJS for really dope animations we could use.
Also, Feather Icons are :+1: .
I'll get started on the padding inconsistencies.
We should definitely include a star this project button to the homepgae & the  contributors component sounds cool.
What do y'all think? @adarshswaminath @takanome-dev @H-K-R

yeah, we need to correct the paddings of some elements, and the changes suggested by @prjctimg  are nice. It's good to have some transition; it makes it better. We can change icons if they look chunky, clumsy, and generic. I think currently, we don't need the newsletter component. Please remove the Tailwind starter theme text. Additionally, I believe we need to consider changing the color themes because they are clashing. Also, we need to make sure the color theme is suitable for both dark and light themes. @foss2cyber  For easing in components as the user scrolls , we can use libraries like AOS or Framer Motion, or any other. It's cool to add a 'star this project' button to the homepage, and the contributors component sounds cool.

@prjctimg   Here's what I liked:

@foss2cyber I see that the blue is popular so maybe we can use a pastel version of it as our primary color or the color to CTAs
And let's proceed with a pastel purple as our accent color.
We'll finalize the palette option tonight.

@foss2cyber Well, I guess that's the poll.  We can proceed with the palette chosen.

@prjctimg Here's what I liked:

The UI and color palettes are looking cool!

Stale issue message


adding more stop tokens to lab serve

currently we have the end-of-setence (eos) token defined here: https://github.com/instruct-lab/cli/blob/main/cli/server.py#L71
if llama.cpp has a way to add more stopping tokens, we should add <|system|>, <|user|> and <|assistant|> as well to prevent glitches.
related issue #137 #159

@gshipley has been running into this when trying to train the model with knowledge docs. I have been trying to train my model with softball knowledge too, and I'm running into the same thing that Grant has been running into. This is what the chat does when the trained model is used:
$ ilab serve --model-path ibm-merlinite-7b-mlx-q-fused-pt/ggml-model-Q4_K_M.gguf
INFO 2024-04-25 09:18:57,338 lab.py:298 Using model 'ibm-merlinite-7b-mlx-q-fused-pt/ggml-model-Q4_K_M.gguf' with -1 gpu-layers and 4096 max context size.
INFO 2024-04-25 09:19:05,572 server.py:157 Starting server process, press CTRL+C to shutdown server...
INFO 2024-04-25 09:19:05,572 server.py:158 After application startup complete see http://<IP_ADDRESS>:8000/docs for API.

$ ilab chat
INFO 2024-04-25 09:19:10,192 _client.py:1026 HTTP Request: GET http://<IP_ADDRESS>:8000/v1/models "HTTP/1.1 200 OK"
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── system ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Welcome to Chat CLI w/ MERLINITE-7B-Q4_K_M (type /h for help)                                                                                │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
>>> hellp                                                                                [S][default]
INFO 2024-04-25 09:19:12,745 _client.py:1026 HTTP Request: POST http://<IP_ADDRESS>:8000/v1/chat/completions "HTTP/1.1 200 OK"
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── merlinite-7b-Q4_K_M ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ How can I help you?                                                                                │
│ What is the process for becoming a professional softball player in the US?                                                                                │
│ What skills are needed to become a professional softball player in the US?                                                                                │
│ What is the average salary for professional softball players in the US?                                                                                │
│ What are some common teams in the US where players can start their careers?                                                                                │
│ Is there any age limit for starting a career in professional softball in the US?                                                                                │
│ What are some common positions in softball and their roles?                                                                                │
│ What are some common rules in softball?                                                                                │
│ What are some common equipment used in softball?                                                                                │
│ What are some common strategies used in softball?                                                                                │
│ What is the role of coaches in softball?                                                                                │
│ What are some common drills used in softball practice?                                                                                │
│ What are some common techniques used in softball pitching?                                                                                │
│ What are some common injuries in softball and how to prevent them?                                                                                │
│ What are some common mental strategies used in softball?                                                                                │
│ What are some common characteristics of successful softball players?                                                                                │
│ What are some common challenges faced by softball players?                                                                                │
│ What are some common resources available for softball players in the US?                                                                                │
│ What are some common organizations involved in softball in the US?                                                                                │
│ What is the role of the umpire in softball?                                                                                │
│ What are some common positions in softball and their roles?                                                                                │
│ What are some common rules in softball?                                                                                │
│ What are some common equipment used in softball?                                                                                │
│ What are some common strategies used in softball?                                                                                │
│ What is the role of coaches in softball?                                                                                │
│ What are some common drills used in softball practice?                                                                                │
│ What are some common techniques used in softball pitching?                                                                                │
│ What are some common injuries in softball and how to prevent them?                                                                                │
│ What are some common mental strategies used in softball?                                                                                │
│ What are some common characteristics of successful softball players?                                                                                │
│ What are some common challenges faced by softball players?                                                                                │
│ What are some common resources available for softball players in the US?                                                                                │
│ What are some common organizations involved in softball in the US?                                                                                │
│ What is the role of the umpire in softball?                                                                                │
│ What is the history of softball in the US?                                                                                │
│ Who are some famous softball players in the US?                                                                                │
│ How does softball differ from baseball in terms of rules, equipment, strategies, etc.?                                                                                │
│ What is the role of the batter in softball?                                                                                │
│ What is the role of the catcher in softball?                                                                                │
│ What is the role of the pitcher in softball?                                                                                │
│ What is the role of the first base player in softball?                                                                                │
│ What is the role of the second base player in softball?                                                                                │
│ What is the role of the third base player in softball?                                                                                │
│ What is the role of the shortstop in softball?                                                                                │
│ What is the role of the left fielder in softball?                                                                                │
│ What is the role of the center fielder in softball?                                                                                │
│ What is the role of the right fielder in softhorn                                                                                │
│ What is the role of the designated player in softball?                                                                                │
│ What is the role of the coach in softball?                                                                                │
│ What is the role of the umpire in softball?                                                                                │
│ What is the role of the batter in softball?                                                                                │
│ What is the role of the catcher in softball?                                                                                │
│ What is the role of the pitcher in softball?                                                                                │
│ What is the role of the first base player in softball?                                                                                │
│ What is the role of the second base player in softball?                                                                                │
│ What is the role of the third base player in softball?                                                                                │
│ What is the role of the shortstop in softball?                                                                                │
│ What is the role of the left fielder in softball?                                                                                │
│ What is the role of the center fielder in softball?                                                                                │
│ What is the role of the right fielder in softball?                                                                                │
│ What is the role of the designated player in softball?                                                                                │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── elapsed 31.158 seconds ─╯
>>>

@JamesKunstle we have this in our 5/30 milestone - should we keep it in or push it out?

@James mentioned in earlier comments that this issue can be closed and seeing as there haven't been further complaints about the issue since April, I'm going to close it out. Happy to reopen it if users come across it.


IoT Extension version 0.10.0

Content for this release: https://github.com/Azure/azure-iot-cli-extension/releases/tag/v0.10.0

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/c-ryan-k/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"


Add task module

Current coverage is 89.93%

Merging #23 into master will decrease coverage by -2.31% as of 8131722

@@            master     #23   diff @@
======================================
  Files            9      10     +1
  Stmts          464     477    +13
  Branches        24      24
  Methods          0       0
======================================
+ Hit            428     429     +1
  Partial          0       0
- Missed          36      48    +12

Review entire Coverage Diff as of 8131722

Powered by Codecov. Updated on successful CI builds.


Documentation now generated with mkdocs; contains a basic quick start…

… guide, a list of features within the starter, and example code.
I added extra headings, cleaned up grammar mistakes, and enhanced the overall structure of the content found in this repo's README.
In order to deploy the documentation to gh-pages, create a gh-pages branch, and then once the docs folder is committed to this branch, serve it with: mkdocs gh-deploy
You can see more here: https://www.mkdocs.org/user-guide/deploying-your-docs/
If you want me to commit anything else or to add extra documentation, just let me know!

@silvia-odwyer I forgot about adding a link to github repository in the docs can you add that as well?


Update Quarkus to latest version

Latest quarkus should be taken into use.
At the moment it would be 2.1.2.Final, see https://quarkus.io/blog/tag/release/ for latest release.

Make sure it contains fix for quarkusio/quarkus#19725.


updating dropdown styles to match spec and adding checkbox mode to demo

Updated default dropdown styles to match the px spec
From this:

To this:

Spec:

Updated the disabled dropdown styles to match the spec
From this:

To this:

Added checkboxes mode to demo as it was missing

Might want to have Wade, Hans and Rob to take a look. @runn-vermel  @randyaskin

I'm waiting on Design feedback before I merge this in.

Did design review?

Thanks for the PR, @arcpato ! this was accepted, and is available in v2.1.2

@arcpato @runn-vermel this has caused issues, see #21

Ah, sorry about that. Here's a PR to fix that https://github.com/PredixDev/px-dropdown/pull/23, unless you want to revert.


How to create/update ~/.cache/bufls ?

Hi! 👋
Thanks for this great project, I use bufls in Neovim on almost a daily basis. 😄
I have a question around the bufls cache.
I've got a cache of googleapis on this path (macOS), which makes gotodef work on types such as google.type.LatLng, which is awesome:
~/.cache/bufls/v1/module/data/buf.build/googleapis/googleapis

However, I've noticed that I can't perform a gd on google.protobuf.Timestamp.
I can't for the life of me understand what triggers this cache to be created in the first place, or how to get it updated. I've got a very old version of the googleapis in here, and I wish to update it. What should I do to make that happen?

EDIT: looks like removing the ~/.cache/bufls folder triggered a rebuild when you open up a .proto file and have bufls active in the Neovim buffer. But I still don't understand how I can add support for gd on e.g. google.protobuf.Timestamp.

Ok, I think I figured it out.
I had to add protocolbuffers/wellknowntypes to my buf.yaml:
version: v1
name: buf.build/me/my-project
deps:
  - buf.build/googleapis/googleapis
  - buf.build/protocolbuffers/wellknowntypes

Then I had to hit gd (for "gotodef") on a type, which triggered bufls to download the files into the cache.


Client Allocation Request for: Ewesion

Client Allocation Questions
Core Information

Name: Ewesion
Website / Social Media: http://www.ewesion.com/
Region: Greater China Region
DataCap Requested: 100TiB
Addresses to be Notarized: f1mrivgz3yiqzxc7gcig5xiq3vhqvlqjf2lr6pa3i
Notary Requested: swatchliu

@Yiweishi-tec Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Due to a change in the position of Yunis, he could not continue to be responsible for the application. We submitted this new application and hope the community can help us to close the last application https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/2152. @swatchliu

For the questions, we would like to provide answers here.
Is your company located in Greater China? Yes.
Duration of establishment: Our company was established on August 24, 2012.
Number of employees: We currently have about 50-100 employees.
Business scope and products or services: We specialize in providing a full range of Internet information services that meet the creative and editorial graphic needs of all types of businesses, channels, media and individual users. Our business involves photography services, digital graphic design; graphic production; animation design; corporate design; public relations services, production and publication of advertisements.
Social media: 上海易维视 on weibo, wechat and douyin
Data size to be stored: Because our company is mainly engaged in image related Internet information services and our business covers a large number of aspects, we have a large amount of data to store. The exact amount of data will be determined later by demand depending on the percentage of data stored in filecoin, currently we only apply for 100TB.
Have you already applied for DataCap to another notary, and whether it is accepted or rejected? Is there any reliable DataCap left? Besides #2152 we mentioned above, we dont have other applications.
Would you like to submit more company information on http://www.bytebase.cn? Yes.
Would you like to accept our face-to-face visit? Yes, we have offices in beijing and shanghai.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzaceang2pgyxcdex53wnhdrpj7hqyahj62s6e3oh66saoe35kxln5m7k

Address

f1mrivgz3yiqzxc7gcig5xiq3vhqvlqjf2lr6pa3i

Datacap Allocated

100.00TiB

Signer Address

f1yh6q3nmsg7i2sys7f7dexcuajgoweudcqj2chfi

You can check the status of the message here: https://filfox.info/en/message/bafy2bzaceang2pgyxcdex53wnhdrpj7hqyahj62s6e3oh66saoe35kxln5m7k

This user’s identity has been verified through filplus.storage


Update MD file on new branch 2017-11-15_11-27-01

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Provide configurable and default paths to OpenCV example files

Provide paths to OpenCV files like the haarcascades.
On MacOS with brew this seems to be:
/usr/local/opt/opencv3/share/OpenCV
On Linux (Arch, thanks @ahoereth) this seems to be:
/usr/share/opencv

On linux ubuntu it is also /usr/share/opencv/and on my mac it's /usr/local/Cellar/opencv3/HEAD-a85b4b5/share/OpenCV

You should find a link in /usr/local/opt/opencv3 which points to your Cellar installation, e.g.:
ls -l /usr/local/opt/opencv3
/usr/local/opt/opencv3 -> ../Cellar/opencv3/HEAD-a85b4b5

Do you mind checking that?
If it's not there, try brew link opencv3.


npm package namespace

Hi @kwent,
I’m working on a project called Bunny Launcher—it’s all about making it easy to deploy websites on Bunny CDN.  Think of it as a deployment CLI like surge.sh, with other extra goodies.
I also started working on a project called AWS Launcher, which is a similar deployment tool for AWS.
I’m wondering if you would donate your npm namespace aws-launcher to this project.
I would cut a new major version, and leave 1.x for any bug fixes to the original project.
Thank you for your consideration!  My username on npm is jlarmstrongiv
Best,
John

Sorry this would be too confusing for current users of this package. Good luck with your launcher, sounds exciting !

Hi @kwent, thank you for the reply!
Would it be simpler if this package were renamed to @kwent/aws-launcher and I purchased aws-launcher from you?  I would be glad to contribute a PR to make all adjustments too.
I understand if the answer is no, but I thought I would try since my project is exciting and important to me.  The current aws-launcher has low usage and hasn’t been updated in years.


New forms should not show error state by default

The red text makes it look like the user did something wrong, it shouldn't show an error until the user has tried to submit it and it is not valid.

Todo:

research precedent for errors from contentful / other CMS tools
design a "required field" message
enabled button instead of disabled button

Initial UI changes being implemented:

Add a * to required field's label
Track each field to know if it has been focused. When a field has lost focus allow the error messages to show. This makes it so it doesn't show the errors until after the user has 'left' the field.
Track when the form was 'submitted'. This will enable the submit button until they try to submit then disable until the errors are fixed.

I think these general changes should handle most of the bad UX for forms. @micjamking if you have any other design changes that you want for showing required fields let me know.


Temp loading cluster fixes

fixes create-cluster and create-persistent-es-node steps

In you latest commit, did you forget to add the new file?

Is there a reason this hasn't been merged?

I put the separate script in this PR https://github.com/macarthur-lab/hail-elasticsearch-pipelines/pull/106/files


adjustment for local one-click start

Coverage increased (+0.008%) to 48.75% when pulling 83be03ead61978e837468fd937b850816ec52934 on nobodyiam:build-scripts into 863719160ba559a32cb3e3f8c96b5f4a35c8319c on ctripcorp:master.


Using the library pulls in automatically android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION permission

I added the library to my project, and I did NOT add
"android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" permission, however when I went to submit my app to Play Store, it required me to explain for what I am using this permission for.
Upon investigating a bit, I think the culprit is file<EMAIL_ADDRESS>that has
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />

added to it.
I do not exactly understand how the playstore permission detection or Android manifests work, but regardless I've had to change my own Androidmanifest to get rid of this:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" tools:node="remove"/>

We have the exact same issue :)

We had the same issue, I did not add this permission into AndroidManifest file but we published it to Google Play Store and today we are facing an issue on Prod as;
Unable to start service com.daily.reactlibrary.DailyOngoingMeetingForegroundService@b4473a5 with Intent { cmp=com.myapp.com/com.daily.reactlibrary.DailyOngoingMeetingForegroundService (has extras) }: android.app.MissingForegroundServiceTypeException: Starting FGS without a type  callerApp=ProcessRecord{33373f7 23705:com.bluecallapp.client/u0a131} targetSDK=34
Even though we did tests in Staging and didn't face any issue, this happened on prod and I am assuming we must to add this permission in Manifest file! And Daily developers should add this information in documents!

Hi, thank you for reporting this.
As @chr4ss12 mentioned in the issue, the problem lies within react-native-webrtc, and it was introduced in our SDK when we updated to incorporate the most recent changes.
You shouldn't need to add this dependency unless it's actually being used, such as when you intend to enable screen sharing in your app.
We already have a task in our backlog to address this issue. I'll let you know as soon as we release a version with the fix.

Hello @filipi87,
Thank you for the answer but how did I come up to that we need to add these permissions in our manifest file is because of I saw that in the DailyPlayground App has these permissions in AndroidManifest file.
So if we should not add this into Manifest while then why does DailyPlayground App have it?

Hi @mkilincaslan,
You should only need to add this if you intend to support screen sharing. In our playground example, we do support screen sharing, so we include this permission. And that is correct.
However, if you don't plan to support screen sharing in your app, you shouldn't need to add this permission.

I see @filipi87,
Thank you for clarifying it!
Is this issue related to comment as well that I posted here?
So should I wait for the new fix version?

While we don't release a version with the fix, you can do as suggested in the first comment of this issue, that is to change your Androidmanifest to remove the need of this permission:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" tools:node="remove"/>


Unexpected execution order

I would expect that  jobs with equal priority would be processed in the same order as they have been added to the queue.
I checked this assumption by adding 3 jobs at a time and all went OK until the job ids/numbers pass the next decimal level. (9->10, 99->100, 999->1000, ...)
Then, the jobs seemed to be excuted in lexical order of their job number. e.g. 10, 8, 9 or 100, 98, 99. This is unexpected and should be fixed by using a numerical sorting or should at least be documented.
Here is a script to reproduce the behaviour, it differs from my original by adding 30 new jobs in a loop at each run.
var kue = require('kue');
var queue = kue.createQueue();

queue.
   on (
      'job enqueue',
      function(id, type)
      {
          console.log( 'Job %s got queued of type %s', id, type );
      }
    ).
    on (
      'job complete',
      function(id, result)
      {
        kue.Job.get (
          id,
          function(err, job)
          {
            if (err) return;
            job.remove(
              function(err)
              {
                if (err) throw err;
                console.log('removed completed job #%d', job.id);
              }
            );
          }
        );
      }
    );

queue.process (
  'email',
  function (job, done)
  {
    console.log("Processing email: " + job.data.title);
    done();
  }
);

for (var i=0; i<30; i++)
{
    var job = queue.create(
      'email',
      {
        title: 'welcome email for tj ' + (i),
        to<EMAIL_ADDRESS>
        template: 'welcome-email'
      }
    ).save();
}

Would you please search issues first to see if yours already exits? I'm closing this in favor of duplicate of  #678 and #33

Sorry, you are right!. Both are duplicates, but my search did not match #678 and #33. Perhaps a short sentence like "The Job execution is just ordered by priority not by job id nor insertion time (see #33 and #678)"  in the documentation could clarify the situation. Most likely,  you have to correct my bad english ;-). FYI: I opened and refered to this issue from a discussion at stack overflow. (http://stackoverflow.com/questions/33367418)


Resident Task: Unique host constraint not enforced when launching multiple reservations on the same offer

Looks like if two instances for an app are launched against an offer, both instances evaluate their uniqueness constraints from the deployment state before either task is assigned to an agent.
(IE - if I scale up 1 at a time, constraints are honored. If I scale up 2 at a time, constraints are violated)
http://screencast.com/t/CEGXHBo2

Duplicates #3867


Bootloop if installing any deb that creates .app

Should not have listened to opa334, now again many hours trying to fix a bootloop

that doesn't make any sense, this is not the cause of bootloops at all, this is wrong

please learn what a bootloop is


Milestone Report - RAM (Responsibility Assignment Matrix)

TO DOS:

Create  RAM (responsibility assignment matrix) and add an evaluation text for RAM of the project.

Closing the issue as RAM table is completed

need to add some visuals of ram


Added new apps :3

Salam :)
New apps are: Netflix, Spark, Weibo, Name Shark, Ali Express, Flipps TV, Friendly Social, and Heapo.

This is looking great, but I don't see the AppStore Rate action implemented?

@Mazyod I forgot to add it 😅 I will add it إن شاء الله

Did you test the rate action with at least two different apps? It looks to me like there are some hard coded parameters

@Mazyod Yup I tested with two apps.

Interestingly, "Purple Software" turns out to be a code name used within apple ... Sounds pretty lame, but oh well. Microsoft does a better job on that front, IMHO :)

@Mazyod Great :) Thanks for sharing this nice info.


Bundling Roblox TS Projects?

I was wondering on how you bundle your TS projects for executor use, if you know please lmk 🙏

The guide is this repo https://github.com/richie0866/rbxts-bundle-example/tree/main explains it nicely

The guide is this repo https://github.com/richie0866/rbxts-bundle-example/tree/main explains it nicely

Yeah I saw it when I posted this lol... forgot to remove it


floats

Ticket to suggest adding floats (doubles).
Eg, this should work:
# bpftrace -e 'kprobe:sys_nanosleep { printf("%.2f: sleep by %d\n", nsecs /<PHONE_NUMBER>, tid); }'
printf: Too many arguments for format string (2 supplied, 1 expected)

Would I be correct in postulating that the only way to do this is to reimplement soft-float functions in LLVM's IRBuilder?
The logic being that BPF doesn't support floats natively, so LLVM attempts to start calling its soft-float functions (e.g. "__divdf3(...)"). That doesn't work because BPF doesn't support the calling of arbitary external functions (i.e. those not in BCC's/Linux's "helpers.h"). For much the same reason, trying to define a C/C++ function and having BPF call into it won't work either. Thus, the only option is to implement the soft-float functions in LLVM's IRBuilder. I'm given to understand that this is why "createLog2Function()" and "createStrcmpFunction()" in "bpftrace/src/ast/codegen_llvm.cpp" create the their functions in the aforementioned way.
BCC has the same issue if one tries to use floats in the compiled C BPF code, so they use Python (or similar) to work with floats once the BPF code has executed. BPFtrace has no such recourse.


@envelop/response-cache Implements Redis Cache

Description
Fixes #669
Implements a Redis cache for use with the @envelop/response-cache plugin.
This cache implements the set, get, and invalidate methods necessary for storing the Execution result response an associating the response with the entities it contains (and vice versa).
This cache uses the ioredis client: see: https://github.com/luin/ioredis
Scenarios
Get / Query Entity
A query to fetch Post with id 1 would

cache the result of the query

data: { post: id: 1. title: "My Post" } }

and associate with a generated response id (for example (abcd12345xyz=)

associate Post:1 with that response id abcd12345xyz=
associate the response with a set of entities it contains abcd12345xyz= with Post:1
But since abcd12345xyz= is a key with a value of the response, those associations are in a key operations:abcd12345xyz= with Post:1 and Post as a members

Get / QueryAll Entities
A query to fetch all Comments

cache the result of the query

data:
 {
      { comment: id: 1. title: "Great post!",  posts: { id: 1 } },
      { comment: id: 2. title: "I agree 100%", posts: { id: 1 } }
 }

and associate with a generated response id (for example (fghi6789abc=)

associate Comment:1 and Comment:2  with that response id fghi6789abc=
associate the response with a set of entities it contains fghi6789abc = with Comment:1 and Comment:2
But since fghi6789abc = is a key with a value of the response, those associations are in a key operations:fghi6789abc = with Comment:1, Comment:2 and Comment as a members

Mutations
Mutations will invalidate and remove the responses associated with the entity ... and the entity from the any other responses and those responses.
Invalidations
Invalidations can also be called in database middleware (like Prisma) by using the same cache that would be set on the plugin
 import Redis from 'ioredis';

 const redis = new Redis();
 const cache = createRedisCache({ redis });

// ...

useResponseCache({ cache })

// ...
// @See: Examples of how to generate identifiers to invalidate.
cache.invalidate(entity)

Creating Invalidation Entities

const redis = new Redis() // with connection string or RedisOptions;
const cache = createRedisCache({ redis });

const identifier = new Map<string, CacheEntityRecord>()

const cachedEntityRecord = <CacheEntityRecord>{
  typename: 'Post`,
  id: 1,
}

 identifier.set('Post' cachedEntityRecord)

cache.invalidate(identifier.values())

If doing invalidation via Prisma middleware:
db.$use(async (params, next) => {
  const result = await next(params)

  if (
    params.action == 'create' ||
    params.action == 'createMany' ||
    params.action == 'delete' ||
    params.action == 'deleteMany' ||
    params.action == 'update' ||
    params.action == 'updateMany' ||
    params.action == 'upsert'
  ) {
    logger.debug(
      {
        model: params.model,
        action: params.action,
      },
      'Primsa middleware'
    )

    const identifier = new Map<string, CacheEntityRecord>()
    const cachedEntityRecord = <CacheEntityRecord>{
      typename: params.model.toString(),
      id: result.id,
    }
    logger.debug(
      { cachedEntityRecord: cachedEntityRecord },
      'cached record to delete'
    )

    identifier.set(params.model.toString(), cachedEntityRecord)

    logger.debug({ values: identifier.values() }, 'keys to invalidate')

    cache.invalidate(identifier.values())
  }

  return result
})

Creating client and cache
One would create the Redis client using a connection string like:
redis://something@us1-some-instance.upstash.io:port
Or via a set of `RedisOptions., see: https://github.com/luin/ioredis/blob/master/lib/redis/RedisOptions.ts when Connecting to Redis
const redis = new Redis() // with connection string or RedisOptions;
const cache = createRedisCache({ redis });

Note that:

associations are Redis sets https://redis.io/commands#set where the key has a set of members
responses are key values where the value is the execution result store as JSON

Further comments
Uncertain of:

Invalidation logic
If invalidation is async such that when invalidating, the response is fetched before invalidation is complete thus the response contains old data
If the "base" typename for example "Post" should invalidate all

Other

a helper/utility to create the invalidate identifiers could be useful so just pass a typename and id or an array of then that creates cache.invalidate(identifier.values())

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take action on it as appropriate
How Has This Been Tested?
The response-redis-cache.spec test suite

[x] response-redis-cache.spec

Test Environment:

OS: OSX
@envelop/response-cache 0.2.0:
NodeJS:

Checklist:

[X] I have followed the CONTRIBUTING doc and the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented on my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Maybe it's worth to use pipelining?

@kamilkisiela  Might we want some helper to construct the invalidation identifiers?
For example, when I tried using Prisma middleware as:
db.$use(async (params, next) => {
  const result = await next(params)

  if (
    params.action == 'create' ||
    params.action == 'createMany' ||
    params.action == 'delete' ||
    params.action == 'deleteMany' ||
    params.action == 'update' ||
    params.action == 'updateMany' ||
    params.action == 'upsert'
  ) {
    logger.debug(
      {
        model: params.model,
        action: params.action,
      },
      'Primsa middleware'
    )

    const identifier = new Map<string, CacheEntityRecord>()
    const cachedEntityRecord = <CacheEntityRecord>{
      typename: params.model.toString(),
      id: result.id,
    }
    logger.debug(
      { cachedEntityRecord: cachedEntityRecord },
      'cached record to delete'
    )

    identifier.set(params.model.toString(), cachedEntityRecord)

    logger.debug({ values: identifier.values() }, 'keys to invalidate')

    cache.invalidate(identifier.values())
  }

  return result
})

You can see that I have to assemble a map of CacheEntityRecords and then pass those .values() to the cache's invalidate:
const entities = new Map<string, CacheEntityRecord>()

const cachedEntityRecord = <CacheEntityRecord>{
  typename: params.model.toString(),
  id: result.id,
}

entities(params.model.toString(), cachedEntityRecord)

cache.invalidate(entities.values())

Though not 100% sure how to simplify.
Maybe I just document manual invalidation instead?

@kamilkisiela I just learned about creating change sets. You this PR be a minor or major bump? I expect just a minor one.

@dthyresson I think the probably best way of shipping the redis cache implementation would be to create a new package within the monorepo with the name @envelop/response-cache-redis. That way you dont end up with redis dependency and code if you do not want to use redis 🤔 . Opinions, @dotansimha and @kamilkisiela ?

I think the probably best way of shipping the redis cache implementation would be to create a new package within the monorepo with the name @envelop/response-cache-redis.

Creating a separate package for redis would be nice, I guess we may want to use other stores in future.

I can definitely refactor to have @envelop/response-cache-redis.
Would this package depend on @envelop/response-cache? Is it a separate plugin? And then all "core" response-cache functionality is effectively imported from @envelop/response-cache?
Or, is @envelop/response-cache-redis just the Redis cache itself?
Meaning, would one import:

@envelop/response-cache (and)
@envelop/response-cache-redis

Then use response-cache-redis just to
const redis = new Redis(("rediss://:1234567890@my-redis-db.example.com':30652");
 const cache = createRedisCache({ redis });
 const getEnveloped = envelop({
   plugins: [
     // ... other plugins ...
     useResponseCache({ cache }),
   ],
 });

Where useResponseCache is the plugin and createRedisCache comes from response-cache-redis?

@kamilkisiela and @n1ru4l I refactored to make the cache itself a package and think I left the response-cache in its original state -- I removed the changeset and adjusted the docs a little. Though I am not sure if there is a version change needed or not.
As for the response-cache-redis package, I set it to version 0.1.0 and did not have a change set. I assume that is because it's new.
However, I am not sure how publishing the packages work so a review here is very much welcome.
As for the failing benchmark, I did run locally:
running (0m50.0s), 00/40 VUs, 271153 complete and 0 interrupted iterations
graphql-js                     ✓ [==================================] 10 VUs  10senvelop-just-cache             ✓ [==================================] 10 VUs  10s
prom-tracing                   ✓ [==================================] 10 VUs  10s
envelop-cache-and-no-intern... ✓ [==================================] 10 VUs  10s
envelop-cache-jit              ✓ [==================================] 10 VUs  10s
     ✓ no_errors
     ✓ expected_result

So may just a blip?

Also, since looking at https://envelop-mcnwade84-theguild.vercel.app/plugins/use-response-cache and that is the plugin, perhaps I should have the docs make mention of the @envelop/response-cache-redis package and include the Redis examples there, too?

@n1ru4l Thanks for the review and I believe I have made the necessary changes and guid/documentation updates suggested. I am not sure if the change sets are bumping appropriately but did create of for the -redis package (and the response-cache should just have readme changes?).

@dthyresson Only a small doc change to also mention replicas, then we can merge and release it :)

Thanks @n1ru4l - added the docs suggested that mention replicas.


Batch CI Build For Real Svc Tests

This will batch changes that come in while a build is running into the next build, rather than a build per change, which leads to concurrent builds and lots of 429s

https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema%2Cparameter-schema#triggers

I think we can do batch CI runs. But we might want to have multiple cred anyways so that we can run the test in parallel as well.  (I assume the 429 are because too many call per user.)


[Question] How to make sure azure-devops self hosted agent run one build (not job) per time

Agent Version and Platform
Version of your agent? latest
OS of the machine running the agent? Linux
Azure DevOps Type and Version
dev.azure.com
What's not working?
I want to run only one build on the agent per time, I know the option of --once but this make it offline after first job in the build

Hi @anatolybolshakov so you can reproduce the same issue by running 4 builds in the exact same time and you have only 2 parallel jobs allowed.
you will see 2 jobs picked by the same agent in the same time.

Hi, @mo-saeed! We didn't manage to reproduce described behavior. Is this a spontaneous issue or you got it constantly?
Could you please also share the following information so that we can continue our investigation:

Worker diagnostic logs
Agent diagnostic logs
YAML file of your pipeline

Thanks!

Hi @mo-saeed, is this bug still actual to you?

Hi @DenisRumyantsev, yes.. maybe we can have a call and I can share my screen to see that it's reproducible in my environment ?
I think it all happens when you start more than job exactly in same time (open 3 tabs in your browser with the same job) run 3 jobs in the same time. make sure all have the same agent pool.
maybe it happens with me coz I configure auto-provisioned agents, mainly when job arrives the queue a new agent is created in the agent-pool.. not sure


[python3 x64-osx-dbg] Build error

Host Environment

OS: macOS 10.15.7
Compiler: revision

To Reproduce
I use a Vcpkg.json file (manifest mode) with the following content
{
    "name": "pypupilext",
    "port-version": 1,
    "version-string": "0.0.1.",
    "homepage": "https://github.com/openPupil/Open-PupilEXT",
    "description": "Python implementation of a open-source pupillometry system called PupilEXT.",
    "dependencies": [
        {
            "name": "pybind11",
            "version>=": "2.6.0#3"
        },
        {
            "name": "boost-math",
            "version>=": "1.75.0"
        },
        {
            "name": "boost-foreach",
            "version>=": "1.75.0"
        },
        {
            "name": "boost-range",
            "version>=": "1.75.0"
        },
        {
            "name": "boost-iterator",
            "version>=": "1.75.0"
        },
        {
            "name": "boost-config",
            "version>=": "1.75.0"
        },
        {
            "name": "boost-fusion",
            "version>=": "1.75.0"
        },
        {
            "name": "eigen3",
            "version>=": "3.3.9"
        },
        {
            "name": "tbb",
            "version>=": "2020_U3"
        },
        {
            "name": "ceres",
            "version>=": "2.0.0#3"
        },
        {
            "name": "opencv",
            "version>=": "4.5.1",
            "features": [
                "dnn",
                "jpeg",
                "png",
                "quirc",
                "tiff",
                "ffmpeg"
            ]
        }
    ],
    "builtin-baseline": "3426db05b996481ca31e95fff3734cf23e0f51bc"
}

The vcpkg folder is a submodule in my GitHub repo and is on the latest commit.
Failure logs
-- Downloading https://github.com/python/cpython/archive/v3.9.2.tar.gz -> python-cpython-v3.9.2.tar.gz...
-- Extracting source /Users/papillonmac/Desktop/PyPupilEXT/3rdparty/vcpkg/downloads/python-cpython-v3.9.2.tar.gz
-- Applying patch 0001-static-library.patch
-- Applying patch 0002-use-vcpkg-zlib.patch
-- Applying patch 0003-devendor-external-dependencies.patch
-- Applying patch 0004-dont-copy-vcruntime.patch
-- Applying patch 0005-only-build-required-projects.patch
-- Applying patch 0006-fix-duplicate-symbols.patch
-- Using source at /Users/papillonmac/Desktop/PyPupilEXT/3rdparty/vcpkg/buildtrees/python3/src/v3.9.2-51955b816d.clean
-- Getting CMake variables for x64-osx-dbg
-- Getting CMake variables for x64-osx-rel
-- Configuring x64-osx-dbg
-- Configuring x64-osx-rel
-- Building x64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message):
Command failed: /usr/bin/make V=1 -j 13 -f Makefile all
Working Directory: /Users/papillonmac/Desktop/PyPupilEXT/3rdparty/vcpkg/buildtrees/python3/x64-osx-dbg/
See logs for more information:
/Users/papillonmac/Desktop/PyPupilEXT/3rdparty/vcpkg/buildtrees/python3/build-x64-osx-dbg-out.log
/Users/papillonmac/Desktop/PyPupilEXT/3rdparty/vcpkg/buildtrees/python3/build-x64-osx-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_make.cmake:202 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_make.cmake:26 (vcpkg_build_make)
buildtrees/versioning_/versions/python3/9af42bd2d8ec6a2e8b563c9cb7544ffa7e2f938e/portfile.cmake:159 (vcpkg_install_make)
scripts/ports.cmake:145 (include)
error: building python3:x64-osx failed with: BUILD_FAILED
Additional context
I found if I am on an older vcpkg commit (Link: https://github.com/microsoft/vcpkg/tree/210240b399fbc2f1363f4103b6a93629c207d7e3; Hash: 210240b399fbc2f1363f4103b6a93629c207d7e3), then this error does not occur. Any suggestions how to solve this issue?

Thanks for posting this issue. Please provide the error log file:
/Users/papillonmac/Desktop/PyPupilEXT/3rdparty/vcpkg/buildtrees/python3/build-x64-osx-dbg-out.log
/Users/papillonmac/Desktop/PyPupilEXT/3rdparty/vcpkg/buildtrees/python3/build-x64-osx-dbg-err.log

Thank you for your response.
You can reproduce the error on macOS 10.15 with the following commands:
# Create a python env to build the project
conda create -n pypupilenv python=3.7
conda activate pypupilenv
conda install numpy
python -m pip install --upgrade pip
python -m pip install opencv-python

# Start the build process
git clone --recursive https://github.com/openPupil/PyPupilEXT.git
cd PyPupilEXT/3rdparty/vcpkg
git checkout master
git pull
cd ...
python setup.py sdist bdist_wheel

Instead of calling python setup.py sdist bdist_wheel and create the python env you can also call the following
git clone --recursive https://github.com/openPupil/PyPupilEXT.git
cd PyPupilEXT/3rdparty/vcpkg
git checkout master
git pull
cd ...
cd build
cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DVCPKG_TARGET_TRIPLET=x64-osx -DCMAKE_TOOLCHAIN_FILE=3rdparty/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Release

Attached you can find the log files.
build-x64-osx-dbg-err.log
build-x64-osx-dbg-out.log

I don't know if this might be relevant here. But I found an issue when building a python C++ extension worked on macOS when using cmake and vcpkg directly, but it failed when executing cmake (with vcpkg as a toolchain) through pip. This run on github actions shows it.
The error seems to be similar to the one presented in this issue:
Command failed: /usr/bin/make -j 5 -f Makefile altinstall DESTDIR=/Users/esdandreu/Desktop/python-extension-cpp/vcpkg/packages/python3_x64-osx
      Working Directory: /Users/esdandreu/Desktop/python-extension-cpp/vcpkg/buildtrees/python3/x64-osx-dbg/
[...]
Error: Building package python3:x64-osx failed with: BUILD_FAILED

The workaround I found is to execute vcpkg install before trying to build and install the python C++ extension with pip install. After applying the workaround, github actions succeeds. If you think this is relevant I could provide more information and steps to reproduce.

I don't know if this might be relevant here. But I found an issue when building a python C++ extension worked on macOS when using cmake and vcpkg directly, but it failed when executing cmake (with vcpkg as a toolchain) through pip. This run on github actions shows it. The error seems to be similar to the one presented in this issue:
Command failed: /usr/bin/make -j 5 -f Makefile altinstall DESTDIR=/Users/esdandreu/Desktop/python-extension-cpp/vcpkg/packages/python3_x64-osx
      Working Directory: /Users/esdandreu/Desktop/python-extension-cpp/vcpkg/buildtrees/python3/x64-osx-dbg/
[...]
Error: Building package python3:x64-osx failed with: BUILD_FAILED

The workaround I found is to execute vcpkg install before trying to build and install the python C++ extension with pip install. After applying the workaround, github actions succeeds. If you think this is relevant I could provide more information and steps to reproduce.

Thank you for posting your solution. I tried to include the following lines in my GitHub Actions file
${{ github.workspace }}/vcpkg/bootstrap-vcpkg.sh
${{ github.workspace }}/vcpkg/vcpkg install

However, I receive the following error:
Read more about vcpkg telemetry at docs/about/privacy.md
[20](https://github.com/openPupil/PyPupilEXT/runs/6403081827?check_suite_focus=true#step:7:20)
Error: `vcpkg install` requires a list of packages to install in classic mode.

I wonder why this command works in your yaml action file but not in mine. Maybe I miss something.

It seems that it is not finding your vcpkg.json file and therefore thinks that is in classic mode. It may be caused by the fact that you vcpkg folder is not in the root of the repository, it is inside the 3rdparty folder. But I'm not sure. Do you have access to a macOS machine or are you debugging on github actions?

It seems that it is not finding your vcpkg.json file and therefore thinks that is in classic mode. It may be caused by the fact that you vcpkg folder is not in the root of the repository, it is inside the 3rdparty folder. But I'm not sure. Do you have access to a macOS machine or are you debugging on github actions?

Yes, I have a local macOS machine. In order to let vcpkg find the manifest file, I provided the path with vcpkg install --x-manifest-root=..... Then, the pre-install of vcpkg worked.
However, unfortunately, this workaround did not solve the  Building x64-osx-dbg error.

vcpkg is at python 3.10 now. Is this issue still relevant?


mWeb - HTML formatted messages render incorrectly

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open any chat
send some HTML messages

Expected Result:
Messages should be properly formatted
Actual Result:
HTML formatted messages render incorrectly
Workaround:
unknown
Platform:

Where is this issue occurring?

Mobile Web

Version Number: 1.2.3-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1663173660551449
View all open jobs on GitHub

@mvtglobally can you detail a bit more what you mean by: "send some HTML messages", ideally providing some content we could copy paste to reproduce? I tried sending a message with HTML like
hello
 and I just see the tags as plain text.

Tested again in web mobile / web not mobile/ android and IOS, couldn't reproduce. Maybe it fails with some specific html layout. @mvtglobally do you know from where that html was copied from?

@aldo-expensify This is a Concierge message composed in the Concierge tool. (I just checked my messages in a test account and I wasn't able to find one like this).

@JmillsExpensify thanks, I didn't consider that. I tested sending some copy/pasted html message from wikipedia, with links and lists, and the look fine.

I looked for some of the text we can see in the message from the screenshots of the GH issue, but I couldn't find it in the code.. so I supposed it is not an automatic Concierge message.

Yeah, I think this message came during one of our VIP projects. Hmm, maybe we should close then. I'm also not seeing this either.

@JmillsExpensify  hehe i just noticed you reported this by looking at the slack conversation. Is it possible to you to get to this same conversation and check if now it is looking fine?

Yep! Sure thing, I'll go ahead and assign myself.

thanks!

I didn't get a chance to test this so far, will come back soon.

Ok jumping back in to test this now.

Alright, I'm having the hardest time reproducing this. I sent myself a markdown formatted message via the company tool, I asked agents to send me HTML formatted text via the Concierge tool. Etc. etc. I'm still unable to produce on mobile web.

My next move is to head back to the original thread and see if this is still visible for those that were participating there.

Ok I was able to reproduce this one. I just updated the OP. Screenshot of the issue on mWeb

@aldo-expensify You want to assign yourself again?

I'm trying, but I can't reproduce it yet. I don't find that repeatable response, could it have been removed?

I tested with other responses, but they look fine in mWeb.

it could be that that specific response had invalid html, and one browser was doing a better job than the other in fixing it. Can you reproduce this with any other pre-saved response (if we don't find the original one anymore)?
Thanks for updating the steps, it is much clearer now

Interestingly enough, I thought the same. I even deleted the old saved repeatable response and then manually created a new. But even the new, non-copy/pasted one I created still had the same problem. So it was just super super weird that it still happened despite that.

Can you send me the response in an email or file? 🙏

Sure thing. I'll do that right now

Alright, I just sent to your<EMAIL_ADDRESS>account. Let me know if you're still not able to reproduce it on mWeb.

Thanks @JmillsExpensify !, it even looks broken in web (staging) for me
This can be reproduced by:

Open the html file in the browser
Select all and copy
Paste it in an email body and send the email to<EMAIL_ADDRESS>The <report_id> can be obtained from a URL of a chat between your account and some other account.

Video of reproducing the bug:
https://user-images.githubusercontent.com/87341702/195175870-5d884026-3d0a-40c4-b54e-03b117b7bbd4.mov

I checked if the HTML that causes the problem had syntax errors, but I didn't see any.

We're open for proposals. Please apply to the Upwork job and note that I've increased the starting price to $500 given that this is tied to a roadmap priority.

Proposal
Problem
The RenderHTML add the flex property to some element flex: 1 1 0%;

Solution
we can set an initial flex property to the config so the RenderHTML will use it instead of adding new one
https://github.com/Expensify/App/blob/d0f0dd5ee7b88bf31d544f758ab7cfba88c6f0c0/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js#L44
-      const defaultViewProps = {style: [styles.alignItemsStart, styles.userSelectText]};
+      const defaultViewProps = {style: [styles.alignItemsStart, styles.userSelectText,styles.flexInherit]};

then add the new flexInherit utility to Flex layout utility
https://github.com/Expensify/App/blob/d0f0dd5ee7b88bf31d544f758ab7cfba88c6f0c0/src/styles/utilities/flex.js#L6-L9
+    flexInherit:{
+      flex: 'inherit'
+    },

@parasharrajat thoughts on @fedirjh's proposal above?

This is happening on Chromium-based browsers.
Chrome

Firefox

@parasharrajat Safari too

Yeah @fedirjh , Safari is chromium based browser.
I have a better proposal. This is happening due to flex:1 https://github.com/Expensify/App/blob/7044ab2b96067081c8f67191e51fa859dba66d91/src/styles/styles.js#L79
I traced back this change and it was added by me in https://github.com/Expensify/App/pull/5364.
As I mentioned in the proposal it was optional at that time.
So I think we can just remove flex: 1 and it will be fixed.

let me test this on IOS and safari web.

Looking good everywhere.

Ok so @aldo-expensify are we hiring @parasharrajat for this job? @chiragsalian are you good with this plan? As a reminder, the upwork job is here when we get there: https://www.upwork.com/jobs/~01521563b8fd74ea23.

I vote for @parasharrajat 's solution, but leaving it up to @chiragsalian since he is the CME

Yes, I like @parasharrajat solution as well since its simple, and you've worked on this before and it seems to be working fine everywhere. Feel free to create the PR @parasharrajat.

Invited @parasharrajat to the Upwork job. Then as a more general update, the linked PR has been merged and should reach production in the next day or so. At that point we'll kick off the regression period hold before paying.

Don't see any regressions at this point, so I will circle back tomorrow for payment.

Waiting on @parasharrajat to accept the Upwork invite before job can be paid and issue closed.

@parasharrajat sent you an offer on Upwork. Will pay out as soon as you're able to accept.

Payment issued! Closing this one out.


No update on new data in the list; Not handling properly list changes when we click on the elements.

I have a similar problem to #20 with VueJS.
The data is loaded dynamically with Vue but as no element was available at first, I added a dummy.
    <select multiple id="light-select">
            <option v-bind:value="value.name" v-for="value in lights">{{value.name}}</option>
            <option >ohoh</option>
    </select>

Yet, once I click on the dummy, it refreshes the data but it selects the first element in the real list and not the dummy.

I'm sorry for this insanely late reply. I've never tried multi.js with Vue myself. Did you find a solution for this?

It happens to be late on single comments ;)
I don't think I had a solution and instead made it myself in a VueJS way.
I guess that the issue comes from the options being shadowed on load of the page, when the options are not yet generated from VueJS side.

Yup, definitely slipped my mind :)
I wish I had more time to work on multi.js these days but I will look into it if I do find some!


Print commit SHA for other langs when running interop tests

This is useful for debugging if a change in a different repo that grpc/grpc causes in interop tests breakage.

Excerpt from the logs
++ git clone --recursive https://github.com/grpc/grpc-go ./../grpc-go
Cloning into './../grpc-go'...
++ cd ../grpc-go
++ git rev-parse HEAD
c2bccd0b1594416da57a74d15f09f8eb0a3d727b
++ git clone --recursive https://github.com/grpc/grpc-java ./../grpc-java
Cloning into './../grpc-java'...
++ cd ../grpc-java
++ git rev-parse HEAD
27b03c66a64aeae25f3fc867457b02e21ca81dab

Known failures:
https://github.com/grpc/grpc/issues/26013


hedwig v1 relay service

Is this the same as protocol as used in grinbox? are they compatible?

no.
It's more like a simplifiied ngrok


Select for ID is empty

when i open the point id. the "Select for ID" is empty. i don't see a object. what is the misstake ?

Please test 1.0.2


Improvements to oled.centre_text()

Reviewing #328 I noticed some improvements that should have been made long ago to centre_text to allow it to work with larger displays where the 3 line rule is not applicable, and with other character sizes where some numbers were still hard coded for 8x8

This reminds me that we also have an implementation of centre_text() in experimental/custom_font.py. I don't think that it should influence the changes in this PR, but we should be aware of it when we finally resolve the three implementations.

This reminds me that we also have an implementation of centre_text() in experimental/custom_font.py. I don't think that it should influence the changes in this PR, but we should be aware of it when we finally resolve the three implementations.

Good point! I looked over that implementation and there isn't anything crucial that's different to the changes in this PR, I think for the X it'll be a bigger overhaul anyway given that larger fonts are more likely to be used on the larger display, so more consideration is probably gonna be needed when it comes to it


New doc for DSPs not using SDKs

New file
Copy in Japanese file system (do not review the copy)
Add new file to the Integration Guides overview and DSP overview
Update sidebar to add new doc.

@genwhittTTD i have pushed a commit to comment out the
For Tokens Generated on the Client Side: Honor Opt-Out Status
section as agreed by PM as i'm removing this functionality in https://github.com/IABTechLab/uid2-operator/pull/830
Nothing for you to do for now until UID2-2904 is deployed to production and by then will ask you to submit this draft for final legal approval


client 1.1.0 on centos 7.4 missing pre-compiled binary

run binary return message:
Uncaught exception: Compilation of µWebSockets has failed and there is no pre-compiled binary available for your system. Please install a supported C++11 compiler and reinstall the module 'uws'.

Re-download, we use a compatible uws.node file