Wrap PayForMessages in order to remove WirePayForMessage from the mempool

Description
This is the second part of #581 and is blocked by #582. Please reference those for the problem statement and further details.
part of #581
blocked by #582

will fix the ci failures soon

Codecov Report

Merging #149 (841f038) into master (accbe90) will increase coverage by 0.15%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
+ Coverage   32.01%   32.16%   +0.15%
==========================================
  Files          13       14       +1
  Lines        2271     2288      +17
==========================================
+ Hits          727      736       +9
- Misses       1493     1499       +6
- Partials       51       53       +2

Impacted Files
Coverage Δ

app/child_tx_decoder.go
16.66% <16.66%> (ø)

app/abci.go
61.19% <66.66%> (+0.17%)
:arrow_up:

app/app.go
83.05% <100.00%> (+0.11%)
:arrow_up:

x/payment/types/codec.go
91.89% <100.00%> (+0.22%)
: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 3192328...841f038. Read the comment docs.


not authenticating against django python ldap3

https://github.com/flavors/django-graphql-jwt/blob/master/graphql_jwt/decorators.py#L85
user = authenticate(             request=info.context,             username=username,             password=password,             skip_jwt_backend=True)
what is the purpose of the skip_jwt_backend variable?
This is causing an issue with the django ldap 3 backend

Hi @arif-hanif and I'm sorry for the delay in my response.
When a user authenticates, the JWT token should not be taken into account, that is the purpose of the skip_jwt_backend argument.
django ldap 3 uses the authenticate() arguments to look up the user, you can configure this behavior with the configuration variable LDAP_AUTH_FORMAT_SEARCH_FILTERS
Anyway, I've remove this argument https://github.com/flavors/django-graphql-jwt/commit/6bf91bfb1e8a6868746b7f313f3d1aa7b4b8a062.
I close the issue, if you have any questions please let me know.


unneeded field intialization in buildGraphPrivilege?

Hi @carlmontanari
Do you need to reinitilize the d.PrivGraph here
https://github.com/scrapli/scrapligo/blob/a31197a0902e9f1550999cf56a9af1c1350b417a/driver/network/privilege.go#L17
if you did this already here
https://github.com/scrapli/scrapligo/blob/a31197a0902e9f1550999cf56a9af1c1350b417a/driver/network/network.go#L35

Yes and no I think....
In most cases I think that this is almost certainly duplicated effort.... in "normal" (python) scrapli though, and hopefully soon in scrapligo, users can "register" new configuration sessions. This "registration" process dynamically adds a privilege level of whatever the session name is, we then call the UpdatePrivilegeLevels method again. For just adding config sessions I guess there is no reason to reinitialize the d.PrivGraph but I guess its also possible that users may remove config sessions and such. So my thinking was just any time we hit this section of code we just start with a clean slate. Hopefully that makes sense? And perhaps more importantly is sane...?

ok, what about keeping d.PrivGraph in privilege function, but removing it from Driver struct as proposed here https://github.com/scrapli/scrapligo/pull/8 ?

ok, what about keeping d.PrivGraph in privilege function, but removing it from Driver struct as proposed here #8 ?

makes sense to me, merging shortly. will close this one out too!


i got  504 error when i followed your config steps

nginx:
server {
listen 80;
error_log  /usr/local/nginx/logs/error.log;
charset utf-8;
root /Users/liufa/Documents/www/laravel_blog/public;
server_name  www.laravel_blogfly.com;
# useful when debug
#504 Gateway timeout error http://stackoverflow.com/questions/18229757/nginx-php-fpm-xdebug-netbeans-can-start-only-one-debug-session

# for firefox, otherwise firefox may dowload some page; default file type is: octet-stream
include /usr/local/nginx/mime.types; default_type text/html;
location / {
    # you can place index.html on document root dir
    index  index.php index.html;
    try_files $uri $uri/ @other;
}

location = / {
    proxy_http_version 1.1;
    proxy_set_header Connection "keep-alive";
    proxy_pass http://<IP_ADDRESS>:9501;
    proxy_set_header    X-Real-IP        $remote_addr;
    proxy_set_header    X-Forwarded-For  $proxy_add_x_forwarded_for;
    proxy_set_header    Host             $http_host;
}
location @other {
    proxy_http_version 1.1;
    proxy_set_header Connection "keep-alive";
    proxy_pass http://<IP_ADDRESS>:9501;
    proxy_set_header    X-Real-IP        $remote_addr;
    proxy_set_header    X-Forwarded-For  $proxy_add_x_forwarded_for;
    proxy_set_header    Host             $http_host;
 }

}

?
504 Gateway timeout error
http://stackoverflow.com/questions/18229757/nginx-php-fpm-xdebug-netbeans-can-start-only-one-debug-session

I have seen  the page you gave me , it is different from my problem.  There is nothing to do with xdebug . I do not know why

is  your laravelfly server ( that is a swoole server )  working well?
first visit   ip:9501  ( default 'listen_port' is  9501 )

默认端口9999 直接 curl<IP_ADDRESS> 无法访问 swoole正常运行

我也遇到一样的问题  用的是swool2.0+ 请问是不是不支持呢？


navigateTo not working inside defineNuxtPlugin on initial render

Discussed in https://github.com/nuxt/nuxt/discussions/27301

Originally posted by theathleticnerd May 22, 2024
I'm trying to navigate the app to a path in my $fetch wrapper plugin. The url to be redirected to is being sent by the API.
If response._data.redirect is true, then it should redirect to response._data.redirect_url_path.
The code below doesn't work on the initial render (while directly going to the particular url), but it does work after the app loads and the user navigates through the app to the particular url.
This is payload in case of a page that should be redirected:
{
    "redirect":true,
    "redirect_url_path":"/xyz/def",
}

This is the code of the $fetch wrapper.
// plugins/customFetch.ts
export default defineNuxtPlugin((nuxtApp) => {
  const config = useRuntimeConfig();
  const $customFetch = $fetch.create({
    baseURL: config.public.baseURL,
    async onRequest({ request, options, error }) {
      options.headers = {
        "X-PUBLIC-URL": `https://www.abcd.com${request}`,
      };
    },
    async onResponse({ response }) {
      if (response._data.redirect) {
        await navigateTo(response._data.redirect_url_path);
      }
    },
  });
  // Expose to useNuxtApp().$customFetch
  return {
    provide: {
      customFetch: $customFetch,
    },
  };
});

This is the code of the the useFetch wrapper composable
// composables/serverFetch.ts
import type { UseFetchOptions } from "nuxt/app";
export function $serverFetch<T>(
  url: string | (() => string),
  options: UseFetchOptions<T> = {},
) {
  return useFetch(url, {
    ...options,
    $fetch: useNuxtApp().$customFetch,
  });
}

I have tried using nuxtApp.runWithContext and callWithNuxt but it is still not working.
I would greatly appreciate your help.
Thank you.

I have attached a link to the code below:
https://stackblitz.com/edit/github-m9sk89?file=plugins%2FcustomFetch.ts
While this works after the app is loaded, it doesn't work during SSR.
navigateTo is being used inside the defineNuxtPlugin(), but still i'm getting the error:
A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function.

See the link in the error message. You will probably need to do nuxtApp.runWithContext. You're not calling it in the plugin, you're registering a hook that runs sometime later after an async operation.


Timestamps in log files

Please review my changes. This should take care of https://github.com/zedshaw/mongrel2/issues/64. Thanks!

Why was this closed?

Don't know. I was planning to review this very soon. =)
Maybe we can reopen. The patch seems good, but I still want to merge it locally and run some requests to see how it turns out.

Hi
Sorry it was my patch and closed it because I think I had messed up my
mongrel2 git repository, so my pull request contained unnecessary commits.
I am going to resubmit the patch.
Thanks
Juba
On Dec 26, 2011 6:58 AM, "Dalton Barreto" <
<EMAIL_ADDRESS>wrote:

Don't know. I was planning to review this very soon. =)
Maybe we can reopen. The patch seems good, but I still want to merge it
locally and run some requests to see how it turns out.

Reply to this email directly or view it on GitHub:
https://github.com/zedshaw/mongrel2/pull/89#issuecomment-3274382

That's fine. Maybe you could create a branch off of develop branch and open the pull request from a commit of that branch.
Tis way if this new branch is up to date with the develop, the pull request will only include the right commits.
Anyway, thanks for the contribution! =)

Thanks for the tip. I think I am finally figuring out the power of git flow. I opened up another pull request and have referenced the original issue in my commit message.


postgres backup Bitwarden Unified beta database

I know the official bitwarden unified beta is out of scope of this project: https://bitwarden.com/help/install-and-deploy-unified-beta/
However will the postgres backup of this project in theory will work with the bitwarden unified project using postgres as db backend?

This project only provides backup support for the unofficial Vaultwarden and has not been tested with the official Bitwarden.
PS: In theory, backing up only the database should be universal. However, please note that any pull requests and issues related to non-Vaultwarden backups will not receive support (comments excluded).

Understood and what I expected.


Created PostgresHaAdmin::DatabaseYml class and corresponding rspec

This PR is preparation for executing failover.
Created PostgresHaAdmin::DatabaseYml class which is responsible for  all operations on database.yml related to failover execution:

back-up database.yml
extract connection parameters from database.yml and convert them to be acceptable by  PG::Connection
update database.yml with new connection info

@carbonin
@miq-bot add-label wip, core

LGTM :+1: @gtanzillo
@miq-bot rm_label wip

LGTM 👍


Ionic 1.0.0

Love your work.
Any plans to update Ionic to 1.0.0?
Quite a few features I'm looking forward to, particularly Swipe to Go Back.
This would resolve https://github.com/meteoric/meteor-ionic/issues/3.

+1 on the love

+1
(Amazing work btw! Really appreciate it.)

+1

+1

On 25/05/2015, at 8:28, Alex Frazer<EMAIL_ADDRESS>wrote:
+1
—
Reply to this email directly or view it on GitHub https://github.com/meteoric/meteor-ionic/issues/198#issuecomment-105231710.

