custom js for action form also handles grappelli

ExportActionModelAdmin works fine with Django-Grappelli except for one little detail: on valila admin, there is a little jQuery snippet that toggles visibility of the added file_format field. Because Grappelli uses different CSS classes and IDs, this toggling does not occur.
This in vanila admin:

... looks like this in grapppelli:

... but in the default state looks like this:

Changes in this PR enable grappelli to benefit from the existing feature in the same way that vanila django-admin does, by hiding the second dropdown in grappelli until the "export" action is selected. Original functionality in vanila admin is not affected.

Contributing guidelines... yes I have read them. Cannot comply to most of the requirements there because they assume changes to Python code. Please let me know if I should comply to some. Happy to. Also happy if this gets merged in as is :)

In order to be merged into django-import-export, contributions must have the following:

A solid patch that:

is clear.
works across all supported versions of Python/Django.
follows the existing style of the code base (mostly PEP-8).
comments included as needed to explain why the code functions as it does

A test case that demonstrates the previous flaw that now passes with the included patch.
If it adds/changes a public API, it must also include documentation for those changes.
Must be appropriately licensed (see Philosophy).
Adds yourself to the AUTHORS file.
If your contribution lacks any of these things, they will have to be added by a core contributor before being merged into django-import-export proper, which may take substantial time for the all-volunteer team to get to.

Coverage remained the same at 91.276% when pulling 70f236f36dee1448561009f25311ba24b504f37b on frnhr:action_form_on_grappelli into d0157e2a6b86cf94c772fb552771a7700df25306 on django-import-export:master.

merged, thanks!


Extensions in RequestBody don't work

I have the following controller
    [Route("api/[controller]")]
    public class DefaultController : Controller
    {
        [Route("test")]
        [HttpPost]
        public IActionResult TestController([FromBody]string value)
        {
            return null;
        }
    }

And the filter
    public class OperationalFilter : IOperationFilter
    {
        public void Apply(OpenApiOperation operation, OperationFilterContext context)
        {
            var extension = new KeyValuePair<string, IOpenApiExtension>("x-my-test", new OpenApiString("true"));
            operation?.RequestBody?.Extensions.Add(extension);
        }
    }

VERSION:
5.5.1
STEPS TO REPRODUCE:

git clone https://github.com/RFlipper/swashbuckle-test.git
cd swashbuckle-test\src
dotnet run
open in browser http://localhost:5000/swagger/v1/swagger.json

EXPECTED RESULT:
body parameter has to have extension data
      "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "type": "string"
            },
            "x-my-test": "true"
          }

ACTUAL RESULT:
It doesn't generate extensions
      "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "type": "string"
            }
          }

I would appreciate any bug fix or a workaround

Seems that it has been fixed in Microsoft.OpenApi 1.2.3

A temporary workaround (if anyone faced the same issue) you can explicitly pull in version Microsoft.OpenApi >= 1.2.3 in the project


questions or suggestions for the animated gif?

hello,
when I wanted to simulate the parcels using changing velocity,  I may draw like the example in the tutorial Tutorial showing how to create Parcels in Agulhas animated gif, but I have a problem that it can only execute one time each time. I mean that cause we didn't save the tragectory, so if we want to visualize the tragectory, we can't do it.   And my question is how to do that like what the function plotTrajectoriesFile do . if you haven't have a function for this, I have a proposal that you can expend the parcels  to changing  velocity, for its own showing trajectory function.

Dear @wongchieh, thank you for your comment, and sorry for the slow reply. It were busy weeks..
I'm not sure I understand what you suggest and/or ask. If you want to visualise a trajectory, you have to save it to a netcdf file, because Parcels only keeps the last position in its memory. Any visualisation and analysis  will therefore have to be done in post-processing


hl2.exe not found??

I can't install the HUD apparently due to this bug, not sure how to fix after reading everything.

For everyone who may be as dumb as me...make sure budhud folder is inside C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\budhud before running the script, since the check is not done on an absolute path (i.e is checked ../hl2.exe instead of the whole path)

Ah yeah, I should improve the wording of that error message. I haven't messed with the script in a while, but it is expecting the folder to be located in the correct spot at the moment


[BUG] Bloxstrap Error

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
When i Press Install In Bloxstrap App this pops up. What Do I Do??

When i Press Install

Are you reinstalling? In which case, you didn't close Roblox before you uninstalled it. Make sure Roblox isn't running in the background.

Nothing changed


feat: add line numbers to generated lines

Fixes #22
Checklist

[x] Ensure PR title matches the conventional commits format.

CodiumAI Agent Commands
As required run the following CodiumAI Agent commands:

Request PR review using @CodiumAI-Agent /review (and if required, request an incremental update with @CodiumAI-Agent /review -i)
Request PR improvement suggestions with @CodiumAI-Agent /improve --extended
Request PR update using @CodiumAI-Agent /describe
Request adding missing documentation @CodiumAI-Agent /add_docs
Add custom labels based on content @CodiumAI-Agent /generate_labels
Find similar issues @CodiumAI-Agent /similar_issue

How to use PR-Agent

Tag me in a comment '@CodiumAI-Agent' and add one of the following commands:
/review: Request a review of your Pull Request.
/describe: Update the PR title and description based on the contents of the PR.
/improve [--extended]: Suggest code improvements. Extended mode provides a higher quality feedback.
/ask <QUESTION>: Ask a question about the PR.
/update_changelog: Update the changelog based on the PR's contents.
/add_docs: Generate docstring for new components introduced in the PR.
/generate_labels: Generate labels for the PR based on the PR's contents.
see the tools guide for more details.

To edit any configuration parameter from the configuration.toml, add --config_path=new_value.
For example: /review --pr_reviewer.extra_instructions="focus on the file: ..."
To list the possible configuration parameters, add a /config comment.


Make first broker id configurable

Type of change

Enhancement / new feature

Description
Closes #1045
For example, if the lowest broker id in the cluster is 1, the configuration:
clusterNetworkAddressConfigProvider:
  type: PortPerBrokerClusterNetworkAddressConfigProvider
  config:
    bootstrapAddress: kroxylicious:9092
    firstBrokerId: 1

would map broker 1 to port 9093, broker 2 to port 9094 and broker 3 to port 9095
Why:
If a user is working with a cluster where the first broker id is 1 (the default Kraft configuration in the apache kafka distribution sets node.id to 1, which is what users are instructed to do in the Kafka quickstart), if you have numberOfBrokerPorts configured to 1 then we cannot map the only broker. Not a very nice user experience. This would also accommodate users who have broker ids starting from a number greater than 0 without having to bind and expose max(BrokerId) ports.
Additional Context
Why are you making this pull request?
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

Have confirmed that when I run the kafka quickstart and configure the proxy with:
    clusterNetworkAddressConfigProvider:
      type: PortPerBrokerClusterNetworkAddressConfigProvider
      config:
        bootstrapAddress: localhost:9192
        numberOfBrokerPorts: 1

producing to the proxy fails with:
2024-03-07 13:13:52 <epollEventLoopGroup-5-1> WARN  io.kroxylicious.proxy.internal.FilterHandler:293 - [id: 0xab0fcd71, L:/<IP_ADDRESS>:51128 - R:localhost/<IP_ADDRESS>:9092]: Filterresponse for BrokerAddressFilter@1746177399 METADATA ended exceptionally - closing connection. Cause message java.lang.IllegalArgumentException: Cannot generate broker address for node id 1 as port 9194 would fall outside port range 9193-9193 that is defined for provider with downstream bootstrap localhost:9192)

and then adding:
    clusterNetworkAddressConfigProvider:
      type: PortPerBrokerClusterNetworkAddressConfigProvider
      config:
        bootstrapAddress: localhost:9192
        numberOfBrokerPorts: 1
        firstBrokerId: 1

fixes it and you can now produce to the cluster

should add docs

@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:x: Test Summary :x:
BUILD NUMBER: 30
KAFKA VERSION: 3.6.1
TOTAL: 11
PASS: 9
FAIL: 1
SKIP: 1
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

produceAndConsumeMessage(String) in io.kroxylicious.systemtests.RecordEncryptionST

Re-run command:
@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:


ENV2022-04-06 new SMTYP

https://vocab.ices.dk/?ref=152
request for a new entry
BTS-AB - Bürkle TeleScoop with angular beaker
See here for details: https://www.buerkle.de/en/telescoop

The description will be changed slightly so that the brand isn't the focus.


sofa plugin throws module not found error in ESM

