How to use secretMounts for passwd and acl in k8s?

I probably doing it wrong, but I'm having trouble using the new secretMounts settings with the helm chart. Here is my secrets file which I converted the contents of both my passwd and acl file to base64:
apiVersion: v1
kind: Secret
metadata:
  name: vernemq-secrets
  namespace: vernemq
data:
  vmq.passwd: #{vmq-passwd}#
  vmq.acl: #{vmq-acl}#
type: Opaque

... and my values.yaml:
...
persistentVolume:
  ## If true, VerneMQ will create/use a Persistent Volume Claim
  ## If false, use local directory
  enabled: false

  ...
  # A list of secrets and their paths to mount inside the pod
  # This is useful for mounting certificates for security (tls)
  secretMounts:
    - name: vernemq-secrets
      secretName: vernemq-secrets
      path: /etc/vernemq
...

I'm sure I'm doing it wrong, but my goal is to have the secrets for both acl and passwd mount and be used by the cluster.

@donfmorrison can you share more information about what isn't working? E.g. some logs. If possible try to do an ls -la /etc/vernemq just to confirm that the files are there (or not) and have the proper permissions.

@dergraf Looks like those secrets aren't being mounted:
kubectl exec vernemq-0 --namespace vernemq -- ls -la /etc/vernemq
lrwxrwxrwx    1 root     root            12 Sep 27 06:19 /etc/vernemq -> /vernemq/etc

kubectl exec vernemq-0 --namespace vernemq -- ls -la /vernemq/etc
total 60
drwxr-xr-x    2 vernemq  vernemq       4096 Oct 23 04:51 .
drwxr-xr-x    1 vernemq  vernemq       4096 Oct 23 04:51 ..
-rw-r--r--    1 vernemq  vernemq      38877 Oct 23 04:51 vernemq.conf
-rw-r--r--    1 vernemq  vernemq        352 Oct 23 04:51 vm.args
-rw-r--r--    1 vernemq  vernemq        217 Oct 23 04:51 vm.args.bak
-rw-r--r--    1 vernemq  vernemq          8 Sep 27 06:08 vmq.acl

Secrets do appear to be present:
kubectl describe secrets/vernemq-secrets --namespace vernemq
Name:         vernemq-secrets
Namespace:    vernemq
Labels:       <none>
Annotations:
Type:         Opaque

Data
====
vmq.acl:     506 bytes
vmq.passwd:  947 bytes

Are there specific logs that would help?

Something comes to mind that I learned just recently. In the Dockerfile we declare a /vernemq/etc as a volume (see https://github.com/vernemq/docker-vernemq/blob/master/Dockerfile#L58), at this point I am not sure if this is the wisest thing to do (@drf, @francois-travais, @codeadict).
As a consequence a volume gets automatically created and survives the deletion of the container. BUT (if I understand it correctly) when the container gets restarted it uses the existing volume automatically and doesn't mount a 'new' volume that may contain new data. Do you think it is possible that this could causing this issue here?

@dergraf - about the volume, I agree it might not the best approach, although it is unlikely to cause that issue you mentioned. Also, removing it would alter a well-known behavior for current users so I'd be extremely reluctant in doing so - it needs proper messaging and an upgrade path.
The first thing that comes to my mind is that, if @donfmorrison pasted his yaml correctly, secretMounts is in the wrong hierarchy (under persistentVolume instead of being top-level), and this basically doesn't make it work.

@drf good catch! I did have the secretMounts section at the wrong level underneath persistentVolume. FIxed that.
Deployments failed using mount path /etc/vernemq so there might be something to your thoughts there. Changing to different mount path resolved all issues.
Secret files mount and setting the path to passwd and acl files via config variables get's everything working as expected.
secretMounts:
  - name: vernemq-auth
    secretName: vernemq-secrets
    path: /vernemq/auth

Thank you!

@dergraf I think this is mostly documentation material


Add C implementation for @stdlib/math/base/special/cosh

Resolves #748.
Checklist

[x] update readme.md
[x] include.gypi
[x] binding.gyp
[x] include/stdlib/math/base/special/
[x] src
[x] manifest.json
[x] lib
[x] examples
[x] benchmark
[x] test

@kgryte

All tests passed and benchmarks cleared, this PR can have a final review.

@Pranavchiku This appears to be a duplicate of https://github.com/stdlib-js/stdlib/pull/732.

Should #732 or this PR be preferred?

This is redundant, I might have missed it when I cleaned up my PC for a fresh installation of Ubuntu 22.04.
PR: #732 , can be preferred over this.

Okay. Will close.


Implement edgeCollection.save shorthand

Fixes #1733.
This renames the C++ ArangoCollection insert method to _insert and replaces it (as well as the save alias) with a JavaScript wrapper for _insert.
@neunhoef Do you see any potential complications from this change? The changes are all in the API exposed to JS so I think this change shouldn't break anything and the "old" method signature is still fully supported (and used internally too). This is intended to be purely a quality of life improvement, not a breaking change.
As edgeCollection.save({_from: a, _to: b}) is purely a syntactic shorthand for edgeCollection.save(a, b, {}) there are intentionally no sanity checks for the values of a and b -- all the underlying argument handling (e.g. handling objects with _id properties) will still apply no matter whether this makes sense or not. This is an intentional limitation on the input validation -- the _from and _to keys of the data will be ignored by the underlying API anyway.
As this PR involves changes to C++ code and because the ArangoCollection API is extremely vital, I would like explicit signoff by somebody else before merging this.

@neunhoef pointed out that this inconsistency will be solved in 3.0 via Velocypack (which can handle the special edge attributes as regular attributes), so this PR is redundant.


NIFI-13910 Upgrade Apache Tika from 2.9.2 to 3.0.0

Summary
NIFI-13910 Upgrades Apache Tika dependencies from 2.9.2 to 3.0.0.
Changes include adjusting the location of custom-mimetypes.xml to align with Tika 3 changes described in TIKA-4147. Tika is no longer used in framework modules, so the dependency management definition is removed from the nifi-framework-bundle configuration.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[X] Build completed using mvn clean install -P contrib-check

[X] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

test failure clearly unrelated. local build was good and running full suite of integration tests too


Hardware / Software version (KS01_V5.13)

|   |   |
-- | -- | -- | --
pallazza.0 | 2019-08-21 18:32:25.565 | error | Some critical error occurred (see log). Disabling the adapter
pallazza.0 | 2019-08-21 18:32:25.543 | error | Hardware / Software version (KS01_V5.13)is not supported by this adapter!
any chance to get to work with it ?
Haas+Sohn HSP 2.17 PREMIUM

Hey, I enabled your device in the following branch:
https://github.com/marvingrieger/ioBroker.pallazza/tree/KS01_V5.13
However, I am not able to test it.
If it works, please let me know so I can enable it globally.

Hey, i get this error
`

host.raspberrypi
2019-10-04 22:34:36.385
error
Cannot  write files:  /opt/iobroker/iobroker-data/files/pallazza.admin/_data.json: ENOENT: no  such file or directory, open  '/opt/iobroker/iobroker-data/files/pallazza.admin/_data.json'

host.raspberrypi
2019-10-04 22:31:11.447
info
Update repository "default" under "http://download.iobroker.net/sources-dist.json"

iobroker
2019-10-04 22:31:11.291
info
exit 0

iobroker
2019-10-04 22:31:11.168
info
upload [0] pallazza.admin /opt/iobroker/node_modules/iobroker.pallazza/admin/haassohn.png haassohn.png image/png

iobroker
2019-10-04 22:31:11.108
info
upload [1] pallazza.admin  /opt/iobroker/node_modules/iobroker.pallazza/admin/i18n/de/translations.json  i18n/de/translations.json application/json

iobroker
2019-10-04 22:31:11.045
info
upload [2] pallazza.admin  /opt/iobroker/node_modules/iobroker.pallazza/admin/i18n/en/translations.json  i18n/en/translations.json application/json

iobroker
2019-10-04 22:31:10.976
info
upload [3] pallazza.admin /opt/iobroker/node_modules/iobroker.pallazza/admin/index.html index.html text/html

iobroker
2019-10-04 22:31:10.913
info
upload [4] pallazza.admin /opt/iobroker/node_modules/iobroker.pallazza/admin/index_m.html index_m.html text/html

iobroker
2019-10-04 22:31:10.581
info
upload [5] pallazza.admin /opt/iobroker/node_modules/iobroker.pallazza/admin/words.js words.js application/javascript

iobroker
2019-10-04 22:31:10.555
info
got /opt/iobroker/node_modules/iobroker.pallazza/admin

iobroker
2019-10-04 22:31:10.387
info
found 75 vulnerabilities (43 low, 32 high)  run npm audit fix to fix them, or npm audit for details

iobroker
2019-10-04 22:31:10.377
info
+<EMAIL_ADDRESS>5 packages from 5 contributors and audited 16043 packages in 50.027s

iobroker
2019-10-04 22:31:10.353
info

iobroker
2019-10-04 22:31:10.351
info
WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"}  (current: {"os":"linux","arch":"arm"})

iobroker
2019-10-04 22:31:10.349
info
WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/osx-temperature-sensor):npm

`

Hey, I just installed the adapter from your fork ... works fine on my side.
The message might indicate a general problem with your installation. Maybe try a clean install?

Ok it works fine now thanks for your work

Nice. Please let me know if the adapter works as expected. In particular:

Do you see an error like "State X does not exist" in the log?
Are you able to change the temperature of the oven?

If everything works well, I'll add your hardware / software combination to the list of supported devices.

Hi, no errors im able to change the temperature and turn the oven on/off.

Nice, I added the support in the master.
Let me know if you are missing some functionality. In theory, it should be possible to at least provide any functionality which the regular Haas+Sohn app provides.


Make feature specs more robust

I was seeing intermittent Capybara failures when playing with @knu's #1876. I believe this change helps by ensuring that Capybara waits for the full Agent form to be available before interacting further.

Thanks!

Nice!


fix(integrations): support complex regex coming from DjangoCMS

Hello!
Please let me know any change or test required.
Thank you!
Fixes GH-1527

Thanks for this fix @mgaligniana!


Switch to zero-to-nix installer?

We should consider switching to the https://zero-to-nix.com/start/install. They main advantage would be that it provides an easy way to uninstall nix.
Concerns:

It is collecting some telemetry: See https://github.com/DeterminateSystems/nix-installer#diagnostics.
It may not allow to add in a binary cache.

If this is really easy, we should do it.


Fix changelog

There's one line out of place, probably my fault

👌 I'll merge it last, after I'm done with the other ones for tonight.


feat: Add flag to hide/display the autocomplete query for search bar

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)