+1

+1
Waiting desperately for 1.0.0!

+1

@nickw any response?

I don't have any plans to attempt a 1.0 upgrade right now. "Swipe to go back" in particular will be quite difficult to implement and will probably require a custom router (or a heavily modified version of an existing router). I'm also much more interested in React and React Native right now, but if my interest returns to Ionic I will definitely look at upgrading.


Swagger implementation updates

This commit updates Swagger Dotnet Core Swashbuckle version
to recent release to be in sync with current docs.asp.net:
https://docs.asp.net/en/latest/tutorials/web-api-help-pages-using-swagger.html
The changes include

NuGet version bump
implementation changes in attributes
adding documentation comments and proper
attributes
project configuration to use and generated xml docs
Swagger (Swashbuckle) fixes

I have problem in getting xml included in Swagger UI
opposed to docs.asp.net info - but maybe this is only
my machine problem (OS X)
The changes should not change original article users experience.
Thanks!

Thanks @peterblazejewicz! I wasn't aware of the new package version.

@spboyer Shayne, have you managed to incorporate produced web api help xml into Swagger UI? Even though the swaggerapi.xml is produced here, it is not included into rendered Swagger pages (the screenshots on your dcs page contains content from documentation markup).
Thanks!

did you do turn is on?
"buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true,
    "xmlDoc": true
},

did you do turn xmlDoc on?

Yes: https://github.com/ealsur/auth0swagger/blob/master/swaggerapi/project.json#L35

can you explain what is NOT happening or what you need to happen, not sure what I am missing.

can you explain what is NOT happening or what you need to happen, not sure what I am missing.

Yes. Thanks for taking your time btw.
The generated xml contains at least some valid markup:
<member name="M:ValuesController.Create(MyModel)">
            <summary>
            Creates a MyModel item
            </summary>
            <param name="item"></param>
            <returns>new created MyModel item</returns>
            <response code="201">Returns the newly created item</response>
            <response code="400">If the item is null</response>
        </member>
        <member name="M:ValuesController.Update(System.String,MyModel)">
            <summary>
            Updates a specific MyModel item
            </summary>
            <param name="id"></param>
            <returns></returns>
            <response code="204">Returns when item was updated</response>
        </member>

but the backing genrated json http://localhost:5000/swagger/v1/swagger.json does not contain information, so no additional metadata is rendered by Swagger UI.
I"d expect to see additional information for CREATE (POST) based on help tags like in your sample:

but I can still see only default content without help meta (I expect to see 'Creates a MyModel item'):

@peterblazejewicz I fixed some XML attributes on https://github.com/ealsur/auth0swagger/commit/60988d246e04f723cf4b08535d7bbc6bcefce239 that were not closed correctly, couldn't get the remarks to show though.

@peterblazejewicz I fixed some XML attributes on 60988d2 that were not closed correctly, couldn't get the remarks to show though.

That's probably issue at current version:
https://github.com/domaindrivendev/Ahoy/issues/130

@peterblazejewicz - i forked the repo and stepped thru it all, it appears to be all correct.  Keep in mind that that https://github.com/domaindrivendev/Ahoy is in beta, and there are a number of issues. #130 is the most relevant one.

Thanks Shayne!


Clean up GATK preprocessing pipeline

Misc issues:

We sort, index, resort, reindex.
Disk settings aren't given properly in adam_gatk_pipeline, so we OOD.

Question for @hannes-ucsc @benedictpaten @jvivian @almussel. If I set the disk requirement for a job function and then I encapsulate the job, does that disk requirement get set for all follow-on jobs?

Actually, I'm going to punt on the disk requirements. I think that issue will be solved by fixing #184 and #185. Passing a disk requirement to all jobs in the subgraph actually introduces new problems, as I discuss in #185.


Publish<EMAIL_ADDRESS>

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (toolchains_musl) have been updated in this PR. Please review the changes.

These failures are all very interesting and real, will look into fixing them.


refactor: programs as delimited sequences of statements

eliminates the recently added conflicts, shaves a few seconds off compile time, and state count in the parser is cut by over half -- from 7151 states to 3087!
Other changes:

compound_statement has been renamed to block
create_function uses object_reference correctly
we've lost parsing of 'string' function bodies but that was probably a bad idea to begin with

we've lost parsing of 'string' function bodies but that was probably a bad idea to begin with
what statements are you referring to?

we've lost parsing of 'string' function bodies but that was probably a bad idea to begin with

what statements are you referring to? Can you give me an example?

there are a couple in the tests, for example
create or replace function public.fn()
  returns int
  language sql
as 'select 1;';

select 1; is now parsed as a literal instead of a statement in its own right. It could be a program if we could ensure that any single quotes internal to it didn't parse in the outer program, which is probably possible but a cursory check didn't look promising.


kata_agent: Fix kata channel name (virtio)

From @sboeuf on January 12, 2018 21:31
The name of the virtio channel referring to the agent should not be defined inside kata_agent.go, but instead should be imported from github.com/kata-containers/agent/api package.
Copied from original issue: containers/virtcontainers#558

From the code this issue still remains.
https://github.com/kata-containers/runtime/blob/master/virtcontainers/hypervisor.go#L68
https://github.com/kata-containers/agent/blob/master/api.go#L15
However this issue becomes irrelevant for Kata 2.0 given the migration to rust agent.
Closing this issue. @devimc @jodh-intel hope this is fine.


adds model_kwargs to Chatopenai call

Description
we can now pass additional arguments to the Chatopenai function, which calls the openai chat.
This allows user to pass json mode for openai.
Fixes #1156
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (does not change functionality, e.g. code style improvements, linting)
[ ] Documentation update

How Has This Been Tested?
I used the following config,
llm:
  provider: openai
  config:
    model: 'gpt-3.5-turbo'
    temperature: 0.5
    max_tokens: 1000
    top_p: 1
    stream: false
    model_kwargs:
      response_format:
        type: json_object

and a simple rag code
import os
from embedchain import App

# Create a bot instance
app = App.from_config('/home/pranav/python-projects/website-rag/config.yaml')

# Embed online resources
app.add("https://en.wikipedia.org/wiki/Butter_chicken")

# Query the app
print(app.query("what is butter chicken good? reply as json with key value 'butter_chicken'"))

which gives output -
Inserting batches in chromadb: 100%|███████████████████████████████████| 1/1 [00:00<00:00,  2.66it/s]
{
  "butter_chicken": "Butter chicken is a type of curry made from chicken with a spiced tomato and butter sauce known for its rich texture."
}

[ ] Unit Test
[X] Test Script (please provide)

Checklist:

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

Maintainer Checklist

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Made sure Checks passed

Nice, thanks for fixing.


