fix: only bind to webserver port if the user did not specify one explicitly

This PR aims to fix spurious errors of the form
Error: Failed to get frontend address.
Caused by: Failed to find available socket address
Caused by: Failed to bind socket to <IP_ADDRESS>:8080.
Caused by: Address already in use (os error 48)

by only binding to a webserver port if the user did not specify one explicitly (port is equal to zero) and thus a free port is grabbed by the system.

The approach from this PR isn't robust against users actually trying to dfx start with the same webserver port.


firewall logging problem

The Opnsense does not log firewall actions although firewall logging has been enabled. The firmware version is  OPNsense 17.1.3-i386.

Which specific option gives you trouble? Not that this is not a log-all for rules found in the firewall rules section, logging needs to be enabled per rule there.

please check attached, actually i have enable the logging of each rule about out traffic.
And the truth is that the logging of firewall had been working fine since upgrade to 17.1.3

Are you using Multi-WAN?

No, just one wan interface, OpenVPN service is enable on this firewall for
remote dialed in.
2017-03-27 16:44 GMT+08:00 Franco Fichtner<EMAIL_ADDRESS>
Are you using Multi-WAN?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/opnsense/core/issues/1508#issuecomment-289390639, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOeq-ExRlzCbBk9JvjQGitmdvWOi37wSks5rp3bhgaJpZM4Mp01J
.

For reference - OPNsense 17.1.3-amd64 - logs perfectly into it's files.

timeout due to inactivity


Nested panels/sections priority

Issue description:
A couple of issues I am running into on nested panels/sections, which are the following:

If you have a panel and sections in the same area (in this case "styling" is a panel, the rest are sections) and the panel leads to another section, then you can't use the "priority" property to rearrange the styling panel to go below setup.  See video for e.g. http://nimb.ws/nvyA19

If you were to change that "styling" panel to a section, it makes the inner "background" section styling off.  See video for e.g. http://nimb.ws/aeK5h9

Version used:
3.0.26
Using theme_mods or options?
theme_mods

@aristath Is there something I am doing wrong?

@aristath Any guidance on this would be appreciated.

Decided to take a different approach since I never heard back on this.


chore: first draft of the ADR 001

This PR compiles what have been discussed on redesigning knuu with an async approach.
Please keep the discussions here to hammer it and come up with a high level design roadmap for Knuu v1
Closes #215

Let me know what you think about the following idea:
The Bee Playbook is configured via a YAML. Below, I have for you an example with packet loss. I tried to have the format of the YAML as generic as possible, so that we can extend it.
Then, knuu could provide a wrapper of that YAML in the Go code so that the developer can specify the behavior with code instead of fighting with YAML.
endpoints:
- name: "rpc"
  endpoint: "<IP_ADDRESS>:26657"
- name: "bittwister"
  endpoint: "<IP_ADDRESS>:9009"
sources:
- name: "status"
  endpoint: "rpc"
  path: "/status"
  polling-time: "1s"
targets:
- name: "packetloss"
  endpoint: "bittwister"
  path: "/packetloss"
  values:
  - "rate"
parser:
- name: "height"
  type: "json"
  command: ".result.sync_info.latest_block_height"
playbook:
- source: "status"
  parser: "height"
  conditions:
  - condition: ">="
    value: 100
  - condition: "<="
    value: 200
  target:
    name: "packetloss"
    values:
      rate: 25

Let's merge this while keeping the ADR in draft. If we have more input, let's create issues for it.

Let's merge this while keeping the ADR in draft. If we have more input, let's create issues for it.

Good idea. Let's do it. Right now it cannot be merged as it says: Merging can be performed automatically once the requested changes are addressed @ramin and @MSevey must approve it first as they requested some changes.

Let's merge this while keeping the ADR in draft. If we have more input, let's create issues for it.

Good idea. Let's do it. Right now it cannot be merged as it says: Merging can be performed automatically once the requested changes are addressed @Bidon15 @ramin and @MSevey must approve it first as they requested some changes.

@Bidon15 and @smuu  can you please approve this one?


Added getrandomwallpaper

A very simple program made using react to get random wallpapers.

@thinkswell I already had one screenshot attached, so I attached a GIF now. Please check 🙂

Here's a gif


Optimizing IDE Integration for Chain Interactions: Balancing DX with Performance and Bundle Size

Introduction
Enhancing Developer Experience with Improved Chain Interaction Selection in IDEs
When initiating this project, our goal was to offer a flexible interface for developers to select key chain interactions for their dApps, either through an interactive CLI or a web-based UI. However, developer feedback suggests a need for a different approach.
Feedback and Challenges
Shifting to Integrated Development Environment (IDE) Based Solutions
Developers have expressed a preference for having all possible chain interactions accessible directly within the IDE, rather than through separate tools. This shift presents two primary challenges:

Performance Concerns: Integrating all chain interactions could slow down TypeScript server performance, impacting IntelliSense responsiveness.
Bundle Size: A comprehensive integration leads to larger bundle sizes, potentially degrading user experience (UX).

Despite these concerns, the demand for IDE-based chain interaction selection is strong.
Current Solutions and Limitations
Progress with Code Generation and Bundle Size Optimization
Our recent efforts in code generation have significantly improved TypeScript server performance, even with extensive chain interactions. However, despite having decreased the bundle size significantly, it still remains a concern. For example, using Kusama metadata for descriptor generation can increase the bundle size for a typical dApp by approximately 80Kb, which is less than ideal.
Proposed Solutions
Exploring Options for Efficient Code Management
Option 1: Manual Descriptor Import

Approach: Developers manually import each descriptor, allowing unused code to be automatically trimmed. The code would look like this:

import { createClient } from "@polkadot-api/client"
import {
  StorageSessionValidators,
  StorageStakingValidators
} from "./codegen/ksm"
import { getProviderChain } from "./provider"

const client = createClient(getProviderChain.connect)

const sessionValidators = await client.query(StorageSessionValidators).getValue();
const validatorsData = await client.query(StorageStakingValidators).getValues(sessionValidators);

Drawback: This contradicts the desired developer experience, as it limits the discovery of available chain interactions within the client.

Option 2: Advanced Tree Shaking Solutions
The code looks like this:
import { createClient } from "@polkadot-api/client"
import ksm from "./codegen/ksm"
import { getProviderChain } from "./provider"

const client = createClient(getProviderChain.connect, ksm)

const sessionValidators = await client.query.Session.Validators.getValue();
const validatorsData = await client.query.Staking.Validators.getValues(sessionValidators);

Option 2a: Bundler Specific Plugins

Approach: Develop plugins for various bundlers (Vite, Rollup, Webpack, etc.) to analyze the AST and identify used interactions for custom tree-shaking.

Option 2b: Bundler Agnostic Solution

Approach: Create a tool that inputs a bundled JS file and its source map, performs analysis similar to Option 2a, and outputs a new, optimized JS file with an updated source map.
Challenge: This approach is complex and requires significant development effort.

Seeking Community Input
Collaboration on Plugin Development and Solution Refinement
I propose initially developing a plugin for Vite/Rollup as a starting point. I invite the community's thoughts on these solutions and encourage contributions towards developing plugins for other bundlers.
Conclusion and Next Steps
Balancing Developer Experience with Performance and UX
Our aim is to strike a balance between providing a seamless developer experience and maintaining optimal performance and UX. I look forward to the community's feedback and suggestions on these proposed solutions.

This issue has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/polkadot-api-2023-q4-update/5318/1

Having written a "plugin", of sorts, for removing excess stuff from PolkadotJS, I found that many things you would expect to be removed by tree shaking were still included when bundling (e.g. the bytes.js file containing the giant WASM blob was never tree shaken even when specifying onlyJS throughout our code). AST couldn't work out that we didn't want to use the WASM version. I've found a reliable way to tree shake is to have deep package exports in the package.json.
I'm considering our options for bundling JS for interacting with ink! contracts and so far scale-ts looks like a good way to create the required encoding / decoding functions. The key thing when creating a small bundle for a single contract will be including the minimal amount of encoders. Currently, we're using Typechain to output contract bindings but this outputs a huge amount of code, requiring the ABI to be bundled with the JS.
In future, we are aiming to develop a Typechain style code-generation tool that creates the required encoders for a contract, but, critically, doesn't output the entire encoding library (scale-ts / polkadot-api). This means the ABI won't be required and neither will the 80% of other type definitions required by substrate pallets.
Do you think polkadot-api could help us achieve this goal?

I prefer option 1. Anything requires plugin to bundler is just going to be costly.

Drawback: This contradicts the desired developer experience, as it limits the discovery of available chain interactions within the client.

I don't really understand this. People should discover available interactions via docs, not auto completes.
Besides, we can do this
import { createClient } from "@polkadot-api/client"
import * as ksm from "./codegen/ksm"
import { getProviderChain } from "./provider"

const client = createClient(getProviderChain.connect)

const sessionValidators = await client.query(ksm.StorageSessionValidators).getValue();
const validatorsData = await client.query(ksm.StorageStakingValidators).getValues(sessionValidators);

so auto completes still works
(not 100% sure if this play nicely with tree shaking but to me it looks significantly easier for bundler to optimize compare to option 2)

Drawback: This contradicts the desired developer experience, as it limits the discovery of available chain interactions within the client.

We have actually made A LOT of iterations on this since the last time that we updated this document 😅.
In fact @voliva is just finishing this latest iteration. Once it's done, then we will have the best of both worlds: super-small bundle-sizes, plus kick-ass code-competition. Also, the user won't be importing the types from a custom folder, but from a subpath of the library...
The thing is that the only thing that adds size the the bundle is the registry of checksums. However, this registry of checksums will be automatically imported dynamically by the library. Which means that all modern bundlers (parcel, vitest, webpack, etc) will create a separate asset/chunk just with the registry of the checksums, which will be required in the background... That's totally fine, because we only need the checksums after we have compiled the latest runtime, which is also an async process. So, by having a separate asset that just contains the checksums and that is loaded dynamically, we are speeding the overall loading time quite significantly.


fix build with clang 3.5