Describe the bug
The sofa plugin throws a MODULE NOT FOUND error
Your Example Website or App
https://codesandbox.io/p/sandbox/small-dew-3gdt9k
Steps to Reproduce the Bug or Issue
Configure yoga and plugin-sofa as described in the documentation at https://the-guild.dev/graphql/yoga-server/docs/features/sofa-api
Expected behavior
On launch the following error is thrown:
graphql-1            | node:internal/modules/esm/resolve:265
graphql-1            |     throw new ERR_MODULE_NOT_FOUND(
graphql-1            |           ^
graphql-1            |
graphql-1            | Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/usr/src/app/node_modules/.pnpm/sofa-api<EMAIL_ADDRESS>imported from /usr/src/app/node_modules/.pnpm/sofa-api<EMAIL_ADDRESS>graphql-1            |     at finalizeResolution (node:internal/modules/esm/resolve:265:11)
graphql-1            |     at moduleResolve (node:internal/modules/esm/resolve:933:10)
graphql-1            |     at defaultResolve (node:internal/modules/esm/resolve:1157:11)
graphql-1            |     at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
graphql-1            |     at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
graphql-1            |     at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
graphql-1            |     at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
graphql-1            |     at link (node:internal/modules/esm/module_job:86:36) {
graphql-1            |   code: 'ERR_MODULE_NOT_FOUND',
graphql-1            |   url: 'file:///usr/src/app/node_modules/.pnpm/sofa-api<EMAIL_ADDRESS>graphql-1            | }

Screenshots or Videos
No response
Platform

OS: Linux
NodeJS: 20.14
graphql-yoga: 5.6.0
@graphql-yoga/plugin-sofa: 3.6.0

Additional context
No response

This appears to have been fixed by the sofa-api 0.18.7 release.


java.lang.UnsupportedClassVersionError: org/testng/remote/RemoteTestNG : unsupported classversion 51.0

Hi,
I'm running TestNG <IP_ADDRESS>505070404 embedded in Eclipse. I have an issue because we are currently stuck on using Java 1.6, but TestNG is requesting 1.7. I'm now trying to work out what was the last revision of TestNG that supported Java 1.6.
This issue isn't so much a code change, but more of a documentation request. It would make life much easier to have this documented and clearly marked in the documentation/download pages of http://testng.org/.
Thanks,
Stuart

It would also be helpful if these versions were made available to download or via an update site too.

Sorry, I probably should have posted this in the eclipse plugin project. However, I thought about it and it wasn't such a big deal to fix. I am now running the tests in eclipse with a 1.7 JDK. Not sure why I didn't think about it earlier. I don't suppose there is a way the eclipse plugin can ensure it is run with JDK 1.7+ instead of the project default (in my case 1.6). It's a known that it will fail with 1.6, so it shouldn't even bother trying.

so did you help yourself, or is there still any issue we can help?

I think the documentation issue still remains and perhaps if it is possible to ensure that a 1.7+ JDK is used when running in Eclipse.

ok,.will update the plugin docs for sure.
you can update to recent version 6.9.10 of testng plugin which enforces the jdk running testng process is 1.7+

@juherr
this can be closed.
the site doc was updated, and the plugin has JRE version detect that make sure a JRE version >= 1.7 is required.


NewBHR changes

@cakesoft-nikhita This PR is not required.
This is feature/send-flow-refactoring we dont need to merge newBHR to feature/send-flow-refactoring
We are merging both to newBHR-sendRefactor-merge
Our builds are being done from newBHR-sendRefactor-merge


Installation incorrect

The READEME.md and package.json files are not correct: I could not get Reactide to install and run using them. The issues are as follows:

No electron dependency is declared in the package.json file
It is not possible to double click on the Reactide file created after issuing npm run electron-packager.

I have fixed these issues and will issue a pull request shortly.

I've created a branch locally and committed my fixes, not able to push/create the branch to/on origin though. Any advice would be greatly appreciated!

@mlk5060 could you fork that and push the fork? thanks!

Hi there!
I'll do so this evening (GMT)? Hopefully I still have the repo on my home
computer (not used it in a while)!
On Thu, 9 May 2019, 23:15 william<EMAIL_ADDRESS>wrote:

@mlk5060 https://github.com/mlk5060 could you fork that and push the
fork? thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactide/reactide/issues/138#issuecomment-491087518,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQWPFYYOVR76CYSGA35MLTPUSPANANCNFSM4GM4T7KA
.

@williamhatch Check out the master branch at https://github.com/mlk5060/reactide :smile: This works for me so hopefully will for you too!

We've added new members to the Reactide team, including myself, and we're glad to say that we have made major improvements on 3.0. You can see them on the master branch along with an updated readme. We will be launching the beta on Tuesday, 8/13 and you will be able to download the application directly from our webpage without having to fork/clone the repo.
Thanks for the support!!


SSO authentication support

Hello !
When I try to login with dashlane-cli I get the following message :
ERROR: Auth verification method not supported: sso

Do you plan to add support for this auth method ? (If it is possible)
If you want and can give me some pointers, I'd be happy to open a PR about it

Hello,
Unfortunately we won't be able to support SSO because the SAML protocol needs to open a webpage and to make it work properly it needs to be tutored (like with puppeteer or playwright). We don't want to include such tool that also requires a browser engine to be downloaded in the CLI so for now we consider the SSO not doable.
We're looking at other potential workaround but it needs changes in the main product. I'll update here when I know more.

The website documentation has been updated to reflect the current status: https://dashlane.github.io/dashlane-cli/personal/authentication

Really cool!
Thank you very much 🙂


Remove dependence on runfsc.cmd and runfsc.sh

The dotnet cli uses RunFsc.cmd and RunFsc.sh to execute the FSharp command in the build task using a single command.
There is an issue with this on those rare Linux packagings that don't have a bash shell configured.
This change, modifies the way the fsharp build task executes the fsharp compiler.
We now use the DotnetFscCompilerPath property to be the path to the F# compiler executable.
FscToolPath and FSCToolExe now point to the dotnet.exe specified in the guaranteed global property DOTNET_HOST_PATH.
What's nice about this, is that no sdk changes are necessary.

Why aren't the scripts deleted?

@nguerrera ---
The scripts are deployed from the net cli here:  https://github.com/dotnet/cli/tree/release/2.2.2xx/src/tool_fsharp
When we insert the F# package into dotnet cli, we will updtae the project, and delete them at that time.
Kevin


[CUDA] Renamed CUDAPlugin to NVIDIAPlugin

I suggest to leave all commits, because in this PR lots of files was renamed. All renaming changes done in separate commits, that is why you can see that these is not new files. If all commits would be squashed in one, then in history it probably will shown that old files was removed and new files was added and it makes harder to search why some changes was done using git blame
This PR depends on https://github.com/openvinotoolkit/openvino/pull/12719

@lohika-denis-kotov please, remove useless changes on OV and make CI green here if needed

@lohika-denis-kotov please, remove useless changes on OV and make CI green here if needed

@ilya-lavrenov I thought that you will wait till I remove extra commit in history and also CI will be passed. Why did you merged it without green CI ?


o1 streaming error

I tried this:
% gh models run o1
>>> hi

And got this:
Error: bad request
{
  "error": {
    "message": "Unsupported value: 'stream' does not support true with this model. Supported values are: false.",
    "type": "invalid_request_error",
    "param": "stream",
    "code": "unsupported_value"
  }
}

It looks like o1 doesn't support streaming, but gh models run tries to request streaming for it.

I think this code needs updating to also check for o1:
https://github.com/github/gh-models/blob/c323588e947fb39e2a4307ba1954cbd3042565ff/internal/azuremodels/azure_client.go#L43-L49


Hair Bugged for Peds when switching clothes / hands

When changing appearance of peds, the hair gets bugged and they disappear. The only way to fix it is to switch to some other ped and then choose the older ped again. But this means that I can't swap clothes on peds. Here's a demo: https://streamable.com/d2imfj
I'm using the latest commit build

Hi! Tried with latest build release (1.2.1) and happens the same, im gonna check if its a script error or just a fivem/gta bug on latests artifacts.
Demo testing: https://streamable.com/u92f5c
Could you tell me what artifacts are you using?
Ty in advance.

Hi! Tried with latest build release (1.2.1) and happens the same, im gonna check if its a script error or just a fivem/gta bug on latests artifacts. Demo testing: https://streamable.com/u92f5c
Could you tell me what artifacts are you using?
Ty in advance.

I'm using FXServer build: 5483
Doesn't look like a GTA bug since I can switch clothes using vMenu just fine

@franfdezmorales So I think I found out where the issue is. The above behavior does not happen if:

Open customization
You switch the ped
Save customization
Open customization again
Change components

So it only happens when you change the ped and start changing the components right away. This could mean that something is either wrong when switching to the ped (it doesn't get set properly as GTA wants it) or maybe its because of saving the previous state of the player before opening the customization cause it somehow messes the ped switch component changes.
I haven't figured out how to fix it because the appearance_change_model callback seems to look fine. Maybe you have some more insights?

Hello, on these days i will review this issue. Ty for ur research!

Was there ever a resolution for this?  i seem to be having a similiar issue, my vanilla peds are having this issue with the hair sticking like the above, however my custom peds are just having their entire heads messed up. I can link my bug report in QB if you need to see the issue.

https://github.com/qbcore-framework/qb-clothing/issues/155#issuecomment-1657273076


PERF: Improve where performance by combining two execution steps into one

See this note:
https://github.com/modin-project/modin/blob/bd326f1c4175102489f08d271a53cf374bd9125e/modin/core/storage_formats/pandas/query_compiler.py#L414-L418

Closed in #4820.


Feature/211 edit publish alert messages

What this PR does / why we need it:
Implements DatasetAlerts for action oriented Alerts Edit Success messages, and Publish in Progress.
Which issue(s) this PR closes:

Closes #211

Special notes for your reviewer:
Suggestions on how to test this:
npm run storybook to view the Dataset Alerts
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation:

coverage: 98.58% (+0.3%) from 98.312%
when pulling de2fcd8a6e507cb7cd255be4ccb11c243d6ad476 on feature/211-edit-publish-alert-messages
into 563f95d52464952d0c19ce054839700282d0f681 on develop.

Thanks for your comments Melina! I made the updates you recommended, I just had a design question above, about generalizing Alerts.

Looks great!


Solve issue #119 and add YAML support

Connect #119
Connect #147

Coverage remained the same at 100.0% when pulling 52efe94491ccab7064268a94cd384630896914b0 on jangsutsr:master into 71ab8c319f185f1c35494a94af729bf7b6071c51 on ansible:master.

Coverage remained the same at 100.0% when pulling b398674bbf4902dec5ddd3656f94d9f9d0e12977 on jangsutsr:master into 71ab8c319f185f1c35494a94af729bf7b6071c51 on ansible:master.

Coverage remained the same at 100.0% when pulling b12380b892d952aac76b9e17fcfcae05884fdb22 on jangsutsr:master into 71ab8c319f185f1c35494a94af729bf7b6071c51 on ansible:master.

Coverage remained the same at 100.0% when pulling 39bcae56aa9bce368bce944111038643abeca792 on jangsutsr:master into 71ab8c319f185f1c35494a94af729bf7b6071c51 on ansible:master.

Coverage remained the same at 100.0% when pulling 0e6f78800131d49439dc869801ceb2119d121eb2 on jangsutsr:master into 71ab8c319f185f1c35494a94af729bf7b6071c51 on ansible:master.

Nice. These are some good updates to have :+1:


iotools component for maccrad

See: #272 for reason.
Previous discussion in #271
@wholmgren I hope I got this git thing right... But anyway, we are in a separate branch than master.

Thanks. Some general comments:
I'd prefer that we tackle one format per pull request. This will make each one go faster and be less likely to become stale and neglected.
It looks like you're duplicating the new code in the pvlib-python/io branch instead of adding to it and that's what led to the merge conflict. To build on what's already in the pvlib-python/io branch, you'll need to fetch pvlib-python's io branch and then rebase your changes on it (or merge it into your branch). Depending on your git experience, it might be easier to make a fresh clone, checkout the io branch, and copy over the files related to macc or pvsyst.
There are probably too many data files and they're probably too long. We only want to include the bare minimum of data required to test the code and to let users run an example or two.
The iotools/iotools.py module should be renamed iotools/util.py to avoid confusion.
I don't think we should create a dependency on the timezonefinder package. That's probably best left to users to implement themselves, if desired.


Add a timingPhaseDetail extension

As per the description in https://github.com/globaldothealth/isaric3/blob/main/1_workstreams/1.01_ISARIC3/Timing_Variables.md
timingPhaseDetail is a complex (i.e. nested) extension which in FHIR format appears as
{
            "url": "timingPhaseDetail",
            "extension": [
                {
                    "url": "timingDetail",
                    "valueRange": {
                        "low": {"value": -7, "unit": "days"},
                        "high": {"value": 0, "unit": "days"},
                    },
                },
                {
                    "url": "timingPhase",
                    "valueCodeableConcept": {
                        "coding": [
                            {
                                "system": "http://snomed.info/sct",
                                "code": "281379000",
                                "display": "pre-admission",
                            }
                        ]
                    },
                },
            ],
        },

where the timingDetail portion can take either a valueCodeableConcept, valueRange, or valueString.

Codecov Report
Attention: Patch coverage is 87.50000% with 23 lines in your changes missing coverage. Please review.

Project coverage is 96.81%. Comparing base (a484c4d) to head (43b8ef5).

Files
Patch %
Lines

fhirflat/flat2fhir.py
76.59%
11 Missing :warning:

fhirflat/util.py
66.66%
3 Missing :warning:

fhirflat/resources/diagnosticreport.py
80.00%
2 Missing :warning:

fhirflat/resources/observation.py
77.77%
2 Missing :warning:

fhirflat/resources/condition.py
83.33%
1 Missing :warning:

fhirflat/resources/encounter.py
87.50%
1 Missing :warning:

fhirflat/resources/extensions.py
98.21%
1 Missing :warning:

fhirflat/resources/immunization.py
88.88%
1 Missing :warning:

fhirflat/resources/procedure.py
75.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
- Coverage   97.71%   96.81%   -0.90%
==========================================
  Files          42       42
  Lines        2010     2134     +124
==========================================
+ Hits         1964     2066     +102
- Misses         46       68      +22

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


mods aren't compatible with  the server

i have been playing on this server for atleast a week now but when going to log on today its saying that two mods arent on the server and to remove them from the mod pack but when i did do that it wouldnt let me on the server at all the two mods that are not working are the werewolves mod and the female gender mod.

@Seacub1Playz I fear you are wrong here, we are not running a server :) I am just developing the occultism mod

@Seacub1Playz I fear you are wrong here, we are not running a server :) I am just developing the occultism mod

ive been on the server with the modpack and the server advitises ur discord server as the one to go to for help???

@Seacub1Playz I fear you are wrong here, we are not running a server :) I am just developing the occultism mod

