Issues with flux_bootstrap_git creation and destruction

Description
I encountered several issues related to the flux_bootstrap_git creation and destruction process. Here are the problems I encountered:

Creation Failure: The flux_bootstrap_git creation fails when the Kubernetes resources already exist.
Destruction Failure: It also fails to destroy when the resources don't exist.
Race Condition: Creation and destruction fail when there is a race condition with GitHub.
Frequent Commits and Deployments: Our repository receives commits and deployments every minute or so.

Importing the state, or deleting in the case of destruction, is undesired but seems to resolve the issue for 1 and 2.
Desired Solutions
I have a couple of questions regarding possible solutions:

Separate Repo for flux-system Directory: Is there a way to place the flux-system directory in a separate repository to avoid these issues?
Retry After Failure or Fast-Forward: Is there a way to force the git push to retry after failure or use the fast-forward method to address the non-fast-forward update error?

Error Details
Here is the error I receive when encountering the git race condition:
╷
│ Error: Bootstrap run error
│
│   with module.flux-trunk-1.module.k8s["enabled"].flux_bootstrap_git.flux,
│   on ../modules/fluxv2/k8s/main.tf line 19, in resource "flux_bootstrap_git" "flux":
│   19: resource "flux_bootstrap_git" "flux" {
│
│ failed to push manifests: non-fast-forward update: refs/heads/master
╵

Please let me know if you need any additional information or clarification. Thank you!

Hello @Omar-Alkesh  ,
I hope you're doing well! I'm the newest contributor to this repository, and I'm currently in the process of issue grooming to ensure that all concerns are addressed promptly and efficiently.
I noticed this issue you reported and wanted to check in with you to see if it's still affecting your work. Your feedback is invaluable to us, and any additional insights or updates you can share would be greatly appreciated to help us understand and solve the problem more effectively.
If this issue has been resolved, could you please share how it was fixed? This information could be incredibly helpful to others in the community facing similar problems. It would also allow us to close this issue with a clear resolution.
In case the issue is still open and troubling you, let's work together to find a solution. Your satisfaction and the smooth functioning of our project are our top priorities.
Thank you for your time and contributions to our community. Looking forward to your response!
Best regards,
Steve

I understand your situation, and I want to emphasize a crucial principle when working with Terraform: it's essential to manage all resources through Terraform once they are created by it. This approach ensures consistency and avoids potential conflicts or discrepancies, which could indeed lead to significant challenges down the line.
Terraform is designed to maintain the state of your infrastructure, reflecting the actual resources in your environment. When changes are made outside of Terraform, such as directly deleting or modifying resources, it can lead to a state mismatch. This mismatch often results in Terraform either trying to recreate those resources (assuming they are missing) or failing to apply changes due to unexpected differences between its state and the real-world configuration.
This principle applies not only to Flux but also to any resource managed by any provider within Terraform's ecosystem.
The flux_bootstrap_git resource expects a clean cluster ready for bootstrapping, anything pre-existing is going to cause issues.

@swade1987 We are still encountering this issue specifically when upgrading our provider version from 0.25.8 to 1.1.2

Additionally, the flux_bootstrap_git resource expects a clean cluster ready for bootstrapping. Anything pre-existing is going to cause issues.

If this is true how do we upgrade our provider version? These clusters already have flux installed yet this new provider will only work for a cluster free of Flux?

@maxwell-gregory I haven't tried this migration but a guide was created before I started contributing to the provider. The guide can be found at https://registry.terraform.io/providers/fluxcd/flux/latest/docs/guides/migrating-to-resource additionally can I recommend you upgrade to the latest version of the provider which is 1.2.3

Please keep me posted. Note the next version of the provider will only have flux_bootstrap_git resource available.

@swade1987 Hi, I am working with Max and attempted to perform the migration steps suggested, however running into an error with API versions when trying to  terraform import flux_bootstrap_git.this flux-system.
The error is
│ Error: Could not get GitRepository flux-system/flux-system
│
│ failed to get API group resources: unable to retrieve the complete list of server APIs: source.toolkit.fluxcd.io/v1: the server could not find the requested resource
When I review "kubectl api-resources" the v1 for sources.toolkit.fluxcd.io and kustomize.toolkit.fluxcd.io are not available.  We are currently on provider 0.25.3 and flux v0.41.2

@ek24014 any chance you could open a new issue please and we can track it there 🙏

@swade1987 looks like that issue has been created
Terraform fails to import flux_bootstrap_git #554
I will add to there. Thank you!

@swade1987 The suggestion in https://github.com/fluxcd/terraform-provider-flux/issues/554 seems to give us a pass forward. However, when triggering terraform destroy we are running into another error
Error: Could not delete Flux
Unable to commit removed file(s): cannot create empty commit: clean working tree


Optional: collapse giles-sender, giles-receiver, and utils-clutser_shutdown to one build instruction

At the end of linux-setup.html (and macos-setup.html), we instruct users to build giles sender, receiver, and the cluster_shutdown tools in separate commands. This can be simplified with
cd ~/wallaroo-tutorial/wallaroo
make build-giles-all build-utils-cluster_shutdown-all

related to #1388

I like having the separate instructions so that the user is told what is being built, but that's my own personal preference and I'm probably wrong.

I like having fewer commands.  If we describe what is being built in a comment above the command does that address your concern, @aturley?

↑
I'm in favor of this as long as we explicitly let the user know what's being built by the commands


Builds aren't working on OS X.

In reality, I only need to do this per tagged release which I can do in automation for Windows and Linux in the :cloud: while doing the Mac builds on my local box.

Does prebuild do any bundling/static linking of libs? If not, you are going to need to use something like delocate to grab libzmq and pull it into the distributed files.
Bonus points: If prebuild did delocate's task automagically, that would be super.

Does prebuild do any bundling/static linking of libs?

You know... I have no idea. I'll go ahead and ask in https://github.com/mafintosh/prebuild/issues/81

Closing because Travis OS X builds are passing.


Favicon is not appearing on firefox browser for Angular js templates

Here is my code snippet how I am including the favicon in my personal website which was built with Angular JS.
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico"/>

With this code, the favicon is appearing on Chrome and IE browsers. But the favicon is not appearing for Angular JS templates on Firefox browser.
Thanks.

I looked at the similar websites made with Angular JS, the same issue is repeated.
https://www.madewithangular.com/#/

I think this is no angular specific problem. Because there are just one favicon on the side and it makes no sense to build it into the app.

I agree with @martinoppitz. This shouldn't be Angular specific. @bsurendrakumar, can you get the same icon work on FF without Angular ?

Closing due to lack of feedback.

We are encountering exactly the same bug as https://www.madewithangular.com/ due to the same technique
Go to http://play.eslgaming.com/intern/test/hearthstone/open/1on1/therogue-swiss-15/rankings/ , Angular changes to http://play.eslgaming.com/intern/test/hearthstone/open/1on1/therogue-swiss-15/rankings/#!?page=1 : favicon broken
Go directly to http://play.eslgaming.com/intern/test/hearthstone/open/1on1/therogue-swiss-15/rankings/#!?page=1 (or simply f5 from before): favicon is fine
Does not occur in Chrome/IE, so is something between Angular/Firefox

Trying to research further, I suspect it's really a Firefox bug, not sure if Angular can workaround it, or pressure Firefox to fix it
http://stackoverflow.com/questions/24185506/using-history-pushstate-in-firefox-make-my-favicon-disappear
https://bugzilla.mozilla.org/show_bug.cgi?id=408415

@Narretz, should this be closed (since it seems to be a browser issue) ?

Not sure. It seems to affect Angular apps in higher numbers due to hashbang routing.
Btw, does this workaround work: http://stackoverflow.com/a/25873321/787333?
Feel free to close. I think what we all can do is vote on this bug and maybe leave a comment.

Our initial tests show yes, we'll probably do that if it's not otherwise solved :)

Closing as it is a browser bug (meaning we can't really do anything) and there is a workaround.

Nice, this was fixed in FF: https://bugzilla.mozilla.org/show_bug.cgi?id=408415

Hurrah, thanks for informing!

@synotna
Which version of FF you're testing on? Doesn't work for me, on FF 41.0.2, latest to date.

It's fixed in FF 47 (aurora at the moment iirc)
Current FF is 44 :)


What should we do with uploading a single file

Currently, when a user tries to upload a single file it gives a weird upload and dataset. We want to either provide feedback about this not being possible or make it possible and show the progress properly.

I would propose simply disallowing this, it most cases it doesn't make sense and we want to prevent the user from uploading something he didn't want to. We need to make sure the error message is clear thought


Performance issues

While I really like your plugin, it makes vim unusably slow.
How to reproduce
wget https://raw.github.com/Yggdroot/indentLine/42cf0572926b9c415d2275e040bdcc60c33f9096/after/plugin/indentLine.vim
vim -N -u NONE -S indentLine.vim \
  -c 'syntax on|help grep|wincmd L|set relativenumber|norm 60G'

Then navigate up and down using j and k.
Result
Vim maxes out my 2GHz CPU and becomes unusably slow.
Expected result
A slight impact on performance but definitely not maxing out the CPU and slowing vim down that much.
Version

indentLine: 42cf057292
vim: 7.4b BETA, Included patches: 1-15

let g:indentLine_faster = 1 seem to work, but it'll remove the leading spaces, is there a way to bring them back?

Yeah, works like a charm. Thanks a lot for this fix!

let g:indentLine_faster = 1 breaks haml syntax highlighting.

I'm using deoplete for completion, when a preview window appears neovim is very slow, if I disable indentLine or the preview window, everything is normal. Any idea why is so slow when the preview window is present?

Now the IndentLine has been reimplemented in a new way, maybe all the issue has been fixed.
Please update it and try again. g:indentLine_faster is of no use now.

It's not fixed! It still has totally unacceptable performance! Especially on JSX (html like) syntax. When file is opened first time - it's ok. But when I switch many times windows VIM scrolling become slower and slower each time (and finally cursor lags for 2-3 seconds). It does not happened when I switching between buffers.

https://github.com/Yggdroot/indentLine/pull/224

let g:indentLine_faster = 1 doesn't make any difference for me
i have 500 lines file which is lagging a lot on scroll in the places like this


Add contribution guideline for moving from tf.contrib