[ ] Links to related issues (if applicable)
-- https://linear.app/acryl-data/issue/PRD-670/hide-auto-complete-view-results-for-x-dropdown-for-all-non-primary

[ ] Tests for the changes have been added/updated (if applicable)

[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.

[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

unrelated CI smoke test failure. merging!


add t-test, regression, correlation tests

not sure how this is useful for datapact users - let's close for now, and reopen when needed


Error if Nova Resource has custom title

Steps to reproduce:
In Nova Resource, set a custom title:
public function title()
{
       return $this->name . (empty($this->country_code) ? '' : " ({$this->country_code})");
}

When Edit an item, I get this error:
invalid input syntax for integer: "<here comes the NAME of the resource>"
(SQL: select * from "associations" where "associations"."id" = <here comes the NAME of the resource> limit 1)

I found the solution:
This can be solved moving the custom title from Nova Resource to Model itself (where they really should be).
This steps will allow to move the logic to Model
// In nova Resource
public static $title = 'computed_title';

// In Model
protected $appends = ['computed_title'']; // will make this 'virtual field available in array and json'

// use Laravel Accessor to compute the custom title
function getComputedTitleAttribute()
    {
        return .... // Here the code that generate the custom title
    }

*Laravel Accessor DOC


three.js's example..GroundedProjectedSkybox has changed to GroundedSkybox

https://github.com/mrdoob/three.js/commit/36f9019186a01ba481023dcfb12d3856c149f139#diff-6d839b9e72b180b37e6082e5f5d11f03e14be8af4e6973f6c57fa4410453a902
Similar to #374, but it seems as if the API for GronudedSkybox has changed.

This was fixed in<EMAIL_ADDRESS>Have you upgraded to latest?

thanks - didn't see this!


fix dirsize

What this PR doesS
Add error handling to WalkFunc in filepath.Walk in pkg/util/fputil.DirectorySize to avoid panic.
Which issue(s) this PR resolves
Resolves #91.
Anything else

This change is

Codecov Report

Merging #92 (ad4e5d8) into main (16a35ea) will increase coverage by 0.12%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
+ Coverage   63.31%   63.44%   +0.12%
==========================================
  Files         124      124
  Lines       16642    16658      +16
==========================================
+ Hits        10537    10568      +31
+ Misses       5569     5560       -9
+ Partials      536      530       -6

Impacted Files
Coverage Δ

pkg/util/fputil/dirsize.go
70.00% <25.00%> (-12.36%)
:arrow_down:

internal/admin/stats/repository.go
79.04% <0.00%> (-1.84%)
:arrow_down:

internal/metarepos/raft_metadata_repository.go
71.93% <0.00%> (+0.26%)
:arrow_up:

internal/metarepos/raft.go
80.41% <0.00%> (+0.41%)
:arrow_up:

internal/storagenode/logstream/executor.go
76.58% <0.00%> (+0.63%)
:arrow_up:

internal/metarepos/storage.go
81.51% <0.00%> (+0.85%)
:arrow_up:

bin/tests/test_start_varlogsn.py
95.83% <0.00%> (+1.71%)
:arrow_up:

internal/storagenode/replication_server.go
83.00% <0.00%> (+3.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[SMP-2348] SMP 0.11.2 patch release notes

SMP 0.11.2 patch release notes
For reviewers, a preview is available.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6570efe2102c35046180c0fb--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6571d20a142d9d143d2979eb--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6571d406fa0298117deed6b0--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6571f730696343006b3c86fc--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6571fb7c0e46c3008a60d718--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65722a876d83220a909fd0f5--harness-developer.netlify.app


Vendor AMQP

Vendored copy of azure-uamqp-c to port azure-uamqp-python fixes and make other changes.
All of the changes under the "vendor" directory are simply a clone of the uAMQP repo and can be ignored in this PR as being essentially out-of-scope.
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

Ping.
This one's relatively small - the entire "vendor" directory can be ignored since it is just a copy of uAMQP as of #52942afb1a4b48a1d8af7a3ac37d3211661e3423


a314eth.device should avoid calling AllocSignal() on the schedule of the client, which happens to be the TCP/IP stack

I know, a314eth.device is still new :-)
Some rules for device drivers are peculiar, and the device init/exit code still needs work.
But for network device drivers for which the TCP/IP stack (or Envoy) is the only client, there are additional perils. If you call AllocSignal() in the device open/close function, it may actually fail. You don't know how many free signals are still available for the taking.
At the minimum, please check if AllocSignal() returns failure.
If the point is just to have a signal for communicating with the unit Process, you can avoid calling AllocSignal() altogether by using SIGB_SIGNAL (and its corresponding flag SIGF_SIGNAL) instead. There are some precoditions for doing so, though.
Happy to help you out if you want me to :-)

Thanks Olaf for pointing out this issue!
Please let me know if you see any other issues I should handle.


[ux] confirmation ends in being logged in.

If you don't have a password, jitsu will set one after confirm. If you do, it asks for it so that it can log you in.

Merged in 4e742633


Vscode theme with nuance

It would be great to use the light and dark tones provided in the theme for some more nuance similar to how Eppz! does it
I can add this later but wanted to throw it out if anyone wanted to get started on it

I agree with your point. When I was developing on the theme, sticking to a consistent set of token color guidelines was difficult.
I've already got an algorithm that maps keywords based on token abbreviation (tx, tx-2, ui, etc), but I could create a similar one for mapping over constants, keywords, strings, and so on. Even my own theme could benefit from it, so it's a win-win.
I can create a new repo only focused only on flexoki nuances, based on color rules (such Eppzz! image) to be easily customizable.
What do you think @kepano?
Options are:

New isolated repo based on clear code guidelines, based on how Eppzz! do. If so, who gets the ownership?
Continue updating my repo with flekoki variants, as well as yours in this repo.
No action, no variants, just one single variation.

One note kepano made to me on Twitter around opacities, I wanted to call out here
https://x.com/kepano/status/1711016436284445174?s=46
On Oct 10, 2023 at 4:32 PM -0400, Railly Hugo @.***>, wrote:

I agree with your point. When I was developing on the theme, sticking to a consistent set of token color guidelines was difficult.
I've already got an algorithm that maps keywords based on token abbreviation (tx, tx-2, ui, etc), but I could create a similar one for mapping over constants, keywords, strings, and so on. Even my own theme could benefit from it, so it's a win-win.
I can create a new repo only focused only on flexoki nuances, based on color rules (such Eppzz! image) to be easily customizable.
What do you think @kepano?
Options are:
• New isolated repo based on clear code guidelines, based on how Eppzz! do. If so, who gets the ownership?
• Continue updating my repo with flekoki variants, as well as yours in this repo.
• No action, no variants, just one single variation.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I like this idea. I think it makes sense. I have been working on my port for Sublime Text and was running into similar issues.
As @backseats just mentioned this will require me too add more color variations if we want to use opacity relationships — for the reasons explained in the Flexoki documentation. The muted/faint versions of the colors will not be derived using opacity, instead they will be fainter but still opaque shades of colors that are more saturated.
I think the token guidelines should be in this repo. I am open minded about where the generator code should be located. It would be neat if it can work for multiple syntax highlighters (e.g. VSCode, Sublime Text, PrismJS, etc), but that might be too ambitious.

I've just seen the generator folder. I'll be experimenting for a while on my own, then I'll come up with updates.

Hey, new updates here. @kepano
I've launched a new repo with 11 generators at the moment. I've replicated One Hunter Theme and Flexoki variants with it. There is an extensive README there, if you have any questions, you can leave it here. =)
https://github.com/Railly/tinte


change: [M3-8548] - Update security policy

Description 📝
Small updates to security policy as requested of us.
Changes  🔄

Updates manager package's security.txt file to match https://www.linode.com/.well-known/security.txt
Converts the root security.txt file to Markdown, which is more standard based on Git documentation.

When someone creates an issue in your repository, they will see a link to your project's security policy.

Target release date 🗓
09/16/24
How to test 🧪
Verification steps
(How to verify changes)

Read the diff, and see the internal ticket / #10897.

As an Author I have considered 🤔
Check all that apply

[ ] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

Quick note, looks like Policy and Encryption show up on the same line as hackerone link and the contact link in their respective sections:

Thanks Connie - fixed in 951d4d0.


modified the models_dir and output to use just pathlib and keep it simpler

I got a name error for the filepath for modelsDir when further testing.
Amended to use just pathlib which is a lot cleaner.

No longer needed


[FEATURE]: Create database with relations for tests

Describe what you want
For my e2e tests I want to create new database for each test so they can run in parallel but I am having huge trouble creating a new empty database and adding my schemas to it. It would be great if Drizzle could assist with this or if you can give some hints in this issue how to solve it:

I create PostgreSQL client with pg and connect
I create a new database (I cant do this with Drizzle?)
I try to create Drizzle client -> Error relationship xy doesnt exist

Normally I would use drizzle-kit push but it seems like there isnt a function that does the same that I could call from my code?

Same problem here. Creating multiple schemas is a pain

@MickL I employed the following solution
https://github.com/drizzle-team/drizzle-orm/issues/423#issuecomment-2041091975

Drizzle Kit now exposes the API for the push command; however, it isn't documented.

@L-Mario564 Is there anywhere in the code I can chase it down? Exactly what I need.

@L-Mario564 Is there anywhere in the code I can chase it down? Exactly what I need.

The API can be imported from drizzle-kit/api and its code can be found here: https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-kit/src/api.ts.

It was a bit hard to find, but there is a migrate function you can use. My tests look something like this:
import { describe, test, expect, beforeEach } from "bun:test";
import { logUpdate } from "./updates";
import { migrate } from "drizzle-orm/libsql/migrator";
import { db } from "./index";

describe("logUpdate", () => {
  beforeEach(async () => {
    migrate(db, { migrationsFolder: "./migrations" });
  });

  ... actual tests ...
});


move chai and mocha to devDependencies

The minimatch version in Mocha 2.x is insecure.  This means all dependent projects of openssl-cert-tools will raise a security warning from nsp if minimatch is installed via production dependencies (which it is).  This PR addresses the problem by moving mocha and chai into devDependencies.

Thanks, Christopher!


RRA not working properly

Observe the script that checks the most significant bit of the first parameter
lda p0 and<PHONE_NUMBER> sta p1 rra 31 sta p2
if you send(0xFFFFFFFF), you get (-1, -2147483648, -1)
OK, I understand that accumulator A is treated as a signed number, so 0xFFFFFFFF is -1 and 0x80000000 is -2147483648.  However, if you rotate 0x80000000 (0b10000000000000000000000000000000) right 31 times, you should get 0x00000001 (0b00000000000000000000000000000001) and not 0xFFFFFFFF (0x11111111111111111111111111111111).
Now observe this script
lda p0 and<PHONE_NUMBER> sta p1 rra 31 sta p2 lda p0 and<PHONE_NUMBER> sta p3 rra 30 sta p4 lda p0 rra 31 sta p5 and 1 sta p6
if you send one parameter, (0xFFFFFFFF), you get (-1, -2147483648, -1,<PHONE_NUMBER>, 1, -1, 1, 0, 0, 0)
The second part shows that checking the second most significant bit returns the correct number.  The third part is workaround to avoid the bug.  OK, I spent one day finding the error and I found workaround, but correcting the bug will save someone else's valuable time.
Plus, RRA is NOT rotate according to Assembler terminology.  It is actually shift.

Yes, this is a fault with the code.  I was told about this some time ago but decided to do nothing about it at that time.  My concern now and at the time was that some scripts may be depending on the incorrect behaviour.
What do you think @guymcswain ?  Should it be fixed?

I have reported problems with rotate to you several months ago, so perhaps you are thinking of me.
Also, there is a problem with one of conditional jumps, I can check again which one.

Thanks @marko-pi
It would be useful if you raised any other issues you have with the script command set in this issue.
(I did look for your e-mail but couldn't locate it after a quick search)

I will provide more information on other bugs in following days.  Shall I open new issues or put everything here?

If they are all on the script command set I would raise them here.  They will probably be accepted or rejected as a batch.
If they are non-related issues then please start a new issue or issues.

My concern now and at the time was that some scripts may be depending on the incorrect behaviour.
What do you think @guymcswain ? Should it be fixed?

I think the practice we should follow is to fix an API if it does not adhere to the published specification.  Likewise, it is unreasonable for users to rely on behavior that is not specified in the documentation for the API.  I would only take exception to this rule if there were a significant number of users depending  on the 'wrong' behavior.  In that case, we could revert the fix but document the 'de-facto' behavior of the API.  This particular issue would then become a request for a new API.  This seems to me to be low probability so I'd advocate fix.
@marko-pi , if you submit a PR with a fix along with test cases it would expedite getting it into a release this year as I have no experience with the script APIs and the issues backlog will take precedence.

OK, I checked the jumps, and they are OK.  If I remember right I reported that JP (jump positive) was jumping on zero, but after that you corrected the description of the command to "if (F>=0) PC=L", which is OK.
So please could you correct RRA and RLA?  I will report the problem with script status in another thread.


Fix 404s

Via link-checker notification:

[ ] Add an exception for inc5000
[ ] Fix GitLab link in the docs
[ ] Fix GitLab link in blog post

Related: https://github.com/pulumiverse/pulumi-vercel/issues/42


sway/window: app_id on unfocused workspaces

This patch tries to make app_id specific styling from sway/window more useful if the smart_borders and smart_gaps Sway options are used in conjunction with the offscreen-css option of the module.
My main use case for this is styles like window#waybar.solo.kitty, which can make Waybar blend in with the solo window on the workspace (gapless and borderless thanks to the Sway options). For example, you may set a semi-transparent background for Waybar only if a terminal with semi-transparent background is the only window on the workspace, but use a fully opaque background for any other (opaque) window.
Unfortunately, app_id-specific styling is not very useful with multiple monitors. Even if offscreen-css is enabled, the CSS class corresponding to app_id is only applied for the focused window. Thus, Waybar can only ever blends with focused windows.
This patch also applies the app_id for unfocused workspaces when offscreen-css is set, but only if there is a single, non-floating window. This should catch situations where smart_borders and smart_gaps are useful. Technically, gaps and borders are collapsed also when the workspace itself is set to tabbed/stacking with multiple windows, but in that case titlebars (for tabs/stacks) are always present, which would prevent the bar from seamlessly blending in with the visible window anyways.
Since this changes established behavior and might break some configs, a more prudent alternative approach would be to add another configuration option to be used in conjunction with offscreen-css to enable this behavior.

Thanks!


Any demo of this

Features look good. Any demo anywhere? I see your site uses Hugo. Are you going to change to Likho?

Hi @tyeeman, I don't have a demo yet but I should have one in a week or two. My plan is to move from Hugo to Likho to simplify things and have a simple markdown -> html workflow. Hugo is very extensive I am trying to build something simple and fast. I've attached an image to show you what the generated site looks like at the moment.

Thanks! Will this build on Windows?

OK, Update - It works on Windows! It built fine and runs good, but when building, I see all output that is being written in my cmd window. That's not necessary is it? Just slows the process if there are lots of posts/pages.
Also, tags are not showing. Personally they are very important to me but maybe you haven't written the code yet for tags??

Hey thanks for testing it out and glad it works for you on Windows. The output are just logs I will disable them in the next couple of updates. Tags and some features like RSS generation are still a work in progress. I plan on implementing them soon. The code to process them is present they just need to be hooked up.

Great, looking forward to it.

Thanks for the update. I still don't see any tags though.

The following should give you the extension if building on the command line -
go build -o likho.exe ./cmd/likho

If I show tags on the main (landing) page it will clutter up the UI. You can however customise the look and feel by tweaking the index.html template to add elements or main.css to adjust styling. I plan to eventually support themes but I want to get all the basics working first.
If you end up using likho for your blog please leave a link / star the repo, I'll be happy to link to it as a showcase. Cheers

Closing this issue - working tags are now available in the main branch


Change the type of the type declaration in CU

Turns out this test used to work in 7.2.2 it seems:
    @Test
    fun changeTypeInTypeDeclaration(jp: JavaParser) = assertChanged(
        jp,
        recipe = ChangeType("de.Class2", "de.Class1"),
        before = """
            package de;
            public class Class2 {};
        """,
        after = """
            package de;
            public class Class1 {};
        """
    )

Is this still supposed to work? This more of a type renaming...

Revisiting this, I think it is a mistake to support this functionality in ChangeType.
ChangeType is about replacing usage of one type with usage of another type.
Renaming class definitions is a separate concern.


data injection logic is flakey

As can be seen with a lot of our recent workflow failures we are starting to consistently see failures due to the data-injection e2e test failing.
This is most likely happening because the internal logic to handle injecting data into the pods is using a kubectl command through an os/exec call to the system. Since we are directly running the kubectl CLI we are passing off the execution to the host machine which can have inconsistent results due to the host runner having limited resources and trying to do its own thing to optimize process execution.

deploy.go at line ~362

Instead of executing the kubectl CLI we should switch over to handle the cp directly through the k8s api.

Going to take a peak at this for a little bit, not rewrite yet, but just stability

Going to take a peak at this for a little bit, not rewrite yet, but just stability

🏔


Random dinosaur on 404

@zachlatta This is not yet ready for merge.

Any updates on this?

@zachlatta Not yet. I'll close the PR for the time being.


[Project question] Installation issues Ubuntu 20.04

I'm trying to install the package on a Ubuntu 20.04 machine, but I'm getting this package not found errors.
I have cairo, glib and gtk-dev installed, but when running go get the result is:
$ go get github.com/gotk3/gotk3/gtk
# pkg-config --cflags  -- gio-2.0 glib-2.0 gobject-2.0 gio-2.0 glib-2.0 gobject-2.0 gio-2.0
Package gio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gio-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gio-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-2.0' found
Package gio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gio-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gio-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-2.0' found
Package gio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gio-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gio-2.0' found
pkg-config: exit status 1

What am I missing?

Ok, I got it.
There were conflicting versions of pkg-config and the one provided by linuxbrew that was returning nothing for the query.

How did you solve the problem?


chore: add quickstarts and install plans for video players

Summary
Updating the quickstarts for all video trackers to match the format of the already-existing video.js tracker quickstart.

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you check your dashboard image quality? -  Do they look good?
[x] Did you check that your alerts actually work?
[x] Did you include an InstallPlan and Documentation reference?
[x] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[x] Did you attach images of your dashboards to the PR so we can see them working? Dashboards are identical to previously approved quickstart, with one variable changed in each

@cjmccarthy thanks for the fixes here, I approved this so if you feel this is ready to merge in we can merge, just wanted to confirm it's ready to go.


flow: 0.150.0 -> 0.150.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/facebook/flow/releases.
meta.description for flow is: "A static type checker for JavaScript"
meta.homepage for flow is: "https://flow.org/"
meta.changelog for flow is: "https://github.com/facebook/flow/releases/tag/v0.150.1"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/gchp415k116iz11qiap5s7gc7b6q17vh-flow-0.150.1/bin/flow passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.150.1 with grep in /nix/store/gchp415k116iz11qiap5s7gc7b6q17vh-flow-0.150.1

found 0.150.1 in filename of file in /nix/store/gchp415k116iz11qiap5s7gc7b6q17vh-flow-0.150.1

directory tree listing: https://gist.github.com/e718c8f4fd50ad5121c088d23bb190a5

du listing: https://gist.github.com/3be2d387954d242cd1c99a4d12dda8f1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
flow

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gchp415k116iz11qiap5s7gc7b6q17vh-flow-0.150.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flow https://github.com/r-ryantm/nixpkgs/archive/da5b1592b57599671184059cb444065be3a64f4b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gchp415k116iz11qiap5s7gc7b6q17vh-flow-0.150.1
ls -la /nix/store/gchp415k116iz11qiap5s7gc7b6q17vh-flow-0.150.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flow

Maintainer pings
cc @marsam @puffnfresh for testing.

Result of nixpkgs-review pr 121979 at da5b1592 run on x86_64-linux 1

1 package built successfully:

flow

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/tools/analysis/flow/default.nix:14:3:
   |
14 |   installPhase = ''
   |   ^


Maintainer wanted

I'm looking for maintainer of active_admin_role gem. Currently I don't use ActiveAdmin in any my projects, so I don't have motivations to maintain plugins any more. Please someone help me.
I'm ready to grant someone as maintainer and transfer gem management right to someone.

@alexey or @kart-able Hi, do you have any motivation which maintains this gem? If you have, I'll grant maintainer rights to you.

Hi @yhirano55, I'm currently improving some branch of FFaker but if you don't have a better candidate and you don't mind ... I'll do ! I wouldn't hesitate receiving a technical minimum of how to maintain the gem. Best regards!

@luilver Thank you for your proposal. I invited you this repo

Consider transferring to (or joining) https://github.com/activeadmin-plugins

@varyonic Thanks for the advise.
@Fivell Excuse me. Could I transfer this activeadmin's plugin to activeadmin-plugins org? Currently, I don't use ActiveAdmin well. So I don't have any motivation to maintain this gem. But this gem is used by some developers, and I want to resolve this problem.

@yhirano55 sure, lets transfer

@Fivell Thank you so much. I’ll do now.

@Fivell I couldn’t transfer this repo to activeadmin-plugins, because I don’t have a permission to create repos in activeadmin-plugins. Would you give me a permission to create repos in activeadmin-plugins?

@yhirano55 I sent you invite to organization

@Fivell Thanks! I’ve transferred.

Would you like to transfer the sample also?

@varyonic Yes, I want to do.


Given the debate in class about how to interpret the calculation of g…

…reatest increase and greatest decrease in profits I have updated the solution with three different calculation methods, the selected methods gives the output provided by Noah Hoffman

Given the debate in class I've updated the solution with three different evaluation methods, selecting the one which gives the required output


Update logo

Hey, Rook from ICON Foundation here. We are transitioning from xCall to "ICON General Message Passing", if you can please update the attached logo.
ICON Network.zip
Cheers

@ICONGraphs I hot-updated the logo on production, so I'm going to close this issue.


Lacking support for 8.1

I'm running the latest (non-beta) Essential Android 8.1 build and I get this error:
Getting device list... Found
Finding build number...  OPM1.180104.092
Oreo builds are supported only

This has been fixed


⚠ Mobitopup has degraded performance

In 16d106e, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6739 ms

Resolved: Mobitopup performance has improved in 1161cab after 417 days, 1 hour, 17 minutes.


Connection Refused!

I am simultaneously (streaming using setMultiPathStreamCallback()) and checking for WiFi connectivity using keepWiFiAlive();
When I try to use Firebase.setInt() function, the firebase Data Object returns error "Connection Refused".
if I remove the keepWiFiAlive() function; Firebase.setInt() function works alright.
Please can You help me find the error?
The keepWiFiAlive function is :
void keepWiFiAlive(void *parameter) {   for (;;) {     //    if (WiFi.status() == WL_CONNECTED && Ping.ping("www.google.com", 1)) {     if (WiFi.status() == WL_CONNECTED) {       Serial.println("Internet is Active!");       configTime(0, 0, ntpServer);       Serial.println("Syncing Time...");       //      prevSyncMillis = millis();       if (modeVal == false) {         //        fbdo1.pauseFirebase(false);         delay(200);         Firebase.readStream(fbdo1);         portENTER_CRITICAL_ISR(&modeMux);         modeVal = true;         portEXIT_CRITICAL_ISR(&modeMux);       }       vTaskDelay(10000 / portTICK_PERIOD_MS);       continue;     }     //    fbdo1.pauseFirebase(true);     portENTER_CRITICAL_ISR(&modeMux);     modeVal = false;     portEXIT_CRITICAL_ISR(&modeMux);     portENTER_CRITICAL_ISR(&initMux);     shouldInit = true;     portEXIT_CRITICAL_ISR(&initMux);     Serial.println("Trying to connect to WiFi..");     WiFi.begin(WIFI_SSID, WIFI_PASSWORD);     unsigned long startAttemptTime = millis();     while (WiFi.status() != WL_CONNECTED &&            millis() - startAttemptTime < WIFI_TIMEOUT_MS) {       Serial.print(".");       delay(1000);     }     vTaskDelay(WIFI_RECOVER_TIME_MS);   } }
And
`  xTaskCreatePinnedToCore(
keepWiFiAlive,
"keepWiFiAlive", // Task name
50000,            // Stack size (bytes)
NULL,            // Parameter
1,               // Task priority
NULL,            // Task handle
tskNO_AFFINITY);
}`
xTaskCreatePinnedToCore() function is used in the setup() for it.
using Firebase.setInt(fbdo2, parentPath + switch2.FirebaseId, (int)switch2.currState) is hit or miss;
sometimes it works and sometimes it doesn't.
Thank You for your time.

Hey, I found a workAround!
I always delete the keepWiFiAlive() task and then create it again whenever I use setInt function;
Though I would like to know what causes this problem, if You know please tell me.

This library has its own WiFi reconnection routine. This can be enabled via Firebase.reconnectWiFi(true/* or false "/);
As in all examples of library, this option is enable and WiFi will be resumed automatically.
Every http request, the WiFi status will check and  WiFi.reconnect() will be called internally. The operations behind this function are disconnect WiFi and reconnect again  with the settings that saved in flash memory.
The WiFi reconnection will be done once for each http request in all CRUD and periodically every 10 seconds in stream connection if WiFi status was not connected.
This algorithm used in this library works perfectly and effectively for ESP8266 and ESP32 without user code or other WiFi reconnection library requirement.
In case where WiFi reconnection process was taken control by user code or other WiFi management library e.g. all WiFiManager libraries, the option Firebase.reconnectWiFi should set false to prevent the interferences between these.

PS.: Using a getJSON() or any other get function works but using set functions is not working

There is no different between calling these functions, as the reason I explained above.

Code was working perfectly until 6th of july. It was running for around a year and no issues and then suddenly getting error of connection refused.
Checked the rules: true , to test.
I'm still using database secrets fo FIREBASE_AUTH . Could that be the issue that its too old a way to connect?


pull request for e2e test at 01/21/2017 15:56:17

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Implement asynchronous retry behind feature gate

This PR implements an asynchronous version of the retry function.
The implementation is found in the async module, which is only available, if the async feature flag is activated.
This implementation uses async/await syntax and is backed by the task::sleep function of async_std.
The feature flag is used, so that users that do not need the async feature don't need to install async_std.
Open Questions

How should the feature flag be documented?
Should the module really be called async, as this requires the use of r#async (raw identifier) to access it?

cc @srijs

I would like to have this crate support async programming, but my initial thought here is that maybe it's still too soon for the ecosystem. Since there is no common layer for runtimes, features like this have to make a choice between libraries (e.g. async-std vs. tokio) which then forces downstream users into that choice. Of course putting it behind a feature flag makes it easier to have that functionality removed in the future, so maybe it's an acceptable trade off. Given the existence of async retry functionality that's specific to runtimes, like https://github.com/srijs/rust-tokio-retry, I wonder if it's not better to just have separate crates for these things right now, rather than all in one crate behind cargo features.


std::find_if with Windows.Foundation.Collection.IVector

std::find_if takes a begin iterator, an end iterator, and a predicate. IVector<T> does not have begin() and end() class methods. What is the proper way to do use std::find with IVector<T>?
Extra: And how does IVector<T> work with range-based-for loops in the first place?

The winrt base.h header provides specializations of free begin/end
functions for creating iterators over all projected collections.  Just use
these instead of rmember begin/end.  (That is how range-for works generally)
Scott
On Wed, Dec 27, 2017 at 12:50 AM, Expression2<EMAIL_ADDRESS>wrote:

std::find_if takes a begin iterator, an end iterator, and a predicate.
IVector does not have begin() and end() class methods. What is the
proper way to do use std::find with IVector?
Extra: And how does IVector work with range-based-for loops in the
first place?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/cppwinrt/issues/297, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALyMI2qfcvR1sAKhH5RRzZDgAmwEzzEZks5tEgTagaJpZM4RNTQH
.

--
Scott Jones<EMAIL_ADDRESS>The Flip Flop http://scottjones.me/
"One Bit at a Time"

Right, got it. Thank you!
For future reference:
winrt::impl::begin() and winrt::impl::end()

Doesn't ADL work for that?

Mike is right. You should rely on ADL and never ever utter the winrt::impl namespace.
IVector<int> v = ...

auto i = std::find(begin(v), end(v), 123);

if (i != end(v))
{
    printf("%d\n", *i);
}


Add number system in Python

Description
What is a number system?
What are the types of number systems in Python with examples?
Domain
Python_Domain
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Can you give a better description on your topic?

Number system, I mean, binary number system, decimal number system and many more, explanation with examples as well as python program for converting from one form to another.

Go ahead

Which mentor is assigned for this issue?

Go ahead

Which mentor is assigned for this issue?

You can ask any of the mentors


Fine-tuning on a personal dataset starting from "tli8hf/robertabase-structured-tuning-srl-conll2012" model or similar

Thank you for publishing this work.
I have a personal dataset (CoNLL-2012 format based on a modified version of PropBank Frames) and I would like to use your project to make SRL on it. In particular, I would like to fine-tune the "tli8hf/robertabase-crf-conll2012" or the "tli8hf/robertabase-structured-tuning-srl-conll2012" model on my dataset. I'm new to this task.
How can I do it?
Thanks.

Hi,
Thanks for your interest.
To start with, you can follow the steps of preprocessing in the readme file, and jump to the "2nd round of finetuning" section, and specify LOAD_FILE=tli8hf/robertabase-structured-tuning-srl-conll2012 in the bash. This will tell the training script to start from our model and continue training.
Also, note that --label_dict option is to be set for your dataset (the file will be dumped during the preprocessing step).
Let me know how that goes. I'd be more than happy to guide you through the process.

Dear @t-li,
Thank you for your answer.
I would kindly ask you two questions:
1)
If I jump to the "2nd round of fine-tuning" section and specify  LOAD_FILE=tli8hf/robertabase-structured-tuning-srl-conll2012 in the bash, as here:
GPUID=0
DROP=0.5
LR=0.00001
EPOCH=5
PERC=1
LOSS=crf,unique_role,frame_role,overlap_role
LAMBD=1,1,1,0.1
SEED=1
LOAD_FILE=tli8hf/robertabase-structured-tuning-srl-conll2012
MODEL=model-output
python3 -u train.py --gpuid $GPUID --dir ./data/srl/ --train_data conll2012.train.hdf5 --val_data conll2012.val.hdf5 \
	--train_res conll2012.train.orig_tok_grouped.txt,conll2012.train.frame.hdf5,conll2012.frame_pool.hdf5 \
	--val_res conll2012.val.orig_tok_grouped.txt,conll2012.val.frame.hdf5,conll2012.frame_pool.hdf5 \
	--label_dict conll2012.label.dict \
	--bert_type roberta-base --loss $LOSS --epochs $EPOCH --learning_rate $LR --dropout $DROP --lambd $LAMBD \
	--percent $PERC --seed $SEED \
	--load $LOAD_FILE --conll_output ${MODEL} --save_file $MODEL | tee ${MODEL}.txt

I get this error:
FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = 'tli8hf/robertabase-structured-tuning-srl-conll2012.hdf5', errno = 2, error message = 'No such file or directory', flags =
0, o_flags = 0)

The script appears to be looking for a local file with the extension ".hdf5". Is it possible to directly use the huggingface model? Or to convert the hf model to an hdf5?
2)
I also have another question: is there a way to predict roleset_ids too?
I want to verify that the algorithm identifies the correct meaning in my dataset.
For example, in the sentence "I drink a glass of water", I would like to verify that the algorithm identifies the correct meaning,
that is
[ARG-0: I] [drink.01 drink] [ARG-1: a glass of water]
and not:
[ARG-0: I] [drink.02 drink] [ARG-1: a glass of water]
Is there a way to output also the predictions on the role_set_id?
By doing so, I could then compare them to my gold standard.
Currently, the evaluation's output is a table of precision, recall, and f1-score for arguments only. Is there a way to print the roleset_id predictions to a file as well?
Thank you for you help.

Hi,

Converting hdf5 and hf models back and forth can be tricky. Use this hdf5 model I just uploaded here

The roleset_ids are already part of the prediction. I referred to it as "frameset" in the readme (probably a misleading name).

If it is possible on your end, I recommend to start from preprocessing step to get frameset dumped. You will have a frameset.txt which list all suffices for each predicate, and this will participate in the model training and prediction.
In the modules/linear_classifier.py, the frame_layer outputs roleset_ids.
I am not sure if the perl eval script takes into account of roleset_ids directly (actually I think it doesn't since it's a argument-level F1). If it doesn't, you can use the frame_layer outputs to do some quick evaluations.

Hi @t-li,
thanks for your reply.
unfortunately, the hdf5 model you sent me seems to include the dictionary, frames and label as well. Since I am using an extended/customized PropBank resource, your model seems to be incompatible (tensor size issues). I got around the problem by re-training on the extended resource (PropBank + my annotations).
Another question, I need to use another version of Roberta (HuggingsFace allenai / biomed_roberta_base). To do so, is it enough to specify it in the training script ? (--bert_type allenai / biomed_roberta_base)

Sorry about the late reply. As long as it's in the huggingface hub, you can use it. And track the mentions of bert_type in the code, as there are few places that are hard-coded for roberta.
BTW, for timely interaction, please email me directly if you have urgent issues that need fixing.


Regular hover still shown when debugging

Testing https://github.com/microsoft/vscode/issues/127362
To be honest, I believe this is a VS Code core issue, but the TPI asks to create all issues here 🤷♂ .
I think we normally hide the regular hover when doing debugging because of this overlap situation (cc @isidorn):
https://user-images.githubusercontent.com/5047891/123931154-a6aff700-d990-11eb-9fc0-45471f00b13d.mp4

@isidorn is it ok for debugEditorContribution to know about notebooks? I would make this line https://github.com/microsoft/vscode/blob/07a0575b6cb413785a1e405fe9306d0bbd341403/src/vs/workbench/contrib/debug/browser/debugEditorContribution.ts#L283 know how to parse a notebook cell URI to compare it to the editor model URI.

@roblourens that contribution has knowledge about the debug world and the editor world. So I think it is fine to add knowledge to notebooks as part of the "editor world".

Looks good to me. I just the the one hover and can get the language services hover with options key.


[DOCS] improve documentation of Sharkfolio

The current documentation is not user friendly.
It does not provide enough information about the project.
We need to make sure that our users have the information they need in order to use our project correctly.

Improve the flow of documentation
Add license, contributing etc. info.

I can add the contributing.md if you want

I can add the contributing.md if you want

Assigned👍


Update smithy4s-aws-http4s, smithy4s-core, ... to 0.17.9

About this PR
📦 Updates

com.disneystreaming.smithy4s:smithy4s-aws-http4s
com.disneystreaming.smithy4s:smithy4s-core
com.disneystreaming.smithy4s:smithy4s-http4s
com.disneystreaming.smithy4s:smithy4s-http4s-swagger
com.disneystreaming.smithy4s:smithy4s-sbt-codegen

from 0.17.8 to 0.17.9
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.disneystreaming.smithy4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.disneystreaming.smithy4s" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #157.


Missing Create Options

@lorihollasch
I'd tried to do this as a PR and gave up since it seems to me that what is in github is not the real source since these words look duplicated across the FltCreateFileXXX and probably across IoCreateFileXXX and NtCreateFile and ZwCreateFile.  They certainly need to be kept in synch.
There are a few CreateOptionsFLags missing.  The one I was looking to was
FILE_OPEN_NO_RECALL  - Instruct any offline storage filters NOT to provoke a recall as a result of this open.
But I think there are others
FILE_NO_COMPRESSION (good luck with that)
FILE_OPEN_REMOTE_INSTANCE (this too)
FILE_DISALLOW_EXCLUSIVE
FILE_OPEN_FOR_FREE_SPACE_QUERY
If I was a dev, I would want to say "reserved to Microsoft", but unfortunately that ship has sailed and did so when the bits got into wdm.h

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ab2c39da-36d8-c2c3-c978-eae7733de3c1
Version Independent ID: db182921-736b-9a62-1af3-79d2b5fb392c
Content: FltCreateFileEx function (fltkernel.h) - Windows drivers
Content Source: wdk-ddi-src/content/fltkernel/nf-fltkernel-fltcreatefileex.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

@rodwiddowson , thanks for reporting the missing flags. I was finally able to wrangle descriptions for the missing ones. I've added them to the FltCreateFileXxx pages for now. I've got an internal task filed to update all related pages (I'm gonna rework them such that the duplicate information ends up on just one of the pages, and add links to the other pages). (Hope you're having a great summer!)

@lorihollasch thanks for that. The FILE_NO_COMPRESSION option will be very handy,,


Merge look at ON Conflict

    > generate_insert_statment

@BuzzCutNorman The API is a WIP, and generate_insert_statement is currently expected to return an insert statement as a string. I have not surveyed different databases for upsert methods, but I think most should be able to extent the basic INSERT INTO <table> (<columns...>) VALUES (...) with something like ON CONFLICT (<pk...>) DO UPDATE SET .... So, the overriding pattern could look something like:
def generate_insert_statement(
    self,
    full_table_name: str,
    schema: dict,
):
    stmt = super().generate_insert_statement(full_table_name, schema)
    stmt += "ON CONFLICT ...`

Wdyt?
Originally posted by @edgarrmondragon in https://github.com/MeltanoLabs/target-postgres/issues/9#issuecomment-1215759164

https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#insert-on-conflict-upsert

https://github.com/MeltanoLabs/target-postgres/issues/9#issuecomment-1215970400

This is one piece of #64

Decided against this as key constraints could change, I think an upsert as we're doing it makes life a bit simpler than relying on constraints being set properly (Maybe I'm wrong?)

Solved with https://github.com/MeltanoLabs/target-postgres/pull/138


chore(main): release 1.0.3

:robot: I have created a release beep boop
1.0.3 (2024-08-22)
Bug Fixes

avoid setting keybindings if use_default_prompt=false (#108) (be2465e)
fix #108 avoid setting keybindings if use_default_prompt=false (8c1f0c0)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.3
:sunflower:


New feature in Index class

Hi,
I would like to add a new method into Index class.
lunr.Index.prototype.indexJson = function (index) {
return JSON.stringify(index)
}
I need this method to finish a extension for Middleman.
It's possible
thank you

What is the index argument that your function takes?
Do you need a method on the index to do that?
The index object already has the ability to be converted to JSON by just calling JSON.stringify(idx), where idx is the index object. I'd rather not have the index have a method that just wraps JSON.stringify as I'm not sure it adds much value.
If you really do need this to be a method on the index object then consider writing a plugin, some details here - http://lunrjs.com/docs/#use
For this case it might look a little bit like this:
var indexJSONPlugin = function () {
  this.indexJson = function (index) {
    return JSON.stringify(index)
  }
}

Then use your plugin like this:
idx.use(indexJSONPlugin)

Feel free to re-open if I've misunderstood your use case, or if you have any other questions.

Hi Oliver,
Good nigth, :-),
I am executing lunr.js into a  V8 JavaScript interpreter in Ruby. I need execute JSON.stringify into of context the lunr.js.
Example ruby:
cxt = V8::Context.new
cxt.load(folder_lunar_js
val = cxt.eval('lunr')
idx = val.call(lunr_conf)
idx.add(doc)
idx.indexJson() //Result = json of index
Why?, It is more easy for instalation of middleman extension, only it install bower  ;-)
thanks for you tim

sorry the function
/**
 * Convert Index class into json representation.
 *
 * @returns {String} representation of {lunr.Index} in json
 * @memberOf Index
 */
lunr.Index.prototype.indexJson = function () {
    return JSON.stringify(this)
}


[fix] Typo in the docs

Codecov Report

Merging #457 into 2.0 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.0     #457   +/-   ##
=======================================
  Coverage   94.51%   94.51%
=======================================
  Files           4        4
  Lines         164      164
  Branches        9        9
=======================================
  Hits          155      155
  Misses          6        6
  Partials        3        3

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 e7d134b...1e6a337. Read the comment docs.


Extract information from vpx and directb2s to generate parts of hardware.yml

Am a bit new to this, but there seems to be a fair bit of information and logic data in emulated pinball machines using pinmame and other emulators.
Am looking into extracting symbols or more information from these game emulations, has anyone done something similar ?

directb2s seems to be an xml format for describing backglasses
vpx is a binary format but extracting using the strings command shows some potentially usable information and some code.

In my example https://vpinball.com/VPBdownloads/four-seasons-gottlieb-1968/ (requires registration to download file) I see :
$ strings Four\ Seasons\ \(Gottlieb\ 1968\).vpx  | grep points                                gottlieb1000pointsbonus
gottlieb1000points
gottlieb500points
gottlieb100points
gottlieb10points

I haven't yet found the tools used to create or edit theses types of files, but if there was an opensource library, it would be a nice kickstart to mod a table.

Not sure if that is possible. I usually consult the manual. Are you looking for something specific?


Clarify transaction section

Even nested read-only transactions can cause deadlocks. This is due to golang's RWMutex behaviour. It doesn't allow readers to acquire a lock if a write lock is pending. It's possible for a child read-only transaction to block trying to acquire mmaplock.RLock, while a writer is trying to acquire mmaplock.Lock. As a result, the parent transaction never releases its read lock on mmaplock, and the application deadlocks.
This wasn't clear to me from the provided docs, which just mentions read/write and read transactions.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3eac9d3). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #59   +/-   ##
=========================================
  Coverage          ?   85.56%
=========================================
  Files             ?        9
  Lines             ?     1857
  Branches          ?        0
=========================================
  Hits              ?     1589
  Misses            ?      159
  Partials          ?      109

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 3eac9d3...419febc. Read the comment docs.

Ping! Open pull-requests that are 2.5 years old suggests the project is catatonic and possibly dead. I'm making this comment because the Elvish shell I recently switched to fails its unit tests on Windows 10 WSL v1. That is because this project assumes it can call mmap() with a size (32 KiB) that is double the size of the initial file (16 KiB) created by db.init(). That works on most (every?) UNIX-like platforms supported by Go. But that behavior was not guaranteed by older UNIX platforms and should probably not be depended on by this project if maximal portability is the goal.

Can someone merge this? Seems like the project is actively merging things. @gyuho ?


Warning messages when compiling with maven

[!IMPORTANT]
Read issue #2 first

Investigate why these messages appear.

I can check that, you can assign this me?

@ayushisingla it's all yours 👍

As stated in issue #2

When you are assigned an issue, you must confirm it by commenting on the issue within 24 hours after the assignment, this is just so I can know if you have heard or not, if I do not receive a reply I will assign it to someone else.

Hi @nmarulo , yeah, I'm working on it.

@ayushisingla Ok, I assign it back to you. I just need to know that you have heard that I assigned the issue to you, regardless of whether you have started or not.

As stated in issue #1

Each issue noted with hacktoberfest must be completed within a week and you can only do one per week, this is to give more participants a chance. ...

It's okay that you were not able to complete it, I appreciate your effort and interest.

Hi, @nmarulo may I allow to check on this issue ?

Hey @nmarulo, would you mind if I have a look at this? I think I have found the solution already. :)

@Aryant-Tripathi It's all yours 👍

Hi, @nmarulo, I am not able to start the application using docker and also on the local machine,
getting some errors like,
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) ~[spring-beans-6.1.11.jar:6.1.11]
despensa-rest-api-1   | 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:954) ~[spring-context-6.1.11.jar:6.1.11]
despensa-rest-api-1   | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:625) ~[spring-context-6.1.11.jar:6.1.11]
despensa-rest-api-1   | 	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.3.2.jar:3.3.2]
despensa-rest-api-1   | 	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.3.2.jar:3.3.2]
despensa-rest-api-1   | 	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.3.2.jar:3.3.2]
despensa-rest-api-1   | 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) ~[spring-boot-3.3.2.jar:3.3.2]
despensa-rest-api-1   | 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) ~[spring-boot-3.3.2.jar:3.3.2]
despensa-rest-api-1   | 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) ~[spring-boot-3.3.2.jar:3.3.2]
despensa-rest-api-1   | 	at dev.nmarulo.depensaapp.DespensaRestApiApplication.main(DespensaRestApiApplication.java:10) ~[classes/:0.0.1]
despensa-rest-api-1   | 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
despensa-rest-api-1   | 	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
despensa-rest-api-1   | 	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[build/:na]
despensa-rest-api-1   | 	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[build/:na]
despensa-rest-api-1   | 	at org.springframework.boot.loader.launch.WarLauncher.main(WarLauncher.java:57) ~[build/:na]
despensa-rest-api-1   | Caused by: jakarta.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [id] in table [products]; found [int (Types#INTEGER)], but expecting [bigint (Types#BIGINT)]
Is it expected, or I have done something wrong, likely stuck on this from last night and it's afternoon now but didn't find a way to resolve this.

@Aryant-Tripathi which .yaml file are you using? the compose.yaml or the compose.pantry-rest-api.yaml?
I'm going to keep trying, to see what the error is due to.

@nmarulo So, Debug the issue, it's all because of missing JSR-305 dependency. Added dependency and it fixed.
fix: add missing JSR-305 dependency to resolve annotation processing warnings

Issue: Compilation was generating warnings related to missing class javax.annotation.meta.When.MAYBE during annotation processing.
Cause: The JSR-305 library, which includes the javax.annotation.meta.When enum, was not included in the classpath.
Fix: Added the JSR-305 dependency (version 3.0.2) to the project to resolve the missing class file warnings.

This ensures that annotation processing can complete without warnings and that the required JSR-305 classes are available during the build.
Please check with the PR.

I understand that the class does not exist, but I don't understand why it is needed, so it is spring's problem that has not updated its libraries since “javax.annotation” should be updated to jakarta. Anyway, I take it for good and that's it.
Thank you very much.


qtbase: Fix for OpenSSLV3

From lts 5.15.11-lts-lgpl and [1].
Resolves error:
QSslSocket: cannot call unresolved function SSL_get_peer_certificate

1: https://code.qt.io/cgit/qt/qtbase.git/commit/?h=v5.15.11-lts-lgpl&id=40c11752580802521d2fa10e4e036df61083ca42
See related discussion in https://github.com/meta-qt5/meta-qt5/pull/533

@shr-project @otavio : any plan to merge this?

Has it been fixed in master?

qtbase in master is currently at version 5.15.9, while this issue was fixed in 5.15.11.
I assume we would want a different solution in master, e.g. bump to 5.15.x with x>=11.

Seems so.

@otavio : is having master fixed before kirkstone a requirement here?

Yes, we need to fix master before kirkstone to ensure we never miss any fixes.

@dwalkes : planning to send a PR to fix master? As @otavio wrote this is a prerequisite to get this merged.

@otavio @dolcini thanks for reviewing

I assume we would want a different solution in master, e.g. bump to 5.15.x with x>=11.

I can work on a new PR to target 5.15.12-lts-lgpl on master today.

I see now it looks like there's already one in progress to 5.15.11 at https://github.com/meta-qt5/meta-qt5/pull/548/files

@otavio @dolcini I think the update for master is complete so this is ready to merge. Let me know if you need anything else.


Improvements to DuplexMaker and ConsensusMaker.

Remove output BAM from DuplexMaker and fixing up Docs.

Ensure read names are unique across DCSs.

Read name collisions are possible, although unlikely, across DCSs.
This can occur when two DCSs with the same Duplex Tags are found; their
respective SSCSs and raw reads map to different genomic locations.

Fixing up duplex barcode collisions. See: https://github.com/loeblab/Duplex-Sequencing/issues/33

@loeblab how do I go about testing this?  I would be happy to contribute a .travis.yml if that would help if you have tests somewhere?  https://travis-ci.org/

I haven't the faintest clue how that works, but I'm certainly happy make
your contributions easier. I've signed up with travis-ci.
On 4/15/16 5:16 PM, Nils Homer wrote:

@loeblab https://github.com/loeblab how do I go about testing this?
I would be happy to contribute a |.travis.yml| if that would help if
you have tests somewhere? https://travis-ci.org/
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/loeblab/Duplex-Sequencing/pull/35#issuecomment-210694442

@loeblab if you have a test dataset or two with expected outputs that run end-to-end in a reasonable amount of time (a few minutes), I can have them run, check that they produce the expected output, then pass or fail.  This would all be run by the travis-ci service for every pull request.


No matching distribution found for tensorflow

Used one of your Dockerfiles to build a docker image with TensorFlow installed (also I've tried to do it manually and used python docker image and latest Ubuntu image) but all the time I get same error:

I've tried to update pip and setuptools.

Hi @KochankovID ! Sorry for the late response. Did you follow instructions from here  ?You can check these threads to upgrade your setup tools.link1,link2 and confirm the version using this command  pip --version . Thank you!

I actually found out what my problem and hope it'll help others.
I use mac with m1 processor which has arm architecture. So, when I use Docker images (as Ubuntu or others) it downloads images compiled for aarch64 platform (kind of Linux for arm) because it's my host platform.
But looks like TensorFlow doesn't have aarch64 package on PyPi and doesn't support this platform.
And that's why I had such error. Pip can't find distribution package for aarch64 platform.
 In order to fix this problem, one can just specify platform of docker image:
FROM amd64/python:3.9-bullseye
or and64/
@mohantym  Thank you for your response. Hope some day TensorFlow will support aarch64 platform :)

Hi , I have a pip install  tensorflow command in my dockerfile and trying to build for arm arch. What do you suggest my statement needs to modified to be able to install tensorflow.


KO: Fixed conv2d output shape

The output of the final conv2d layer is of shape (4, 4, 64), resulting in a flattened dense layer output of shape (1024).

Thank you @jaketae
I'm so late. :(
LGTM!


[ur] Localize 'api-gateway' in Urdu

Signed-off-by: Waleed Ahmed<EMAIL_ADDRESS>Describe your changes
Added api-gateway.md file
Related issue number or link (ex: resolves #1380 )
Checklist before opening this PR (put x in the checkboxes)

[X] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[X] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Thank you Saim, for pointing this out. Yes, you are right the main purpose of glossary is to teach non tech people difficult concepts in cloud native.
I will make sure context is right and will ensure the explanation of deep concept in details.

Hi @waleed318 I'd like to check status of this PR.
Actually, I hope to delete your feature branch (waleed318/glossary) which lives in the Upstream repo.
(please avoid creating a feature branch in upstream. Every folks will download that feature branches when they fork the upstream repo.)


[StaticWebsite]: CNAME is already associated with a different resource

The following basic example fails for me when running cdk deploy:
const accountDomain = 'dev.fubar.com';
  const importedHostedZone = HostedZone.fromHostedZoneAttributes(this, 'ImportedHostedZone', {
    hostedZoneId: importedHostedZoneId,
    zoneName: accountDomain
  });
 const staticWebsite = new cloudstructs.StaticWebsite(this, 'StaticWebsite', {
      domainName: accountDomain,
      hostedZone: importedHostedZone,
      backendConfiguration: {
        baseUrl: accountDomain
      }
    });

The HostedZone for 'dev.fubar.com' has no CNAME record, only the NS and the SOA.
3:37:24 PM | CREATE_FAILED        | AWS::CloudFront::Distribution                   | StaticWebsite319123A6
Resource handler returned message: "Invalid request provided: One or more of the CNAMEs you provided are already associated with a different resource. (Service: CloudFront, Status Code: 409, Request ID: 04c3eb61-4314-43e1-b511-8979a4bce421)"

Hi @michaelfecher
Can you check if the CNAME is already referenced in another CloudFront distribution?

There are no other CloudFront distributions, unfortunately.

I manually created the CloudFront distro, the ACM cert in us-east-1, and the corresponding CNAME record for 'dev.fubar.com' without the StaticWebsite construct.
It works without any CNAME conflicts.

It's not about the CNAME in Route53 but the alias/alternate domain name used in the CloudFront distribution.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html

By default the construct creates a redirect from fubar.com to dev.fubar.com (see README). Is fubar.com maybe already used in a distribution?
If you don't want this behavior, pass [] to redirects.

Thank you!
When passing [] to redirects, it's deployable.
I completely misunderstood the doc of the argument and left it out as you can see in the original code snippet.
@default
the domain name of the hosted zone

I understood, that it skips the redirection and uses internally the hostedZone domain if not passed.
In my case, the hostedZone domain IS the domainName.
So it's trying as you wrote, to create two distributions for one domain, if I got you correctly.
This raises the error then.

Can you try with v0.4.22?