Add homebrew support

cql-proxy should be install-able over homebrew

In progress.
https://github.com/aar0np/homebrew-cqlproxy

Completed!  https://github.com/Homebrew/homebrew-core/pull/102129


IT: RAW Field Names

@alfo1995 Can you please correct the Fieldnames in your Raw Files? They are in lower case and "qrcode" must be 2DCODE

Closed in #72


validation on add_subjects

The subject should not be added if the subject is already present in the tutor database.

Solved #42


[stable/ambassador]: Fix apiVersion typo

Signed-off-by: Ben Pehling<EMAIL_ADDRESS>Is this a new chart
no
What this PR does / why we need it:
typo
Which issue this PR fixes
n/a
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/ok-to-test


Usage of CoNLL-03 values

Hi! We're working on a named entity recognizer for Icelandic, using NeuroNER and an annotated training corpus.
As there is no support for Icelandic in Spacy or the Stanford NLP tools, we ran into a problem when running NeuroNER on our data in brat format (error appears when tokenizing using spacy in brat_to_conll.py)
Our question is: Can we bypass using Spacy altogether by formatting our data in conll-03 ourselves, using available Icelandic NLP resources? And to what extent are the conll values used in NeuroNER?

Hi,
You need to check this code : https://github.com/Franck-Dernoncourt/NeuroNER/blob/master/src/brat_to_conll.py#L20 and understand what it does. Then replace it with a Icelandic tokenizer/sentence segmenter

It's not easy to do it could take a lot of time

Thanks, we changed the source code to use our own tokenizing method :)


feat: added Readwise extension

Description

I added a new extension called "Readwise" which enables browsing recent highlights and library entries of your Readwise account.
PS: I might add some screenshots to the extension later on as well. The ones below are not prepared for that, only for the purpose of giving you a better overview of what you are reviewing.
Notes

I will work on a future update already improving and adding caching of the responses to make the extensions snappier, asap after this one is merged.

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed in the metadata folder

FTR: I want to thank, mbulling83 for the inspiration.

Hi @pernielsentikaer,
I've pushed another update to the PR. Let me know what you think and what's left to get this ready for merge.
Thanks for your time and help, I appreciate it.

Hell yeah, this is a fantastic extension!

Hell yeah, this is a fantastic extension!

Thank you, @thomaspaulmann!

Hi @pernielsentikaer,
thanks for the feedback! I appreciate it a lot. I took care of your suggestions and thanks to the wonderful help of @sxn I was able to resolve the issues I - and you - had with the searchBarAccessory. The pagination is now part of the ActionPanel and can be triggered with shortcuts as well. 🔥
Thanks again, @sxn.
It's now ready to be reviewed again.

Thank you very much, @pernielsentikaer! I'm already working on V1.1 handling the Caching aspect. I'll let you know when it is ready for your review.


Respect the drop order when copying a plugin from the clipboard

Currently copying a plugin from the clipboard does not respect any specific order and the plugin is just put somewhere in the parent plugin / placeholder

Duplicate of #3336

This has been fixed in 3.2


[Regression] MySQL Dates returning string instead of serializing to new Date()

Describe the bug
In testing between 6.2.9 and 6.3.0, it seems somewhere along the line that MySQL dates no longer serialize to a Date object, and instead return a string.
Reproduction
https://github.com/kpervin/mikro-orm-reproduction/tree/6.3.0-date-issue
Steps to take:

Set up MySQL instance and change env vars to point to db
Run  yarn up<EMAIL_ADDRESS>and run the test. It should succeed.
Run  yarn up<EMAIL_ADDRESS>and run the test. It should then fail.

What driver are you using?
@mikro-orm/mysql
MikroORM version
6.3.0
Node.js version
20.9.0
Operating system
<IP_ADDRESS>-microsoft-standard-WSL2
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord.
[X] The provided reproduction is a minimal reproducible example of the bug.

Mapping itself works fine, this is about the ts-morph provider and how it handles the & Opt type. And last time this was broken, it was caused by TS giving us any in there 🙃

It does, I tried your repro, and it works fine without the Opt intersection, as well as with Opt<T> as a generic type, or with the default metadata provider. Exactly like last time this broke.

It was actually much simpler. The issue with any is only present in this repository, I keep forgetting about that. When I checked it in the reproduction repo it was about the missing | undefined - I can see this changed in some TS update, or it could be about TS config, so I left both variants.


Support deploying CO on managed offerings (ROSA)

By default, only worker nodes are accessible in ROSA environments. This
means we need to update the test suite to remove the nodeSelector and
tolerations so that the compliance operator can schedule to worker
nodes. Otherwise, the deployment will wait forever for master nodes to
be available.

do we need to change the subscription in order to do that? if it is deployed by OLM, I think it will get overridden if modifying it directly

do we need to change the subscription in order to do that? if it is deployed by OLM, I think it will get overridden if modifying it directly

Aha - let me try that approach. Thanks!


Support Scala 3.5.1

Uh oh. CI failed because:
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

Rebased on top of #26


Create documentation content

A structure has already been created for the documentation.
https://materialdigital.github.io/core-ontology/3.0.0/docs/
Now it's time to fill it with meaningful and useful content!!
Please edit the markdown files at: https://github.com/materialdigital/core-ontology/tree/develop-3.0.0/docs

I would take transfering of the patterns from the beginners guide: https://miro.com/app/board/uXjVLY9FwGU=/
into the patterns.md file


docs: Added Cloud Seeder to other area

Added Cloud Seeder by IPv6.rs to the other area. Cloud Seeder lets you 1-click install Jellyfin on Windows, MacOS and Linux!
Thank you for the consideration!

@darmiel My apologies, I made a comment on the suggestion as well, but I was unaware there was a 'commit suggestion' button. As such I already made a commit with the change you suggested. I apologize for that, and thank you for the suggestion and for showing me there is a suggestion/commit suggestion function!
All changes are committed and this is ready for merge!
Thank you!

Thank you!


Support transfer xuper in contracts

Brief of your idea
Unable to initiate xuper transfer within the contract at present. This is not convenient for the contract to realize the pledge logic.
What could be better if XuperChain using your idea
Support transfer xuper to contract,  and it can not be spent unless through the contract logic.
Are there any side effects?
Bure xuper by transferring to a string abc can be spent by deploy a contract named abc.

fixed to close


vscode ignore 'include' section in tsconfig.app.json in angular project

When I import sweetalert2.js in my component like:
import Swal from 'sweetalert2/dist/sweetalert2';

and add d.ts to include section of 'tsconfig.app.js', like:
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
  "extends": "./tsconfig.base.json",
  "compilerOptions": {
    "outDir": "./out-tsc/app",
    "types": []
  },
  "files": [
    "src/main.ts",
    "src/polyfills.ts"
  ],
  "include": [
    "src/**/*.d.ts",
    "node_modules/sweetalert2/sweetalert2.d.ts"
  ]
}

vscode not show Types for Swal.

This solution this work in other project but not work in angular.
I use angular 11.2.5.

The IDE (VSCode) is unable to load tsconfig.app.json and hence why the errors. You need to add these settings in the root tsconfig.json which is used by the IDE.


dashboard: append mgr modules to ceph_mgr_modules

when dashboard_enabled is True, let's append dashboard and
prometheus modules to ceph_mgr_modules so they are automatically
loaded.
Closes: #4026
Closes: #4023
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test pipeline

dev-centos-container-dashboard requires ceph/ceph-container#1384 to pass the CI

jenkins test dev-centos-non_container-dashboard

jenkins test dev-centos-container-dashboard

jenkins test dev-centos-non_container-dashboard

jenkins test dev-centos-container-dashboard

jenkins test dev-centos-non_container-all_daemons

jenkins test dev-centos-container-all_daemons

jenkins test dev-centos-container-all_daemons

jenkins test dev-centos-non_container-dashboard

jenkins test dev-centos-container-dashboard


Implement a metadata update script in F#

There was a metadata.py file with a script for updated repositories metadata(# of stars, forks etc.).
The idea is to rewrite it to F#.

Do we really need that metadata? Looks kinda noisy.

@eugene-g  good point

I have added some other automation in F# (to manipulate ToC) and dropped the mentioned metadata.
Indeed most of the other awesome-lists don't have anything similar, and it has been mentioned in other places (including our request on inclusion into the root awesome repo) as distracting and hard to keep up-to-date.


Tracking onChange events

Hi,
How do I track Onchange events on a select element ?

And how to access ga runtime from js.. ??

Hi, ga is on the window object. Regarding onChange, there currently is no support for that. So far only page navigation and click events are supported.

I'm going to close this for now. Please let me know if you would like to reopen it for any reason.


Support config from environment

Running chronos with systemd is made much easier when configuration is done via environment variables.
This allows setting all chronos config in /etc/sysconfig/chronos, systemd will pick it up automatically.
It's basically a copy of marathons logic.
refs #16

@felixb can you provide some test result logs, showing that this code change works as expected? Thanks!

This shows, how it works on my vagrant box using systemd on a RHEL7:
I use /etc/sysconfig/chronos in favor of /etc/default/chronos, because it's loaded by systemd automatically.
There is no config in /etc/chronos:
root@mesos-mgr-dev-f999999:~> ls -l /etc/chronos
ls: cannot access /etc/chronos: No such file or directory

I've put configured everything in /etc/sysconfig/chronos:
root@mesos-mgr-dev-f999999:~> cat /etc/sysconfig/chronos
CHRONOS_MASTER=zk://mesos-master-dev-f999999:2181/mesos
CHRONOS_ZK_HOSTS=mesos-master-dev-f999999:2181
CHRONOS_ZK_PATH=/develop/vagrant/chronos
CHRONOS_MESOS_ROLE=chronos
CHRONOS_USER=chronos
CHRONOS_HTTP_PORT=8081

Chronos is running with configured flags:
root@mesos-mgr-dev-f999999:~> systemctl status chronos
chronos.service - Chronos
   Loaded: loaded (/etc/systemd/system/chronos.service; enabled)
   Active: active (running) since Wed 2015-11-25 08:10:46 CET; 14min ago
 Main PID: 18331 (java)
   CGroup: /system.slice/chronos.service
           ├─18331 java -Djava.library.path=/usr/local/lib:/usr/lib64:/usr/lib -Djava.util.logging.SimpleFormatter.format=%2$s %5$s%6$s%n -Xmx512m -cp /usr/bin/chronos org.apache.mesos.chronos.scheduler.Main --mesos_role chronos --zk_pa...
           ├─18342 logger -p user.info -t chronos[18331]
           └─18343 logger -p user.notice -t chronos[18331]
[..]

root@mesos-mgr-dev-f999999:~> ps -ef | grep chronos
root     18331     1  2 08:10 ?        00:00:23 java -Djava.library.path=/usr/local/lib:/usr/lib64:/usr/lib -Djava.util.logging.SimpleFormatter.format=%2$s %5$s%6$s%n -Xmx512m -cp /usr/bin/chronos org.apache.mesos.chronos.scheduler.Main --mesos_role chronos --zk_path /develop/vagrant/chronos --http_port 8081 --zk_hosts mesos-master-dev-f999999:2181 --user chronos --master zk://mesos-master-dev-f999999:2181/mesos
[..]

Looks good! Thanks for the patch @felixb :)