Make Test a Pipeline show correct line feeds in the output (#5466)

Have you tested that this resolves the display-issue? I'd like to see some visual evidence of that, with and without the change, if possible.
If not then perhaps an explanation of why this fixes the issue?
Otherwise I find it hard from the code-change to verify the fix is correct.


SharePoint Online lists webhook subscription gets lost

Category

[x] Question
[ ] Typo
[ ] Additional article idea

Question
Environment details (development & target environment)

DELETE THIS LINE BEFORE SUBMITTING | Complete the following (if ignored you'll be prompted for it before we can address your issue... save the time and provide it in your initial submission).

Your Developer Environment: n/a
Target Environment: SharePoint Online
Framework: n/a
Browser(s): n/a
Tooling: Power Automate
Additional details:
I have created a flow that subscribes another flow (triggered via HTTP Request) to specific lists' webhooks in SPO site. This is done by using "Send an HTTP requests to SharePoint site" action and "_api/Web/Lists(guid'GUID')/Subscriptions" endpoint. The data that is sent is:

{
"resource": "list GUID",
"notificationUrl": "another flow trigger URL",
"expirationDateTime": "@{addDays(utcNow(), 30)}",
"clientState": "current flow ID"
}
What I noticed is that there is always present a subscribed notificationURL: https://northeurope1.pushnp.svc.ms/notifications?token=some-guid with expiration date set to circa 20 minutes from the time the list was accessed by user, however those I subscribed are sometimes missing. Is it possible that when the default subscription is re-registered other are also being removed?
Second thing is - I have a feeling that not always changes to the data on the list is triggering data to be sent to the webhook. Usually this is below 5 minutes, but happens that I don't see anything for the change I've done.
@VesaJuvonen do you know what could be the reason?
Regards,
Tomasz

@VesaJuvonen I don't see any reason to investigate it. Possibly I was doing something wrong when registering the new subscription. Nevertheless since I wrote the question, my subscriptions are still present and events are quickly sent via webhook to defined notificationUrls.


Refs #24121 -- Added repr() to URLNode.

Ticket
There are a number of changes that can be made as a part of the ticker linked above, this PR addresses only one of them and does not close the ticket.

Thank you!


v2.6.0 requires @adapty/react-native-ui v1.1.0 which is not released yet

Description
!] CocoaPods could not find compatible versions for pod "Adapty":
  In snapshot (Podfile.lock):
    Adapty (= 2.4.5, >= 2.4.5, ~> 2.4.0)

  In Podfile:
    adapty-react-native-ui (from `../node_modules/@adapty/react-native-ui`) was resolved to 1.0.3, which depends on
      Adapty (= 2.4.5)

    react-native-adapty (from `../node_modules/react-native-adapty`) was resolved to 2.6.0, which depends on
      Adapty (= 2.6.3)

Couldn't find any versions for "@adapty/react-native-ui" that matches "^1.1.0"
? Please choose a version of "@adapty/react-native-ui" from this list:
❯ 1.0.4-rc.1
  1.0.3
  1.0.3-canary.2
  1.0.3-canary.1
  1.0.2
  1.0.1
  1.0.0-beta.2
  1.0.0-beta.1

Version
v2.6.0
What platforms are you seeing the problem on?
iOS
System info
System:
    OS: macOS 13.5.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 144.64 MB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.18.1 - ~/.nvm/versions/node/v16.18.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.18.1/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.18.1/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.12.0 - /opt/homebrew/opt/ruby/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
    Android SDK:
      API Levels: 29, 30, 31, 32, 33
      Build Tools: 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.1
      System Images: android-28 | ARM 64 v8a, android-32 | Google Play ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2022.1 AI-221.6008.13.2211.9619390
    Xcode: 14.1/14B47b - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.15 - /opt/homebrew/opt/openjdk@11/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.68.6 => 0.68.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Fixed in 2.7.0


How to properly type model data?

I'm still figuring out how to properly do some things in TS, so I'm stuck typing the server response which I'm going to pass as the model data. Just something like SnapshotIn<typeof TodoModel> in MST. SnapshotInOf from mobx-keystone isn't the right thing since it requires the modelTypeKey to be in the object itself, here is example:
@model('Todo')
export class TodoModel extends Model({
  id: prop<string>(() => uuid()),
  text: prop<string>(),
  completed: prop<boolean>(false),
}) {

}

// this throws an error the modelTypeKey is missing
const snapshot: SnapshotInOf<TodoModel> = {
  text: 'test',
}

const m = new TodoModel(snapshot);

That's because $modelType is actually required to be in model snapshots before fromSnapshot can be used on them (or else you will get a plain object and not a model instance).
There are several ways around this:

Inject the model type in the snapshot (you also need to inject it for any submodels you may have)

const backendData = ...
const snapshot =  {
  ...modelSnapshotInWithMetadata(TodoModel, backendData),
  // if there are submodels
  submodel1: modelSnapshotInWithMetadata(SubModel, backendData.submodel1)
}
const todo = fromSnapshot<TodoModel>(snapshot)

Create a todo instance (again, you might have to call new Model for sub-models)

const backendData = ...
const todo = new TodoModel({
  ...backendData,
  // if there are submodels
  submodel1: new Submodel(backendData.submodel1),
})

Actually make the backend inject the "$modelType" in returned data models (the easiest one if it is possible)

I was thinking of adding a registrable callback so whenever fromSnapshot finds an object without $modelType will be called with the object and can return the model class it should be, but that'd mean you'd need to somehow be able to infer it from the structure...
Something like:
const disposer = registerModelResolver((obj: any) => {
  if (somehowIknowThatObjStructureIsLikeFooModel) {
    return FooModel
  }
  else {
    return undefined
  }
})

The only way (AFAIK) to avoid that would be to force the whole type system to be runtime type checked, and use this type check info to infer the model type (which is what mobx-state-tree does).

Another option would be to have an optional resolvePathType method on models, so you would be able to use the path instead of the object structure.
@model(...)
class FooRootModel extends Model(...) {
  resolvePathType(path, subObj) {
    if (path.is(["a", "b"]) return FooSubModel1
    // if FooSubModel1 has unknown submodels it will try to use its `resolvePathType` to figure them out

    if (path.is(["a", "objMap", any]) return FooSubModel2
    if (path.is(["a", "whatever", (k) => k.startsWith("bleh"), "something"]) return FooSubModel3
    return undefined
  }
}

const m = fromSnapshot(FooRootModel, backendData)

with probably a default implementation where if it is declared with "tcProp" it will try to use that first to figure out the model type
Maybe that's more useful?

Don't you find that as just a really simply and common case which requires a lot of extra steps just like I do?
I think there should be some kind of type which just allows you to pass some JSON into the model constructor, just like that:
// this is just a pseudocode
const json: TodoModel.Data = {
  text: 'test',
}

const m = new TodoModel(json);

Even without submodules or so. My point here is that I'm just want to create a new instance. Want to use not the exact snapshot, but something I would just write in the object that constructor accepts. Maybe I'm not familiar with TypeScript enough so I'm seeing it different, just from my perspective, but please let me know where I'm wrong.

If the model doesn't have sub-models then it should work.
e..g
@model("asd")
class MM extends Model({text: prop<string>()}) {}

const data = {text: "hi"}
const mm = new MM(data)

const data2: ModelCreationData<MM> = {text: "hi"}
const mm2 = new MM(data)

(reminds me I should make ModelCreationData public I guess :) )

Nevermind, ModelData<M> and ModelCreationData<M> are public, I just never wrote about them in the docs

ModelCreationData – is the exact type I wanted, thank you.
Is the MM.Data as a replacement of ModelCreationData<MM> make any sense for you? Not sure if it's even possible or has some perf impact.

You would need to write typeof MM.CreationData then. I've always found that people get confused on why it doesn't work when they don't write typeof.

Got it, so ok, when it looks fine.
For some reason, ModelCreationData didn't work for me when I've tried it (just been guessing by its name), but seems like a problem with VSCode, sometimes it just lags.
Seems like my question is answered and that issue is resolved, thank you!
Should I keep it open until you add some docs for ModelCreationData type?

Just wrote them :) But I think it is nice to keep this one open in case somebody else has the same issue.

Closing, I think this issue has been open long enough :)


AppendTargetFrameworkToOutputPath not respected by PackageFile target

Describe the Bug
AppendTargetFrameworkToOutputPath not respected by PackageFile target, such that the output from dotnet nugetize custom.csproj is as follows:
Package: Custom.<IP_ADDRESS>-dev.nupkg
         D:\Users\John.Zabroski\source\infrastructure\trunk\Prototype\bin\Custom.nuspec
    Authors    : John.Zabroski
    Copyright  : Simmaculate c 2021
    Description: Package Description
    Icon       : icon.png
    Version    : <IP_ADDRESS>-dev
  Contents:
    /contentFiles/
      any/
        net5.0/
          ThirdParty.OData

Steps to Reproduce
I don't know how to provide a unit test for MSBuild related stuff.
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
  <!-- ReSharper disable UnknownProperty -->
  <PropertyGroup>
    <Authors>John Zabroski</Authors>
    <Copyright>Simmaculate</Copyright>
    <TargetFramework>net5.0</TargetFramework> <!--netcoreapp2.1, netcoreapp3.1 also supported -->
    <EnablePackInference>false</EnablePackInference>
    <PackageIcon>icon.png</PackageIcon>
    <PackageId>Custom</PackageId>
    <AssemblyTitle>Custom Packaging</AssemblyTitle>
    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    <OutputPath>bin</OutputPath>
  </PropertyGroup>

  <PropertyGroup>
    <PackDependencies>true</PackDependencies>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Nugetizer" Version="*" />
    <PackageReference Include="ThirdParty.OData" Version="*" >
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
  </ItemGroup>

  <ItemGroup>
    <PackageFile Include="ThirdParty.OData" Version="*" PackFolder="Content" Pack="true" />
  </ItemGroup>

</Project>

Expected Behavior
Based on AppendTargetFrameworkToOutputPath=false and PackDependencies=true and OutputPath=bin, I would expect the third party nuget package to be transcluded into the bin folder, and the /any/net5.0 sub-tree to be deforested so that its just "/contentFiles/".
Exception with Stack Trace
n/a
Version Info
dotnet-nugetize 0.7, Nugetizer 0.7
Additional Info
I figured I would use this prototype as research into @kzu suggesting I give Nugetizer a try to solve problems with SDK Pack, but so far I am not fully wrapping my head around how this is supposed to work, and I am most definitely not an MSBuild or Nuget expert.

I did find PackagePath but I am not sure I understand how to properly use it.  Can you point me to the nuget docs that have the specific rules for Content/ContentFiles?  In the SDK Pack world, all I have to know about is whether an item is Content or not, so I am not familiar with specific rules, as I am guessing SDK Pack hides them from me?
I think my confusion comes from trying to follow this example on your blog post:
    <!-- Add package dependencies directly too -->
    <PackageFile Include="Newtonsoft.Json" Version="13.0.1" PackFolder="Dependency" />

I didn't realize that what you were implying is I could avoid nuget restore entirely by simply forcing the dependency information.  I thought PackageFile Include="Newtonsoft.Json" might somehow automagically download the package and provide us with the option to include all packagereferences in a single package, similar to what Cake and OctoPack do.

It also looks like ContentTargetFolders isn't respected.  Not sure if it should be.  Mostly just going off the description that Nugetizer is mostly a drop-in replacement for "SDK Pack".  Seems like a reasonable expectation it should, based on https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#including-content-in-a-package

Plz provide the csproj with the content laid out by SDK Pack and how nugetizer differs from that. (after just referencing nugetizer, no csproj changes, aka "drop in replacement" :))
Thanks!

Also, perhaps change the issue title since AppendTargetFrameworkToOutputPath doesn't play a role in SDK pack or nugetizer alike?


Sortable  - Lack of documentation

At the end of the documentation there is an small part about using SortableGroup but it doesn't mention that when we use this annotation we should also mark our position field with SortablePosition annotation.

Hi, well, annotations are explained here including an example in different mapping types. though, maybe it is not mentioned that you can have more than one group

@l3pp4rd It is not the problem, The fact is that I didn't see the document you mentioned. As you can see a link here is referring to the master branch  of this project which (is an older version of the same document). So the problem is the link on laraveldoctrine.org.
It should be updated on the website


Fix C c accepting keybase prove warnings

eof-like stuff results in (!ok && err != nil) == true

not waiting for a review since it's very simple


