Keyboard is always set to lower case

Somehow the keyboard is preset to use lower case every time for the first word. I've never seen this in Android before, please correct this behaviour! :)

Does that affect all fields? I guess that's caused by the input type of the EditText elements.

Yes, this occurs on every text input field.

I am not sure I understand the issue, because lower case is the default behavior for EditText's. We don't apply any special capitalizing as I see it.
Should we change that? If yes, to which one, capitalize each word or only start of sentence? (InputType) To all EditTexts in the app, or should we list them here first to select which one needs which kind of capitalization?
Thanks.

Capitalizing the start of each input field text would be nice! Think this fits everywhere.
Gabor Keszthelyi<EMAIL_ADDRESS>schrieb am 10.10.2016 18:15:
I am not sure I understand the issue, because lower case is the default behavior for EditText's. We don't apply any special capitalizing as I see it.
Should we change that? If yes, to which one, capitalize each word or only start of sentence? (InputType) To all EditTexts in the app, or should we list them here first to select which one needs which kind of capitalization?
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@dmfs Can you please confirm that we should set all input text fields in the app, listed below, to capitalize first letters, i.e. set InputType to TYPE_TEXT_FLAG_CAP_SENTENCES:
Create/rename list dialog
Quick add task dialog
Edit/create task screen:
-Title
-Location
-Descritption
-Checklist items
(-URL - no change)

Yes, I think that totally makes sense in most languages. There may be languages in which it's not common to do that though. So we should keep this in mind. For now we change this for all languages.

Ok, I created the pull request.
While we are at it, there are other texts (not input fields) in the app which seemed strange for me first when I saw them in the app that they are lowercase. Like the status, priorities, privacy:
needs action, in process, done, cancelled, incomplete
none, low, medium, high, urgent
not specified, public, private, confidential
Should we maybe capitalize them as well? I think that some people (I think mostly technical people) like to use and see lowercase everywhere, but I would assume that's not the majority. But I am not sure of course, and I am not even a real user, so this is really just a question.

I'm a technical person (:p), but this just applies to source code, where (depending on the language and project) variables are started lowercase. This doesn't apply to the regular language, since grammar in all languages known to me, requires every sentence and headings to be started upper case. So I'd make them upper case, too.

well, but these words are not used in the context of a sentence or a headline.
Anyway, according to https://material.google.com/style/writing.html#writing-tone these should indeed be capitalized. Please raise a separate issue.

What for?

Because changing all labels to uppercase is completely a different issue. This one is already fixed by the pull request. And will be closed when the PR is merged.
Also it's lower priority, because it doesn't really affect usability, but "merely" the appearance.
Since @lemonboston raised the issue he should file a separate ticket.

I'd say this is included, as you can reference multiple commits with this bug, but ok.

Separate issue raised for capitalizing those text: #290.

With half a year passed by and commits done to the source, I wonder why this wasn't included in an update…?


[WRATH] ComboPoints glitch

Your library causes the following issue described here: https://github.com/jordonwow/safequeue/issues/20

Going to take the lazy route here - the fundamental issue with UIFrameFade was fixed in Classic a very long time ago, so the purpose of this library is a bit moot now.
cf7f8a5 (v5) resolves this issue by just disabling the functionality of the library in Classic clients.


Unable to select all text in internalConsole or integratedTerminal

VSCode Version: 1.8.1
OS Version: Windows 10

Steps to Reproduce:
1.Run some app that spews a bunch of stuff to the console
2.Try to select it all
3. Notice that select/drag does not scroll the window.
4. Select at the top then scroll down to shift select at the bottom.
5. Notice that the selection is trimmed to the top visible line.
6. Try the same thing but starting at the bottom and going up
7. Notice that the selection is similarly trimmed.

Duplicate of https://github.com/Microsoft/vscode/issues/2163


Improve scrollInt performance

scrollInt is a nice QoL feature, but it seems a little flaky.
Might be possible to remove scrollInt by encapsulating dropdown content in a container that takes the height of the content (using scrollHeight). That way, the page height is updated instantly and we can just use one scrollIntoView call.

I did not feel like making a wrapper for the div so I just spammed scrollIntoView
Good idea

in #12, I changed the setInterval to go on for 800ms, the same length of the css transition, so it now scrolls fully to the bottom.
it's still janky when you expand and then immediately scroll up

so I just spammed scrollIntoView
lmfao
Maybe we shouldn't hijack the user's scroll, since it's not always a good idea and a bitch to implement
I can take a look at this in a little bit


Add OpenSLO support on generate and validate commands

Closes #74
This PR adds support for v1alpha OpenSLO spec. For now and until OpenSLO has an official CRD, Sloth will not have Kubernetes support, only regular Prometheus rules.
From the readme these are the main restrictions for this implementation, due to the OpenSLO and Sloth model mapping features:

OpenSLO timewindow restricted to 30 days.
Only Objective ratio metrics are supported.
Only Prometheus and PromQL query types are supported.
Configuration fields not required by Sloth will be ignored.
No Prometheus labels support.
No alerting support.
No SLI plugins support.
No Kubernetes support (at least until official OpenSLO CRDs are released).

A valid Example of an OpenSLO spec supported by Sloth would be:
apiVersion: openslo/v1alpha
kind: SLO
metadata:
  name: sloth-slo-my-service
  displayName: Requests Availability
spec:
  service: my-service
  description: "Common SLO based on availability for HTTP request responses."
  budgetingMethod: Occurrences
  objectives:
    - ratioMetrics:
        good:
          source: prometheus
          queryType: promql
          query: sum(rate(http_request_duration_seconds_count{job="myservice",code!~"(5..|429)"}[{{.window}}]))
        total:
          source: prometheus
          queryType: promql
          query: sum(rate(http_request_duration_seconds_count{job="myservice"}[{{.window}}]))
      target: 0.999
  timeWindows:
    - count: 30
      unit: Day

Codecov Report

Merging #106 (c5b7067) into main (0a09bcf) will increase coverage by 0.72%.
The diff coverage is 90.32%.

@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
+ Coverage   79.80%   80.53%   +0.72%
==========================================
  Files          15       16       +1
  Lines         832      894      +62
==========================================
+ Hits          664      720      +56
- Misses        119      122       +3
- Partials       49       52       +3

Impacted Files
Coverage Δ

internal/openslo/spec.go
90.32% <90.32%> (ø)

Continue to review full report at Codecov.

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


Update cats-effect, cats-effect-laws, ... to 3.2.7

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws
org.typelevel:cats-effect-testkit

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

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

labels: library-update, semver-patch

Codecov Report

Merging #370 (7d073cd) into master (cc16762) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #370   +/-   ##
=======================================
  Coverage   91.12%   91.12%
=======================================
  Files          17       17
  Lines         293      293
  Branches        1        1
=======================================
  Hits          267      267
  Misses         26       26

Continue to review full report at Codecov.

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


Expand space for .text section from 0x80000 to 0x81000 on HPS platform