Thanks for merging.
Do you mind releasing a new package/rpm?


API version 0.5.3 release

For https://github.com/revoltchat/revolt/issues/322#issuecomment-1120176609.

:trollface:

Backup complete, starting soon.

Rescaling and upgrading API now.

Everything up since 19:23 BST.


⚠ Bofrost.at has degraded performance

In 50efa86, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1952 ms

Resolved: Bofrost.at performance has improved in 8c607f4.


sympow: fix patch url to working revision

fix_pointer_initialization2.patch no longer exists on trunk in arch repo -- download from a fixed older revision where it did.
Motivation for this change
Building sympow fails with 404 for patch download.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@timokau

@GrahamcOfBorg build sympow


Proposal for adding RH Employee Support skill

Describe the proposed contribution to the taxonomy

Skill for redirecting employee to the correct ServiceNow support service give the employee's problem. Reduce the time for exploring the entire service catalog
Reply to an employee request based on the Knowledge Articles present in ServiceNow (https://redhat.service-now.com/help?id=kb_home). e.g., How do I get root access on my RH company RHEL laptop? --> https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0004081
Faster solution retrieval
Given the nature of the task, probably it's not just enough to have a skill for it but it should be enriched with some Knowledge i.e., the large set of Knowledge Articles from ServiceNow.
Given the nature of the task, probably the skill and knowledge could be combined with other techniques to fetch updated documents and new ones (e.g., RAG)

Input given at the prompt

   How can I request a batter replacement for my RH laptop?

Response from the current model

  I'm sorry to hear that you're having trouble with your laptop battery. To request a replacement, I would recommend contacting the original manufacturer or
the seller directly, as they will be able to provide the best guidance for your specific situation. They may require proof of purchase or provide a
warranty or repair service based on the age or condition of your device.

In addition, here are some steps you can take to ensure a smooth process:

1. Gather necessary information: Before contacting the manufacturer or seller, gather any relevant information about your laptop, such as the model
number, serial number, and purchase date. This will help them identify the appropriate battery for your device.
2. Document the issue: Prepare a detailed description of the problem, including any error messages or abnormal behaviors you've observed. This will help
the manufacturer or seller understand the issue better and provide more accurate guidance.
3. Consider warranty coverage: If your laptop is still under warranty, check the terms and conditions to see if the battery replacement is covered. This
could save you time and money in the long run.
4. Be patient: Manufacturers or sellers may need time to process your request, so be prepared to wait for a response. Be sure to follow up if you haven't
heard back after a reasonable amount of time.
5. Protect your data: Before sending your laptop for repair or replacement, make sure to back up all important data to avoid any data loss during the
process.

Response that you would expect instead with the contribution

You must raise a request to IT department through ServiceNow. Follow the following steps:
 1. go to help.redhat.com
 2. move to "Supported Services" button
 3. look for "Laptop support"
 4. look for "Obtain laptop accessories"
 5. Fill in the form and submit the request

We want to keep internal items out of the taxonomy. Other PRs with internal facing skills were closed. Thanks for considering a contribution.

We want to keep internal items out of the taxonomy. Other PRs with internal facing skills were closed. Thanks for considering a contribution.

is there any better place for internal items?

is there any better place for internal items?

I do not know. Best to ask internally if there is such a place.


Improving kwarg merging in more models

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


priy1289/featurecollectionlayer

Feature collection layer sample in android.

Thanks Trevor!

Thanks for the detailed review @TADraeseke :)


Enable iota releases and docker publications

Description
WIP
Create ability to release hornets and push to docker hub.
Now upon push to master there is a github action that will publish a docker image using the git hash as the tag.
If we create a release then there will be a docker image that will be publish a latest image using the git tag.
The current proposal only uses one branch.
Current issues to be solved before merging:

Dockerfile.dev doesn't pass configurations properly
We need to add docker secrets and make sure they are secured
We need to create a proper procedure for updating the repository

Replaced by #6


Upload progress bar not shown etc.

Hi,
I just signed for a Cloudinary account and downloaded this gem for my rails project.I am a total newbie when it comes to advanced Jquery so please bear with me.
I followed all the setup instructions and basic file uploading works fine. However, the upload progress bar is not shown during upload.
Do I need to setup this manually because according to recent release notes this should work out of the box?

I also noticed that a "No file has been selected" message is shown next to the file upload box during upload. Is there any way to get rid of this?
I would also like to display preview images in a separate div-container instead of ul lists. Can you explain how to set this up using templates?
Thanks.
BR
Michel

Nothing is showing for me either.
@xhanix I see https://github.com/assembler/attachinary/blob/master/lib/assets/javascripts/attachinary.js.coffee#L109, but nothing is shown in the UI. What needs to be done to show something?

+1


Receiving error trying to validate SBOM

The online validation tool is throwing an error
The application could not be connected. Please try later.

@rjb4standards Thanks for reporting this.  This is a known intermittent issue that (hopefully) will be solved with the next upgrade.
I'll restart this server later today once I'm fully online.
When you run into this issue, you can try refreshing the browser - this may connect you to a different server thread that isn't stuck.

@rjb4standards back up and running.  Turned out we ran out of disk space, so it took a while to re-size.  Sorry about the delay.


Removing ssh dependency does not remove dependency on openssl{-sys}

Via the README: https://github.com/rust-lang/git2-rs#building-on-osx-1010

If the ssh feature is enabled (and it is by default) then this library depends on libssh2 which depends on OpenSSL. To get OpenSSL working follow the openssl crate's instructions.

However disabling the feature only removes the dependency on openssh{-sys}. git2 still depends on openssl when the Cargo.toml only has the https feature:
git2 = { version = "0.13.25", default_features = false, features = [ "https" ] }

Reproducible example with git2 version: 0.13.25:
https://gitlab.com/DarrienG/git-sample2/-/blob/main/Cargo.lock#L99
Is this intended? Based on the README it looked like removing ssh should have removed the openssl dependency in its entirety.
I noticed this when intending to remove the openssl dependency in one of my larger projects:
https://gitlab.com/ttyperacer/terminal-typeracer/-/merge_requests/86
I can confirm there are still attempts to bind with the C library with an attempt to cross compile to Linux from macOS:
🜛 libgit-test [main] cargo zigbuild --target aarch64-unknown-linux-gnu
...
  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = aarch64-apple-darwin
  $TARGET = aarch64-unknown-linux-gnu
  openssl-sys = 0.9.72

  ', /Users/darrien/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.72/build/find_normal.rs:180:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

If it is intended that's ok, I just want to make sure I understand. It would be nice for me to remove another C dep though :)

Hmm I do see there is an option to include a vendored version of openssl and libgit which seems to do the trick for removing openssl in its entirety:
-git2 = { version = "0.13.25", default_features = false, features = [ "https" ] }
+git2 = { version = "0.13.25", default_features = false, features = [ "https", "vendored-libgit2", "vendored-openssl" ] }

It might be worth adding a section in the building for macOS section if this is the intended away for removing the need for openssl.


Improve error handling on frontend & fix some floating promises

Builds on top of #487, enabling no-floating-promises rule and handling errors on frontend; should lead to more informative user reports for frontend issues (although these are not as common as server issues).
Also ensures that root path is available when opening files.

@krassowski is this still in draft?

I have some local work on sending server errors to frontend and there is a conflict to resolve. If you are thinking about cutting a release I would not wait for me to finish it as I may not have enough time this weekend.

Closing as outdated.


[instrumentation-mysql2] tests time out for<EMAIL_ADDRESS>

Description
On main the TAV tests for<EMAIL_ADDRESS>are currently timing out. Since assertions are failing on that version, I'd assume that also telemetry is being dropped, hence categorizing this as priority:p2.
See release: https://github.com/sidorares/node-mysql2/releases/tag/v3.11.5
See failing workflow: https://github.com/open-telemetry/opentelemetry-js-contrib/actions/runs/12107327068/job/33754171979

I believe that this is related to https://github.com/sidorares/node-mysql2/pull/3081

This is a release blocker for core 1.29.0/0.56.0 - see https://github.com/open-telemetry/opentelemetry-js/pull/5232


Shared/jschroeder

Took a little bit longer to accommodate your recent changes.

Have a look if you like the new folder structure: the idea is to move from ArduinoIDE to PlatformIO
Main changes are in commit "Improve WiFi & add influxdb support"
Other changes are:

Notes about required external libraries
Minor code cleaning
Add some functions for better readability, e.g. battery status
Some variables in the loop() are better defined as global vars
Avoid overflow by adding space for 0-termination
More streamline refreshing of the display
Simplified CO2 update check