ive been on the server with the modpack and the server advitises ur discord server as the one to go to for help???

Only for help with the Occultism, modonomicon. or Theurgy  mods I would imagine, not for a random modpack @klikli-dev  had no hand in making.


Thoughts on Adding Request Data to the Session

We've used HotJar on other projects and they have a few nice touches that would be easy to add.

Here's something we've done in our application:
class AddRequestDataToSpectatorSportSessions < ActiveRecord::Migration[8.0]
  def change
    add_column :spectator_sport_sessions, :user_agent, :string
    add_column :spectator_sport_sessions, :referrer, :string
    add_column :spectator_sport_sessions, :remote_ip, :string
    add_column :spectator_sport_sessions, :ip_data, :jsonb, default: {}
  end
end

And then in the events_controller.rb:
session = SpectatorSport::Session.create_with(remote_ip: request.remote_ip, user_agent: request.user_agent, referrer: request.referrer).find_or_create_by(secure_id: session_secure_id)

And the session.rb model:
module SpectatorSport
  class Session < ApplicationRecord
    after_commit :fetch_ip_data, on: [:create]

    def fetch_ip_data
      url = "https://api.ip2location.io/?key=#{Rails.application.credentials.dig(:ip_2_location, :api_key)}&ip=#{remote_ip}&format=json"
      uri = URI(url)
      response = Net::HTTP.get(uri)
      update!({
        ip_data: JSON.parse(response)
      })
    end

    def location
      "#{ip_data.dig("city_name")}, #{ip_data.dig("region_name")}"
    end
  end
end

And oh how the sales guys love this:

Small update: I put the referrer in the session, and added a landing path to get a little more info:
class ApplicationController < ActionController::Base
  before_action :store_referrer_and_path, unless: :active_admin_request?

  private

  def store_referrer_and_path
    # if it's the first page load of the session
    # Capture the referrer
    session["referrer"] ||= request.referrer
    # And the path that they landed on
    session["landing_path"] ||= request.path
  end
end

Thanks for proposing this! I like it!!
Only thing here that's a nonstarter is making an API request. The gem needs to be entirely self-contained (for availability and privacy). MaxMind GeoLite databases have a license that I think would allow embedding. Though the size is less great. Here's some of the options: https://dev.maxmind.com/geoip/docs/databases/city-and-country/#database-sizes
Probably the simplest path forward would be to omit the location for now, and we could add the other details. Would you be open to making a PR for that?

Hi, I work for IPinfo. We have a free IP to Country database if you are interested in trying it out.

https://ipinfo.io/products/free-ip-database
https://ipinfo.io/developers/ip-to-country-database

In terms of embedding, you might want to check MaxMind's EULA and commercial distribution license. In our case, however, we have a CC-BY-SA 4.0 license that allows you to package the IP to Country database and distribute it even for commercial usage. But if you prefer, you can use an embedded access token that downloads the database directly onto the user's machine. That will take care of the size issue altogether.
Let me know if you have any questions or queries about us. Cheers!

@bensheldon You bet.
And I totally agree on the call to make it self contained. I can easily see the position being something like:

We capture the raw information provided by Rails (IP, Referrer, Landing Page, User Agent). For availability and privacy, we leave the interpretation of this data up to you. For instance: you might elect to run the IP address through a database or API to get location data.


Error when use Bitmaptext in typescript.

I use typescriptand pixijs to code my app. When i create a bitmaptext and set anchor for it, but the typescript show error:"Property 'set' does not exist on type 'number | Point'.
Property 'set' does not exist on type 'number'.".
var txt = new PIXI.extras.BitmapText("0sfsfds", { font: "15px RockerSmall", align: "center" });
txt.anchor.set(0.5);
why. Thanks

I believe this is an error in the typescript definitions?
Raise with https://github.com/pixijs/pixi-typescript

@TrinhVanDan
Because that seems to be a Union and they don't share an interface.  If you are using set then you need to tell the compiler you know it is a point.
const bitmap = new PIXI.extras.BitmapText('Hi');
(<PIXI.Point>bitmap.anchor).set(100, 100);

Issue should be filed on pixi-typescript instead. Closing.


Maybe the possibility of partial AJAX validation for active forms?

So I have an active form on my site which, using javascript, I made into two forms so that you must click one button to move onto the next part of the form.
The immediate problems I see is that you cannot simply hook into this active form validate function, especially if it is ajax. so for example I have a "continue" button. Every time the button is press I wanna run validation (again) along with some custom function like location finding and then if it validates pass onto the next page.
The next problem I see is that in the JS you cannot validate by a part of the form, only by the whole.
Has there been any thought into JS based multi page forms that are actually one form within the PHP code?

The next problem I see is that in the JS you cannot validate by a part of the form, only by the whole.

You can use different scenario for every step on the form.
For example you can add hidden field with name scenario and when user submit the form you able to set it value using beforeValidate event
In model class you can set which attributes needs to validate in every scenario

Can you provide some sample JS code for Ajax Validation with your proposal?
I cannot seem to understand that from the code
On 15 April 2015 at 16:33, Eugene Tupikov<EMAIL_ADDRESS>wrote:

The next problem I see is that in the JS you cannot validate by a part of
the form, only by the whole.
You can use different scenario for every step on the form.
For example you can add hidden field with name scenario and when user
submit the form you able to set it value using beforeValidate event
In model class you can set which attributes needs to validate in every
scenario
—
Reply to this email directly or view it on GitHub
https://github.com/yiisoft/yii2/issues/8093#issuecomment-93451016.

Something like this, but this is only an example
Model
class WizardForm extends Model
{
    const SCENARIO_STEP_1 = 'scenario.step1';
    const SCENARIO_STEP_2 = 'scenario.step2';

    public $name;

    public $email;

    public function rules()
    {
        return [
            ['name', 'required', 'on' => [self::SCENARIO_STEP_1]],
            ['email', 'required', 'on' => [self::SCENARIO_STEP_2]]
        ];
    }

    public function scenarios()
    {
        return [
            self::SCENARIO_STEP_1 => ['name'],
            self::SCENARIO_STEP_2 => ['email'],
        ];
    }
}

View

<?= Html::encode($this->title) ?>

            <?php $form = ActiveForm::begin([
                'id' => 'wizard-form',
                'enableAjaxValidation' => true,
                'enableClientValidation' => false
            ]); ?>
            <?= $form->field($model, 'name')->textInput() ?>
            <?= $form->field($model, 'email')->textInput() ?>
            <?= Html::hiddenInput('scenario', null, ['id' => 'wizard-scenario']) ?>

                <?= Html::submitButton('Step 1', ['id' => 'wizard-submit',   'class' => 'btn btn-primary', 'data-scenario' => WizardForm::SCENARIO_STEP_1]) ?>

            <?php ActiveForm::end(); ?>

Controller
    public function actionWizard()
    {
        $model = new WizardForm();
        $request = Yii::$app->getRequest();
        $scenario = $request->post('scenario', WizardForm::SCENARIO_STEP_1);
        $model->setScenario($scenario);

        if ($request->isPost && Yii::$app->getRequest()->post('ajax') !== null) {
            $model->load(Yii::$app->request->post());
            Yii::$app->response->format = Response::FORMAT_JSON;
            return ActiveForm::validate($model);
        }

        return $this->render('wizard', [
            'model' => $model
        ]);
    }

A simple way of doing this is to read all the attributes of the step and validate only them with validateAttribute. (Perhaps it conflict with this issue)

It does seem like I am gonna have to take away the stuff from Yii2 core cos I need to know when validation is done, so it seems more and more that I need to manually control the form as unclead does, but that way does seem like a temporary winner, though would be good to be able to just call validate with a scenario in it in JS and use promises to get the result and then act on it

unclead works almost but no matter what I want to call validate when the first step button is pressed, this kinda relies on the form already being validated, I would prolly add a bit of code to check for error class on any of the inputs and not allow for the form to be submitted if there are any but that will open UI holes and make it seem a bit shoddy to the end user. This is a two step signup form so it has to transition perfectly.

@Sammaye tyou're right, my example hi=ust shows how you can work with scenarios. As i understood you wanna have some custom validation logic for every input on client side before whole form will be submitted. I havent tried it. The most simple way is using your own function in beforeValidate and if form has errors this function can return false what will stop further form validation

Hmm, I can use beforeSubmit probably since this is single logic for the step. Providing
My scenario is that when the user clicks "next step" it needs to ping a geocoding web service and make sure that the place they have entered exists. If it does then it will carry on the form and fill in two fields: lat and long.
If I couple that event with scenarios I might just be able to do something...maybe


Code - OSS dev does not start when I run npm run watch

VSCode Version: code-oss-dev: 1.11.0
OS Version: Mac Os 10.12.3 (16D32)

Steps to Reproduce:

I forked the repo then followed the steps in the wiki here And it worked. it launched when I ran npm run watch
I then saw their where changes so I ran ran git pull https://github.com/Microsoft/vscode.git master everything went fine I reinstalled and then ran npm run watch it ends with
[10:29:55] Finished compilation with 0 errors after 77029 ms
[10:30:00] [monaco.d.ts] Starting monaco.d.ts generation
[10:30:02] [monaco.d.ts] Finished monaco.d.ts generation
But it does not launch. It hangs. I have had this running for 30 minutes.

I am new to the code so if I am missing something simple Im sorry I am used to writing node.js backend in a team of 3.

You should simply call the scripts/code.sh command in parallel  once the build command is finished.
 Thanks


[GUI] New template creation screen disappears when page changes

Prerequisite:

At least 7 templates, 6 templates per page

Steps to reproduce the problem:

On page 1, click "New Template". Template creation screen is displayed.
Click page 2
Click page 1. Template creation screen disappears.
Click "New Template". Template creation screen does not open.

You need to refresh the page (F5) so that the New Template button reopens the template creation screen.
Affected Version: 0.3.0-nightly_20181010

Maybe this won't be fix, because the page will be refactor.

This ticket will close after refactoring.


2.5.0 changes from BB

SIMPLE-5135 ResourcePoolUsage implementation
SIMPLE-5124 - licensing status need not be filled
SIMPLE-5095 Switch compute ID/resource pools to operational
SIMPLE-5091 Fix recursion in _sync_resource_pools
SIMPLE-5092 Change "id" to "pool_id" on resource pool syncup
SIMPLE-5082 - add compute host management to PCL
SIMPLE-4898 Update copyrights
SIMPLE-4892 Update dependencies
SIMPLE-4929 Cleanup authorization
SIMPLE-4872 node state now forcibly updates if None
SIMPLE-4858 - fix resource pool creation and user pools property
SIMPLE-4554 PCL resource limiting implementation
SIMPLE-2496 Migrated from 'requests' to 'httpx', simplified calls to API
SIMPLE-4647 - Add client call for list of external bridges
SIMPLE-2381 Validate image files before uploading
SIMPLE-4534 Update packages
SIMPLE-4263 Add isort to linters and run it across the code
SIMPLE-4463: PCL support for node compute ID
SIMPLE-4403 Fix ssl_verify and types in test_client_library_labs
SIMPLE-4577 - allow bulk node updates; rename config to configuration
SIMPLE-4160 added link label
SIMPLE-4403 converted docstring type hints into type annotations, added new type annotations, fixed type issues reported by mypy
SIMPLE-4606 Update packages
SIMPLE-4389 Very bad walrus or how brackets are important sometimes
SIMPLE-4389 We should not change the behavior but rather we should fix the docs
SIMPLE-4313: update examples in client library docs
SIMPLE-4313: remove redundant typing
SIMPLE-4389 replaced Lab.get_link_by_interfaces/nodes with Interface/Node.get_link(s)_to, Interface deprecations
SIMPLE-2605 import_sample_lab now uses sample/labs API endpoint, added get_sample_labs
SIMPLE-4391 decreased severity of lab update logs from warning to info
SIMPLE-4522 Properly replace all remaining deprecation warnings
SIMPLE-4496 deprecated multiple Interface methods in favor of better ones
SIMPLE-4451 pylama complexity issues
SIMPLE-4483 replaced Lab.sync(with_node_configuration) argument with exclude_configurations
SIMPLE-4461 logger renamed to _LOGGER, removed unused logging, logging.x changed to _LOGGER.x
SIMPLE-4392 Exceptions were refactored: all exceptions moved to exceptions.py, new base exception, parent exception for Node/Link/InterfaceNotFound; all new exceptions inherit from the exceptions they replace, so no clientside changes should be necessary.
SIMPLE-4393 further improved docstrings and typing
SIMPLE-4392 Exceptions were refactored: all exceptions moved to exceptions.py, new base exception, parent exception for Node/Link/InterfaceNotFound; all new exceptions inherit from the exceptions they replace, so no clientside changes should be necessary.
SIMPLE-4077 - add get_system_health call to client
SIMPLE-4187 Fix
SIMPLE-4349 Topology/lab/schema backward compatibility with 2.3 server
SIMPLE-4187 sync lab states on ifc.state() call
SIMPLE-4331: use learn_hostname in ClPyats
SIMPLE-4221 Cherry-pick 2.3 stuff and update packages (python -> 3.7+)
SIMPLE-4121 Add poweroff tests for all nodes
SIMPLE-3991 mark test_node_shutdown as expected failure
SIMPLE-4058 Verify HTTP transport
SIMPLE-4067 Allow additional parameters when creating node and add tests to verify size limit for various endpoints
SIMPLE-4022 Make integration tests license the instance before running
SIMPLE-3992 The test should work
SIMPLE-3991 mark test_node_shutdown as expected failure
SIMPLE-4058 Verify HTTP transport
SIMPLE-3617 Integration testing for VIRL topologies
SIMPLE-4022 Make integration tests licese the instance before running
SIMPLE-3944 Update copyright
SIMPLE-3959 Set version to 2.4.0 and update dependencies
SIMPLE-3991 mark test_node_shutdown as expected failure
SIMPLE-3933 - add hostname param to get_pyats_testbed and lab
SIMPLE-3890 add test case for node shutdown
SIMPLE-3864 Improve integration tests for Groups
SIMPLE-3865 Improve integration tests for User management
SIMPLE-3829 - Add check on feature counts to SLR actions test
SIMPLE-3808 Upgrade client version to 2.3.0
SIMPLE-3863 Improve integration tests for Node and Image definitions
SIMPLE-3828 Add few missing negative SLR licensing tests. Cleanup.
SIMPLE-3822 Make integration tests failsafe
SIMPLE-3823 Move tests into more logical modules
SIMPLE-3761 - expand import tests for additional properties
SIMPLE-3758 - Rework client parameter passing and defaulting
SIMPLE-3520 - Avoid delete with body and add licensing validation tests
SIMPLE-3713 - Fix client node tag addition
SIMPLE-3545 Remove deprecated images
SIMPLE-3656 Remove invalid image definition
SIMPLE-3600 Update library version in client library
SIMPLE-3618 Integration test for YAML topologies with old schema versions
SIMPLE-3580 Integration tests for Licensing feature - SLR base
SIMPLE-3579 Integration tests for Licensing feature - license types
SIMPLE-3563 Remove support for .ng (json) labs
SIMPLE-3578 Integration tests for Licensing feature - registration negative cases
SIMPLE-3574 Integration tests for Licensing feature - transport
SIMPLE-3573 Integration tests for Licensing feature - certificate
SIMPLE-3527 Change ID to UUID for lab elements

merging.


UI : Data Insight report improvements

Ticket to track feedback for data insight report page.

[ ] The value we get from completedDescriptionFraction  are fraction and not percentage (we need to convert them to percentage e.g. completedDescriptionFraction * 100). The percentage for table is also not showing for some reasons
^ same thing for the KPI value
[ ] Regarding the "Latest" value for percentage you cannot sum completedDescriptionFraction  value. Here you'll need to sum all completedDescription  from the latest timestamp and divide it by the sum of entityCount  from the latest timestamp
[ ] Regarding the KPI, I think we should drop the time
[ ] number of days left (vs the target date) should be displayed for KPI

[ ] UI has a horizontal scroll bar
[ ] data insight vertical scroll bar does not match the page height

Uploading Screen Recording 2022-11-16 at 9.00.23 AM.mov…

[ ] When we set the KPI, we have 2 ->  PERCENTAGE and NUMBER

If it is PERCENTAGE the value in the targetDefinition  should be a decimal number (i.e. 0.76) -- ONLY for percentage. Right now we send a whole number

The table percentage is not showing

@TeddyCr I might be missing something over here , but we do take into account the column description as per the discussion we had in the call, but as you can see in the image the fraction for table = 0.611 is 11/18 (entityWithDescription/TotalTableEntity) although in actual majority of the table in my case had table level as well as column level desciption

@TeddyCr I might be missing something over here , but we do take into account the column description as per the discussion we had in the call, but as you can see in the image the fraction for table = 0.611 is 11/18 (entityWithDescription/TotalTableEntity) although in actual majority of the table in my case had table level as well as column level desciption

@mohityadav766 are you able to confirm if the numbers match you see in the UI (i.e. 11 and 18)?


Upgrade version.jooq 3.14.12 -> 3.15.0

This PR contains the following updates:

Package
Update
Change

org.jooq:jooq-meta-extensions
minor
3.14.12 -> 3.15.0

org.jooq:jooq-codegen-maven
minor
3.14.12 -> 3.15.0

org.jooq:jooq-meta
minor
3.14.12 -> 3.15.0

org.jooq:jooq-codegen
minor
3.14.12 -> 3.15.0

[ ] If you want to rebase/retry this PR, check this box.

Suggested commit message:
Upgrade jOOQ 3.14.12 -> 3.15.0

See:
- https://www.jooq.org/notes
- https://github.com/jOOQ/jOOQ/compare/version-3.14.12...version-3.15.0


Create Environment model for better organization

I have a private fork of this repository which has quite a few changes which I'd like to push up if you're interested. Fundamentally, nothing is different in terms of deployments, however, we needed a UI for our needs. It's fairly simple but gives great visibility when you have dozens of applications and environments. This PR has some modifications to the models to support it.

Create Environment model for better organization. This allows us to do grouping and ordering via the database query.
Deployment now stores the sender's username and avatar url which can be used in the future for views as that information isn't persisted.
Some indexes were added for optimization.

What are your thoughts on having a UI as part of this repository? It won't perform any actions itself, purely a view of what's been done. If you'd rather not, I suppose I can always keep just that portion in our fork.

Hi Jey,
Are you still interested in getting this merged and/or using this branch?


DSCS-2477 adds maximum depth to getHierarchySummaryForWork and remove…

…s child count to improve performance
@scoen @shuangzhou @ninhnguyen @jrixon @sjacob @weijunnla @adityaburra

Build finished.

👍

SonarQube analysis reported 3 issues

 AmberSession.java: This file has 1,098 lines, which is greater than 1,000 authorized. Split it into smaller files.
 AmberSession.java#L324: Define a constant instead of duplicating this literal "collection" 3 times.
 AmberSession.java#L359: Define a constant instead of duplicating this literal "bibId" 3 times.

Build finished.


hackage source tarball is missing some example_data files

https://hackage.haskell.org/package/Frames-streamly-<IP_ADDRESS>/src/
missing example.csv and acs100k.csv from example_data
And some examples fail because of that
https://github.com/adamConnerSax/Frames-streamly/blob/master/examples/Strictness.hs#L107
https://github.com/adamConnerSax/Frames-streamly/blob/master/examples/StrictnessPaths.hs#L12