@dynamicwebpaige wisely suggested in #38 that we put together a guideline on moving from tf.contrib to addons. A majority of our code is currently ported from tf.contrib and there are many open issues for bringing over the rest of our addons RFC.
Some things to include in the guideline:

TF2.0 symbols mapping
Guidelines on when to use tf.function
Common code changes (remove variable_scope, etc.)
Suggestions on adding aditional test cases

I imagine we would hold this document in the repo for a substantial amount of time, but ultimately will want to remove it as we grow away from our original codebase of ported tf.contrib code

cc: @karmel for visibility.

Currently being worked by two Google Summer of Code students: Vishal and Adrian.

Closing as we're more or less past moving code from tf.contrib.


Fix typo

Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

[ ] Documentation has been updated to reflect change.
[ ] New code has tests, and affected old tests have been updated.
[ ] All tests and CI checks pass.
[ ] Ensured the pull request title is descriptive.
[ ] Conda lock files have been updated if dependencies have changed.
[ ] Attributed any Generative AI, such as GitHub Copilot, used in this PR.
[ ] Marked the PR as ready to review.

Trivial typo fix in comment, merging without review.


Create codecov.yml and ignore .cshtml files

See https://github.com/Kentico/kontent-sample-app-net/pull/123#discussion_r639444582

Moved directly into https://github.com/Kentico/kontent-sample-app-net/pull/126, closing this one


Forms plugin not working

Hi, im using the version 0.6.6 but the forms are still not working for me
its working with your temp bug fix: "preflight enable all" but its making the dev server very slow

Can you share a minimal reproduction? Thanks.

sure here is the reproduction
https://github.com/HeyImNoxz/windicss_login

I think is windicss can't detect dynamic binding input type,
@antfu maybe we can add a option to enable all or specific attrs?

Yes, we do statically scan and the dynamic part can't be covered. In v0.6.10, we support safe listing them by:
WindiCSS({
  preflight: {
    safelist: ['[type="text"]', '[type="number"]'],
  },
})


storage: fix struct alignment issue in test

The uint64 numCalls ends up being not word-aligned on certain architectures,
which makes atomic reads/writes panic.
As reported on IRC by @TheTincho

:+1:

:+1:


can't pass an @click handler to NeoButton

should be able to pass a function to NeoButton to handle click events

:wave:

Hey! I can't understand your problem on why would you need to do this, feel free to take a look some examples on histoire repo

Hey @roiLeo
have a look at this piece from TopCollections
            <NeoButton
              :active="state.timeRange == 'Week'"
              label="7 Days"
              @click="setTimeRange('Week')" />

or this here NeoButton.story.vue
<template>
  <Story title="NeoButton" :layout="{ type: 'grid', width: '200px' }">
    <Variant title="default neo button">
      <NeoButton :label="label" @click="onClick" />
    </Variant>
  </Story>
</template>

<script lang="ts" setup>

import NeoButton from './NeoButton.vue'
const onClick = () => alert('click');
const label = 'Sample'
</script>

the "click" event handler is not fired.
I don't know why, I expected it to work out of the box
as a work around add this to NeoButton
@click="$emit('click')"

and poof, it works

https://github.com/kodadot/nft-gallery/pull/4376#pullrequestreview-1189979329


wip: add basic CI pipeline with github actions

We should at least validate that this builds and runs under debian and alpine.

This is now ready. This is purely a check to see if we compile, we're not running make check because that would require the build containers to be run privileged, which as far as I can tell is not possible right now. I don't want to sink too much time in there for now given the obvious alternatives we'll have in the future, so this is Good Enough©™ in my book.


Named layouts aren't breaking out of the parent layout

Describe the bug
Named layouts aren't breaking from the main layout. I think this was working fine recently, but just saw it now either not working or I'm doing something wrong.
Reproduction
https://sveltejs-kit-template-default-mymbax--5173.local.webcontainer.io/ab
https://sveltejs-kit-template-default-mymbax--5173.local.webcontainer.io/cd
https://stackblitz.com/edit/sveltejs-kit-template-default-mymbax?file=src/routes/(c)/cd/+page@(c).svelte

Logs
No response
System Info
Mac, Chrome

Severity
serious, but I can work around it
Additional Information
No response

What are you expecting to see at /ab and /cd of your repro?
For the record - you can no longer break out of the top level layout. +page@ without a layout or group reference after the @ will still place you within the top layout, not directly within app.html - in case that's what you were expecting to see.

Thank you @Conduitry for a response.
My expectation was to somehow break out from a visual part of the top level layout, like layout reset used to work if I remember well.
Our app has a number of topical areas, which all look and feel different than the main app, and this can be handled by groups layouts, but it seemed like a shortcut to simply reset the main layout with the Nav etc, and just serve a (group) layout. I can close this if you think it's not worth exploring further?

There was quite a bit of confusing behavior and bugs that were resulting from being able to completely break out of the top-level layout, so that's no longer possible. If you don't want the nav bar on certain pages, then either it can't be in your root +layout.svelte (or else you need to have it conditionally display, like with {#if} and $page.routeId). This is behaving as intended, and is one of the things layout groups (https://kit.svelte.dev/docs/advanced-routing#advanced-layouts-group) were designed for.


fix #442 add fescar-server module logback.xml

Ⅰ. Describe what this PR did
add fescar-server module logback.xml, root level info
Ⅱ. Does this pull request fix one issue?
fix #442 add fescar-server module logback.xml
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #443 into develop will decrease coverage by 0.08%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop     #443      +/-   ##
=============================================
- Coverage      28.76%   28.68%   -0.09%
  Complexity       642      642
=============================================
  Files            188      188
  Lines           7255     7255
  Branches         882      882
=============================================
- Hits            2087     2081       -6
- Misses          4949     4955       +6
  Partials         219      219

Impacted Files
Coverage Δ
Complexity Δ

.../fescar/server/session/AbstractSessionManager.java
74.07% <0%> (-11.12%)
19% <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 95cb3ec...57f182f. Read the comment docs.


feat: Add indices migration

also - it needs two colons, ::index create developers:developer_id_idx { developer_id }

also this?
::index create executions:task_id_execution_id_idx { execution_id, task_id }


feat(cli): add app show support for backend app

With this change app show now should be able to show running backend applications. However, we cannot test this feature manually until app deploy supports deploying backend app.
Ideally the output for app show for backend app should be:
About

  Project           my-project
  Name              my-app
  Type              Backend App

Configurations

  Environment       Tasks               CPU (vCPU)          Memory (MiB)        Port
  test              1                   0.25                512                 5000
  prod              2                   0.5                 1024                5000

Service Discovery:

  test,prod         http://my-app.my-project.local:5000

Variables

  Name              Environment         Value

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can we remove the http from the service discovery endpoint?

However, we cannot test this feature manually until app deploy supports deploying backend app.

I'll pull your branch and test it with my WIP app deploy branch and report back :D

Your command works!
$ ecs-preview app show
? Which application of phonetool would you like to show? rindex
About

  Project           phonetool
  Name              rindex
  Type              Backend App

Configurations

  Environment       Tasks               CPU (vCPU)          Memory (MiB)        Port
  test              1                   0.25                512                 80

Service Discovery

  Environment       Namespace
  test              http://rindex.phonetool.local:80

Variables

  Name                        Environment         Value
  ECS_APP_DISCOVERY_ENDPOINT  test                phonetool.local
  ECS_CLI_APP_NAME            test                rindex
  ECS_CLI_ENVIRONMENT_NAME    test                test
  ECS_CLI_LB_DNS              test                phone-Publi-1B334QZ3UBM1Y-1538761958.us-west-2.elb.amazonaws.com
  ECS_CLI_PROJECT_NAME        test                phonetool

Your command works!
$ ecs-preview app show
? Which application of phonetool would you like to show? rindex
About

  Project           phonetool
  Name              rindex
  Type              Backend App

Configurations

  Environment       Tasks               CPU (vCPU)          Memory (MiB)        Port
  test              1                   0.25                512                 80

Service Discovery

  Environment       Namespace
  test              http://rindex.phonetool.local:80

Variables

  Name                        Environment         Value
  ECS_APP_DISCOVERY_ENDPOINT  test                phonetool.local
  ECS_CLI_APP_NAME            test                rindex
  ECS_CLI_ENVIRONMENT_NAME    test                test
  ECS_CLI_LB_DNS              test                phone-Publi-1B334QZ3UBM1Y-1538761958.us-west-2.elb.amazonaws.com
  ECS_CLI_PROJECT_NAME        test                phonetool

YAY!


Cannot get back to setup after incorrect SSID input(user error!)

Describe the bug
After entering an incorrect SSID/password combination I have been unable to get back to the setup via browing to orange.clock or direct IP <IP_ADDRESS>
To Reproduce
Enter incorrect SSID/password?
This is what I see in Thonny shell/console
Entering setup mode...
sync full refresh
show time 175 ms
wait_until_ready 5103ms   0.1mins
wait_until_ready 0ms   0.0mins
sync full refresh
show time 175 ms
wait_until_ready 5103ms   0.1mins
wait_until_ready 0ms   0.0mins
sleep
sleep
2023-12-24 08:14:49 [info     /  87kB] > starting catch all dns server on port 53
2023-12-24 08:14:49 [info     /  85kB] > starting web server on port 80
2023-12-24 08:17:51 [info     / 100kB] > GET /favicon.ico (404 Not Found) [304ms]
2023-12-24 08:21:52 [debug    /  85kB] > parsed template: ap_templates/redirect.html (took 10 ms)
2023-12-24 08:21:52 [info     /  83kB] > GET / (200 OK) [160ms]
2023-12-24 08:21:52 [debug    /  74kB] > parsed template: ap_templates/redirect.html (took 11 ms)
2023-12-24 08:21:52 [info     /  71kB] > GET /favicon.ico (200 OK) [149ms]
Expected behavior
prompt on browser to configure SSID and password again.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I see this code in Thonny, but it does not appear to be getting to this as I do not see any update on the pi screen, or in Thonny shell/console. I also tried deleting all files on the Pi and uploading them again. I suppose there is some kind of hidden setup file that I didn't delete?
Figure out which mode to start up in...
try:
os.stat(WIFI_FILE)
# File was found, attempt to connect to wifi...
with open(WIFI_FILE) as f:
    wifi_credentials = json.load(f)
    ip_address = connect_to_wifi(wifi_credentials["ssid"], wifi_credentials["password"])

    if not is_connected_to_wifi():
        # Bad configuration, delete the credentials file, reboot
        # into setup mode to get new credentials from the user.
        print("Bad wifi connection!")
        print(wifi_credentials)
        os.remove(WIFI_FILE)
        machine_reset()

    print(f"Connected to wifi, IP address {ip_address}")
    application_mode()