Building with clang 3.5 produces 'error: equality comparison with extraneous parentheses', this patch removes the extra parens.

Wouldn't be better to add -Wno-parentheses-equality as part of the DETECT_CLANG autoconf? I'm not familiar with this warning, but I'm guessing changing the .c files would emit other warning for other folks.

I considered disabling the warnings, but I think this change actually makes the code a little bit easier to read. I'm generally not in the "just silence the warnings" camp (the clang people probably know what they're doing by enabling the warning by default). I don't think this should cause warnings or issues with other compilers, but was hoping to see Travis confirm that for me. If there are issues with other builds, maybe that would be the way to go.

Agreed, I'm not happy about silencing warnings. :) I'm also on clang 3.5, and I'm not seeing this warning. What's the diff?

Not sure why I'm seeing them and you're not, perhaps it's a local config issue. I can only point to this log:
http://poudriere.mouf.net/poudriere/data/11amd64-default/2015-01-16_15h43m04s/logs/errors/memcached-1.4.21.log

Looping back in this. Thanks for the log, it was very helpful. I was able to reproduce this, and it seems to be a issue within ccache's implementation.
CC="/usr/local/bin/ccache /usr/bin/clang" ./configure

my log on pastebin
This can be resolved with run_second_cpp=true option in ccache. It can be set in environment, or by autoconf m4 check.
run_second_cpp=true CC="/usr/local/bin/ccache /usr/bin/clang" ./configure

make and make clean works as expected

Ah, you're right, good catch. I should have known, I've run into the same issue with macro expansion before. Reminding myself to always try testing with ccache disabled. Thanks and sorry for the noise. Closing!


dist is empty when compiled

idk its just empty

Redownload and unarchive it again then launch builder.bat and rebuild it.

when the compiling is done what does the cmd prompt say

windows defender probably removed some of the resource files, I also had this issue, disable real time protection then re-download and try again

send a screenshot of any errors that you might have gotten

I am experiencing the same issue. I have attempted to reinstall the software, disabled Real-Time Protection, and utilized different compatible versions of Python. However, the foulder remains empty. I am uncertain about the next thing to do. Previously, I have encountered this problem and managed to resolve it. However, I am unsure of the solution at this time..  I would be grateful if anyone could provide a solution to this problem.
Sincerly
Red

I am experiencing the same issue. I have attempted to reinstall the software, disabled Real-Time Protection, and utilized different compatible versions of Python. However, the foulder remains empty. I am uncertain about the next thing to do. Previously, I have encountered this problem and managed to resolve it. However, I am unsure of the solution at this time.. I would be grateful if anyone could provide a solution to this problem.
Sincerly Red

gonna need you to show me

this is basically everything i see


[GraphQL] Query performance result by ID

Description
This PR fixes #3156
Notes for Reviewers
Turns out this is a bigger task than it originally was. In order to make a subscription for performance results, we need to refactor the handlers so that it could utilized for both REST and GraphQL APIs. But then, if I put it all in one PR, it'll be too wide of a scope, in my opinion.
GraphQL Query Examples:
{
  getPerfResult(id: "a7ae8758-ece4-4064-a688-99c298b80b9e") {
    meshery_id
    name
    mesh
    performance_profile
    test_id
    server_metrics
    test_start_time
  }
}

Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #3751 (3a23eab) into master (da77ae3) will decrease coverage by 8.25%.
The diff coverage is n/a.

:exclamation: Current head 3a23eab differs from pull request most recent head 5399112. Consider uploading reports for the commit 5399112 to get more accurate results

@@            Coverage Diff             @@
##           master    #3751      +/-   ##
==========================================
- Coverage   21.01%   12.75%   -8.26%
==========================================
  Files          45       45
  Lines        3817     3817
==========================================
- Hits          802      487     -315
- Misses       2803     3215     +412
+ Partials      212      115      -97

Flag
Coverage Δ

gointegrationtests
?

unittests
12.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-62.83%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.11% <0.00%> (-52.97%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
0.90% <0.00%> (-39.10%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.42% <0.00%> (-21.71%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
0.00% <0.00%> (-21.60%)
:arrow_down:

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 da77ae3...5399112. Read the comment docs.

Closing this since it is included in this PR


Feature/prov status tweaks

This update includes two minor changes:

Updated the description of POST /portfolios to explicitly state that email invitations should be sent to Portfolio Operators
Removed portfolioId as required for ProvisioningStatus because it may not be assigned until after creation is complete

Looks good.
Should we bump version: 0.4.0 to version: 0.4.1?

Thanks. We can keep it at 0.4.0 since we haven't merged it into main yet. But we'll do so shortly.

The new patch portfolio API spec doesn't allow for returning a provisioning object which we need as creating Google Cloud identities is an asynchronous process. Can we get this added back to the spec?

It would be great if the API spec for addTaskOrder indicated the expected error code for attempting to call this with an existent task order (409 would be our recommendation).

If you're making the provisioning status getter a formal API, do you still need a location header when we return a provisioning job?

The comment on the new task order ID property matches a portfolio Id. Can you confirm that this is just a documentation issue and you permit Task Orders to have their own unique identifier & format? [P0] Can we just use task order number instead of creating a new ID? In other words, can task_order_number change?

Yes, the Task Order Number can change when contract mods are issued, so
we'll need a generated ID.
Jeff
On Fri, Oct 28, 2022 at 11:08 AM Sean Maday @.***>
wrote:

Can the task order number change? Can we just use task order number
instead of creating a new ID?
—
Reply to this email directly, view it on GitHub
https://github.com/dod-ccpo/atat-csp-orchestration/pull/26#issuecomment-1295114199,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCJLDHWYAKTANXGQ3SE2GLWFPT3JANCNFSM6AAAAAARKO2ZOU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


fix: add higher test coverage for storages.

Improving test coverage.

:tada: This PR is included in version 1.0.3 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.7 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.4 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.4 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.4 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.2 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.2 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:


[Fix #10832] Fix an incorrect autocorrect for Layout/BlockEndNewline

Fixes #10832.
This PR fixes an incorrect autocorrect for Layout/BlockEndNewline when multiline block } is not on its own line and using heredoc argument.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Looks good to me!


WordPress supports

Does it work with WordPress?

you can put wordpress behind nginx-proxy

Ok, thank's...


App crashes when attempting to add widget

*Home Assistant Android version:
1.7
Android version:
10
Phone model:
Samsung Galaxy S10 plus
Home Assistant version:
0.105.3
Last working Home Assistant release (if known):
0.105.3 app version. 1.05
Description of problem:
First off, thanks for a great app.
I just upgraded to 1.7 and noticed that all my home screen widgets stopped working. They would just spin.
First thing I did was to delete all the all the widgets and try to recreate them. When attempting to add them back, when I select the widget and drag it to the home screen, the config options flash for a sec and the widget selection page reappears. If I repeat this a few times the app will eventually crash.
Second, I tried clearing the app cache and data. I then reinstalled the app, cleared the integration from home assistant and restarted ha. Finally I went through the setup process again and attempted to setup a fresh widget. Same behavior, the app just crashes.
Third I disabled the launcher (Nova Launcher) and went through the whole process with the stock launcher. No joy.
This is the expection class from the system report
com.fasterxml.jackson.module.kotlin.missingkotlinparameterexception
Traceback (if applicable):

Additional information:
I can reproduce the crash by attempting to a add widget 3 times in row.

Found the crash in Crashlytics here
Fatal Exception: com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException: Instantiation of [simple type, class io.homeassistant.companion.android.domain.integration.ServiceData] value failed for JSON property fields due to missing (therefore NULL) value for creator parameter fields which is a non-nullable type
 at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 42273] (through reference chain: java.lang.Object[][34]->io.homeassistant.companion.android.data.integration.entities.DomainResponse["services"]->java.util.LinkedHashMap["values_update"]->io.homeassistant.companion.android.domain.integration.ServiceData["fields"])
       at com.fasterxml.jackson.module.kotlin.KotlinValueInstantiator.createFromObjectWith(KotlinValueInstantiator.kt:112)
       at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:198)
       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:422)
       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1287)
       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:326)
       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:159)
       at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527)
       at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364)
       at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29)
       at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:530)
       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeWithErrorWrapping(BeanDeserializer.java:528)
       at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:417)
       at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1287)
       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:326)
       at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:159)
       at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:195)
       at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:21)
       at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1719)
       at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1244)
       at retrofit2.converter.jackson.JacksonResponseBodyConverter.convert(JacksonResponseBodyConverter.java:32)
       at retrofit2.converter.jackson.JacksonResponseBodyConverter.convert(JacksonResponseBodyConverter.java:23)
       at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:225)
       at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:121)
       at okhttp3.RealCall$AsyncCall.run(RealCall.kt:138)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at java.lang.Thread.run(Thread.java:919)

@KBerstene Can you take a look at this? We've got 106 users with this crash in the last 24 hours. Looks like it goes back to 1.5.1.

Same issue as last time: bad custom component service creation.  The offender of that crash is Circadian Lighting
As a quick fix (but not a true fix), we can add a try/catch block around the service list import.  I had it in my original code when I was working on dynamic services import but didn't put it back in when I added onto @JBassett's excellent work.
The problem with adding a try/catch around that section is that NO dynamic field text inputs will be created, so even if you are trying to do something standard like light.toggle, the custom component kills the entire import.
Would you like to kill the entire import until we can find a more elegant way to exclude just the custom component, or just take a few days to look for the more elegant way?

I think that would be for the best, at least for now.

Personally I say we catch the exception and display an error to the user stating that a custom integration is causing the issue.  At least until we come up with a better solution.  We should only go so far to support invalid custom integrations.

I agree that we shouldn't be going out of our way to support custom integrations, but it would a much better solution to remove ONLY the services that have incorrect configuration, and I don't know where to do that.

@wblib

Thanks for the heads up and the PR. I added the services.yaml basically as soon as it was implemented, before the full documentation was available. I'll get that merged ASAP.

Fixed via https://github.com/home-assistant/home-assistant-android/pull/407