Issues:

when power is connected, there is a short display glitch (see comment)
when power is disconnected: sometimes reboot or reboot loop (ideas for debugging this w/o Serial?)

Display glitch

New UI for wifi status:

add wifi reception
http update code for database e.g. influx - here 204 for success


Request: Arrange mods in mods list

Would be nice to be able to sort mods in the mod list alphabetically, by enabled/disabled and by date (the last mods to be downloaded/updated).

Seconded, also icons for info/delete/extract might be nice

Being able to order (enabled) mods for loading is relevant. Often code in one mod may step on code in another.

Ah no, this order would not allow users to control loading. If you want one mod to load before or after another you must specify this in the build properties. Otherwise mods load in alphabetical order.

Implmented in 18ff849e99685265fed1dfc74e96c9c8c1478e05


Refactor dmrpp tests to expose data file path

[x] Supercedes #318

cc @ayushnag

Looks good to me! Nice refactor of the two pytest fixtures


display local time using unix epoch for update com

Purpose

The purpose of this PR is to fix #184

I wasn't able to test this since data wasn't available in the system.
The type change from string to number might throw an error, but it's better to receive it that way from the backend 'cause the UNIX epoch time is accepted to the moment conversion function only as a number.


Handle failure to list web apps for new subscriptions

While following the App Service tutorial, new users were often getting an error like "Cannot find subscription with name". This happens when the 'Microsoft.Web' provider is not registered.
Fixes #419

Not sure how you define "new user", but yes this is at the subscription level.
The error was 'Cannot find Subscription with name xxxxxxxx-xxxx-xxxxxxxxxxxx'

Should we check specifically for that error?  I can't imagine what other errors that we could get from webApps.list() but if we do run into another one, then it'll just get passed as an empty array and might be hard to notice.

Yes that's what if (parseError(error).errorType.toLowerCase() === 'notfound') { is for
It's generally better to check against an error code (aka 'notfound') than the message itself, which might change or might be translated to other languages

Whoops.  Okay, yes, you have passed my rigorous PR approval testing suite... 😊


Flow cannot differentiate between an imported type and an imported function of the same name when using a wildcard alias.

Flow cannot differentiate between an imported type and an imported function of the same name when using a wildcard alias.
Given the following snippet:
// @flow

import * as React from 'react'

const X = (): React.Fragment => (
  <React.Fragment>

      { 'Hello :)' }

  </React.Fragment>
)

export default X

Flow version: 0.100.0
Expected behavior
Flow should build successfully. I would expect Flow to differentiate between the Fragment type and the Fragment function.
Actual behavior
Flow gives the following error:
const X = (): React.Fragment => (
                 ^ Cannot use function type as a type because function type is a value. To get the type of a value use `typeof`.

Link to Try-Flow or Github repo: https://flow.org/try/#0PTAEAEDMBsHsHcBQiCWBbADrATgF1AFSgCGAzqAEoCmxAxvpNrGqAOTY32vK2wB2pfAA1QAXlAAKAJQAuSp1wA6AGLZiAczRU++UQD5JiUKAA81OktUatOvUeOmMdhw4DebABJVocUDKmsoAC+9sYmwE724eb0Kmqa2rh2UshUAB5YeKAAJlSQxACu0MKIQA

The react libdef doesn't export a Fragment type. Only the function. https://github.com/facebook/flow/blob/ad608421aa5f6a7754037227d806999d17b12bf5/lib/react.js#L262
And the Fragment function returns a React.Node, not a React.Fragment so you would need to set the X return type as React.Node:
// @flow

import * as React from 'react'

const X = (): React.Node => (
  <React.Fragment>

      { 'Hello :)' }

  </React.Fragment>
)

export default X

Interesting, SublimeLinter-flow seems to be perfectly fine with a React.Fragment as a return type.
We prefer not to return a React.Node as that can be null whereas we would rather be more explicit so we make use of React.Element<'div'> (for example) quite frequently as that is not nullable.
Is there a way, other than returning typeof React.Fragment to indicate that we are returning a fragment (and the return value cannot be null)? This becomes even more interesting when returning custom components.

We prefer not to return a React.Node as that can be null whereas we would rather be more explicit so we make use of React.Element<'div'> (for example) quite frequently as that is not nullable.

But React.Fragment says it returns React.Node, there's nothing you can do to change that. You can explicitly cast it to any if you'd like.

Is there a way, other than returning typeof React.Fragment to indicate that we are returning a fragment (and the return value cannot be null)?

Well, setting the return type of X to be typeof React.Fragment will cause an error because typeof React.Fragment is a function. You could set the return type to be $Call<typeof React.Fragment, *>, but that will just be the same as React.Node.


removed unnecessary code

The message and the sleep are just annoying, if i want to quit i want to quit.

Aesthetics


No audio when recording long mp4

Describe the bug
When I try to record a video with mp4 format, the video has no audio if it is longer than 30 seconds.
To Reproduce
set filetype to mp4 and record a long video
Environment (please complete the following information):

Device: iPhone XS
OS: iOS 12.2
Xcode Version 10.2.1
Swift Version 5

Installation Type

Cocoapods

I have also noticed this issue, don't think it always did this.

I found the issue, it turns out AVPlayer can't play a video from AVCaptureSession that has a .MP4 extension that is longer than 10 seconds by default.
This is due to fact that AVCaptureMovieFileOutput creates a MovieFragment every 10 seconds. MP4 doesn't support fragmentation, so for some reason all iOS devices can't play the video, but everything else can.
I can create a PR and hopefully we can get @s4cha to merge quickly.
The fix:
private var videoOutput = AVCaptureMovieFileOutput()
videoOutput.movieFragmentInterval = .invalid

@Berk-Kaya Thank you for reporting this. @gintechsystems Can't thank you enough for finding the issue and taking the time to make the fix, this is greatly appreciated :) This will be in the next version.

Closing this as this is now solved :)


Vercel's Chatbot with Langchain, Pinecone and Vercel Kv BOUNTY

Hi everyone!
After playing with this repo for a little bit, I am stuck on implementing some key features I need such as langchain, pinecone and vercel kv. I want the app to function in the exact same manner as it does now, just using a custom knowledge base with my pinecone vector store and utilizing langchain.
If anyone has resources on this, I would greatly appreciate a pointer!
Or, if anyone is willing to build this for me, let me know here.

@ashraymallesh I may need your help! I am now using langchain, supabase, stripe but running into a couple issues. How might I contact you!

@ashraymallesh I may need your help! I am now using langchain, supabase, stripe but running into a couple issues. How might I contact you!

Wrote to you in Linkin. I have such a Program Build :)

@ElectricCodeGuy Hey Oscar not seeing your message...


Can't apply cloud-init configs from a symlinked folder

I created a test case with the following config:
#cloud-config
write_files:
- content: |
    # My new /etc/testcloudconfig file
    # You should be able to see me :-)
  path: /etc/testcloudconfig

The file is in a folder test/cloud-config/ and I created a symlink test/cloud-config-symlink:
drwxr-xr-x. 1 root root  34 Jun 20 14:26 cloud-config
lrwxrwxrwx. 1 root root  13 Jun 21 07:31 cloud-config-symlink -> cloud-config/

When executing the cloud-init command on the normal folder, the config file is read and applied as expected:
$ go run main.go cloud-init -s boot ../../test/cloud-config
INFO[2023-06-21T07:40:01Z] Starting elemental version v0.0.1
INFO[2023-06-21T07:40:01Z] reading configuration form '/etc/elemental'
INFO[2023-06-21T07:40:01Z] Running stage: boot
INFO[2023-06-21T07:40:01Z] Processing stage step ''. ( commands: 0, files: 1, ... )
INFO[2023-06-21T07:40:01Z] Done executing stage 'boot'

When executing the same command on the symlinked folder, nothing really happens (also no errors):
$ go run main.go cloud-init -s boot ../../test/cloud-config-symlink
INFO[2023-06-21T07:40:16Z] Starting elemental version v0.0.1
INFO[2023-06-21T07:40:16Z] reading configuration form '/etc/elemental'
INFO[2023-06-21T07:40:16Z] Running stage: boot
INFO[2023-06-21T07:40:16Z] Done executing stage 'boot'

I was able to pinpoint it to this line.
	if !info.IsDir() {
		return err
	}

In case of a symlink, info.IsDir() returns false and it stops the recursive walking.

As discussed with @fgiudici , it should be possible to patch go-vfs so that it will walk through symlinks.
However this is not exactly something we really need at the moment, so I'm going to close the issue as Won't fix.


Support component insert/extract

We no longer have good reasons to require component lifetimes to be entirely managed by the Registry. A user should be able to insert or extract constructed objects, and the Registry can just set/unset the Entity association. Insertion probably already works by move construction, but maybe could use some special case handling + testing to make sure. Extraction should be a new member func.
We'll need a solution for engine components that store their entity. Maybe ComponentBase could have an operation to update its entity. We could check if we're derived from that, and if so, update the Entity accordingly.

// We can currently only construct through the registry
registry->Add<MyComp>(ent, /*args...*/);

// But should be allowed to sink existing components
auto comp = MyComp{};
registry->Add<MyComp>(ent, std::move(comp));

// As well as extract them out
auto extracted = registry->Extract<MyComp>(ent);
ASSERT_FALSE(registry->Contains<MyComp>(ent));

Closing - insert supported, but no current use case for extract


[BEAM-11778] Create a wrapper for ZetaSQL catalog and refactor accordingly.

This is mostly just a refactor. The catalog doesn't include user-defined
functions from the Calcite schema yet.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can you explain what is the reason to extend SimpleCatalog?

My previous question was answered offline.

I'm running into issues because SimpleCatalog is @Serializable and I am introducing non-serializable fields. Perhaps this is a sign that we should create a wrapper ("has a") instead of an extension ("is a").

@apilloud @amaliujia this is ready for review now.