Interestingly after several hours, my browser came up to the setup screen on orange.clock and I was able to complete the config properly. :)

Interestingly after several hours, my browser came up to the setup screen on orange.clock and I was able to complete the config properly. :)

Thank you for sharing this unexpected behavior


Fix usage of arrow expression within braces

Fixes #12489

Codecov Report

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

@@            Coverage Diff            @@
##             master   #12693   +/-   ##
=========================================
  Coverage          ?   59.84%
  Complexity        ?      659
=========================================
  Files             ?     2065
  Lines             ?   101682
  Branches          ?    12937
=========================================
  Hits              ?    60854
  Misses            ?    35629
  Partials          ?     5199

Impacted Files
Coverage Δ
Complexity Δ

...alang/compiler/semantics/analyzer/TypeChecker.java
86.34% <100%> (ø)
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 0547701...81153f9. Read the comment docs.


add "IEEE-754" to cargo.toml keywords and description

add "IEEE-754" to cargo.toml keywords and description

after https://github.com/phip1611/wambo/issues/13 is done

after https://github.com/phip1611/wambo/issues/13 is done

released in 0.2.12


I can't seem to use webdav and filebrowser at the same time in the root of the site.

which will make webdav not work.

(default) {
    gzip
    tls ****** {
        dns cloudflare
    }
}
*** {
    import default
    webdav {
        scope *
    }
    filemanager / *
}

Due to the recent developments of Caddy (v2!) and the incompatibility of this plugin with newer versions, as well as not being maintained, I'm closing this issue and archiving the repository.


Stop assuming Mainnet in Address From impls

Motivation
Some From<...> for Address impls assume all addresses are on mainnet. But we also need to support testnet addresses.
Solution
~Modify the From<...> for Address impls to take a tuple containing a Network enum value.~
Replace the From<...> for Address impls with methods that take a Network enum value.
Add tests for testnet addresses.
Related Issues
Closes #1187.

@yaahc rust style question:
Should we pass a tuple to the From impl:
https://github.com/ZcashFoundation/zebra/pull/1191/files#diff-49798c4b198412d5cae6a56e92cd70440e3f437f4daafbada4e12db00a3dbce2R95-R96
Or define a custom struct:
https://github.com/ZcashFoundation/zebra/pull/1170/files#diff-862e9002ed8031a07a7a9968aa734ea16dc490d152b7da97e4ed160843403494R105-R109