Fixed by https://github.com/adamConnerSax/Frames-streamly/commit/bdd02754a35bc3dc6abc866f783f1dd8ccd8e09c
Thanks for catching this!  I fixed in the newest release and I'll deprecate the current release.  I removed the example that required those files since it was for debugging, not a real example.


chore(master): release 2.3.2

:robot: I have created a release beep boop
2.3.2 (2024-04-23)
Bug Fixes

typo in import (#149) (2c381dd)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ai4os/DEEPaaS/releases/tag/v2.3.2 :sunflower:


Update deps to solve vulnerable report

/cc @sindresorhus Will be great to do this as in imagemin-pngquant. I can send PR.

https://github.com/imagemin/imagemin-mozjpeg/pull/34 hopefully fixes it, but we need somebody to finally merge it. @sindresorhus or whoever still listens in this group, please allow us to fix this.....


Enhanced Navbar

#88 I have done that and added some transitions effects to it can you match once navbar.jsx only website not running on my PC it takes only 2 min check once..... i didn't deleted any logic

#88 I have done that and added some transitions effects to it can you match once navbar.jsx only website not running on my PC it takes only 2 min check once..... i didn't deleted any logic

I didn't get you, Also make sure you create a PR to develop branch.

@saurabhbakolia I am saying that the navbar code is correct and enhanced the effects

@devxMani are you working on this


Explictly specify [[bin]] target in Cargo.toml

Cargo has been unable to install git-gone since v0.3.0 in my environment.
Cargo consistently fails with:
no targets specified in the manifest
either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be pres
Explictly specifying a [[bin]] target seems to fix the issue.
Fixes #12

I'm not convinced that this is the right fix; I'd like to understand why the convention of src/main.rs stopped working all of a sudden.

Fixed by adding missing files to include


Sample CheckBoxSampleActivity replace withOnClickListener  with withSelectionListener

Thank your for this great work. Following your sample,  it seems to me that we should use withSelectionListener instead of withOnClickListener  here.  Line 52.

@tengma it depends on what you are going to implement.
this sample has a click listener on the checkbox which will trigger the onItemClick event:
https://github.com/mikepenz/FastAdapter/blob/develop/app/src/main/java/com/mikepenz/fastadapter/app/items/CheckBoxSampleItem.java#L143
So in this case it is a bit different. It always really depends on your usecase

Thank you, I may not understand completely at first, but CheckBoxClickEvent  works fine for me.


[BUG] CLI Options --root doesn't work as expect

According to the doc cli-options shows that if your ormconfig.js is not located at the root of your project, you can use --root (or -r) to tell cli where's the path to the typeorm config file.
Say you have a ormconfig.js file located at src/config, and the folder structure would be this...

/src

/config

ormconfig.js

Then, you should add the option -r src/config to your script...
"seed:run": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed -r src/config"

I tried src/config, /src/config, ./src/config

After running this script, I got an error like this...

Therefore, the options of --root (or -r) don't seems to work!

I found that some of the users may run into the same error. #63 #75
The temporary fix to the problem is to use --name (or -n) instead of --root (or -r).
"seed:run": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed -n src/config/ormconfig.js"

Thanks to @achmadfatoni: https://github.com/w3tecch/typeorm-seeding/issues/75#issuecomment-652211140

@SaveYourTime Thanks, this helped me as indeed the --root is not working correctly.
"seed:run": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed --root libs/configuration/src/config --configName=ormcliconfig.ts",
├── libs
│   ├── configuration
│   │   ├── src
│   │   │   ├── config
│   │   │   │   ├── configuration.ts
│   │   │   │   ├── ormcliconfig.ts
│   │   │   │   ├── ormconfig.ts
│   │   │   │   ├── redisconfig.ts
│   │   │   │   └── validation.ts


ADPCM JS Optimizations

Optimize ArrayBufferStream and ADPCMSoundDecoder to reduce repeated JS operations (like allocations, and calling to browser internals) and reduce memory used. In brief these optimizations focus on when JavaScript allocates memory and copies data.

Reuse the array buffer in all extracted ArrayBufferStreams. Removes time creating the copied array buffers and saves memory allocations.
Reuse a Uint8Array among ArrayBufferStream and extracted children. Repeated typed array view constructions have a measurable impact on CPU and memory. Uint8 is by far the most read integer type from ArrayBufferStream.
Allocate the Audio Buffer before decoding the samples. The number of samples can be deterministically known ahead of decoding. Storing directly to the channel data for the audio buffer removes two copy operations. One from the first array to a typed array and a second from the typed array to the final channel data array. This also saves time by calling getChannelData once.
Use file scoped STEP_TABLE and INDEX_TABLE objects. Every access to the ADPCMSoundDecoder.STEP_TABLE static getter allocates and initializes a fresh copy of that array.

Performance

Project - System
Before (seconds)
After (seconds)
Improvement

130041250 - 2017 MBP 15" Chrome
0.74
0.191
287.43%

130041250 - 2017 MBP 15" Firefox
2.446
0.168
1355.95%

130041250 - 2017 SMS Chromebook Plus
2.331
0.399
484.21%

130041250 - 2018 RPi B+
40
2.597
1440.23%

Safari on the MBP seems to decode ADPCM itself.
Memory
The RPi B+ as a test case went from needing 74 MB to <1 MB (from one test run).
Some projects need 100s of MB to decode ADPCM files currently.

This will depend on https://github.com/LLK/scratch-audio/pull/106 to get travis's webpack cli to behave.

@ericrosenbaum @mzgoddard, I restarted the travis builds and they're passing now.


Regression: Project search blocks user input

When there are a lot of projects listed on the projects page, and I attempt to search for a project, the input box will block on the first character until the search completes and it ignores all other keys. So typing "example" will put "e" in the input box and then ignore "xample."
The better UX pattern is to be smarter about when to initiate the search, like waiting until typing stops or until after a few keys. The experience is worsened because doing a search based on a single key like "e" will likely not reduce the list in a meaningful way, so it's a wasted time.
I think this was a regression caused by the onChange added in https://github.com/uselagoon/lagoon-ui/pull/204.

The mentioned PR didn't actually change the filtering logic nor timing; it only allowed setting the initial search string as projects were loading, so I don't believe this was a regression.
The issue itself is fixed in #243 and can handle up to a couple thousand of entries. ( we might need to change how we display the project rows as rendering thousands of them is very expensive )


please release version on the supermarket

Hello,
One last request ;-)
Would you be so kind as to release the latest version on the supermarket? then our chef guard will allow me to use it.
Thanks,
Ronald

Hello! It's been released to Supermarket.

Great, thanks!


AT is not parsed correctly

AT(Attribute Tag) is an ordered pair of 16-bit unsigned integers, so it should not be treated as a simple string. I think it can be parsed as uint32 or a formatted string (e.g. '0x00020001', '0002,0001').

Thanks for raising this! Yes, I agree we should parse this VR as an ordered pair of 16-bit integers. This appears to be very similar to a data element tag, so it's possible we can store it in the same container (also it appears that semantically it often refers to a data element tag).
Would you be interested in contributing a fix? If not, I can probably get to it this weekend or next weekend :).
Cheers!

I prefer to decode it into uint32, if you can accept it, I will create a PR this week.

@ginuerzh we would want to parse it into a ValueType for it to fit into the framework. Currently, I parse uints into higher-level Go integers which are easier to work with. So that is one option to at least start out with!
From there, a caller can always convert back to uints or a Tag struct as needed.
Feel free to contribute a fix if you would like, happy to accept contributions! I can also contribute a fix sometime this week too.


hour files are created with 0 keys

Describe the bug
sine today 11:05 hour files are created for each hour and each date sine 24-07-2020,
even no key is included.

Expected behaviour
only create hour files with keys.

Hello @Tho-Mat,
I will forward this to our dev team.
Thank you,
LMM
Corona-Warn-App Open Source Team

Hello @Tho-Mat ,
This is expected behavior if the 140 key threshold was not reached for an hour/day. I refer to the comment by @pithumke in #650:
In order to address the issue, we have decided to (and already started to implement):

Generate empty export files for every hour/day that the 140 key threshold was not reached
Also include empty dates/hours into the respective index files
Prevent the "updating" of files that are already on the object store (except for index files and the app config)

@EvgeniiSkrebtcov
Thanks for explanation.
Ok.  I see #650 is now fixed. :-)
But I do not see why it is necessary to create empty hour/day files.
You could just remove the hours or dates from the hour- and date-index-files if they are expired,
but that's only a design question and not so important.
I did not look in the code, but I think you iterate the hours and dates now.
By the why, does the ENF accept key files with less than 140 keys (a date with no reported infections)?

I also noticed that the index for (examples) the hour-file
2020-07-26-hour-06.zip created 26.07.2020 09:05 (German Time)
was removed at                 09.08.2020 08:05 (German Time)

2020-07-26-hour-08.zip created 26.07.2020 11:05 (German Time)
was removed at                 09.08.2020 10:05 (German Time)

shouldn't they be removed one hour later to have them 14 Days on the server?

But I do not see why it is necessary to create empty hour/day files.
You could just remove the hours or dates from the hour- and date-index-files if they are expired,
but that's only a design question and not so important.
I did not look in the code, but I think you iterate the hours and dates now.
By the why, does the ENF accept key files with less than 140 keys (a date with no reported infections)?

As far as I know, empty files were needed to avoid the distribution run to generate older files with duplicated keys in case they were bundled together due to shifting policy. And my understanding is that ENF will accept any number of keys in the file, we choose to go with at least 140 keys for privacy reasons.

shouldn't they be removed one hour later to have them 14 Days on the server?

I quickly checked and I think you are correct. It seems that we are retaining keys for 13 days and 23 hours, and not 14 as expected. I'll have a look in this in more detail. Thanks for pointing out!

@EvgeniiSkrebtcov
Thanks for explanation.
Ok. I see #650 is now fixed. :-)
But I do not see why it is necessary to create empty hour/day files.
You could just remove the hours or dates from the hour- and date-index-files if they are expired,
but that's only a design question and not so important.
I did not look in the code, but I think you iterate the hours and dates now.
By the why, does the ENF accept key files with less than 140 keys (a date with no reported infections)?