Is there any explantation (one pager or JIRA) to explain the intention of this refactoring? E.g. why we need this.

Is there any explantation (one pager or JIRA) to explain the intention of this refactoring? Especially what is the follow up steps after this PR? (this solely refactoring does not look very useful)

@amaliujia There are two main reasons for this PR.
One is to address review comments on previous UDF PRs, and improve the structure of our code. Currently, we create the ZetaSQL representation of UDFs in SqlAnalyzer, while we create a Beam representation of UDFs in the PlannerImpl. Really, we should not be doing any low level  operations like handling UDFs in PlannerImpl. The refactor gives better object oriented design by merging both of those operations into a single method. Also, the new class introduced in this PR better represents the 1:1 relationship between the SimpleCatalog and the SchemaPlus. I don't think SqlAnalyzer is the right place to handle catalog tasks because populating the catalog and analyzing the query are logically separate tasks.
The other reason is to make registerUdf work with ZetaSQL. We will need to extract UDFs from the SchemaPlus. Currently, because the two operations mentioned above are separate, we we would have to extract the UDF from SchemaPlus twice. So in summary this PR will make the implementation of registerUdf much simpler and cleaner.

Run Java PreCommit


Issue getting token when running example.py

Quick thank you for creating the code, look forward to getting it working :)
Just at this step of the process:
"The script will ask you to open a browser, log in, and then paste the URL you're redirected to. It will then write a JSON file called wideq_state.json._"
I copy the URL into the browser, enter my LG account details and it just keeps coming back with the message:
us.m.lgaccount.com says:
Please check your network and try again
I can login with the same account to the following:
https://sso.lg.com/oauth/page/login?authorizeKey=9c837df5-72db-4991-82e6-451be0636657
There is an option to login with facebook, which then returned the following URL:
https://us.m.lgaccount.com/login/sign_in?country=UK&language=en-EN&svcCode=SVC202&authSvr=oauth2&client_id=LGAO221A02&onyx_feature=N&division=ha&show_select_country=N&show_add_services=N&oauthTokenExpiredFlag=N&os_type=PC&thirdParty=facebook#_=_
Then read somewhere else the details in the wideq.py file needs to be precise, so although I'm in the country UK I set it back to 'PL'. The URL then seemed to work and took my through a menu asking for date of birth and some terms and conditions.
After that I got a page could not be found message.
Followed the link again and got what seemed the correct URL, but when entering got the following:
root@Home-NAS:~/LGAC_SmartT# python3 example.py
Log in here:
https://pl.m.lgaccount.com/login/sign_in?svcCode=SVC202&country=PL&language=en-EN&grant_type=password&division=ha&authSvr=oauth2&client_id=LGAO221A02
Then paste the URL where the browser is redirected:
https://gb.m.lgaccount.com/login/iabClose?access_token=d0987ba87a6e753805fe0ca1331a3ed8f4b268a93e87c524bab1926f34918df5b69bba82d94443ab78a31db1fce1a6c2&refresh_token=968a114090eb4216fc78f2f6016cf8681e0318bf42be3b22a383b4a6290ffb3052ea754b4f4a8fda89e4440c727fdd7a&oauth2_backend_url=https://gb.lgeapi.com/
Traceback (most recent call last):
  File "example.py", line 214, in <module>
    example(sys.argv[1:])
  File "example.py", line 200, in example
    example_command(client, args)
  File "example.py", line 177, in example_command
    ls(client)
  File "example.py", line 25, in ls
    for device in client.devices:
  File "/root/LGAC_SmartT/wideq.py", line 474, in devices
    self._devices = self.session.get_devices()
  File "/root/LGAC_SmartT/wideq.py", line 465, in session
    self._session, self._devices = self.auth.start_session()
  File "/root/LGAC_SmartT/wideq.py", line 257, in start_session
    return Session(self, session_id), as_list(session_info['item'])
KeyError: 'item'

So at this point I'm stuck.
One additoinal bit of information I'm not sure is relevant I got a warning about a PATH when running the command below:
root@Home-NAS:~/LGAC_SmartT# python3 -m pip install -e .
Obtaining file:///root/LGAC_SmartT
Collecting requests
  Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB)
     |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 58 kB 641 kB/s
Collecting chardet<4,>=3.0.2
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
     |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 133 kB 5.7 MB/s
Collecting idna<3,>=2.5
  Downloading idna-2.9-py2.py3-none-any.whl (58 kB)
     |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 58 kB 1.7 MB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Downloading urllib3-1.25.8-py2.py3-none-any.whl (125 kB)
     |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 125 kB 5.9 MB/s
Collecting certifi>=2017.4.17
  Downloading certifi-2<IP_ADDRESS>-py2.py3-none-any.whl (157 kB)
     |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 157 kB 5.7 MB/s
Installing collected packages: chardet, idna, urllib3, certifi, requests, wideq
  WARNING: The script chardetect is installed in '/volume1/@appstore/py3k/usr/local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Running setup.py develop for wideq

Be useful for some pointers.
Many thanks in advance

Fixed the PATH warning issue with the command:
export PATH="$PATH:/volume1/@appstore/py3k/usr/local/bin"
Re-run the command and installed successully this time:
root@Home-NAS:~/LGAC_SmartT# python3 -m pip install -e .
Obtaining file:///root/LGAC_SmartT
Requirement already satisfied: requests in<EMAIL_ADDRESS>(from wideq==0.0.0) (2.23.0)
Requirement already satisfied: certifi>=2017.4.17 in<EMAIL_ADDRESS>(from requests->wideq==0.0.0) (2<IP_ADDRESS>)
Requirement already satisfied: idna<3,>=2.5 in<EMAIL_ADDRESS>(from requests->wideq==0.0.0) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in<EMAIL_ADDRESS>(from requests->wideq==0.0.0) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in<EMAIL_ADDRESS>(from requests->wideq==0.0.0) (1.25.8)
Installing collected packages: wideq
  Attempting uninstall: wideq
    Found existing installation: wideq 0.0.0
    Uninstalling wideq-0.0.0:
      Successfully uninstalled wideq-0.0.0
  Running setup.py develop for wideq
Successfully installed wideq

Still have same issue though:
root@Home-NAS:~/LGAC_SmartT# python3 example.py
Log in here:
https://pl.m.lgaccount.com/login/sign_in?grant_type=password&division=ha&authSvr=oauth2&client_id=LGAO221A02&svcCode=SVC202&language=en-EN&country=PL
Then paste the URL where the browser is redirected:
https://gb.m.lgaccount.com/login/iabClose?access_token=1209577b23b9140ff4c1be6ee29a65ed4526828fdc67e8f7adb301b4b05c6d2443ca2a1248ae3f2532355cc8fa149aea&refresh_token=6b4f45c3abdf4c5596ca70703a2211cb76f40699e1c6ec69468cd6f80da4321c49613c5b8fb7c1d32990cecc5cfa6a5d&oauth2_backend_url=https://gb.lgeapi.com/
Traceback (most recent call last):
  File "example.py", line 214, in <module>
    example(sys.argv[1:])
  File "example.py", line 200, in example
    example_command(client, args)
  File "example.py", line 177, in example_command
    ls(client)
  File "example.py", line 25, in ls
    for device in client.devices:
  File "/root/LGAC_SmartT/wideq.py", line 474, in devices
    self._devices = self.session.get_devices()
  File "/root/LGAC_SmartT/wideq.py", line 465, in session
    self._session, self._devices = self.auth.start_session()
  File "/root/LGAC_SmartT/wideq.py", line 257, in start_session
    return Session(self, session_id), as_list(session_info['item'])
KeyError: 'item'

Solution:
sudo sed -i "s|TLSv1.2|TLSv1.0|g" /etc/ssl/openssl.cnf