@yaahc rust style question:
Should we pass a tuple to the From impl:
impl From<(Script, Network)> for Address {
    fn from((script, network): (Script, Network)) -> Self {

https://github.com/ZcashFoundation/zebra/pull/1191/files#diff-49798c4b198412d5cae6a56e92cd70440e3f437f4daafbada4e12db00a3dbce2R95-R96
Or define a custom struct:
/// Custom type that holds a script and the network it belongs to.
pub struct ScriptForNetwork {
    pub script: Script,
    pub network: Network,
}

https://github.com/ZcashFoundation/zebra/pull/1170/files#diff-862e9002ed8031a07a7a9968aa734ea16dc490d152b7da97e4ed160843403494R105-R109

I am also interested in this

@yaahc rust style question:
Should we pass a tuple to the From impl:
impl From<(Script, Network)> for Address {
    fn from((script, network): (Script, Network)) -> Self {

https://github.com/ZcashFoundation/zebra/pull/1191/files#diff-49798c4b198412d5cae6a56e92cd70440e3f437f4daafbada4e12db00a3dbce2R95-R96
Or define a custom struct:
/// Custom type that holds a script and the network it belongs to.
pub struct ScriptForNetwork {
    pub script: Script,
    pub network: Network,
}

https://github.com/ZcashFoundation/zebra/pull/1170/files#diff-862e9002ed8031a07a7a9968aa734ea16dc490d152b7da97e4ed160843403494R105-R109

I am also interested in this

I don't know of any convention for this, I don't think either of these options sounds ideal off of the top of my head tho the second one I might need to think about more. My instinct would be to have it be converted with a method on script that takes an Network argument. maybe something like let address = script.addr(network);

Ok, I'll switch to a method on Script - that's what we do for the other conversions and checks that take a Network argument.

See c01f8049 for the method refactor - I needed to use a trait to implement methods on a foreign type.

Looks good. By what we know from #1170 the to_address will probably need changes but we can handle that in a separated PR(can be #1170 itself or other)

Let's add the extra script conversions in #1170, because they are needed to make the block subsidy checks work.
And we should add tests for them as well. Let's use zcashd test vectors, if we can.

Let's add the extra script conversions in #1170, because they are needed to make the block subsidy checks work.
And we should add tests for them as well. Let's use zcashd test vectors, if we can.

I added the extra conversions into #1170 after a rebase. This is being tested with zcashd test vectors in subsidy_is_valid_for_historical_blocks test case.


Use configuration argument if present when detecting build settings

Thanks for contributing to fastlane! Before you submit your pull request, please make sure to check the following boxes:

[] Run rspec for all tools you modified
[] Run rubocop -a to ensure the code style is valid
[] We currently don't accept new actions, please publish a plugin instead, more information in Plugins.md

Before submitting a pull request, we appreciate if you create an issue first to discuss the change :+1:
🔑
I'm trying to fix #6514, because it's low hanging fruit.

I don't know enough about this, will this have any side effects we should think about? Thanks for submitting the PR 👍

@KrauseFx I raised the issue. This change corrects the function. Because if configuration is not specified, Xcode will pick the default one. And the default configuration may not be the one bind to the scheme. I learned it the hard way :)

@tadelv Thanks for your contribution!
However, I will have to close this, as there is already an earlier PR that solves this problem: #6114.


Paritionable model with grouped resources

This is another alternative to the partitionable model.
The PR is a delta on top of #27.
Rather than flattening the individual physical GPU named resources into a single array, this is closer to Kevin's original, and keeps each physical GPU's shared resources in a separate struct. The individual devices then consume from those structs, by name. It is also possible for a device to consume from multiple shared resource groups, though that is not shown in the example.

Since this is "what's in the KEP" I think we should merge it and rebase all the options on it, so they appear as diffs.
/lgtm

Shoot, I screwed up and approved the wrong one!  I meant to LGTM #27 !!!


Error while using hello-engine.js

Description
Get an Error while the "Getting Started" guide. At the moment i load "hello-engine"
Steps to Reproduce
Just followed the Guide on the Qlikcore Getting Started Website
https://qlikcore.com/tutorials/hello-engine/
Expected behavior
The output from the "hello-engine" guide
npm run hello-engine
Creating and opening session.
Engine version retrieved: 12.91.0
Session closed.

Actual behavior
> node ./src/hello-engine/hello-engine.js

Creating and opening session.
Whoops! An error occurred. ErrorEvent {
  target:
   WebSocket {
     _events:
      { open: [Function],
        close: [Function],
        error: [Function],
        message: [Function] },
     _eventsCount: 4,
     _maxListeners: undefined,
     readyState: 3,
     protocol: '',
     _binaryType: 'nodebuffer',
     _closeFrameReceived: false,
     _closeFrameSent: false,
     _closeMessage: '',
     _closeTimer: null,
     _closeCode: 1006,
     _extensions: {},
     _isServer: false,
     _receiver: null,
     _sender: null,
     _socket: null,
     url: 'ws://localhost:19076/app',
     _req: null },
  type: 'error',
  message: 'connect ECONNREFUSED <IP_ADDRESS>:19076',
  error:
   { Error: connect ECONNREFUSED <IP_ADDRESS>:19076
       at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
     errno: 'ECONNREFUSED',
     code: 'ECONNREFUSED',
     syscall: 'connect',
     address: '<IP_ADDRESS>',
     port: 19076 } }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>hello-engine: `node ./src/hello-engine/hello-engine.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>hello-engine script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Library
[x ] Node.js
[ ] Browser

Operating system
[x ] Windows
[ ] OSX
[ ] Linux

Versions

Node.js:
Browser: Google Chrome  68.0.3440.106
Operating system: Windows 10

Maybe someone can help me. Im always getting this error in the Getting Started guide from Qlik Core. The Server is started in Docker and then i try to run the "hello-engine.js" but always get the Error Message above.

Can you show the output if you run docker ps?

Docker says this :
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                NAMES
ba72445f00fa        qlikcore/engine:12.225.0   "/usr/local/bin/engi…"   32 minutes ago      Up 32 minutes       9076/tcp, 9090/tcp   wizardly_swirles

It does not look like you are forwarding from port 19076 on your machine to port 9076 on the engine.
Did you run the command ACCEPT_EULA=yes docker-compose up -d ?

docker run is used when you are not using a compose file (usually when you just want to run one container. While docker-compose files are usually used when you want to couple a few containers together so they can talk over the same network (or to save some settings as we have done here.
So you could start the engine by running the docker-compose with:
ACCEPT_EULA=yes docker-compose up -d
OR
you could run:
docker run -p 19076:9076 qlikcore/engine:12.225.0 -S AcceptEULA=yes (on this you would later have to add the volumes, something we have already done in the docker-compose file.
So my reccomendation would be that you stop your running containres and then start them using the compose with the command ACCEPT_EULA=yes docker-compose up -d

Closing this due to inactivity. Please reopen or contact us if you still have problems running it.

Hi, I'm hoping you can help. I'm having the same issue as well and I've run the ACCEPT_EULA=yes docker-compose up -d command and I've also run the docker ps command and I have the following:
PS C:\Users\vivek.gajjar\documents\qlik\core\core-get-started> docker ps CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                             NAMES 4bae1bcf2b97        qlikcore/engine:12.401.0   "/usr/local/bin/engi"   2 minutes ago       Up 2 minutes        9090/tcp,  <IP_ADDRESS>:19076->9076/tcp   coregetstarted_engine_1
I've also run the npm install but I'm getting the same error, any suggestions?

Hello Vivek,

Hi Jonas
Thanks for your prompt response. I had just composed down however have re-run it and changed the container Id
Please see the logs below:
{"timestamp":"2019-07-03T12:33:49.684Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"Engine started with command line: --MigrationPort -1 -S QvLogU seStdoutLogger=1 -S QvLogHandleRequestOnExit=1 -S AllowExternalSocket=1 -S Enabl eSwagger=1 -S EnablePrometheus=1 -S PrometheusServicePort=9090 -S PerformanceLog Verbosity=0 -S UseCGroupsStats=1 -S AdjustMemUseFromOs=0 -S EnableCrashDump=1 -S  EnableScriptLogging=2 -S AcceptEULA=yes "} {"timestamp":"2019-07-03T12:33:49.686Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"Invalid parameter handler set"} {"timestamp":"2019-07-03T12:33:49.687Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"ComputerName is 29735d8d1834"} {"timestamp":"2019-07-03T12:33:49.687Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"Engine Version is 12.401.0"} {"timestamp":"2019-07-03T12:33:49.965Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"Locale(s) set"} {"timestamp":"2019-07-03T12:33:49.966Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"QHeap initialized"} {"timestamp":"2019-07-03T12:33:49.967Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"Running in desktop mode"} {"timestamp":"2019-07-03T12:33:49.973Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"Initiating server license."} {"timestamp":"2019-07-03T12:33:49.974Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"GlobalContext: Initiating Broker default port 4848"} {"timestamp":"2019-07-03T12:33:49.974Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"GlobalContext: Initiating DataPrepPort default port 9072"} {"timestamp":"2019-07-03T12:33:49.977Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"WorkingSet: Configured Working Set Size is 0.676-0.870 GB (set ting 70%-90%)"} {"timestamp":"2019-07-03T12:33:49.980Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"Initiating ExtEngine."} {"timestamp":"2019-07-03T12:33:49.982Z","log_type":"Start","logseverity":"INFO", "thread_id":3579240000,"message":"Initialization complete."} {"timestamp":"2019-07-03T12:33:49.983Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"QvSocket: Starting HTTP request handler - 0x7fc4d32a8620"} {"timestamp":"2019-07-03T12:33:49.984Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"Port Listen: IPv4 bind successful on Port 9076"} {"timestamp":"2019-07-03T12:33:49.985Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"Port Listen: IPv6 bind successful on Port 9076"} {"timestamp":"2019-07-03T12:33:49.986Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"System: Starting - Purge: Starting"} {"timestamp":"2019-07-03T12:33:49.987Z","log_type":"System","logseverity":"INFO" ,"thread_id":3579240000,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"System: Starting - ServerWatchDog: Starting"} {"timestamp":"2019-07-03T12:33:50.991Z","log_type":"System","logseverity":"INFO" ,"thread_id":3509102336,"user_id":"Internal\\Engine","tenant_id":"default","app_ id":"","message":"Mount: Found Mount  at location /home/engine/Qlik/Sense/Apps browsable"}
Thanks in advance.

Looks good so far. Did you run npm run hello-engine after the engine restart?

Yes I did unfortunately the same error:
`$ npm run hello-engine

<EMAIL_ADDRESS>hello-engine C:\users\vivek.gajjar\Documents\Qlik\Core
core-get-started
node ./src/hello-engine/hello-engine.js

Creating and opening session.
Whoops! An error occurred. ErrorEvent {
target:
WebSocket {
_events:
[Object: null prototype] {
open: [Function],
close: [Function],
error: [Function],
message: [Function] },
_eventsCount: 4,
_maxListeners: undefined,
readyState: 3,
protocol: '',
_binaryType: 'nodebuffer',
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: '',
_closeTimer: null,
_closeCode: 1006,
_extensions: {},
_receiver: null,
_sender: null,
_socket: null,
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
url: 'ws://localhost:19076/app',
_req: null },
type: 'error',
message: 'connect ECONNREFUSED <IP_ADDRESS>:19076',
error:
{ Error: connect ECONNREFUSED <IP_ADDRESS>:19076
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 19076 } }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>hello-engine: node ./src/hello-engine/hello-eng ine.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>hello-engine script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR!      C:\Users\vivek.gajjar\AppData\Roaming\npm-cache_logs\2019-07-03T12
_40_33_573Z-debug.log`
I've also check the log file as suggested of which the content is:
0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli   'run', 1 verbose cli   'hello-engine' ] 2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prehello-engine', 'hello-engine', 'posthello-engine' ] 5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true 8 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\users\vivek.gajjar\Documents\Qlik\Core\core-get-started\node_modules\.bin;C:\Users\vivek.gajjar\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Docker Toolbox;C:\Users\vivek.gajjar\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\vivek.gajjar\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;E:\Tools\Alteryx\bin;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio;C:\Program Files\Snowflake SnowSQL;C:\Program Files\PuTTY;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Users\vivek.gajjar\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\vivek.gajjar\AppData\Local\Programs\Python\Python37-32;C:\Users\vivek.gajjar\AppData\Roaming\npm;C:\Program Files\Docker Toolbox;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl 9 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\users\vivek.gajjar\Documents\Qlik\Core\core-get-started 10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'node ./src/hello-engine/hello-engine.js' ] 11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null 12 info lifecycle<EMAIL_ADDRESS>Failed to exec hello-engine script 13 verbose stack Error<EMAIL_ADDRESS>hello-engine: node ./src/hello-engine/hello-engine.js13 verbose stack Exit status 1 13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16) 13 verbose stack     at EventEmitter.emit (events.js:198:13) 13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack     at ChildProcess.emit (events.js:198:13) 13 verbose stack     at maybeClose (internal/child_process.js:982:16) 13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd C:\users\vivek.gajjar\Documents\Qlik\Core\core-get-started 16 verbose Windows_NT 6.1.7601 17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "hello-engine" 18 verbose node v10.16.0 19 verbose npm  v6.9.0 20 error code ELIFECYCLE 21 error errno 1 22 error<EMAIL_ADDRESS>hello-engine:node ./src/hello-engine/hello-engine.js 22 error Exit status 1 23 error Failed at the<EMAIL_ADDRESS>hello-engine script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

The ECONNREFUSED (=Connection refused) in the error message indicates that there is something blocking the connection.
Is there a firewall running on the computer blocking?

I've just checked the firewall on my computer and it seems to be switched off

You could try connecting with http to the QIX Engine:

http://localhost:9076/health -> Returns 200/OK
http://localhost:9076/openAPI -> Returns the openAPI spec

If you aren't able to connect to the engine it's probably blocked by a firewall or there is a web-proxy defined in your network setting. If a web-proxy is used you need to add a "rule" to ignore proxying then going to localhost

Ok so I think I've found the issue. In the hello-engine.js file the issue was with the port number in the  url: 'ws://localhost:19076/app', bit when I changed it to url: 'ws://localhost:9076/app', so by changing the port number from 19076 to 9076 it's managed to work.
`$ npm run hello-engine

<EMAIL_ADDRESS>hello-engine C:\users\vivek.gajjar\Documents\Qlik\Core
core-get-started
node ./src/hello-engine/hello-engine.js

Creating and opening session.
Engine version retrieved: 12.287.2
Session closed.`
However I've got another issue now in that when I'm trying the hello-data example I'm getting an error and I think it's because the data connections cannot be made.
`PS C:\Users\vivek.gajjar\documents\qlik\core\core-get-started> npm run hello-data

<EMAIL_ADDRESS>hello-data C:\Users\vivek.gajjar\documents\qlik\core\core-get-started
node ./src/hello-data/hello-data.js

Creating session app on engine.
Engine version retrieved: 12.287.2
Creating data connection to local files.
Whoops! An error occurred. { Error: Invalid path
at Intercept.errorInterceptor (C:\Users\vivek.gajjar\documents\qlik\core\core-get-started\node_modules\enigma.js\eni
gma.js:2549:19)
at process._tickCallback (internal/process/next_tick.js:68:7) code: 4, parameter: 'Invalid path' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>hello-data: node ./src/hello-data/hello-data.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>hello-data script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\vivek.gajjar\AppData\Roaming\npm-cache_logs\2019-07-04T11_10_52_160Z-debug.log`

Are you using the docker-compose.yml found in the root in this repo? Seems that you are not exposing the right port (19076) and also not mounting the data volume needed for hello-data to work as expected.

And also, "Engine version retrieved: 12.287.2" says that it's not the same engine as the output from docker ps command that you posted yesterday. Do you have multiple engines running?

Hello everyone! i had the same error and then just run 'ACCEPT_EULA=yes docker-compose up -d' then i  ran  'npm run hello-engine' command again and Wuala, now it's working!

Closing this due to inactivity. Please open again if you haven't solved the issue.


Release Less Versions

Absolutely love this pod but I find it increasingly frustrating that the version number keeps on incrementing without any good reason
As an example, the latest version 1.4.4 contains just one commit that fixes a bug in the demo project. The demo project should not be impacted by versioning whatsoever.
Please can we take versioning a bit more seriously. Happy to help

Very good suggestion, I'll definitely squash some commits before I bump a version number. Sorry for the inconvenience ;)

cool bananas!


Voting bot for stake off

Expected Behavior
We would like a number of instances of a voting bot to run in a testnet. For simplicity, we could extend the load testing client to do this for us (see celo-monorepo/packages/celotool/src/cmds/geth/simulate_client.ts )

[ ] lock up gold initially (maybe in the migrations?)
[ ] wake up at a random interval
[ ] with a given probability, do nothing, otherwise evaluate whether to change vote
[ ] implement a strategy that picks the group that can receive votes AND has highest recent rewards
[ ] add some degree of randomness to it: with certain probability pick a random group

@rcroessmann and @asaj will have ideas based on their recent simulation.
Current Behavior
Rely on external users to vote.

The load test client appears to be a thing that we run on-demand, and this sounds like something we want running continuously for the duration of the stake off. That difference makes me think they shouldn't be combined, and the voting bot should be a standalone thing.
Especially if we want gold to be locked up in migrations, the account(s) used by the voting bot will need to be funded in the genesis block. How much gold is an appropriate amount?
Roughly how many bots do we want running?
cc: @asaj @rcroessmann

The load test clients are already funded in genesis -- see https://github.com/celo-org/celo-monorepo/blob/baklava-dec-2-2019/packages/celotool/src/lib/generate_utils.ts#L161

They get a configurable amount of CG each, currently 1000 CG.

I think we run the load test continuously to generate constant background tx load @tkporter  ? feels  like the simplest place to add support for voting as it already has funds and the infra is already in place.

The way load test clients work is each pod is constantly running with 1 container running an ultralight client with an unlocked account and 1 container running celotooljs geth simulate-client ..... that creates transactions every few seconds. We could maybe add another container to the pod that runs a separate celotool command that votes every once in a while (we could even make this conditional using a helm template).
Just to verify, the nonce should be set by the ultralight client & not contractkit, so we shouldn't run into conflicting nonce issues by having 2 separate containers send a transaction simultaneously, right?

Oh cool! Thanks for the info. If the plan is to have these load test clients running for the duration of the stake off, it seems fine to have them do the voting.


Schism scodec and refined modules

And maybe shapes?
Scodec and refined add new dependency liabilities. We already have a shapeless dep, so the argument to schism shapes would have to be on its own merits.

Moving refined here: #2276


Feature request: support for plugin icons

Hi @YahnisElsts,
just found that you added "Add the ability to show a plugin icon on the "Dashboard -> Updates" page" to the plugin update checker (https://github.com/YahnisElsts/plugin-update-checker/commit/585f60d91c337667e95e6dbd13f834d9875c9711) - thanks a lot!
I wonder if the wp-update-server could also be enhanced to support this new feature? E.g. by automatically retrieving the needed icons form a new directory /icons for example?
If I can help here somehow, let me know!
best,
Robert

Sure, that sounds like a good idea. Try the version that I just committed.

Works great, thanks!
another idea: could translations also be supported?

Translations would be quite a bit more complicated. Why not bundle all translations with the plugin? Download size?

you're right - did not think this true. Currently all translations are already bundled, I just saw that the translation array was empty when using the PUC debug bar addon & thought this could be added too...

It could certainly be added. It's just not as simple as the icon feature. Maybe I'll get around to it some day.

thanks a lot!


Unable to integrate config into pipeline actions

Regarding this issue
https://github.com/backstage/backstage/issues/17923

Hi,
It seems like the issue may have been a package version mismatch between our plugin and the core backstage version. (integration package).
You can fix this now by bumping backstage to the latest version, and bump our plugins to the following versions:
@parfuemerie-douglas/scaffolder-backend-module-azure-pipelines - 0.4.5-next.0
@parfuemerie-douglas/scaffolder-backend-module-azure-repositories - 0.2.4-next.2
Thanks,
Haydn


Python versioning issue during installation: it seems like some versions are unresolvable

Hi all, I'm installing it on Windows. When I have a Python version >= 3.10 it says:
ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10
And when I downgraded to 3.9:
ERROR: Ignored the following versions that require a different python version: 8.19.0 Requires-Python >=3.10; 8.20.0 Requires-Python >=3.10
Could anyone help?

I have the same issue. Would appreciate a pointer in the right direction :)

I successfully downloaded the corresponding version of the library in Python=3.10 by manually downloading it from PyPI @yw5aj @MasterKayOz


ChestTile and ChanceTile

I'm a little confused on how I should code the Chance Tile class. Should I create a data structure with all the all the chance cards or should I call it? Thanks.


Creating new L2s based on an existing L1 chain.

Right now supersim, creates all the L2s & L1s at once. However, there's a UX journey that would be great to test with supersim, A new member gets added to the superchain
We could simulate this with the following flow.

Start supersim in the default setting with 1 L2, and 2 L2 chains
In a new window, start supersim again with some flags like --l1.endpoint and --l2.starting.port and --l2.starting.chainid which allows new L2s chains to start using the same L1 started in step (1)

This would allow developers to dynamically increase/decrease the number of L2s and test the dapp flow. An open question is how the superchain registry works in non fork mode

Would also be nice to add the ability to do this through admin rpcs as well

yep totally agree, maybe the admin rpcs is the right way to do this.
will need to some library to dynamically render terminal output


Update GraalVM native image metadata

Motivation:
GraalVM native image tool fails to generate a working binary since
Armeria 1.30.0, due to its outdated metadata. Special thanks to @Dogacel
who reported this issue.
Modifications:

Updated the GraalVM native image metadata.
Removed the redundent ../../ from the resource lookup in ThriftMetadatAccess.

Result:
Armeria is again compatible with GraalVM native image tool.

just curious, do we have a CI with GraalVM? (seems not configured yet? https://github.com/line/armeria/blob/main/.github/workflows/actions_build.yml )


Set padded RTG in training data to be true RTG until masking is implemented correctly.

We aren't currently masking padding tokens which I'm not sure how much of a big deal it is. I'll reach out to ask someone for feedback, but in the meantime, I'm going to set the RTG in the padded training data to the true RTG because the padding RTG is 0 which I think might have confused the model.
This is hopefully going to be the different between a memory task solving DT completely solving the task and it's current status of solving it but not  using RTG to modulate behavior for the balls (it works if the key is the goal strangely).

[x] update offline training data to padd with true RTG
[x] message someone about how essential padding is (I'm not sure why it isn't already implemented on Hooked Transformer class, maybe it is and I missed it)

I've done this which I think was helpful/good, and added tests for it. However, experimentally the results are still not dramatically better.
Possible explanations:

Eval is broken (seems unlikely since streamlit app also shows same issues and I've recently looked through both carefully)
Training data sucks in some way. Specifically, if the 0 reward trajectories are either too variable  such that the agent doesn't unclear the non-RTG considering heuristics, or biased towards only one class, then the model may be overfitting on those (ie: a high variance issue). Part of the issue is of course the relationship between next token prediction and RL task performance. It's also worth noting the PPO model seems to have learnt to do random actions with no consequence like drop and done to increase entropy which don't contribute to solving the problem. It's almost certain our model is putting effort into doing this well which may be a form of overfitting depending on how present it is in the training set. I'll made a card for researching this later.

Solutions to this probably look like one of:
- Generate more training data
- Generate better training data: Sample differently in rollouts? Sample from different quality agents? Add in some random sampling to go with the agent?
The easiest things to try are:

Sample more.
Sample differently in the rollouts (deterministically might work given our weight regularization).

Harder things to try are:

Merging rollouts from multiple agents.
Retraining PPO model to have less of the entropy maximizing behaviors.


Exception caught by scheduler library - PersistedPhysicalShape: is in an unexpected state.

After upgrading to:
Flutter 1.24.0-10.2.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision 022b333a08 (9 days ago) • 2020-11-18 11:35:09 -0800
Engine • revision 07c1eed46b
Tools • Dart 2.12.0 (build 2.12.0-29.10.beta)

I start getting errors when scrolling in lists, which causes the Chrome-tab to freeze.
my code:
Widget build(BuildContext context) {
    AssetController controller = Get.find();
    var list = assetIDs.toList();
    return ListView.builder(
      scrollDirection: Axis.vertical,
      itemCount: list.length,
      itemBuilder: (context, index) {
        int assetId = list[index];
        var asset = controller.getAsset(assetId);
        if (asset == null) {
          asset = Asset(0, "", "$assetId", "?", "", 0, List.empty());
        }
        var quote = controller.getQuote(assetId);
        if (quote == null) {
          quote = Quote(0, DateTime.now(), 0, 0);
        }
        var contentType = AssetDetailsContent.nothing;
        if (assetId == editingId) {
          contentType = AssetDetailsContent.editor;
        } else if (assetId == selectedId) {
          contentType = AssetDetailsContent.chart;
        }

        return Card(
            child: InkWell(
                onTap: () {
                  controller.toggleSelectedGroupAsset(assetId);
                },
                child: Column(
                    key: ValueKey(asset.id),
                    crossAxisAlignment: CrossAxisAlignment.stretch,
                    children: [
                      AssetCard(asset, quote, assetListType),
                      AssetDetailsContainer(
                          assetId: asset.id, contentType: contentType)
                    ])));
      },
    );
  }

flutter doctor -v
[✓] Flutter (Channel dev, 1.24.0-10.2.pre, on macOS 11.0.1 20B29 darwin-x64, locale da-DK)
    • Flutter version 1.24.0-10.2.pre at /Users/christianhessenbruch/flutter
    • Framework revision 022b333a08 (9 days ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/christianhessenbruch/Library/Android/sdk
    ✗ Flutter requires Android SDK 29 and the Android BuildTools 28.0.3
      To update the Android SDK visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[!] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    ! CocoaPods 1.8.4 out of date (1.9.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.43.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-x64     • macOS 11.0.1 20B29 darwin-x64
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 86.0.4240.198
    ! Error: Christian - iPhone is not connected. Xcode will continue when Christian - iPhone is connected. (code -13)

! Doctor found issues in 2 categories.

[+21496 ms] Syncing files to device Chrome... (completed in 22,5s)
[        ] Synced 34.9MB.
[        ] <- accept
[        ] Caching compiled dill
[ +141 ms] Using Google Chrome 86.0.4240.198

[+1107 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:58194/devtools/browser/4147a26f-3e3e-4437-8e75-c346c63e1ac8
[ +898 ms] DwdsInjector: Received request for entrypoint at http://localhost:57830/main_module.bootstrap.js
[  +12 ms] MetadataProvider: Loading debug metadata...
[  +42 ms] MetadataProvider: Loaded debug metadata
[  +12 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:57830/main_module.bootstrap.js
[+3033 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:58282/fQX65kR3kA0=/ws

[   +6 ms] Debug service listening on ws://<IP_ADDRESS>:58282/fQX65kR3kA0=/ws
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[ +239 ms] Request: http://localhost:9443/exchanges
[+1142 ms] ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
[   +1 ms] The following MissingPluginException was thrown while activating platform stream on channel
[        ] flutter_keyboard_visibility:
[        ] MissingPluginException(No implementation found for method listen on channel
[        ] flutter_keyboard_visibility)
[   +1 ms] When the exception was thrown, this was the stack:
[        ] dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 216:49  throw_
[        ] packages/flutter/src/services/platform_channel.dart 157:7                     _invokeMethod
[        ] dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50            <fn>
[        ] dart-sdk/lib/async/zone.dart 1450:54                                          runUnary
[        ] dart-sdk/lib/async/future_impl.dart 143:18                                    handleValue
[        ] dart-sdk/lib/async/future_impl.dart 696:44                                    handleValueCallback
[        ] dart-sdk/lib/async/future_impl.dart 725:32                                    _propagateToListeners
[        ] dart-sdk/lib/async/future_impl.dart 529:5                                     [_completeWithValue]
[        ] dart-sdk/lib/async/future_impl.dart 567:7                                     callback
[        ] dart-sdk/lib/async/schedule_microtask.dart 41:11                              _microtaskLoop
[        ] dart-sdk/lib/async/schedule_microtask.dart 50:5                               _startMicrotaskLoop
[        ] dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15           <fn>
[        ] ════════════════════════════════════════════════════════════════════════════════════════════════════
[  +49 ms] notes null
[  +12 ms] Request: http://localhost:9443/assets?groupid=2000000
[        ] Request: http://localhost:9443/quotes?groupid=2000000
[+5110 ms] Another exception was thrown: Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/html/picture.dart:54:10
[  +39 ms] Another exception was thrown: PersistedPhysicalShape: is in an unexpected state.
[   +7 ms] Another exception was thrown: PersistedPhysicalShape: is in an unexpected state.
[  +11 ms] Another exception was thrown: PersistedPhysicalShape: is in an unexpected state.
[  +38 ms] Another exception was thrown: PersistedPhysicalShape: is in an unexpected state.
[  +35 ms] Another exception was thrown: PersistedPhysicalShape: is in an unexpected state.
[  +82 ms] Another exception was thrown: PersistedPhysicalShape: is in an unexpected state.

My password is not exist

I getting error while I open a new code

@bastaware
Looking at the log your shared, it says:
The following MissingPluginException was thrown while activating platform stream on channel [        ] flutter_keyboard_visibility: [        ] MissingPluginException(No implementation found for method listen on channel [        ] flutter_keyboard_visibility)
Check if you are using above mentioned plugin.
Also, in order to better address this issue, please provide a complete minimal reproducible code sample without any 3rd party plugins that we can simply copy paste and run in IDE to see the issue.
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


v2: Add themeConfig.noIndex option

Feature
v1 had a noIndex option: https://docusaurus.io/docs/en/site-config#noindex-boolean
Let's add it to v2 too!
Also need to:

edit the migration doc: https://v2.docusaurus.io/docs/migrating-from-v1-to-v2/#removed-fields
edit the migration cli to migrate correctly this config

There are scripts to easily test the migration cli, look at scripts yarn test:v1Migration:migrate && yarn test:v1Migration:start

I can fix this! @slorber

Yes @imskr thanks


WIP - optimizations - geometry loading and setting in the style system run

related to https://github.com/Volumetrics-io/mrjs/issues/205

A heads up I made an update in this and text system which gave us a boost in performance, I merged it so you'll need to merge in the changes from main.

given the overlap in naming and use - im going to rethink the needs style update functions for better integration with the flag and vice versa - going to pause and noodle on this a short bit

@michaelthatsit - short explanation:

simplifies the update check: changes out the old needsUpdate for the system calls to needsSystemUpdate and creates a needsStyleUpdate for entity items
follows the _needsStyleUpdate and _needsSystemUpdate flags in MREntity and MRSystem respectively where the user only needs to use the getters and setters to have them run as expected - using the trifecta of true/false allows triggering and takes prescedent and setting to undefined allows it to run every call until some outside interference sets it back to true/false.

tldr - first check out MREntity and MRSystem changes, then the changes in the other files will make sense
also added an MRImage fix into the pr since the async loading problem became more apparent with this setup ~

@hanbollar minor clean up and styleSystem needs to rely on check entity.needsStyleUpdate, with needsSystemUpdate set to always true. it should have the same effect given that most of the time an entity won't need a style update.


CI test failures with pyarrow and hdfs

Seeing this on CIs. Looks like a packaging issue actually as it is missing boost. Maybe related to PR ( https://github.com/conda-forge/parquet-cpp-feedstock/pull/43 ).

=================================== FAILURES ===================================
_________________________ test_parquet_pyarrow[hdfs3] __________________________
mod_name = 'pyarrow', error_msg = '`pyarrow` not installed'
    def import_required(mod_name, error_msg):
        """Attempt to import a required dependency.

        The 'package' argument is required when performing a relative import.

        Raises a RuntimeError if the requested module is not available.
        """
        try:
            return import_module(mod_name)
        except ImportError:
>           raise RuntimeError(error_msg)
E           RuntimeError: `pyarrow` not installed
dask/utils.py:94: RuntimeError
------------------------------ Captured log setup ------------------------------
core.py                    137 DEBUG    Connect to handle<PHONE_NUMBER>9216
=============== 1 failed, 10 passed, 13 skipped in 11.03 seconds ===============
The command "if [[ $TEST_HDFS == 'true' ]]; then source continuous_integration/hdfs/run_tests.sh; fi" exited with 1.

ref: https://travis-ci.org/dask/dask/jobs/359059325

Looking more closely it seems like these are using dev builds from twosigma. So the linked PR did not cause the issue. Though it may highlight what is going wrong. IOW the package now depends on Boost.Regex in shared library form, but doesn't explicitly list boost as dependency. May be fixed by listing the dependency or statically linking those pieces.

Perhaps we can go back to using more stable builds on conda-forge?
Also cc @wesm
On Wed, Mar 28, 2018 at 4:08 AM, jakirkham<EMAIL_ADDRESS>wrote:

Looking more closely it seems like these are using dev builds from
twosigma. So the linked PR did not cause the issue. Though it may
highlight what is going wrong. IOW the package now depends on Boost.Regex
in shared library form, but doesn't explicitly list boost as dependency.
May be fixed by listing the dependency or statically linking those pieces.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/3345#issuecomment-376799213, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszE0DCno1QTDP6TU2woIzOGpxNQkZks5ti0ULgaJpZM4S-MAJ
.

Yes, you can use the 0.9.0 conda-forge binaries now. We need to fix the nightlies, though cc @cpcloud

The nightlies are working again, I fixed them yesterday or the day before: https://anaconda.org/twosigma/repo

Still failing with the same issue as of an hour ago.

Are we comfortable marking that test as a known failure?

@cpcloud @kszucs @pitrou any idea what's up with the nightlies here?

I don't know. AFAIR we should not depend on libboost_regex.so anymore, but apparently our CMakeLists.txt still lists it?

I've tried to reproduce the container. I don't know how much it helps, but here is the output:
$ docker run -it daskdev/dask-hdfs-testing:latest bash

Inside the container
root@40ddcccf0228:/working# conda install -y dask hdfs3 pyarrow -c twosigma -c conda-forge

Package plan for installation in environment /opt/conda:                                                                                [197/412]

The following NEW packages will be INSTALLED:

    arrow-cpp:        0.8.0+151.nightly-py36_2 twosigma
    bokeh:            0.12.15-py36_0           conda-forge
    click:            6.7-py_1                 conda-forge
    cloudpickle:      0.5.2-py_0               conda-forge
    cytoolz:          <IP_ADDRESS>-py36_0           conda-forge
    dask:             0.17.4-py_0              conda-forge
    dask-core:        0.17.4-py_0              conda-forge
    distributed:      1.21.8-py36_0            conda-forge
    hdfs3:            0.3.0-py36_0             conda-forge
    heapdict:         1.0.0-py36_0             conda-forge
    intel-openmp:     2018.0.0-8
    jinja2:           2.10-py36_0              conda-forge
    libgfortran-ng:   7.2.0-hdf63c60_3
    locket:           0.2.0-py36_1             conda-forge
    markupsafe:       1.0-py36_0               conda-forge
    mkl:              2018.0.2-1
    mkl_fft:          1.0.2-py36_0             conda-forge
    mkl_random:       1.0.1-py36_0             conda-forge
    msgpack-python:   0.5.6-py36_1             conda-forge
    numpy:            1.14.2-py36hdbf6ddf_1
    packaging:        17.1-py_0                conda-forge
    pandas:           0.22.0-py36_1            conda-forge
    parquet-cpp:      1.4.0+15.nightly-0       twosigma
    partd:            0.3.8-py36_0             conda-forge
    psutil:           5.4.5-py36_0             conda-forge
    pyarrow:          0.9.0+181.nightly-py36_1 twosigma
    pyparsing:        2.2.0-py36_0             conda-forge
    python-dateutil:  2.7.2-py_0               conda-forge
    pytz:             2018.4-py_0              conda-forge
    pyyaml:           3.12-py36_1              conda-forge
    sortedcontainers: 1.5.10-py36_0            conda-forge
    tblib:            1.3.2-py36_0             conda-forge
    toolz:            0.9.0-py_0               conda-forge
    tornado:          5.0.2-py36_0             conda-forge
    zict:             0.1.3-py_0               conda-forge

The following packages will be UPDATED:

    conda:            4.3.32-py36_0            conda-forge --> 4.5.3-py36_0 conda-forge

Installs successfully...

root@40ddcccf0228:/working# python -c "import pyarrow"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/conda/lib/python3.6/site-packages/pyarrow/__init__.py", line 47, in <module>
    from pyarrow.lib import cpu_count, set_cpu_count
ImportError: libarrow.so.10: cannot open shared object file: No such file or directory

root@40ddcccf0228:/working# ls /opt/conda/lib/ | grep arrow
libarrow.a
libarrow.so
libarrow.so.0
libarrow.so.0.0.0
libarrow_python.a
libarrow_python.so
libarrow_python.so.0
libarrow_python.so.0.0.0

That looks screwy, and on my local machine I get matching versions.

Trying on the image now

the nightly build logs show that pyarrow is built against the correct, matching version of arrow-cpp that was built just before it, so i'm not sure what the issue is here.
additionally, updating conda using the conda-forge channel and then installing pyarrow as @kszucs shows above installs matching nightly 0.9.0-based pyarrow and arrow-cpp builds.
importing pyarrow works after that.
hopefully we don't need to start sacrificing chickens and doing rain dances to make our software install correctly.

@kszucs, conda activation changes in 4.4.0+, which might be part of the issue that you are seeing there.
ref: https://github.com/conda/conda/releases/tag/4.4.0

That said, could be totally mistaken as we are seeing the same issue in recent CI builds.

@jakirkham, that build is installing conda <4.4.0

Seems to be using 4.5.3.

Don't think that conda is the issue with the CI builds though. Checked locally already.
Though the error seems to be correct. How is the SONAME being set?
$ ls /opt/conda/lib/ | grep "libarrow.so*"
libarrow.so
libarrow.so.0
libarrow.so.0.0.0

@jakirkham, it matters that conda is updating at the same time as arrow is being installed. I don't know why. As I say above

running conda update --all --yes -c conda-forge and then installing pyarrow

you must first update conda and then install arrow.
i don't think this is an SO issue, since conda is not installing the correct dependencies. it does install the correct dependencies when you first update conda and then install arrow

The SO version wasn't being set previously, and now it is as of this PR. Maybe that's related, but I'm not sure how that explains conda wanting to install mismatched versions.

Sorry, missed that. Though just updating conda in the Docker container alone seems to give me the same error, which is pretty odd.

Right, so the install only works correctly if you pass the --all flag and you install from -c conda-forge. I'm not sure how any of that affects how dependencies are calculated.

Yep, looking into it ATM. Think I have an idea.

Went ahead and just upgraded conda to 4.5.3 from conda-forge for what follows. Not sure if it is necessary to fix the issue, but it seems like a good idea given how old conda is in the image.
So it looks like there are two things that need to happen. There needs to be a newer copy of boost-cpp and a newer copy of protobuf. Upgrading both of these fixes the issue.
Weird side story, simply upgrading boost-cpp is not sufficient as conda pull in an ancient version of boost as well (details below). No idea why this happens. Any ideas, @kalefranz?

$ conda update -c conda-forge boost-cpp
Solving environment: done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - boost-cpp

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libhdfs3-2.2.31            |                0        19.4 MB  conda-forge
    boost-1.60.0               |           py36_0        10.5 MB
    ca-certificates-2018.4.16  |                0         139 KB  conda-forge
    certifi-2018.4.16          |           py36_0         142 KB  conda-forge
    boost-cpp-1.67.0           |                0        19.7 MB  conda-forge
    openssl-1.0.2o             |                0         3.5 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        53.4 MB

The following NEW packages will be INSTALLED:

    boost:           1.60.0-py36_0

The following packages will be UPDATED:

    boost-cpp:       1.64.0-1                 conda-forge --> 1.67.0-0         conda-forge
    ca-certificates: 2017.08.26-h1d4fec5_0                --> 2018.4.16-0      conda-forge
    certifi:         2017.11.5-py36hf29ccca_0             --> 2018.4.16-py36_0 conda-forge
    openssl:         1.0.2n-hb7f436b_0                    --> 1.0.2o-0         conda-forge

The following packages will be DOWNGRADED:

    libhdfs3:        2.3-0                    conda-forge --> 2.2.31-0         conda-forge

Workaround is to install boost, which pulls in newer versions of boost and boost-cpp.

$  conda install -c conda-forge boost
Solving environment: done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - boost

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    intel-openmp-2018.0.0      |                8         620 KB
    openssl-1.0.2o             |                0         3.5 MB  conda-forge
    libhdfs3-2.3.0             |       h97226ba_1         8.4 MB
    boost-cpp-1.67.0           |                0        19.7 MB  conda-forge
    mkl_fft-1.0.2              |           py36_0         505 KB  conda-forge
    ca-certificates-2018.4.16  |                0         139 KB  conda-forge
    boost-1.67.0               |           py36_0         317 KB  conda-forge
    certifi-2018.4.16          |           py36_0         142 KB  conda-forge
    numpy-1.14.2               |   py36hdbf6ddf_1         4.1 MB
    mkl-2018.0.2               |                1       205.2 MB
    mkl_random-1.0.1           |           py36_0         1.3 MB  conda-forge
    libgfortran-ng-7.2.0       |       hdf63c60_3         1.2 MB
    libprotobuf-3.4.1          |       h5b8497f_0         4.0 MB
    ------------------------------------------------------------
                                           Total:       249.3 MB

The following NEW packages will be INSTALLED:

    boost:           1.67.0-py36_0            conda-forge
    intel-openmp:    2018.0.0-8
    libgfortran-ng:  7.2.0-hdf63c60_3
    libprotobuf:     3.4.1-h5b8497f_0
    mkl:             2018.0.2-1
    mkl_fft:         1.0.2-py36_0             conda-forge
    mkl_random:      1.0.1-py36_0             conda-forge
    numpy:           1.14.2-py36hdbf6ddf_1

The following packages will be UPDATED:

    boost-cpp:       1.64.0-1                 conda-forge --> 1.67.0-0         conda-forge
    ca-certificates: 2017.08.26-h1d4fec5_0                --> 2018.4.16-0      conda-forge
    certifi:         2017.11.5-py36hf29ccca_0             --> 2018.4.16-py36_0 conda-forge
    libhdfs3:        2.3-0                    conda-forge --> 2.3.0-h97226ba_1
    openssl:         1.0.2n-hb7f436b_0                    --> 1.0.2o-0         conda-forge

Of course that is not enough, we need to install boost and upgrade protobuf.

$  conda install -c conda-forge boost protobuf
Solving environment: done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - boost
    - protobuf

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libgfortran-ng-7.2.0       |       hdf63c60_3         1.2 MB
    openssl-1.0.2o             |                0         3.5 MB  conda-forge
    mkl_random-1.0.1           |           py36_0         1.3 MB  conda-forge
    libprotobuf-3.5.2          |                0         4.5 MB  conda-forge
    ca-certificates-2018.4.16  |                0         139 KB  conda-forge
    libhdfs3-2.3               |                1         8.6 MB  conda-forge
    protobuf-3.5.2             |           py36_0         1.4 MB  conda-forge
    numpy-1.14.2               |   py36hdbf6ddf_1         4.1 MB
    boost-cpp-1.66.0           |                1        18.8 MB  conda-forge
    intel-openmp-2018.0.0      |                8         620 KB
    mkl-2018.0.2               |                1       205.2 MB
    mkl_fft-1.0.2              |           py36_0         505 KB  conda-forge
    boost-1.66.0               |           py36_1         317 KB  conda-forge
    certifi-2018.4.16          |           py36_0         142 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       250.2 MB

The following NEW packages will be INSTALLED:

    boost:           1.66.0-py36_1            conda-forge
    intel-openmp:    2018.0.0-8
    libgfortran-ng:  7.2.0-hdf63c60_3
    libprotobuf:     3.5.2-0                  conda-forge
    mkl:             2018.0.2-1
    mkl_fft:         1.0.2-py36_0             conda-forge
    mkl_random:      1.0.1-py36_0             conda-forge
    numpy:           1.14.2-py36hdbf6ddf_1

The following packages will be UPDATED:

    boost-cpp:       1.64.0-1                 conda-forge --> 1.66.0-1         conda-forge
    ca-certificates: 2017.08.26-h1d4fec5_0                --> 2018.4.16-0      conda-forge
    certifi:         2017.11.5-py36hf29ccca_0             --> 2018.4.16-py36_0 conda-forge
    libhdfs3:        2.3-0                    conda-forge --> 2.3-1            conda-forge
    openssl:         1.0.2n-hb7f436b_0                    --> 1.0.2o-0         conda-forge
    protobuf:        3.3.2-py36_0             conda-forge --> 3.5.2-py36_0     conda-forge

Once that is done installing pyarrow works smoothly and pulls in the right versions.

$  conda install -y dask hdfs3 pyarrow -c twosigma -c conda-forge
Solving environment: done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - dask
    - hdfs3
    - pyarrow

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    psutil-5.4.5               |           py36_0         332 KB  conda-forge
    pyarrow-0.9.0+181.nightly  |           py36_1         1.3 MB  twosigma
    packaging-17.1             |             py_0          20 KB  conda-forge
    pyyaml-3.12                |           py36_1         394 KB  conda-forge
    bokeh-0.12.15              |           py36_0         4.2 MB  conda-forge
    dask-core-0.17.4           |             py_0         440 KB  conda-forge
    click-6.7                  |             py_1          54 KB  conda-forge
    distributed-1.21.8         |           py36_0         765 KB  conda-forge
    heapdict-1.0.0             |           py36_0           5 KB  conda-forge
    msgpack-python-0.5.6       |   py36h2d50403_2         306 KB  conda-forge
    hdfs3-0.3.0                |           py36_0          38 KB  conda-forge
    cytoolz-<IP_ADDRESS>            |           py36_0         1.3 MB  conda-forge
    markupsafe-1.0             |           py36_0          32 KB  conda-forge
    partd-0.3.8                |           py36_0          29 KB  conda-forge
    tblib-1.3.2                |           py36_0          15 KB  conda-forge
    jinja2-2.10                |           py36_0         183 KB  conda-forge
    locket-0.2.0               |           py36_1           7 KB  conda-forge
    sortedcontainers-1.5.10    |           py36_0          45 KB  conda-forge
    cloudpickle-0.5.2          |             py_0          15 KB  conda-forge
    python-dateutil-2.7.2      |             py_0         203 KB  conda-forge
    arrow-cpp-0.9.0+181.nightly|           py36_7         4.3 MB  twosigma
    toolz-0.9.0                |             py_0          45 KB  conda-forge
    zict-0.1.3                 |             py_0          10 KB  conda-forge
    tornado-5.0.2              |           py36_0         657 KB  conda-forge
    pandas-0.22.0              |           py36_1        26.1 MB  conda-forge
    dask-0.17.4                |             py_0           2 KB  conda-forge
    parquet-cpp-1.4.0+15.nightly|                0         1.3 MB  twosigma
    pyparsing-2.2.0            |           py36_0          95 KB  conda-forge
    pytz-2018.4                |             py_0         215 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        42.3 MB

The following NEW packages will be INSTALLED:

    arrow-cpp:        0.9.0+181.nightly-py36_7 twosigma
    bokeh:            0.12.15-py36_0           conda-forge
    click:            6.7-py_1                 conda-forge
    cloudpickle:      0.5.2-py_0               conda-forge
    cytoolz:          <IP_ADDRESS>-py36_0           conda-forge
    dask:             0.17.4-py_0              conda-forge
    dask-core:        0.17.4-py_0              conda-forge
    distributed:      1.21.8-py36_0            conda-forge
    hdfs3:            0.3.0-py36_0             conda-forge
    heapdict:         1.0.0-py36_0             conda-forge
    jinja2:           2.10-py36_0              conda-forge
    locket:           0.2.0-py36_1             conda-forge
    markupsafe:       1.0-py36_0               conda-forge
    msgpack-python:   0.5.6-py36h2d50403_2     conda-forge
    packaging:        17.1-py_0                conda-forge
    pandas:           0.22.0-py36_1            conda-forge
    parquet-cpp:      1.4.0+15.nightly-0       twosigma
    partd:            0.3.8-py36_0             conda-forge
    psutil:           5.4.5-py36_0             conda-forge
    pyarrow:          0.9.0+181.nightly-py36_1 twosigma
    pyparsing:        2.2.0-py36_0             conda-forge
    python-dateutil:  2.7.2-py_0               conda-forge
    pytz:             2018.4-py_0              conda-forge
    pyyaml:           3.12-py36_1              conda-forge
    sortedcontainers: 1.5.10-py36_0            conda-forge
    tblib:            1.3.2-py36_0             conda-forge
    toolz:            0.9.0-py_0               conda-forge
    tornado:          5.0.2-py36_0             conda-forge
    zict:             0.1.3-py_0               conda-forge

Not sure where the Docker image is being maintained or who is maintaining it, but it looks like we need a rebuild.

That is the difference. Originally boost had everything, but users wanted to break out the C++ parts and depend on only them (if they didn't need python for instance). So we added boost-cpp with just the C++ parts. boost only packages the python parts since that split, but depends on boost-cpp in order to preserve the same user interface. There is a similar relationship between libprotobuf and protobuf.

Proposing we mark this test matrix item as a know failure until someone has time to fix it. ( https://github.com/dask/dask/pull/3626 )

Any actions we can take on the Arrow side to help with this?

The main issue is the Docker image used for this test needs to be rebuilt with newer packages. @mrocklin, any idea how we can make this happen?


Uncaught TypeError: Cannot read property 'saveCursorPosition' of undefined

hey trying to add this plugin but getting this error on clicking source code menu

For now, you can just make sure to specify some configuration options for it.
See the config example here: https://github.com/christiaan/tinymce-codemirror#configuration

Hello
can't reproduce, even if i don't have a config for it.. default config will be used..
but i will add/update configuration part in readme.
regards
thomi

Fixed #38


Feature Request: Add JSON Content-Type option for authorization token refresh

Your Environment

Plugin version: 5.0.0
Platform: Android
Plugin config provided to #ready:

{
  url: `${import.meta.env.VITE_SUPABASE_URL}/functions/v1/upload_location`,
  authorization: {
    accessToken: session.access_token,
    refreshToken: session.refresh_token,
    expires: session.expires_in,
    strategy: "JWT",
    refreshUrl: `${import.meta.env.VITE_SUPABASE_URL}/auth/v1/token?grant_type=refresh_token`,
    refreshPayload: {
      refresh_token: "{refreshToken}",
    },
    refreshHeaders: {
      "content-type": "application/json",
    }
  },
  method: "POST",
}

Expected Behavior
The request should be made with a JSON body
Actual Behavior
The request is made with a form body
Context
I'm trying to refresh the supabase access token, which requires a JSON body
Debug logs

Logs
// BackgroundGeolocation.onAuthorization event
{"code":400,"msg":"Could not read refresh token grant params: unexpected end of JSON input"}

Hey! I'm having the same issue, did you find any workaround? or do we just have to wait until the feature is implemented?


[ADD] Array functions: Finding mex of an Array

i would like to work on this issue .

@konstantinapi Go ahead


Can readthis use hashes instead of strings?

Hey there,
Is there a way to configure readthis to use hashes instead of strings as described here? https://redis.io/topics/memory-optimization#using-hashes-to-abstract-a-very-memory-efficient-plain-key-value-store-on-top-of-redis
Thanks,
Ben

No, there isn't a way to do this directly with readthis. You can access the redis pool directly using the with method on Rails.cache, but this is a very application specific way of doing things.
I've written about this a fair bit in the past:
https://sorentwo.com/2015/08/10/efficient-redis-caching-through-hashing.html
https://sorentwo.com/2015/08/17/reconstructing-payloads-with-lua.html
Ultimately cache expiration and nested associations proved difficult to generalize. You may be interested in Knuckles for performant caching with arbitrary associations and distinct expiration.


new url for the SO scraper available

SO provides their data in a scraper friendlier manner. The data can be accessed via https://corona.so.ch/index.php?id=27979. They asked us to keep the current source in our files.

#537


Bump version to 0.2.61

Releasing a version now will allow Redox compilation to work again, as it will include #1438

r? @gnzlbg
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 063d7ac340298f6befb5541b529653e23f84e706 has been approved by gnzlbg

:hourglass: Testing commit 063d7ac340298f6befb5541b529653e23f84e706 with merge d279176458c2f181b427415f4d67587cd1e19d19...

:sunny: Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, status-azure
Approved by: gnzlbg
Pushing d279176458c2f181b427415f4d67587cd1e19d19 to master...

FYI 0.2.61 has been published


Sqlsrv extension regression

I noticed that there is a regression bug that happens as soon as I add sqlsrv to the extension list.
My build command:
export SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS="-g -Os" && ./bin/spc build intl,pdo_sqlite,sqlite3,curl,openssl,tokenizer,bcmath,bz2,calendar,dba,ftp,iconv,mysqli,mbstring,mbregex,xml,simplexml,ctype,dom,pdo,filter,session,zlib,fileinfo,pdo_mysql,posix,sockets,shmop,sodium,sysvmsg,sysvsem,sysvshm,gd,zip,gmp,redis,xmlwriter,phar,exif,xmlreader,readline,pcntl,soap,imagick,ffi,password-argon2,pgsql,pdo_pgsql,imap,ldap,xsl,igbinary,zstd,opcache,mongodb --debug --build-cli  --build-fpm --with-libs=nghttp2,liblz4  --debug --no-strip

When running the following code with this PHP binary, you get the correct result 0:
echo str_word_count('мама', 0, null);

When you add sqlsrv and compile a PHP binary, this code breaks and returns 4 instead.

This bug seems to exist on Homebrew's PHP as well, so perhaps track this issue upstream would be better.

Thank you for tracking this issue down! I'll create an issue on the upstream repository 👍


Drag and drop reordering colors

This would be useful when building a palette and needing to create an intermediate shade between two existing ones.

Added in #20.


[BUG] Bento components on NEXTJS - ReferenceError: self is not defined

Following guide at
https://bentojs.dev/documentation/guides/bento-next.js-guide/
and gets this error:
ReferenceError: self is not defined

Hi @Beethoven 👋🏻
Would you please try using dynamic import with ssr disabled instead of importing conventionally?
Syntax:
import dynamic from "next/dynamic";

const <module_name> = dynamic(
  () => import(<path>).then((mod) => mod.<component_to_use>),
  { ssr: false }
);

So, this import block:
import {
  BentoAccordion,
  BentoAccordionSection,
  BentoAccordionHeader,
  BentoAccordionContent,
} from '@bentoproject/accordion/react';

import<EMAIL_ADDRESS>
would be written as:
import dynamic from "next/dynamic";

// Use dynamic import with SSR disabled for all imports except CSS
const BentoAccordion = dynamic(
  () =>
    import("@bentoproject/accordion/react").then(
      (mod) => mod.BentoAccordion),
  { ssr: false }
);
const BentoAccordionSection = dynamic(
  () =>
    import("@bentoproject/accordion/react").then(
      (mod) => mod.BentoAccordionSection
    ),
  { ssr: false }
);
const BentoAccordionHeader = dynamic(
  () =>
    import("@bentoproject/accordion/react").then(
      (mod) => mod.BentoAccordionHeader
    ),
  { ssr: false }
);
const BentoAccordionContent = dynamic(
  () =>
    import("@bentoproject/accordion/react").then(
      (mod) => mod.BentoAccordionContent
    ),
  { ssr: false }
);

import<EMAIL_ADDRESS>
For detailed information on dynamic import, refer https://nextjs.org/docs/advanced-features/dynamic-import
I am also trying to figure out root cause of the issue. Will post when found.

Hi @Beethoven 👋🏻
Would you please try using dynamic import with ssr disabled instead of importing conventionally?
Syntax:
import dynamic from "next/dynamic";

const <module_name> = dynamic(() =>
  import(<path>).then((mod) => mod.<component_to_use>),
  { ssr: false }
);

So, this import block:
import {
  BentoAccordion,
  BentoAccordionSection,
  BentoAccordionHeader,
  BentoAccordionContent,
} from '@bentoproject/accordion/react';

import<EMAIL_ADDRESS>
would be written as:
import dynamic from "next/dynamic";

// Use dynamic import with SSR disabled for all imports except CSS
const BentoAccordion = dynamic(() =>
  import("@bentoproject/accordion/react").then((mod) => mod.BentoAccordion),
  { ssr: false }
);
const BentoAccordionSection = dynamic(() =>
  import("@bentoproject/accordion/react").then((mod) => mod.BentoAccordionSection),
  { ssr: false }
);
const BentoAccordionHeader = dynamic(() =>
  import("@bentoproject/accordion/react").then((mod) => mod.BentoAccordionHeader),
  { ssr: false }
);
const BentoAccordionContent = dynamic(() =>
  import("@bentoproject/accordion/react").then((mod) => mod.BentoAccordionContent),
  { ssr: false }
);

import<EMAIL_ADDRESS>
For detailed information on dynamic import, refer https://nextjs.org/docs/advanced-features/dynamic-import
I am also trying to figure out root cause of the issue. Will post when found!

Yes, this works, but the robots can't see the info on Accordion (all all Bento Components) as It's not rendered on server, only on client.
Thus, all Bento components are useless from the SEO perspective.

And the dos on https://bentojs.dev/documentation/guides/bento-next.js-guide/ is wrong.
Client-side rendering can increase the likelihood of a poor user experience and for search engine bots.
If Bento is for client side only, it's useless.

Reporting the same self is not defined error here 👇


Windows support?

I've been working on a npm module https://github.com/Coalman/blessed-life and I decided to test it on windows. It seems like there are artifacts when I run it and new lines are added to the output sometimes. I was wondering if perhaps windows support is broken or if I didn't do/setup something correctly?
I've tried it in git bash/cmd and some of the examples of artifacts (the ping one). Everything works fine on linux.

Most likely fixed with #130.