Unable to use custom type in migrations

I want to use GENERATED ALWAYS AS IDENTITY type instead of serial. Now I can't find any way to use it. Here is my sample migration (don't work now)
class InitMigration extends Migration
{
    public function up()
    {
        $this->table('users')
            ->addColumn('id', 'INTEGER GENERATED ALWAYS AS IDENTITY', [
                'nullable' => false,
            ])
            ->addColumn('email', 'string', [
                'nullable' => false,
                'size'     => 250
            ])
            ->create();
    }

    public function down()
    {
        $this->table('users')->drop();
    }
}

Is there any way to create IDENTITY column instead of serial?

The identity columns might be not supported via declarative form. Try using native queries. We will extend declarative builder to support user types later.
$this->database()->execute();


how can i replace or insert text in special range

monaco-editor version: 0.X.Y
Browser:
OS:
Steps or JS usage snippet reproducing the issue:

i find a method which  called 'executeEdits',what does the 'source' param mean

It can be any string.


Repository not accessable from VS2015 Update 1

The repository is not accessable anymore after installing Update 1 for VS2015.
Error: The remote server returned an error: (503) Server Unavailable.

Are you able to access Klondike from a web browser? Please check ~/App_Data/Logs for additional hints.

I'm not using Klondike, but the Website is accessable. It's also still possible to access the repository from VS2013.

Found the problem on my side. Sorry.


Detect and signal bots as bots

Here is an example of bot: http://depsy.org/person/448423
I'm not against bots having a "person" ID, or even a page with packages they contributed to (see previous link).
What I don't want is to see a bot as an author / contributor of one of my package, as in the example below, where two bots are listed, potentially hiding "real" authors / contributors:

Maybe some sort of flag could be added for users to signal bots as such?

Closing because project is not maintained anymore.


Add process implementations for the Writer process

We should add some functions and our contexts to manage starting the process handling the writer

This is done now more or less


Input Group Addons make rounded

          <input type="text" name="username" value="" class="form-control input-lg" placeholder="Username" />

LES

          <input type="hidden" name="rand" value="LES" />

@anonprophet It's because of your hidden input. The input-group-addon should be the last child. Change your markup to this and it'll fix it:

        <input type="text" name="username" value="" class="form-control input-lg" placeholder="Username" />
        <input type="hidden" name="rand" value="LES" />

LES

See: https://jsfiddle.net/k3h1ewq0/

Hi @kkirsche!
You appear to have posted a live example (https://fiddle.jshell.net/k3h1ewq0/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 41, column 9: E009: Button and input sizing within .input-groups can cause issues. Instead, use input group sizing classes .input-group-lg or .input-group-sm
W005: Unable to locate jQuery, which is required for Bootstrap's JavaScript plugins to work

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

@patrickhlauke Why the close here?

i thought #16542 was a good candidate for a solution. fair enough though if we want to reopen @mdo

Oh, yeah, I like to leave the issues open until the PRs are closed :). Easier that way if someone happens to the proposed fix.

Closing per #16542.


Modify mrgeo.py for Spark dynamic allocation