Also cannot get token from example, output below:
sudo python3 example.py
Log in here:
https://pl.m.lgaccount.com/login/sign_in?country=PL&language=en-EN&svcCode=SVC202&authSvr=oauth2&client_id=LGAO221A02&division=ha&grant_type=password
Then paste the URL where the browser is redirected:
https://pl.m.lgaccount.com/login/iabClose?access_token=4**************&refresh_token=d***************&oauth2_backend_url=https://gb.lgeapi.com/
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'tls_process_ske_dhe', 'dh key too small')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_ske_dhe', 'dh key too small')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='eic.lgthinq.com', port=46030): Max retries exceeded with url: /api/member/login (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_ske_dhe', 'dh key too small')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "example.py", line 214, in <module>
    example(sys.argv[1:])
  File "example.py", line 200, in example
    example_command(client, args)
  File "example.py", line 177, in example_command
    ls(client)
  File "example.py", line 25, in ls
    for device in client.devices:
  File "/home/pi/LGAC_SmartT/wideq.py", line 474, in devices
    self._devices = self.session.get_devices()
  File "/home/pi/LGAC_SmartT/wideq.py", line 465, in session
    self._session, self._devices = self.auth.start_session()
  File "/home/pi/LGAC_SmartT/wideq.py", line 255, in start_session
    session_info = login(self.gateway.api_root, self.access_token)
  File "/home/pi/LGAC_SmartT/wideq.py", line 177, in login
    return lgedm_post(url, data)
  File "/home/pi/LGAC_SmartT/wideq.py", line 111, in lgedm_post
    res = requests.post(url, json={DATA_ROOT: data}, headers=headers)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='eic.lgthinq.com', port=46030): Max retries exceeded with url: /api/member/login (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_ske_dhe', 'dh key too small')])")))


Default the runtime to "nodejs4.3", which is now supported by AWS

Can be overridden by supplying e.g. :runtime :node for a fn in the project file, or on the command line.

Nice, thanks for this!

io.nervous/lein-cljs-lambda 0.5.3-SNAPSHOT deployed

Updated w/ https://github.com/nervous-systems/cljs-lambda/commit/5b31d62c2b83cb9de068ebe37e3ddd67d6dc0915


fix(package): update snyk to version 1.31.1

Closes #514

Coverage remained the same at 100.0% when pulling e45ff4312dbae36861e21d8425180ccdd3d3ef69 on greenkeeper/snyk-1.31.1 into 41ca28adbe034202ecd2050703d4c5457696dc96 on master.


Some cleanup over the previous PR

@viniciusccarvalho:
I have reworked the previous PR quite a bit, mostly formatting and fixing compile issues following the renamings.
Still, I can't get to have it work, trying to target PWS logs. I have a running app on CF, for which I can get logs by cf logs.
Also, grep Doppler ~/.cf/config.json gives me
"DopplerEndPoint": "wss://doppler.run.pivotal.io:4443",

so I'm trying to create a stream like so:
stream create foo --definition "firehose --dopplerUrl=wss://loggregator.run.pivotal.io:4443 --username=xxx --password=yyy | log" --deploy

I'm getting the following error, which may actually be 2 distinct errors in one:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'firehoseSource' defined in URL [jar:file:/Users/ericbottard/.m2/repository/org/springframework/cloud/stream/module/firehose-source/1.0.0.BUILD-SNAPSHOT/firehose-source-1.0.0.BUILD-SNAPSHOT-exec.jar!/org/springframework/cloud/stream/module/firehose/source/FirehoseSource.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSocketInboundChannelAdapter' defined in class path resource [org/springframework/cloud/stream/module/firehose/source/FirehoseSource.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.integration.websocket.inbound.WebSocketInboundChannelAdapter]: Circular reference involving containing bean 'firehoseSource' - consider declaring the factory method as static for independence from its containing instance. Factory method 'webSocketInboundChannelAdapter' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSocketContainer' defined in class path resource [org/springframework/cloud/stream/module/firehose/source/FirehoseSource.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.integration.websocket.ClientWebSocketContainer]: Circular reference involving containing bean 'firehoseSource' - consider declaring the factory method as static for independence from its containing instance. Factory method 'webSocketContainer' threw exception; nested exception is java.lang.IllegalArgumentException: Malformed URL for authentication endpoint. Check your configuration.

Any reference to a working example would be helpful.
Also, the dopplerEvents (which could be changed to String[] or even SomeEnum[]) prop is never used.
Please use https://github.com/spring-projects/spring-framework/blob/master/src/idea/spring-framework.xml as IDEA formatting rules if adding some commits

@ericbottard I'm curious about the compilation issues, I had no issues here, what was failing during the compile phase on your end?
What should I do with that file? I tried to load from intellij but it expects a zip, I've searched all over. On eclipse it was so easy to import a formatting template for a project.
You are missing the authenticationUrl property. Note that you will also need the trustSelfCertificates if you are running against a PCF deployment that uses self signed certs.
I have a few changes I was going to submit tomorrow, do I need to rebase from this branch now?

@ericbottard I'm curious about the compilation issues, I had no issues here, what was failing during the compile phase on your end?

A couple of variables were used in inner classes w/o being final. Are you compiling in java8? Maybe that would explain

What should I do with that file? I tried to load from intellij but it expects a zip, I've searched all over. On eclipse it was so easy to import a formatting template for a project.

You need to put it in ~/Library/Preferences/IntelliJIdea14/codestyles, should then appear as a valid option in this preference window:

You are missing the authenticationUrl property. Note that you will also need the trustSelfCertificates if you are running against a PCF deployment that uses self signed certs.

I'll look into this. Any idea what this would be when running against Pivotal Web Services?

I have a few changes I was going to submit tomorrow, do I need to rebase from this branch now?

Yes please, there have been quite a lot of changes in the upstream project

@ericbottard I've never tried to get it working on PWS. AFAIK you need an user with doppler.read permissions. Not sure if the regular user of pws has that.
I've tested with lattice, the simulator and my own PCF env (after adding doppler.read to an user) but never with PWS.
So, my changes were on the README and the exception propagation of the transformer, which seems that you've already fixed.
What do you prefer? I need to rebase on your repo and merge your branch now?
I have a couple of hours tomorrow I could ping you to discuss.

Let's do that yes. Ping me on slack
Best thing would be to issue a PR against my branch for example (having
rebased on top of mine)
On Mon, Sep 7, 2015 at 6:26 PM, Vinicius Carvalho<EMAIL_ADDRESS>wrote:

@ericbottard https://github.com/ericbottard I've never tried to get it
working on PWS. AFAIK you need an user with doppler.read permissions. Not
sure if the regular user of pws has that.
I've tested with lattice, the simulator and my own PCF env (after adding
doppler.read to an user) but never with PWS.
So, my changes were on the README and the exception propagation of the
transformer, which seems that you've already fixed.
What do you prefer? I need to rebase on your repo and merge your branch
now?
I have a couple of hours tomorrow I could ping you to discuss.
—
Reply to this email directly or view it on GitHub
https://github.com/spring-cloud/spring-cloud-stream-modules/pull/33#issuecomment-138335499
.

after chatting w/ Vinicius seems like we should close this one for now and wait for another one to roll in based off eric's branch.


Setup github actions for Windows and macOS

Starting without Ubuntu tests because I've been having trouble getting orx's Rebol-based setup process to work on github action's runners.

Thank you again @smorimoto for your help in fixing my issues on Windows! I'll take care of the remaining Windows build issues in a followup PR.

Anytime!


quiche: roll QUICHE to 9711a9e74b43 and BoringSSL to 65e0aad1b721

Signed-off-by: Bence Béky<EMAIL_ADDRESS>Description: roll QUICHE and BoringSSL external dependencies to more recent versions and make necessary modifications.
Risk Level: Low.
Testing: No new tests.  Both external dependencies are covered by extensive unit tests.  No new functionality is added to Envoy, therefore existing integration tests should be sufficient.
Docs Changes: n/a.
Release Notes: n/a.

/assign mattklein123
This change is ready for review.

/unassign danzh2010
/assign alyssawilk
Unassigning danzh2010 who has already finished reviewing.
Assigning other code owner as this change is ready for review from either owners.  Thank you.


Part 1 Board/Baud Selection Confusion

In part 1 the tutorial begins with selecting the AI Thinker ESP32-CAM board, which does not require an explicit programming baud rate to be specified. However, a couple steps later the tutorial says to select a specific programming baud rate and shows that the ESP32 Wrover Module is selected rather than the AI Thinker. This can be a possible point of confusion for some hackers getting started.

Fixed.  Good catch.


BUG: prevent index type casting when reading TSV files

Thanks @ElDeveloper for catching this!

Thanks @ebolyen!

🎆

Looks good!!! :+1:
On (Jul-22-16|14:51), Jai Ram Rideout wrote:

Thanks @ElDeveloper for catching this!
You can view, comment on, or merge this pull request online at:
https://github.com/qiime2/q2-types/pull/20
-- Commit Summary --

BUG: prevent index type casting when reading TSV files

-- File Changes --
M q2_types/_feature_data.py (11)

-- Patch Links --
https://github.com/qiime2/q2-types/pull/20.patch
https://github.com/qiime2/q2-types/pull/20.diff

You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
https://github.com/qiime2/q2-types/pull/20


Remove Decisions for the 1.0 release

Based upon a lack of broad implementer feedback and due to the number of outstanding issues around Decisions, a consensus was reached last week in San Diego that Decisions will not be included in the 1.0 release.
Decisions are an important feature of CDS Hooks that we will want maintain. To include this in CDS Hooks, it is imperative that we receive broad implementer feedback on this feature and thus far, we have not seen this. Additionally, we need to address many, if not all of the outstanding issues that have been logged against Decisions.
Our plan is to circle back on Decisions after 1.0 and include it in a subsequent release of CDS Hooks.

I have worked on a project where we tried this a bit. Worth noting is that while we use CDS Hooks API structure we do not structure our clinical data with FHIR but as a JSON representation of openEHR archetypes. The spontaneous feeling us as a CDS vendor was that we would have preferred that all data persistence was done in the EHR (I would assume FHIR server in your case?).
If the CDS apps could send decisions with HTTPS to the EHR system the CDS systems could be kept stateless. They would then be re-initiated with the same hookInstance as previous session and continue from there.
To me, since the decisions originates from the app, and the CDS service only returns an app link card, the CDS service does not need to know about any decisions that would be made in the app (for us they runs as separate docker containers anyway). Also you could have two CDS services that both returns a link to the same app, that to me makes it even more clear that the decision would belong to the app and that it would be useful if the app could send the decision to the EHR. Else possibly store them in one single decision storage service that would take store all decisions until someone fetches them but that adds complexity about for how long they should be stored before they are cleaned out to prevent clinical data from just building up inside systems that is external from the EHR.

Thanks for the feedback @tirithen!
I think decisions are an important feature and it is encouraging to hear that you have been exploring them in your environment. Thanks for your thoughts on decisions and when we swing back on this topic in a subsequent release, it would be great to get your feedback then too.


Array Initialization contains old values from memory. Bug or feature?

Godot version: 3.1
OS/device including version: Linux
Issue description:
If a Node instance initializes an array like this: var a: Array, the next instance will contain the data of the last one. Instead, var a = [] is fine. Is this intended behaviour? Here is a really small example:
game.gd
extends Node2D

onready var Car = preload("res://car.tscn")

func _ready():
	var car = Car.instance()
	add_child(car)
	print(car.wheels)

	var car2 = Car.instance()
	add_child(car2)
	print(car2.wheels)

car.gd
extends Node2D

var wheels: Array

func _ready():
	for i in range(0,4):
		wheels.append("wheel %s" % i)

Now both cars should contain 4 strings in each array - Wheel 0 - 3. Instead the second car gets the data from the first car's array. This is the output:
[wheel 0, wheel 1, wheel 2, wheel 3]
[wheel 0, wheel 1, wheel 2, wheel 3, wheel 0, wheel 1, wheel 2, wheel 3]
This doesn't happen if you change car.gd to var wheels = []
Very hard to figure out in a more complex scene...