HPS tests were failing with the latest tflite-micro bump (https://github.com/google/CFU-Playground/pull/500#issuecomment-1075741023).   With local testing, I observed the same thing also on main branch, which is a bit puzzling.   This is the error (the exact value can vary):
/home/runner/work/CFU-Playground/CFU-Playground/proj/example_cfu/build/ld/linker.ld:27
cannot move location counter backwards (from<PHONE_NUMBER>2803f0 to<PHONE_NUMBER>280000)

To reproduce the previous behavior locally,
cd proj/example_cfu
make PLATFORM=hps BUILD_JOBS=8 software

Edit: Another mystery -- the symptom only occurs eith example_cfu -- not with proj_accel_1, mnv2_first, hps_accel, or the  template projects.    I haven't found what the difference is.
Edit#2: Solved!   All of the other projects use DEFINES += NDEBUG to remove debug code.   When I add that to example_cfu, it also passes.    @alanvgreen , would you prefer that we go ahead and expand the .text section anyway, or, just add NDEBUG to the failing test?    Edit: why not both?  I've pushed another commit.
Signed-off-by: Tim Callahan<EMAIL_ADDRESS>

Nicely found!

@alanvgreen PTAL  (I added some more notes to the description at the top)

@ShvetankPrakash I should go over the background story of this linker.ld file with you the next time we chat.


Simpler way to set errors after form submission

Not sure if it's just me, but the process of showing errors on a form is a bit cumbersome:

import { setErrors } from '@formkit/vue'
Set a unique ID on your form
Invoke setErrors() with your unique ID

What if the form submission handler was passed a second parameter containing a node object?
function submit(value, node) {
  node.setErrors(["Username not available."])
}

Implementation details free to be changed but something like this.

I'm not a fan of using the form's id as well. (and of course one could use the errors prop as an alternative.
I don't think that passing a reference to the node object would be the best approach here, this would only work if you are using the build-in form submission or be cumbersome again, if you wanted to manually pass that reference.
Adding another idea here: What about using refs instead of the form's id? It wouldn't solve #1, which is quite a common thing working with Composition API anyway. And the rest is pretty much in line with vue standard practice.

@tosling Could you give an example of what your proposed way of using refs would look like?
This issue is aimed at streamlining the error-setting process when using just the @submit event. Otherwise, I think the setErrors way is quite a reasonable way of handling things manually.

I was thinking of something like this, to avoid using the form id.
<template>
  <FormKit type="form" ref="myForm" ...>
  ...
</template>

<script>
const myForm = ref()

function mySubmitFunction() {
  /* do some communication with server with error here */
  myForm.setErrors(...)
}

But thinking a bit further, your approach, combined with feature request #82 (submitting forms programmatically) should be very powerful and can avoid all the manual referencing.

Using IDs is great, mainly when writing native JS, and als long you can guarantee they are unique.
I see some challenges, when it comes to re-using components (e.g. a create vs. edit form; I could think of other examples). For those cases, I prefer having the scope of my components as limited as possible. And that's where my approach conflicts with your no. 4.
During my tests I had some cases, where setErrors didn't work, because the form ID was already in use. I can not yet say, if that was a caching issue on my development environment or whether it's a real case. Creating a realistic reproduction would take a bit more work (nested routes were involved in my tests), which I postponed for now.
For me personally, I would be happy with @huzaifahj suggestion, as it solves the "ID" topic for me. 👍
PS: Another 👍 for the error adapter, although at least in the Laravel case that's no big issue right now.

@tosling solid points — one thing to note that will help with the unique ID thing is FormKit already produces unique IDs for you — you technically dont need to specify it yourself — but only explicitly specified ones end up in the global getNode() registry.
For submitting forms, which is now in the beta.3 branch as of a few minutes ago, you can submit these forms 3 ways:
// any id works, even the auto-generated ones
submitForm('formId')
$formkit.submit('formId')
node.submit()

An alternative way to get a node is using the @node event which is emitted from all <FormKit> components with the node as a payload. And in beta.3 you can also get the node via template ref:
<template>
  <FormKit ref="foobar" />
</template>

<script>
export default {
  mounted () {
    this.$refs.foobar.node.input('hello world')
  }
}
</script>

Playground example

Thanks, looks great @justin-schroeder! It might be nice if setErrors() could accept a string as well as an array, unless there is a good reason for that which I'm not getting?


[Slang Unit Tests] Intrinsics coverage SLANG/HLSL (HLSL.meta.slang and core.meta.slang files)

Added RT pipeline test from PR 3793

I think this one can be closed. If there's anything else that comes up a new issue can be made for that.


Remove NetworkServer s_ prefix on statics.

Remove s_ prefix because the entire class is static, the prefix doesn't actually specify anything.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Upgrade pulumi terraform bridge to v3.62.0

generated with
upgrade-provider pulumi/pulumi-aws --target-bridge-version v3.62.0 --kind bridge

Hmm...there seems to be some regression in docs with this change.

TypeError: _configure() missing 1 required positional argument: 'compute_type' ?
One second, I think this is something we blocked the 3.62.0 https://github.com/pulumi/pulumi-terraform-bridge/issues/1439 release on

Let's investigate tomorrow. This could be another issue in p/p but would be good to eliminate the possibility that the test/example was somehow quietly incorrect until now.

https://github.com/pulumi/pulumi/issues/14274 this is a platform bug.

Closing in favor of https://github.com/pulumi/pulumi-aws/pull/2918.


Revert some ownership changes that causes source compatibility failures

cc: @gottesmm
These are reverted because: https://ci.swift.org/job/swift-master-source-compat-suite-enable-verify-exclusivity/1949/artifact/swift-source-compat-suite/FAIL_Chatto_4.0.3_BuildXcodeWorkspaceScheme_Chatto_generic-platform-iOS.log

When you are merging these again in the future, please run source compatibility test suite first before merging.

@nkcsgexi as I mentioned in the chat this is actually reducing our test coverage. Since now we are not getting /any/ verification after the source compat suite runs for all other source compat projects.
We are still miscompiling these 2 projects in tree, just silently rather than having the verifier tell us this.


Set up emacs daemon

Emacs currently doesn't run as a daemon. This makes it a bit slower to run and halters startup time. Consider setting up the daemon for better async

Other emacs improvements include:

Pinning doom-emacs for personal use
Cloning the pinned version to the local system, or managing it with nix (hlissner doesn't do this because he develops it)
Add my doom emacs private modules via nix
Investigate how I can do this while still being able to easily iterate on my configuration; I don't want to have to rebuild NixOS every time I make a change to my Emacs configuration

Other emacs improvements include:

Pinning doom-emacs for personal use
Cloning the pinned version to the local system, or managing it with nix (hlissner doesn't do this because he develops it)
Add my doom emacs private modules via nix
Investigate how I can do this while still being able to easily iterate on my configuration; I don't want to have to rebuild NixOS every time I make a change to my Emacs configuration

'pkgs.runCommand' may be what i am looking for to make this happen

'pkgs.runCommand' may be what i am looking for to make this happen

https://gitlab.com/rycee/configurations/-/blob/master/user/emacs.nix

https://gitlab.com/rycee/configurations/-/blob/master/user/emacs.nix


can i add cookie to download premium Video?

can i add cookie to download premium Video?

Currently? Nope.
I don't have an account to test if I can just pass an Authorization headers or not.
But my guess that It will probably use Authorization header.
I'll look around this later.


NTR: prevention of polyspermy during double fertilization

Please provide as much information as you can:

Suggested term label:
prevention of polyspermy during double fertilization

Definition (free text)
The processes by which fertilization of either or both  the egg cell  or the central cell is limited to a single sperm nucleus during double fertilization.

Reference, in format PMID:#######
PMID:27951463

Gene product name and ID to be annotated to this term

Parent term(s)
GO:0080155
or
GO:0009567

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information
requesting this term because the only polyspermy block term in GO is animal specific (GO:0060468) and violates taxon constraint rules.

GO:0060468 prevention of polyspermy PART_OF GO:0007338 single fertilization, that has DEF: "The union of male and female gametes to form a zygote.", which is never_in_taxon Spermatophyta. I don't understand this exclusion. If single and double fertilizations are mutually exclusive, it's not clear in the definitions. I think double fertilization includes a part that is essentially single fertilization. https://en.wikipedia.org/wiki/Double_fertilization. Furthermore, there are mechanistic similarities between plant and animal polyspermy prevention. PMID:27951463

I can certainly modify the definition I provided to refer to the pollen grain that fertilizes the egg cell v the one that fertilizes the central cell. that said I have read at least one paper that suggests there is also a polyspermy block at the central cell/endosperm. I am not sure where the taxon constraint came in either.

Indeed, a plant sperm with two nuclei and an animal sperm with one do carry out distinct processes of fertilization. Thus I agree it is useful to have specific terms for plants. However, not having a shared term for polyspermy prevention seems not ideal.
Please propose a more distinguishing (from animal) definition for prevention of polyspermy during double fertilization so that we can add the term in first and discuss the proper strategy of 'branching' later. Do you think that's a good solution? @lreiser Thanks.

OK see the modification- opened up to either the egg cell or the central cell


MSAL-Browser External URI not showing up as expected

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.19.1
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.1.2
Public or Confidential Client?
Public
Description
Hello, I am having an issue while trying to login via localhost. There is a registered app for a SPA with the URL of "http://localhost:{port}/#/page" and when I try to login it is setting the external_uri to "http://localhost:{port}/". I am expecting the redirect_uri to be "http://localhost:{port}/#/page" as that is the page I am on. When I manually set the external_uri in the config is also still doesn't work. Any insight into this problem would be nice. Thanks!
MSAL Configuration
const config: Configuration = {
	auth: {
		clientId: process.env.clientId ?? "",
		authority: process.env.tenantId ?? ""
                externalUri: "http://localhost:{port}/#/page"   <<< external_uri comes out as just "http://localhost:{port}/" so it says it doesn't match with the application on azure
		},
	cache: {
		cacheLocation: "sessionStorage",
		storeAuthStateInCookie: false,
	},
	system: {
		loggerOptions: {
			loggerCallback: (level, message, containsPii) => {
				if (containsPii) {
					return;
				}
				switch (level) {
					case LogLevel.Error:
						console.error(message);
						return;
					case LogLevel.Warning:
						console.warn(message);
						return;
				}
			},
		},
	},
};

Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
External (Customer)

@plogmanAustinPFG MSAL doesn't have an attribute called external_uri. The config attribute should be called redirectUri and it should have the same value as the one registered on the Azure Portal.

@plogmanAustinPFG MSAL doesn't have an attribute called external_uri. The config attribute should be called redirectUri and it should have the same value as the one registered on the Azure Portal.

I was referring to the URL that shows up, it has the param of external_uri. I do have these two URL's matching but for some reason it doesn't like the /#/page at the end.

With the exception of the port, the URL has to match exactly. You cannot use a variable URI for this. What you can do is the following:

Have a set redirectUri like localhos:{port}/auth
Before initiating redirect, add the window.location.href to the request config as the state attribute
In the /auth page, once the redirect is handled, get the location from the state and navigate back to the page you were in

Does that help?


feat(nx): Relax nx version requirement

Resolves #73

I've additionally discovered that we can rely on migrations in nx to work properly for our workspace - they should only touch nx configuration files (and only the ones present) and are supposed to work even if you've customized them - I think bugs I saw in the past were in fact bugs that were later resolved, and as Nx works to support "nx core" better, these kind of bugs should be rarer


docs: readme semicolon

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

[ ] If you've added code that should be tested, please add tests.
[ ] Ensure your code lints and the test suite passes.

Thank you @scttcper


Expose minio 9000 port

It would be great if while developing locally we had the storage minio port 9000 exposed. If we are developing services that need direct access to the storage, we need the docker port for minio exposed.
Something similar to what is done with postgres:
        ports:
            - mode: ingress
              target: 9000
              published: "9000"
              protocol: tcp

If we are developing services that need direct access to the storage, we need the docker port for minio exposed.

Not sure I follow, the purpose of the cli is to emulate the cloud environment as close as possible. We don't expose the underlying storage in the cloud so you shouldn't be able to use such service in our platform.

connect to the database from the outside

this is possible nowadays

no custom docker images

this is possible via Nhost Run

and no access to the underlying storage

Not to the same storage that hasura-storage uses but you could run minio yourself with Nhost Run.
I am closing this issue as I don't think we won't be exposing minio as the cli is designed to emulate the way the nhost stack works in our cloud, however, feel free to keep the conversation going.

Hosting another instance of minio seems unnecessary and like more friction to use nhost cloud. but if this is not in the roadmap that's alright. My feature request is to open up the minio instance locally and in production.

If anyone is interested, my workaround is in this fork: https://github.com/andr-ec/nhost-cli/tree/minioport

Hosting another instance of minio seems unnecessary

That's the thing, there is no minio in production so it can't be exposed.

not in the roadmap that's alright

As I mentioned before, this is already supported via Nhost Run. I'd be happy to provide you with a one-click install link to deploy your own s3-compatible object storage in seconds.


IE11: Object doesn't support this action - Event constructor fix

IE11 doesn't allow the usage of Event as a constructor, resulting in the following error:

I added a polyfill for CustomEvent and used this instead of Event. I tested with Safari 12.0.3 (Mac), Firefox (latest Mac), Chrome (latest Mac) and IE11 (Win 7) and found no issues.
Note: All browsers that support CustomEvent natively use their native CustomEvent constructor.

Hey,
anyone up for this? I'd really like to get it merged, so just gimme some lines if something isn't right. I'm willing to put some more time into this, if necessary.
Best
Marc

Great work budy!
Sorry for latest merge, i'm very busy last days.
Merged! I will bump the version


Add a GitHub Actions CI script

This PR adds a GitHub Actions CI script for Kudzu.
The CI script basically runs:

cabal build
cabal test

It takes 51s to run on a recent cache and up to about 5m on an empty cache.
As a bonus, this relaxes the base restriction from up to 4.17 to up to 4.19 as that was the version that was tested on CI.
I am not sure if this is something you would like to add to your project: on one hand it may help make the project easier to maintain by catching errors on CI, on the other hand it is another thing to maintain in the project.  In my own projects though, I find that maintaining a CI script is worth the effort.  I am submitting this anyway since I got to a working CI script while playing around with the project, but feel free to drop the PR if you think it would be a hassle to maintain.  (Or you can merge it and drop it later if you find it is too much of a hassle to maintain.)

FYI
... for the CI script to run, you have to go into:

the project ":gear: Settings" tab
then "Code and automation group"
then "Actions" -> "General"
then select: "Allow all actions and reusable workflows"

At least that's what I recall I did in my own clone of Kudzu.


Example for using Sprite

I am trying
             <Sprite image={imageObj} x={300} y={300}
                animations={
                    {
                    standing:[
                      0,0,64,64,
                        192,0,64,64
                      ]
                }}
                animation={'standing'}
                frameRate={2}
                frameIndex={0}
                >
                </Sprite>

and it renders the first frame, however it doesn't start the animation. How do you trigger .start() on the underlying sprite instance?

Right now you have to manually start it by accessing direct Konva object with ref property. And then in componentDidMount do something like this:
componentDidMount() {
  this.spriteNode.start();
}

I guess it will be better if react-konva can handle this case automatically.

Thank you. I used ref={(node => {node.start()})} and it works.

Changing to ref={(node => {if(node && !node.isRunning()) node.start()})} prevents calling start repeatedly.


2 request within 1

I am using express 4. for example we have without res.send:
app.get("/", function(req, res) {
    console.log('test');
})

if i make request to / i see in console test and after ~2 min yet one test.
how i can to solve this problem?

@komarevtsevdn for such queries in future, you can you join us at https://gitter.im/expressjs/express.
You will need to call any of the request-response cycle terminating method res.send(), res.json(),  res.jsonp(), etc., to send a response back, otherwise the request will be left hanging.
In your case, you can fix it by re-writing as follows:
app.get('/', function(req, res) {
  console.log('test'); // for you, the developer
  res.send('test'); // for the client making the request
})

And just to follow up on @hacksparrow, the reason you are seeing two requests is because there are two requests. Most likely you are making the call from a web browsers, and several web browsers (like Chrome) will actually re-make the request if the web browser did not get a response after a timeout (it's 2 minutes for Chrome). You can use tools like Fiddler or Wireshark to see the actual requests being made between Node.js and the web browser if you like. Using res.send() or such in your code will cause a response to the web browser, so it doesn't try to make the request again :)


Run inference on a pre-trained model

Hi,
I couldn't find it under inference, so I was wondering, is there a way to use a pretrained model and run inference on a video I have and see how the model performs?
Thanks!

Does this work for you? https://github.com/hkchengrex/XMem/blob/main/docs/DEMO.md


Add docker setup

Hi, first of all thanks for maintaining this lib!
It's a lot fun to mess around with. Anyway I thought I'd add a docker-compose file, so that we can all build the files using the (close to exactly) same setup.

Hello @4c0n , and thank you for the contribution!
I love Docker, but I think a couple of things should be included before I pick this up -- i think it would make more sense to have a plain Dockerfile, so people who don't use compose can run the build without docker-compose .. the docker-compose.yml could refer to the Dockerfile.
As well, I would ask that you add to the README part that you've added, a little section that includes instructions for getting the lib out of your docker container -- if you build your own copy of it, you probably need to copy it somewhere outside of the container so you can use it.
And don't forget to add yourself to the contributors list in package.json! :)
Thanks!

Hi @ericblade thanks for the review.
I added the Dockerfile that you requested. Copying files out of the container is not necessary as a bind-mount is used to mount the project folder inside the container and the lib is build during runtime not during (container image) build time. The latter would make sense in a multistage build of sorts, so that the lib can end up in an image that'll be deployed somewhere for example. The purpose of this one however is just to be able to build the lib anywhere using the same dependency set (and for example not having to install node + npm).

Excellent!  I hadn't noticed the bind mount.  Something I also just thought of, an advantage to having a Dockerfile, is that if you use VS Code as your editor, the Remote Development plugin for Docker will automatically pick it up, and you should be able to just use it right like that.
Thanks for the contribution, it is much appreciated!


Cookbook Recipes: Suggestions & Voting Thread

Hey all 👋
I'm helping to write the Flutter cookbook, and have received a tremendous amount of feedback regarding the types of recipes folks would like to see -- Thank you all so much!
Now, I'd love your help to prioritize these ideas! To do so, please leave a 👍 on the recipe ideas found in the comments below that you'd be most interested in seeing on the flutter.io website.
And of course, please feel free to add comments with more ideas 😄

Upate: I'm leaving a 😄 on each recipe as I complete it!

Tabbed Navigation

Creating a Drawer with Navigation

Unit Testing

Widget Testing

UI Testing

Store information in a database

Working with the Camera

Writing an Oauth Flow

How to handle logging

Working with files on disk (file I/O)

Using MQTT with observables for realtime data

How to use Canvas

How to create a Chart with realtime data

Advanced List animations and effects with Slivers

Working with Forms

How to handle when the app is put in the background and killed

Working with InheritedWidget

Validating forms

Passing data down the Widget tree

How to handle long-running processes, such as downloading a file in the background

you have one double, passing data down the Widget tree

@matejthetree Thanks!

Defining routes, and passing payloads to predefined routes

How to work with Dependency Injection

How to localize your app

How to handle when activity is killed, saving basic app state or at least the route

How to handle list pagination

Working with Local notifications

Recommendations on creating a dev, test and production environment.

Crash reporting on both iOS and Android

Working with animations

Handling Rich text

How to play a sound

How to play a video

How to handle multi-threading

Creating a pinch-zoom effect

How to access the media gallery

Creating a find-as-you-type search box

Storing simple strings on disk

Storing encrypted Strings on disk

Working with Streams

Working with Futures

Handling Firebase Auth for multiple providers in a single app (dealing with unified logic for login, logout and profile fetch)

How to work with Hero animations

Writing Custom Route Transitions with PageRouteBuilder

How to call platform-specific code

How to Stream recurring data from platform to Flutter

How to handle platform permission requests

Writing a file from a network operation

How do I use a markup language to richly style text?

Working with Material and Cupertino Icons

Using a custom font asset for your own icons

Update your UI base on Orientation

Create a Card with Rounded Corners

Creating the “Frosted Glass” effect

How to Embed Flutter in one part of your app

Working with Basic Layouts

How to create a simple plugin package for Android/iOS

Working with Stack widget and alignment of child widgets

Working with Notification from a service

How to protect views by auth

Local notifications and alarms,  also push notifications using Azure.

Share code with a dart web app (angular dart?)

Work with background tasks

How make grid

working with graphql

How to work with Hero animations: maybe try to recreate the IOS App Store Animation when clicking on an App Recommendation. For example the "interactive book on how to design and code an iOS 11 app" is heavily featuring that animation.

InheritedWidget

Brian, for many of these you don't need to kill yourself. You can just link 3-5 good tutorials and packages that already exist. Which reminds me:

Organized list of quality tutorials

Setting up Android SDK CLI tooling on the supported platforms (which version of the JDK needs to be installed, environment variables, etc).
Creating and launching AVDs from the CLI (and IDEs if possible).

@Phrohdoh I wrote up the instructions for creating an emulator via CLI here: https://github.com/flutter/flutter/issues/9862#issuecomment-299612448

Here's a few random ones:
Background execution
Adding deep linking to apps
Responsive UIs
Saving state (maybe covered by K/V?)

Integration with GraphQL

From #15966, refresh content from RefreshIndicator or CupertinoRefreshControl from a restful api.

How to implement "Pull to Refresh"

How to load more data at the end of a list

An image scrolling example using the cacheExtent property and the precaching API to load images before they come into the viewport.

Implementing Mobile App with ML Kit for Firebase (On-device and Cloud examples).

Working with GraphQL

@brianegan for Sticky Header I created a package here: https://github.com/letsar/flutter_sticky_header.
I hope this will help you.

I think @slightfoot may have already pushed his version of Sticky Headers as well.
https://github.com/slightfoot/flutter_sticky_headers

@ScottS2017 Yes you are right, but the packages are quite different in their implementation details. The one you mentioned works with a RenderBox while mine works with a RenderSliver.
I think that  the intended use of headers is typically for lists with a lot of items. And for lists, the SliverList (which renders in fine a RenderSliver) is a better choice than a Column (which renders in fine a RenderBox).

An example for async validation until framework support #9688 arrives.
I didn't have a closer look, but I assume this shouldn't be too hard without framework support.

Another one I have seen several times already.
Get image data from an image #18914

How to implement Azure AD authentication.  Also see this stack overflow.

While waiting for #9688 to resolve, based on suggestion made by @zoechi, there is a demo of sync and async form validation in the example provided in this new package:
https://pub.dartlang.org/packages/modal_progress_hud

Example could possibly be adapted as a cookbook recipe (seems like a pretty common use case I so far couldn't find addressed elsewhere).

How to setup environment to develop integration tests in flutter:
Developing integration tests, at least for me, used to involve building the app and running in emulator for each development iteration. There is no hot reload equivalent for the integration tests. This takes minutes for each development iteration and is very slow.
$ flutter driver
Using device Android SDK built for x86.
Starting application: lib/main.dart
Initializing gradle...                                       0.8s
Resolving dependencies...                                    0.9s
Installing build/app/outputs/apk/app.apk...                  2.1s
Gradle task 'assembleDebug'...
Gradle task 'assembleDebug'... Done                          7.9s
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...                  1.8s
I/flutter (16870): Observatory listening on http://<IP_ADDRESS>:33407/
00:00 +0: app test:  (setUpAll)
[info ] FlutterDriver: Connecting to Flutter application at http://<IP_ADDRESS>:50244/
[trace] FlutterDriver: Isolate found with number: 980848669
[trace] FlutterDriver: Isolate is paused at start.
[trace] FlutterDriver: Attempting to resume isolate
[trace] FlutterDriver: Waiting for service extension

etc...

each run requires a build and install... very slow

Apparently there is a much faster way to develop integration tests.

configure the app to run in emulator and listen on a particular port using something like  --observatory-port=8888.
The integration test, which is a pure dart program, can then be configured to connect on that port using something like VM_SERVICE_URL=http://<IP_ADDRESS>:8888/.

The integration test and the app code can then be modified and rerun without having to rebuild the app on each development iteration.
In one window run:
$ flutter run --observatory-port 8888 test_driver/main.dart
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching test_driver/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                       0.7s
Resolving dependencies...                                    0.9s
Gradle task 'assembleDebug'...
Gradle task 'assembleDebug'... Done                          3.4s
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...                  1.9s
Syncing files to device Android SDK built for x86...
D/        (16530): HostConnection::get() New Host Connection established 0x92a7f040, tid 16552
D/EGL_emulation(16530): eglMakeCurrent: 0xaa088a00: ver 3 0 (tinfo 0x96e46f10)
 2.2s

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:8888/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".

In another window run:
$ export VM_SERVICE_URL=http://<IP_ADDRESS>:8888/
$ dart test_driver/main_test.dart
00:00 +0: app test:  (setUpAll)
[info ] FlutterDriver: Connecting to Flutter application at http://<IP_ADDRESS>:8888/
[trace] FlutterDriver: Isolate found with number: 448955887
[trace] FlutterDriver: Isolate is not paused. Assuming application is ready.
[info ] FlutterDriver: Connected to Flutter application.

etc...

Makes integration testing development way faster, probably 10x faster.
Can also be configured to run in an IDE

I am not sure if it fits this cookbook, but maybe some more samples that uses the BLoC architecture?
From the state management page there seems to be more redux samples than BLoC samples: https://flutter.io/docs/development/data-and-backend/state-mgmt
Reading quickly around the internet, it seems that there is interest / doubts around BLoC from people coming from redux: https://www.reddit.com/r/FlutterDev/comments/9769oz/if_youre_using_the_bloc_pattern_what_do_you_think/

Some examples on how to automatically switch between iOS and Android theming.
Related to this issue: https://github.com/flutter/flutter/issues/8410
However I am not sure about the status of 8410

Setting up .env to run app based on current environment (production, stage, local, etc ...)

Secure storing API credentials  and Keys in Flutter App.

I have one, how to hide api keys in the binary as everyone already know how to use build variants to hide it from the git repos.
use a chain of math functions to hash the api key
take each math step and make it a separate function in a separate class to reverse.
make sure to make the names of each function character names from your favorite movie,.
its imperfect...but its the only viable solution right now


PEAR-2174: Fix survival plot layout issue

Description
Also added PEAR-2176: https://gdc-ctds.atlassian.net/browse/PEAR-2176
Checklist

[N/A] Added proper unit tests
[N/A] Left proper TODO messages for any remaining tasks
[N/A] Scanned for web accessibility with aXe, and mitigated or documented
flagged issues

Screenshots/Screen Recordings (if Appropriate)

looks good 👍

@wteouchicago I added https://gdc-ctds.atlassian.net/browse/PEAR-2176 in this PR itself since it's still up.


Deep compare sx prop

I think we should wrap mapPropsToStyleComponent in useMemo, and use the stableHash function from SWR in the deps array for the sx (and possibly style) prop to memoize it better. This would replace the current method, which stringifies at render and has worse garbage collection than useMemo

Gosh, this is sooo hard with all of theme-ui's complex types in the way rn.
@cmaycumber I think this is the start of v3 of Dripsy. Remove theme-ui altogether, copy over the types ourselves, and have great type safety.

#124 closes this in v3


Please improve the module

You did a great job, i really like it!
But it's still sketchy as a npm module. There is no real implementation, no how-to. You will get way more attention by improving this stuff. ;)
Thanks for the good vue component!

thanks for your comment! i'll try my best to do it, but currently I have no idea how to make it :(

@paulgeisler done 🤗
https://www.npmjs.com/package/vue-faq-accordion
now working on README but you already can install via npm i vue-faq-accordion and use it 😉

Awesome! The downloads are increasing since then. 👍

@paulgeisler yeah, thanks for pushing me forward 😊


Implement no-std support

It would be very useful to have no-std support for the crypto crate. Most of the code should already support this, we just need to update crate metadata to enable this. We can do this similarly to how it is done in the main Miden repo.

Closed by #10


New backend: cepl.drm-gbm

I've been working on EGL, DRM and GBM bindings for Common Lisp and have started work on a backend that uses these so that cepl can draw directly to the Linux framebuffer.
One issue is that this should (probably) always have width and height of the screen. I wonder whether make-context should set its width and height not based on the requested width and height but on values returned by request-context?

Hi Malcolm, first off this looks very cool! What are your plans for this?
Regarding screen sizes, I recently added window-size to the host api, as it's not something CEPL is in control of. On the CEPL side users would call window-dimensions which calls cepl.host:window-size. That function is expected to have been populated by the host and to return the width and height of the window as a list. Here is the implementation for the SDL2 host. I hope this doesn’t cause you any issues.
Is the window size something you can query for the host end? I remember than Shinmera has some code that was aiming to abstract over querying monitor sizes but it looks like the linux part is X11 specific.
I should definitely add some info to the docs to tell people to check the size of the window they got as there is no guarantee that the host would have been able to give them what they asked for.
Also my apologies that the code around the GL context in CEPL is so bad. It was a part I knew so little about and so I did the absolute minimum to get it working and have avoided in since. If you need something though please let me know as it would be a great motivation to get some work done there.

I put this backend together because I'm working on a Common Lisp Wayland compositor and I want to use CEPL for the rendering. I have the compositor working using SDL (via cepl.sdl2) so that it runs on top of X. The DRM/GBM backend will allow running the compositor without X (as is intended); I'm still working on wrapping libinput which is the final piece to make that backend usable.
I saw the cepl.host:window-size but couldn't get it working...I think it's probably because I don't have cepl up to date.
I could have some could that queries the dimensions of the screen and then calls cepl:repl with those dimensions I just wondered whether it made sense that make-context creates a framebuffer dependent on dimensions returned from cepl.host:request-context, say
  (setf *gl-context* context
            *gl-window* (window context)
            (slot-value context 'fbo) (cepl.fbos::%make-default-framebuffer
                                       (cepl.host:window-size) t t))

Sounds useful. I'm going to dump some thoughts below to see if they make sense:

CEPL is about GL only, like GL it only knows about contexts & buffers. It doesn't know about windows or displays so it has a host.
Hosts know about windows and how to make a context. Some seem to have ways of getting the display mode info too https://wiki.libsdl.org/SDL_GetCurrentDisplayMode so maybe this should live here.

The alternative of having the host handle it is having another layer that the host can use. But this feels like things are getting a bit too complicated and I think that layer would not end up tidier than having the host be responsible for it.
One thing I would like to maintain is that CEPL doesn't have platform/host specific info, only stuff that pertains to GL as this matches GL more closely and makes it much easier to port across platforms/lisp-implementations.
What are your thoughts on this?
p.s. This is my first time looking at Wayland's api but could wl_output be helpful here?

The new host api has added more feature & functions that can be queried from CEPL. Ping me for details. The host api is versioned so using CEPL with your host should still work fine.
I'm closing this issue for now


fix(sqllab): warning message when displayed rows limited

SUMMARY

Better error message when the displayed rows in SQL Lab are limited to 10000. Based on user feedback, currently the error is not very actionable for user, because the displayed rows are limited to 10000 but if user selected higher limit (e.g. 100 000) in the dropdown limit, they can still get more results (up to the max rows limit base don config) when downloading CSV. Alternatively they can add filters and rerun the query to get less results.
This new warning message clarifies this for the user making the error more actionable.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TEST PLAN
Validated in local, took screenshots of new warning message.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

@zuzana-vej I think we can use the warning type of the Alert component to display this message. You can see all its variations in the Storybook. Maybe this variation is applicable to your scenario:

/testenv up

Seems like since this is just a copy change, migrating to the alert component is a bit out of scope. thoughts @michael-s-molina ?

Thanks a lot for the suggestions @michael-s-molina, I would also prefer to merge this text change and then I can explore the alert component separately.

migrating to the alert component is a bit out of scope. thoughts @michael-s-molina ?

@etr2460  This can definitely be done in another PR, but since we're already here and it's only a few lines of code I thought we could fix the message and make the UI more standard.  The code that I pasted is functional so is just a matter of applying it.

I'm OK approving/merging this PR as-is to satisfy the immediate need. @michael-s-molina I like your suggestion though! Maybe you (or I, if you'd rather) can open another PR to that effect.

Will do! 😄


ValueError when using tables plugin

Hi there,
I am trying to capture two or more seperate tables from my invoices.
This is an example of what they look like:
CATEGORY 1
Invoice date        Invoice number         Amount
01.03.20            HB342344           -30 000.00
03.02.20            432432             343 043.00

CATEGORY 2
Invoice date        Invoice number         Amount
01.03.20            435345              27 342.00
21.03.20            455533              -3 043.00

I first used the 'lines plug-in' and it worked just fine, the only problem is that there are several seperate tables, and I need to be able to seperate them from eachother.
I tried using the 'tables plug-in' instead as it supports multiple tables per invoice.
This is my capture field for capturing only the first table(CATEGORY 1):
tables:
   start: CATEGORY 1
   end: CATEGORY 2
   body: (?P<Invoice_Date>\d{2}\.\d{2}\.\d{2})\s+(?P<Invoice_Number>\w?\d+)\s+(?P<Invoice_Amount>-? \d{1,}\s{0,}\d{0,}\s{0,}\d{0,}\.\d{2})

when running the --debug from the console I end up getting this error:

This did not happen when I used 'lines'... What is causing this error?

I was missing the '-' symbol before start.
writing:
tables:
-  start: CATEGORY 1
   end: CATEGORY 2
   body: (?P<Invoice_Date>\d{2}\.\d{2}\.\d{2})\s+(?P<Invoice_Number>\w?\d+)\s+(?P<Invoice_Amount>-? \d{1,}\s{0,}\d{0,}\s{0,}\d{0,}\.\d{2})

fixed the problem! My mistake, sorry.
But it only matches on the first row. Doe the tables-plugin not support several rows in each table?

Your regex doesn't match the first line:

Invoice_Number: \w? allows only one (option) character. Your example is HB342344. Make that \w*
Invoice_Amount: -?  requires space after -. Your example is -30 000.00. Make that -?


Adds unit tests to the Service

Codecov Report

Merging #36 into master will increase coverage by 9.75%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
+ Coverage   42.43%   52.19%   +9.75%
==========================================
  Files           5        5
  Lines         205      205
==========================================
+ Hits           87      107      +20
+ Misses        111       90      -21
- Partials        7        8       +1

Impacted Files
Coverage Δ

service/service.go
60.52% <0%> (+52.63%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix error handling in OBJ_add_object

This fixes the possible memory leak in OBJ_add_object when a pre-existing object is replaced by a new one, with identical NID, OID, and/or short/long name.
We do not try to delete any orphans, but only mark them as type == -1, because the previously returned pointers from OBJ_nid2obj/OBJ_nid2sn/OBJ_nid2ln
may be cached by applications and can thus not
be cleaned up before the application terminates.

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

fwiw, I have a branch here:
https://github.com/nhorman/openssl/tree/lhash-rcu-implementation
That converts the lhash implementation to be internally reference counted, so that caching apis can keep instances around by holding a reference to them

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 61 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 92 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 123 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 154 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 185 days ago

Ping for second review

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 61 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 93 days ago

This pull request is ready to merge

Merged to the master, 3.3, 3.2 and 3.1 branches. This does not apply cleanly to 3.0 branch due to changes in OBJ handling code. Please open a new PR against that branch if it should be applied there.


SpeckleCon examples

[x] Automate: clean the OSM example, add courtyards
[ ] QGIS dashboards demo

dashboards postponed


Portrait layout support

Add support for Smart Screens in portrait orientation - see https://smartcambridge.org/csn/forum/forum/smartpanel-3/topic/support-for-portrait-layouts-42/

Closed by 3c5b3d0290405c316337579c3bcd9c3c77d4dcf0


Is there an option I can set to disable the quit confirmation message?

Thanks.

As of v0.1.5 there is no quit confirmation message, the program just exits on pressing Q


MRG, BUG: Fix bug with super versus eq in eSSS

In general the eSSS basis / projectors just need to be a superset of the good MEG channels in the data. This is particularly important when using empty-room data for an experiment with multiple runs where the runs could have different automatic (or manual) bad channels set.

@larsoner I let you merge and backport


Clarify documentation for SqlBulkCopy.EnableStreaming.

Describe the bug
Today, the docs for this property say:

When EnableStreaming is true, SqlBulkCopy reads from an IDataReader object using SequentialAccess, optimizing memory usage by using the IDataReader streaming capabilities. When it's set to false, the SqlBulkCopy class loads all the data returned by the IDataReader object into memory before sending it to SQL Server or SQL Azure.

To me, this reads as if this this property determines whether or not we can stream rows from the reader or whether we load all rows into memory upfront.
However, looking at the implementation, EnableStreaming is quite a bit more narrow and nuanced; as far as I can tell it only affects the handling of MAX-length columns here and null values here.
Expected behavior
It would be good to replace the current docs with a more detailed explanation of what this property does and what the tradeoffs are. When does it matter, and why would a caller want to set this vs. not?
It seems to me that this will only be really impactful if you are dealing with large binary and text columns, because it can avoid needing to read an entire column value into memory. I'm not sure when it would be a good idea not to have this enabled; perhaps it adds overhead if you have lots of short values in MAX-length columns?

@madelson we will look into this.

Thanks for bringing this to our attention. It looks like you're correct and it only applies MAX-length for the value types and null values for them.  We can update the documentation to reflect this behavior to reflect this detail.

Thanks!

This has been merged and included in the 5.1.0 GA Release. Thank you!


'Arkanoid' Game Errors

Description
Many factors in the design of this game are creating bad experience for user. The most prominent is that the ball hiter and the heading are colliding thus text of heading is not visible. Besides that, color and other designing of the game can also be improved by working on styling.
Screenshots
Current Design

Expected Updated Design

Additional information
No

Hi @panwar8279
Kindly review this pull request.


Remove local storage import from transaction.h

I also had to fix some subsequent compilation errors due to things not being included where they are used and relying instead on this include (which admittedly is made more complicated by forward includes meaning that the return type of a function may be incomplete). In addition to a few places which now had to deal with storing unique_ptrs to a forward declared class and couldn't use the implicit default destructor.
This was pulling in a bunch of storage stuff into the single file header (increasing the size by ~50%) and, as a result, the C++ API docs.
We probably need some checks on what gets included. Maybe even just a list of files/classes which we know shouldn't get included as a sanity check.

Is it a possible to maintain a list of files that will be included into the single header file? And we error whenever we need to include some files not being part of the list.

Sure. We could add that to the header generator script.

Is it a possible to maintain a list of files that will be included into the single header file? And we error whenever we need to include some files not being part of the list.

Sure. We could add that to the header generator script.

Can u open an issue on this? We can get to it later.

I'd actually already done it earlier today. I've added it to this PR.
I think there's probably some further pruning that could be done though.


Implement jstl based step predicates

This is a Unified Expression Language (EL) based step predicates implementation. Please check #6 for comparison with JMS based
filter implementation. A sample when condition would be:
${key.field1 == 'value' && key.recordField.field2.toUpperCase == 'VALUE2"
Few implementation details:

Each step has an option when config. It is written in the EL defined here
The chosen java implementation of the EL is JUEL
The language natively supports nested props access via the dot notation.
In order to generate bindings for the fields in the expression, and given the dynamic nature of our generic records and k/v schema, a lazy map is initialized with an adapter object to expose parts of the TransformContext as request by the expression evaluater. Note that an alternative to this would've been to generate java beans props dynamically at runtime (seems possible via spring's BeanDefinitionRegistryPostProcessor
The user can choose between 2 different scopes : [key, value]. Header fields are avaible as top level attributes liketopicName. Please note that the header key (aka. the partition key) is called messageKey to avoid conflict with an INLINE KV key if one exists
The user defined props can be accessed via ${header.properties.propertyName} syntax
Header props are enabled on an allowlisting bases so we have control over which headers are included the headers.
Adding new predicate types (if needed, say we want to give our users flexibility to choose between jstl and jms Language), an implementation of the TransformPredicate is all what's needed. The a factory

If this is the right direction (vs the JMS one) - I'll use this PR as basis for the final implementation (mainly adding more test coverage)

LGTM. Awesome work !


Update MobType.java

Register ArmorStands..

Are you sure this is a mob type? I don't see it listed on the protocol wiki.


Fix unruly URLs in source page table for small viewports

Fixes

Fixes #1223 by @umeshggupta
Description

At first I just truncated the source URLs. But on narrow screens that means that all you would see usually was the protocol and the first couple letters of the URL.
So I added some logic to make the URLs more presentable, stripping protocol, leading www and trailing slashes. This does not update the actual linked URL, just the text representing it.
I also added snapshot tests for this, so it should make it easier to review.
Testing Instructions

Checkout the branch locally and run the app with pnpm dev, then visit /sources and verify it looks good.
Alternatively review the new snapshots which essentially do the same thing :slightly_smiling_face:
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[N/A] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

For some reason the talkback tapes aren't being found for some of the requests on CI, but I can't reproduce this locally :cry:
playwright_1  | [WebServer] 2022-04-06T15:03:21.877Z [Openverse e2e proxy] [INFO] Tape for /v1/images/?q=cat not found and recording is disabled (fallbackMode: NOT_FOUND)
playwright_1  | 2022-04-06T15:03:21.877Z [Openverse e2e proxy] [INFO] {"url":"/v1/images/?q=cat","headers":{"host":"localhost:49153","connection":"keep-alive","pragma":"no-cache","cache-control":"no-cache","sec-ch-ua":"","accept":"application/json, text/plain, */*","accept-language":"en-US","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/101.0.4929.0 Safari/537.36","sec-ch-ua-platform":"","origin":"http://localhost:8443","sec-fetch-site":"same-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"http://localhost:8443/","accept-encoding":"gzip, deflate, br"}}
playwright_1  | [WebServer] 2022-04-06T15:03:21.880Z [Openverse e2e proxy] [INFO] Tape for /v1/audio/?q=cat not found and recording is disabled (fallbackMode: NOT_FOUND)
playwright_1  | 2022-04-06T15:03:21.880Z [Openverse e2e proxy] [INFO] {"url":"/v1/audio/?q=cat","headers":{"host":"localhost:49153","connection":"keep-alive","pragma":"no-cache","cache-control":"no-cache","sec-ch-ua":"","accept":"application/json, text/plain, */*","accept-language":"en-US","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/101.0.4929.0 Safari/537.36","sec-ch-ua-platform":"","origin":"http://localhost:8443","sec-fetch-site":"same-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"http://localhost:8443/","accept-encoding":"gzip, deflate, br"}}

I have no idea why this is happening :confused: The tapes are definitely there for both requests, maybe there's some kind of header mismatch or something? But why isn't it happening locally! So confusing.

Setting allowHeaders: ['connection'] seems to have fixed the issue with the talkback tapes.
@krysal and @obulat please review when y'all have time :pray:

@obulat I think that could be a timing thing, because the cursor flashes.
We could use caret-color to hide it completely to remove it as a variable from the e2e tests.
I'll add that to this PR, if that sounds good to you?

Oh BTW, the fields are still focused, you can see from the pink outline on the field. I'll add the caret-color: transparent to the page before taking the screenshot.


Hi, how do I upgrade this mod's weapon from diamond to netherite?

Minecraft Version
1.20.x
Mod Loader Version
1.20
Mod Version
1.4.5
Describe the Issue
The vanilla template doesn't seem to work?
I checked the REI recipe and the upgrade recipe shows that the template slot supposed to be a netherite's weapon version of the weapon I want to upgrade.
So is it a bug?
No response

Whoops, this was not intentionally xD.
Fixed with https://github.com/Globox1997/MedievalWeapons/commit/d1dd6f4f7bea0dcf8d510aba26981f124853e342


Fix up links, and remove EOL versions

Description

Urgency

[ ] Blocker
[ ] High
[x] Medium

Requirements

See the contribution guidelines.
Build content locally and test for formatting/links.

This needs rebasing anyway


Update gitcookie.sh

What problem does this PR solve?
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change
Has persistent data change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update the tidb-ansible repository
Need to be included in the release note

/benchmark --workload=workload_sysbench

/benchmark --workload=workload_sysbench


[dv] Regression reproducing issue

as @tjaychen pointed out, some regression failures can't be reproduced after we run nightly regression in kokoro.
It may be due to different env setup in kokoro. I tried to address this issue:

found the parameter order in generated RTL may be changed if python version is different. Fixed at #12511.
Tried to install python virtual env (pyenv) to downgrade python version to the one we use in nightly, but pyenv doesn't work with
dvsim. So, I can't confirm if above fix solves the issue or not. If this issue comes up again, will contact AE to further investigate.

About dvsim reproducibility: that's a bit odd - I would have expected pyenv to work. But you might also be able to figure out what's going on by looking at the logs: the Python shouldn't affect much that isn't visible in the command lines that dvsim runs.

Did we run into this problem recently? Otherwise, can we close this?
CC @matutem @jdonjdon


Change Profile-Pic

As an editor
I would like to change the profile pic in order to faster identify the people.

And I do not want to look at animals when speaking with
PEOPLE.

We could have fallback avatars that display a user’s initials and a random color per user. That’s be a low-hanging fruit and would probably be more valuable than the current animal images, right?

Yes


change sdk name sentry.dotnet.powershell

#skip-changelog

@vaind plz merge if this is good?

I've noticed on the UI there's some grouping based on SDK prefix. Do you know about this or what the implications are? Considering the PowerShell SDK doesn't report c# errors.

It just shows the C# logo under the hood?
afaik no implication that should matter


Added basic support for AIR 28. fixes #1785

Thanks. Could you also update the Haxe platforms and other project templates?

Today

@Meychi fixed :)


Badges

Funny, I was just thinking "Does it have this: https://badges.mozillascience.org/ "
Then I go back to the course to read & there's a picture:
line#39
&
https://groups.google.com/forum/#!forum/openbadges-dev ? that's not right.
https://openbadges.org/community/
Is there a criteria roadmap to get it listed?
https://wiki.mozilla.org/Badges/Issuers

Hey, I am not quite sure where this PR is going, so far it just adds a comment? Maybe best for an issue?

@betatim Agreed; the PR was the direct link from the page to "Suggest Changes" in the top right; it links directly to Edit & PR on the File being viewed in the training series.
Linking an Issue to this PR for reference.

Closing the PR since it's more of a questions 😉
@NDuma - I haven't considered badges for open leadership! Might work well with the new Open Leadership Framework


Menu Color Grading seems to break other various color effects in the game

When I have the Menu Color Grading mod enabled, it seems like several color effects don't work. This includes various effects like: Meth lab smoke, yellow flash from taking armor damage, flashbangs, and red screen from having no armor.

I'm also getting this since the last update. Flashbangs just make my screen have duplicate blurry effects, not a white flash. The black&white overlay when you're at 3 downs isn't there at all, it's full color. Lastly, when I enable one of the shaders and then enter my inventory, it reverts to the default grading instantly.

I'm having the same problems, all color grading reverts to normal when I enter my inventory, and in-game color grading like flashbangs, going black and white after 3 downs as well yellow flashing when dodging are completely gone.

I've also developed this issue. Flashbangs don't work correctly, screen doesn't turn red when you lose armor, etc., and after looking into it and disabling the menu color grading mod in the options, the issue still persists, even after removing Goonmod altogether.

Refixed this in the latest update. Colour grading now only affects the menu and won't disable any in-game screen effects.


Get Single Project

Get single project
Get a specific project, identified by project ID or NAMESPACE/PROJECT_NAME, which is owned by the authenticated user.
If using namespaced projects call make sure that the NAMESPACE/PROJECT_NAME is URL-encoded, eg. /api/v3/projects/diaspora%2Fdiaspora (where / is represented by %2F).
GET /projects/:id

Parameters:

id (required) - The ID or NAMESPACE/PROJECT_NAME of a project

{
  "id": 3,
  "description": null,
  "default_branch": "master",
  "public": false,
  "visibility_level": 0,
  "ssh_url_to_repo": "git@example.com:diaspora/diaspora-project-site.git",
  "http_url_to_repo": "http://example.com/diaspora/diaspora-project-site.git",
  "web_url": "http://example.com/diaspora/diaspora-project-site",
  "tag_list": [
    "example",
    "disapora project"
  ],
  "owner": {
    "id": 3,
    "name": "Diaspora",
    "created_at": "2013-09-30T13: 46: 02Z"
  },
  "name": "Diaspora Project Site",
  "name_with_namespace": "Diaspora / Diaspora Project Site",
  "path": "diaspora-project-site",
  "path_with_namespace": "diaspora/diaspora-project-site",
  "issues_enabled": true,
  "merge_requests_enabled": true,
  "wiki_enabled": true,
  "snippets_enabled": false,
  "created_at": "2013-09-30T13: 46: 02Z",
  "last_activity_at": "2013-09-30T13: 46: 02Z",
  "creator_id": 3,
  "namespace": {
    "created_at": "2013-09-30T13: 46: 02Z",
    "description": "",
    "id": 3,
    "name": "Diaspora",
    "owner_id": 1,
    "path": "diaspora",
    "updated_at": "2013-09-30T13: 46: 02Z"
  },
  "permissions": {
    "project_access": {
      "access_level": 10,
      "notification_level": 3
    },
    "group_access": {
      "access_level": 50,
      "notification_level": 3
    }
  },
  "archived": false,
  "avatar_url": "http://example.com/uploads/project/avatar/3/uploads/avatar.png"
}

Closed by Finished Get Project Commands.


fix: makess padding bigger [skip-e2e]

With new target names being quite excessive we didn't have target - explanation nicely aligned. This PR fixes that.

It's
after all!


ppp: fix build with newer kernel headers

Motivation for this change
The package would build but with some components missing, see https://github.com/NixOS/nixpkgs/issues/37926 and https://hydra.nixos.org/build/70939248/nixlog/1 -> CTRL-F error:
Not sure how to test this beyond checking the missing .so now exists.
Hopefully fixes #37926 /cc @TvoroG.
/cc @dtzWill as I had to regenerate the musl patch + there was some strip weirdness in the install phase when I tried to build for musl.
Should probably be backported to 18.03 as well as it seems to have the same issue.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: ppp
Partial log (click to expand)
gzipping man pages under /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/lib  /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/bin  /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/sbin
patching script interpreter paths in /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7
/nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/bin/plog: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/bin/poff: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/bin/pon: interpreter directive changed from "/bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
checking for references to /tmp/nix-build-ppp-2.4.7.drv-0 in /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7...
moving /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/sbin/* to /nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7/bin
/nix/store/krzz001p43vfysvz3imyhzm25pspfn4x-ppp-2.4.7

Success on aarch64-linux (full log)
Attempted: ppp
Partial log (click to expand)
gzipping man pages under /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/lib  /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/bin  /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/sbin
patching script interpreter paths in /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7
/nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/bin/plog: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/bin/poff: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/bin/pon: interpreter directive changed from "/bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7...
moving /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/sbin/* to /nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7/bin
/nix/store/m1i4333y0304fzzsknw3wdx8d3gb66pp-ppp-2.4.7

Success on x86_64-linux (full log)
Attempted: ppp
Partial log (click to expand)
gzipping man pages under /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/lib  /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/bin  /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/sbin
patching script interpreter paths in /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7
/nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/bin/plog: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/bin/poff: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/bin/pon: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /tmp/nix-build-ppp-2.4.7.drv-0 in /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7...
moving /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/sbin/* to /nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7/bin
/nix/store/nl65xvvb70pfvvlca4176ljmrgzn1pmd-ppp-2.4.7

Success on aarch64-linux (full log)
Attempted: ppp
Partial log (click to expand)
gzipping man pages under /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/share/man/
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/lib  /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/bin  /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/sbin
patching script interpreter paths in /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7
/nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/bin/plog: interpreter directive changed from "/bin/sh" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/sh"
/nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/bin/poff: interpreter directive changed from "/bin/sh" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/sh"
/nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/bin/pon: interpreter directive changed from "/bin/sh" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7...
moving /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/sbin/* to /nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7/bin
/nix/store/iazx26mfnz002xns1p9di23nmxzbwlvq-ppp-2.4.7


swap orddict for maps

Thanks Kansi! LGTM overall, nice work.
This needs a rebase after I added the ppspp_options_SUITE tests this morning. Good timing depending on your point of view!
Some general comments:

these %% @type options() = {options, options_dict()}. need to stay duplicated, edoc/edown needs them for generating typespec info in the docs
please remove the commented-out orddict lines
where we are creating the option for the first time we should fail if the key already exists
ensure the function body comments are updated to match the changed code :-)

Before final push, we should squash this down to 1 commit, and confirm with make reindent that all is tidy. Your indentation (perhaps emacs?) is different to vim's one.

@kansi ^^

shaping up nicely! Do you think we are ready to merge now?

I think we shouldn't delay this much, we can fix bugs (if any) as we go.

@kansi this needs to be rebased off /develop/ so we can get a clean merge, and the comments need to be removed. If I have time tonight I'll get to it.

So I'm struggling to follow some of the changes here.
My reading of how the data structure should be implemented is as follows:
Endpoint = #{
  channel => 0,
  ip => {127,0,0,1},
  port => 7777,
  socket => #Port<0.1727>,
  transport => udp,
  uri => "<IP_ADDRESS>:7777#0x00000000"}.

Options = #{
  chunk_addressing_method => chunking_32bit_chunks,
  chunk_size => 1024,
  content_integrity_check_method => merkle_hash_tree,
  merkle_hash_tree_function => sha256,
  minimum_version => 1,
  supported_version => 1,
  swarm_id => <<200,152,0,191,200,46,208,30,214,227,191,213,64,140,81,39,68,145,247,212>>}.

Datagram = #{
                endpoint => Endpoint,
                messages => [
                #{
                   handshake => #{
                                              channel => 19476988,
                                              options => Options}}]}.
%% again, but expanded out fully
Datagram = #{
    endpoint => #{
        channel => 0,
        ip => {127,0,0,1},
        port => 7777,
        socket => #Port<0.1727>,
        transport => udp,
        uri => "<IP_ADDRESS>:7777#0x00000000"},
  messages => [#{
        handshake => #{
            channel => 19476988,
            options => #{
                chunk_addressing_method => chunking_32bit_chunks,
                chunk_size => 1024,
                content_integrity_check_method => merkle_hash_tree,
                merkle_hash_tree_function => sha256,
                minimum_version => 1,
                supported_version => 1,
                swarm_id => <<200,152,0,191,200,46,208,30,214,227,191,213,64,140,81,39,68,145,247,212>>}}}]}.

Of note:

datagrams comprise an endpoint (including the incoming channel id)
a list of messages
a handshake is embedded options and source channel id.

I can't square this manual conversion with the code. Any clarifications?

I think options and endpoint follow the mentioned structure. I didn't know datagram need to be just map and not {datagram, map()}. Will fix this issue today.

yay! I'm out to lunch and paperwork, I'll pick it up again when I'm back & we should be merged today.

@dch thank you for this rebase. a couple of comments in general:

there's no attribution to @kansi
the commit message is not very… good.

this took a fair bit of time to sort out in the end. I've not checked the documentation build yet for the typespecs, but the map changes & tests are finally up to date.

There are a few spots where I've used maps pattern matching that is not available in OTP 17.x, only in 18.x. I think we can drop support for non-current OTP releases and worry about this in The Future after a 1.0 release.

docs don't work yet due to some breaking changes in edown that I need to review. I'd like to merge this to /develop/ anyway, and ensure @kansi gets credit in the merge commit.

@kansi @igalic let me know if you're ok for me to push this to /develop/now?

re-checked the branch, LGTM.


Automated conversion fails for Date{MILLISECOND, Int64}

Reposting from slack.
Automated conversion fails for Date{MILLISECOND, Int64}. It infers that the type is DateTime, but then errors when attempting to convert. Using convert=false and manually converting later works.
MWE:
julia> using Arrow, Dates

julia> table = Arrow.Table("faulty_date.arrow");

julia> table.date[1]
ERROR: MethodError: no method matching Int64(::Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND, Int64})
Closest candidates are:
  (::Type{T})(::AbstractChar) where T<:Union{AbstractChar, Number} at char.jl:50
  (::Type{T})(::BigInt) where T<:Union{Int128, Int16, Int32, Int64, Int8} at gmp.jl:356
  (::Type{T})(::Base.TwicePrecision) where T<:Number at twiceprecision.jl:243
  ...
Stacktrace:
 [1] DateTime(y::Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND, Int64}, m::Int64, d::Int64, h::Int64, mi::Int64, s::Int64, ms::Int64, ampm::Dates.AMPM) (repeats 2 times)
   @ Dates C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Dates\src\types.jl:383
 [2] fromarrow(#unused#::Type{DateTime}, x::Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND, Int64})
   @ Arrow.ArrowTypes ~\.julia\packages\Arrow\ggVa0\src\ArrowTypes\src\ArrowTypes.jl:157
 [3] getindex(p::Arrow.Primitive{DateTime, Vector{Arrow.Date{Arrow.Flatbuf.DateUnitModule.MILLISECOND, Int64}}}, i::Int64)
   @ Arrow ~\.julia\packages\Arrow\ggVa0\src\arraytypes\primitive.jl:48
 [4] top-level scope
   @ REPL[13]:1

julia> raw_table = Arrow.Table("faulty_date.arrow", convert=false);

julia> convert(DateTime, raw_table.date[1])
2019-01-01T00:00:00

I suspect the problem is that the type DateTime is correctly inferred, but then Arrow calls the constructor instead of the conversion, but only the conversion is defined.
I'm sharing the file (sorry it's zipped but github would not let me upload otherwise).
faulty_date.zip

Thanks for merging the PR! Would it be possible to tag a patch release with the fix?

@piever Ah, I tagged a minor release (1.5) that included the fix yesterday, would that suffice? Otherwise could cut a v1.4 release branch and tag v1.4.1 from there

Thanks for the release! I've updated to Arrow 1.5 and everything works smoothly, as far as I'm concerned there's no need for backporting.


Please publish varlink-enabled podman for Ubuntu

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Current builds of podman don't seem to have varlink build tag. This leads to podman varlink command being missing. Could you start publishing varlink-enabled podman in projectatomic repos?
Steps to reproduce the issue:

apt-get install podman

podman varlink unix:/run/podman/io.podman

Describe the results you received:
An error message saying:
Error: unrecognized command 'podman varlink'
Describe the results you expected:
varlink interface to be started up.
Additional information you deem important (e.g. issue happens only occasionally):
N/A.
Output of podman version:
Version:            1.3.0-dev
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.4
  podman version: 1.3.0-dev
host:
  BuildahVersion: 1.8-dev
  Conmon:
    package: 'conmon: /usr/libexec/crio/conmon'
    path: /usr/libexec/crio/conmon
    version: 'conmon version , commit: '
  Distribution:
    distribution: ubuntu
    version: "18.04"
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>
  OCIRuntime:
    package: 'cri-o-runc: /usr/bin/runc'
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree: 0
  SwapTotal: 0
  arch: amd64
  cpus: 4
  hostname: host
  kernel: 4.15.0-47-generic
  os: linux
  rootless: false
  uptime: 387h 25m 49.85s (Approximately 16.12 days)
insecure registries:
  registries: []
registries:
  registries: []
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 0
  GraphDriverName: overlay
  GraphOptions: null
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 0
  RunRoot: /var/run/containers/storage
  VolumePath: /var/lib/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):
N/A

This is via the Projectatomic PPA, right?
@lsm5 PTAL

Yes, that's the one

@lsm5 are we good here?

I'd like to bump this one.
The ubuntu version 1.4.0 from the Projectatomic PPA is still lacking varlib support.

@towe75 @EricHripko I'll get the libvarlink package on the ppa next week. So please hold on a little longer. I added v1.4.3 to the ppa btw.

@lsm5 ping/poke

@lsm5 , @baude  is there a ubuntu specific show-stopper? I'm not a packaging expert but i work mostly on ubuntu machines. Can i test/support anything?

I think our biggest issue is getting libvarlink itself packaged up

Question 1: what's the challenge (did not look at libvarlink, yet)? I'm working a lot with C-ish projects, so maybe i can help something.
Question 2: Is it a necessary dependency? Podman, because of go, will surely not depend on it, same for systemd. I understand that it would be nice to have the varlink cli command for testing purposes, but otherwise i can not see the relationship. Possibly i am wrong, though.

Yeah, https://github.com/varlink/go doesn't seem to use any cgo, so it wouldn't use libvarlink. That shouldn't be a blocker 🙂

the challenge of not having libvarlink on ubuntu is two fold:

when using a remote-client and the bridge technique, connections will fail because libvarlink is required.
the varlink util to debug connections is not available.

IC. Coming back to libvarlink: why is it a big issue to getting it packed up? I assume it would be published into the very same projectatomic PPA?

IC. Coming back to libvarlink: why is it a big issue to getting it packed up? I assume it would be published into the very same projectatomic PPA?

I'm still setting up autobuild pipelines for ubuntu versions, done with 18.04 and 19.04, in the middle of 16.04 atm.

RE: libvarlink deb, I haven't been able to get it built yet, the last few times I tried some days back. I'll revisit that soon as I get the chance, unless you have the deb packaging files ready that I could reuse.

@EricHripko @towe75 varlink enabled packages are just about getting published to ppa for 19.04 and 18.04. PTAL..

should be ready now ..

closing then ... re-open if a problem arises.


[Bug] Ldap login successful, routing failed

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

{"data":{"user":{"userId":"100002","username":"chenzy15","password":"","email":null,"userType":"USER","status":"1","createTime":"2022-11-17 16:13:13","modifyTime":"2022-11-17 23:12:12","lastLoginTime":"2022-11-17 23:12:12","sex":"1","description":null,"avatar":"default.jpg","sortField":null,"sortOrder":null,"createTimeFrom":null,"createTimeTo":null,"id":"xow0boU2OOSRY4Z2jefL","salt":"","nickName":"chenzy15","lastTeamId":"100000"},"permissions":["app:create","app:flameGraph","savepoint:delete","app:launch","app:start","notebook:submit","app:view","app:detail","project:build","app:update","backup:delete","app:cancel","conf:delete","app:clean","project:create","backup:rollback","project:view"],"token":"b702a408028cbf3ff5d8049ae73d1c3fb28c5fd9c4d2526984fc16c56a3b6ec11bb1eb4193dd95a4bda47eac2a36a7c8b74a63a3597aa86d94ce18cf0783d88dee5edb5208b0848f1c336fc59570842b3a314116147127ad57632f86095afaff98c90a61130a6aa3e3ddcd5072695a8b9dccdcfa1765e9489974c134cab5c3ca8afd706b0cc7ce89fee79025fc5c028caa75168f01c288dfc0c52566e4d277a5","expire":"2022-11-18 23:12:26"}}
{"code":"200","data":[{"id":"100000","teamName":"default","description":null,"createTime":"2022-11-17 15:22:58","modifyTime":"2022-11-17 15:22:58","sortField":null,"sortOrder":null,"createTimeFrom":null,"createTimeTo":null}],"status":"success"}
StreamPark Version
2.0.0
Java Version
No response
Flink Version
1.4.5
Scala Version of Flink
2.12
Error Exception
null

Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @MonsterChenzhuo  Thank you for your feedback，I observed that after you logged in with ldap, the /menu/router interface gave an exception alarm. I suggest you look at the back-end log of the /menu/router interface. If there is no log on the back-end, you can see whether the currently logged in user data is abnormal.


Some Config Question

Hello, Mr. author. Do you only need to add installstager.exe, r77-86ro64.dll, install.cpp, install. H, r77api. H and other files to integrate your project scheme into my project? I can't compile successfully with / MTD release x86

I'm guessing you want to replicate the behavior of Install.exe directly in your source code instead of deploying Install.exe, which is a good way to pack r77 with your project.
In your resources, you only need InstallStager.exe. It already contains both DLL's. You also don't need any *.lib files.
Install.cpp is the source code of Install.exe. So, you need to rename WinMain to e.g. InstallR77 and then call that function. The r77api include is required for functions such as GetResource and CreateScheduledTask.
What error do you have when building?

Thank you for your reply. I will reconfigure r77 according to your method later. If there are any questions, I will give feedback


World Host

CurseForge link
No response
CurseForge Mod Distribution
None
Modrinth link
https://modrinth.com/mod/world-host
Source/other link
https://github.com/Gaming32/world-host
Mod file size
1.98 MiB
License
(any other license)
What it does
Lets anyone host their singleplayer server to anyone, not just LAN
Why should it be in the modpack

Unlike competing mods, it does not require the mod or any software on the receiving client (!!!)
Integrated seamlessly into LAN button
NCR is able to convert messages to system ones like LAN
Geyser aka Bedrock support is planned
The dev is very reactive to my requests

Why shouldn't it be in the modpack

Sustainability not yet known, waiting for technical and financial details (aka how likely will it keep working for years and for masses)
Not yet on CF
Some UX things to smoothen out
It's big
May not be compatible with other LAN mods
Potential privacy/bandwidth concerns (though the UUIDs are very random anyway), so an opt-out toggle would be nice

Additional details
It also has a friend list, but FO would disable that by default to prevent ecosystem lock-in, and because it is not necessary for primary functions anymore anyway.

You should reconsider keeping the friends list, he says that having someone as a friend reduce the ping, maybe is worth it if you are playing with someone far away, I haven't tried yet, but I will let you know, also I don't think it looks bad in the multiplayer menu, looks really "vanilla" to me.

It may reduce the ping, but it also raises expectations of people towards that feature - they may start to request cross-server chat, direct server joining, in-game friendlist, friend list sync and probably a lot more things which may be completely out of scope of that mod. The mod or its server may also disappear at any time, which can make the users mad as they've invested time and network effect towards that; without a friend list most users may not even notice the mod missing or consider it a minor inconvenience.
I want to keep the expectations low and interface simple, so as long as the proxy server exists, I don't see myself enabling the friend list.

e4mc was added instead of World Host since it was more suitable for FO.


Test the tests (do not merge)

Failing tests:

[ ] blocks-add-node (https://github.com/spacemeshos/go-spacemesh/runs/3457746610)
[ ] mining (https://github.com/spacemeshos/go-spacemesh/runs/3462466600)
[ ] p2p (https://github.com/spacemeshos/go-spacemesh/runs/3462466644)

bors try

bors try
On Sun, Aug 29, 2021, 23:26 bors[bot] @.***> wrote:

try
Build failed:

ci-stage2
https://github.com/spacemeshos/go-spacemesh/runs/3457932637

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spacemeshos/go-spacemesh/pull/2739#issuecomment-907984983,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZJWNHWD5HH7CL23T6OYODT7L245ANCNFSM5DA5TG2Q
.

bors try
On Mon, Aug 30, 2021, 08:39 bors[bot] @.***> wrote:

try
Build failed:

ci-stage2
https://github.com/spacemeshos/go-spacemesh/runs/3461758948

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spacemeshos/go-spacemesh/pull/2739#issuecomment-908307810,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZJWNFYHZ2QYEPU7GSYNADT7N3XBANCNFSM5DA5TG2Q
.

bors try

bors try
On Mon, Aug 30, 2021, 11:20 bors[bot] @.***> wrote:

try
Build failed:

ci-stage2
https://github.com/spacemeshos/go-spacemesh/runs/3463363306

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spacemeshos/go-spacemesh/pull/2739#issuecomment-908433450,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZJWNHMANXW3BXD342DV6TT7OOVHANCNFSM5DA5TG2Q
.

bors try

bors try


Extract private implementations and Into<T> wrappers

Proposed Changes
This addresses #1944 by splitting methods with Into<T> parameters into thin public wrappers and private monomorphic implementations.

@jared-s Could you please mark this PR as hacktoberfest-accepted?


Passing decode404 configuration globally using Configuration

Is there a way to pass the decode404 property to all FeignClients by instantiating a bean through a configuration class, like it is possible for ErrorDecoder or Contract etc?

Not currently.