This was completed a while ago (#269), but not referenced in the pull-request, so not closed.
1ea68308a04ab1bed684984305c8157977970d36


Clarify DelegateInterface purpose

This PR reflects long discussions about the delegate naming and removes implementation details.
Related #54 and #57.
@shadowhand I truly believe this PR completely aligns with you intentions, hence please do not close it prematurely – maybe I/we can fix remaining issues.

Closing because of https://github.com/http-interop/http-middleware/pull/59#issuecomment-272647942

@shadowhand May you like to review this PR before I will create a new PR against fig-standards?

@shadowhand Does wrap sounds better?

whose (only) purpose is to wrap the remaining request processing

(wrap is used at proposed/http-middleware/middleware.md in 1. Specification)


feat(linter/tree-shaking): support While/Switch/Yield Statement

All test cases passed now. There are something remain. I'll change the category when it's ready.

[ ] Port isPureFuncion, pure-function
[ ] Support options
[ ] Clean TODO
[ ] Add more support of operator computation. The original version is straightforward benefit of JS. We only support Number now.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3155  👈
#3154
#3153
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mysteryven and the rest of your teammates on  Graphite

Merge activity

May 3, 11:16 AM EDT: @Boshen started a stack merge that includes this pull request via Graphite.


[ALLUXIO-2743] Support specifying Mount Options for each Mount Point (part1)

https://alluxio.atlassian.net/browse/ALLUXIO-2743
This is the first PR for this JIRA, including the following change:

Introduce ParameterizedPropertyKey which creates runtime PropertyKeys according to the predefined template. This class is used to specify the options for each mount point, as well as worker tiered storage.
Change PropertyKey from enum to class so we could create its instance outside and on-demand (as enum doesn't support subclass).
Implement Configuration.getTrailingProperties to return a set of properties aggregated by prefix. This util will be used to collect all options associated with a mount point.
Update the definition of whether a property is valid, and how to parse it from String to a PropertyKey instance.
Unit tests.

Major changes live in PropertyKey.java and ParameterizedPropertyKey.java

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14241/
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14279/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14282/
Test FAILed.

@jsimsa @calvinjia
I have consolidated ConstantPropertyKey and ParameterizedPropertyKey into PropertyKey based on jiri's suggestion.
PTAL.

@apc999 thanks for the iteration, overall looks good now ... left one minor comment

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14297/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14298/
Test PASSed.

Merged build finished. Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14292/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14293/
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14295/
Test FAILed.

Jenkins, test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14303/
Test PASSed.

Merged build finished. Test PASSed.

Jenkins, test this please

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14309/
Test PASSed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14310/
Test PASSed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14324/
Test PASSed.


remove #[allow(dead_code)]

Where does this code-base need to get to before #[allow(dead_code)] can be removed? It's a little hard to estimate, but i think there's at least several hundred lines of code which both never gets called and isn't publicly exported. I guess a lot of this has been added speculatively, in case it's needed later. So one hand it would be a shame to lose all that logic, but on the other hand it's extra noise/maintenance burden that isn't currently adding any value.
what do you think?

i would add that removing this lint is going to be non-trivial. I would suggest doing it incrementally (module by module)

Placeholders for things that are in the DDS/RTPS specs do add value, as they are design sketches.
Such places should be marked with #[allow(dead_code)] and some comment indicating it is a placeholder for X, preferably with reference to X in the spec.
Really dead code should be just removed.

i started looking at this, but i think you might be in a better position than me to know which code is dead, and which is a placeholder worth keeping

Some fixed, see PR #165 .
Can you identify functions that should be marked as #cfg(test) , i.e. used in unit test cases only?

Can you identify functions that should be marked as #cfg(test) , i.e. used in unit test cases only?

i think there's a low-tech way. remove a function that the the dead_code marks, then run cargo check --tests. if that fails, then the function is unused except for the tests. I haven't tested this approach

#165 fixes this


Fix workflow refresh for closed workflows

What changed?

Allow workflow refresh for closed workflows
Remove duplicated/buggy GetCloseEvent() method in mutableState
Remove unused parameter from workflow refresher, task generator, mutableState and timerSequence
Handle get history client error when calling RefreshWorkflowTask
Remove defer() in CapturePanic() as this function is already called in defer

Why?

Bug fix for refresh closed workflows

How did you test it?

Tested locally

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 4aaf98bb-da42-4aeb-96d9-f4ba2742cd70

10 of 24 (41.67%)  changed or added relevant lines in 9 files are covered.
60 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-0.03%) to 56.373%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/history/execution/mutable_state_task_refresher.go
0
1
0.0%

service/history/execution/state_rebuilder.go
1
2
50.0%

service/history/historyEngine.go
0
2
0.0%

client/history/client.go
0
3
0.0%

common/log/panic.go
1
8
12.5%

Files with Coverage Reduction
New Missed Lines
%

client/history/client.go
2
40.74%

client/history/metricClient.go
2
45.94%

common/membership/rpServiceResolver.go
2
73.58%

service/history/handler.go
2
47.62%

service/history/queue/timer_queue_processor.go
2
59.33%

common/persistence/dataManagerInterfaces.go
3
60.91%

service/history/queue/timer_gate.go
3
95.83%

service/frontend/workflowHandler.go
4
58.83%

service/history/queue/timer_queue_processor_base.go
4
78.83%

service/history/execution/mutable_state_builder.go
5
69.54%

Totals

Change from base Build 8744b96e-6e28-4d03-a3f0-3fcd5d4d0c9d:
-0.03%

Covered Lines:
79534

Relevant Lines:
141086

💛  - Coveralls

Hello!
The fix that you made did not include in the last releases.
Can you guide me on when this fix will be released and in which release?

@ceearrashee Hello, it's included in the next minor release branch: https://github.com/uber/cadence/commits/0.23.x
v0.23.0 is being baked and will be out soon. Stay tuned.


Add webdriver.io tests to terra-clinical-item-collection

Summary
Resolves #290
Thanks for contributing to Terra.
@cerner/terra

Looks like __snapshots__/reference/chrome/Displays_a_selectable_item_collection[default].838x768.png has a hovered item

Looks like Returns_child_key_for_ENTER_when_onSelect_is_given_to_a_selectable_item_collection[default].838x768.png has a hover state as well

Returns_child_key_for_SPACE_when_onSelect_is_given_to_a_selectable_item_collection[default].838x768.png image appear different than the other viewports.

I think we need to checkout the 838x768 images. It seems like several of them are slightly different between hover or selection styling applied.

Need to check screenshots.

https://github.com/cerner/terra-clinical/pull/299/commits/db18d9895cfa9f13fcbc46d86b6324041940064e


Expose contrib.gp classes in sphinx toctree

I think pyro.contrib.gp would be easier to navigate if all kernels and likelihoods were discoverable in the sphinx sidebar toc.
This PR:

rearranges our sphinx toc so that pyro.contrib modules can show deeper nesting
autogenerates documentation for gp.kernels and gp.likelihoods so that all kernels and likelihoods show up in the toc.

I've used alphabetic ordering to make it easier to find documentation if you need to. I think it would be overly complex to retain by-source ordering because that would involve an additional layer of nesting (e.g. gp -> kernels -> dot_product -> linear), and I haven't been able to get this deep nesting to show up in the sphinx toc. I'm open to suggestions if anyone knows how to fix this.
Here's what the generated docs look like:
http://fritzo.org/temp/pyro/html/contrib.gp.html#periodic

ready to merge as soon as tests pass


[feature request] Toggle to show missing/owned/both

Would be nice if on the display there were toggles to show owned recipes, missing recipes, or both (all) recipes.  Lot faster that having to scroll down the long lists (esp furnishing) to see what you're missing.
Thanks for all the hard work!

That one is maybe a bit hidden. You can use right-mouse click to open the context menu and use that filter.

Ah!  I never remotely thought to right click because it didn't seem obvious there.  Thanks!


Remove email addresses

Scrub email address from a couple of files.

Travis failed because of intermittent test failure to be fixed in this PR https://github.com/apache/incubator-openwhisk-cli/pull/247.


trust store validation error message needs improvement

The trust store validation error message needs improvement. Here is the code.
storeType, name, found := strings.Cut(trustStore, ":")
if !found {
	return nil, fmt.Errorf("trust policy statement %q is missing separator in trust store value %q", policy.Name, trustStore)
}

We had better provide a valid trust store format to help user figure out the value. We can add "Format : is required" to the end of the error message.

To align with the spec, we could say Format {store-type}:{store-name} is required


[BUG] -  Unregister-PnPHubSite : Sequence contains more than one matching element

Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:

Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature
An issue with Unregister-PnPHubSite
Expected behavior
Expected is that the hubsite is unregistered as an Hub
Actual behavior
After running: Unregister-PnPHubSite -Site "https://[OurTenant].sharepoint.com/sites/Hubsite"
Powershell gives back: Unregister-PnPHubSite : Sequence contains more than one matching element
Steps to reproduce behavior
Unregister-PnPHubSite -Site "https://Tenant.sharepoint.com/sites/hubsite"
There are two sites which contains the name of the hubsite:

https://[OurTenant].sharepoint.com/sites/Hubsite - which is the actual hubsite
https://[OurTenant].sharepoint.com/sites/teamHubsite -which is a MS teamsite (called teamHubsite)

What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
pnp.powershell - v. 1.10.0
Which operating system/environment are you running PnP PowerShell on?

[X ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

@reinoutD - I cannot reproduce your error. I've followed your repro steps, and I can unregister a particular hubsite even if both have the same name. I'm using v.1.11.0, can you please update and try again?


Energy production in the Energy dashboard

Since #7 the energy consumption provided by the P1 sensor can be used in the energy dashboard. However, energy production cannot be selected yet. I think we need the production equivalent of this entry in const.py:
"electricity_total_today": {
    "type": "p1_installation",
    "key": "electricity.measurement_groups.0.total",
    "label": "electricity consumption today",
    "unit": ENERGY_KILO_WATT_HOUR,
    "device_class": DEVICE_CLASS_ENERGY,
    "default_enabled": True,
    "state_class": STATE_CLASS_MEASUREMENT,
},

The instantaneous energy production is retrieved in the integration, but as far as I can see, the total production today is not yet. It is unclear for me how the mapping from the REST interface works.

It has already the needed attributes see https://github.com/fsaris/home-assistant-zonneplan-one/blob/9d0c2045fa7a8c29aa1b684d27efdf7b426999df/custom_components/zonneplan_one/const.py#L83
You are using version 0.0.4?
For me it shows up in the energy entity selector

Electricity consumption has the correct properties and is visible. However, electricity production is not visible (at least, if I understand correctly).

I had the same challenge and solved it by using an integration sensor:
  - platform: integration
    source: sensor.zonneplan_p1_electricity_production
    name: electricity_production
    unit: kWh
    unit_prefix: k
    round: 2

This seems to do the trick.

The yield total value holds the production of your solar panels.
`_p1_electricity_production

The energy dashboard only works with kWh values. And I don't think it's possible to calculate the W values to kWh as the first is a current value and the second a cumulative.
The P1 provides the kWh values in the official protocol but seems like Zonneplan doesn't expose these in there API response. Will reach out to them to see if they are available.

I had the same challenge and solved it by using an integration sensor:
  - platform: integration
    source: sensor.zonneplan_p1_electricity_production
    name: electricity_production
    unit: kWh
    unit_prefix: k
    round: 2

This seems to do the trick as you can then select the electricity_production sensor.

@pim-simons This is indeed a valid work around. Didn't see at first that you used the integration component to calculate the  kWh.
Tnx for this hint. Will add it to the readme so others can also use this until we got the real values from the API

This works for me too, thanks!


Failed to open pkpass file

The .pkpass file is generated but I am not able to open it on any device.There are no errors on eclipse console.

Hi Priyanshi,
Are you able to solve this issue? I am also facing the same.
Thanks & Regards
Sumit Gulati

i'm with the same issue

Me too


Feature request: i_no_unicode flag

Feature Request: could there be a i_no_unicode (or equivalent) at cstr inclusion so that it wouldn't define or try to compile utf-8 related functions? Of course, most projects should want utf-8 strings everywhere... but there are also simple tools where it's just not needed.

Hi. By default, there is only a few small utf8 inline function defined/included, i.e the ones in the utf8.h header, which allows you to iterate codepoints in utf8 strings. To get utf8 lowercase/uppercase or case-insensitive comparison functions you must either #define i_import before including one of the string/view headers, cregex or link with src/utf8code.c. cregex always requires linking with the utf8 character tables.

let's close the issue.


Document enableTimeouts option

from mochajs/mocha#1281

The option was added in 1.21.0, but it is not documented yet.

This issue was moved to mochajs/mocha#3137


chore(ci): add build to publish workflow

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.892%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
30

Relevant Lines:
31

💛  - Coveralls


[Azure Automation] validations (size, range, regexes) on properties and parameters missing

Mentioned in PR https://github.com/Azure/azure-rest-api-specs/pull/950
Validations need to be added for user inputs for all Azure Automation resources
Example
"parameters": [
{
"name": "automationAccount",
"in": "path",
"required": true,
"type": "string",
"minLength": minLength goes here,
"maxLength": maxLength goes here,
"pattern": "regex string goes here"
"description": "The automation account name."
},
[Garrett] You should have some validations (size, range, regexes) on properties and parameters when they are coming from the user.

Validation is implemented in the controller. I don't think there's any additional validation required here.


Doesnt work with Mac and IntelliJ 15 Preview (JNA incompatibility)

Hi,
thx for this plugin!
With

Mac (Yosemite)
Java
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
IntelliJ Ultimate 15 Preview

the plugin shows only a blank white page. No errors.
The new version from yesterday doesnt solved this problem. :(
Regards,
Sebastian

should be fixed in 0.1.8

you can try out it now

Wow that was quick! Thx it works!


[stable/opa] fix liveness/readiness probes

indentation of periodSeconds and initialDelaySeconds is incorrect

Signed-off-by: Casey Lee<EMAIL_ADDRESS>
What this PR does / why we need it:
This chart will not deploy to EKS with version 1.12 due to schema validation errors in the liveness and readiness probes
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

Hey @tsandall!  I have a minor bugfix that i'd love to get fixed

/lgtm

/ok-to-test

@cplee thanks for the fix!

/ok-to-test


ord wallet inscribe with multiple parents

ord allows inscriptions with multiple parents (#2494) but not by it's own command.
$ ord wallet inscribe ... --parent X --parent Y
error: the argument '--parent <PARENT>' cannot be used multiple times

Yes, we still need to add that functionality.

Yes, we still need to add that functionality.

Has this been added to ord?

Hey, @raphjaph It would be great if there could be a resolution to this. Could you update the progress?


SA1649 reports mismatched filename for typename incrrectly for generic type

I could be wrong here but it seems that it should be OK to have a filename of Foo.cs for typename Foo<T>.

Another option is to split this rule two - one for non-generic types and another rule for generic types but it would be nice if the non-generic rule still enforced that Foo was in a file called Foo.cs (and not Bar.cs).

@rkeithhill We are currently investigating this issue as a deviation from StyleCop Classic (which gives it "special" status) in #1730. I'm going to mark this as a duplicate of the content in #1662 and #1730.


Azcopy sync not working as expected.

azcopy v10.3.4 on Windows 10.
Command used: azcopy sync "https://MYBLOBCONTAINER.blob.core.windows.net/images/*?sv=...MYSAS"  "X:_LOCAL_FOLDER\images"
I first have done an azcopy to the local folder and it worked. To test the sync I deleted files localy and run again a sync. Azcopy alway mention that everything is sync nothing to do. I deleted all the local files and ran the sync. Azcopy mentionned that everything is sync but the folder is empty.
I'm doing something wrong? I have read everything found on the web but nothing about this issue.
Thanks

I'm not sure what's happening. I don't think we normally use /* at the end of sync command lines. (Sync just acts like that's there, even when you dont' add it).
@adreed-msft  Could that be the cause of the unexpected behaviour?  If so, can you please add something to our backlog to show an error or warning message if /* is used in sync?

@DavidLafond John is correct in that /* is not used at the end of sync.
Sync targets the contents of the directory, treating it as a duplicate of the root that the destination is.
When you add a /* to the end on sync, it treats it as a virtual directory. So it now goes searching in */ (note, * isn't a wildcard here), not every directory under the root images.

Wow thanks for the information now it's working.

@adreed-msft Can you add us a backlog item to at least provide an on-screen warning that case, so users are warned that /* with sync won't do what they are probably expecting.

Sure thing.


One endpoint per Bot ?

I created 2 bots pointing to the same Messaging endpoint.

I got the expected response for the first Bot
For the second I got the error below:

{"error":{"code":"ServiceError","message":"not member of thread"}}

Can we  create multiple  Bots pointing to one single endpoint through dev.botframework.com/bots/
Or is in it MS teams specifications that we can configure 1 Endpoint / 1 Bot ?
Any help would be very much appreciated.

Bot endpoint is authenticated using MicrosoftAppId and MicrosoftAppPassword. For debugging you can change AppId & Password values in code/config to work with multiple bot.
Could you please elaborate on your scenario and why you want to keep single endpoint for multiple bots?

Thank you for your response, @Wajeed-msft
Do you mean this:
bot1 => MicrosoftAppId : AppId1,  MicrosoftAppPassword: password1,
Messaging endpoint: chat_bot_url

bot2 => MicrosoftAppId : AppId2,  MicrosoftAppPassword: password2,
Messaging endpoint: chat_bot_url

bot1,  bot2 were both created with botframework

response would succeed in both case.
The endpoint in this scenario is used for chat-bots, I needed to test whether multiple Ms teams bots could communicate with the same chat-bot.

Thank you for replying! Appreciate it.


Bug: Statusline icon is using the same background as tabline

Self Checks

[X] I'm using the latest lualine.
[X] I didn't find the issue in exsisting issues or prs.

How to reproduce the problem

Set the minimum config below as ~/.config/nvim/init.vim
Run nvim ~/.config/nvim/init.vim (or open any other file with a filetype that contains an icon).

Expected behaviour
The statusline icon should use the same background color as the statusline background, not use the background color from the tabline.
Actual behaviour
Observe that the icon shown in tabline has the correct background color, but the icon shown in statusline is using the tabline's background color.
See top left and bottom right of the following example image.

Minimal config to reproduce the issue
call plug#begin()
        Plug 'nvim-lualine/lualine.nvim'
        " If you want to have icons in your statusline choose one of these
        Plug 'kyazdani42/nvim-web-devicons'
call plug#end()

lua << END
require('lualine').setup {
  options = {
    icons_enabled = true,
    theme = 'auto',
  },
  tabline = {
        lualine_a = { 'filetype' },
        lualine_b = {},
        lualine_c = {},
        lualine_x = {},
        lualine_y = {},
        lualine_z = {},
    },
  sections = {
    lualine_a = {},
    lualine_b = {},
    lualine_c = {},
    lualine_x = { 'filetype' },
    lualine_y = {},
    lualine_z = {}
  },
}
END

Thanks for reporting . See if 7db1db3cd97079cf9c0089bc04afe71e90256a23 fixed it for you

Thanks for the quick response, it fixed it!


Small performance improvements

Small performance improvements

Can one of the admins verify this patch?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@bb44678). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #643   +/-   ##
=========================================
  Coverage          ?   25.66%
  Complexity        ?     5956
=========================================
  Files             ?     1379
  Lines             ?    82097
  Branches          ?    11507
=========================================
  Hits              ?    21068
  Misses            ?    58988
  Partials          ?     2041

Impacted Files
Coverage Δ
Complexity Δ

...ache/kylin/engine/mr/common/AbstractHadoopJob.java
15.25% <0%> (ø)
2 <0> (?)

...org/apache/kylin/common/util/ClasspathScanner.java
0% <0%> (ø)
0 <0> (?)

...n/engine/mr/steps/lookup/LookupExecutableUtil.java
0% <0%> (ø)
0 <0> (?)

...kylin/engine/mr/common/HadoopJobStatusChecker.java
12.5% <0%> (ø)
3 <0> (?)

.../main/java/org/apache/kylin/common/util/Bytes.java
1.01% <0%> (ø)
3 <0> (?)

...ylin/cache/cachemanager/MemcachedCacheManager.java
43.33% <0%> (ø)
7 <0> (?)

...java/org/apache/kylin/common/util/MailService.java
0% <0%> (ø)
0 <0> (?)

...kylin/storage/gtrecord/GTCubeStorageQueryBase.java
0% <0%> (ø)
0 <0> (?)

Continue to review full report at Codecov.

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


Need BRAM simulation model

The initial cells_sim.v for BRAM (https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc7/techmap/cells_sim.v) does not include a simulation of its behavior.  A model should be added to allow for simulations.

This is now resolved with the release of Xilinx unisims.


git tags and releases criteria.

Trying to package this in our internal repositories, I've found a couple of issues that I'd like to share here.
First the tagging cannot be ascii sorted
$ git tag -l --sort=v:refname | tail
v3.3.0rc1
v3.4.0
v3.4.0.post1
v3.4.0.post2
v3.4.0rc1
v3.4.0rc2
v3.4.0rc3
v3.4.0rc4
v3.4.0rc5
v3.4.0rc6

this was easily solved with
$ git tag --sort=creatordate  | tail
v3.3.0
v3.4.0rc1
v3.4.0rc2
v3.4.0rc3
v3.4.0rc4
v3.4.0rc5
v3.4.0rc6
v3.4.0
v3.4.0.post1
v3.4.0.post2

This will be valid as long as you don't tag back some code.
The second thing is the package manager and the way it compares versions, that cannot be solved so easily.
	package puppetboard-3.4.0rc1-1.ad8.x86_64 (which is newer than puppetboard-3.4.0.post2-1.ad8.x86_64) is already installed

Our automation takes the tag and uses it as a version, I wonder if you also face this challenge and if it's something that can be considered to improve.
Regarding this, I plan to use my own tagging so the new version won't be considered a downgrade.
I don't think this is an issue per se, but it'll be nice to talk about this, that's why I'm using this channel.
Regards.

Hi @GermanG!

First the tagging cannot be ascii sorted (...)

I think that sorting tags alphanumerically and expecting the result to be correct order according to some versioning scheme is very optimistic, to put it mildly.
Even clean semver versions are not sortable this way. Take for example these versions: 1.0.0, 2.0.0, 10.0.0. If you sort them alphanumerically you will get:
1.0.0
10.0.0
2.0.0

The second thing is the package manager and the way it compares versions, that cannot be solved so easily.

This project uses a standard Pythonic versioning according to PEP440 and within the the X.Y.Z part of the version we strive to follow semver.
If I am getting it right that you are repackaging these into some Linux distro native packages, like RPM, then you should modify the versions somehow to make them compliant with the target versioning scheme.
Note that if you want me (or someone else here) to help you more then you should share what is your target packaging.

The natural way to get the latest release according to the Python versioning scheme is to use some Python lib that handles it. I have used luddite for this purpose in another project, gitlabform. You can check out the code here.

I’ll close this issue as I assume that you got what you need, @GermanG. Please reopen if needed.


Azure static web app

recently I am trying to complete my technical onboarding ,verything is ok but when I use github actions some jobs aren't deployed yet but at the same time my azure static web app was created. I am afraid because of I received an mail i.e. Run failed.
due to this my technical onboarding is not completed yet.

kinda similar issue here

@adityaSkhorne2401 Could you attach the logs from the failed "Build and deploy" job within your CI pipeline - without that its difficult to tell what the issue here is - either way the static web app will be deployed as soon as its created, along with its default onboarding page - new content will only be deployed once your Build & Publish pipeline completes successfully


Domain activation is Failed - CNAME was in use before

App Id: dn7cz6uoj1m3z
Region: us-east-2
Step: Domain activation
Status: Failed
Issue/question
Domain validation is failed because during the first attempt the CNAME was attached to a Cloudfront Distribution already.
Error message
Error message: One or more of the CNAMEs you provided are already associated with a different resource.
Additional information
The CNAME was detached from the previous resource and is clear to be used already, but any RETRY still yields the same failure result.

Hi @dudestein
These guides are helpful for common custom domain issue. If those guides can not solve your issues, please let us know.
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html#cnamealreadyexistsexception-error
https://aws.amazon.com/premiumsupport/knowledge-center/resolve-cnamealreadyexists-error/

Hello @dudestein , did you associate the domain to other service? If so, make sure you are not trying to reuse one of the hostnames.
ref: https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html

That was exactly the case. The subdomain was initially attached to a
different load balancer.
I ultimately got it to work. I'm having a hard time with the redirects, but
the domain was activated after a while.
Thank you very much!!!
On Tue, Jun 2, 2020 at 7:44 PM Joyce Hao<EMAIL_ADDRESS>wrote:

Hello @dudestein https://github.com/dudestein , did you associate the
domain to other service? If so, make sure you are not trying to reuse one
of the hostnames.
ref:
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aws-amplify/amplify-console/issues/675#issuecomment-637864240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHECU5JME4XPEDBSNF4PM3RUWFEDANCNFSM4NA6VSAQ
.


Warning: File has unbalanced q/Q operators (too many q's)

Hi,
I'm using PDFKit to create a PDF with several pages then print using CUPS. It prints up to the last page, then gives the following message:
D [19/Nov/2015:16:01:47 +0000] [Job 95] Set job-printer-state-message to "Processing page 7...", current level=INFO
D [19/Nov/2015:16:01:47 +0000] [Job 95] **** Warning: File has unbalanced q/Q operators (too many q's)
D [19/Nov/2015:16:01:47 +0000] [Job 95] **** This file had errors that were repaired or ignored.
D [19/Nov/2015:16:01:47 +0000] [Job 95] **** The file was produced by:
D [19/Nov/2015:16:01:47 +0000] [Job 95] **** >>>> PDFKit <<<<
D [19/Nov/2015:16:01:47 +0000] [Job 95] **** Please notify the author of the software that produced this
D [19/Nov/2015:16:01:47 +0000] [Job 95] **** file that it does not conform to Adobe's published PDF
D [19/Nov/2015:16:01:47 +0000] [Job 95] **** specification.
Any ideas?

So, first:

Are you sure you're using the ruby project and not the node.js project of the same name?
I've never seen this before
We don't ever claim to produce a PDF because the actual PDF generation is done by a different tool which leads me back to my first question.

I'm very sorry - I accidentally entered this onto the wrong tab (I had this and the node.js) repo open.

@tomardern No worries! That's why I asked the question. This is a frequent occurrence.


not rendering to

For instance this
<f7-view id="right-view" navbar-through :dynamic-navbar="true" view-right>
Render to

Expected

Expected behavior is observed from
<f7-view id="main-view" navbar-through :dynamic-navbar="true" main>
Rendered to

Why did you get it should be rendered like that? <f7-view id="right-view" navbar-through :dynamic-navbar="true" class="view-right">


[Dynamic Regions] tikv leader can not balance after one tikv network partition for 50m and recover

Bug Report

What version of TiKV are you using?
./tikv-server -V
TiKV
Release Version:   7.2.0-alpha
Edition:           Community
Git Commit Hash:   358564185d38d0570345dcf907e0f80c2619f2e2
Git Commit Branch: heads/refs/tags/v7.2.0-alpha
UTC Build Time:    2023-05-10 11:40:30
Rust Version:      rustc 1.67.0-nightly (96ddd32c4 2022-11-14)
Enable Features:   pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           dist_release
2023-05-11T21:01:01.208+0800	INFO	k8s/client.go:132
What operating system and CPU are you using?
8c/32g
Steps to reproduce
https://tcms.pingcap.net/dashboard/executions/plan/1710011
ha-tikv-random-to-all-network-partition-last-for-50m
What did you expect?
tikv leader can balance
What did happened?

/type bug
/severity critical
/assign bufferflies

/type bug
/severity critical
/assign bufferflies

the root cause is that tikv can't exec the transfer leader  command:
pd log :
"balance-leader {transfer leader: store 6 to 4} (kind:leader, region:504(181, 11), createAt:2023-05-12 10:31:10.308633726 +0800 CST m=+55638.683848862, startAt:2023-05-12 10:31:10.309020766 +0800 CST m=+55638.684235920, currentStep:0, size:12390, steps:[transfer leader from store 6 to store 4]，timeout:[2h3m54s])"
tikv log :
[2023/05/12 11:52:28.695 +08:00] [INFO] [region.rs:258] ["try to transfer leader"] [to_peers="[]"] [to_peer="id: 837 store_id: 4"] [from_peer="id: 507 store_id: 6"] [region_id=504]
[2023/05/12 11:52:28.696 +08:00] [INFO] [transfer_leader.rs:170] ["reject to transfer leader"] [last_index=67798] [index=49315] [reason="pending conf change"] [to="id: 837 store_id: 4"] [peer_id=507] [region_id=504]

after restart the failed store,  the follower can fetch some log (from 49315  to 50014), and the commit index is the latest:
[2023/05/12 18:51:22.009 +08:00] [INFO] [peer.rs:489] ["recovery completed"] [apply_index=50014] [peer_id=837] [region_id=504]
[2023/05/12 19:04:04.192 +08:00] [INFO] [transfer_leader.rs:170] ["reject to transfer leader"] [last_index=69421] [index=50014] [reason="pending conf change"] [to="id: 837 store_id: 4"] [peer_id=507] [region_id=504]
[2023/05/12 19:06:41.981 +08:00] [DEBUG] [raft.rs:612] ["Sending from 837 to 507"] [msg="msg_type: MsgHeartbeatResponse to: 507 commit: 69427"] [to=507] [from=837] [raft_id=837] [peer_id=837] [region_id=504]


docs: notice for OpenAPI paths changing in future versions

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Just moved to the nightly channel, and so did the endpoints 😂

📝 Checklist

[ ] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

Was going to mention thanks!


Added two not non-apperant tests

When perusing over the not test cases, I found two tests that was not clear how it should be handled. The two tests are added to the following schema:
{
    "not": {
        "type": "object",
        "properties": {
            "foo": {
                "type": "string"
            }
        }
     }
}

To include that empty objects are not allowed, as well as unknown properties.
{
    "description": "mismatch empty object",
    "data": {},
    "valid": false
},
{
    "description": "mismatch object with different prop",
    "data": { "bar": "foo"},
    "valid": false
},

Thanks, -- though I'm not sure I fully see what these add -- the (existing) tests there for not aren't meant to be comprehensive over the behavior of properties -- that's checked elsewhere.
Can you really see a scenario where properties is implemented properly, but not is implemented such that these new tests fail but no other existing ones do? (I can't personally).

Thanks, -- though I'm not sure I fully see what these add -- the (existing) tests there for not aren't meant to be comprehensive over the behavior of properties -- that's checked elsewhere.

The properties tests don't include any not behavior, as this use-case is uncovered (at least I can't find it, or understand what you mean in terms of checked somewhere else).

Can you really see a scenario where properties is implemented properly, but not is implemented such that these new tests fail but no other existing ones do? (I can't personally).

hmm, that is actually a good question 🤔 I don't have that much experience in the implementation side of validation.
My thoughts about these use-cases are that they are different from what is later described, where we test the absence of the property: https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/88c6af8e9e6daea369c4231744418277fbb2231e/tests/draft2019-09/not.json#L84
This means that (at least not to me when reading the test cases) that an empty object and non-defined property is rejected.
But if it, from the implementation side of things does not cover anything extra, it makes sense to discard this PR 🙂


External Resources

Resources Page
Please comment with your own suggestions.
I won’t merge this in until we are ready to publish.
If you have editing permission please edit it directly.
Resolves #5
Replaces #5

It doesn’t have to stay as I’ve changed it now, I’ve just formatted it.
Plus I’ve noticed that there’s no mention of <this://kind.of/links> in CONTRIBUTING.

I don't think it should be in misc/, because it ties together the guides and provides more for the users to learn, it seems more important than that (or it will be in it's completed state*).
On the docs, would you want it to be visible in the sidebar or hidden by default?
Of course, this is just my opinion. I will leave it as it is for now.
*Not fully completed, but enough to be very useful

I don't think it should be in misc/

I want as few files in the root dir as possible. That’s why.

On the docs, would you want it to be visible in the sidebar or hidden by default?

Huh? What?

Replaces #5

Is there any reason for you writing this?

Is there any reason for you writing this?

Replaces discussion in #5
But not necessary, I guess.

Where to learn javascript?
Do you have any suggestions?
This one looks well though out:
https://learnjavascript.online
I'm pretty sure I started learning with the Raspberry Pi projects


Keys Error on Sketch 46.2

Hi!
After updating Keys to latest 0.8.7 version, Sketch (46.2) shows this error every time I try to open it.
After clicking "OK", Sketch will open normally, but Keys won't work anymore.
Is there a way to fix this without updating Sketch to newer version?
Thanks.

Hey there!
In short: nope, sorry. Please check out #25 for the details.
Cheers!

@exevil
Sorry, didn't saw this one is already answered. I'll rollback to 0.8.6, thanks!

No probs, thank you for the feedback though.


Bug: Global previewer = false doesn't work

RTFM Checklist

[X] I have searched exisiting issues / discussions
[ ] I have read the Wiki including the Advanced section
[ ] I have read man fzf / I am well versed in shell fzf

Operating system
Debian 12
Shell
zsh
Neovim version (nvim --version)
NVIM v0.9.5
Fzf version (fzf --version)
0.38.0 (debian)
Output of :lua print(os.getenv('FZF_DEFAULT_OPTS'))
nil
Is the problem reproducible with mini.sh?

[ ] My issue is reproducible with mini.sh
[ ] My issue IS NOT reproducible with mini.sh
[X] I have not tested with mini.sh (not relevant, requires LSP, Windows, etc)

Fzf-lua configuration
require('fzf-lua').setup({
previewer = false
})

Describe the bug / steps to reproduce
When set globally, previewer isn't disabled for any of the fzf-lua commands.
When set locally, the previewer is disabled properly.
local fzf = require "fzf-lua"
vim.keymap.set("n", "w", function()
    fzf.files({
        previewer = false
    })
end

What im trying to do here is make previewer disabled by default and explicitly enable it when setting keymaps.

I tried this which works for my use case.
winopts = {
    preview = { hidden = "hidden" }
}

Nevermind, I missed the fact that these must be placed inside a defaults table.
require("fzf-lua").setup({ defaults = { file_icons = false } })

It'd be good to

make this the first code snippet in https://github.com/ibhagwan/fzf-lua/blob/main/OPTIONS.md#general-usage.
Include this in https://github.com/ibhagwan/fzf-lua?tab=readme-ov-file#default-options

Include this in https://github.com/ibhagwan/fzf-lua?tab=readme-ov-file#default-options

https://github.com/ibhagwan/fzf-lua/blob/e412b1b0db62ccfccee41d994da87923eb2d8abd/README.md?plain=1#L796-L801


cupsd freezes and consumes 100% CPU

On several servers, from time to time cups is not responding : the cupsd processus consumes 100% CPU. The only solution is to kill then restart it.
We are using IPP protocol, through CUPS4J to communicate with cups.
Version of cups we are using : 2.2.10-6+deb10u3
Below is 2 debug logs :
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Read: status=100, state=6
D [02/Dec/2020:08:57:44 +0100] [Client 13425] 2.0 Get-Printer-Attributes 1
D [02/Dec/2020:08:57:44 +0100] Get-Printer-Attributes ipp://localhost:631/printers/IT08872
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/IT08872) from localhost.
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Content-Length: 1994
D [02/Dec/2020:08:57:44 +0100] [Client 13425] cupsdSendHeader: code=200, type=""application/ipp"", auth_type=0
D [02/Dec/2020:08:57:44 +0100] [Client 13425] con->http=0x564da04ac080
D [02/Dec/2020:08:57:44 +0100] [Client 13425] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1994, response=0x564da04a3bf0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [02/Dec/2020:08:57:44 +0100] [Client 13425] bytes=0, http_state=0, data_remaining=1994
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Flushing write buffer.
D [02/Dec/2020:08:57:44 +0100] [Client 13425] New state is HTTP_STATE_WAITING
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Waiting for request.

D [02/Dec/2020:08:57:44 +0100] Discarding unused printer-state-changed event...

D [02/Dec/2020:08:57:44 +0100] [Client 13425] 2.0 Validate-Job 2
D [02/Dec/2020:08:57:44 +0100] Validate-Job ipp://localhost:631/printers/IT08872
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Returning IPP successful-ok for Validate-Job (ipp://localhost:631/printers/IT08872) from localhost.

D [02/Dec/2020:08:57:44 +0100] [Client 13426] Accepted from localhost:44662 (IPv4)
D [02/Dec/2020:08:57:44 +0100] [Client 13426] Waiting for request.

D [02/Dec/2020:08:57:44 +0100] [Client 13425] New state is HTTP_STATE_WAITING
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Waiting for request.

D [02/Dec/2020:08:57:44 +0100] [Client 13426] 2.0 Get-Printer-Attributes 3
D [02/Dec/2020:08:57:44 +0100] Get-Printer-Attributes ipp://localhost:631/printers/IT08872
D [02/Dec/2020:08:57:44 +0100] [Client 13426] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/IT08872) from localhost.

D [02/Dec/2020:08:57:44 +0100] [Client 13425] 2.0 Create-Job 4
D [02/Dec/2020:08:57:44 +0100] Create-Job ipp://localhost:631/printers/IT08872
D [02/Dec/2020:08:57:44 +0100] [Job 4495] Removing from history.

D [02/Dec/2020:08:57:44 +0100] add_job: requesting-user-name=""remroot""
D [02/Dec/2020:08:57:44 +0100] Adding default job-sheets values ""none,none""...
"I [02/Dec/2020:08:57:44 +0100] [Job 4995] Adding start banner page ""none"".
D [02/Dec/2020:08:57:44 +0100] Discarding unused job-created event...
"I [02/Dec/2020:08:57:44 +0100] [Job 4995] Queued on ""IT08872"" by ""remroot"".
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/IT08872) from localhost.
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Content-Length: 206
D [02/Dec/2020:08:57:44 +0100] [Client 13425] cupsdSendHeader: code=200, type=""application/ipp"", auth_type=0
D [02/Dec/2020:08:57:44 +0100] [Client 13426] con->http=0x564d9fff6bf0
D [02/Dec/2020:08:57:44 +0100] [Client 13426] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1994, response=0x564da04a3bf0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [02/Dec/2020:08:57:44 +0100] [Client 13426] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [02/Dec/2020:08:57:44 +0100] [Client 13426] bytes=0, http_state=0, data_remaining=1994
D [02/Dec/2020:08:57:44 +0100] [Client 13426] Flushing write buffer.
D [02/Dec/2020:08:57:44 +0100] [Client 13426] New state is HTTP_STATE_WAITING
D [02/Dec/2020:08:57:44 +0100] [Client 13426] Waiting for request.

D [02/Dec/2020:08:57:44 +0100] [Client 13425] New state is HTTP_STATE_WAITING
D [02/Dec/2020:08:57:44 +0100] [Client 13425] Waiting for request.

D [02/Dec/2020:08:57:44 +0100] [Job 4993] Sending file 1 using chunking...

D [02/Dec/2020:08:57:44 +0100] [Client 13426] 2.0 Get-Job-Attributes 6
D [02/Dec/2020:08:57:44 +0100] Get-Job-Attributes ipp://localhost:631/printers/IT08872
2nd debug log (on another server) :
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [10] = \application/x-csource
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [11] = \application/x-perl
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [12] = \application/x-shell
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [13] = \image/gif
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [14] = \image/jpeg
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [15] = \image/png
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [16] = \image/pwg-raster
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [17] = \image/tiff
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [18] = \image/urf
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [19] = \image/x-bitmap
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [20] = \image/x-photocd
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [21] = \image/x-portable-anymap
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [22] = \image/x-portable-bitmap
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [23] = \image/x-portable-graymap
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [24] = \image/x-portable-pixmap
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [25] = \image/x-sgi-rgb
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [26] = \image/x-sun-raster
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [27] = \image/x-xbitmap
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [28] = \image/x-xpixmap
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [29] = \image/x-xwindowdump
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [30] = \text/css
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [31] = \text/html
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [32] = \text/plain
D [02/Dec/2020:13:25:05 +0200] [Job 13042] media-col-supported (7 values)
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [0] = \media-bottom-margin
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [1] = \media-left-margin
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [2] = \media-right-margin
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [3] = \media-size
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [4] = \media-source
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [5] = \media-top-margin
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [6] = \media-type
D [02/Dec/2020:13:25:05 +0200] [Job 13042] operations-supported (47 values)
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [0] = Print-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [1] = Validate-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [2] = Create-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [3] = Send-Document
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [4] = Cancel-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [5] = Get-Job-Attributes
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [6] = Get-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [7] = Get-Printer-Attributes
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [8] = Hold-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [9] = Release-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [10] = Pause-Printer
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [11] = Resume-Printer
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [12] = Purge-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [13] = Set-Printer-Attributes
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [14] = Set-Job-Attributes
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [15] = Get-Printer-Supported-Values
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [16] = Create-Printer-Subscriptions
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [17] = Create-Job-Subscriptions
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [18] = Get-Subscription-Attributes
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [19] = Get-Subscriptions
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [20] = Renew-Subscription
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [21] = Cancel-Subscription
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [22] = Get-Notifications
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [23] = Enable-Printer
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [24] = Disable-Printer
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [25] = Hold-New-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [26] = Release-Held-New-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [27] = Cancel-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [28] = Cancel-My-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [29] = Close-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [30] = CUPS-Get-Default
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [31] = CUPS-Get-Printers
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [32] = CUPS-Add-Modify-Printer
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [33] = CUPS-Delete-Printer
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [34] = CUPS-Get-Classes
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [35] = CUPS-Add-Modify-Class
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [36] = CUPS-Delete-Class
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [37] = CUPS-Accept-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [38] = CUPS-Reject-Jobs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [39] = CUPS-Set-Default
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [40] = CUPS-Get-Devices
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [41] = CUPS-Get-PPDs
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [42] = CUPS-Move-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [43] = CUPS-Authenticate-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [44] = CUPS-Get-PPD
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [45] = CUPS-Get-Document
D [02/Dec/2020:13:25:05 +0200] [Job 13042] [46] = Restart-Job
D [02/Dec/2020:13:25:05 +0200] [Job 13042] Set job-printer-state-message to Connected to printer., current level=INFO
D [02/Dec/2020:13:25:05 +0200] [Job 13042] update_reasons(attr=1(none), s=(null))
D [02/Dec/2020:13:25:05 +0200] Discarding unused job-progress event...
D [02/Dec/2020:13:25:05 +0200] Discarding unused printer-state-changed event...

D [02/Dec/2020:13:25:05 +0200] [Client 340] Accepted from localhost:43874 (IPv4)
D [02/Dec/2020:13:25:05 +0200] [Client 340] Waiting for request.
D [02/Dec/2020:13:25:05 +0200] [Client 339] Read: status=100, state=6
D [02/Dec/2020:13:25:05 +0200] [Client 339] Read: status=100, state=6
D [02/Dec/2020:13:25:05 +0200] [Client 339] Read: status=100, state=6
D [02/Dec/2020:13:25:05 +0200] [Client 339] Read: status=100, state=6
D [02/Dec/2020:13:25:05 +0200] [Client 339] 2.0 Validate-Job 2
D [02/Dec/2020:13:25:05 +0200] Validate-Job ipp://localhost:631/printers/IT08845
D [02/Dec/2020:13:25:05 +0200] [Client 339] Returning IPP successful-ok for Validate-Job (ipp://localhost:631/printers/IT08845) from localhost.
D [02/Dec/2020:13:25:05 +0200] [Client 339] Content-Length: 75
D [02/Dec/2020:13:25:05 +0200] [Client 339] cupsdSendHeader: code=200, type=application/ipp, auth_type=0
D [02/Dec/2020:13:25:05 +0200] [Job 13042] IPP/2.0 Get-Printer-Attributes #3
D [02/Dec/2020:13:25:05 +0200] [Job 13042] ---- operation-attributes-tag ----
D [02/Dec/2020:13:25:05 +0200] [Job 13042] attributes-charset charset utf-8
D [02/Dec/2020:13:25:05 +0200] [Job 13042] attributes-natural-language naturalLanguage en-us
D [02/Dec/2020:13:25:05 +0200] [Job 13042] printer-uri uri ipp://localhost:631/printers/IT08845
D [02/Dec/2020:13:25:05 +0200] [Job 13042] requesting-user-name nameWithoutLanguage remroot
D [02/Dec/2020:13:25:05 +0200] [Job 13042] requested-attributes 1setOf keyword compression-supported,copies-supported,cups-version,document-format-supported,job-password-encryption-supported,marker-colors,marker-high-levels,marker-levels,marker-low-levels,marker-message,marker-names,marker-types,media-col-supported,multiple-document-handling-supported,operations-supported,print-color-mode-supported,printer-alert,printer-alert-description,printer-is-accepting-jobs,printer-mandatory-job-attributes,printer-state,printer-state-message,printer-state-reasons
D [02/Dec/2020:13:25:05 +0200] [Job 13042] ---- end-of-attributes-tag ----
D [02/Dec/2020:13:25:05 +0200] [Client 339] con->http=0x55f313039320
D [02/Dec/2020:13:25:05 +0200] [Client 339] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x55f3123789a0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [02/Dec/2020:13:25:05 +0200] [Client 339] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [02/Dec/2020:13:25:05 +0200] [Client 339] bytes=0, http_state=0, data_remaining=75
localhost - - [02/Dec/2020:13:25:05 +0200] POST /printers/IT08845 HTTP/1.1 200 231 Validate-Job successful-ok
D [02/Dec/2020:13:25:05 +0200] [Client 339] Flushing write buffer.
D [02/Dec/2020:13:25:05 +0200] [Client 339] New state is HTTP_STATE_WAITING
D [02/Dec/2020:13:25:05 +0200] [Client 339] Waiting for request.

D [02/Dec/2020:13:25:05 +0200] [Client 340] 2.0 Get-Printer-Attributes 3
D [02/Dec/2020:13:25:05 +0200] Get-Printer-Attributes ipp://localhost:631/printers/IT08845
D [02/Dec/2020:13:25:05 +0200] [Client 340] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/IT08845) from localhost.

D [02/Dec/2020:13:25:05 +0200] [Client 339] 2.0 Create-Job 4
D [02/Dec/2020:13:25:05 +0200] Create-Job ipp://localhost:631/printers/IT08845
D [02/Dec/2020:13:25:05 +0200] [Job 12649] Removing from history.

D [02/Dec/2020:13:25:05 +0200] add_job: requesting-user-name=remroot
D [02/Dec/2020:13:25:05 +0200] Adding default job-sheets values none,none...
I [02/Dec/2020:13:25:05 +0200] [Job 13046] Adding start banner page none.
D [02/Dec/2020:13:25:05 +0200] Discarding unused job-created event...
I [02/Dec/2020:13:25:05 +0200] [Job 13046] Queued on IT08845 by remroot.
D [02/Dec/2020:13:25:05 +0200] [Client 339] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/IT08845) from localhost.
D [02/Dec/2020:13:25:05 +0200] [Client 339] Content-Length: 207
D [02/Dec/2020:13:25:05 +0200] [Client 339] cupsdSendHeader: code=200, type=application/ipp, auth_type=0
D [02/Dec/2020:13:25:05 +0200] [Client 340] con->http=0x55f313132100
D [02/Dec/2020:13:25:05 +0200] [Client 340] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1831, response=0x55f313038f00(IPP_STATE_DATA), pipe_pid=0, file=-1
D [02/Dec/2020:13:25:05 +0200] [Client 340] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [02/Dec/2020:13:25:05 +0200] [Client 340] bytes=0, http_state=0, data_remaining=1831
D [02/Dec/2020:13:25:05 +0200] [Client 340] Flushing write buffer.
D [02/Dec/2020:13:25:05 +0200] [Client 340] New state is HTTP_STATE_WAITING
D [02/Dec/2020:13:25:05 +0200] [Client 340] Waiting for request.

D [02/Dec/2020:13:25:05 +0200] [Client 339] New state is HTTP_STATE_WAITING
D [02/Dec/2020:13:25:05 +0200] [Client 339] Waiting for request.

D [02/Dec/2020:13:25:05 +0200] [Job 13042] Sending file 1 using chunking...

D [02/Dec/2020:13:25:05 +0200] [Client 340] Read: status=100, state=6
D [02/Dec/2020:13:25:05 +0200] [Client 340] Read: status=100, state=6
D [02/Dec/2020:13:25:05 +0200] [Client 340] 2.0 Get-Job-Attributes 6
D [02/Dec/2020:13:25:05 +0200] Get-Job-Attributes ipp://localhost:631/printers/IT08845
If you need more information,
Thanks

Please contact the OpenPrinting CUPS project for assistance. I'm guessing this issue has been fixed already, however.


Fixed "You are already logged in as"

Why delete StrLen(BwStatus.activeUserId)? Why not add StrLen(BwStatus.global_account_activeAccountId) as an additional OR condition?

Why delete StrLen(BwStatus.activeUserId)? Why not add StrLen(BwStatus.global_account_activeAccountId) as an additional OR condition?

Because BwStatus.activeUserId does not exist anymore and got changed to BwStatus.global_account_activeAccountId.


chore(commit): add commitlint (#23)

Closes #22

:tada: This PR is included in version 1.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implementation Error

Model predicts the same number after the third epoch - I tried on a much larger dataset of structures (20,000) to train and this was the case.

I also tried changing various parameters such as batch size, LR etc. Always predicts the same RMSD for any structure provided.

I have the same issue. No matter what I do, RMSDs of various RNA structures will only differ in the fourth decimal place..

Please try official code.


⚠ ClamAV has degraded performance

In 6ae8d68, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 459 ms

Resolved: ClamAV performance has improved in 24b9da4.


Solution for åäö gets turned into ���.

Sends the data that is non unicode directly instead of converting it to unicode first and then sending.
This solves the issue where åäö gets turned into ��� on android and empty text on iOS (personally tested on both platforms on the official app).
I have not tested third party apps except Hue Essentials, and seems to be working there as well.
After inspecting the API compared to a real Hue bridge with postman sending the same requests i got the following responses
Real Hue Bridge:
"1": {
        "name": "Kök",
        "lights": [
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "14"
        ],
        "sensors": [],
        "type": "Room",
        "state": {
            "all_on": true,
            "any_on": true
        },
        "recycle": false,
        "class": "Kitchen",
        "action": {
            "on": true,
            "bri": 253,
            "ct": 336,
            "alert": "none",
            "colormode": "ct"
        }
    },

Emulated Hue Bridge:
"4": {
        "class": "Kitchen",
        "lights": [
            "15",
            "16",
            "17",
            "18",
            "19",
            "20",
            "21",
            "22"
        ],
        "name": "K\u00f6k",
        "type": "Room"
    }

And with the changes in this pull request the \u00f6 gets replaced with the actual character ö like the real hue bridge.
So the result will now instead be the following:
"4": {
        "class": "Kitchen",
        "lights": [
            "15",
            "16",
            "17",
            "18",
            "19",
            "20",
            "21",
            "22"
        ],
        "name": "Kök",
        "type": "Room"
    }

Some final notes:

this might impact other regions as well so needs to be tested by others, i doubt it will break for others but you never really know (since we don't really know how the app operates internally).
There might be a better way of handling this, as i have not actually coded that much in python before (coming from a c#/asp.net background), so please if anything can be done in a better way tell me.

Solves Issue #19 and Issue #30

Thanks for the PR, I'll take a look tomorrow as I've checked in a bunch of changes that are now conflicting.
Also I'm wondering if there's another fix for this such as a global setting in the json encoder.

Thanks for taking a look at it, pulled down your changes and merged them into my branch so there should no longer be any more merge conflicts.

Thanks! I'm still wondering what's causing this. I can't remember ever have seen this issue with aiohttp and the default json encoder before. But if I remember correctly the standard for json is that strings are UTF-8 encoded so it might be that the Hue bridge implementation just doesn't follow the specs strictly.

Yep i think you are right, the hue bridge doesn't specify any encoding in its content-type either so we can not know for 100% certainty what encoding they are using.
But what we do know is that the app itself does not handle unicode conversion properly, at least on android it tries to read it but spits out the � symbol, but on iOS it just leaves the text blank.

I could not come up with a better/other solution. The issue lies in the json encoder forcing ascii for unicode characters.
As far as I can see will your PR not create any side affects and it works as expected.
Thanks!!


[TA] merge Feature/textanalyticsv31 branch

All changes have been previously reviewed and approved in the Feature/textanalyticsv31 branch.
There are no new changes in this PR

/azp run net - textanalytics - tests


[Component] Create Heading component

Create the Heading component, which will be used on several pages of the website and must be customizable.
Design:

Finished with d5ce193.


Migrate to service ids for event names

This moves events from using some combination of service name and
enpoint prefix to always using the new service id. This maintains
compatiblity with the previous state, but nonetheless updates all
internal usage.
It also migrates the aliasing strategy to using a wrapper class so custom
emitters are also aliased.

Codecov Report

Merging #1524 into develop will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           develop   #1524      +/-   ##
==========================================
+ Coverage    72.83%   72.9%   +0.07%
==========================================
  Files          128     128
  Lines        14236   14274      +38
==========================================
+ Hits         10369   10407      +38
  Misses        3867    3867

Impacted Files
Coverage Δ

botocore/session.py
98.74% <100%> (+0.01%)
:arrow_up:

botocore/utils.py
98.45% <100%> (ø)
:arrow_up:

botocore/endpoint.py
97.46% <100%> (+0.04%)
:arrow_up:

botocore/client.py
99.74% <100%> (ø)
:arrow_up:

botocore/signers.py
98.52% <100%> (+0.02%)
:arrow_up:

botocore/args.py
100% <100%> (ø)
:arrow_up:

botocore/hooks.py
96.29% <100%> (+0.31%)
:arrow_up:

Continue to review full report at Codecov.

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

Also, does this have any CLI implications?

The updates to the upgrading notes look fine. For me, there is just remaining conversation related to how we consume service id for the event emission that needs to get resolved.

updated


[utils] add option to use external heap

This PR introduces a new API call:
otHeapSetCAllocFree

The API is available to the application from instance.h header and is enabled when EXTERNAL_HEAP common switch is set.
The call must be invoked before the OpenThread instance is initialized.
This allows the OpenThread to use an external heap for allocation, for example from FreeRTOS.

I found the Heap is only used in the following places:
src/core/common/instance.hpp:259:    Utils::Heap &GetHeap(void) { return mHeap; }
src/core/crypto/mbedtls.cpp:56:    return Instance::Get().GetHeap().CAlloc(aCount, aSize);
src/core/crypto/mbedtls.cpp:61:    Instance::Get().GetHeap().Free(aPointer);
src/core/meshcop/border_agent.cpp:278:    instance.GetHeap().Free(&forwardContext);
src/core/meshcop/border_agent.cpp:578:    forwardContext = static_cast<ForwardContext *>(GetInstance().GetHeap().CAlloc(1, sizeof(ForwardContext)));
src/core/meshcop/border_agent.cpp:612:            GetInstance().GetHeap().Free(forwardContext);

Is it possible to support external heap by macros? Such as
// src/core/utils/heap.hpp
#if !OPENTHREAD_CONFIG_EXTERNAL_HEAP_ENABLE
#define otCAlloc(aInstance, aCount, aSize) static_cast<Instance*>(aInstance)->GetHeap().CAlloc(aCount, aSize)
#define otFree(aInstance, aPointer) static_cast<Instance*>(aInstance)->GetHeap().Free(aPointer)
#endif

The the platform can replace the allocators. On POSIX, it is possible to do:
#define otCAlloc(aInstance, aCount, aSize) calloc(aCount, aSize)
#define otFree(aInstance, aPointer) free(aPointer)

Thoughts?

The difference with calloc and free is that those functions are standard library calls.
In embedded systems we can't be sure whether the user wants to use FreeRTOS, Zephyr or any other system that provides its own heap implementation. That's why I think it would be more suitable to allow the user to set the allocators in the runtime, instead of having them change platform source file, or providing a platform specific API that would have the same effect.

@e-rk Sounds good to me! Is it possible to implement the external heap API in src/core/api/heap.c and define in include/openthread/heap.h?

@bukepo Thanks for your suggestions.
There are various things I had to consider when I implemented the external heap capability.
The heap must be already available before calling the otInstanceInitSingle function. The reason is that the mbedTLS already makes heap allocations inside the instance's constructor. That is why I had to statically allocate the pointers to otCAllocFn otFreeFn functions. I also wanted to allow the OpenThread to initialize/reinitialize its own internal heap object (if enabled) when it needs to and without introducing additional mechanism aside from the already used Heap constructor.
I considered creating a base Heap object, from which an InternalHeap and ExternalHeap would derive. The ExternalHeap would then refer to statically allocated otCAllocFn and otFreeFn and the InternalHeap would reside inside the instance. However it would require virtual method calls if the heap was to be retrieved using the GetHeap method, which is something I wanted to avoid. To avoid using the virtual methods here I would have to #if #else the GetHeap method to return the correct type, but it would require the heap users to know of the two implementations.
That is why I thought that making the Heap class an interface between the statically allocated internal/external heap implementations was the way to go.
What are your thoughts though?

@bukepo I have pushed the commit from your branch with changed commit messages and I moved some things around on top of it.

@abtink If you go through the history of this PR, it was originally implemented in class way. After discussions, we found implementing this way looks cleaner. Utils::Heap is a utility class for managing a block of memory, I tend to keep it as is. Besides, heap user only needs two functions, I don't think it's necessary to interface at Utils:Heap level. Thoughts?

Thanks @bukepo. I looked at the history.
Here is my suggestion (which is somewhat different from what was done originally):

We keep a single Utils:Heap class in utils/heap.hpp with its implementation in utils/heap.cpp.
The Heap class defines a common set of APIs and bunch of configuration specific APIs.

class Heap
{
   // Common APIs
    Heap(void);
    void *CAlloc(size_t aCount, size_t aSize);
    void Free(void *aPointer);

    // Config specific APIs
#if !OPENTHREAD_CONFIG_EXTERNAL_HEAP_ENABLE   // internal
    bool IsClean(void) const;
    size_t GetCapacity(void) const { return kFirstBlockSize; }
    //...
#else  // Any external-specific APIs

#endif
};

Within core any module can use the Heap class common APIs.

If a module wants a config specific API it needs to add the related #if checks when it uses it.

In the Heap class implementation we hide which flavor is being implemented (internal/external).

Another suggestion (which I saw being discussed above) is about the external model and how to provide the free and calloc. I think instead of using function pointers, we should delegate this to platform:

We define two new (optional) platform APIs in a new platform header file : include/openthread/platform/heap.h void *otPlatHeapCAlloc(size_t aCount, size_t aSzie);
 void otPlatHeapFree(void *aPointer);

These platform APIs are used by Heap class implementation and only when EXTERNAL_HEAP config is enabled.
This moves the definition to platform layer which seems to be a better fit for these APIs (make sense for platform/systems to provide such functionality). Also we won't need to provide a public OT API to set these as fun pointers and also no need to check/assert that the fn pointers are not NULL before using them.

Overall, I feel this model is simpler and cleaner.
Thoughts?

@abtink I think the first topic is where we define the interface to dynamic allocating memory. The second is how user provide the external allocator.
For topic 2, @e-rk described one requirement is to set allocator at runtime instead of at build time(see in the comment). mbedTLS has similar design: https://github.com/openthread/openthread/blob/master/src/core/crypto/mbedtls.cpp#L71. I think it's possible for us to support both ways, static and runtime.
For topic 1, as we have multiple ways to support external Heap, internal, static, runtime and we even have an option to support multiple OpenThread instances(i.e. Utils::Heap is not singleton), so I tend to keep Utils::Heap a simple utility module. And define unified memory allocating APIs in upper layers, maybe in Instance or src/core/api/heap_api. Thoughts?

Thank you @bukepo for providing an explanation.
I have pushed the changes @abtink suggested about moving static definitions to instance.cpp.


Bubblewrap init producing cryptic characters

Describe the bug
I am running the following command to stage my app for building and deployment with bubblewrap and am now receiving these very strange cryptic errors. This was not a problem a few days ago. See screenshot for errors.
bubblewrap init --manifest https://jamesmart77.github.io/justScripture/manifest.json
To Reproduce
Steps to reproduce the behavior:

Nvm use 14.15.1
Install globally -- npm i -g @bubblewrap/cli
Bubblewrap init...

Expected behavior
When initalizing a project, Bubblewrap will download the Web Manifest and ask you to confirm the values that should be used when building the Android project.
Screenshots

Additional Notes
Notice the strange LIBERTY LIBERTY LIBERTY lines in the screenshot after executing the bubblewrap init command...

See https://github.com/Marak/colors.js/issues/285 and https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/
Somewhere the NPM package colors is used in a version > 1.4.0, which is printing stuff in an infinite loop. You need to pin that package to version 1.4.0.

Thanks for flagging the issue, @amesmart77 and thanks for the solution, @floscher. The version has been pinned and this should be fixed in 1.15.0

Andre, does this mean that bubblewrap init is calling npm install somewhere where potentially we could be calling npm ci instead?


Tensorflow?

@nbei @metalbubble is there a tensorflow version in works?

Sorry for the late reply.
We do not plan to write our method in tensorflow.


Support multi-key index and support first key eq and combine key eq filter

Motivations

Would you like to implement this feature? [y/n]

Solution

Alternatives

Additional context

[ ] support run_query with multi-key and equal operator
[ ] support combine key query in Console
[ ] support combine key query via JS sdk


Changed instance of demog to demographics in execute.py.

I fixed my "oops" of merging @chrisrytting 's PR too quickly. There was only one instance of demog remaining in execute.py. That is now fixed to demographics.py.

ok great thanks @rickecon!


Prefer embedding sync.Mutex

These patches prefer embedding sync.Mutex, instead of using it as a member variable. They also add the devd[.exe] binary to .gitignore.
All unit tests pass and go fmt was ran.

Looks good. Thanks for being the first external contributor to the project!

No problem! Thanks for accepting my changes :D


JavaFx Windows fails to start Tor

Running the JavaFx sample on Windows results in an exception stating "Tor Stopped Early. Bad Config?", even though tests for kmp-tor module pass on Windows and Tor runs fine.
#25 is needed for further debugging.

Windows cannot use the Ports.Trans setting.


Create Special triplets

Hey @jawhara2501 Thank you for your PR , but please follow the guidelines mentioned in CONTRIBUTING.MD to get the PRs accepted .


Enhancement: disable "stage all" if there is merge conflict

The [A] key in Status dashboard stages file and the [A] key in Rebase dashboard aborts rebase.
When using the Status dashboard and there are merge conflicts, I very often will accidentally press the [A] key and think that it will abort the merge. This PR will avoid such a mistake.
Not sure if it is practical for others. I personally don't do "stage all" if there are merge conflicts, instead, I will stage the conflicted files individually.
Would like to hear how others think.

The maintainers of this repo require that all pull request submitters agree and adhere to the following:

[x] I have read and agree to the contribution guidelines.
(required)
[x] All related documentation has been updated to reflect the changes made. (required)
[x] My commit messages are cleaned up and ready to merge. (required)

The maintainers of this repository require you to select the semantic version type that
the changes in this pull request represent.  Please select one of the following:

[ ]  major
[ ]  minor
[x]  patch
[ ]  documentation only

Ai....... after another 5 min thinking. I guess there are situations stage all conflicts are useful. Say for example a batch renaming. Close it for now, but I guess we have to somehow make the dashboard keys consistent.


[BUG] fastfetch hangs with "kitty" and fails to display images

fastfetch hangs with "kitty" and fails to display images
Description: When using fastfetch with the "kitty" terminal, the command hangs indefinitely. In the "kitty-dyrect" terminal, fastfetch runs but does not display the image. The attached image (JPEG) works fine with icat in kitty.
Steps to reproduce:
Set the image path in ~/.config/fastfetch/config.jsonc.
Run fastfetch in "kitty" terminal — it hangs.
Run fastfetch in "kitty-dyrect" terminal — the image does not display.
Expected behavior: fastfetch should display the image.
Version: fastfetch 2.27.1 (x86_64)
OS: Linux Mint 22
Terminal: Kitty
Kernel: 6.8.0-38-generic

// ~/.config/fastfetch/config.jsonc
// See https://github.com/fastfetch-cli/fastfetch/wiki/Configuration for more details
// See *.jsonc in https://github.com/fastfetch-cli/fastfetch/tree/dev/presets/examples for more examples
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
//"logo": {
//    "type": "small"
//},
"logo": {
"type": "kitty",
"source": "~/.config/fastfetch/CAT.jpeg",
"height": 11
},
"display": {
"separator": "  "
},
"modules": [
{
"type": "title",
"color": {
"user": "red",
"at": "cyan",
"host": "blue"
}
},
{
"type": "os",
"key": "OS",
"keyColor": "yellow",
"format": "{2} {8}"
},
{
"type": "kernel",
"key": " ",
"keyColor": "yellow"
},
{
"type": "cpu",
"key": "PC",
"keyColor": "green"
},
{
"type": "disk",
"key": " ",
"keyColor": "green"
},
{
"type": "memory",
"key": " 󰑭",
"keyColor": "green"
},
{
"type": "wmtheme",
"key": "UI",
"keyColor": "magenta"
},
{
"type": "icons",
"key": " 󰀻",
"keyColor": "magenta"
},
{
"type": "colors",
"key": " ",
"keyColor": "magenta",
"symbol": "circle"
}
]
}

Cannot reproduce

In the "kitty-dyrect" terminal, fastfetch runs but does not display the image

It's kitty-direct. It support png images only. You have to convert your jpeg image to png before using.

Cannot reproduce

it's in kitty protocol? but why in mine kitty doesn't work? i install imagemagick

Cannot reproduce

it's in kitty protocol? but why in mine type kitty doesn't work? i install imagemagick fastfetch just doesn't work when i use type:"kitty"

yes

what is your kitty version?

hey ayo wtf. i install fastfetch from ubuntu ppa and ayo IT WORK. WHY?  type: "kitty" doens't work in kitty from github but work from ppa?

Cannot reproduce

it's in kitty protocol? but why in mine type kitty doesn't work? i install imagemagick fastfetch just doesn't work when i use type:"kitty"

yes


Indicate support for Python 3.5

Minor updates to indicate support for Python 3.5.

Codecov Report

Merging #87 into master will not impact coverage.

@@           Coverage Diff           @@
##           master      #87   +/-   ##
=======================================
  Coverage   81.23%   81.23%
=======================================
  Files          12       12
  Lines         325      325
  Branches       60       60
=======================================
  Hits          264      264
  Misses         51       51
  Partials       10       10

Continue to review full report at Codecov.

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

Thanks!

Thanks @thetwoj!
Not demanding support for, but as a side note, everything seems to be green in Python 3.6 as well.


Cannot change the footer of Modal

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-47tpaw
Steps to reproduce
Change the nzFooter (via updateConfig method) of the opened modal.
What is expected?
The new footer (buttons) should be rendered.
What is actually happening?
When the footer is set with initial configuration, the buttons are not overwritten with new configuration.
When footer is overwritten after the modal is opened (and wasn't with initial configuration) the buttons are rendered as [object Object].

Environment
Info

ng-zorro-antd
12.0.1

Browser
chrome

You can use template to solve it for now

But that's possible only when opening modal from component ... When I'm opening modal from service, the solution you suggested isn't possible, is it?

If it is triggered in service, you need to pass the Template to the function declared in your service file
import { Injectable } from '@angular/core';
import { NzModalService } from 'ng-zorro-antd/modal';

@Injectable({
  providedIn: 'root'
})
export class ModalDemoService {
  constructor(private readonly nzModalService: NzModalService) {}

  showModal(template: TemplateRef<{}>): void {
      ...
  }
}

Any update on this issue?

Hi @hsuanxyz, may I politely ask, if there is any progress with this issue? Thanks in advance.

Any update on this issue?


"Bundler not supported" error despite using Webpack

I currently have a project using Keycloakify v9.0.0. The layout is as follows
src
└── project
    ├── keycloak_theme
    │   └── login
    |   └── ...
    ...

The project uses Shadow CLJS, configured so that the compiler emits ESM code and Webpack handles bundling. (Details here: https://shadow-cljs.github.io/docs/UsersGuide.html#js-provider-external )
After upgrading to the latest version of Keycloakify (v9.4.2), I see the following error in the browser console. This is for the login page.
Uncaught Error: Bundler not supported
    BASE_URL            webpack://project/./node_modules/keycloakify/lib/BASE_URL.js?:43
    <anonymous>         webpack://project/./node_modules/keycloakify/lib/BASE_URL.js?:44
    js                  http://localhost:5000/static/js/libs.js:502
    __webpack_require__ http://localhost:5000/static/js/libs.js:2313
    <anonymous>         webpack://project/./node_modules/keycloakify/login/kcContext/kcContextMocks.js?:11
    ...

This problem occurs for both dev and production builds. The dev configuration looks like so.
const webpack = require("webpack");
const path = require("path");

module.exports = {
  target: "web",
  mode: "development",
  entry: "./build/index.js",
  output: {
    path: path.resolve(__dirname, "build/static/js"),
    filename: "libs.js"
  },
  plugins: [
    new webpack.ProvidePlugin({
      process: "process/browser"
    })
  ]
};

Hello @rome-user,
Thanks for reporting.
Try with the latest version and tell me if it fixes it.

great!


Release for SQLite 3.28.0?

Hey @xerial,
what would be necessary to cut a new release for SQLite 3.28?
Thanks,
Simon

Hello World

Thanks! Looking forward to the merge.

Released sqlite-jdbc 3.28.0

Thank you!


Change default bank tag searching prefix

Why?

Why not? I know I'd prefer typing a single character like ! instead of tag: every time I need to access tagged items.
I don't understand why customizability would be a bad thing.

I think jerwu's suggestion is a much cleaner realisation of the idea behind this pr. Why don't we just use a shorter prefix by default?

Changing the default would also be alright.
I think # would make the most sense to most people (as in #barrows, #ring, etc. when searching for them).

Basically agree with jer but changing the default works just as well for most cases I guess. Though it's mostly useless I'm not sure why it's a bad thing to give another simple option that could help a handful of users.

Understandable - that's a big issue with other clients and one of the reasons I switched to this. I'll go ahead and close this.

There was no need to close this, you could've just changed the PR to set the default tag to # (basing on the discussion that is the most friendly prefix).

(And you still can, if you want!)

Looks good now, I think everyone will be happy with this change. The next step is to squash all of the commits in this PR down to just one, to simplify the git history after it gets merged. The earlier commits effectively never happened since you've reverted them 👻

The other clients all use tag: do they not?

Yeah, both OSB and Konduit afaik.

I do not want to change the behavior of tag: since the other clients use it. Using both tag: or # would be fine.

Would anyone honestly prefer to type tag: instead of just # after learning how it works in RuneLite, though?

Closing as this is very old PR now and has a lot of merge conflicts, reopen if you want to re-implement it.


<EMAIL_ADDRESS>Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gettin errors when typing npm i in powershell
<EMAIL_ADDRESS>Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
resources\mx-bot\node_modules\erlpack
npm ERR! command failed

just use the builded ver


Added implementation for four of a kind and unit test

looks slow to me
git better
   return np.sum(dice) if np.max(np.bincount(dice)) >= 4 else 0


Add TextMate Scopes for eval/package

From @jabacchetta on July 1, 2018 16:29
As documented on StackOverfow, I was able to target all of JavaScript's reserved keywords via TextMate with the exception of two:

eval (disallowed in strict)
package (unused future keyword)

It's not clear to me whether this is something that needs to be updated in the TextMate grammar or if support just needs to be added in VS Code.
For eval, a support.function.eval.js scope appears to make sense. With package not actually being used yet, I'm not sure what scope that would go under.
Copied from original issue: Microsoft/vscode#53399

eval is not scoped as support.function.eval when not part of function-call in atom or sublime. package is scoped as "keyword.control" by atom/language-javascript so adding that.

@sheetalkamat Can you clarify "when not part of function-call" when/if you have a moment.
I'd like to italicize eval in this statement: console.log(eval('2 + 2'));
Will that be possible?

@jabacchetta eval in your example is scoped as "support.function" just like many other grammars do and it and other support.function can only be targeted with support.function

Would support.function.eval not make sense as an addition, in order to allow specifically targeting JavaScript reserved keywords as shown in my StackOverflow post?

That much detail is not requested enough to actually make that change. Also changing just one grammar is not enough.. People use different grammars/plugins so need to be universal change.

Gotcha, thanks for the clarification!


An error on generating  .pkl file

Hello, after getting dataset inplaced as suggested, I met an error when running any one of these command:
#using lidar data
python -m pcdet.datasets.dual_radar.dual_radar_dataset create_dual_radar_infos tools/cfgs/dataset_configs/dual_radar_dataset.yaml

#using arbe data
python -m pcdet.datasets.dual_radar.dual_radar_dataset_arbe create_dual_radar_infos tools/cfgs/dataset_configs/dual_radar_dataset_arbe.yaml

#using ars548 data
python -m pcdet.datasets.dual_radar.dual_radar_dataset_ars548 create_dual_radar_infos tools/cfgs/dataset_configs/dual_radar_dataset_ars548.yaml

And I found that the last item in training.txt of ImageSets is 005053, yes, where the error occurred,  so I wonder if this error is caused by the end of reading of training.txt,  but the image data or other sensor data still exists in folder yet. Can U provide any suggestion for this error, Thanks!
Here's what went wrong:
...
train sample_idx: 005051
train sample_idx: 005052
train sample_idx: 005053
Traceback (most recent call last):
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/hoho/Projects/03_Openmmlab/Dual-Radar/pcdet/datasets/dual_radar/dual_radar_dataset_arbe.py", line 501, in <module>
    create_dual_radar_infos(
  File "/home/hoho/Projects/03_Openmmlab/Dual-Radar/pcdet/datasets/dual_radar/dual_radar_dataset_arbe.py", line 465, in create_dual_radar_infos
    dual_radar_infos_train = dataset.get_infos(num_workers=workers, has_label=True, count_inside_pts=True)
  File "/home/hoho/Projects/03_Openmmlab/Dual-Radar/pcdet/datasets/dual_radar/dual_radar_dataset_arbe.py", line 208, in get_infos
    return list(infos)
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/concurrent/futures/_base.py", line 611, in result_iterator
    yield fs.pop().result()
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
    raise self._exception
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/hoho/Projects/03_Openmmlab/Dual-Radar/pcdet/datasets/dual_radar/dual_radar_dataset_arbe.py", line 138, in process_single_scene
    image_info = {'image_idx': sample_idx, 'image_shape': self.get_image_shape(sample_idx)}
  File "/home/hoho/Projects/03_Openmmlab/Dual-Radar/pcdet/datasets/dual_radar/dual_radar_dataset_arbe.py", line 79, in get_image_shape
    return np.array(io.imread(img_file).shape[:2], dtype=np.int32)
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/site-packages/skimage/io/_io.py", line 53, in imread
    img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/site-packages/skimage/io/manage_plugins.py", line 205, in call_plugin
    return func(*args, **kwargs)
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/site-packages/skimage/io/_plugins/imageio_plugin.py", line 11, in imread
    out = np.asarray(imageio_imread(*args, **kwargs))
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/site-packages/imageio/v3.py", line 54, in imread
    return np.asarray(img_file.read(**call_kwargs))
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/site-packages/imageio/plugins/pyav.py", line 446, in read
    frames = np.stack(
  File "<__array_function__ internals>", line 200, in stack
  File "/home/hoho/.conda/envs/dualradar/lib/python3.8/site-packages/numpy/core/shape_base.py", line 460, in stack
    raise ValueError('need at least one array to stack')
ValueError: need at least one array to stack

Very sorry, we have found that some of the images were damaged during the transmission of the dataset. You can remove the image number in train.txt, or use the new data network disk link I sent you to generate it

please give me your email, thanX!

Sorry for being late, my email is<EMAIL_ADDRESS>Thanks!

Hello, sorry for replying the issue on github too late, I have stick my
email on github and looking forward to your reply as soon as possible,
thanks!
liulin @.***> 於 2023年11月30日週四 下午12:29寫道：

please give me your email, thanX!
—
Reply to this email directly, view it on GitHub
https://github.com/adept-thu/Dual-Radar/issues/6#issuecomment-1833090162,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQP4URE2XQX3BSJ6JOET3ODYHADSZAVCNFSM6AAAAAA75Y2I4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGA4TAMJWGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

链接：https://pan.baidu.com/s/1qicaD9x6VdbioZKiWoiMxg?pwd=1234
提取码：1234
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年12月11日(星期一) 上午10:16
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [adept-thu/Dual-Radar] An error on generating  .pkl file (Issue #6)
Hello, sorry for replying the issue on github too late, I have stick my
email on github and looking forward to your reply as soon as possible,
thanks!
liulin @.***> 於 2023年11月30日週四 下午12:29寫道：
> please give me your email, thanX!
>
> —
> Reply to this email directly, view it on GitHub
> <" rel="noopener" target="_blank">https://github.com/adept-thu/Dual-Radar/issues/6#issuecomment-1833090162>;,
> or unsubscribe
> <" rel="noopener" target="_blank">https://github.com/notifications/unsubscribe-auth/AQP4URE2XQX3BSJ6JOET3ODYHADSZAVCNFSM6AAAAAA75Y2I4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGA4TAMJWGI>;
> .
> You are receiving this because you authored the thread.Message ID:
> @.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


Fix mac address assignment for eth0 (wan) and eth1 (lan) interfaces in Edgecore EAP105

merged, Thanks !


Adjust compact coil recipes for balance.

Make coil costs ~80% of what they would be if you made 64 reactors.
Fix MK5 shenanigans (again)
Add disassembly recipes for compact coils.

Change to usage of 3 coils per compact is intended, reasoning is as follows:
558 coils used in a compact mega fusion which gives 64 parallel, if each compact coil costs 3 regular coils then that's 3*558=1674 coils. 64 Fusions would actually take 2048 coils so 1674/2048 = 81.7% or a 18% saving. I think that is fair and balanced. You also save 25% of the computer costs don't forget given it only needs 48 per mega. You save casings as well, which for something like the MK4 defo gets costly. AND energy hatches...
I got rid of the recursive recipe because it was a nightmare to try balance properly, this method is much more consistent and still enables further upgrading if they desire.

then why the disassemble only gives 1 coil back?

then why the disassemble only gives 1 coil back?

It's 1:1, so fully recycles.

isn't that 3:1?

isn't that 3:1? you lost 2 coils when recycle the old one

Ahhh I see your point, it's 6am for me lol. Will fix that.


Sprint attempt 1

Didn't get to finish having trouble with flexbox

Hey Kendra! Could you re-open a pull request with the base repo as your forked version of the sprint?