The bug still persists tho. My device is Mi9T Pro and when I tried adding any kind of widgets it crashes


Trigger Email Without A Recpient and just bcc

[REQUIRED] Step 2: Extension name
This feature request is for extension: firestore-send-email
What feature would you like to see?
Being able to send an email without recipients and only bcc people
How would you use it?
I would create an email of this structure:
{
      message: message,
      from<EMAIL_ADDRESS>      bcc: largerUserBaseArray,
}

whoops I was supposed to use bccUid not bcc, complete oversight my apologies!

Hi @joshpetit
Glad it is sorted! Thanks for the reply explaining the issue.


Question: How to save all weapons a player has, in order to give him his equip back later

Hello community,
this might be a pretty stupid question, but I am trying to figure this out for some time now.
So GTA.Game.Player.Character.Weapons has a getter, which returns a "WeaponCollection" instance. Apparently this is what I need for saving all the weapons, but I cannot give the PED his weapons back as there is no .Weapons setter, nor does the Give method accept a WeaponCollection parameter.
Now I thought about creating an array and store the weapon hashes/ammo etc. inside. Problem is though, that I simply did not find any solution for getting all the player weapons seperatly yet (i.e. by iterating through WeaponCollection or something like that)
Oh yeah, and I also tried to go through NativeDB, but did not find anything helpful either...
Is there any proper solution for that?

You can iterate through all enum values in GTA.Native.WeaponHash and store the associated weapon data:
foreach (var hash in System.Enum.GetValues(typeof(WeaponHash)).Cast<WeaponHash>())
{
    ... = Game.Player.Character.Weapons[hash];
}

Later use the WeaponCollection.Give method to give each of them back.
foreach (var hash in System.Enum.GetValues(typeof(WeaponHash)).Cast<WeaponHash>())
{
    Game.Player.Character.Weapons.Give(hash, ...);
}


constraints package was moved in final go1.18

Have adjusted the imports of the "constraints" package to golang.org/x/exp/constraints.
https://github.com/golang/go/issues/50792
Also added a examples/main.go

Works perfectly. Thank you for your contribution!


QA - SPARK CONNECTOR - money datatype not correctly implemented

I get this value for the unload of any money value...<PHONE_NUMBER>3546362.88
vwload even reloads it then select * says money value out of range
create table vwload_reg02_unload_tbl (col_int int, col_float4 float4, col_money money,col_decimal382 decimal(38,2),col_decimal102 decimal(10,2), col_char20 char(20), col_varchar20 varchar(20), col_nchar20 nchar(20),col_nvarchar nvarchar(20), col_ansidate ansidate, col_timestamp timestamp);\g
$ hadoop fs -cat /Actian/VectorK1/vwload_reg02_unload_tbl_02.csv/part*
1,1.0,46367372913546362.88,1.00,1.00,a,a,a,a,0001-01-03,0001-01-03 00:00:00.0
the third value should be "1"
thats the source:
1 1 1 1 1 a a a a 0001-01-01 0001-01-01 0:0:0
select from vwload_reg02_unload_tbl_02\g
Executing . . .
E_US1131 exceeded the maximum money value allowed.
(Wed May 18 01:52:51 2016)

'money' type is 'decimal(14,2)' in spark-vector connector, but 'double' in Vector
I'm changing it to double so that we have it consistent bothways.
Fixed in pull request #35.

Fixed in pull request #35 .


⚠ [Warning] : Use default system browser

On Android, when trying to log in with Google, looks like a custom browser opens up instead of the default system browser. This prevents password managers or saved passwords.
Also, in the Google authentication screen, "Device" is shown as "CPU iPhone OS16_5_1 like Mac OS X", which is a bit intimidating.
Using the default system browser would be more appropriate.

Yes you are right, it should be fixed!

We love PR ❤
If you want to contribute, i can assign this issue to you 😅

Well, I am a complete beginner in TypeScript and all, but if you could point me where to start looking at, I can give it a try :) @behics

Thank you for your intent! :)

https://github.com/langx/langx/assets/3280475/0ac80c52-d34e-4086-8061-551c2971ec26
Contributor: @korblen from Discord

It shows I'm login on iOS but my phone is a Google Pixel

Another issue here
Contributor: @DH-555

https://pub.dev/packages/flutter_web_auth

It's fixed with RN version.


Cannot open *_Delta files from Windows Docker image layers

I am trying to use python-registry to open the file System_Delta from a layer of a Windows docker container. I've obtained the container by running docker pull python:windowsservercore-1809. I've also attached the file System_Delta. From what I understand, the System_Delta stores changes to a registry for a layer of a Docker container. This site seems to explain the concept: https://dfir.ru/2020/08/15/containerized-registry-hives-in-windows/
When I try loading System_Delta into Registry.Registry(), I get the following error:
>>> reg_systemdelta = Registry.Registry("System_Delta")
>>> with open("/home/jono/python-systemdelta-keys.txt", "w") as f:
...     rec(reg_systemdelta.root(), f)
...
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "<stdin>", line 2, in rec
  File "/home/jono/nexb/src/scancode.io/lib/python3.6/site-packages/Registry/Registry.py", line 279, in path
    return self._nkrecord.path()
  File "/home/jono/nexb/src/scancode.io/lib/python3.6/site-packages/Registry/RegistryParse.py", line 1553, in path
    while p.has_parent_key():
  File "/home/jono/nexb/src/scancode.io/lib/python3.6/site-packages/Registry/RegistryParse.py", line 1576, in has_parent_key
    self.parent_key()
  File "/home/jono/nexb/src/scancode.io/lib/python3.6/site-packages/Registry/RegistryParse.py", line 1587, in parent_key
    d = HBINCell(self._buf, offset, self.parent())
  File "/home/jono/nexb/src/scancode.io/lib/python3.6/site-packages/Registry/RegistryParse.py", line 561, in __init__
    self._size = self.unpack_int(0x0)
  File "/home/jono/nexb/src/scancode.io/lib/python3.6/site-packages/Registry/RegistryParse.py", line 272, in unpack_int
    return struct.unpack_from(str("<i"), self._buf, self._offset + offset)[0]
struct.error: unpack_from requires a buffer of at least 4 bytes

I am able to read this file using registry-dump from regipy.
System_Delta.tar.gz

you need to pass a file-like object to the Registry.Registry constructor, something like:


Preact useFela hook is missing

Type: Feature

Packages
Version

fela
6.0.x

Description
I try to use useFela hook in preact-fela but turn outs that it's missing.

Proposal
I think it might be possible to copy content of react-fela hook and change the call to use Preact variant.
Edit 1: I think the documentation should be updated as well since Preact hook is available now.

Want this hook as well!

Want this hook as well!

Want this hook as well!

I opened a PR for this hook. I think using same code as React counterpart should be fine.

Want this hook as well!

I opened a PR for this hook. I think using same code as React counterpart should be fine.

I'm going to review and merge this asap, thanks for the PR!

I'm going to review and merge this asap, thanks for the PR!


Agent Location

Hello,
When I use Alex to control an agent, I log in to the local server in Minecraft and want to observe the actions of the agent, but I can't see the agent at the location where I was born. How can I find the agent? Can I teleport?
Best,
WPH

thanks!


Duels issue

So ona server where my bot is, there is an issue with the duels command which i believe is happening cus the user left so it can't get the display name for that user it produces this error below
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 79, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/bb8/customcogs/duel/duel.py", line 509, in _duels
    await ctx.invoke(self._duels_list)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/context.py", line 132, in invoke
    ret = await command.callback(*arguments, **kwargs)
  File "/home/bb8/customcogs/duel/duel.py", line 551, in _duels_list
    names = {uid: m.display_name for uid, m in members.items()}
  File "/home/bb8/customcogs/duel/duel.py", line 551, in <dictcomp>
    names = {uid: m.display_name for uid, m in members.items()}
AttributeError: 'NoneType' object has no attribute 'display_name'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 863, in invoke
    await ctx.command.invoke(ctx)
  File "/home/bb8/venv/lib/python3.7/site-packages/redbot/core/commands/commands.py", line 582, in invoke
    await super().invoke(ctx)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 1163, in invoke
    await super().invoke(ctx)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 728, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 88, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'display_name'``

Added a quick fix for this - might cause the top 10 list to be shorter than it should be, but this should stop any errors from occurring until I get a proper fix for it.
Do [p]cog update for the fix.

so that fixed that section but then caused this error to happen as a result
Traceback (most recent call last):
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 79, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/bb8/customcogs/duel/duel.py", line 504, in _duels
    await ctx.invoke(self._duels_list)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/context.py", line 132, in invoke
    ret = await command.callback(*arguments, **kwargs)
  File "/home/bb8/customcogs/duel/duel.py", line 560, in _duels_list
    highscore += names[uid].ljust(max_name_len + 4)