@Tho-Mat , we evaluated variety of options to resolve #650 and decided to generate empty export files to
to prevent the upload of new files (not just the update of existing files) and even prevent the (incorrect) update of index files. As, due to the shifting policy, it may happen that new hour/day files are being created in the past that were not there before.
Exposure notification server spec
defines the following protobuf
message TemporaryExposureKeyExport { ...     // The temporary exposure keys themselves.     repeated TemporaryExposureKey keys = 7;
where is repeated field rule can be repeated any number of times (including zero) in a well-formed message.
This edge case was also part of our testing.
For the issue with deletion time, we will create a separate issue and link to the original discussion.

so this can be closed now


Update build instructions

Coverage remained the same at 21.04% when pulling 94618d5db2169fc6363dbee6a3737ae264092560 on update_build_instructions into 32350875a547dfe129eb068e58df9e74871e6963 on master.


Unable to hide embedded document attributes

Hi, I wanted to hide embedded document attributes but failed. Can you please guide me how to do it? Thank you
My code is as below
class User extends Model {

    protected $hidden = ['_id', 'created_at', 'updated_at'];

    public function address() {
        return $this->embedsOne('App\Mongodb\Model\Address');
    }
}

class Address extends Model {

  /**
   * @var array
   */
  protected $hidden = ['_id', 'created_at', 'updated_at'];
}

So when I call Address::orderBy('birthday', 'desc')->first(), I still get the hidden attributes in the embedded document.
"user": {
    "birthday": "2015-06-27",
    "address": {
      "country": "us"
      "updated_at": {
        "sec":<PHONE_NUMBER>,
        "usec": 812000
      },
      "created_at": {
        "sec":<PHONE_NUMBER>,
        "usec": 812000
      },
      "_id": {
        "$id": "558e9f00f83c72ca3a0041ab"
      }
    }
}

did you find a way to do this? I've embedded a user and the password is being returned in the document!

Hi @nicklee1990 sorry for the late reply. I tried your method but I'm don't know how to do it.
Here is the way I'm write my code
$address = new Address();
$address->country = 'us';

$user = new User();
$user->save();
$user->address()->save($address);

I'm experiencing the same issue too...

At the moment, i just manually exclude the attributes after retrieve. Anyone has the proper solution?

+1


Clear redis cache on start up

I just had to manually remove a user that was only semi-created and that caused a database inconsistency which prevented the server from starting up. I manually deleted the user from the fuseki database but after the restart I noticed that I still need to clear the redis cache for moleculer actions since that is kept across sessions.
I think it would make sense to delete the cache on start up to make it easier to do maintenance work.

I agree. There is a slight performance loss after cache clearing, but it is not comparable to the annoyance of having outdated cache.


Working around the pngjs dependency issue with node v0.10.x +

When using node v0.10.x or above you get a warning when installing due to<EMAIL_ADDRESS>used by save-pixels requiring node 0.8.x, so npm doesn't install it as a stand alone global executable.
The only way I could get it to work was to call the following from within the source directory, e.g:
./bin/cmd.js img.png --s 8 -d 2 -o img-sdf.png
I wonder if there is a cleaner way around this so it can be used globally as it's a useful little script!
Thanks.

Looks like maintenance has slowed down a fair bit on pngjs.
https://github.com/niegowski/node-pngjs/issues/4
@mikolalysenko any ideas or alternatives ?
Sent from my iPhone

On Feb 19, 2015, at 6:38 PM, Tom Beddard<EMAIL_ADDRESS>wrote:
When using node v0.10.x or above you get a warning when installing due to<EMAIL_ADDRESS>used by save-pixels requiring node 0.8.x, so npm doesn't install it as a stand alone global executable.
The only way I could get it to work was to call the following from within the source directory, e.g:
./bin/cmd.js img.png --s 8 -d 2 -o img-sdf.png
I wonder if there is a cleaner way around this so it can be used globally as it's a useful little script!
Thanks.
—
Reply to this email directly or view it on GitHub.

@subblue I think the reason it couldn't run is not because of pngjs (which is just a warning) but because I had forgotten to add bin field. #2
Fixed now. Let me know if npm install -g image-sdf works out of the box.

Excellent, seems to work fine here now.
Thanks :)


[sequence parallel] add sequence parallel linear col/row support

📌 Checklist before creating the PR

[x] I have created an issue for this PR for traceability
[x] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[x] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234
fixed #4335

📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.
add sequence parallel linear col/row support

💥 Checklist before requesting a review

[x] I have linked my PR to an issue (instruction)
[x] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[x] I have performed a self-review of my code
[x] I have added thorough tests.
[x] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[x] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.


ALPHA - SERIOUS

The chain of responsibility stopped working.
We have to investigate that AASAP

General question:
which version of LibWiser does Oasys use? Does it fish the info from GIT repository, or is there an intermediate step, where a "push" from GIT to another space is required? [I guess it is the second]

This is the version: https://pypi.org/project/LibWiser/
It has to be updated manually each time when a new release is made (if there are newer requirements necessary). I don't know how to force OasysWiser to update LibWiser automatically as well. In setup.py (as you can see in the repository), such thing is reflected in line 46.

Debug notes:
for Michele:
path to LibWiser  (for oasys)
C:\Users\Mike\Miniconda3\Lib\site-packages
How to get to The Opticalelement
in_object_1.wise_beamline.get_propagation_element(-1).get_optical_element().native_optical_element.Name

After Meeting we concluded that

We need info from Luca on: "what is the best practice to make OASYS automatically update when LibWiser and WofryWiser are updated?"

The command
print(in_object_1.wise_wavefront.wise_computation_result.Intensity),

called after the first mirror, returns NOT nan for Aljosa (which is correct), but returns [nan---nan] for Michele (which is weird). The N of Samples is correct.
No clues about that for the moment.

Apply button and functionality is removed for the moment. => How about the "Reference Field?" apparently it does not make any sense right now. Let's keep it for the moment, but be prepared to hide it in the next future.

Another bug or broken functionality, focus is not symmetric around 0:

This is (luckily) not related to #27 , just wrong numbers

Random errors, but Aljosa solved it! B-)


Fix variables in Set-DbaSpConfigure +more

Type of Change