jenkinsuriprefix in NOTES and ingress in addition of healthprobes (cf…

What this PR does / why we need it:

It correctly sets the healthprobes when Master.JenkinsUriPrefix is specified as it was proposed in #5737 , then not causing always failing health checks
It also indicate the proper url users need to use to reach the jenkins instance
It also set appropriately the path on the ingress controller, so that multiple jenkins instances could be hosted under a single virtual host

Which issue this PR fixes:
fixes #5283
Special notes for your reviewer:

CLA signature done

/assign @lachie83

any updates?

Hi I'm out with just my mobile phone for a couple of days...

The prefix issue has already been merged but not the NOTES fix. Can you submit just that part:
https://github.com/helm/charts/blob/master/stable/jenkins/templates/jenkins-master-deployment.yaml#L136


Do not distinguish between non-existent user and incorrect password

This is actually a concern from yasa. Distinguishing between these errors allows an attacker to blindly guess usernames, then instantly receive confirmation when they have found a valid one. Instead, just return the same error either way.

Users can already determine if a username is valid by attempting to add a user by that username to a channel.

ohhh ok so i can simply send a same response for both
ig i will simply do "invalid credentials"


Steam Inventory Helper causes inventory fetch timeout

Hello, I noticed that when I have SIH active, it causes inventory fetch timeout.
Disabling SIH solves the issue

Looks like SIH was interfering with some of the logic.
Its fixed in the latest version, thanks for reporting.

Thanks for the quick fix!


Add optimized code for speeding up get recent videos endpoint

This PR alters the get_recent endpoint in the video app to optimize the speed of fetching the videos.
It also adds more choices in the LANGUAGE_CHOICE constant in translation\metadata.
The speedup result has been mentioned in the JIRA ticket.

I am merging after resolving all comments.


Build CFP Dashboard

See #62 for the conversation that led to this.

This does not include removing the current all conferences page. We will remove that once we've also replicated its functionality that isn't captured here (e.g. "ability to find a list of conferences I've submitted to that haven't happened yet")

Note that we likely want a button somewhere at the bottom that says "Don't see your conference? Click here to suggest it" or something.

branch: https://github.com/tightenco/symposium/tree/feature/cfp-dashboard

I really like this.


Deployment check failed to report status

Describe the bug
level=fatal msg="error reporting to kuberhealthy: bad status code from kuberhealthy status reporting url: %!s(int=400)%!(EXTRA string=400 Bad Request)"
Steps To Reproduce

Create a deployment check that failed (e.g. with missing RBAC permissions)

apiVersion: comcast.github.io/v1
kind: KuberhealthyCheck
metadata:
  name: deployment-check
spec:
  runInterval: 10m
  timeout: 15m
  podSpec:
    containers:
    - name: deployment
      image: quay.io/comcast/deployment-check:1.1.0
      imagePullPolicy: IfNotPresent
      env:
        - name: CHECK_IMAGE
          value: "nginx:1.17-perl"
        - name: CHECK_IMAGE_ROLL_TO
          value: "nginx:1.17.5-perl"
        - name: CHECK_DEPLOYMENT_REPLICAS
          value: "4"
        - name: CHECK_DEPLOYMENT_ROLLING_UPDATE
          value: "true"
      resources:
        requests:
          cpu: 15m
          memory: 15Mi
        limits:
          cpu: 25m
      restartPolicy: Always

Expected behavior
The check is able to report the status on failure
Versions

Kubernetes Version: 1.14
Kuberhealthy Release or build 2.1.0

The 400 comes from the Kuberhealthy server.  Each time a pod reports status back to Kuberhealthy, the Kuberhealthy server inspects the calling IP and then attempts to look it up using the Kubernetes API.
This error in your issue may be because the server is unable to validate the calling pod and thus returns 400 to it.
Can you check the Kuberhealthy server master (the one that is alphabetically first in the list of pods) and see if its logs show the reason for the 400?  It should clearly say 400 somewhere with a reason nearby in the logs.

It's probably something I screw up with permissions (see #333) - I created the permissions manually, and there is probably something missing.


Make suggested changes for ubershmekel/redditp/pull/166

Thanks for implementing the gallery functionality for RedditP!
As per this comment on the PR requesting such changes, I did the following:

Reverted the CNAME to what it was originally
Additionally deleted the GitHub Actions workflow to deploy the static page (I'm assuming that this was just for debugging?)

Closing in favor of putting up PR to main repo


Distinct validation bug when using different rules for array

Laravel Version: 8.40.0
PHP Version: 7.4
Database Driver & Version: MySQL 8.0.22

Description:
When using distinct validation rules and using different rules for each array element, distinct validation will not work as expected.
This bug only exists when we put array element rules after a distinct validation rule.
Steps To Reproduce:
Example code with wrong output:
$v = Validator::make(
    ['value' => [25, 25]],
    [
        'value.*' => 'distinct',
        'value.0' => 'numeric|min:10|max:30',
        'value.1' => 'numeric|min:20|max:40'
    ]
);
$v->errors()->all() // [], Not what expected when value is [25, 25]

Working examples with expected output:
$v = Validator::make(
    ['value' => [25, 25]],
    [
        'value.0' => 'numeric|min:10|max:30',
        'value.1' => 'numeric|min:20|max:40',
        'value.*' => 'distinct'
    ]
);
$v->errors()->all(); // The value.0 field has a duplicate value., The value.1 field has a duplicate value.

$v = Validator::make(
    ['value' => [25, 25]],
    [
        'value.*' => 'distinct'
    ]
);
$v->errors()->all(); // The value.0 field has a duplicate value., The value.1 field has a duplicate value.

Note: Previous issue (#37257) closed but issue not solved yet.

Like Taylor said here: https://github.com/laravel/framework/pull/37260#issuecomment-832148347, you're probably using distinct in a way that's not intended, sorry.

@driesvints
Is the order of validation rules even matters?
I'm sure this should be considered a bug. I'm pretty sure.

@driesvints
These two arrays are equivalent.
[
    'value.*' => 'distinct',
    'value.0' => 'numeric|min:10|max:30',
    'value.1' => 'numeric|min:20|max:40'
]

[
    'value.0' => 'numeric|min:10|max:30',
    'value.1' => 'numeric|min:20|max:40',
    'value.*' => 'distinct'
]

But validator output is different for each one which the second one is accurate.

@driesvints

I'm sorry but I'm gonna have to close this one. You can always attempt a new pr but I believe Taylor was clear.


problem for from_coreml.py image transform part

i think.....
image input and tranform code:  x = np.transpose(img,(2,0,1))[np.newaxis, :]
should be the code like from_mxnet.py
"
def transform_image(image):
image = np.array(image) - np.array([123., 117., 104.])
image /= np.array([58.395, 57.12, 57.375])
image = image.transpose((2, 0, 1))
image = image[np.newaxis, :]
return image
"

#354


Not preserved optional field values sequence

Latest master don't preserve values sequence for optional field vith multiple values.
In input we have
foo => [ '', 'bar' ]

And in output we got only
foo => ['bar']

It's wrong. See
http://stackoverflow.com/questions/4027635/do-browsers-preserve-order-of-inputs-with-same-name-on-get-post
Sometimes values order is very important, even if some of them are empty.
If you see my MR - there input and output of optional fields are identical by this reason.

I've reverted my previous commits regarding #824 and #825, since clearly there is more to be discussed. https://github.com/kraih/mojo/commit/97f6f441530791709d96deb160feaec67ca1d37c And considering the number of design problems popping up, it might be worth reconsidering if changes are necessary at all. Multiple optional values are a fringe use case, and already not supported by the tag helpers.

Closing this issue since it does not apply anymore. We'll need a new one to discuss handling of multiple optional values as a new feature (i do not see it as a bugfix anymore).


Stackoverflow error when exporting source.

https://pastebin.com/jyiaKNxG for the crash message
When you click file -> export source, enigma tries to export, but crashes shortly after.
Edit: this does not happen with export jar.

Duplicate of FabricMC/Enigma#202


Code for detection

Cool paper, and congrats on the ICML publication!
Saw that you only uploaded the watermarking script. Could you please upload the corresponding detection code as well? Thanks!

Yep seems that the detection code are not uploaded.

+1 It would be useful to have the detection code please, as the description in the paper seems quite complex. Thank you!


gh-130 - functions to convert objects into list, set and array

Codecov Report

Merging #131 into develop will increase coverage by 0.26%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #131      +/-   ##
=============================================
+ Coverage      73.37%   73.63%   +0.26%
- Complexity       964      981      +17
=============================================
  Files            139      142       +3
  Lines           2824     2852      +28
  Branches         298      306       +8
=============================================
+ Hits            2072     2100      +28
  Misses           611      611
  Partials         141      141

Impacted Files
Coverage Δ
Complexity Δ

.../java/uk/gov/gchq/koryphe/impl/function/ToSet.java
100% <100%> (ø)
6 <6> (?)

...java/uk/gov/gchq/koryphe/impl/function/ToList.java
100% <100%> (ø)
6 <6> (?)

...ava/uk/gov/gchq/koryphe/impl/function/ToArray.java
100% <100%> (ø)
5 <5> (?)

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 cf79b55...b17150b. Read the comment docs.


Visual Studio Code can't use provided dev container

The repo includes a file .devcontainer/devcontainer.json that Visual Studio Code recognizes, and it offers to reopen the project in a container. However, trying to do that gives this error:

The only specific error message I can find about why it's not valid is

Missing property "build". [1, 1]

but this is only a warning.

@anpaz-msft Is this something you may know about?

@KittyYeungQ: This is on me.
@marshallsa: I suspect this is because when VS Online launched, it used a slightly different schema for .devcontainer/devcontainer.json than VS Code Remote Development. The devcontainer in this repo was originally created for VS Online during that time, and thus may well not be valid for Remote Development. Those two schemas have since been merged, such that we should now be able to support both properly.

Is this solved? @cgranade, @samarsha

Not yet, sorry; had slipped my mind. Let me fix that ASAP.


Link spans traces covering the various stages of a job

In a typical asynchronous workflow, a trace would either cover the entire work or one trace would cover one piece of the work with a link to other pieces of work. Currently, traces for different pieces of running a job - submission, starting, running, publishing, etc - are not connected in any way.
We should pass the span information along with the libp2p message so that a node reacting to a message can link the new span to the span that triggered the work.

This issue is blocked because there's currently no way of sharing metadata natively over a libp2p connection - the messages can contain a number of different fields such as payload, source, and destination but doesn't support arbitrary headers.
The only solution would be to change all request and response payloads to include a 'metadata' field where the trace information can be placed. We could change the proxyRequest in compute_proxy.go and handleStream in compute_handler.go to inject the relevant information using a common embedded struct. Doing this then brings up the problem that the contexts are rarely kept when requester/compute nodes communicate so needing extra work to sort this out.


Problem while refreshing the widget

Hi,
Using the latest version from f-droid, sometimes I have a problem with the widget when I create/update/delete some tasks : the widget goes empty. I can still use the "+" to access to the app, but nothing is shown in the widget and I have to delete it and add it again to my "desktop".
I don't know how to investigate as this seems to be a randomly behavior.
Please tell me if you need some information :)

Interesting, we've not heard of this issue yet. We need to think about this and why it can happen.

Hi,
i have a similar issue. I add the widget to my home screen. After a while the list gets empty and i have to readd the widget to my home screen.
Furthermore, the list of visible and synchronized calendars gets reset. I have 4 calendars, but i only need 2 of them. So i set the not required calendars to invisible.
But after the bug 'happens' all four calendars are visible again, and i have to

disable visibility of my unwanted calendar and
reenable the wanted calendar in the main view.

I am using Nextcloud 11.0.1 as backend, and DAVdroid '1.4.1-gplay' for synching.
Hope this input may help.
Mike

I retired the widget with the caldav-sync app from Marten Gajda and it seems the issue disappeared. I don't have any problems with my widget anymore.
I guess this issue is not related to the app widget.
I suggest to close this issue!


Golang compilation error with a go:embed instruction on 1.6.0

Which version are you using?
v1.6.0
go version go1.21.0 darwin/amd64

Which operating system are you using?

[ ] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[X] macOS amd64 standard
[X] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
When attempting to run or build the project, there is an golang compilation error
internal/servers/hls/http_server.go:29:12: pattern hls.min.js: no matching files found

//go:embed hls.min.js
Describe how to replicate the issue
go run main.go

or
go build

Did you attach the server logs?
no (server does not run)
Did you attach a network dump?
no (server does not run)

Please take a look at the "Compile from source" section of the README.


not working

I followed every step as it is bu could not find filtration , camera simply  shows same image

Without any code, I can't really help a great deal. I've just run through myself and it all seems to be working fine for me... Something that may help you would be to check out the codelab-finish branch, and see if it works - if so, it may indicate that something was missed or copied incorrectly from the codelab.
Another thing to try would be to 'diff' your code against the solution, e.g. by running git diff codelab-finish, which will show any discrepancies between the expected solution and your own.


Fix Dockerfile linter warnings

Dockerfile.musl-base
1 warning found (use docker --debug to expand):
 - UndefinedVar: Usage of undefined variable '$SYROOT' (did you mean $SYSROOT?) (line 55)

Dockerfile.toolchain
2 warnings found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
- UndefinedVar: Usage of undefined variable '$TARGET' (did you mean $TARGETOS?) (line 84)

You might also want to take a look at this warning from libxml2:
configure: WARNING: unrecognized options: --disable-doc


Embla crashes on IOS 13 (Safari/Chrome)

Bug is related to

[ ] embla-carousel-react

Embla Carousel version

v8.0.0-rc01 - v8.0.0-rc06

Describe the bug

ios 13 safari crashes

Steps to reproduce

launch app on ios 13

Expected behavior
Ios 13 works correctly with embla-corousel
Additional context

@khodich-dmitriy please provide a CodeSandbox that reproduces the problem. This is clearly stated in the contribution guidelines. Please read it and add necessary things missing to this bug report.
Without this information, this issue will be deleted so let me know if you intend to complete this bug report.
Best,
David

Hi @khodich-dmitriy,
Embla v8 only supports modern browser features. iOS 13 doesn’t support ResizeObserver:

…and the number of users using iOS 13 is very very low:

However, as you can see on the table, iOS 13.1 does support ResizeObserver. Either upgrade your iOS version or downgrade Embla to any version before v8.0.0-rc0x.
Best,
David

@khodich-dmitriy IOS 13.x support was added in 8.0.0-rc13. Note that only for versions that support ResizeObserver:

IOS 13.4 and up
OSX Safari 13.1 and up

Best,
David


Need improved explanation of "Re-cut" geometry option

I'm finding it difficult to understand how to use the re-cut option. According to the current description it will "generate an extended cut over the first cut section". What exactly is the value specifying? Is it some kind of threshold for what flatcam considers a meeting of lines? Does it specify an overlay width that will be cut away? I have experimented with a few different values, but it looks like the same paths are being generated (just from looking at the plot area, I have not run the gcode on my CNC yet). I have noticed that this option produces very different results than the Passes isolation routing option, which seems to avoids intersections. Is Re-cut a bit like the opposite behavior?

Sorry, moved this issue to bitbucket


Error processing request body: Error Domain=NSCocoaErrorDomain Code=257

Is this a bug report?
YES
Have you read the Contributing Guidelines?
YES
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.5.0
Yarn: Not Found
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: 0.48.4 => 0.48.4
Steps to Reproduce

Take Images using ImagePicker Component
Tried to upload the image i am getting this error
it's not often but it will happen once out of 5 times.

Expected Behavior

Able to capture image and system should be able to get the image from the specified url/path

Actual Behavior
Error processing request body: Error Domain=NSCocoaErrorDomain Code=257 "The file “InspireME” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=/var/containers/Bundle/Application/E7F57FD7-965B-4C2D-9765-E445356CA8C7/InspireME.app, NSUnderlyingError=0x1c085dc70 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
Reproducible Demo

Take Images using ImagePicker Component
Tried to upload the image i am getting this error
it's not often but it will happen once out of 5 times.

I am facing this issue too

I am uploading multi images to server, but if i don't chose enough image, this error will happen. Now, i am checking image in client, anyone have other solution?

i was trying to upload an empty image, when stopping that the error disappeared

Check the local photo uri has the file:/// prefix. It shouldn't.

Use image.path instead of image.sourceUri

the problem was with my image.uri and form data
let formData = new FormData();       formData.append("videoFile", {         name: name.mp4,         uri: video.uri,         type: 'video/mp4'     });     formData.append("id", "1234567");     try {         let response = await fetch(url, {             method: 'post',             headers: {                 'Content-Type': 'multipart/form-data',             },             body: formData         });         return await response.json();     }     catch (error) {         console.log('error : ' + error);         return error;
this code worked for me for iOS and android for uploading video

@LuisRizo image.sourceURL. For others running into this issue, confirm your source path/uri/url, it's likely pointed somewhere other than it should be.

@LuisRizo  image.sourceURL works on iOS but not on android.
@bnauta what do you mean by it's likely pointed somewhere other than it should be on both iOS and Android.

Both thank you for helping this already far better than not knowing what to try.

There an issue, maybe we have to deal with it another way.
It would be nice having some enlightenments from someone who knows what's behind.

@MacKentoch inspect your source path; confirm it resolves to the file/url you intend it to. Put it this way: If the source pointer is correct, you likely won't be running into a permissions issue.
@ssomnoremac, @LuisRizo, @harshsrivastavaglobussoft and I are all effectively saying the same thing

@MacKentoch image.sourceURL worked perfectly on iOS on simulator, but when ran on real device, it was complaining about permission errors regarding accessing a file using: file://... when I tried sending that image through HTTP requests.
Using image.path solved the issue.

Use image.path instead of image.sourceUri
This worked for me :)

Hi i have the same inssue with videos but if i put video.path the error disappear but have a horrible quality and when i put video.sourceURL have a good quality but show me the error, any solution for this? i need it with good quality


New Users Are Confused About the File Structure in Layout Documentation

This can be seen by the two recently closed PRs trying to edit filename extensions.
https://github.com/11ty/11ty-website/pull/1518
https://github.com/11ty/11ty-website/pull/1521
The solution can be providing a filename to the first code example showing using the layout in multiple different languages.
Page in concern: https://www.11ty.dev/docs/layouts/

Merged, thank you!


SRFC - Diff after installing

Looks like the timestamp is automatically updated after unserializing SRFC object,

aligns after triggering "reset local"

SRFC is now supported by "native" abapGit, closing


Eval?

https://github.com/kaliek/words-to-decimal/blob/28a1cfa9d02f6347a4d45365e96c3316bd3868ae/src/main.js#L30
https://github.com/kaliek/words-to-decimal/blob/28a1cfa9d02f6347a4d45365e96c3316bd3868ae/src/main.js#L36
https://github.com/kaliek/words-to-decimal/blob/28a1cfa9d02f6347a4d45365e96c3316bd3868ae/src/main.js#L38
https://github.com/kaliek/words-to-decimal/blob/28a1cfa9d02f6347a4d45365e96c3316bd3868ae/src/main.js#L42
Why are there evals? For what reason?

i removed it now


Frequencies don't stop at end frequency

Hi, the script works great for the ringing tower model when the layer height is set to 0.2mm.
However, when the layer height is set lower and there are more layers, the frequency (for M593) doesn't actually stop at the specified end frequency or nor is it scaled between the start and end frequencies.

Yea, the script is meant to be used specifically with the instructions on https://marlinfw.org/docs/gcode/M593.html which says to use 0.2mm layer height for slicing, I guess I could generalise the script if needed though, why are you using smaller layer heights?

It was my mistake the first time slicing at 0.1mm height but now I'm wondering if the end frequency has a purpose if it will not stop at end frequency or scale with the model.

As far as I know, the input shaping tries to compensate for the most common frequencies of vibration in the printer frame. I presume that the marlin team has concluded that most printers work best when compensating between 15hz and 60hz. With the test print, you compensate for different frequencies in this range at different heights of the print. Then you are working out which compensation value results in the best print by working out the height of least ringing.

Yes, I understand that the recommended frequency is 15 to 60hz on the standard ringing tower print, but is there a need for a start and end frequency input when entering different values in them has no effect on the final inserted gcode?

The start and end frequencies should definitely have an impact on the final inserted gcode, I just tested it now with random values like 40 starting and 90 ending. I added the option so advanced users can try different frequencies, but I didn't expect people to use different models/layer heights. I suppose I can add them though, it wouldn't be too difficult


Configuration with Caddyfile?

Hi
Can this plugin be used with Caddyfile?  I don't see documentation.  Can you give an example?
Thx!

@gerolf-vent will I receive an answer?

Hey @adammakowskidev,
i finally got the time to write the Caddyfile support. I just released it in version v1.2.0. I hope that helps.
Best regards


Make GSSE Icon usable, Deprecate need of Macro Icons.

The Icon in the editor is currently a display only.  CHange this so that when you click the icon it pops up the Macro Icon selector.  Also allow this to be dragged to an action bar and actually be the same button as the one in the /macro interface
This is Blizzard's Macro code.
https://github.com/tomrus88/BlizzardInterfaceCode/blob/master/Interface/AddOns/Blizzard_MacroUI/Blizzard_MacroUI.lua#L74

We should be also able to use the internal Button (_G["SequenceName"]) and put that on an action bar.  This would reduce the need for a "Macro" button.

Initial evidence is that we will need to still have the Macro Stub.

What about adding https://www.wowace.com/addons/ace-gui-3-0-action-slot-widgets/pages/main/ to the viewer and an icon change function to the Editor.

Phenominal reference on SecureActions - http://www.iriel.org/wow/docs/SecureHeadersGuide - pre1.pdf

https://github.com/tekkub/wow-ui-source/blob/322cb736a69669f0d8838558ce1960383f7041bc/FrameXML/RestrictedEnvironment.lua
Limitations on what is available for onclick.


Modularized components

Description
WIP PR for running unit/cypress-tests  against new modularized layout components
Related Issue(s)

closes #377

Verification

Manual testing

[ ] I have tested these changes manually
[ ] Creator of the original issue (or service owner) has been contacted for manual testing
[ ] No testing done/necessary

Automated tests

[ ] Unit test(s) have been added
[ ] Cypress E2E test(s) have been added
[ ] No automatic tests are needed here
[ ] I want someone to help me make some tests

User documentation @ altinn-studio-docs

[ ] Has been updated

[ ] No changes/updates needed

Changes/additions to component properties

[ ] Changes are reflected in both src/layout/layout.d.ts and layout.schema.v1.json, and these are all backwards-compatible
[ ] No changes made

Support in Altinn Studio

[ ] Issue(s) created for support in Studio

[ ] This change/feature does not require any changes to Altinn Studio

Sprint board

[ ] The original issue (or this PR itself) has been added to the Team Apps project and to the current sprint board

What do you think, @bjosttveit? I know you had thoughts about how to solve this. Did you imagine it differently, or were we on the same track?

What do you think, @bjosttveit? I know you had thoughts about how to solve this. Did you imagine it differently, or were we on the same track?

I guess my thoughts were mostly idealistic and more relevant to a major release by having component classes do much more than having a render function (like validation logic, having some sort of renderSummary(), and also replacing getDisplayFormData by using a function defined in the class for getting a string-representation of its data, etc.). I also thought about having different types of groups be different classes, and kind of inplicitly included https://github.com/Altinn/app-frontend-react/issues/345 in my thoughts. That would be a very large refactor though 😅. But this is definitely on the same track and a good step in the right direction!

Ah, yup, sounds like we think much in the same way, then.. :sweat_smile: I think smaller steps at each point in time will be easier to implement (and test), so I also think this is just the beginning. I thought about starting the refactor to include getDisplayFormData last week, but I think that's next (and then moving on to Summary).
I'm also having (admittedly half-baked) thoughts about running nodesInLayout first, then passing each LayoutNode to GenericComponent instead - and in that process making (repeating) groups something more similar to a normal component (just rendering a table, but also making sure it can render child components). There's a lot of code in src/utils/formLayout.ts that does much of the same as the node hierarchy, so it would be nice to get rid of the duplication. That may be a practical route to complete #345, but that issue is spinning out in a direction where replacing Redux/Sagas seems to be on the table (at least in my head, and with my current understanding of the issue).
I'll open up this one for review, so that we can tackle each puzzle piece at a time (so not closing #377 quite yet).

Sounds good! So I guess we are on the same page, except you actually have a plan to get there, I had no idea where to begin 😅


Add sdk check for large title

This adds a check when setting the prefersLargeTitles property as it is supported in iOS 11.0+.
Thank you for a great example on how to replicate apple's shortcuts app with a collection view, @HassanElDesouky!

Thank you, for the contribution, and a happy new year. 💖


Move general amp-related REs to Psi Cantrips and Amps class feature

Also throw in spell otherTag of "amped"

Keep in mind Psychic Dedication, which grants Conscious Mind.

There's no implementation for the archetype yet.


Get a random memory on mail or app every week

There should be a feature that enables the user to choose a platform like mail, whatsapp, telegram or discord where one of his random memories is sent.
This issue is particularly for mails.
New issues will be created for other platforms.

go ahead @Ashuto7h


Refactor Radio & Checkbox CSS Grid

I found a better way to organise and align the elements for checkbox/radio input with a custom svg when developing the Switch component. This also reduced the css complexity and need for :has selector.
We should update Checkbox and Radio to follow the same structure.
In short:
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'input label'
    '. description';
  gap: 0 var(--fds-spacing-2);
  grid-auto-flow: column;

Look at Switch.module.css for examples.

This might be not relevant anymore as we will probably need to make the Checkbox and Radio to be plain CSS as to better support a pure CSS library and SSR.

After some investigation & testing with @Barsnes we have decided to refactor Radio, Checkbox and Switch to use pure CSS for its selection controls.
The reasons for this are:

Avoid rendering penalties for svg
Pure CSS & HTML support down the line.

As its now our users would need to install the icon thats used for selection controls somewhere and patch it together in their html with an additional css class. This is very cumbersome

SSR rendering POC complained about not being able to find/render the svg icon without adding some svg support.

There are however some cons with using pure CSS and css pixels for selection controls that we will need to be aware of:

Don't think we can use our fluid sizing tokens as they can be rounded incorrectly by browser, causing misalignment (dot inside radio not being centered perfectly).
Zooming in/out in browsers can also cause misalignment of selection controls caused by same rounding and css pixels as above.


Adding Kaggle to the list of hosted notebooks

What an excellent resource you've put together! Thank you so much!
In this PR I added a description of another commercial (but free) hosted notebook platform.

Thank you for pointing out the typos! They should be fixed now and the PR ready to merge.


Update Readme.md

@@include options should be a JSON type, maybe a tip should be given for newers

Coverage remained the same at 96.753% when pulling 0b6770ab85fad393279171869a445f476a7af7f8 on xblxc:patch-1 into b9b61bb2e77bf07c86b7b758afece33b8a822f76 on coderhaoxin:master.


keybase,kbfs,keybase-gui: 5.1.1 -> 5.2.1

Motivation for this change
5.2.0 adds bot integration to teams, among other things. 5.2.1 is a bugfix release.
Note: The keybase-gui script will fail to run one of its checks and abort if keybase isn't in $PATH.
Things done

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks!


Request: Secured (private) post-install scripts

Hi all,
This is more of a feature request than a bug, and maybe there IS a way to do it, I'm just not seeing it yet?  I want to be able to provide, securely, a list of users to add during postinstall.  I've got a python script that sets up their accounts, environment, etc., but if it's uploaded to an s3 bucket without public access, the postinstall phase can't access it (access forbidden).  I also can't bake in my credentials, so this is to be used by multiple people each with their own credentials.
At the moment, I'm thinking of getting around this by writing a wrapper around pcluster that sets it up, then once finalized, SFTP's some credentials, downloads the script, runs it, deletes the credentials, and THEN says the cluster is ready, but I have to believe some automated way of securely uploading local files without needing public access would be better?
I'm new to parallelcluster, so again, hopefully I'm just missing a simple way of doing it, but I thought I'd ask.
Thanks,

Brian

Hi @briandobbins
For multi-user support we created a wiki page that follow a path similar to the one you described.
You can manage S3 permission through the s3_read_resource and s3_read_write_resource parameters in the AWS ParallelCluster configuration.
Let us know if it helps.

Hi Enrico,
Well, that helps immensely - guess I should've looked around a bit more first!  It seems my issue is solved.  Just to clarify, though, does the s3_read_resource parameter change permissions of the listed files (it seems not), or simply configure read access somehow for the instance?
Thanks again for your help, and I'll close this after your response.

Brian

When specifying a bucket through the s3_read_resource, a new statement will be attached to the Policy used for the RootRole assigned to the ParallelCluster instances.
It doesn't change the file permissions.

Thanks again - I clearly need to learn more about policies and roles!  I'm closing this now.


Error on Mac

When I tried to run
python -m gitim -u
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users//www/gitim/gitim.py", line 12, in
from github import Github
ModuleNotFoundError: No module named 'github'

A co-worker told me I had to do python setup.py install first, but now I get this error:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/rsmolkin/www/gitim/gitim.py", line 108, in
gitim.clone_main()
File "/Users/rsmolkin/www/gitim/gitim.py", line 76, in clone_main
user = g.get_user().login
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/AuthenticatedUser.py", line 226, in login
self._completeIfNotSet(self._login)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/GithubObject.py", line 259, in _completeIfNotSet
self._completeIfNeeded()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/GithubObject.py", line 263, in _completeIfNeeded
self.__complete()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/GithubObject.py", line 268, in __complete
self._url.value
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/Requester.py", line 185, in requestJsonAndCheck
return self.__check(*self.requestJson(verb, url, parameters, headers, input, cnx))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/Requester.py", line 231, in requestJson
return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/Requester.py", line 284, in __requestEncode
status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyGithub-1.39-py3.6.egg/github/Requester.py", line 309, in __requestRaw
requestHeaders
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 814, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1068, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)

The error logs seems like SSL error. Please change your network connection and try again.


Freezing on Boot with Pi 4 Fresh Install

Attempted to run with the image and it seems to be stuck at
i2c /dev entries driver and never moves on beyond that.
For reference it's a Pi 4 4GB and 2GB I tried and I plan to run it without a display when it's all done, but set up is being done with a HDMI monitor.

Upon further investigation it looks like this may be similar to #1058

I have similar issue, so when I reboot my node I connect keyboard and press ctrl+d and then it is able to boot.

i'm getting the same - fresh install - everything is new - gets stuck at the same point - ctrl+d with keyboard didn't work.  I have used LCD and HDMI and get the same with each.

I am not able to reproduce this problem on my test machines ... but the v1.7RC2 tries to adress this "i2c freeze". @ChiefGyk & @kytmanov can you download the RC2, test and report back? See download here: https://github.com/rootzoll/raspiblitz/blob/dev/README.md#downloading-the-software

No reports on this issue within v1.7.0, pls close this.


feat: Fix Scatterplot

Currently the scatterplot has severe problems as described in https://github.com/datavisyn/visyn_core/issues/470
Step 1 is to collect a list of requirements for the scatter plot that we want to support in accordance with @dg-datavisyn

[ ] Faceting
Should split up the data by a categorical attribute and create one plot for each category. The axis of the plots should be synced (vertical & horizontal). Each plot has its own selection which are merged in the vis config. So one could select points from one plot and add points from another plot by holding shift/ctrl, but it would also be possible to double click any plot to clear the selection.
[ ] Matrix
Should create a scatterplot matrix as soon as we have 3 or more numerical attributes. Each plot should show the data for the attribute in its column/row. Selections are synced across the plots. Double clicking any plot clears the selection.
[ ] Color
We want to color by numerical/categorical attributes. In the faceting and matrix case the color scale is global, ensuring that the categories have the same color and the numerical relationship between plots is preserved.
[ ] Shape
Analog to the color channel (in contrast to the current plot it should also be supported in faceting and matrix mode)
[ ] Opacity
Analog to the color channel
[ ] Tooltip labels
Correct me @dg-datavisyn but this should just add the attribute to the hover tooltip?
[ ] Show labels
Clear what it does
[ ] Regression line
Shows a regression line and an overlay for the coefficients. Should also work in the faceting/matrix mode

I would add

[ ] click in an empty space resets selected
[ ] double-click resets plot

Some comments:

[ ]  Faceting
Should split up the data by a categorical attribute and create one plot for each category. The axis of the plots should be synced (vertical & horizontal). Each plot has its own selection which are merged in the vis config. So one could select points from one plot and add points from another plot by holding shift/ctrl, but it would also be possible to double click any plot to clear the selection.
[ ]  Matrix
Should create a scatterplot matrix as soon as we have 3 or more numerical attributes. Each plot should show the data for the attribute in its column/row. Selections are synced across the plots. Double clicking any plot clears the selection.
[ ]  Color
We want to color by numerical/categorical attributes. In the faceting and matrix case the color scale is global, ensuring that the categories have the same color and the numerical relationship between plots is preserved.

Can this be overridden in the settings, with the above behavior only being the default?

[ ]  Shape
Analog to the color channel (in contrast to the current plot it should also be supported in faceting and matrix mode)
[ ]  Opacity
Analog to the color channel
[ ]  Tooltip labels
Correct me @dg-datavisyn but this should just add the attribute to the hover tooltip?

In its current functionality, you can specify columns that are shown in the tooltip. Are we removing this feature again?

Some fundamental design drawbacks make this refactoring necessary. Moritz can explain the technical details. @thinkh, @dvmartinweigl, and @oltionchampari were involved in the discussion and decision.


Postgres connection pooling

Thank you for amazing library!
Does this library support connection pooling?
I tried get sql.DB from pgxpool.Pool object, but it seems this is not pooling anymore.

Jet is independent of a way pooling is done. The only requirements is that database handle type (sql.DB, sql.Tx, ...) implements standard Queryable and Executable interface. pgxpool.Pool does not implements standard sql interfaces, so it is not possible to use jet and pgxpool.Pool. Although, it might be possible to wrap pgx types so that they support standard sql interfaces.
Unless you need some pgxpool.Pool features I would recommend to use default sql  connection pooling. For a driver you can use standard pgx driver - "github.com/jackc/pgx/v4/stdlib"


Adding a password-protected user without interactive shell

Is it somehow possible to add such user without answering all the dialogs? I need it to be created using my API.

AFAIK, it is not currently possible to automate this. easy-rsa will ask for a password from stdin:
https://github.com/angristan/openvpn-install/blob/ef37eb64b02118cf00782e0b280f5091a34d405b/openvpn-install.sh#L975
I wish we had a workaround.

Related:

https://github.com/OpenVPN/easy-rsa/pull/242
https://github.com/OpenVPN/easy-rsa/issues/103
https://github.com/OpenVPN/easy-rsa/issues/101
https://github.com/OpenVPN/easy-rsa/issues/18

there is a workaround but it involves hacking easy-rsa
see this stackoverflow answer
in /etc/openvpn/easy-rsa/easyrsa find the function gen_req()
in line 641 (depends on your version) there is opts=""
edit it to read:
opts="-passout stdin"

now you  can feed the script a text file as input
./openvpn-install.sh <textinput.txt
textinput contains
1
nameofclient
2
passwordofclient
passwordofclient

it must be said that the openvpn-install.sh script won't function anymore as expected after that modification. Rather then being asked for the password twice when going through the interactive script I only need to type it once and it's visible as plaintext.
however, we are working on a wrapper script, that modify easyrsa via sed, then run openvpn-install.sh with piping in a textfile, then restores the orignal easyrsa file.

The following script modifies the first "opts=" statement found in the declaration of gen_req in easyrsa to prepend "-passout stdin". It stores the original next to easyrsa as "easyrsa.nostdin.bkp", which you could also use to restore the original file after any automation.
This is of course a bit of a hacky workaround, but it does the job.
`
#!/bin/bash
EASYRSA_EXECUTABLE="/etc/openvpn/easy-rsa/easyrsa"
EASYRSA_EXECUTABLE_BACKUP="$EASYRSA_EXECUTABLE.nostdin.bkp"
Restore easyrsa to original state or create backup from original
if [ -f "$EASYRSA_EXECUTABLE_BACKUP" ]; then
cp $EASYRSA_EXECUTABLE_BACKUP $EASYRSA_EXECUTABLE
else
cp $EASYRSA_EXECUTABLE $EASYRSA_EXECUTABLE_BACKUP
fi
Get Line Number of gen_req() {
GEN_REQ_LOCATION=$(cat $EASYRSA_EXECUTABLE | grep -n "gen_req() {" | awk "NR==1" | awk -F ':' '{print $1}')
Get Line Number of first opts= after gen_req() {
OPTS_LOCATION=$(tail $EASYRSA_EXECUTABLE -n +$GEN_REQ_LOCATION | grep -n "opts="" | awk "NR==1" | awk -F ':' '{print $1}')
Add Numbers to get global position of matched opts= statement
COMBINED_LOCATION=$(($GEN_REQ_LOCATION+$OPTS_LOCATION-1))
Add -passout stdin to opts=
RESULT=$(cat $EASYRSA_EXECUTABLE | sed -e "${COMBINED_LOCATION}s/.*opts="/\topts="-passout stdin /")
Overwrite original easyrsa
echo "$RESULT" > $EASYRSA_EXECUTABLE
exit 0
`

easyrsa can now accept passwords as arguments:
OpenVPN/easy-rsa@c794d5e

Awsome, thanks for letting us know. I won't have time to add this before a little while, but I'll gadly accept a PR.

sir i want to develop android vpn apps with panel like without only connected single password or QRL
Same like that https://play.google.com/store/apps/details?id=com.cubix.tencard
Email<EMAIL_ADDRESS>

With EasyRSA 3.0.7 it's possible to pass the password of the password protected client with a variable. @angristan you always wanted to do this so I leave it to you #160 (comment)
From EasyRSA 3.0.7 changelog: Add support for EASYRSA_PASSIN and EASYRSA_PASSOUT env vars

Been any update on this?

pass the password with the var EASYRSA_PASSOUT, then run the command, this works for me.
MENU_OPTION="1" CLIENT="foo" PASS="2" EASYRSA_PASSOUT=pass:newpassword ./openvpn-install.sh

easy-rsa v3.1.2


SPI Packet ID missing in export file

Notice that Packet ID is missing below for the last packet of a SPI capture(for both csv and txt exports):

The following capture file shows this issue. SPI_1 exports fine. SPI_2 shows the issue when exported.
SPI-capture.logicdata.zip

Just export the spi-analyzer, when you export all analyzer together, you do not have the packet id

Is there a time scale as when this can be fixed?

@shavec Sorry about this behavior. Can you confirm if the rest of the Packet IDs are being generated properly while using the older Logic 1.x software? Are you experiencing the issue with only the last packet ID missing in your capture as shown in the image I shared?
We unfortunately don't have a time frame as to when we'd be able to fix having Packed ID show for the last packet.


hasconnection is not working

My mobile is not connected to internet but boolean value is returning true on hasconnection call

i have the same problem. This guy is a very big lier

while running test file, hasConnection is returning null

same problem always return true

could you share your code?

It's okay, I've resolved it. I wrote my own internet checker. And it works fine now
…
On Mon, Mar 7, 2022, 16:25 Kawsar Ahmed @.> wrote: while running test file, hasConnection is returning null — Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANNWGJAGC4LGGZVHI5GBSM3U6YNWJANCNFSM5MGLE7UQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

can you provide your work code ?

It's okay, I've resolved it. I wrote my own internet checker. And it works fine now
…
On Mon, Mar 7, 2022, 16:25 Kawsar Ahmed @.> wrote: while running test file, hasConnection is returning null — Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANNWGJAGC4LGGZVHI5GBSM3U6YNWJANCNFSM5MGLE7UQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
can you provide your work code ?

are you getting true value in test file?

It's okay, I've resolved it. I wrote my own internet checker. And it works fine now
…
On Mon, Mar 7, 2022, 16:25 Kawsar Ahmed @.> wrote: while running test file, hasConnection is returning null — Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANNWGJAGC4LGGZVHI5GBSM3U6YNWJANCNFSM5MGLE7UQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
can you provide your work code ?

are you getting true value in test file?

yess. i used if else condition there always return true

It's okay, I've resolved it. I wrote my own internet checker. And it works fine now
…
On Mon, Mar 7, 2022, 16:25 Kawsar Ahmed @.> wrote: while running test file, hasConnection is returning null — Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANNWGJAGC4LGGZVHI5GBSM3U6YNWJANCNFSM5MGLE7UQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
can you provide your work code ?

are you getting true value in test file?

yess. i used if else condition there always return true

can you share your code?

@AliPunjabi Kindly use the latest version of the package it does not relies on Socket anymore. Since this issue has been inactive for a while, I’ll be closing it now. If the problem persists, please file a new issue.


fix(user-profile-component): Fix user profile image

This Fixes #570 v1.4.
I updated our unit tests so this won't happen again (hopefully).

Coverage increased (+0.05%) to 30.835% when pulling 9cea636468b4164e4256b9fe64c34ac802dc4c6a on userProfile_#570 into 4fece57feda9271da2cf021410aa949eabe16446 on master.


Add osx_arm64 build to the feedstock

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hello @sauravrt, (cc @junzis)
Thank you for your help in providing an osx_arm64 target. I am pretty irrelevant in that matter, so please drop a line here when you found your way through the errors and it's all ready to merge.

Hi @xoolive , all checks have passed after my latest fix. The PR is ready to merge. Please review.
Let me know if any changes are needed.

Wow, thanks @sauravrt, good job!
I see tests are deactivated for cross compilation (is that right?)
Do you know if there is any way to check the recipe loads well on osx_arm64?
I see many errors here and would feel reassured if there's some kind of proof that loading the package on this architecture worked as well.

Wow, thanks @sauravrt, good job!
Thanks @xoolive . This is my first time working on condo builds. I'm learning as I work on this build for pymodes.
I see tests are deactivated for cross compilation (is that right?) Do you know if there is any way to check the recipe loads well on osx_arm64?
I have been following the guidelines provided at https://conda-forge.org/blog/posts/2020-10-29-macos-arm64/. It does look like tests can be enabled for cross compilation too. I have tested this recipe on my M1 machine and it loads well. I don't know if this can be tested on the Azure pipelines.

I see many errors here and would feel reassured if there's some kind of proof that loading the package on this architecture worked as well.

I'll look into this.

If it loads well, that's fine with me. Just have a look and say again when you're done. If you believe it's fine, I'll merge right away.

If it loads well, that's fine with me. Just have a look for the sake of it and say again when you're done. If you believe it's fine, I'll merge it.

I did a local conda-build and was able to install pyModeS on my osx_arm64 platform. I am able to import pyModeS and run examples in https://mode-s.org.

Oh and do you know why you need pybind and not numpy in cross compilation? Just curious...

I originally added pybind and numpy to the recipe following the guideline on How to add osx_arm64 to feedstock. Once I sent the PR, checks failed for Python 3.9 and 3.10 on osx_arm64 builds.  I noticed that the error was due to mamba being unable to solve for numpy 1.16.  Since numpy was not a build requirement in the recipe before, I decided to remove it and the checks passed.
I'm not sure about pybind11. The condo-forge's guideline is not very clear on this matter either.

Many thanks for the detailed explanation!


v1.16 Backports 2024-09-30

[ ] #35040 (@squeed)
[ ] #34612 (@jrife) :warning: resolved conflicts

Once this PR is merged, a GitHub action will update the labels of these PRs:
 35040 34612

/test-backport-1.16


chore: update ASDiv.xml

minor fix

Hello, thanks for the pull request. Since this data is downloaded from its original source, we prefer to retain the original content as is.


Fine-grained dependencies not passed through to rollup_bundle()

🐞 bug report
Affected Rule
ts_library() possibly?  In my reproduction, it is the only bazelbuild/rules_typescript rule being used.
Is this a regression?
I have only checked this behavior with v0.22.1.
Description
When using rollup_bundle() (from bazelbuild/rules_nodejs) on the output of a ts_library() rule, I need to either re-specify the (full, transitive) set of fine-grained dependencies used by the ts_library() rule, or node_modules = "@npm//:node_modules" (which is supposed to be deprecated, or at least discouraged).
I expected that the transitive set of fine-grained dependencies would be aggregated by ts_library(), and made available to rollup_bundle(), but that does not appear to be the case.  As it is impractical to repeat the full list of dependencies in calling rollup_bundle(), I seem to have to fall back on using the full @npm//:node_modules filegroup.
🔬 Minimal Reproduction
https://gist.github.com/jmsdncn/8e21f5842acb51eb131bc9fc8605a22a
🔥 Exception or Error
$ bazel build //:bundle
INFO: Invocation ID: 4adabf83-5c54-499c-9dae-038ef7841983
INFO: Analysed target //:bundle (0 packages loaded, 1 target configured).
INFO: Found 1 target...
ERROR: /usr/home/james/pg/bazel-typescript-npm-dep/BUILD:9:1: SkylarkAction bundle.es6.js failed (Exit 1) rollup failed: error executing command bazel-out/host/bin/external/build_bazel_rules_nodejs/internal/rollup/rollup --config bazel-out/freebsd-fastbuild/bin/_bundle.rollup.conf.js --output.file bazel-out/freebsd-fastbuild/bin/bundle.es6.js ... (remaining 4
argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
[!] (Plugin at pos 2 plugin) Error: Could not resolve import 'lit-html' from '/usr/home/james/.cache/bazel/_bazel_james/88a369858ad9d1bd75821a00db0f8b09/sandbox/processwrapper-sandbox/1/execroot/demo/bazel-out/freebsd-fastbuild/bin/bundle.es6/lib.js'

WARNING: Due to a breaking change in rules_nodejs 0.13.2, target //:bundle
must now declare either an explicit node_modules attribute, or
list explicit deps[] fine grained dependencies on npm labels
if it has any node_modules dependencies.
See https://github.com/bazelbuild/rules_nodejs/wiki#migrating-to-rules_nodejs-013

Error: Could not resolve import 'lit-html' from '/usr/home/james/.cache/bazel/_bazel_james/88a369858ad9d1bd75821a00db0f8b09/sandbox/processwrapper-sandbox/1/execroot/demo/bazel-out/freebsd-fastbuild/bin/bundle.es6/lib.js'

WARNING: Due to a breaking change in rules_nodejs 0.13.2, target //:bundle
must now declare either an explicit node_modules attribute, or
list explicit deps[] fine grained dependencies on npm labels
if it has any node_modules dependencies.
See https://github.com/bazelbuild/rules_nodejs/wiki#migrating-to-rules_nodejs-013

    at Object.notResolved (/usr/home/james/.cache/bazel/_bazel_james/88a369858ad9d1bd75821a00db0f8b09/execroot/demo/bazel-out/freebsd-fastbuild/bin/_bundle.rollup.conf.js:109:11)
    at /usr/home/james/.cache/bazel/_bazel_james/88a369858ad9d1bd75821a00db0f8b09/sandbox/processwrapper-sandbox/1/execroot/demo/bazel-out/host/bin/external/build_bazel_rules_nodejs/internal/rollup/rollup.runfiles/build_bazel_rules_nodejs_rollup_deps/node_modules/rollup/dist/rollup.js:20831:25

Target //:bundle failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.538s, Critical Path: 0.46s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

$ bazel build //:bundle_with_dep //:bundle_with_modules
INFO: Invocation ID: 9563f6e6-7d48-4945-87ed-3735833c89a2
INFO: Analysed 2 targets (1 packages loaded, 49 targets configured).
INFO: Found 2 targets...
INFO: Elapsed time: 2.933s, Critical Path: 2.84s
INFO: 6 processes: 6 processwrapper-sandbox.
INFO: Build completed successfully, 148 total actions

🌍  Your Environment
Operating System:
$ uname -srm
FreeBSD 11.2-STABLE amd64

Output of bazel version:
$ bazel version
INFO: Invocation ID: ef5df72e-2399-4c76-9afd-f2a7c87208b9
Build label: 0.21.0
Build target: bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Dec 18 09:59:39 2018<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

Rules version (SHA):
bazelbuild/rules_typescript@a1970bac0b866d431b179d299d747ef05bfb42e3

Yeah in many cases the values and types come from two different labels, so it's expected to have
ts_library(deps = ["@npm//@types/foo"])
rollup_bundle(deps = ["@npm//foo"])
but in cases where types and values are together in one label I agree that ts_library should propagate these in the "data" providers so rollup_bundle finds them


zero flux if zero lai

Purpose
When LAI = SAI = RAI is zero, we still have a nonzero net LW radiation for the canopy, a SHF for the canopy, and nonzero autotrophic respiration.
To-do
[X] Go over with Alexis and Renato
[X] Update tests
Content

In the canopy parameters, we define canopy emissivity. We now scale that by a factor following CLM as emissiv = emissiv_0*(1-exp(-(LAI+SAI)). This behaves correctly: as LAI+SAI -> 0, emissivity -> 0 and LW absorbed by the canopy -> 0. @braghiere
Autotrophic respiration now uses the stem area index to compute Ns, which is zero if SAI is zero (check with @AlexisRenchon)
Autotrophic respiration was before combining GPP with Rd. But, GPP is computed as An scaled by LAI, while Rd is at level of An. I am guessing GPP is canopy level, while An/Rd are leaf level. A possible fix (implemented) is to use An in computing the respiration instead of GPP, and then scaled to canopy at the end. Then we would satisfy that respiration is zero as LAI -> 0. Im not sure if this should be LAI+SAI, though. @AlexisRenchon
SHF change would would be easier to discuss in person @braghiere
we no longer use root area index, also easier to discuss in person @braghiere.

Review checklist
I have:

followed the codebase contribution guide: https://clima.github.io/ClimateMachine.jl/latest/Contributing/
followed the style guide: https://clima.github.io/ClimateMachine.jl/latest/DevDocs/CodeStyle/
followed the documentation policy: https://github.com/CliMA/policies/wiki/Documentation-Policy
checked that this PR does not duplicate an open PR.

In the Content, I have included

relevant unit tests, and integration tests,
appropriate docstrings on all functions, structs, and modules, and included relevant documentation.

[X] I have read and checked the items on the review checklist.

All looks good.