KeyError:<PHONE_NUMBER>77384705

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 863, in invoke
    await ctx.command.invoke(ctx)
  File "/home/bb8/venv/lib/python3.7/site-packages/redbot/core/commands/commands.py", line 582, in invoke
    await super().invoke(ctx)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 1163, in invoke
    await super().invoke(ctx)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 728, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/bb8/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 88, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError:<PHONE_NUMBER>77384705```

I've fixed that error as well, try it now.


getProducts always returns an empty array on iOS

Version of react-native-iap
0.3.0-beta5
Expected behavior
Should return an array of purchasable products just like in Android.
Actual behavior
Returns an empty array.
Steps to reproduce the behavior
var purchase_ids = {
  ios: [
    'pro'
  ],
  android: [
    'pro'
  ]
};

return RNIap.prepare()
  .then(() => RNIap.getProducts(Platform.select(purchase_ids)))
  .then(items => {
    if (__DEV__) console.log('RNIap Products:', items);
  });

Yes I do have the in app purchases set up in iTunes Connect:

And again, this works perfect on Android.

@dooboolab Between changing the status to "Waiting for Review" and also making sure that I had contracts under "Paid Applications" submitted, I've got it working. Thank you so much for your assistance and your react native module!

@dooboolab @kodie Can you guys clarify what status should be? I am just trying to test a consumable product (before submitting to app store). My app as a whole is under "Prepare for Submission" for the first time and I have 1 test consumable product. Under that product I checked "Availability: Cleared for Sale". Still see empty products. I just submitted my Paid Application contract though so we will see what happens.

@dooboolab @kodie I was able to get it working.
There is wrong information floating all over these issues such as:

requires a particular status
=> it does not. my status is fresh with "1.0 Prepare for Submission"
need it import as import * as RNIap from 'react-native-iap';
=> it doesn't matter. import RNIap from 'react-native-iap'; works too
products should be listed as product, not com.company.product
=> false. com.company.product works too

I believe what got it working for me was submitting my Paid Applications contract.

Downgrading from 2.4.x to 2.3.x fixed it for us.

I have the same problem.
const itemSubs = Platform.select({
ios: [
'P0001', 'P0002', 'P0003', 'com.advogadoJaProfessional.P0004'
],
android: [
'pl0001', 'pl0002', 'pl0003'
]
});
RNIap.getSubscriptions(itemSubs) works fine on Android, but iOS returns an empty array.
The status of my items on the App Store Connect are "ready for submit".

Hello users,
I also face this issue after the some week found a solution.
// Purchase items
const itemSkus = Platform.select({
ios: [
"1299_Package"
],
android: [
"1299_Package"
]
});
Enter only product id not with the build identifier.


fix formatting for the 3 projects

The formatting was a combination of Angular, C#, a bit of both together and others. I normalized everything to what you expect in an Angular project.
Also deleted the .vscode folder, the sole option there was pretty much a personal preference.

It was great of you to do this, but I want to retain the formatting of the code to match the videos. I'll pick up these formatting suggestions as I do updates/new courses.


[MM-49745] Telemetry to track team invite links

<!-- Thank you for contributing a pull request! Here are a few tips to help you:

#### Summary
Add a way to push the source of the event along with other data.

#### Ticket Link
https://mattermost.atlassian.net/browse/MM-49745

#### Related Pull Requests
N/A

#### Screenshots
N/A

#### Release Note
```release-note
NONE
```

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.


Add Enumerable to the Reader

As the reader is already implementing .each, it would be a shame to not be an Enumerable
https://apidock.com/ruby/Enumerable

Dear @keithdoggett
Could you please review :)

Looks good to me. Do you think there will be any issues if a file is rewound?

@BuonOmo
Very good point and very true.
I've inspired myself from this article to do it properly.
And I've made each idempotent, by resetting the indexes. Let me know what you think ?

@BuonOmo Thanks for all your comments.
I've addressed them, and added loads of test to make sure everything is working according to what we expect.
I also took the liberty of removing the rewind of the README as it's not necessary anymore.

@BuonOmo
each with block is now returning the reader itself, to be the same as the Array.each behaviour (https://apidock.com/ruby/Array/each)
I don't think we need to worry about what seek_index returns anymore ?

@x4d3 my issue wasn't that you would return or false, even though it is a really good point to return self indeed. But is is rather that when seek_info returns false it looks like it means that it couldn't move to the requested position...

I'm not sure exactly what to do if seek_index is false. Is it possible to have @cur_record_index be larger than @num_records by using the pubic API?
Calling rewind if seek_index is false makes sense to me, but we may want to investigate how we could wind up in that state in the first place.

I don't actually think it's possible with the public methods to have @cur_record_index greater than @num_records.
I think seek_index return false only if an external call is made with index greater than @num_records.
In our case, current_record_index will always be smaller than @num_records and therefore seek_index won't return false.
If current_record_index is greater than @num_records it means than the Reader was already in a degenerate state which is not related to the .each call.

@x4d3 can you update the History.md file with this change under the ## Current header, then I'll merge it. Thanks!

@keithdoggett done


Explore Mode: "When correct" not working if a part has no marks

Suppose you pose an explore mode question and you want the students to enter three numbers between 1 and 999, then let them proceed to the next part of an "explore mode" question if they entered three such numbers.
This should be possible using the "Availabilty"-option "When correct" for the second part, but this only works, if the first part assigns marks > 0 to the answers, which in some cases might not be desired.
If yo assign a mark of 0 to the questions in the first part, then the "correct"-trigger does not seem to become switch, leaving the second part unavailable.

I think I got the opposite behaviour to this: I created a part with two gaps, each with zero marks available. Answering one correctly but the other incorrectly produced full credit, which I think is wrong. I've just committed a change to the gap-fill marking algorithm to fix this.
Can you give me a link to a question that demonstrates the behaviour you described?

Here is a question that uses this (I went with 1 mark per gap as a workaround): https://numbas.mathcentre.ac.uk/question/77207/zahlendarstellung-am-quipu/preview/

Strange, I can't seem to reproduce it, I changed the values back to 0 for each mark an now it works... i could swear it did not work the first time.

OK, I'll close this then. Reopen it if you see the problem again.


Wrong error is highlighted

result.get('me').then(function(me) {});

The first me is highlighted, not the second.
jshint gives: file.js: line XX, col YY, 'me' is defined but never used. where YY is the correct column for the second me. This is also what appears in the status bar in Sublime.

Seeing the same issue:

I think this is related to https://github.com/SublimeLinter/SublimeLinter3/issues/188

Encountered the same issue:
var xhr = $.ajax({...}).done(function (data, status, xhr) { ... });

First xhr highlighted, where in fact the second one should be highlighted.

I can't readily reproduce this, does it still happen with recent versions?

@duzun Can you give me an example file and jshintrc (if any)?

I have a PR #116

@duzun Thanks!
@kaste I can confirm #116 fixes the issue.

🤹♀  And it only took 3 years! 🤹♂


Make Container padding configurable

Currently, the Container has a hard-coded padding of const EdgeInsets.all(10),
But I need to display the list of URL previews, so I get unnecessary gap between the list elements.
It would be great if the padding was configurable

Thanks for raising issue!
Padding has been made configurable now. Use version 1.0.0
Example:
previewContainerPadding: EdgeInsets.all(10),

Thank you so much for the prompt fix 😁


can't start wsl after disk move

I tried to move wsl to D disk using this tool's command. After finish moving, the new wsl can'be open from terminal:

and can't be open from disk either:

(saying the disk is not initialized.)
Is there any way to fix this problem?

The error shown when opening the vhdx file is irrelevant. It contains an ext4 partition, which Windows doesn't recognize.
Seems to be a Windows Terminal issue microsoft/WSL#6995

After following instructions from https://github.com/microsoft/WSL/issues/6995#issuecomment-849248855, new problems appears, saying 'Access Denied' (拒绝访问).  Administrator mode doesn't help either.
Solved this problem thanks to https://github.com/DDoSolitary/LxRunOffline/issues/155#issuecomment-748026395


Transparency in WGLMakie different (worse) than in GLMakie

I have the following scene (a simplified example):
using Markdown
using JSServe, Observables
using JSServe: Session, evaljs, linkjs
using JSServe: @js_str, onjs, Button, Slider, Asset
using WGLMakie, AbstractPlotting
using JSServe.DOM
using Interpolations
using Meshing
using Random
using GeometryBasics
using LinearAlgebra
using ColorTypes
app = App() do
    data_slider = JSServe.Slider(LinRange(1f0, 10f0, 100))
    iso_value = JSServe.Slider(LinRange(0f0, 1f0, 100))
    N = 100
    slice_idx = JSServe.Slider(1:N)
    signal = map(Observables.async_latest(data_slider.value)) do α
        a = -1; b = 2
        r = LinRange(-2, 2, N)
        z = ((x,y) -> x + y).(r, r') ./ 5
        me = [z .* sin.(α .* (atan.(y ./ x) .+ z.^2 .+ pi .* (x .> 0))) for x=r, y=r, z=r]
        return me .* (me .> z .* 0.25)
    end
    slice = map(signal, slice_idx) do x, idx
        view(x, :, idx, :)
    end
    scene = AbstractPlotting.Scene()
    Random.seed!(2)
    iso = [sin(10*k^2+8*i^2+3*j^2) for i in -3:3, j in -3:3, k in -3:3]
    mc_algo = NaiveSurfaceNets(iso=0.3, insidepositive=true)
    origin = (0.0, 0.0, 0.0)
    widths = (1.0, 1.0, 1.0)
    mc = GeometryBasics.Mesh(iso, mc_algo; origin = origin, widths = widths)
    itp = Interpolations.scale(interpolate(iso, BSpline(Quadratic(Periodic(OnGrid())))),
            range(origin[1], origin[1] + widths[1], length=size(iso,1)),
            range(origin[2], origin[2] + widths[2], length=size(iso,2)),
            range(origin[3], origin[3] + widths[3], length=size(iso,3)))
    normals = [normalize(Vec3f0(Interpolations.gradient(itp, Tuple(v)...))) for v in mc.position]
    new_mesh = GeometryBasics.Mesh(GeometryBasics.meta(mc.position; normals=normals), faces(mc))
    AbstractPlotting.mesh!(
            scene,
            new_mesh,
            color=RGBA{Float32}(1.0f0, 1.0f0, 1.0f0, 0.2f0),
            ssao = false,
            transparency = true,
            shininess = 400.0f0,
            lightposition = AbstractPlotting.Vec3f0(200, 200, 500),
            ambient = Vec3f0(0.3, 0.3, 0.3),
            diffuse = Vec3f0(0.4, 0.4, 0.4),
            specular = Vec3f0(1.0, 1.0, 1.0),
            show_axis = false,
        )
    dom = md"""
    ---
    $(scene)
    ---
    """
    return JSServe.DOM.div(JSServe.MarkdownCSS, JSServe.Styling, dom)
end
display(app)

and transparency doesn't work from all angles in WGLMakie while it's fine in GLMakie.
Images below show what I see from a similar camera position and angle.
GLMakie:

WGLMakie:

Just a guess but maybe meshes that have an alpha channel need to have material with opacity set to the alpha value: https://threejsfundamentals.org/threejs/lessons/threejs-transparency.html ?

Yeah, some material properties need to be forwarded

Unfortunately, that's too much WebGL stuff for me to be able to fix it :slightly_frowning_face: .


change scaling factor reset to default setting in gnome

after usiing betterScale for a few minutes, i reset the scale to 100% reset to default. But when i try to use gnome fractional scaling to 125%, the window is shrinking instead of larging. After some debugging, i found that default value for gsettings set org.gnome.settings-daemon.plugins.xsettings overrides is {} and gsettings set org.gnome.desktop.interface scaling-factor is 0.

Huh - I guess in Ubuntu Budgie that value might have been the default - the 1. I will have to do a fresh install and confirm what is or isn't set. I would almost think nothing being set or 0 would be the same as 1, clearly that was not your experience though.


Add codecov coverage report

Description
To improve the testing health of the project, we will add a codecov integration s.t. all PRs with passing tests will recieve a codecov report. We will also fail any PR where code coverage goes down more than 2%.
Acceptance criteria

[x]  Users should have the ability to locally run a code coverage plugin to get reports without submitting to CI
[x] CI should automatically generate a code coverage report when users submit a PR with passing tests
[x] As part of the pull request, evaluate the coverage and fail if the coverage goes down by more than -2%
[x] Enable code-cov on the Github repo

Resolves  #191

@tatiana it might not be so simple for us to set up the rule around "fail test if coverage goes down", since we get our coverage information piecemeal from each test. Can we set a general rule among reviewers that we don't merge a significant reduction of code coverage without a good reason? I worry that figuring out how to get this to work considering the multi-step process might be a rabbit hole.

@tatiana it might not be so simple for us to set up the rule around "fail test if coverage goes down", since we get our coverage information piecemeal from each test. Can we set a general rule among reviewers that we don't merge a significant reduction of code coverage without a good reason? I worry that figuring out how to get this to work considering the multi-step process might be a rabbit hole.

@dimberman have you tried using codecov.yml and the threshold option? https://docs.codecov.com/docs/common-recipe-list

@dimberman can we have a test case which can call a db/table where the previous coverage value is stored, and compare it with current value?
And when a PR is successfully merged we can update the value in db via GitHub actions.

@tatiana I can add a codecov.yml but I'm not certain if that will cause failures as individual test-workers will show notably lower test coverage before they are all merged. For now I'll add it and if we see failures due to code coverage we'll just go from there.

@tatiana addressed your points

@tatiana I'm hoping that the fix there is that we need to merge the first PR to set things up. If the problem persists we will make a ticket of it


[WIP] Visualizations

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines or the commits will be squashed into one.
[ ] Tests for the changes have been added.
[ ] Docs have been added / updated.

What kind of change does this PR introduce?
...

Does this PR introduce a breaking change?
No

This PR fixes/implements the following -

[ ] Bokeh version of binary_visualize
[x] Made the bokeh plots interactive with hovering feature
[x] Added bokeh plots in notebooks

Closing issues
...

Fix the commit history by merging master.

Can you be more specific @markroxor ?

check the 'files changed' section. It includes changes which are not induced by you.

ping @VineethKanaparthi


alt+RMB rubberbands out of the dolly

alt+RMB normally dollies the camera in and out  but when CSG window is up it rubberbands back out!

Can you give some more information? When does it "rubberband back out" exactly?

https://github.com/LogicalError/realtime-CSG-for-unity/issues/320 appears to be the same issue, I've commented the line of code causing it there.

Closing this issue in favor of #320, as it provides a visual example of the issue.


Theme - use System by default

...and offer Day/Night, Light/Dark as options

There is a "Night Mode" in the preferences

Do read my Feature Request again :)

Are you suggesting a 3-way choice for users? Follow system - always day - always night?

Yes, that's the expected pattern. With System by default.

Something like this?

yup, looks fine :)

Q: I have merged the change. Now do I wait for Foto Timer to be available on F-Droid before I open a new issue for an update to this version? Or can I open that issue straight away?

you bump versionCode and versionName, ad fastlane changelog .txt , tag, build APK from tagged commit, upload APK to github. done

No change needed in the yml file? (I think I used a commit rather than a tag)

you're on AutoUpdate: https://gitlab.com/fdroid/fdroiddata/-/blob/40723a7b76eef3611d39d890ff744ccc6a88a879/metadata/com.exner.tools.fototimer.yml#L29
The FAQ explains: https://gitlab.com/fdroid/wiki/-/wikis/FAQ#how-long-does-it-take-for-my-app-to-show-up-on-website-and-client
the checkupdate fairy comes soon :wink: https://gitlab.com/users/fdroidci/activity

Brill, thank you!


Editing case from rails_admin in production causes error intermittently

To replicate, change or add a title to a case. click to update, changes will not be made. updated show page will not be shown.
Everything works on local and staging.
Currently seems to be working on production. Leaving the issue, in case we see it again.

@campgurus Considering that there hasn't been an issue with this recently, and I cannot reproduce, I am going to close this out. If you can reproduce and find that this is happening, please reopen with steps to reproduce. Thanks.


Add Infer Email Address function

Adds a type inference function for email addresses.
Closes #945 .

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@gsheni @thehomebrewnerd This isn't complete yet.  Needs docs and also there are a few test failures that still need to be worked out.
I'm actually not sure if some of the work I did was supposed to be included in this PR or another one.  There were a number of different test failures that resulted from adding a new registration for the email inference function.  I fixed most of them but the remaining ones are related to failing testing fixtures that are being downloaded from S3.  Was I supposed to add the registration for inference_functions.email_address_func in this ticket or was that supposed to be part of another ticket?

Was I supposed to add the registration for inference_functions.email_address_func in this ticket or was that supposed to be part of another ticket?

@davesque Yes, I think the registration of the new inference function should be included in this PR, and some new test failures are to be expected. Without looking into the details, I suspect the S3 related test failures have to do with the fact that the saved serialized data in S3 has the email column in sample_df with a logical type of Unknown, but after you register the new inference function this column is getting inferred as EmailAddress, so when we compare the deserialized table to the table we get through initialization on the dataframe, these columns don't match. If my guess here is correct, we will need to update the serialized data in S3, and bump our serialization schema version.

@thehomebrewnerd Yeah, that's exactly what's happening as far as I can tell.  All of the failures that popped up were related to testing fixtures that needed to be updated with some "email" column now having the EmailAddress logical type.

@thehomebrewnerd I'm a bit confused by the coverage failures.  A lot of them seem to be relating to lines that I didn't touch.

@thehomebrewnerd I'm a bit confused by the coverage failures. A lot of them seem to be relating to lines that I didn't touch.

@davesque Looks like things are fine. The way coverage works is by assembling coverage reports from multiple unit tests runs with different dependencies, so generally you will want to make sure all the tests have completed before worrying too much about the coverage reports.
I'll take a closer look at the PR tomorrow, but in the meantime it looks like you also need to sign the contributor license agreement.


Pagination is not handled correctly

1. Provide a general summary of the issue in the Title above
Under testing of the code for the pull request I've observed that warning is displayed and not all results are returned
PS > Get-GitLabPipeline -ProjectID 63 -Verbose | measure
VERBOSE: Parameter Set Name: Single
VERBOSE: URL: https://gitlab.example.com/api/v4/projects/63
VERBOSE: GET https://gitlab.example.com/api/v4/projects/63 with 0-byte payload
VERBOSE: received 1854-byte response of content type application/json
VERBOSE: Returning a pipeline(s) for the project ActiveAssistSetup and id 63
VERBOSE: Parameter Set Name: Pipelines
VERBOSE: A prepared API request: /projects/63/pipelines?order_by=id&sort=desc&per_page=100
VERBOSE: URL: https://gitlab.example.com/api/v4/projects/63/pipelines?order_by=id&sort=desc&per_page=100
VERBOSE: GET https://gitlab.example.com/api/v4/projects/63/pipelines?order_by=id&sort=desc&per_page=100 with 0-byte payload
VERBOSE: received 10184-byte response of content type application/json
VERBOSE: GET https://gitlab.example.com/api/v4/projects/63/pipelines?order_by=id&sort=desc&per_page=100?&page=2 with 0-byte payload
VERBOSE: received 31-byte response of content type application/json
WARNING: . See https://gitlab.example.com/help/api/README.md#status-codes for more information.

Count    : 100
Average  :
Sum      :
Maximum  :
Minimum  :
Property :

after commenting lines

41
57-60
in the file PSGitLab/Private/QueryGitLabAPI.ps1 the error is displayed

<OUTPUT_PARTIALY_OMITTED>
VERBOSE: GET https://gitlab.example.com/api/v4/projects/63/pipelines?order_by=id&sort=desc&per_page=100?&page=2 with 0-byte payload
VERBOSE: received 31-byte response of content type application/json
Invoke-WebRequest : {"error":"per_page is invalid"}
At <FOLDER_PATH>\PSGitLab\PSGitLab\Private\QueryGitLabAPI.ps1:52 char:22
+         $Results += (Invoke-WebRequest @newRequest).Content | Convert ...
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (Method: GET, Re...rShell/6.0.2
}:HttpRequestMessage) [Invoke-WebRequest], HttpResponseException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Count    : 100
<OUTPUT_PARTIALY_OMITTED>

2. Describe Your Environment
Windows 10 x64
PowerShell Core 6.0.2
GitLab 10.7.3 - API v4
3. Expected Behavior

More descriptive error/warning message is displayed
All results are returned

5. Possible Solution
I'll provide a proposed fix as a separate pull request.

Fixed by @it-praktyk


]Language]How to  generate QRCoder in ASP.NET Core using C#

Topic Suggestion
How to  generate QRCoder in ASP.NET Core using C#
Proposed article introduction
QRCoder is a very popular QR Code implementation library written in C#.  Here I am going to implement the QRCoder library to generate QR Codes in my ASP.NET Core application using C#. ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites. It allows you to use a full featured programming language such as C# or VB.NET to build web applications easily.
Key takeaways
By the end of the article, the readers will have:

Installed QRCoder
Created a QR Code Bitmap image for any text.
Created a QR Code File for any text and then save these files in the application.
Read and display all the QR Code File.

Article quality
This article will give the learner a step-by-step guide on how to generate QR Code in ASP.NET core using C#. It will also give the learner an overview of both ASP.NET core and C# along with their features.
References
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts. Please feel free to suggest an alternate topic to explore. 🚀
We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic it has to serve value to the larger developer community at large. Please feel free to suggest an alternate topic to explore. 🚀
https://www.google.com/search?q=QR+Code++in+ASP.NET+Core+using+C%23&rlz=1C1CHBF_enUS891US891&ei=ThQyYv_jL-O60PEP0YKkoAI&ved=0ahUKEwj_wvyyisv2AhVjHTQIHVEBCSQQ4dUDCA8&uact=5&oq=QR+Code++in+ASP.NET+Core+using+C%23&gs_lcp=Cgdnd3Mtd2l6EAM6BwgAEEcQsANKBAhBGABKBAhGGABQ6whYgx9ghCJoAnABeACAAfkBiAH8BZIBBTUuMS4xmAEAoAEByAEIwAEB&sclient=gws-wiz


Submission system redesign

A major change, completely redesigning the Dryad submission system into a multi-page wizard with better feedback, and incorporating few other feature requests. Please see the tickets for details of what is included.

Closes https://github.com/datadryad/dryad-product-roadmap/issues/3347
Closes https://github.com/datadryad/dryad-product-roadmap/issues/2616
Closes https://github.com/datadryad/dryad-product-roadmap/issues/3713
Closes https://github.com/datadryad/dryad-product-roadmap/issues/3050
Closes https://github.com/datadryad/dryad-product-roadmap/issues/2440
Closes https://github.com/datadryad/dryad-product-roadmap/issues/2601
Closes https://github.com/datadryad/dryad-product-roadmap/issues/2158
Closes https://github.com/datadryad/dryad-product-roadmap/issues/3622
Closes https://github.com/datadryad/dryad-product-roadmap/issues/3494
Closes https://github.com/datadryad/dryad-product-roadmap/issues/2293
Closes https://github.com/datadryad/dryad-product-roadmap/issues/2707

Pull requests for additional requested submission features may be merged into this branch.

As a note to other developers, the rspec tests for this currently take 1 million years


Feature Request: Weak GitHub OIDC Claim Verification

Ensure IAM policies to integrate with GitHub's OIDC provider validate the subject claim to limit the context in which the role can be assumed. If there are no conditions or the condition is too permissive, it could allow unintended repositories to assume the role.
Doc reference - https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect

Thank you for your proposal.

If there are no conditions or the condition is too permissive, it could allow unintended repositories to assume the role.

This is AWS IAM Role's settings, not GitHub Actions.

If you have any ideas of new lint rules, could you tell us the example?
e.g.
https://github.com/suzuki-shunsuke/ghalint/blob/187f8c9011c851ebb0bd7fe9d17d6f07c0f82e9b/README.md?plain=1#L29-L81

@suzuki-shunsuke I don't have good idea on linting rules but if we can create rules for checking as written in this blog around github security best practices - https://engineering.salesforce.com/github-actions-security-best-practices-b8f9df5c75f5/ then that can be run as part of ghalint tool.

Something like this one - https://github.com/turbot/steampipe-mod-github-sherlock

I read the blog post https://engineering.salesforce.com/github-actions-security-best-practices-b8f9df5c75f5/ and created some issues.

https://github.com/suzuki-shunsuke/ghalint/issues/209
https://github.com/suzuki-shunsuke/ghalint/issues/208
https://github.com/suzuki-shunsuke/ghalint/issues/207
https://github.com/suzuki-shunsuke/ghalint/issues/206

I close this issue because the problem and action are not clear.
We need to clarify the issue and action in the scope of ghalint (GitHub Actions Linter).


datashader speedup and bugfixes

This speeds everything up for me locally, but for the benchmark (#296), I see an effect (aka datashader faster than matplotlib) for e.g. 10k points/shapes etc.

Codecov Report
Attention: Patch coverage is 97.82609% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.61%. Comparing base (a0e579a) to head (759ecd8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #309      +/-   ##
==========================================
+ Coverage   80.35%   80.61%   +0.26%
==========================================
  Files          11       11
  Lines        1746     1775      +29
==========================================
+ Hits         1403     1431      +28
- Misses        343      344       +1

Files
Coverage Δ

src/spatialdata_plot/pl/utils.py
70.24% <100.00%> (+0.03%)
:arrow_up:

src/spatialdata_plot/pl/render.py
94.16% <97.77%> (+0.20%)
:arrow_up:

Thanks @Sonja-Stockhaus ! I have tried the PR on the Visium HD data and the speed up is significant!

@Sonja-Stockhaus I found a bug with this PR when the rasterized object needs to be aligned with the rest https://github.com/scverse/spatialdata-plot/issues/291. The solution seems straightforward, I think one just needs to initialize the image element from datashader using the old coordinate transformations.

Thanks! Ready for review correct?

Will try to find some time today to deal with

Sonja, I found a bug with this PR when the rasterized object needs to be aligned with the rest https://github.com/scverse/spatialdata-plot/issues/291. The solution seems straightforward, I think one just needs to initialize the image element from datashader using the old coordinate transformations.

and will ping you afterwards 👍

You can use the code from this branch: https://github.com/scverse/spatialdata-plot/pull/295.

Hi @timtreis, checking the status of this PR. There are still some open tasks on this PR right? Can you list them here as tickable tasks please?

Todo:

[ ] fix failing tests
[ ] look into aggregation methods that aren't working rn (mode, any, std, var)
[ ] behavior of alpha when rendering shapes should be more similar to mpl
[ ] outline of polygons need to be implemented in datashader

Thanks for the update!

outline of polygons need to be implemented in datashader

This task here seems tricky. I would consider raising a warning saying that the outline is currently not supported and workin on this on a separate PR.

outline of polygons need to be implemented in datashader

This task here seems tricky. I would consider raising a warning saying that the outline is currently not supported and workin on this on a separate PR (with low priority).

If you use cvs.line instead of cvs.polygons you get only the outline, so you should be able to overlay the two. Depending on how fast we want to merge this PR, we can of course move that to a new one

Ah ok, then it should be a fast addition, thanks for the update.

General problem of datashader so far: when you render elements, coloring them by a value and a color map, you wouldn't see a single element if all of them have the same value X. This is due to the scaling of the data for the colormap that happens in datashader (scaled_data = (data - span[0])/(span[1] - span[0])) which leads to all elements being assigned alpha=0.
Fix in this PR: internally, not the whole colormap is passed to datashader, but just the color given by cmap(0.0). It is used to color all elements. Still, a colorbar of the cmap is drawn with the range [X, X+1].

Thanks for the explanation, I think the approach that you implemented is a good one!

As discussed with @timtreis, we now use sum as default datashader aggregation for points and mean for shapes


Error on prod build in 0.0.47: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token u in JSON at position 0

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
When I run  ionic build android --prod I get the following error, and I have no idea where it comes from. Tried with --verbose and --debug but neither show a stacktrace. I suspect it's related to ngc because there are no errors when I run ionic serve.
[13:52:48]  ionic-app-scripts 0.0.47
[13:52:48]  build prod started ... MEM: 108.7MB
[13:52:48]  clean started ... MEM: 108.9MB
[ DEBUG! ]  clean /Users/rodrigo/Git/App/www/build  MEM: 108.9MB
[13:52:48]  clean finished in 7 ms MEM: 109.0MB
[13:52:48]  copy started ... MEM: 109.1MB
[13:52:48]  ngc started ... MEM: 109.1MB
[13:53:32]  ngc finished in 43.25 s MEM: 491.0MB
[13:53:32]  webpack started ... MEM: 491.0MB
[ DEBUG! ]  [IonicEnvironmentPlugin] apply: creating environment plugin  MEM: 500.4MB
···
[13:53:32]  copy finished in 43.69 s MEM: 503.5MB
(node:3862) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token u in JSON at position 0

What behavior are you expecting?
To not show any errors, or show a stacktrace.
Steps to reproduce:

Run ionic build android --prod
Check the error in the logs

Which @ionic/app-scripts version are you using?
0.0.47
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.2 Build version 8C38

Adding that this error seems to stop the Ionic part of the build, as neither main.js nor main.css are generated. The Cordova part continues but when you run the app you get a 404 error for these 2 files.

Can you open<EMAIL_ADDRESS>and modify the errorLog function to include a console.log('e.stack: ', e.stack); before the process exits?
This will help me track it down.
Thanks,
Dan

Hi Dan,
I added the console.log in line 60 like this, but the log is never printed on the console so it must be coming from somewhere else.
function errorLog(task, e) {
    logger_1.Logger.error("ionic-app-script task: \"" + task + "\"");
    if (e && e.toString() !== 'Error') {
        logger_1.Logger.error("" + e);
    }
    console.log('e.stack: ', e.stack);
    process.exit(1);
}

I'm using 0.0.47, you can see the full info at the end of my first message.
Thanks!

@FdezRomero,
Hmm, seems to be having trouble with some JSON. That is strange. Can you try to reproduce it?
Thanks,
Dan

@danbucholtz You mean with a fresh project? I haven't been able to find the cause, but it happened since I moved from 0.0.46 to 0.0.47.

Are you using any third party libraries? It seems like webpack is having a hard time with it?
Thanks,
Dan

@danbucholtz Nothing fancy: Ionic Storage, Ionic Native, the Intl polyfill and ng2-translate. But I have them since RC0 and only Ionic Storage has been updated recently. These are my deps:
"dependencies": {
    "@angular/common": "2.1.1",
    "@angular/compiler": "2.1.1",
    "@angular/compiler-cli": "2.1.1",
    "@angular/core": "2.1.1",
    "@angular/forms": "2.1.1",
    "@angular/http": "2.1.1",
    "@angular/platform-browser": "2.1.1",
    "@angular/platform-browser-dynamic": "2.1.1",
    "@angular/platform-server": "2.1.1",
    "@ionic/storage": "^1.1.7",
    "intl": "^1.2.5",
    "ionic-angular": "2.0.0-rc.3",
    "ionic-native": "^2.2.11",
    "ionicons": "3.0.0",
    "ng2-translate": "^4.2.0",
    "rxjs": "5.0.0-beta.12",
    "zone.js": "0.6.26"
  },
  "devDependencies": {
    "@ionic/app-scripts": "0.0.47",
    "typescript": "2.0.9"
  },

Thanks for checking this out.

@FdezRomero,
If you want to send me Gitlab stuff, I can take a quick look. Please email me at dan.b at ionic.io.
Thanks,
Dan

Hi Dan,
Following the upgrade instructions for RC4 I copied and pasted the tsconfig.json for 0.0.47 and found that I was missing the line:
"sourceMap": true,

It works perfectly now. I'm sorry that I couldn't find this error earlier. I checked everything several times but somehow I missed this. I was actually just going to send you the invite for the repo.
Thanks for all the help! Closing :+1:

We are facing this issue in latest ionic cordova and android...
I am trying to install plugins given on ionic website... Getting this issue on 3 plugins

imagepicker
insomnia
http

(node:25244) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token )


Getting consumption spikes when using rate(scaph_host_energy_microjoules) on prometheus

Hello, I am using scaphandre in one of my projects, and I am encountering some problems.
When using scaph_host_energy_microjoules and applying prometheus rate() function to it, I am getting uge consumption spikes.

Note that this behavior only occures with scaph_host_energy_microjoules metric.
Do you have any idea on where these could come from ?
Thanks !

What does rate do? This may be normal, since scaph_host_energy_microjoules reports the energy consumed since the previous measurement. And the energy measurements occur at regular intervals.

Hi,
Do you have anything suspicious in the logs, like scaphandre crashing or permissions issues ?
If not, what does the raw scaph_host_energy_microjoules graph look like ? / could you look at the raw data points stored in prometheus and see if there are actually big gaps or weird values ?


Follower reads

@ajwerner PTAL!

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/8073e5c94f7114b7fe15f97739d1364f61ce7456/

@jseldess @rmloveland PTAL. If there's any way to get this edited today, we'll be able to get it in time for the release notes.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d2396082e05c2b6d91c89da9b1ee4cf0135f8e5a/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/41f4672f4f8b13d8fdc50459acfc44eb9bde3ce2/


Crop Button disappears on second time.

Crop Button appears for the first time the activity is launched after that is does not shows up.

The button still works but the text dissappears.

I am having the same issue, in my case the button is not visible in the first run of the app, the button was showing sometime back , but in recent builds i am noticing the button is invisible! please need resolution fast or i will have to remove this library!

Android...
It's something in this code: https://github.com/ArthurHub/Android-Image-Cropper/blob/master/cropper/src/main/java/com/theartofdev/edmodo/cropper/CropImageActivity.java#L131
can you debug and see what going on there?
I can't reproduce it so it's a bit hard for me

fixed in v2.5.0


Inconsistent results of equals() for equality checking

Expected behavior and actual behavior.
For a LineString, after some set operations which only add points on the LineString itself, it can not pass the topological equality check. (Refer to code)
In the code, pth_inbds is a list of sub-linestring (of pth) after some set operations (where union of pth_inbds shall return pth topologically) and pth is the original linestring. While difference() gives empty geometry, where I would expect the two geometry to be topologically the same, the topologic equality check equals() gives a false value which does not make sense.
Note that equals_exact() is not applicable in my case as I need those extra points (from ops.unary_union).
Steps to reproduce the problem.
ops.linemerge(ops.unary_union(pth_inbds)).difference(pth)
><LINESTRING Z EMPTY>

ops.linemerge(ops.unary_union(pth_inbds)).difference(pth)
>False

The wkt values for both lines (too long to be posted here):
https://pastebin.com/clone/KN82smyZ
Operating system
Windows 11 64 bit
Shapely version and provenance
2.0.0 using pip

@adrianop01 the WKT output for ops.linemerge(ops.unary_union(pth_inbds)) is truncated (there is a ", 0.3 5.91188671428...57," somewhere in the middle), so I can't try to reproduce the issue.
Could you provide the full output? Writing it to a file might be easier than printing it in a python console (which seems to truncate long strings?)

Thanks for your comment. The following two wkt representations did reproduce the same issue (difference() is string empty but equals() gives False) I mentioned:
pth.txt
pth_modified.txt
pth_modified = to_wkt(ops.unary_union(pth_inbds),rounding_precision=21,trim=False)
f = open("pth_modified.txt", 'w')
f.writelines(pth_modified)
f.close()

pth_modified = to_wkt(pth,rounding_precision=21,trim=False)
f = open("pth.txt", 'w')
f.writelines(pth_modified)
f.close()

f = open("pth.txt",'r')
pth = from_wkt(f.read())
f.close()

f = open("pth_modified.txt",'r')
pth_modified = from_wkt(f.read())
f.close()

Interestingly, if I set rounding_precision to be something smaller, say 15, such inconsistencies do not happen:
pth_modified.equals(pth)
>True
pth_modified.difference(pth)
><LINESTRING Z EMPTY>

Perhaps an issue of inconsistent floating point precision?

Yes, with those files I can reproduce it. Something else I observe: when checking for the difference the other way around, there is some output:
>>> pth.difference(pth_modified)
<MULTILINESTRING ((1.1 3.6, 1.1 3.6), (1.1 2.6, 1.1 2.6), (1.2 2.6, 1.2 2.6)...>
>>> pth_modified.difference(pth)
<LINESTRING Z EMPTY>

Those are a few points on the line. I suppose there are tiny floating point differences that is causing this.
One option could be to set a precision to the coordinates (which will "round" them), and then you get the expected results:
>>> pth = shapely.set_precision(pth, 1e-10)
>>> pth_modified = shapely.set_precision(pth_modified, 1e-10)
>>> pth_modified.equals(pth)
True
>>> pth_modified.difference(pth)
<LINESTRING Z EMPTY>
>>> pth.difference(pth_modified)
<LINESTRING Z EMPTY>


Is it possible to have width and position

Summary:
Is it possible to have width and position as a react prop?
Steps to reproduce:
I have some inline code that looks like this :
        let modalStyle = {
            overlay: {
                display: "flex",
                justifyContent: "center",
                alignItems: "center",
                zIndex: 998,
                backgroundColor: 'rgba(255,255,255,0.4)',
            },
            content: {
                //BC
                width,
                top: position ? position.y : '4vh',
                left: position ? position.x : 'unset',
                right: 'unset',
                bottom: 'unset',
                border: '1px solid #ccc',
                background: '#fff',
                overflow: 'visible auto',
                WebkitOverflowScrolling: 'touch',
                borderRadius: '4px',
                outline: 'none',
                padding: '0',
                maxHeight: '92vh'
            }
        }

Everything is static exception for width and position. These need to be dynamically calculated.
We would like to move all the CSS into a seperate CSS file, and have the inline calculated in the react component.
If we do something inline like this :
        let modalStyle = {
            content: {
                width,
                top: position ? position.y : '4vh',
                left: position ? position.x : 'unset',
            }
        }

Then whatever is defined for content in the CSS file will be overwritten.
Are there props that can be used to set these values ?
eg:
<ReactModel width={width} position={position} ..>

@oliverwatkins Can you make a reproducible example, please? That way it will be easy to debug.

alright, ill get onto it soon

have you tried memoizing the modalStyles with useMemo?


TPV resolution or meiotic recombination intermediates -parent

reciprocal meiotic recombination is not part of meiotic chromosome segregation, even though it is important for segregation it precedes it (I think this is correct).
However the descendent term “resolution or meiotic recombination intermediates” is par of meiotic chromosome separation. I don’t think it should be?
Reported by: ValWood
Original Ticket: geneontology/ontology-requests/11594

might crop up again will address then


[bug] Cannot find module '/usr/src/app/bin/www'

Probally my fault but i cannot get it to start..
at startup i got the following log infos:

node:internal/modules/cjs/loader:926
throw err;
^
Error: Cannot find module '/usr/src/app/bin/www'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:923:15)
at Function.Module._load (node:internal/modules/cjs/loader:768:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
what did i miss or doing wrong?

I need to know how you build the app. Docker? Git clone and npm run build ?

Hello, t think i found the Problem...
I running the "Unraid" Docker Container and  in the Settings for persistant path there are 2 Entrys...
Initial both empty:
"Appdata:"
Container Path: /usr/src/app/store ->
"Zwavejs Log:"
Container Path: /usr/src/app/bin ->
and i filled up the to:
"Appdata:"
Container Path: /usr/src/app/store -> /mnt/user/appdata/zwavejs2mqtt
"Zwavejs Log:"
Container Path: /usr/src/app/bin -> /mnt/user/appdata/zwavejs2mqtt/log
and thats the problem.. i guess the Label: "Zwavejs Log:" is wrong or i am dumb and dont get what i should fill in here?
when i leave this empty it starts fine...
I think we can close this and i will contact the maintainer from the "zwavejs2docker unraid docker container" for a better description of the entry..
Thank you for your great Work and Sorry for Stealing your Time.

No worries, glad you fixed the problem :)


using with Vite?

Good idea, I'll provide a vite plugin later~

Vite-plugin would be very very helpful. Truly missing "Design in Devtools" mode.
I'm very curious as to why windi could do, and tailwind can't do this. Thanks again!

Vite-plugin would be very very helpful. Truly missing "Design in Devtools" mode.
I'm very curious as to why windi could do, and tailwind can't do this.
Also, I would greatly appreciate if you can clarify if your webpack/vite plugin shall generate all possible css classes that comes to around 4mb or more (like in V2)? v3 hack is like here using safelisting - tailwindlabs/tailwindcss#6347 (comment)
Moreover, I was thinking of buying this https://devtoolsfortailwind.com/ but it's really too expensive for me. How is your webpack/vite plugin different to what this paid tool offer? If it's the same, we could all save some money. Thanks again!

Hi @TechAkayy , first of all, Tailwind can also get "Design in Devtools" mode  like Windi via webpack plugin or vite plugin.
Secondly, Tailwind  already provides api to generate the list of all classes used for autocomplete, in fact I found it from tailwindcss-intellisense. So I think this api is more suitable than  config safelist in the case  of developing standalone plugins.
Finally, I'm not familiar with https://devtoolsfortailwind.com/, but I think if you just want  get autocompletion in browser, feel free to use this plugin, Thank you for your interest ~

Hi, Thank you for your interest in this plugin, tailwindcss-vite-plugin v0.0.1 has been released. Feel free to use it :)

Woww amazing, thanks bunch 🙏🏾


Update: webpack project to latest ESLint update

Had to add prettier to the install list, and then disable the prettier/prettier rule. :disappointed: Probably just missing a config change but I just want to get webpack passing for now (and I do intend to probe at the rule overrides in all the projects this week to see what overrides we could remove).
Travis results: This pull request, vs master

Could the issue be a missing .prettierrc file?

I reran the build without pushing any changes to this branch, and now webpack is linting just fine. No idea what happened, but I'm going to merge this since this is still a step in the right direction. If any problems come up in webpack in future builds, I'll dig in then.


documentation and commenting

Documentation can be improved both for Readme as well as Wiki,
In Wiki, we can provide the logic of each of the ML Models that we have for the conversions.
We should also add more comments to each of the functions

Hello @anjalisoni3655 and @DebugAgrawal
I feel I can contribute to readme. Let me know, if you assign this to me

Hello @anjalisoni3655 and @DebugAgrawal
I feel I can contribute to readme. Let me know, if you assign this to me

Yah sure!

Prashi, Bushra and Yvon

Just a crosscheck @anjalisoni3655 so i dont miss anything
@anjalisoni3655
@prashi23
@DebugAgrawal
@codingbug671
@yvonmanzi
Are all the maintainers and admins of this project ! right

@DebugAgrawal @anjalisoni3655
Please review the readme,
You can see the readme preview from my branch here
https://github.com/imabp/Code-Kindle/tree/docs-revamp#readme

Do let me know, if any changes needed
FYI: I have not removed, any part, just gave nicer headings. :)

Do let me know, if any changes needed
FYI: I have not removed, any part, just gave nicer headings. :)

Hey, added comments in your PR, and also are you working on adding comments in the code?

For Comments I will make a different PR from different branch @anjalisoni3655

Code Commenting taking a bit time :)
Expect a PR by end of this weekend


[INLONG-2137][inlong-sdk] restore inlong sdk module in pom.xml

Title Name: [INLONG-XYZ][component] Title of the pull request
where XYZ should be replaced by the actual issue number.
Fixes #
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

restore inlong sdk module in pom.xml

Codecov Report

Merging #2158 (9e231f2) into master (2c74fe0) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2158      +/-   ##
============================================
+ Coverage     12.25%   12.27%   +0.02%
- Complexity     1157     1159       +2
============================================
  Files           413      413
  Lines         35243    35243
  Branches       5544     5544
============================================
+ Hits           4318     4327       +9
+ Misses        30153    30147       -6
+ Partials        772      769       -3

Impacted Files
Coverage Δ

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
46.09% <0.00%> (+0.78%)
:arrow_up:

.../java/org/apache/flume/sink/tubemq/TubemqSink.java
55.42% <0.00%> (+4.00%)
: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 2c74fe0...9e231f2. Read the comment docs.


Add unlimited TTL functionality

This PR will allow for an unlimited redis key TTL if a negative TTL attibute is supplied.

Thanks!


Error executing Kometa

Version Number
2.0.0
What branch are you on?
master
Describe the Bug

Traceback (most recent call last):
  File "D:\Servidores\Plex-Meta-Manager\kometa.py", line 183, in <module>
    from modules.builder import CollectionBuilder
  File "D:\Servidores\Plex-Meta-Manager\modules\builder.py", line 4, in <module>
    from dateutil.relativedelta import relativedelta
ModuleNotFoundError: No module named 'dateutil'

Relevant Collection/Overlay/Playlist Definition
No response
Logs
No response

try installing you requirements again

@Crosus97 have you tried the above? Let us know please or this issue will be closed.

Closing as no response


Harmonization of HTTP response codes

The response codes defined in the ApplicationPattern shall be copied into the openAPI specification and become part of the implementation.
Check individual services for required changes to responseCodes; if it is necessary to define new individual responseCodes, these shall be added to the AppPattern documentation as well.

Note:
The individual services will retrieve data from MWDI and MATR.
Both applications do not yet support all the new harmonized responseCodes (for MWDI at least the next release specification has them already, but for MATR the spec still needs to be updated).
I.e. the new responseCodes will already be defined in the NEP spec, but them being actually returned will rely on the implementations of the related responseCodes in MATR and MWDI.

remove the additional descriptions folder for responseCode overview from the spec


PicklingError hangs flake8 pex

If I build a pex of flake8, by default, it picks up the 3.0.0b2 version. Running this pex on any Python file hangs indefinitely after a PicklingError. flake8==3.0.0b2 installed in a virtualenv does not have the same behavior.
$ pex 'flake8==3.0.0b2' -c flake8 -- any_python_file.py
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/queues.py", line 268, in _feed
    send(obj)
PicklingError: Can't pickle <class 'pkg_resources._vendor.packaging._structures.NegativeInfinity'>: it's not the same object as pkg_resources._vendor.packaging._structures.NegativeInfinity

the hang seems to be related to the flake8 implementations usage of a multiprocessing queue - I'd bet if you hit a similar PicklingError in a worker in the venv context you'd probably see a likewise hang.
at least one topical workaround seems to be:
$ pex 'flake8==3.0.0b2' -c flake8 -- -j1 setup.py
which instructs flake8 to use a single core and runs successfully - this seems to confirm a multiprocess related bug.
as to the cause of the PicklingError itself, I'm guessing there's some fundamental difference in the way the class is loaded in the main runtime vs in multiprocessing worker.
if you run pex 'flake8==3.0.0b2' -c flake8 -- -j2 setup.py on your laptop then hit control-c, what does the raw traceback look like?

Traceback:
$ pex 'flake8==3.0.0b2' -c flake8 -- -j2 setup.py
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/queues.py", line 268, in _feed
    send(obj)
PicklingError: Can't pickle <class 'pkg_resources._vendor.packaging._structures.NegativeInfinity'>: it's not the same object as pkg_resources._vendor.packaging._structures.NegativeInfinity
^CProcess Process-2:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Process Process-1:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
... stopped while processing files
    self._target(*self._args, **self._kwargs)
  File "/private/var/folders/bw/ghklm2fs6bx_x9x_f0wg5kph0000gn/T/tmpvbDNGA/.deps/flake8-3.0.0b2-py2.py3-none-any.whl/flake8/checker.py", line 220, in _run_checks_from_queue
    self.run()
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
    for checker in iter(self.process_queue.get, 'DONE'):
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/queues.py", line 115, in get
    self._rlock.acquire()
KeyboardInterrupt
  File "/private/var/folders/bw/ghklm2fs6bx_x9x_f0wg5kph0000gn/T/tmpvbDNGA/.deps/flake8-3.0.0b2-py2.py3-none-any.whl/flake8/checker.py", line 220, in _run_checks_from_queue
    for checker in iter(self.process_queue.get, 'DONE'):
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/queues.py", line 117, in get
    res = self._recv()
KeyboardInterrupt

I was investigating online references to this bug and I found this, that might help you too to understand what is going on.

Flake8 3.0.4 was released with a fix. Per https://gitlab.com/pycqa/flake8/issues/164, looks like it was not a pex-specific issue.


hk2-utils 2.4.0-b10

Type: Missing
Summary:
hk2-utils 2.4.0-b10
Details:
ClearlyDefined no files
Maven license field indicates CDDL AND GPLv2 and GPLv1.1
Maven license links to: https://glassfish.java.net/nonav/public/CDDL+GPL_1_1.html
Resolution:
Declared license is CDDL-1.1 AND GPL-2.0-with-classpath-exception
Maven license link indicates: CDDL + GPLv2 with classpath exception
Affected definitions:

hk2-utils 2.4.0-b10

@LandOfBliss OK, however, Declared license should read as "CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0". I will fix the curation and merge.


dynamic sorting by usage frequency

The popularity of TOTP-2FA (a.k.a GoogleAuthenticator) is growing
and my personal token list in FreeOTP+ is growing the same way.
I have found that I use part of the token very frequently while others only in rare occasions.
Sorting a lot of tokens manually is time consuming and annoying too. Especially if it's not clear if a token is often used in the future or not (therefore one have to reorder the tokens repeatedly).
So my idea is to have the token list sorted by the frequency of their use. Not to be misunterstood, this should be optional!
Can you consider to implement such a feature, please?

I agree that FreeOTP+ should show most frequently used tokens in the first page. I am worried about two things

Losing muscle memory about the token position because of constant changing positions
Overriding the manual orders. It is very confusing to have a dynamic order and manually changed orders.

I've moved to freeotp+ from andotp.  Dynamic sorting by usage frequency is the one feature of andotp that I really miss and that always makes be ponder whether I should move back to it.  Please implement!

Would providing a one-time sorting action good for this use case? Feels like always dynamically sorting is conflicting the manual sorting.

There could be a sub-menu "Sorting" where one could choose between "Manual" and "Frequency". The first one is, well, manual, and the second one is dynamic. Maybe there could be other dynamic orderings too, e.g. "Title".


fix: delegated calls support

Description
Fixes #131

Adds support to delegated calls in both fakes and mocks
Adds custom assertion expect(myFake.myFunction).to.be.delegatedFrom(myProxy.address)

Canary version: 0.0.0-9be6e836

FWIW: I've gone through this PR, but I've also tested it using a companion project located right here.
The sample project exhibits how to use Smock along with the Diamond pattern to test that facets are being called.
It also uses hardhat-deploy fixtures to make sure that both modes function properly.