[x] Bug fix (non-breaking change, fixes #2032)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included

Purpose
Fixing #2032
Adding verification that configuration setting exists
Approach
fixing variables used in the code
Commands to test
Set-DbaSpConfigure -SqlInstance $script:instance1 -ConfigName ScanForStartupProcedures -Value 1
Screenshots

Learning

Looksgood! Added tests in other PR

Hi!
0.9.418    dbatools
That same setting ScanForStartupProcedures
ConfiguredValue = 1
RunningValue = 0
Command:
Set-DbaSpConfigure $instance -Value 0 -Name ScanForStartupProcedures
Error:
WARNING: [20:34:56][Set-DbaSpConfigure] Value to set is the same as the existing value. No work being performed.


Esp32 compilation error after enabling CONFIG_NEWLIB_LIBC

Describe the bug
Esp32 compilation error after enabling CONFIG_NEWLIB_LIBC
To Reproduce
Steps to reproduce the behavior:

Add CONFIG_NEWLIB_LIBC=y to samples\hello_world\prj.conf
west build -p auto -b esp32 samples/hello_world/
See build error

Expected behavior
Build pass
Impact
I want to use Zephyr's posix on esp32
Logs and console output
The error message shows that zephyr's build system first finds the posix header file in hal_espresslf, and the inconsistency of its API definition and zephyr leads to an error.
In file included from /mnt/e/tomato/t-clock-master/zephyr/lib/posix/pthread_common.c:10:
/mnt/e/tomato/t-clock-master/zephyr/include/posix/time.h:90:15: error: static declaration of 'clock_gettime' follows non-static declaration
 __syscall int clock_gettime(clockid_t clock_id, struct timespec *ts);
               ^~~~~~~~~~~~~
In file included from /mnt/e/tomato/t-clock-master/zephyr/include/posix/time.h:12,
                 from /mnt/e/tomato/t-clock-master/zephyr/lib/posix/pthread_common.c:10:
/home/frank/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/time.h:187:5: note: previous declaration of 'clock_gettime' was here
 int clock_gettime (clockid_t clock_id, struct timespec *tp);
     ^~~~~~~~~~~~~
In file included from /mnt/e/tomato/t-clock-master/zephyr/lib/posix/pthread_common.c:10:
/mnt/e/tomato/t-clock-master/zephyr/include/posix/time.h:94:5: error: conflicting types for 'timer_create'
 int timer_create(clockid_t clockId, struct sigevent *evp, timer_t *timerid);
     ^~~~~~~~~~~~
In file included from /mnt/e/tomato/t-clock-master/zephyr/include/posix/time.h:12,
                 from /mnt/e/tomato/t-clock-master/zephyr/lib/posix/pthread_common.c:10:
/home/frank/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/time.h:192:5: note: previous declaration of 'timer_create' was here
 int timer_create (clockid_t clock_id,
     ^~~~~~~~~~~~
[18/49] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj

@sylvioalves It looks like there are some compatibility issues with the newlib provided by the Espressif toolchain.

@stephanosio @tejlmand, There is no support yet for newlib on esp32. I have started working on it a few weeks ago and will eventually update the toolchain to allow this. This https://github.com/zephyrproject-rtos/zephyr/pull/38540 was part of it. This PR improves Espressif's toolchain handling, allowing new version to be seamless updated using proper command.
However, I would like to ask you both: What would be the proper way for me to inform users that toolchain update is necessary (like this very same issue). Over cmake message and toolchain version comparison?

There is no support yet for newlib on esp32.

just on the esp32 target or in general the espressif toolchain ?
If the latter, then this line should have been:
https://github.com/zephyrproject-rtos/zephyr/blob/6020afe46a779783aa23b467ee43b9e13626f5da/cmake/toolchain/espressif/target.cmake#L27
this:
set(TOOLCHAIN_HAS_NEWLIB OFF CACHE BOOL "True if toolchain supports newlib")

Any plans for a fix, or maybe a workaround which can be used in the meantime (like a custom-built toolchain)? I'm trying to port an application to ESP32, which was originally developed with Nordic Connect SDK (also Zephyr) for an nRF board. I hoped that because of already using Zephyr, my porting effort would be minimal, but I'm now getting blocked by a dependency on <algorithm> in a 3rd-party C++ lib I'm using.
As ESP32 support in Zephyr is currently expanding, this is a critical feature IMO.

Re-opened, as this is still valid.

Bump

Is this still WIP? Recently I try to run microTVM auto tuning example on ESP32 with Zephyr，but got the exactly same error.

Merged: #43534


5x ClientID

Hi everyone!
I searched through prefs.js manually and found 5 settings containing some kind of identifier:
app.normandy.user_id
security.sandbox.content.tempDirSuffix
security.sandbox.plugin.tempDirSuffix
toolkit.telemetry.cachedClientID
browser.newtabpage.activity-stream.impressionId
I added such entries to the overrides file:
user_pref ("app.normandy.user_id", "");
user_pref ("security.sandbox.content.tempDirSuffix", "");
user_pref ("security.sandbox.plugin.tempDirSuffix", "");
user_pref ("toolkit.telemetry.cachedClientID", "");
user_pref ("browser.newtabpage.activity-stream.impressionId", "");
After starting FF, the first three received new IDs in the prefs.js file, and the last two were left blank.
Can you help me decide if I did the right thing?
I improved anonymity thanks to the fact that I have different IDs every time I restart?
Or have I broken something else?
Thank you for your great job!

user_pref ("app.normandy.user_id", "");

Normandy/Shield is disable (0503), don't care.

user_pref ("security.sandbox.content.tempDirSuffix", "");
user_pref ("security.sandbox.plugin.tempDirSuffix", "");

It is on your disk and not send to the internet, don't care.

// ID (a UUID when set by gecko) that is used to form the name of a
// sandbox-writable temporary directory to be used by content processes
// when a temporary writable file is required in a level 1 sandbox.

https://dxr.mozilla.org/mozilla-central/source/browser/app/profile/firefox.js#1097

Isn't that weird?
Telemetry is disabled and toolkit.telemetry.cachedClientID remains empty after boot.
While Normandy / Shield is also disabled, but app.normandy.user_id gets new value after startup?

try #739 for a good read

Indeed toolkit.telemetry.cachedClientID is set something like a minute after Firefox start.
With Autoconfig I manged to have it blank with theses two settings in my Autoconfig's config.js:
defaultPref("toolkit.telemetry.cachedClientID", "");
lockPref("toolkit.telemetry.cachedClientID", "");

I don't know the impact of this toolkit.telemetry.cachedClientID, I have no certitude about its implication or not in the user's privacy; all that I know is that whatever userID, clientID, iLoveLucyID ... IDs in general bother me in digital life.


react zoom pan pinch disables my canvas hover and click

I am using the react-img-mapper library. Which takes an image and renders an interactive canvas on top of it. I wanted to add zoom and pan functionality on top of it. So I used your library, zoom, and pan are working fine, but my canvas is not interactive anymore.
Can you tell me why is it ?
Here is my code sandbox link.
Here is how it should highlight the canvas link

I used solution from #135(should style img-mapper-img class), and the solution worked.


Add more never special cases

Given that we are special casing never now, could we consider handling this too:
declare const nope: never;

declare const anArray: any[];
declare const anObject: { [key: string]: any };
declare function aMethod(arg: string): string;

anArray[nope]; // $ExpectError
anObject[nope]; // $ExpectError
aMethod(nope); // $ExpectError

const hello = "hello " + nope; // $ExpectError
const meaningOfLife = 42 + nope; // $ExpectError

Given #22964

If you were to add these cases would never stop being bottom and start becoming some ad-hoc type?


updated pytorch colab; fixes #81

This updates the torch colab to use the correct vgg ecoset model name and the new clip model name


[Suggestion]

Add Smoke check to aimbot as well [√]
Add Weapon ESP
Add Draw FOV
Add bind to mouse 4 /  5 for triggerbot
Add grenade trajectory
Add Bomb Timer
Add Logs [ Damage to player , Buy Log ]
-is it possible to increase range for triggerbot?

Yeah.! nice Suggestion mate.
especially on Draw Aimbot FOV  & Grenade Trajectory.
we really need those.
@EGTLoneWolf
also on " Weapon ESP " please add ESP Range Limit slider, since it's very annoying to have
it constantly turned on in Danger  Zone, " Kill button " would also work like " delete button "
@danielkrupinski


error parsing regexp that contains "?<="

Found a problem with gojq when calling match on a regex containing "?<="
example:
❯ gojq -n "@text \"projectP\" | match(\"(?<=project).\")"
gojq: invalid regular expression "(?P<=project).": error parsing regexp: invalid named capture: `(?P<=project).

❯ jq -n "@text \"projectP\" | match(\"(?<=project).\")"
{
  "offset": 7,
  "length": 1,
  "string": "P",
  "captures": []
}

This error seems to be caused by the following line in compileRegexp:
re = strings.ReplaceAll(re, "(?<", "(?P<")

Hello, gojq uses https://pkg.go.dev/regexp for regexp which does not support looka-head/behind, jq uses https://github.com/kkos/oniguruma which do support it.

Right, this is due to the difference of ragex engine.

@itchyny , isn't it a bit misleading to call the module gojq, when it is not fully compliant with jq?

@YuvalOmerRep FYI the differences are documented here https://github.com/itchyny/gojq?tab=readme-ov-file#difference-to-jq


Error during processing when using multiple images

Tesseract Version:  5.0.0-alpha20201127
Commit Number:
Platform:  Windows 64-bit

Current Behavior:
I can train for new fonts with no problem, but when I use a .tif file with multiple pages I can't generate the .tr file, it says Page 1 Error during processing and nothing else. I'm attaching the .tif, .box and properties files that I'm using.
It's the only command that doesn't work, along with shapeclustering because it requieres the .tr file
Expected Behavior:
Should create .tr file
Suggested Fix:

It was my mistake, I was using the wrong box file which indeed had an error in page 1.


Show ID of the image used in execution

This to ease debugging in case to verify that a correct image is being used.

duplicate of #17 ?


hvplot should add markers to a line plot when a marker type is supplied

In pandas "marker" or "style" control the plot symbols
e.g.
df.loc['a'].plot(marker='o')
but with hvplot:
df.loc['a'].hvplot(marker='o')
gives

WARNING:root:main: marker option not found for line plot; similar options include: []

It sounds like the Pandas .plot api is inferring that if you set a marker shape you want a points and not the default of a line plot?  Or does Pandas plot a line and also add markers to it in this case?

Yep, the latter. It'll plot points along the line in Pandas.

Ok, I'll change the issue title then.

Sorry? The title's correct isn't it?

I guess it's not just adding the markers, the the whole styling of the plots (changing the colour, changing the marker type, changing the linestyle, using the style keyword, etc)

The difference is really in matplotlib since the default plot call plots lines but also supports markers. I do agree that we should emulate this behavior in hvplot though.

Should hvplot be generating an overlay of line and a blank marker, by default, to support this behavior?

Should hvplot be generating an overlay of line and a blank marker, by default, to support this behavior?

Seems inefficient and pretty pointless.

Just wondering how to support it efficiently without adding a lot of complexity, then.

I've been looking for this feature, I guess  that it's not been implemented yet (? correct me pls).
There is quite a big difference in a way how matplotlib treats plot() and scatter() on interactive plots.
The first one is much more memory-friendly. It would be great to have in in hvplot, however the hoovering would be useless then (since plot() result is single object, and not many points)

@holoviz/triaging-team This is a clear obstacle for new users so I think we should support this. Any other opinions out there?

I agree hvPlot should support that. I assume it doesn't make sense to add support to that to HoloViews that provides more 'atomic' elements compared to hvPlot.
I suggest adding basic support to markers to df.hvplot.line, supporting marker ('o', etc.), markersize and markercolor. Internally it would return an overlay of Curve and Scatter. For more more (e.g. not having a marker every point) I suggest documenting how to do that by creating the overlay explicitly.


Revert "docs(system-requirements): add warning for k8s 1.5"

Preparing to remove this warning now that k8s 1.5.1 has been released as well as helm v2.1.0.
Reverts deis/workflow#654

tracking progress in https://github.com/deis/controller/issues/1175

this can be reverted once v2.10 is being released or we have released a v2.9.1 with the patch for k8s 1.5 compatibility.

closing in favour of #657.


Implement Guide Curve Point Getter

For the guide curve conversion using cpacs2to3, we need to get the guide curve points on the fuselage/wing using TiGL 2.x to reverse engineer the guide curve profile points in the new simplified guide curve definition in CPACS 3
See https://github.com/DLR-SC/cpacs2to3/issues/3

fixed with #439


Release

:tada: This issue has been resolved in version 0.71.0 :tada:
The release is available on:

v0.71.0
GitHub release

Your semantic-release bot :package::rocket:


Insufficient Funds Error Does Not Display Properly After Publish

The Issue
Insufficient funds error does not display properly in pop-up after failed publish
Steps to reproduce

Attempt to publish, setting a fee ABOVE your wallets current balance
Pop-up for insufficient balance error appears
Error is apparent, does not actually SAY "Insufficient funds" (but shows in console of course)

Expected behavior
Error pop-up should have the actual words "Insufficent funds"
Actual behavior
It does not (see screenshots below)
System Configuration
Screenshot below
Anything Else
Noticed by Mac user, confirmed on my own win 10 PC, System config screenshot is for original errors machine
Screenshots

This is fixed.

There is still an issue if you try to leave less than 1 Lbc in the wallet... Can you confirm @CjMapope? A user in #help just had the issue.


Add font Elite

Manual test--

Addresses https://github.com/common-nighthawk/go-figure/pull/8

Manual test--

This change addresses: https://github.com/common-nighthawk/go-figure/issues/7


add minor clarifications, removed tunr references, updated images to …

…match grumblr rails api

left comments


 This is especially bad if OPENSSL_init_crypto can recursively end up attempting to call the RUN_ONCE that we're already inside.
The initialisation in OPENSSL_init_crypto is already "run once" protected. There is no need to protect it "twice".
Fixes #20653
(I created this against the 3.1 branch so that @mouse07410 can easily try it out. It would need to be cherry-picked to master and 3.0)

https://github.com/gost-engine/engine/issues/442 appears to be fixed

I think it would be fairly trivial to add object add callback from a test provider, but setting tests:deferred for now.

I think it would be fairly trivial to add object add callback from a test provider,

It's probably more complicated than that. You'd need to add a callback which would then cause a config file to load which then loads another provider which also calls the callback.

Merged to master and 3.1 branches. Thank you.


Expose Terraform ResourceId to assert it

Hello,
Thanks for that great project, it's really helpful.
What the problem I want to solve
I want to lint Terraform resource id, however only resource arguments are exposed.
For example:
resource "aws_instance" "web" {
  ami           = "ami-a1b2c3d4"
  instance_type = "t2.micro"
}

I want to apply som opreations on resource name (which is called web in this case) (e.g make sure the name is not longer than 20 characters).
I did check the code, and I don't see ResourceId is exposed anywhere.
If config-lint doesn't support this yet, could it be added as a feature request.
Best.

We're glad at you're making use of our project!
For now, config-lint can only lint against static resources. So resources fields such as ID or ARN that are created dynamically can't be exposed to test

@milldr Thanks for your reply Dan.
But the name value is static not dynamic.
Here I don't refer to resource ID that's generated in Terraform, but the actual resource name (the name is the string after the resource type).
It's called ResourceID in config-lint violation output:
[
  {
    "AssertionMessage": "egress should be present",
    "Category": "resource",
    "CreatedAt": "2020-03-23T17:04:11Z",
    "Filename": "/mnt/test.tf",
    "LineNumber": 13,
    "ResourceID": "egress",
    "ResourceType": "aws_security_group",
    "RuleID": "SG_MISSING_EGRESS",
    "RuleMessage": "Security group should specify egress rules",
    "Status": "WARNING"
  }
]

Ah I understand now. This is also not supported at the moment, since rules can only evaluate resource properties. However that shouldn't be as major of a feature request as adding something dynamic since we already have that value. So I'll keep this open as a feature request

Fixed by #164


New functions + package.json changes

[x] I agree to the contribution guidelines laid out here in the readme.

Looks good


#2204 Add field parameter to specify fields returned from API

When field querystring parameter is present (at leaset once), the only fields returned will be those specified in one of the field querystring arguments.
Also added make target to load data from digital-land-production-collection-dataset using digital-land-postgres
Fix prestart script execution in dev by removing CMD override, allowing parent docker image CMD to execute $PRE_START_PATH

👍🏼 looks good to me. Merge whenever you're ready


Issue #121: Initial work on extending test coverage.

This is a work in progress. See the @todos for next-steps.

Remaining @todos have been removed. Let's see if this goes green.

Looks like all the Drupal 7 tests are failing since it isn't properly detecting the version.

This looks pretty good.
From the Travis tests, it looks like there is an issue on D7 with running SimpleTest I assume:
Running "shell:testdrupal" (shell) task
  ERROR: Unknown argument '--directory'.

See: https://travis-ci.org/phase2/grunt-drupal-tasks/jobs/111807992#L1924

Apparently D7 doesn't support the directory option, so it's either be all or manually specifying custom test groups. I think we should just make this a D8-only task for now (D7 has gotten along thus far without, and projects that want to write d7 simpletests can add it as a custom task).


Locate wrong index.

https://github.com/twopirllc/pandas-ta/blob/bc3b292bf1cc1d5f2aba50bb750a75209d655b37/pandas_ta/trend/psar.py#L58
The sar compute should started from 2 instead of 1,or the sar will select the last value of pandas DataFrame in the future.

Hello @graceyangfan,
Excellent eye! However this minor error was also part of a psar fix in Pull Request #543 and part of the development branch. Update to development branch when you get a chance.
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

Kind Regards,
KJ


VSecM SPIRE helm charts should allow /run/spire/data to be able to be mounted from a PV

This is important for resiliency and efficiency.
It will also be useful when/if we want to use SPIRE in a HA setup.

Done.


quick fix for 114. Evaluates getThumb before accesing it for setting …

…setting the thumb tint color
Summary:
Hi! currently, the setThumbTintColor fails on android builds in release mode because the thumb hasn't been set. The change makes the call safe, thus avoiding crashes in production mode when sliders are added to hidden parts of the hierarchy.
Test Plan:
Run a test app in release mode. Crashes due to com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'thumbTintColor' of a view managed by: RNCSlider - Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setColorFilter(int, android.graphics.PorterDuff$Mode)' on a null object reference should not happen.

Hello @fcopardo,
could you please resolve conflicts and fix linting so I can merge and release fix?


stablehlo.concate: error: operand #4 does not dominate this use

What happened?
When compiling a random number generator to StableHLO and then executing it using IREE, IREE is complaining about an operand #4 to "stablehlo.concatenate" not dominating its uses. I managed to reduce it to a simple program where it is obvious that the error message is wrong.
I am also not sure what operand #4 is referring to as there is no fourth operand.
Steps to reproduce your issue
bug.mlir (simplest case I could reduce it to):
func.func @main(%0 : tensor<1xui32>, %1: tensor<1xf32>) -> (tensor<2xf32>, tensor<1xui32>) {
%3 = "stablehlo.add"(%0, %0) : (tensor<1xui32>, tensor<1xui32>) -> (tensor<1xui32>)
%4 = "stablehlo.convert"(%3) : (tensor<1xui32>) -> (tensor<1xf32>)
%5 = "stablehlo.negate"(%4) : (tensor<1xf32>) -> (tensor<1xf32>)
%6 = "stablehlo.add"(%1, %1) : (tensor<1xf32>, tensor<1xf32>) -> (tensor<1xf32>)
%7 = "stablehlo.concatenate"(%4, %6) {
dimension = 0
} : (tensor<1xf32>, tensor<1xf32>) -> (tensor<2xf32>)
%8 = "stablehlo.add"(%0, %3) : (tensor<1xui32>, tensor<1xui32>) -> (tensor<1xui32>)
"stablehlo.return"(%7, %8) : (tensor<2xf32>, tensor<1xui32>) -> ()
}

Running iree-compile bug.mlir results in the following error message:
bug.mlir:6:6: error: operand #4 does not dominate this use
%7 = "stablehlo.concatenate"(%4, %6) {
     ^
bug.mlir:1:1: note: called from
func.func @main(%0 : tensor<1xui32>, %1: tensor<1xf32>) -> (tensor<2xf32>, tensor<1xui32>) {
^
bug.mlir:6:6: note: see current operation: %12 = "stream.async.update"(%11, %0, %3, %1, %13#2, %1) : (!stream.resource<*>, index, index, index, !stream.resource<*>, index) -> !stream.resource<*>
%7 = "stablehlo.concatenate"(%4, %6) {
     ^
bug.mlir:5:6: note: operand defined here (op in the same block)
%6 = "stablehlo.add"(%1, %1) : (tensor<1xf32>, tensor<1xf32>) -> (tensor<1xf32>)
     ^

What component(s) does this issue relate to?
No response
Version information
Version 3.0.0 of iree-compiler-base from pypi
Additional context
No response

Reordering the instructions gets rid of the error message, but I don't see why this should make a difference.
func.func @main(%0 : tensor<1xui32>, %1: tensor<1xf32>) -> (tensor<2xf32>, tensor<1xui32>) {
%6 = "stablehlo.add"(%1, %1) : (tensor<1xf32>, tensor<1xf32>) -> (tensor<1xf32>)
%3 = "stablehlo.add"(%0, %0) : (tensor<1xui32>, tensor<1xui32>) -> (tensor<1xui32>)
%4 = "stablehlo.convert"(%3) : (tensor<1xui32>) -> (tensor<1xf32>)
%5 = "stablehlo.negate"(%4) : (tensor<1xf32>) -> (tensor<1xf32>)
%7 = "stablehlo.concatenate"(%4, %6) {
dimension = 0
} : (tensor<1xf32>, tensor<1xf32>) -> (tensor<2xf32>)
%8 = "stablehlo.add"(%0, %3) : (tensor<1xui32>, tensor<1xui32>) -> (tensor<1xui32>)
"stablehlo.return"(%7, %8) : (tensor<2xf32>, tensor<1xui32>) -> ()
}

Here is a reproducer that can be run with iree-opt --run-reproducer repro.mlir. The problematic pass is iree-stream-emplace-allocations. It seems to be caused by stream.async.update ops having a producer/consumer relationship. Possibly related: https://github.com/iree-org/iree/issues/14566
The pass iterates over all of the results to find updates ops to move. In the modified IR, the dispatch op is the last result so all the updates get correctly moved VS the original where only 1 of the 2 are moved. The following seems to be the cause of the difference between the 2 orderings: https://github.com/iree-org/iree/blob/f27feffa3d44c834a184ed3ea4b704316fd1769e/compiler/src/iree/compiler/Dialect/Stream/Transforms/EmplaceAllocations.cpp#L83-L85.


Support Navigator.languages

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages
This property is supported in browsers but not in htmlunit.

Fix is on the way.... thanks.

Thanks


Allow providing a seed for FK and Jacobian + cast IK result into a list of joint values

FK and Jacobian methods didn't allow to be bootstrapped with a seed, here's a fix to take the seed in input (default = None to be retrocompatible)

IK result was a 0d numpy.array of an object whose fields were then not accessible, here's a fix casting the object in list before returning it. Not sure whether it's retrocompatible still I don't understand how it could work.

Also shouldn't this package move to an official baxter repo? There are 2 versions (by rethink-kmaroney and rethink-imcmahon) that's a bit confusing.

Great additions here! Thanks for the pull request. Just a few minor comments above, and I'll merge after they're addressed.
I took over all of Rethink's open source repo management last year, hence the fork. However, I agree, this repo should be moved to @rethinkrobotics ownership. I'll add that to my todo.

:shipit: Great! Thanks for the updates

@baxter-flowers & @ymollard, I've moved the repo to the RethinkRobotics Org. I can't get rid of it being a fork from the original from @rethink-kmaroney. Please update your remotes.

Thanks for the info. Couldn't you merge your branch into @rethink-kmaroney 's one and transfer his repo instead?

Unfortunately nope. He doesn't work here anymore, and I do not have access to that account to transfer ownership.


client.duplicate(options) with options.db does not work

Version: node_redis: 2.8.0, redis-server: 3.2.9
Platform: Node.js 6.11.1
Description: When duplicating a client object via existing one with different DB option, the new one's DB is same to previous one's DB.

const redis = require('redis');
const redis1 = redis.createClient({ db: 1 }); // use DB 1. OK
const redis2 = redis1.duplicate({ db: 2 }); // use DB 1, not DB 2

I think that this code line is related to this issue.
https://github.com/NodeRedis/node_redis/blob/009479537eb920d2c34045026a55d31febd1edd7/lib/extendedApi.js#L98

Confirmed.


TRAN EDW project on-prem routable subnets creation (in Azure)

Describe the issue
Creation of subnets for TRAN EDW project in BC Gov Azure foundation infra to enable a connections back to TRAN Zone B servers
Additional context
TRAN will be submitting iStore for Data Centre Firewall rules creation to allow connections from the internal (private) Azure IPs/subnets for this project back to their Zone B server resources
Definition of done

Requirements to be received from TRAN EDW for subnet sizing
Current Azure workload subnetting to be reviewed on BC Gov foundation infrastructure
Internal workload subnets to be deployed for the TRAN EDW RG & separate TRAN EDW-Test workspaces
Connect TRAN resources to the centrally controlled workload subnets (routable to Data Centre) for this project
Work w TRAN to have them test the new connections back the Azure resource IP's involved when their iStores are completed

Issue has come up where Azure Data Bricks may need more than one subnet, and may have its own public IP requirement.  Seems to be also a fixed minimum size of subnet related to Data Bricks which may be another problem to resolve.  Working with TRAN data tech to investigate.  He will try to gather more info on this, work w their MS specialist and get back to me.

Subnetting will stay as previously deployed and will be working with TRAN and Microsoft to resolve issues here as there may be a larger more solution-level issue here (tracked in ticket #1454 as progress made).  Closing this subnet deploy ticket


Replace google.rpc.Status for UStatus

Remove google.rpc.Status and googleapis dependencies from the project by introducing UStatus.
https://github.com/eclipse-uprotocol/uprotocol-spec/issues/27

Change was merged with #75