This sounds like a duplicate of #24134 and #28978.

Yep, this should be already fixed in 3.2 alpha. You can test it to make sure.

Awesome! In 3.2 it is fixed. Confirmed! :-)


Missing extra tools for Ark in Plasma 6

Describe the bug
The package definition for kdePackages.ark does not specify the extra tools that can be used by Ark. The older definition libsForQt5.ark contains extra tools such as unar to handle extra types of archives.
Steps To Reproduce
Steps to reproduce the behavior:

Open a rar file with Ark in Plasma 6

Expected behavior
I could configure the extra tools for Ark by overriding package definition
Notify maintainers
@K900
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9, NixOS, 24.05 (Uakari), 24.05.20240511.062ca2a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/pfc56yr7y3wflvbgnrpscf2n1m4j3xd7-source`

Add a :+1: reaction to issues you find important.

Hi! I'm not this package's maintainer; the commit you saw was a tree-wide auto generated change adding the meta.mainProgram attribute to packages where it was missing & trivial to add. I'll unsubscribe from this thread.
Note that the ark package does have maintainers set, they're just not set in the file itself (you can get them by doing e.g. nix-instantiate --eval --strict -A kdePackages.ark in a nixpkgs checkout's root). Alternatively, take a look at the CODEOWNERS file which also has entries for that subdirectory.

Those archive formats should be handled by libarchive.

If I open an rar file with Ark I will receive the following error:
No suitable plugin found. Ark does not seem to support this file type.

@K900 May I ask if you could read rar or 7z archives with Ark in Plasma 6 only using the libarchive plugin? I know libarchive support rar and 7z, but I'm unsure whether Ark actually use them for these formats.

I've checked the sources and it looks like Ark explicitly doesn't use libarchive for those. I'll ask around and see why that was done.

Support for 7-zip was recently added.
https://invent.kde.org/utilities/ark/-/merge_requests/238


Added travis status to readme

Merged this regardless of the Travis CI status. The wait time for OSX build agents is pretty long during US business hours


Unblock CI to publish task package

@kuvinodms Please make sure task versions are properly maintained. M137 already contains 0.3.5

@kuvinodms master should be higher or equal to last release version.
Consider it as every subsequent release should follow the same.
In this case M137 is at 0.3.5, however master is still at 0.3.4
and as rule of thumb, please commit to master before making any fix to release branch.


DB: use 'type: text' for columns which are longer

Signed-off-by: Amar Tumballi<EMAIL_ADDRESS>

this change is not backward compatible on MySQL DB, as this created VARCHAR(255) earlier, but now it makes columns of type TEXT.


No option to delete a category

Sometimes the user would want to delete a category.
When the user is trying to delete a category,

find all transactions that has that category and make it null before deleting.
Before doing that show the user that this is going to be the consequence of deleting this category.

Delete category implemented


Update README.md

fix the headings and set language to go so it's easier on the eyes while reading

is this going to get merged?


steve state

We need to be able to keep track of the state of video metadata in arbitrary ways. I was thinking we could do one of two things:

use a sqlite3 db to store status on things
(ab)use the existing json files and add some code that lets us store additional steve-specific data in them using keys with steve_ at the beginning that get ignored when pushing/updating richard instance via the api and get ignored during verification

I kind of like item 2 since it's "fast-and-loose".

There is both global (per project) and state for each json file. The global state cannot be meaningfully stored in the individual files.
sqlite3 has the disadvantage of not easily being edited
you could store the global state and the state for individual files in a YAML file structured:
# status file for yaml
yaml:
       last_sync: 2000-01-01 00:00:00
files:
      0152_Fabio_PligerOier_Beneitez_-_Welcome:
          check_language: true
          check_length: true

i.e. have a key entry based on the filename (without .json/.yaml extension)
and have the tools (e.g. steve-cmd verify) merge in relevant data.


Reformat diagram guide

This PR wraps the long lines in the diagram guide for ease of change tracking.
It also fixes some link targets to use relative paths.

Hi @tengqm, I wanted to change 3 x lines of your PR to add periods at end of figures 5, 7 and 8. I edited the file but it seems that this commit was added to patch-7 branch for my fork that should be merged into the tengqm:tune-diagram-guide.
Here is what I have. I have not opened a PR for this.
I don't want to impact your PR which is excellent by the way.
Please advise.

@chrismetz09 One of us will have to rebase then. It is fine for me.

Preview: https://deploy-preview-31627--kubernetes-io-main-staging.netlify.app/docs/contribute/style/diagram-guide/

/lgtm

/label refactor
/approve


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 203 ms

Resolved: ClamAV performance has improved in 46aae62.


fix: reloading the entire command store didn't fire ApplicationCommandRegistries

CommandStore#loadAll() indirectly removes all application command registries. In addition, the Command's applicationCommandRegistry being readonly snapshots the command's old registry before it is removed.
As a result, application command registries won't handle api calls after reloading the command store more than once.
This is a hacky patch that gets the job done, so draft pr is only for visibility in hopes of reaching a better solution.

@sapphiredev pack

@sapphiredev pack

Hey @vladfrangu, The bot has released this to NPM. You can install it for testing like so:
npm install @sapphire/framework@pr-525

Sorry for the necro-bump, but the npm package for the sapphire framework still has the pr-525 tag which I think should be removed.
https://www.npmjs.com/package/@sapphire/framework?activeTab=versions

Apparently CI failed for this PR, thanks NPM API for being unpredictable af. https://github.com/sapphiredev/framework/actions/runs/3169108831
Just deprecated it manually. Thanks for informing.


Uncaught TypeError: implode

Hi, while trying to upgrade from an old 1.7.1 install I got a blank page on admin, 500 error.
With a new install, new config, new db I always get
2021/03/15 15:25:41 [error] 11#11: *121 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /application/sclzoo.it/includes/vendor/rmccue/requests/library/Requests/Transport/fsockopen.php:195
Stack trace:
#0 /application/sclzoo.it/includes/vendor/rmccue/requests/library/Requests/Transport/fsockopen.php(195): implode()
#1 /application/sclzoo.it/includes/vendor/rmccue/requests/library/Requests.php(379): Requests_Transport_fsockopen->request()
#2 /application/sclzoo.it/includes/functions-http.php(218): Requests::request()
#3 /application/sclzoo.it/includes/functions-http.php(52): yourls_http_request()
#4 /application/sclzoo.it/includes/functions-http.php(324): yourls_http_post()
#5 /application/sclzoo.it/includes/functions-http.php(418): yourls_check_core_version()
#6 /application/sclzoo.it/includes/functions.php(1213): yourls_maybe_check_core_version()
#7 /application/sclzoo.it/includes/Config/Init.php(114): yourls_tell_if_new_version()
#8 /application/sclzoo.it/includ" while reading response header from upstream, client: <IP_ADDRESS>, server: sclzoo.it, request: "GET /admin/ HTTP/1.1", upstream: "fastcgi://<IP_ADDRESS>:9000", host: "sclzoo.it"
2021/03/15 15:35:04 [error] 11#11: *123 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /application/sclzoo.it/includes/vendor/rmccue/requests/library/Requests/Transport/fsockopen.php:195

and a blank page.
PhpFpm 8.0 - nginx
Please help

While it should work without it, it seems to indicate that you don't have support for curl. Can you enable curl in your php.ini ?

Also, does "PhpFpm 8.0" mean you're running PHP 8 ?


Using fetch client returned null data, while using axios client worked as expected

When using the fetch client, I noticed that only when I call json() does the response data appear in the Devtools' Network tab. However, the typed data object is still null:
const result = await client.getBoard({
    boardType: "TOP",
  });
// result.data is null
const jsonData = await result.json() // jsonData contains the server response, but its type is "any"
return result.data; // result.data is still null, but it is what I want because it is strongly typed!

Switching to the axios client fixed the issue:
swagger-typescript-api --axios ...

const result = await client.getBoard({
    boardType: "TOP",
  });
return result.data; // data is returned without calling json()

I hope this issue report can help improve the library, although it is already so great. If there is any chance the issue is on our server's end, feel free to close this 👌

@teddyfullstack that's the default behavior when using the fetch client. If you don't want to use await result.json() then set the baseApiParams: {format: 'json'}

Oh adding baseApiParams: {format: 'json'} did the trick. It's not really obvious to find in the docs anyway. Thank you for your support 💯


feat(n-equation): export EquationProps type

Codecov Report
Patch and project coverage have no change.

Comparison is base (ef7279e) 62.37% compared to head (3e90021) 62.37%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5253   +/-   ##
=======================================
  Coverage   62.37%   62.37%
=======================================
  Files        1074     1074
  Lines       22588    22588
  Branches     5930     5930
=======================================
  Hits        14090    14090
  Misses       6954     6954
  Partials     1544     1544

Files Changed
Coverage Δ

src/equation/index.ts
100.00% <ø> (ø)

src/equation/src/Equation.tsx
23.52% <ø> (ø)

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


Game insta-crashes after updating

Hello.  I just updated GW2 as well as used the addon manager to update Arcdps, Buildtemplates, and d912x.  After installing updates the game would no longer launch form launcher.  I deleted bin64, d912x file and reinstalled all 3 again.  Game will launch but now Arcdps and buildtemplates are no longer loading.  When I try to remove them through the addon manager I get an error stating it cannot access the bin64 folder.

Got a copy of config.ini? I'm in class right now but will check this out when I can.
Just an update on the progress of next version, chainloading is as annoying for us developers as it is for you and thankfully the next update will hopefully resolve 99% of problems you guys (just users in general) have been having with the plugins. It won't be out for a couple weeks yet, though, so I'll try to find out what the problem is here.
Just making sure, you're getting the "cannot access bin64" error while the game isn't running?

config2.txt
There is the config.  And yes it was giving me that error with the game closed and the file closed as well.

Try running in admin mode? (right click, run as admin)

I run both the addon manager and GW2 in admin already =-/

The configuration file looks fine; can I see a screenshot of your bin64 folder? If the config file is accurate then everything should be behaving normally, but it's not so I assume somehow the plugins got messed up.

So I un-installed and reinstalled Addon Manager.  Deleted Bin64 and d912x folders.  Reinstalled arcdps and d912x through Addon manager.  Game loads in now, arcdps pops up with an error saying unable to locate or something, and the buildtemplates will not launch when using the command.
Not sure what my issue is lol.

arc's "unable to locate" errors typically come after a game patch when arc hasn't yet been updated. I don't believe you or I have any control over that. I haven't been experiencing those errors, which is odd, but in any case that's an arc thing and not a manager thing. Is d912pxy working?

OH just read this in your original post "I just updated GW2" that would cause the arc issue if Delta hasn't patched it yet.

I can never tell if d912pxy is ever actually working or not lol.  Is there an easy way to tell?

Character portraits get broken, both in character select and ingame.

Broken in what way?  I haven't noticed that.  The only thing I have seen after installing it or updating it is  everything turns blue for a while while it's "loading."

I'll screenshot when I get out of class.

Don't even worry man I never noticed the portraits before but they are definitely broken.  Thanks for all the help today!  It seems deleting everything and reinstalling has fixed the issue I was having.  Looking forward to that future update so this whole process is less of a pain!

All right, no problem! Hopefully everything will fall into place for the changes pretty soon.


Feature request: allow pushing releases only to pre-defined remotes #198

Currently, bumpver pushes to a remote that is configured for the current branch, typically, this would be origin,
however some users might want to configure default remote to point to a fork so that they don't pollute the origin repo with their feature branches.
However, when pushing a release by creating a tagged commit and then making a PR to merge into main branch, this approach does not work because merging pull requests does not transfer the tags (at least on GitHub).
To prevent this mistake from happening, it would be great to have a setting like:
allowed_remote= https://github.com/origin/repo

or perhaps allowed_remotes to allow for multiple allowed repos.
This feature is related to #198.

Sounds reasonable. How does this translate to a cli parameter that can be passed to git push ?


Extracting comments from PGN

Now, instead of comments being removed completely, they are stored in "comments" array which is accessible via .comments() method. The array is always the size of a history array.

+1

Let's open this up for discussion.  The c_index variable that's used to index the comments is opaque to the user ... and I don't think exposing it would be a good idea.  So a few questions:

Would it be better to convert comments into an object and key off the current FEN?
Should comments be preserved and re-inserted when calling dumping PGN via .pgn()?

@jhlywa Found issue since I'd like to take advantage of any comments extracted from PNG. Is this something you are still able to work on?
To answer your questions:

Would it be better to convert comments into an object and key off the current FEN?

Providing a comments object would be helpful, and seems to mimic how chess.history() works.

Should comments be preserved and re-inserted when calling dumping PGN via .pgn()?

This seems to be most defensible approach since it doesn't change the PGN at all.

@imor Any chance you're able to submit a pull request for the code you wrote to extract comments from the PGN?

Is anyone working on this? I don't want to have to write my own pgn reader just to keep track of comments in games.

fyi, i submitted a new PR that should address the comments from @jhlywa


SS_TRUSTED_PROXY_IPS is not applied to middleware

When setting the envvar SS_TRUSTED_PROXY_IPS the value is not passed through to the middleware. This means (for me) that the trusted header X_FORWARDED_PROTOCOL is not used to determine the request protocol, and therefore there is a mismatch between the URL (https://my.site.com) and the base_tag (http://my.site.com) which results in an unstyled CMS and mixed-protocol warnings.
This appears to be because it is not parsed correctly out of the config: https://github.com/silverstripe/silverstripe-framework/blob/4/_config/requestprocessors.yml#L19

We found that issue yesterday and it's related to changes in Director::is_https(). In 3.x it checks for TRUSTED_PROXY and after that sets either SS_TRUSTED_PROXY_PROTOCOL_HEADER if defined or one of HTTP_X_FORWARDED_PROTO, HTTP_X_FORWARDED_PROTOCOL, HTTP_FRONT_END_HTTPS.
As a result if the SSL offloading happens on nginx, Apache and PHP can't detect https properly.

@ichaber the TRUSTED_PROXY config was moved to a middleware - the problem was that although we had SS_TRUSTED_PROXY_IPS set to "*", the config wasn't picking it up - see #7349 - so it wouldn't look in the trusted proxy headers for scheme (and other things).


Containerization - Enroot

https://www.pugetsystems.com/labs/hpc/run-docker-containers-with-nvidia-enroot-2142/


Improve display scaling on smaller devices

Need to update the default layout template to scale more effectively on smaller screens.

Currently this works for screens wider than ~500px...


Display more compaction information in the monitor

Is your feature request related to a problem? Please describe.
Original JIRA ticket: https://issues.apache.org/jira/browse/ACCUMULO-3154
Important excerpt:

Showing the age of the longest running scan...is helping users to understand their system better.
 It was suggested that showing the oldest compaction would be useful, too...

Describe the solution you'd like
An 'Active Compactions' page in the monitor similar to that of 'Active Scans' where the server, count, and oldest age is displayed.

@Manno15 have you done anything with this? I started looking at it and it should be pretty straightforward.

@milleruntime No, I haven't.

It would be nice to include how many are queued as well, like how we do on the tables and table status pages.


Feature for MathJax support

Can we have mathjax support. I manually override the footer.html to do this, but it would be nice if it were inbuilt into the theme.
https://gohugo.io/tutorials/mathjax/

Hello @rrampr,
have a look at the customJS option in the example config file. Just add the url to the MathJax script as string to list.

The aforementioned solution should work fine. Feel free to reopen this issue if the approach doesn't solve your problem.

Just want to leave this here for future people
Look in the root theme folder / layouts / js.html
There is the following lines.
{{ range .Site.Params.customJS }}
<script src="{{ $.Site.BaseURL }}{{ . }}"></script>
{{ end }}

The prefix {{ $.Site.BaseURL }} adds the site url
to the links breaking any links to external cdn's and what not. So if you are linking to
an external cdn using the following in config.toml
	customJS  = ["https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"]

Then you need to change the lines in js.html to
{{ range .Site.Params.customJS }}
<script src="{{ . }}"></script>
{{ end }}


/user/admin/create fails on windows but works on linux

What steps will reproduce the problem?
I have a docker machine with ubuntu linux running, where the /user/admin/create works without any issues, if I move it to the production system which is a native xampp installation on win2012 server it's not creating users anymore. Sadly I don't get any error message
What is the expected result?
User get's created in both systems
What do you get instead?
User only gets created in linux environment
Additional info

Q
A

Yii2 version
2.0.9

Yii2-user version
0.9.8

PHP version
5.6.0 under windows and 5.6.23 under linux

Update: Looks like the user get's created, but within the profile creation an error occures and then the total create get's roled back? :/ how can I debug this...?

+1
I'm seeing the same behavior with 0.9.9:  I can update existing users, but cannot create any new ones.
The DB table is incrementing, but no new user record is created.  My deduction is that new rows are getting deleted immediately after creation.
No error is displayed on the site.  No Apache errors are logged.
Interestingly, on a different server running somewhat different versions (see below), the exact same Yii code and DB structure works perfectly.
BROKEN:
Yii2 version: 2.0.9
Yii2-user version: 0.9.9
PHP Version: 5.6.24
Server OS: Ubuntu 12.04.5 LTS
WORKING:
Yii2 version: 2.0.8
Yii2-user version: 0.9.6
PHP Version: 7.0.8-0ubuntu<IP_ADDRESS>
Server OS: Ubuntu 16.04 LTS

Update:  In my case, downgrading to Yii2-user 0.9.6 restored my ability to create new users.

Ok - so did you check what changed from 0.9.6 to latest version? I don't understand why it broke :(
Thanks for sharing your solution!

No, I've not run a diff or otherwise tried to isolate the root cause since reverting.

ok, thanks! I will ask one of our team members to debug it ;)

I guess you should to accept this migration -> m151218_234654_add_timezone_to_profile. It is
necessary for versions older than 0.9.6. If you had updated your "profile" table manually, please check that name of new field was exactly tha same as timezone and type varchar 40. No camel case in name!

I have the same issue with 0.9.8, downgrading worked for me, I'm on a Mac and did a clean install

I also have this issue and I found that I forgot to config stmp. When user was created, but the email wasn't send. So the record has created which is deleted.

stmp? you mean smtp? and shouldn't it take the config from mailer? as I always have "useFileTransfer" = true while developing?!

smtp. i typed incorrectly.
'host' => $myconfig['smtp_host'],
'username' => $myconfig['smtp_username'],
'password' => $myconfig['smtp_password'],

I cannot reproduce this issue. If you are still stumble upon it, please reopen it and attach logs, errors or something, so I can dig into it ;)


[WIP] LaTeX demo

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/2bbc669b0af236b/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/2bbc669b0af236b/output.txt
Total script time: 2.39 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/c01c85ee4572754/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/c01c85ee4572754/output.txt
Total script time: 2.12 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/8487eef0a430ca3/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/8487eef0a430ca3/output.txt
Total script time: 2.12 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/dac8255e330bf40/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/dac8255e330bf40/output.txt
Total script time: 2.03 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/39cdb2cfaf5ff71/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/39cdb2cfaf5ff71/output.txt
Total script time: 2.03 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global


[BUG Error code 403 when trying to open through chrome

Acknowledgement of preliminary instructions

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

What problem did you encounter?
Ive been trying to get around 4 roblox tabs open at the same time but i constantly get this error code when roblox through chrome, if i try multible tabs on the roblox app it just closes the other. any fix to this code ](url)
Screenshot 2024-03-02 071736

https://github.com/pizzaboxer/bloxstrap/issues/268#issuecomment-1974792524

even though i try to open it with the setting on it still doesnt work

Are you seeing the Bloxstrap launcher show before you launch Roblox?

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


Propagate check message flags to chat messages created by the treat wounds macro

Is this addressing a particular problem?

I was testing the healing-received selector and noticed that it doesn't work with the macro rolls because they have no flags.


ci: Fix markdown lint

Commit fb6b49f9 introduced a regression in the markdown lint workflow by converting the inline configuration options to a .markdownlint.jsonc file. However, this file is not used by the Ruby version of markdownlint (which is used here). It is used by the Node version instead. The correct file would have been .mdlrc.
This commit simply restores the inline options as they were before that job was refactored out into its own file. This gets the lint logic working again without much fuss.

Nvm good as is. Saw the discord discussion. Well add back the jsonc later


PTZ Location returns '0' values

I just wanted to post this here in case I forgot. So all of the tests passed without any issues except for the presets. It's successfully returning the preset names but not the p/t/z values. I'll do a better write up tonight with more info. I'm testing against dahua, canon, and amcrest cameras.
Great work, this looks awesome

I think your cameras don't fully support onvif presets, I have the same results for a Chinese cam (VStarcam C7824WIP) but presets works great for another cam (Siqura HSD626).

Presets count: 1
Preset: PresetToken_1 Name: P1 Pan: 0.9983335 Tilt: -0.8181818 Zoom: -2.941139E-05

It's possible, There's also a few different specs of Onvif I've noticed.
However, if you try this I can get info on ptz presets from all those camera brand I found.
https://sourceforge.net/projects/onvifdm/
If you use this to test, there's a weird quirk about the program I can't figure out, you can't use user/pass in the url string. The login at the top is the login used on all of the cameras added.


Primary key not inferred when using Dart tables with inheritance

What was I trying to do?
Setting a primary key on a Table by overriding the primaryKey property of the Table class.
What did I expect to happen?
I have the following code:
my_database.dart
part 'my_database.g.dart';

LazyDatabase _openConnection() {
  return LazyDatabase(() async {
    final dbFolder = await getApplicationDocumentsDirectory();
    final file = File(join(dbFolder.path, 'dev_db.sqlite'));
    print('SQLite File Path: ${file.path}');
    if (kDebugMode) {
      // Does not run in Profile or Release Mode
      if (file.existsSync()) {
        await file.delete();
      }
    }

    return VmDatabase(file, logStatements: true);
  });
}

@UseMoor(
  tables: [Projects],
  daos: [ProjectsDao],
)
class MyDatabase extends _$MyDatabase {
  MyDatabase() : super(_openConnection());

  @override
  int get schemaVersion => 1;

  @override
  MigrationStrategy get migration {
    return MigrationStrategy(
      beforeOpen: (OpeningDetails details) async {
        await customStatement('PRAGMA foreign_keys = ON');
      },
    );
  }
}

projects.dart
class Projects extends EntityWithUuid {
  TextColumn get name => text()();
  TextColumn get client => text().nullable()();
}

entity_with_uuid.dart
abstract class EntityWithUuid extends Table {
  TextColumn get id =>
      text().clientDefault(() => GetIt.instance.get<Uuid>().v4())();

  @override
  Set<Column> get primaryKey => {id};
}

I expected the primary key of the projects table to be the id column
What actually happens?
When the application starts, the following is logged in the console:
flutter: Moor: Sent CREATE TABLE IF NOT EXISTS projects (is_playground_entity INTEGER NOT NULL DEFAULT 0 CHECK (is_playground_entity in (0, 1)), id VARCHAR NOT NULL, name VARCHAR NOT NULL, client VARCHAR NULL, color INTEGER NOT NULL, total_worktime VARCHAR NULL, total_earned VARCHAR NULL, time_goal VARCHAR NULL, budget_goal VARCHAR NULL, goal_type INTEGER NOT NULL DEFAULT 0, PRIMARY KEY (id)); with args []

I noticed that even though I set Set<Column> get primaryKey => {id};, PRIMARY KEY is not set on the id attribute. I verified this using a SQLite browser as well.
In addition, I also got rid of using the EntityWithUuid abstract class you see above, just to make sure it wasn't my code that was causing the problem.
Eventually, I resorted to doing:
@override
  List<String> get customConstraints => [
        'PRIMARY KEY (id)',
      ];

on the table, which works.
Wanted to make sure there isn't any bugs with Set<Column> get primaryKey => {id};. Perhaps I'm doing something wrong in my code?

Thanks for the report. This is a bug in the generator that will be fixed in the next version.
Until that's released, another workaround (apart from overriding customConstraints) is duplicating the primaryKey getter in the child class:
class Projects extends EntityWithUuid {
  TextColumn get name => text()();
  TextColumn get client => text().nullable()();

  @override
  Set<Column> get primaryKey => {id};
}

Not ideal, but at least you don't have to touch generated code which can be very fragile.

Gotcha, thanks for another workaround example. Appreciate the quick response!


Improvement: Responsiveness

In combination with
https://github.com/gregoriohc/laravel-nova-theme-responsive
the dashboard does not behave responsive on smaller screens

Responsiveness will require to define widget coordinates by breakpoint like the example on https://vue-responsive-dash.netlify.app/examples/#green shows:

        {
          breakpoint: "md",
          breakpointWidth: 996,
          numberOfCols: 8,
          items: [
            {
              id: "1",
              x: 0,
              y: 0,
              width: 1,
              height: 1
            },
            { id: "2", x: 1, y: 0, width: 2, height: 1 },
            { id: "3", x: 0, y: 1, width: 2, height: 1 },
            { id: "4", x: 3, y: 0, width: 2, height: 2 },
            { id: "5", x: 5, y: 0, width: 1, height: 2 },
            { id: "6", x: 6, y: 0, width: 2, height: 1 },
            { id: "7", x: 7, y: 1, width: 1, height: 1 }
          ]
        },
        {
          breakpoint: "sm",
          breakpointWidth: 768,
          numberOfCols: 4,
          items: [
            {
              id: "1",
              x: 0,
              y: 0,
              width: 1,
              height: 1
            },
            { id: "2", x: 1, y: 0, width: 2, height: 1 },
            { id: "3", x: 0, y: 1, width: 2, height: 1 },
            { id: "4", x: 3, y: 0, width: 1, height: 2 },
            { id: "5", x: 2, y: 1, width: 1, height: 1 }
          ]
        },

so the "edit" view should allow to select the breakpoints (xs, sm, md, lg...) and then to arrange widgets for that specifc breakpoint. The coordinates must be stored for each breakpoint.


Detox Next (iOS, Phase 1)

First phase of Detox Next for iOS. This focuses on replacing Earl Grey's actions, matchers and expectations with our own custom ones. The entire invocation system has been replaced.
Implementing this, we've taken into account several requests from the community, such as getAttributes() for elements, .not, the ability to disable synchronization on launch and tidying up the APIs.
Still TODO:

[x] ~https://github.com/wix/Detox/issues/2089~
[x] ~https://github.com/wix/Detox/issues/2069~
[ ] https://github.com/wix/Detox/issues/2108

Still TODO:
https://github.com/wix/Detox/issues/2089
https://github.com/wix/Detox/issues/2069

Android builds are broken. 😓 @rotemmiz

@rotemmiz There are still attempts at generation or some silly testing of it:
00:34:05 lerna ERR! /Users/jenkins/.jenkins/workspace/detox-ios-pr/detox/src/ios/expect.js
00:34:05 lerna ERR!   14:error  "./earlgreyapi/GREYActions" is not found         node/no-missing-require
00:34:05 lerna ERR!   15:error  "./earlgreyapi/GREYInteraction" is not found     node/no-missing-require
00:34:05 lerna ERR!   16:error  "./earlgreyapi/GREYCondition" is not found       node/no-missing-require
00:34:05 lerna ERR!   17:error  "./earlgreyapi/GREYConditionDetox" is not found  node/no-missing-require
00:34:05 lerna ERR!   18:error  "./earlgreyapi/GREYActions+Detox" is not found   node/no-missing-require
00:34:05 lerna ERR!
00:34:05 lerna ERR! /Users/jenkins/.jenkins/workspace/detox-ios-pr/detox/src/ios/matchers.js
00:34:05 lerna ERR!   2:error  "./earlgreyapi/GREYMatchers" is not found        node/no-missing-require
00:34:05 lerna ERR!   3:error  "./earlgreyapi/GREYMatchers+Detox" is not found  node/no-missing-require
00:34:05 lerna ERR!
00:34:05 lerna ERR! ✖ 7 problems (7 errors, 0 warnings)

(will it work on CI?)

Nope.

12:19:11 detox[26861] ERROR: [exec.js/SPAWN_STDERR, #87] An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
12:19:11 Selected interface does not suport video recording.

Pull Request Test Coverage Report for Build 2316

263 of 263 (100.0%)  changed or added relevant lines in 7 files are covered.
27 unchanged lines in 5 files lost coverage.
Overall coverage increased (+6.1%) to 84.821%

Files with Coverage Reduction
New Missed Lines
%

detox/src/android/espressoapi/DetoxMatcher.js
1
73.17%

detox/src/android/espressoapi/DetoxAssertion.js
2
47.37%

detox/src/artifacts/screenshot/ScreenshotArtifactPlugin.js
2
68.18%

detox/src/devices/drivers/ios/SimulatorDriver.js
2
76.64%

detox/src/devices/drivers/ios/tools/AppleSimUtils.js
20
58.64%

Totals

Change from base Build 1216:
6.1%

Covered Lines:
3259

Relevant Lines:
3688

💛  - Coveralls

I think we are ready to merge this to master and release a new major.
ETA, Thursday June 25th, unless something critical pops up.

Let's keep the branch for further development.

Hi all!
Sorry for the inconvenience, get here after reading a medium post about Detox in 2020 (Detox Text). This version can be downloaded now?
Thanks

<EMAIL_ADDRESS>