updated server to communicate with login

Look at this wholesome message!
On Mon, Jan 3, 2022, 8:16 PM Steven Du @.***> wrote:

@.**** approved this pull request.
A+ for you Bill! 👍 🥇 :)
—
Reply to this email directly, view it on GitHub
https://github.com/scratch-axolotl/gamehq/pull/19#pullrequestreview-843137634,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVYODU4OKG7FT4IGVI5KA73UUJC7XANCNFSM5LGKSUNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Create Helm Chart to install KIE Sandbox and its related services

Description
This task will help us to install KIE Sandbox in Kubernetes. Currently, the only way to run KIE sanbox is to manually install all the containers and connected them directly using standard Kube yaml files. This will speed up and streamline the process for users to install their instance of KIE Sandbox on Kubernetes.
Helm Charts is a technology that can enable us to install these multi-container services with a single command (read more).
Acceptance Criteria

A Helm chart file should be created containing configurations to run KIE Sandbox and all related services.
On running command helm install kiegroup/kieserver, All services related to KIE Sandbox should run in their specified port.
We should be able to access KIE Sandbox

It would be good to see a docs PR for this as well.

Hey
@rodrigonull @thiagoelg how it goes?


change title and /url of superset

Is your feature request related to a problem? Please describe.
Is it possible to change title name and the URL of superset to something else ?

Hi @nitacekarki  ,You can change the title by modifying APP_NAME in config.py .I don't think so whether the url of superset can be modified or not.

Thanks for your reply Krist, we are now able to change also if it's
possible can we change the URL prefix of the superset.
Currently its https://wasci.sectorinsight.com.au/superset can we change it
to https://wasci.sectorinsight.com.au/
https://wasci.sectorinsight.com.au/supersetcustom?
Thanks in advance :) Regards
On Mon, 11 May 2020 at 12:16, krist<EMAIL_ADDRESS>wrote:

Hi @nitacekarki https://github.com/nitacekarki ,You can change the
title by modifying APP_NAME in config.py .I don't think so whether the url
of superset can be modified or not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-superset/issues/9668#issuecomment-626499562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANXS3EURNDD2A2Y334IJLF3RQ6LTRANCNFSM4MSREDLA
.


Keepalive for the devtools connection

I'm using puppeteer.connect to connect to a bunch of Chrome instances across the network. Everything works perfectly, as long as I can keep the instances busy all the time. However, if I have a long initialization phase (think tens of minutes) between connecting to the Chrome instances and issuing commands to them, the connection breaks down.
AFAIK, the WebSockets spec includes a ping mechanism and requires both sides to respond, so most WebSockets stacks have a built-in code for responding. If Chrome has this (let me know if you'd like me to check), it'd be nice if puppeteer's connection would issue keepalive pings at a configurable interval. The configurable aspect can also allow folks to keep pings disabled.
Is this something you'd consider implementing or accepting contributions for?

hey guys! this issue is still open or what is the current status?


refactor(Algebra/Lie/SkewAdjoint): from BilinForm to LinearMap.BilinForm

Replaces BilinForm with LinearMap.BilinForm in support of #10553

@eric-wieser please do you have a moment to review this PR? I'm hoping it's fairly straight-forward. Thanks.


Added a slot machine slash command

Added the first gambling command called "slots". It takes the amount you want to bet and then rolls three random numbers. It then edits the message with emotes signifying each number.
Winnings:

if all three numbers are a 7: 10x the amount you bet
if all three numbers are the same: 5x the amount you bet
if two numbers are the same: 2x the amount you bet
if no number is the same: lose the amount you bet

Changes to the code are welcome.

A little more improvement, off topic from the PR

@NamVr @StormPacer so is in the repo rn?


[FEATURE] Support option for guest VM UEFI boot in terraform resource

Customer reports currently the option to enable UEFI boot for guest VMs is not exposed in the terraform provider, but is available through the UI. Customer would like to see option available in both places.

@masteryyh I've been working to validate these changes.
My test setup:

Harvester (Master 47a3af23):

QEMU/KVM 9core 32Gi Memory 300Gi Disk

terraform-provider-harvester (Master) (66a6a01cb8e469d1cab951d666220b6e61deab1c)

docker pull rancher/terraform-provider-harvester:master-head-amd64
docker run -itd --name terraform-provider-harvester-master-head rancher/terraform-provider-harvester:master-head-amd64 bash
(copying Harvester 47a3af23 Kubeconfig over) docker cp ~/Downloads/local\(7\).yaml terraform-provider-harvester-master-head:/tmp/kubeconfig
terraform version (that's included in the docker image) - v1.1.5

Then building out a base.tf:
terraform {
  required_providers {
    harvester = {
      source = "harvester/harvester"
      version = "0.0.0-master"
    }
  }
}

provider "harvester" {
  kubeconfig = "/tmp/kubeconfig"
}

Running terraform init which provides:
37075a1b8b14:/data/test_2754 # terraform init

Initializing the backend...

Initializing provider plugins...
- Finding harvester/harvester versions matching "0.0.0-master"...
- Installing harvester/harvester v0.0.0-master...
- Installed harvester/harvester v0.0.0-master (unauthenticated)

Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Then additionally logging onto Harvester, ensuring the Settings for default network interface is setup.
Building an image.tf, applying.
Building a network.tf and applying.
Then building a virtual_machine.tf and applying.
Based around:
https://github.com/harvester/terraform-provider-harvester/pull/49#issue-1374093369
I have however noticed that the Virtual Machine will create but the Terraform with have a context deadline exceeded:
harvester_virtualmachine.ubuntu22: Still creating... [19m40s elapsed]
harvester_virtualmachine.ubuntu22: Still creating... [19m50s elapsed]
╷
│ Error: context deadline exceeded
│
│   with harvester_virtualmachine.ubuntu22,
│   on virtualmachine.tf line 1, in resource "harvester_virtualmachine" "ubuntu22":
│    1: resource "harvester_virtualmachine" "ubuntu22" {
│

The Virtual Machine never acquires an IP Address.
I can validate that SecureBoot is disabled via the serial console:

But then running terraform apply after updating virtualmachine.tf from secure_boot = false to secure_boot = true there is this error (Step 6: https://github.com/harvester/terraform-provider-harvester/pull/49#issue-1374093369 ):
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

harvester_virtualmachine.ubuntu22: Destroying... [id=default/ubuntu]
harvester_virtualmachine.ubuntu22: Destruction complete after 8s
harvester_virtualmachine.ubuntu22: Creating...
╷
│ Error: admission webhook "virtualmachine-validator.kubevirt.io" denied the request: spec.template.spec.domain has EFI SecureBoot enabled. SecureBoot requires SMM, which is currently disabled.
│
│   with harvester_virtualmachine.ubuntu22,
│   on virtualmachine.tf line 1, in resource "harvester_virtualmachine" "ubuntu22":
│    1: resource "harvester_virtualmachine" "ubuntu22" {
│
╵

supportbundle_b37cca21-4e60-414b-8c1f-3a0360e15781_2022-09-19T22-14-38Z.zip

Checking this out with v1.0.3 Harvester - will update this comment with results :smile:

@masteryyh Upon testing on Harvester v1.0.3, both on bare-metal and virtualized I am seeing similar things.
Removing:
wait_for_lease = true from: https://github.com/harvester/terraform-provider-harvester/pull/49 - allows the terraform apply to succeed.
I also manually on the bare-metal instance I have for v1.0.3, used for network_name = "default/base-vlan" since I had a vlan.
But trying to change to secure_boot from false to true I see:
Terraform will perform the following actions:

  # harvester_virtualmachine.ubuntu22 will be updated in-place
  ~ resource "harvester_virtualmachine" "ubuntu22" {
        id                   = "default/ubuntu"
        name                 = "ubuntu"
      ~ secure_boot          = false -> true
        tags                 = {}
        # (12 unchanged attributes hidden)

      ~ cloudinit {
          - network_data_secret_name = "ubuntu-0c2oa" -> null
          + user_data                = <<-EOT
                #cloud-config
                user: ubuntu
                password: root
                chpasswd:
                  expire: false
                ssh_pwauth: true
            EOT
          - user_data_secret_name    = "ubuntu-0c2oa" -> null
            # (1 unchanged attribute hidden)
        }

      ~ disk {
          ~ auto_delete        = false -> true
            name               = "rootdisk"
            # (10 unchanged attributes hidden)
        }
      ~ disk {
          ~ auto_delete        = false -> true
          ~ boot_order         = 2 -> 0
            name               = "emptydisk"
            # (8 unchanged attributes hidden)
        }

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

harvester_virtualmachine.ubuntu22: Modifying... [id=default/ubuntu]
╷
│ Error: admission webhook "virtualmachine-validator.kubevirt.io" denied the request: spec.template.spec.domain has EFI SecureBoot enabled. SecureBoot requires SMM, which is currently disabled.
│
│   with harvester_virtualmachine.ubuntu22,
│   on virtualmachine.tf line 1, in resource "harvester_virtualmachine" "ubuntu22":
│    1: resource "harvester_virtualmachine" "ubuntu22" {
│
╵

Also, the ubuntu VM that's created, it's IPv4 address never shows under the IP Address column in the dashboard.
Yet another VM built in the same namespace it's IPv4 address shows, using the same network.
I additionally had modified the image to exist in the default namespace:
resource "harvester_image" "ubuntu22" {
  name      = "ubuntu22.04.1"
  namespace = "default"

  display_name = "ubuntu22.04.1"
  source_type  = "download"
  url          = "http://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
}

and the virtualmachine.tf file of:
44ea8d84bbd8:/data # cat virtualmachine.tf
resource "harvester_virtualmachine" "ubuntu22" {
  name                 = "ubuntu"
  namespace            = "default"
  restart_after_update = true

  description = "test raw image"

  cpu    = 4
  memory = "8Gi"

  efi = true
  secure_boot = true

  run_strategy = "RerunOnFailure"
  hostname     = "ubuntu"
  machine_type = "q35"

  ssh_keys = []

  network_interface {
    name           = "nic-1"
    network_name   = "default/base-vlan"
  }

  disk {
    name       = "rootdisk"
    type       = "disk"
    size       = "10Gi"
    bus        = "virtio"
    boot_order = 1

    image       = harvester_image.ubuntu22.id
    auto_delete = true
  }

  disk {
    name        = "emptydisk"
    type        = "disk"
    size        = "20Gi"
    bus         = "virtio"
    auto_delete = true
  }

  cloudinit {
    user_data    = <<-EOF
      #cloud-config
      user: ubuntu
      password: root
      chpasswd:
        expire: false
      ssh_pwauth: true
      EOF
    network_data = ""
  }
}

I also did not see the user_data within the cloudinit exist in the VM.  I manually added that after it was created and restarted the VM.

supportbundle_78f1bfb3-24f8-402e-b057-acb49ec312f2_2022-09-20T00-54-02Z.zip

@irishgordo

Also, the ubuntu VM that's created, it's IPv4 address never shows under the IP Address column in the dashboard.
Yet another VM built in the same namespace it's IPv4 address shows, using the same network.

need add qemu-guest-agent to cloudinit. need it to report IP.
I will add a description to the wait_for_lease field (in non-management network, this feature need install and start qemu-guest-agent)

I also did not see the user_data within the cloudinit exist in the VM.

Just a UI display issue, has been enhanced in master
refer to https://github.com/harvester/harvester/issues/2745#issuecomment-1240742297

@masteryyh

Error: admission webhook "virtualmachine-validator.kubevirt.io" denied the request: spec.template.spec.domain has EFI SecureBoot enabled. SecureBoot requires SMM, which is currently disabled.

Need enable SMM if enable SecureBoot ,  for example:

@futuretea @irishgordo it's a bug which I missed somehow, SMM should be enabled when setting secure_boot = true, I will submit a PR to fix it, thanks.

@irishgordo Can you please indicate the final test result status in the comment? e.g. Validation - PASS

@masteryyh thanks for digging into that :smile - I can re-validate when your PR gets merged in to harvester/terraform-provider-harvester
@khushboo-rancher - it looks like now from the feedback that the first validation preformed earlier was a:
Validation - FAIL
Since it didn't pass the testing steps as outlined for the feature set:
https://github.com/harvester/terraform-provider-harvester/pull/49
But I was also validating my setup for the test was correct.

Thanks for those edits @masteryyh !
With those merged in and pulling the latest from docker pull rancher/terraform-provider-harvester:master-head-amd64
I was able to follow along with the test plan and validate that this all looks good :smile: .
This was tested on:

Harvester ( v1.1-008b5d50-head ), Dell PowerEdge R720
Docker API (dockerd [moby]) provided by Rancher Desktop v1.3.0

I've attached all the supporting screenshots here of the test-artifact validation :smile: :

This looks great to me!
Thanks again @futuretea & @masteryyh - I'll go ahead and close this out.
Exciting to see this addition to the terraform-provider-harvester :smile: !


Preparative pr

Can we wait for GitHub Actions to support Xcode12.5?

Ah that's why :D I'll revert that commit !


Respect final instrucion's wish to LINK-SUCCESSOR? in PROGRAM-CFG

Original commit message
When processing a JUMP-UNLESS or JUMP-WHEN instruction, PROCESS-INSTRUCTION will return a non-nil LINK-SUCCESSOR?, requesting the just-finished block to be linked to it's successor. Previously, if the conditional jump instruction was the final instruction in the program, successor linkage would not happen and the finished block's OUTGOING slot would be unbound. The compiler would later choke on said block, resulting in an UNBOUND-SLOT error.
With this change, ensure that successor linkage always happens, if requested, after PROCESS-INSTRUCTION returns.
Additionally, fix PRINT-OBJECT and the various routines for generating graphviz output to check for SLOT-BOUNDP before attempting to access the block's OUTGOING slot.
Fixes #244
Additional comments
Note that this commit only focuses on fixing the "slot-unbound" error reported in #244. As @ecpeterson noted in the issue comments, there may be another bug in the compiled output (JUMP to undefined label), but I will address that in a separate PR when/if I'm able to determine that it's a genuine bug.
This is one approach to fixing the "slot-unbound" error reported in #244. I'm starting with this approach because it's the most localized change I could think of that would be least likely to break other things, but it may not be the "best" fix. Here are a couple of (untested) alternatives that come to mind. Feedback welcome.

Always canonicalize the instruction sequence at the start of compiler processing by slapping a HALT onto the end if one isn't there already. With this approach, no changes to PROGRAM-CFG would be required, because the program could never end in a conditional jump, so there would always be some succeeding block/instruction to process and link to. Note that the compiler already appends a HALT to every program, but does so near the end of processing, rather than at the start, in RECONSTITUTE-BASIC-BLOCK. I am not sure what the knock-on effects of such a change would be on the rest of the compiler, but usually adding an invariant helps more than it hurts. Or maybe it'll blow up in my face :).

This one is more speculative, but I think just initializing every BASIC-BLOCK's OUTGOING edge to TERMINATING-EDGE would fix this particular bug since the last BASIC-BLOCK containing the final jump instruction would then not need linkage because there is no succeeding block. But again, I'm unsure what this implies for the rest of the compiler. At a minimum, I'd have check all the places it's currently pattern matching on the OUTGOING slot and see what's affected.

If either of the above two alternatives sound more appealing (or some other option I haven't considered) I'm happy to test it out and report back.

My initial review is that this looks good.

I like this change. I don't view the proposed (1) and (2) as alternatives so much as things to consider doing in addition, since this change on its own improves the breadth of input of program-cfg, (1) improves narrows the kind of input that 'ought' to make it here, and similarly (2) with the output.

It's probably wise to wait for Robert for a merge, since he's the original author of this segment of the compiler.


Add Raspberry Pi symbol

This adds a symbol for the RPi GPIO connector. I'm linking it to thePin_Headers:Pin_Header_Straight_2x20_Pitch2.54mm footprint which is the appropriate one for the header connector.
Pins are named based on what https://pinout.xyz/ says, which covers most of the frequently-used pins.

Is "P5" etc a common convention (the P that is)? At first I thought maybe P meant "physical pin" but clearly here the number is the BCM number (and the connector pin number the physical pin number).
I wonder if "BCM5" would be clearer?
Also I think this is the first part that references a footprint from outside agg-kicad, so I want to think about whether that makes sense or not (probably it does since those parts ship with KiCAD, but still...)

They seem to be named GPIOx in the RPi and Broadcom docs, so I guess they should be that. Might be worth shortening that to "G" to avoid the symbol becoming too wide?
One other thing of note - the 3v3 power pins should really be pwrout, as they can't be used for powering the Pi (although the 5v pins can), however in that case it gets confusing with the ground pins. There seems to be no good solution which will make the ERC happy in both situations.
As for the footprints, I'm looking at adding a script to generate footprints for generic connector parts so we can perhaps add our own once it's easy to add them.

Ugh, no good answers really. Maybe GPIO12 would be best, how wide does it end up?
I thought they could be used for powering the pi if you provided your own 3v3? Multiple power pins seem to always be a pain point. Pwrin for all of them seems to be the best compromise and then users can add a power flag if they're using it to provide power.
Have you seen https://github.com/adamgreig/agg-kicad/blob/master/scripts/build_mod_sil_dil.py which does generic 2xN 0.1" headers? eg https://github.com/adamgreig/agg-kicad/blob/master/agg.pretty/DIL-254P-40.kicad_mod

It's not too bad with "GPIO" actually.

I've fixed up the power pins so they're all pwrout except for the 3V3 which is pwrin (the hat design guide is pretty clear the 3V3 should never be back-powered). That fixes the ERC issues I was having before and only requires one power flag.

If you now connect the two 3v3 pins together won't you also get an ERC violation?

I shuffled the pins around a bit - the naming now mostly matches the Alt0 functions of the pins (also fixes the PWM and SDA-GPIO2 pins as mentioned).
I think the last question is of the 3v3 pins - having those pins as pwrout is marginally less hassle if you're drawing some of the limited 3v3 current available. Having them as pwrin seems wrong as you aren't allowed to back-power them. Having them as bidi seems to result in spurious ERC errors anyway.
I'm not convinced that it's useful to tie both 3v3 pins together anyway - it doesn't give you any additional current and they're both physically quite far from each other but not far enough that it's useful to use both.

The usual thing in agg-kicad for devices with multiple power out pins (e.g. voltage regulators) is one pwrout and the rest passive, so they can be connected together with no issue. It's not really clear which one here would be pwrout and which one passive, though. Having them both pwrout makes most sense for anyone using just one and either one, but means you can't ever wire to both of them. Having both passive means you'd need a power flag any time you use it. If one is much more likely to be used than the other, that one could be pwrout and the other passive. I'm leaning towards that last option (so people can easily wire to both, or generally wire to one of them, and in the event they wire to the passive one they can add a power flag); what do you think?

Sounds reasonable - I'd actually forgotten that passive was an option. I'll squash the previous commits and move pin 17 to passive.


dtc: fix Python support

Motivation for this change
dtc switched from Python 2 to 3 by default with a patch release (1.5.0 -> 1.5.1), which broke pythonPackages.libfdt. This fixes this issue, fixing the build of at least ubootRock64.
Things done

[x] 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 nix-review --run "nix-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)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @dezgeg
cc @bjornfor because you merged the 1.5.1 update and dezgeg hasn't been working on Nix recently

@GrahamcOfBorg build python2Packages.libfdt python3Packages.libfdt ubootRock64


Add source android library to Flutter Plugin

I have created a plugin project in which I want to import another android module to it, but it doesn't seem to work.
Here is my structure:
|-my_plugin
  |-android
    |-settings.gradle
    |-build.gradle
|-mylibrary
  |-build.gradle

/android/settings.gradle:
rootProject.name = 'my_plugin'
include ':mylibrary'
project(':mylibrary').projectDir = new File(settingsDir, '../../mylibrary')

/android/build.gradle:
...
dependencies {
  implementation project(path: ':mylibrary')
}

When I run gradle sync, it gets the following error
Project with path ':mylibrary' could not be found in project ':my_plugin'.

It seems fine to download myLibrary as maven lib but fail to just import it as source. There is a question raised on stackoverflow about it but no one can give an answer for it.
Any clue?

no one got any info about it?

https://github.com/flutter/flutter/issues/48716
same problem
there is no documentation about this

it has not been run when the flutter build apk
setting.gradle

rootProject.name = 'flutter_myplugin'
logger.error('A message which is logged at QUIET level:BBBBBB')
include ':app', ':core'

please specify your plugin path in android folder. the reason can not find the lib is the path is wrong.

@JarvanMo
not really
the reason for that is the setting.gradle for plugin wasnt included to the app project.

@shyandsy You'd better understand why the settings.gradle was not included. That's because the gradle just search the given paths...

In general, this is not really a problem with flutter but more of a usability issue with Gradle. At any rate, this is in-actionable so I'm closing the issue.


[5.7] Update suggestion constraints

This pull request continues #23481 work to switch from tilde to caret.

Looks good. 👍


Improvements of accept header and matrix parameter

Dear RESTeasy Team,
this pull request contains some improvements for the client and is basically the same as this pull request, but does not include the first stated commit ("Support body in case of server side exception (http status >= 400)."). Also it is compatible with the current branch again and contains the requested jira tickets.
RESTEASY-1493 -- e4fd77a Fixes the problem, that matrix parameter needed to be passed at the last sub resource. Now they can be passed at the corresponding resource.
RESTEASY-1494 -- d5ef8f5 This makes the client more flexible and sends multiple accept header instead of just the first one.

preliminary note, to other reviewers, please note the PR is against 3.0.x branch, so we'd need a corresponding fix for master

I've created a new pull request with the changes here but against master, see https://github.com/resteasy/Resteasy/pull/934 . I'm closing this PR because the changes here are basically new features, so we're not including them in 3.0.x (which is effectively bug-only/maintenance mode).
Thanks for the contribution!


Q: what does "Object has already been returned to this pool or is invalid" mean in lock

Hi,
great library, thanks a ton for that!
What I am observing in the production environment is, getting this exception
Failsafe suppressed exception.
java.lang.IllegalStateException: Object has already been returned to this pool or is invalid
at org.apache.commons.pool2.impl.BaseGenericObjectPool.markReturningState(BaseGenericObjectPool.java:1251)
at org.apache.commons.pool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:1029)
at io.lettuce.core.support.ConnectionPoolSupport$1.returnObject(ConnectionPoolSupport.java:129)
at io.lettuce.core.support.ConnectionPoolSupport$1.returnObject(ConnectionPoolSupport.java:117)
at com.himadieiev.redpulsar.lettuce.abstracts.AbstractLettucePooled.executeSync(AbstractLettucePooled.kt:81)
at com.himadieiev.redpulsar.lettuce.LettucePooled.sync(LettucePooled.kt:37)
at com.himadieiev.redpulsar.lettuce.locks.backends.LettuceLocksBackend.setLock(LettuceLocksBackend.kt:21)
at com.himadieiev.redpulsar.core.locks.abstracts.AbstractLock.lockInstance(AbstractLock.kt:27)
at com.himadieiev.redpulsar.core.locks.SimplifiedMutex.lock(SimplifiedMutex.kt:39)

when trying to lock. Any idea what that can mean and how should I fix that?
Thanks in advance!

Hi there! Thanks for stoping by Redpulsar.
Let me get back to you after some investigation.
Can you also share your use case and connection pool config?

The use case is to run a SimplifiedMutex to stop other pods from executing a computing heavy method.
I am not seeing any pool configuration in the code so I assume we use some defaults.

Since ObjectPool manages connection in the pool, best thing to do it let it manage.
I attempted to handle IllegalStateException that is caused by borrowed object is not in correct state in v1.3.2 .
Please try using the newest lib: implementation("com.himadieiev:redpulsar-lettuce:1.3.2")
I also recommend to set pool size, by default it have only 8 connections. Here is example in kotlin how to do it:
https://github.com/himadieievsv/distributed-locks/blob/26212f357310e028740115fd962f3a9aa4e20be0/redpulsar-lettuce/src/test/kotlin/TestCommons.kt#L49-L56
Java example is similar, just use setters instead of apply()

Thanks a lot, really impressed.
We will both try the new version and actually set the pool size.

Just wanted to follow-up here, we use the new version, works fine, was not able to update the pool size tho 🙈


Returning {"body": {..}, "header": {..}} breaks Authorizer Event

Fixed in https://github.com/Clarifai/lambdafai/pull/66


Add support for a custom node visitor to override the default

This adds a --visitor=<file> flag which works much like the --finder=<file> flag and allows a custom node visitor instance to be provided. This allows for custom pre- or post-processing of nodes, in particular their docblock.
Enables https://github.com/php-stubs/wordpress-stubs/pull/21

Thank you, John!
Have you seen the failing unit tests?

Zuper 🦸♂


Bouncing animation for suggested items

Feature update
A bouncing (zoom in and out) animation for each suggested carry item ( issue #4 ) could be added.
Result
Makes the suggested carry items much more lively and pleasing to look at.

I would like to take this issue @akshitadixit


Initial setup for new Examiners app

Issue:

bcgov/entity/issues/24717

Description of changes:

Extend base layer and setup new Examiners app
Extend from Base, Host, Platform, Strata to leverage existing interfaces (might need to re-think this later)
Auth works using only IDIR
Fetch existing Application and Registrations

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

hey dima, do you need a ci-cd for this? if yes, when it is ready can you please throw me a ticket?

@avni-work yes, please use #24717, I've added a note about it.


Requesting Open Source Features

Use case:
I understand crate.io has some kind of business model. However, I would request below features to be part of opensource version.
It will make cartedb a complete opensource database, as these are basic database features.
Feature description:

basic authentication (password), like mysql/postgres
authorization (role based access control), like mysql/postgres
SQL Window functions, like postgres
UDF based on SQL/python/java/C, like mysql/postgres
option to read from delimited ascii file (csv), similar to postgres COPY command
native connector for Spark, that will enable parallel data movement between spark workers and cratedb nodes(please correct me if cratedb already have it).

Note:

I mentioned mysql/postgres as they are also opensource.
point 5 & 6, I am requesting enhancement and keeping is part of opensource version.

Hi Obaidcuet. Thanks for your input. We will continue to enhance the open source version of CrateDB with new features, and we pledge that open source features will remain open source.
Our business model includes a commercial enterprise edition with premium features. If you are a non-profit or part of an educational institution you can use the enterprise edition features freely. We currently list the enterprise features (current and near-future) here: https://crate.io/enterprise-edition/.
Features 1-4 in your list are already Enterprise features for now. Numbers 5 & 6 are not scheduled on our new feature roadmap, so those are possibilities for open source.
Thanks again for the feature suggestions; let us know if you have others or would like to discuss the product roadmap in more detail.

@andyellicott thanks for considering my comments.

@obaidcuet small correction - window functions will be part of the open source edition.

Thanks all :)


Should function declarations have return types?

def foo : number (){     return "not a number"; }
The ability to do this is not so nice. This would probably need to emit a runtime warning. Alternatively, one could do a compile time check, but that would require an AST traversal for the type check.
Return type syntax is useful for FFI calls, but for user defined functions it could cause confusing situations without it having any semantics...

@ke-yu @lukechurch Just trying to separate this thread...


React lazy imports aren't recognized

My codebase has a lot of lazy loading through React using dynamic imports.

ts-remove-unused doesn't detect them and considers the imported files to be unused. For reference, https://github.com/stauren/vite-plugin-deadfile detects them just fine.

@rafaeelaudibert I think its not limited to react.lazy but more about dynamic imports in general. thanks for reporting! will work on a fix


OLE DB or ODBC connection string allow curly braces

Currently, on this page https://docs.microsoft.com/en-us/sql/relational-databases/security/strong-passwords, there is this note:

I have successfully connected toMicrosoft SQL Server 2017 (14.0.2027.2) using the password AbC23=$dEfG'+}, where the last } character is part of the password as displayed, and drivers as presented in the following connection strings:

Provider=SQLOLEDB;Password=AbC23=$dEfG'+};... and whole connection string passed to Open of ADODB::Connection
Driver={ODBC Driver 17 for SQL Server};PWD=AbC23=$dEfG'+};... and whole connection string passed to ODBC API call SQLDriverConnect.

Of course, the password also works fine with the SQL Server Management Studio.

Either the page linked above is outdated or incorrect.

@mloskot -- Mateusz, thank you for your feedback.
@VanMSFT -- Van, please look into this issue 3110.

Hello @mloskot! I apologize for the delay. I am looking into this issue and will update the article appropriately.

Hi @mloskot! Thanks again for bringing up this issue. I've confirmed that the limitation was removed for brackets {}. I'm updating the document now.

@VanMSFT Thanks!

Hi @VanMSFT
the connection concern still exists with the opening curly brace { in the password in ODBC connection string
PWD=AbC23=$dEfG'+{;DRIVER={SQL Server Native Client 11.0};

Hi @VanMSFT
the connection concern still exists with the opening curly brace { in the password in ODBC connection string
PWD=AbC23=$dEfG'+{;DRIVER={SQL Server Native Client 11.0};

try wrapping your PWD parameter with {}
so like:
PWD={AbC23=$dEfG'+{};

@camron-wellsky unrelated, sorry


new conditional gene product localization term(s)

We've got a new tool (LEXY, used in FBrf0253050, original description in PMID:26853913) that acts a a light-regulated nuclear export signal. We don't currently have any 'conditional' FBcv terms under 'gene product localization tag' (FBcv:0005022).
I can see two possible options, described below.
I think OPTION 1. is probably more similar to what we've done for other conditional experimental tool terms, so I guess we should probably go with that for consistency, but would be good to get the ontologists take on this.
OPTION 1.
Make conditional terms as needed as children of the specific localization tag terms, so in this case for LEXY, if we go for this option, one new term would be needed:
[Term]
id: FBcv:NEW
name: light-regulated nuclear export signal
namespace: experimental_tool_descriptor
def: "A peptide sequence used to target a tagged protein for export from the nucleus to the cytoplasm, where this property can be regulated by irradiation with a pulse of light." [FBC:GM]
is_a: FBcv:0005035 ! nuclear export signal
OPTION 2.
Rather than make conditional terms for each specific localization tag (NES, NLS, signal sequence etc.) as we need them,  we could instead have a 'high level' set of conditional terms directly under gene product localization tag, as follows:
[Term]
id: FBcv:NEW
name: conditional gene product localization tag
namespace: experimental_tool_descriptor
def: "Sequence that forms part of the gene product encoded by a transgenic locus or modified endogenous locus and which is used to target the tagged gene product either to a specific subcellular location within the cell or for secretion to the extracellular space, where this property can be regulated in response to a particular stimulus." [FBC:GM]
is_a: FBcv:0005022 ! gene product localization tag
[Term]
id: FBcv:NEW
name: light-regulated gene product localization tag
namespace: experimental_tool_descriptor
def: "Sequence that forms part of the gene product encoded by a transgenic locus or modified endogenous locus and which is used to target the tagged gene product either to a specific subcellular location within the cell or for secretion to the extracellular space, where this property can be regulated by irradiation with a pulse of light." [FBC:GM]
is_a: FBcv:NEW ! conditional gene product localization tag
[Term]
id: FBcv:NEW
name: small molecule-regulated gene product localization tag
namespace: experimental_tool_descriptor
def: "Sequence that forms part of the gene product encoded by a transgenic locus or modified endogenous locus and which is used to target the tagged gene product either to a specific subcellular location within the cell or for secretion to the extracellular space, where this property can be regulated by binding to a small molecule, such as an ion or ligand." [FBC:GM]
is_a: FBcv:NEW ! conditional gene product localization tag
then for conditional tags such as LEXY, we could just annotate them with the relevant conditional term plus whatever specific localization tag is appropriate (for LEXY, it would be 'light-regulated gene product localization tag' AND 'nuclear export signal').

Happy to do whatever you think will be most useful. We could even go higher level and make 'conditional experimental tool' etc. Is it easy for users to search for an intersection of terms in this way? If not we should probably keep making the specific terms (perhaps in addition to higher level conditional terms).

Is it easy for users to search for an intersection of terms in this way?
good point, not that easy at the moment I think.
So can we go for option 1 for now and just make the specific 'light-regulated nuclear export signal' term

(In the future we may want to revisit your suggestion of making really high level 'conditional experimental tool' etc, but for now I think adding the specific terms is the simplest and will make it easiest for the users to search at the moment)


Add ability to update doorbell images from activity

Fix tests for doors when timezone is not utc

Add check for standby status to doorbells so they do not
unexpectedly get marked unavailable

@snjoetw  Sorry I missed this earlier, I found a bug in the tests and realized there needed to be a way to track the doorbell image creation time in order to make that last doorbell detail API call frequency reduction happen.


Bug: NameError: name 'self' is not defined

At line 756, the static method __wrapper attempts to access a "self" variable in the exception handler.   Given that this is a static method, there is no "self" variable defined.   Causes a exception out of the exception handler.   fuse_exit() should have been called, but isn't.

https://github.com/fusepy/fusepy/blob/master/fuse.py#L756


Fix issue453, where space character in tagNames cause panic

Fixes #453  .
Make sure that you've checked the boxes below before you submit PR:

[x ] Tests exist or have been written that cover this particular change.

Change Details:

As stated on issue #453 , space characters in tag names like ' max=10' where causing the library to panic, claiming the key with ``' max'` doesn't exist.
This commit fixes this issue by trimming space characters from the tag name,  and making sure that all tests that was previously passing continue to do so.

@go-playground/admins

@haruntuncay Since a space is a valid character, I'n not sure I want to merge this change.
having a space when one shouldn't be there is the equivalent to making a typo, which we also don't try to fix on the users behalf.
Going to close for now.


podman current support and known issues

Users will now be able to deploy our portainer agent on podman and connect to that via a portainer instance to manage the podman environment.
Known issues:
App Templates

Create new container with template – Error “Failure – name or ID cannot be empty”

Container

Stats (rootless) – Does not work because root privileges are required
Stats (rootful) – “error”
Podman-attach - Does not connect automatically
Recreate container (recreate) – Error “Failure – Unable to re-create container”
Pause – Only works for root container
Resume – Only works for root container
Duplicate / Edit error

Images

Import – Image is displayed locally with podman images but you can’t start a container with the image

Volumes

Browse existing volumes -> Does not show any files from the volume. Portainer shows error: Failure - open /var/lib/docker/volumes/NginxTestVolume/_data: no such file or directory

Events

Content of events : Shows “Unsupported event” as an event. i.e. the creation of a new container is shown as an “unsupported event”

Sweet! Is there a roadmap of some sorts which covers these issues?

Hi @wzzrd,
These are not currently scheduled for a release at this time, But we do see opportunity for these issues to be addressed as we grow our support for all container platforms. We do welcome feedback and contributions.

Hi, I'm trying to run portainer on podman as root, but I always get the following error :
Error: cannot open sd-bus: No such file or directory: OCI not found
This happens when I try to run portainer as root. The command I'm trying is:
podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer --restart=always -v /var/run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data docker.io/portainer/portainer-ce:latest
Does someone have a solution ? I found no mention of this error anywhere. I am running this as root on a fresh debian install.

Hi, I'm trying to run portainer on podman as root, but I always get the following error : Error: cannot open sd-bus: No such file or directory: OCI not found
This happens when I try to run portainer as root. The command I'm trying is: podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer --restart=always -v /var/run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data docker.io/portainer/portainer-ce:latest
Does someone have a solution ? I found no mention of this error anywhere. I am running this as root on a fresh debian install.

 Note the difference in the volume mapping of the Podman socket.

Just trying out Portainer with Podman myself, and I'm seeing a few issues (running as root).  "Failure  - unable to find bridge plugin" seems to be the most significant, as I'm not able to get any data about my container networks.
Anyone figured out a fix for this?

Hi, I'm trying to run portainer on podman as root, but I always get the following error : Error: cannot open sd-bus: No such file or directory: OCI not found
This happens when I try to run portainer as root. The command I'm trying is: podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer --restart=always -v /var/run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data docker.io/portainer/portainer-ce:latest
Does someone have a solution ? I found no mention of this error anywhere. I am running this as root on a fresh debian install.

 Note the difference in the volume mapping of the Podman socket.

Thanks for your answer. Unfortunately, I'm still getting the same error with this run command.

Thanks for your answer. Unfortunately, I'm still getting the same error with this run command.

@LeVraiRoiDHyrule
Are you able to launch other containers using Podman?

Portainer 2.15.1 running on top of up-to-date Fedora Workstation I am experiencing a network name issue.
It seems the name value is referencing the driver field value instead of the name field value.
"podman" != "bridge"
wrong name field is used here:

when I click on "bridge" network it shows proper name:

wrong name field is used here:

I am unable to create new containers because it errors out on the network name being invalid.

I am unable to create new containers because it errors out on the network name being invalid.

Having the exact same issue with podman 4.2.0 and portainer 2.16.2 CE.

this error? so i have it too:
failed to deploy a stack: Network hello_default Creating Network hello_default Created Container hello-hello_world-1 Creating Container hello-hello_world-1 Created Container hello-hello_world-1 Starting Error response from daemon: plugin type="bridge" failed (add): failed to find plugin "bridge" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin]

Same problem :(

Hi, I'm trying to run portainer on podman as root, but I always get the following error : Error: cannot open sd-bus: No such file or directory: OCI not found
This happens when I try to run portainer as root. The command I'm trying is: podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer --restart=always -v /var/run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data docker.io/portainer/portainer-ce:latest
Does someone have a solution ? I found no mention of this error anywhere. I am running this as root on a fresh debian install.

I had the same issue, but I was able to fix it by setting the cgroup manager to cgroupfs:
podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer --cgroup-manager cgroupfs --restart=always -v /run/podman/podman.sock:/var/run/docker.sock:Z -v portainer_data:/data docker.io/portainer/portainer-ce:latest

Hi there
a similar error here on CentOS 8-Stream
[root@centos ~]# uname -a
Linux centos.homelab 4.18.0-500.el8.x86_64 #1 SMP Wed Jun 28 00:07:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

[root@centos ~]# getenforce
Permissive

[root@centos ~]# podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer-ce --cgroup-manager cgroupfs --restart=always -v /run/podman/podman.sock:/var/run/docker.sock:Z -v /opt/portainer-ce:/data portainer/portainer-ce:latest
Your kernel does not support pids limit capabilities or the cgroup is not mounted. PIDs limit discarded.
WARN[0000] Failed to add conmon to cgroupfs sandbox cgroup: creating cgroup for cpu: mkdir /sys/fs/cgroup/cpu/libpod_parent: read-only file system
Error: OCI runtime error: runc: runc create failed: **mountpoint for devices not found**

[root@centos ~]# podman run -d -p 8000:8000 -p 9443:9443 --privileged --name portainer-ce --restart=always -v /run/podman/podman.sock:/var/run/docker.sock:Z -v /opt/portainer-ce:/data portainer/portainer-ce:latest
Your kernel does not support pids limit capabilities or the cgroup is not mounted. PIDs limit discarded.
Error: OCI runtime error: runc: runc create failed: **mountpoint for devices not found**

Can someone guide me what or which mountpoint is NOT be found? thx!!!


refactor(toKebabCase): replace with lodash.kebabCase

Increases test coverage, adds a dependancy. My only hesitation is that lodash.kebabCase might behave differently

Neat! Almost perfect. This just needs to be added to dependencies rather than devDependencies :-)

Also, I think there's something wrong with the build. Don't worry about it. I'll give  it a look

Be sure to comment when you've finished that. I wont be notified when you push changes.

Current coverage is 92.87%

Merging #492 into master will increase coverage by +0.07% as of 24af535

@@            master    #492   diff @@
======================================
  Files           16      16
  Stmts         1057    1053     -4
  Branches         0       0
  Methods          0       0
======================================
- Hit            981     978     -3
  Partial          0       0
+ Missed          76      75     -1

Review entire Coverage Diff as of 24af535

Uncovered Suggestions

+0.67% via ...tives/formly-form.js#289...295
+0.57% via .../formlyCustomTags.js#9...14
+0.57% via ...tives/formly-form.js#308...313
See 7 more...

Powered by Codecov. Updated on successful CI builds.

0.07% coverage increase!

The downside is:

formly.js increases 94KB :arrow_right: 103KB
formly.min.js increases 20KB :arrow_right: 38KB

My local build of formly.js

Ah... Hmmm... You know what... I think I'd be alright with that if we could replace some of the other util methods of formly with lodash ones...

coverage 92.80% :arrow_right: 93.01%
formly.js increases 94KB :arrow_right: 159KB
formly.min.js increases 20KB :arrow_right: 32KB

+0.21% coverage increase for a +60% increase in file size...  :-1:

Hmmm... Yeah, I'm going to say that it's not worth it :-( Thanks anyway!


use permute!! or copyto! instead of fastpermute!

Again, part of the plan to decouple IndexedTables from StructArrays internals. I'm also adding some small optimizations to avoid unnecessary allocations and to have things efficient also in the Union{String, Missing} case.

Dumb question: what is Base.permute!!?  There's no docs for it that I can find.

Dumb question: what is Base.permute!!? There's no docs for it that I can find.

Not sure why it's not documented. It's the same as permute! but it also consumes the permutation vector:
julia> a = ["a", "b"];

julia> p = [2, 1];

julia> Base.permute!!(a, p);

julia> a
2-element Array{String,1}:
 "b"
 "a"

julia> p
2-element Array{Int64,1}:
 0
 0

I think we should use this instead of permute! in all cases where we are discarding the permutation vector afterwards to avoid extra allocations (permute! simply makes a copy of the permutation vector and then calls permute!!)

Okay got ya, sounds good to me 👍

Can I tag a new point release so that I'll be free to remove this things from StructArrays eventually?

Absolutely!


Finally merging in SWE branch to master

The staging server is down at the moment anyway right now, and I think we need to commit to this, I'll commit to getting this deployed on staging soon (I'm going back on the whole 1 database for staging vs production... I think it's too big of a hassle). This whole working off non-master is also bad

Everything here has been reviewed before, so I'm using admin privileges to merge


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-30-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4487

Questions ?
Please refer to the Backport tool documentation


Near clipping not working for line-based representations

Setting the near clipping plane does not effect line-based representations (e.g. line, trace, ...). This is due to missing shader support for custom clipping planes in the line shader.

fixed in 6a656c73348fc6670d33aafed03fcda6156de97d


Support numbered lists

Numbered lists in JIRA markup begin with a #. We should notice these and use the <ol> tag instead of <ul>.

To test this, I looked at TRITON-294 in my local instance, to verify that it rendered bother the numbered and unnumbered lists correctly.


[Improvement] Support for Codable in Swift 4?

Codable seems to be easier to implement if the user want to read/save with his own custom Swift data type. Off the top of my head, this at least requires a custom implementation of Encoder and Decoder to directly encode/decode BSON bytes (without writing to a BSON Document first)
Any comments and suggestions are welcome!

We already have it, but we're not tagging it yet since the code is messy and Swift 4 is still not a GM.
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "Project",
    products: [
        // Products define the executables and libraries produced by a package, and make them visible to other packages.
        .executable(
            name: "Project",
            targets: ["Project"]),
    ],
    dependencies: [
        .package(url: "https://github.com/OpenKitten/MongoKitten.git", majorVersion: 4),
        .package(url: "https://github.com/OpenKitten/BSON.git", .revision("swift4")),
        // Dependencies declare other packages that this package depends on.
    ],

As you see, you can explicitly set a branch in Swift 4's SPM, it'll make use of the swift4 branch of BSON using this, so you can use the BSONEncoder and BSONDecoder.
Alternatively, you can put the package in editable mode using swift package edit BSON --revision=swift4. Either method works, but do regenerate the project afterwards.

Oh, one more thing; Using lazy cursor transforms you can decode BSON documents directly to your models.
class User : Codable {
  let username: String
  ...
}

let db = try Database("mongodb://localhost/testdb")
let users = db["users"]

let userDocuments = try users.find(...)
let users = userDocuments.flatMap { document in
  return try BSONDecoder().decode(User.self, from: document)
}

for user in users {
  print(user.username)
}

@Joannis Out of curiosity, is this implemented in BSON or MongoKitten? Also, is there a documentation group working on docs? The link on OpenKitten is unreachable.
Using MongoKitten on my school project, and loving it!

It's implemented in BSON. I've heard and seen that the openkitten website is broken in multiple places. I can't update the website properly since half of my developer tools broken on high sierra. MongoDB, Swift and Xcode still work, though ;)

Does MongoKitten has complete documentation other than Dash docset? When I started using it, I feel the documentation is quite lacking and disappointing. I had to Google most stuff, or follow the debugger.

Most of it will be explained here: http://beta.openkitten.org . Beta hasn't been moved to http://docs.openkitten.org since I wasn't able to adjust the template yet. I want to have both the MK3 and MK4 docs available, so MK4 is under beta.


Added Import task spec to overview

Gives docs to address #52 in the main overview

Thanks for updating the docs @dvasdekis. Im sure this will be helpful to others attempting the same. For future reference, there are lots of examples of how to setup the task in the e2e tests here. If you are not finding something covered in the docs, that would be another reference resource.


Error message when port is not free

Serve a better error-message then a stacktrace
for:
Opening a serversocket at '*:2000' failed.

Add test


extensions

Issue Type: Bug
it always shows xhr failed whenever i try to install extensions
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 6.1.7601
Restricted Mode: No

Could you share more information along with screenshots, if possible?

Hi @rohindhkishore ,
Closing the issue since there has been no updates on the information requested. If the issue still persists, please feel free to reopen or create a new issue.


Development

disable scrolling

@Zahraa222 can you create a new branch and request to merge into development? I don't see your changes here


torque steps calculation is wrong

create a table with two points
create a torque wizard (time: cartodb_id)
you will see the time slider has 2 steps (ok)
change marker-fill using the wizard

the time slider changes to 512 steps when it should remain with 2

I'm unable to replicate this. As far as I can see there's no variation in the number of steps when changing marker-fill.
I mean I've seen the timeslider play with the default number of steps before. Doesn't this happen while waiting for the tiler to respond?

I just reproduced it following those steps


fix table style

Improve the appearance of the table.
I am running IRuby & Daru on Google Colab. Google Colab officially supports Python. But Ruby works.
The dataframe style is not adapted to the table.

After adding the dataframe class to the table tag, Daru::DataFrame looks better.
This is as same as Pandas.

I hope the Google Colab team officially support the IRuby kernel someday. Therefore, I think that such minor change in appearance is more important than expected.

I tried it.
The notebook example seems to be OK.
https://nbviewer.jupyter.org/gist/kojix2/986aef56aedcbfb59be3283a886457cf

Thanks @kojix2 , It will be merged after the travis error is sovled.


Speed, distance and camera

Hey all,
I am trying to make software for the Bebop drone. I got few questions.

Is there a possibility to determine the speed of the drone. Eg setPitch: 10km / h or setPitch 5meter. Or fly  5 meters forward at a speed of 15km / h.
Is it possible to render the view of the camera in real time? (Like the FreeFlight3 app) How do you do this with this SDK?
How to take pictures and video's?

Thanks in advance,
Greetings

Hi,
You can't set the current speed, nor the distance (without doing an autonomous flight). But you have read access to the speed of the drone. You can use that even if it is not really accurate.
To do that, simply add the callback ARCOMMANDS_Decoder_SetARDrone3PilotingStateSpeedChangedCallback to receive the

Speed on the x axis (when drone moves forward, speed is > 0) (in m/s)
Speed on the y axis (when drone moves to right, speed is > 0) (in m/s)
Speed on the z axis (when drone moves down, speed is > 0) (in m/s)

It is possible to render the view of the camera in real time. The stream is h264 encoded. You can see an example of displaying the video in the Samples for Unix. One of them gives the stream to mplayer so it can decode it and display it. The other one decode the stream with ffmpeg and give the decoded frames to mplayer.
To take picture or video, simply send ARCOMMANDS_Generator_GenerateARDrone3MediaRecordPicture or ARCOMMANDS_Generator_GenerateARDrone3MediaRecordVideo (with mass_storage_id param set to 0).
Regards,
Djavan

Hi,
If I'm using Freeflight3 on the Smartphone 'oneplus one' the video streaming is continous with almost no delay. But if I'm using my computer (Lenovo W540) using the Unix sample code 'BebopDroneDecodeStream' or 'BebopDroneReceiveStream' the delay is huge and the stream not continous. The quality is much worse.
What are the way to improve the quality on the computer ?
Regards,
Alex

Thanks for the info.
But still got a question. Based on what you said it aint possible to make some kind of hardcoded route? In which the drone has to fly 5 meter forwards then turn 90 degrees to the left fly again 3 meter forwards. Is this possible to program?
Regards,
Arne

Not that I am aware of.
If you really need to do it before the next firmware release (in the coming weeks), you can maybe look at Paparazzi. I can't provide support on it, but I think they support the bebop. It is not very easy, so maybe a small wait is better ;)
Regards,
Djavan

@alexcherpi : If you use BebopDroneReceiveStream right after BebopDroneDecodeStream or Freeflight, streaming will be bad, because we don't send piloting commands in this sample. Piloting commands are used by the Bebop to determine the quality of wifi link. So you will need to turn off your drone before running BebopDroneReceiveStream. DecodeStream is better implemented as it has a frame queue. So I would recommend using this one.
@ADeCraemer : It is possible to program it, yes, but it won't be very accurate. For example, if you know your drone's current speed is 5 m/s, then, moving during 10 seconds, you can think you have flew 50 meters.

Hello ADeCraemer, you can find a topic about video streaming on iOS
https://github.com/ARDroneSDK3/Samples/issues/25#issuecomment-86785163
Regards.


Update Django to 1.11.1

This fixes problems caused by request.data now being immutable, and adds the now-required request positional argument to CDMSUserBackend.authenticate().
I'm not convinced the previous logic to override the adviser was correct, but this preserves that behaviour for now.

Codecov Report

Merging #209 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #209      +/-   ##
===========================================
+ Coverage    91.61%   91.62%   +0.01%
===========================================
  Files           47       47
  Lines         1669     1671       +2
  Branches       146      146
===========================================
+ Hits          1529     1531       +2
  Misses         119      119
  Partials        21       21

Impacted Files
Coverage Δ

datahub/company/views.py
100% <100%> (ø)
:arrow_up:

datahub/interaction/views.py
100% <100%> (ø)
:arrow_up:

datahub/investment/urls.py
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


raiplay commit

When trying to download from raiplay.it with yt-dl 2<IP_ADDRESS>, it does not work:
[RaiPlay] xxx: Downloading video JSON
ERROR: xxx: Failed to parse JSON (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')).

It seems there was a PR on yt-dl github organization that fixes this, but I'm not able to access it.
Does yt-dlc already include this commit, or if anyone has a copy of the commit would it be possible to merge it?
Thanks.

I will look into it.

Wonderful.
The url to test is https://www.raiplay.it/video/2020/11/Virus-e-segreti-di-Stato---Report---02-11-2020-eff77ea3-61bf-4d85-b18d-7e03fe5d90d2.html
Can you confirm that it works with yt-dlc?
Thank you.

I can confirm it works for me.

ydl https://www.raiplay.it/video/2020/11/Virus-e-segreti-di-Stato---Report---02-11-2020-eff77ea3-61bf-4d85-b18d-7e03fe5d90d2.html -F
[RaiPlay] eff77ea3-61bf-4d85-b18d-7e03fe5d90d2: Downloading video JSON
[RaiPlay] eff77ea3-61bf-4d85-b18d-7e03fe5d90d2: Downloading XML metadata for platform mon
[RaiPlay] eff77ea3-61bf-4d85-b18d-7e03fe5d90d2: Downloading m3u8 information
[RaiPlay] eff77ea3-61bf-4d85-b18d-7e03fe5d90d2: Downloading XML metadata for platform flash
[RaiPlay] eff77ea3-61bf-4d85-b18d-7e03fe5d90d2: Downloading XML metadata for platform native
[info] Available formats for eff77ea3-61bf-4d85-b18d-7e03fe5d90d2:
format code  extension  resolution note
hls-1892     mp4        928x522    1892k , avc1.77.30, mp4a.40.2
hls-2524     mp4        1024x576   2524k , avc1.77.30, mp4a.40.2 (best)

Thanks a lot, it works for me as well.


Document ceres should be built with SuiteSparse support

Currently, glomap depends explicitly on SuiteSparse.
On my distribution, ceres is not packaged with SuiteSparse support (it only provides the following CMake components: EigenSparse SparseLinearAlgebraLibrary LAPACK SchurSpecializations MultiThreadind).
I suggest to choose between:

add a note warning about this in README.md.
simply let ceres pick its sparse linear algebra backend using instead SparseLinearAlgebraLibrary.

Tell me what you think about it and I'll write the small PR if you interested.

Hi @v01dXYZ , thanks for pointing this out. A pull request is very much welcomed.


Exception while parsing a query with path expression

Hello, I'm having a bad luck parsing a query with path expression. The query works just fine in Protege 5.1.0.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

SELECT ?class (group_concat(DISTINCT ?item;separator=",") as ?keys) WHERE {
  ?class rdf:type owl:Class .
  ?class owl:hasKey ?key .
  ?key rdf:rest*/rdf:first ?item .
}
GROUP BY ?class ?key

STDERR output: https://gist.github.com/b36694c3a1577944acbecad4262deef9
bundle output: https://gist.github.com/anonymous/d83b285d1e77b830f0b0436ef19d400e
Ruby version: ruby 2.2.6p396 (2016-11-15 revision 56800) [x86_64-linux]

@lks128 I believe I've fixed this in the branch, if you'd like to check it out. The generated SSE is now:
(project
  (?class ?keys)
  (extend ((?keys ?.0))
    (group (?class ?key)
      ((?.0 (group_concat (separator ",") distinct ?item)))
      (join
        (bgp (triple ?class <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class>))
        (join
          (bgp (triple ?class <http://www.w3.org/2002/07/owl#hasKey> ?key))
          (path ?key
            (seq
              (path* <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>)
              <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
            )
            ?item))))))

@gkellogg It is awesome, thank you very much! I hope I will have time to try it out this week ;-)


Feat/history pagination

Coverage decreased (-0.01%) to 95.41% when pulling 4e3151b120c662018710cffc42f4b338379227be on isocolsky:feat/history_pagination into 001d32b7ab24c300f11d13099af2ba27dec07ca6 on bitpay:master.


Custom Id Generator

Experimental code to use a custom id generation with tablename parameter

Thanks for the contribution!  We'll get it released soon.


New-CimSession failing on AppVeyor

Not repro'ing on Win10, maybe WS2012/R2 specific

Steps to reproduce
New-CimSession

Expected behavior
CimSession created

Actual behavior
Method not found: 'Void System.Security.SecureStringMarshal.ZeroFreeCoTaskMemUnicode(IntPtr)'.

Environment data

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.6
OS                             Microsoft Windows 10.0.16285
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

I remember seeing this and the issue with MI.net was fixed last year. I will update the Microsoft.Management.Infrastructure.dll in the nuget package.

We use Windows Server 2016 for AppVeyor CIs, and I just logged on an AppVeyor builder and New-CimSession works just fine on it. However, we got the failure when running the tests.
This may not relate to the need to update Microsoft.Management.Infrastructure.Native.dll in our nuget package because I remember without the fix MMI.Native.dll, New-CimSesison won't work on win10. More inveatigation is needed.

I have tried on Windows Server 2012 R2 and New-Cimsession works fine.

@adityapatwardhan Server Core?

Going to close this as we no longer rely on AppVeyor.


Potential broken statement in deserializer

I came across this while looking through the code, I didn't have any actual issue with this yet, but it seems to be hard to come across because of the extra UDA you would need to even enable this code path.
https://github.com/libmir/mir-ion/blob/a5499d4aca785c82205926e3d025762d78b6722b/source/mir/deser/package.d#L856
this assignment seems to be done in the default case, but

it's missing a break; if it's intended to go out of the switch
if that's the intended way, the ionValue is overriden right afterwards below, (line 863) so this assigned ionValue actually can't be used.

this might be missing a test case?

Thank you for the bug report. Fixed in v2.1.3


Retry audio loop when the output audio device is unplugged or switched

When the audio output device switched or unplugged on the PC which run the ALVR server,the streaming would be cut off,and then sometimes the alvr in the HMD crashed at the same time. This modify can retry the game_audio_loop in order to avoid this situation.

If you need to make further changes you don't need to close the PR and make a new one. Just push to the same branch.

@zarik5 Excuse me ,I want to know if this commit has been tested ,and is there any problem in the code ?

I don't have the capacity to properly test this. I'll merge and people can report if this breaks anything.


TypeError: done is not a function

This code is throwing this error
TypeError: done is not a function
    /Users/moox/Sync/Development/phenomic/node_modules/unified/index.js:391:9
    next (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:83:14)
    done (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:163:12)
    then (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:174:5)
    wrapped (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:149:9)
    next (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:81:24)
    done (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:163:12)
    /Users/moox/Sync/Development/phenomic/node_modules/unified/index.js:38:9
    /Users/moox/Sync/Development/phenomic/node_modules/unified/index.js:323:21
    next (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:83:14)
    done (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:163:12)
    then (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:174:5)
    wrapped (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:149:9)
    next (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:81:24)
    Object.run (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:48:10)
    Function.run (/Users/moox/Sync/Development/phenomic/node_modules/unified/index.js:319:18)
    /Users/moox/Sync/Development/phenomic/node_modules/unified/index.js:32:7
    wrapped (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:128:19)
    next (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:81:24)
    done (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:163:12)
    then (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:174:5)
    wrapped (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:149:9)
    next (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:81:24)
    Object.run (/Users/moox/Sync/Development/phenomic/node_modules/trough/index.js:48:10)
    Function.process (/Users/moox/Sync/Development/phenomic/node_modules/unified/index.js:380:14)
    description (/Users/moox/Sync/Development/phenomic/src/content-loader/description.js:45:74)
    Test.fn (description.js:24:15)

It seems to be new and this code "was working" a few days ago. Any idea? I can see from git history that you made some changes/fixes related to trough and "done".

Darn. Could you show me the code that brought this up?

Whoops, found it haha

@MoOx Could you try out the next branch? and See if that fixes things?

It seems to fix my issue indeed! Thanks. Any idea when will you cut a release? In min case it's affecting all new setup and fresh install for Phenomic, nobody can build anything anymore :s

4.2.1 is released when Travis completes (± 2 min).
Sorry about this, no idea how this got through the tests! 😬

No problem. Thanks for the quick fix!


Our L4 ambient doc needs to be updated per latest inpod redirection contribution

cc @srampal if you have bandwidth, before i mark it as community help needed. :)

@linsun yes I can do this, feel free to assign

Done, thank you!! :)

Hi @srampal do you have bandwidth to work on this?  The in-pod is already merged in 1.21 beta1.

Hi @srampal do you have bandwidth to work on this? Or should i ask others to help out? The in-pod is already merged in 1.21 beta1.

Yes I do .. will put out a PR soon with some doc updates.

PR in progress for this issue ...
https://github.com/istio/istio.io/pull/14611

I saw https://github.com/istio/istio.io/pull/14611 merged - thank you!! Anything remaining or should we close this out @srampal?

Completed


Picker and Picker.Item does not have testID property

I have gone through these following points

[x] Check latest documentation: https://docs.nativebase.io/
[x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[x] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

node, npm, react-native, react and native-base version, expo version if used, xcode version
  Expo CLI 4.3.2 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 14.16.0 - /usr/local/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 6.14.11 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.10.1 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
      Android SDK:
        API Levels: 29
        Build Tools: 29.0.2
        System Images: android-27 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
      Xcode: 12.4/12D4e - /usr/bin/xcodebuild
    npmGlobalPackages:
      expo-cli: 4.3.2
    Expo Workflow: managed

Expected behaviour
Picker and Picker.Item components should be found by its testID property in E2E tests (detox).
Actual behaviour
Picker and Picker.Item could not be found using testID like
await expect(element(by.id('tidPicker'))).toBeVisible();

but this code runs OK for other native-base components like Header/Content/H3/...
Steps to reproduce

    render() {
        return (
            <Container testID={'tidContainer'}>
                <Header testID={'tidHeader'}/>
                <Content testID={'tidContent'}>
                    <H3 testID='welcome' style={styles.welcomeStyle}>
                        Sample project in React Native to try out Detox E2E tests,
                        using native-base framework
                    </H3>

                    <Form testID={'tidForm'}>
                        <Picker
                            testID={'tidPicker'}
                            style={styles.pickerStyle}
                            itemStyle={styles.itemStyle}
                            mode="dropdown"
                            selectedValue={this.state.pickerSelectedKey}
                            onValueChange={this.onPickerChange}
                            iosIcon={
                                <Icon name="chevron-down-outline"
                                      style={{color: 'rgba(255,255,255,0.8)', lineHeight: 20}}/>
                            }
                        >
                            <Picker.Item label="Wallet" value="key0" testID={'tidPickerItem0'}/>
                            <Picker.Item label="ATM Card" value="key1" testID={'tidPickerItem1'}/>
                            <Picker.Item label="Debit Card" value="key2" testID={'tidPickerItem2'}/>
                            <Picker.Item label="Credit Card" value="key3" testID={'tidPickerItem3'}/>
                            <Picker.Item label="Net Banking" value="key4" testID={'tidPickerItem4'}/>
                        </Picker>
                    </Form>
                </Content>
            </Container>
        );

    }

every native-base components are accessible in E2E tests by its testID property
I've prepared sample project showing the issue:
https://github.com/cichun/expo-detox-test.git  ( switch branch to native-base-tests )
git clone --branch native-base-tests https://github.com/cichun/expo-detox-test.git
Is the bug present in both iOS and Android or in any one of them?
iOS
Any other additional info which would help us debug the issue quicker.
###Important
If you want your issue to be looked at quicker, attach a snack reproducible with your issue. Makes it easier for us!

Also having the same problem, would be very appreciated if the maintainers look into this!


How to save a device instance for hot reload?

I'm working on an APP that uses a page that gets a device passed by parameter. The first time i run it it works perfectly because its redirected from another function that also passes the device as a parameter. But when I hot reload or I just minimize the app I get: device is called on null. I understand that its because it doesnt receive nothing by parameter when its hot reloaded. Any suggestion what I have to do in that case?
Thanks community!

I have a similar problem. I had a pageview but i can't pass the device by parameter. Is there a way to save the device instance?

If you find the solution tell me, I can't move along
El mar., 14 ene. 2020 a las 10:43, bobosette<EMAIL_ADDRESS>escribió:

I have a similar problem. I had a pageview but i can't pass the device by
parameter. Is there a way to save the device instance?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pauldemarco/flutter_blue/issues/467?email_source=notifications&email_token=AEAG63QUCY73JGXQ7N3BSMLQ5WCKFA5CNFSM4KBAFXR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI36QSQ#issuecomment-574089290,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAG63WYVSYHADXJPCWDSX3Q5WCKFANCNFSM4KBAFXRQ
.

--
Boris Llona.

ok

Interesting, I feel this isn’t a flutter_blue issue but more a state management question in flutter.
If you disagree, please explain why and re-open the issue.
Thanks.


License for this code?

Hi! What is the license for using this code? Can you add a license.md?

I forgot to give this an MIT license, but it's got one now. Have fun!

Thanks so much!


⚠ Thumbnails API Endpoint has degraded performance

In 8c76b91, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 29640 ms

Resolved: Thumbnails API Endpoint performance has improved in 0bf1732.


Odd Question

How would I go about making it so the wallpaper sets as zoomed fill, rather than how it sets normally? I use nitrogen to set my wallpaper and I set it as zoomed so I can fill the entire image.

Oh that would be easy to do you just need to modify https://github.com/pavanjadhaw/betterlockscreen/blob/d877b69ad58d120b3a041b0b49891f9aa279831d/betterlockscreen#L255 this line and replace --bg-fill with --bg-scale.
Also as alternative if you would like to use nitrogen to set desktop background, you can find all modified images under ~/.cache/i3lock

Thanks for quick reply,
Tried what you said and that doesn't seem to achieve what I want, I basically want for to be able to fit the whole image even if it's stretched.
Another quick question, when typing I would rather it be a different colour than red, where doI changethat?

Disregard all my above issues, I fixed most if not all of those thankfully. Apart from now when I execute betterlockscreen it just gives me a simple i3lock with a background of the image i chose? No time or anything at all.

changing colors can be achieved via the config file,
regarding your issue of your comment above, have you modified the script?


Added some attributes to WeatherTrendView and GoogleCalendarProvider

Now you are able to enable filter_today in GoogleCalendarProvider, and change ChartsConfiguration in WeatherTrendView.

Nice try

Lemme make it sus.


column_as() breaks PostgreSQL enum

Description
column_as() breaks PostgreSQL enum
I am now forced to use 'role' instead of 'user_role'
Steps to Reproduce

Create Table which uses a native Postgres enum
Query the table with the enum in a join, and use column_as to rename the column
Use into_model or into_json

Expected Behavior
Returning the role when using either into_model and into_json
Actual Behavior
into_model && column_as
Err(
    Query(
        SqlxError(
            ColumnDecode {
                index: "\"user_role\"",
                source: "mismatched types; Rust type `core::option::Option<alloc::string::String>` (as SQL type `TEXT`) is not compatible with SQL type `Role`",
            },
        ),
    ),
)

into_json && column_as
(It does not show up in the json)
Object {
            "id": Number(2),
            "membership_uuid": String("jpnaspkni45benpjstcons6q"),
            "name": String("Test"),
            "user_email": String("test@email.com"),
            "user_first_name": String("test3"),
            "user_last_name": String("test3"),
            "uuid": String("exr98cm55qdz5ckllk8vx0ni"),
        },

into_model && column
ManagementMember {
            user_first_name: "test3",
            user_last_name: "test3",
            user_email<EMAIL_ADDRESS>            role: Viewer,
            membership_uuid: "jpnaspkni45benpjstcons6q",
        },

into_json && column
Object {
            "id": Number(2),
            "membership_uuid": String("jpnaspkni45benpjstcons6q"),
            "name": String("Test"),
            "role": String("VIEWER"),
            "user_email": String("test@email.com"),
            "user_first_name": String("test3"),
            "user_last_name": String("test3"),
            "uuid": String("exr98cm55qdz5ckllk8vx0ni"),
        },

Reproduces How Often
Always
Workarounds
Not using column_as but using column
Reproducible Example
Don't have time to open a PR, here is my faulty query:
#[derive(Debug, Serialize, FromQueryResult, Clone, PartialEq)]
pub struct ManagementMembers {
    pub user_first_name: String,
    pub user_last_name: String,
    pub user_email: String,
    pub user_role: Role,
    pub membership_uuid: String,
}

Management::find()
        .filter(management::Column::Uuid.contains(uuid))
        .column_as(user::Column::FirstName, "user_first_name")
        .column_as(user::Column::LastName, "user_last_name")
        .column_as(user::Column::Email, "user_email")
        .column_as(management_member::Column::Uuid, "membership_uuid")
        .column_as(management_member::Column::Role, "user_role")
        .join(
            sea_orm::JoinType::InnerJoin,
            management::Relation::ManagementMember.def(),
        )
        .join(
            sea_orm::JoinType::InnerJoin,
            management_member::Relation::User.def(),
        )
        .into_model::<ManagementMembers>()
        .all(db)
        .await;

Working query:
#[derive(Debug, Serialize, FromQueryResult, Clone, PartialEq)]
pub struct ManagementMembers {
    pub user_first_name: String,
    pub user_last_name: String,
    pub user_email: String,
    pub role: Role,
    pub membership_uuid: String,
}

Management::find()
        .filter(management::Column::Uuid.contains(uuid))
        .column_as(user::Column::FirstName, "user_first_name")
        .column_as(user::Column::LastName, "user_last_name")
        .column_as(user::Column::Email, "user_email")
        .column_as(management_member::Column::Uuid, "membership_uuid")
        .column(management_member::Column::Role)
        .join(
            sea_orm::JoinType::InnerJoin,
            management::Relation::ManagementMember.def(),
        )
        .join(
            sea_orm::JoinType::InnerJoin,
            management_member::Relation::User.def(),
        )
        .into_model::<ManagementMembers>()
        .all(db)
        .await;

Versions
├── sea-orm v0.12.3
│   ├── sea-orm-macros v0.12.3 (proc-macro)
│   │   ├── sea-bae v0.2.0 (proc-macro)
│   ├── sea-query v0.30.2
│   ├── sea-query-binder v0.5.0
│   │   ├── sea-query v0.30.2 (*)
Ubuntu 22.04.3 LTS x86_64
PostgreSQL v16

I believe this was discussed before, but I could not find the thread. But without a reproducible testcase, it's hard to move forward to fix this issue.

I believe this was discussed before, but I could not find the thread. But without a reproducible testcase, it's hard to move forward to fix this issue. A failing testcase that pinpoints the problem is like half way to fixing the bug.
I am guessing, so into_model and into_json does not do the proper casting.

I have some Uni assignments, but once those are finished, I will give it a go.

That'll be appreciated!

Facing the same issue, into_json breaks the select_as type and cast all fields as String.

I am facing the same issue, but not via into model. I am using SearchAccountsQueryResult::find_by_statement where SearchAccountsQueryResult is a FromQueryResult structure. I am assuming find_by_statement is doing some sort of into_model under the hood.

Here are some more of my findings:
CallStack:
sqlx_postgres::types::str::<impl sqlx_core::types::Type<sqlx_postgres::database::Postgres> for str>::compatible (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-postgres-0.7.2/src/types/str.rs:15)
<&T as sqlx_core::types::Type<DB>>::compatible (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.2/src/types/mod.rs:222)
sqlx_postgres::types::str::<impl sqlx_core::types::Type<sqlx_postgres::database::Postgres> for alloc::string::String>::compatible (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-postgres-0.7.2/src/types/str.rs:52)
<core::option::Option<T> as sqlx_core::types::Type<DB>>::compatible (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.2/src/types/mod.rs:233)
sqlx_core::row::Row::try_get (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.2/src/row.rs:120)
<alloc::string::String as sea_orm::executor::query::TryGetable>::try_get_by (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-1.0.0/src/executor/query.rs:302)
<hangout_microservices::entities::sea_orm_active_enums::FriendshipStatus as sea_orm::executor::query::TryGetable>::try_get_by (/Users/nateageek/Development/Rust/hangout-microservices/hangout-microservices/src/entities/sea_orm_active_enums.rs:45)
<core::option::Option<T> as sea_orm::executor::query::TryGetable>::try_get_by (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-1.0.0/src/executor/query.rs:182)
sea_orm::executor::query::TryGetable::try_get (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-1.0.0/src/executor/query.rs:40)
sea_orm::executor::query::QueryResult::try_get (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-1.0.0/src/executor/query.rs:95)
<hangout_microservices_search::queries::search_accounts::SearchAccountsQueryResult as sea_orm::entity::model::FromQueryResult>::from_query_result (/Users/nateageek/Development/Rust/hangout-microservices/hangout-microservices-search/src/queries/search_accounts.rs:23)
<sea_orm::executor::select::SelectModel<M> as sea_orm::executor::select::SelectorTrait>::from_raw_query_result (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-1.0.0/src/executor/select.rs:115)
sea_orm::executor::select::SelectorRaw<S>::all::{{closure}} (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-orm-1.0.0/src/executor/select.rs:972)
hangout_microservices_search::queries::search_accounts::search_accounts::{{closure}} (/Users/nateageek/Development/Rust/hangout-microservices/hangout-microservices-search/src/queries/search_accounts.rs:85)
hangout_microservices_search::queries::Query::search_accounts::{{closure}} (/Users/nateageek/Development/Rust/hangout-microservices/hangout-microservices-search/src/queries/mod.rs:35)
<hangout_microservices_search::queries::Query as async_graphql::resolver_utils::container::ContainerType>::resolve_field::{{closure}}::{{closure}} (/Users/nateageek/Development/Rust/hangout-microservices/hangout-microservices-search/src/queries/mod.rs:19)
<hangout_microservices_search::queries::Query as async_graphql::resolver_utils::container::ContainerType>::resolve_field::{{closure}} (/Users/nateageek/Development/Rust/hangout-microservices/hangout-microservices-search/src/queries/mod.rs:19)
<core::pin::Pin<P> as core::future::future::Future>::poll (@<core::pin::Pin<P> as core::future::future::Future>::poll:27)
<async_graphql::types::query_root::QueryRoot<T> as async_graphql::resolver_utils::container::ContainerType>::resolve_field::{{closure}} (/Users/nateageek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-graphql-7.0.1/src/types/query_root.rs:102)
<core::pin::Pin<P> as core::future::future::Future>::poll (@<core::pin::Pin<P> as core::future::future::Future>::poll:27)

file: sqlx-postgres-0.7.2/src/types/str.rs
fn compatible(ty: &PgTypeInfo) -> bool {
        [
            PgTypeInfo::TEXT,
            PgTypeInfo::NAME,
            PgTypeInfo::BPCHAR,
            PgTypeInfo::VARCHAR,
            PgTypeInfo::UNKNOWN,
        ]
        .contains(ty)
    }

My first impressions is based on watching how it went through the calls. It appears that sea-orm tries to build a custom macro for the Enum type. However, due to the Pg type being alloc::sync::Arc<sqlx_postgres::type_info::PgCustomType, alloc::alloc::Global> it does not have a custom compatibility to support it. So, it fails to decode it and throws an error. This bug has cost me a day of work trying to resolve. I might be able to create a PR. But this is the underlying issue. Although, I did see that the raw data is there as a string. But this also could be a slight issue with the sqlx-postgres.

Ok, I truly do not like this hack. But for right now I am casting my enum into a "TEXT" and returning that in my query result.
.expr(
        Expr::col(friendships::Column::Status).cast_as(Alias::new("TEXT")),
    )

My SearchAccountsQueryResult status enum now has a type String, and it will work as I am just returning. I'm not sure if I should post this as a bug with the sqlx-postgres or here. As, technically we are asking sqlx-postgres to convert a "CustomType" into a "String" from sea_orm DeriveActiveEnum expanded macro... But for right now, here is the hacked solution.

Hi, I've also hit this with the following:
#[derive(DeriveEntityModel)]
#[sea_orm(table_name = "keys")]
pub struct Model {
    #[sea_orm(primary_key, auto_increment = false)]
    pub id: KeyId,
    pub owner_id: UserId,
    pub schema: KeyType,
    pub data: Vec<u8>,
}

#[derive(DeriveActiveEnum, EnumIter)]
#[sea_orm(rs_type = "String", db_type = "Enum", enum_name = "keytype")]
pub enum KeyType {
    #[sea_orm(string_value = "not initialized yet")]
    NotInititalizedYet,
    #[sea_orm(string_value = "a")]
    A,
    #[sea_orm(string_value = "b")]
    B,
    #[sea_orm(string_value = "c")]
    C,
}
#[derive(FromQueryResult, DerivePartialModel)]
#[sea_orm(entity = "Entity")]
pub struct KeyMetadata {
    #[sea_orm(from_col = "id")]
    key_id: KeyId,
    #[sea_orm(from_col = "owner_id")]
    owner: UserId,
    #[sea_orm(from_col = "schema")]
    key_type: KeyType,
}

And I'm getting the following error on postgres:
Query Error: error occurred while decoding column "key_type": mismatched types; Rust type `core::option::Option<alloc::string::String>` (as SQL type `TEXT`) is not compatible with SQL type `keytype`

@tyt2y3

A failing testcase that pinpoints the problem is like half way to fixing the bug.

 Thank you for getting this test case setup!


Reduce initial user query load

Refactor passport to own file
Cache hot news
deprecate news creation api

@BerkeleyTrue what's the status of this PR?

Now live on http://beta.freecodecamp.com/


add README.md to helmignore file

Add README.md and README.md.gotmpl files to .helmignore, because the current version of the CRD is too large, it cannot be successfully installed using helm. After testing, it can be successfully installed after filtering these two files.
[root@dce-10-6-232-3 ~]# helm upgrade --install  --create-namespace --cleanup-on-fail harbor-operator -n harbor-operator-ns harbor-operator-1.4.0.tgz --set installCRDs=true --wait --debug
history.go:56: [debug] getting history for release harbor-operator
Release "harbor-operator" does not exist. Installing it now.
install.go:194: [debug] Original chart version: ""
install.go:211: [debug] CHART PATH: /root/harbor-operator-1.4.0.tgz

client.go:133: [debug] creating 1 resource(s)
Error: create: failed to create: Secret "sh.helm.release.v1.harbor-operator.v1" is invalid: data: Too long: must have at most 1048576 bytes
helm.go:84: [debug] Secret "sh.helm.release.v1.harbor-operator.v1" is invalid: data: Too long: must have at most 1048576 bytes
create: failed to create
helm.sh/helm/v3/pkg/storage/driver.(*Secrets).Create
	helm.sh/helm/v3/pkg/storage/driver/secrets.go:164
helm.sh/helm/v3/pkg/storage.(*Storage).Create
	helm.sh/helm/v3/pkg/storage/storage.go:69
helm.sh/helm/v3/pkg/action.(*Install).RunWithContext
	helm.sh/helm/v3/pkg/action/install.go:343
main.runInstall
	helm.sh/helm/v3/cmd/helm/install.go:280
main.newUpgradeCmd.func2
	helm.sh/helm/v3/cmd/helm/upgrade.go:124
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.6.1/command.go:968
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1571

So is there any way to solve this problem?

There was some discussion on slack here:
https://cloud-native.slack.com/archives/CUB97PNBF/p1677073778275559
The ideas was to either no longer include the other components in the helm chart ( here: https://github.com/goharbor/harbor-operator/blob/157a32732e13eabf8b9ab571b8bd1871e85256ac/charts/harbor-operator/Chart.yaml#L22-L40)
Or maybe reduce the CRD size (we currently bring v1beta1 and v1alpha2)
I also wanted to check why assets is included and if we can do it differently: https://github.com/goharbor/harbor-operator/blob/master/charts/harbor-operator/assets


RK4 time dependence

I noticed that when taking a step with the RK4 method in particle.py it uses the velocities at different points in the grid as it should, but always at the starting time of the step. In python I could easily adjust it to take velocities at t=time+dt/2 or t=time+dt where it should, but JIT still uses only time as an argument when calling temporal_interpolation_linear.
Also, I'm still trying to get used to using github... Is there an easy way for me to push just the changes I made in particle.py? I'm currently working in the numerics branch I made, and I have things there that I don't want to push along with it yet. I'm not even sure if I should have added the analytical eddies test to the branch or just kept it locally to play with...

Good find! We were indeed dropping the kernel-defined time indices on the floor in JIT mode. The fix is in PR #32 and should be merged soon.
For the git question, the right thing to do here is to create multiple branches, one for the stuff that is ready to be uploaded and a local one for any experimental changes. Utility functions like git rebase and git cherry-pick can help you to maintain and move commits between those. That being said, there is no good reason to keep things purely local, since we do not require all branches to be merged and it is usually better to work openly and keep your work backed up on github.

I believe this has been fixed now, so closing the issue.


Viewport meta tag added to Liteness & default template header.php

Resolves issue #411

Thanks for the pull request Nick

Pleased to help with the development of this great system!


[NEW ICON] Yii

Skill Name
Yii
Why?
Yii is a high performance, component-based PHP framework for rapidly developing modern Web applications.
Yii is a generic Web programming framework, meaning that it can be used for developing all kinds of Web applications using PHP. Because of its component-based architecture and sophisticated caching support, it is especially suitable for developing large-scale applications such as portals, forums, content management systems (CMS), e-commerce projects, RESTful Web services, and so on.
Reference Image

Up


Runtime error during the triangle example

When running the source code of triangle.rs the program ends up panicking during this function call.
let extensions = vulkano_win::required_extensions();

which leads to line 318 of vulkano-0.5.0/src/instance.rs/extensions.rs where the actually error happens:
thread 'main' panicked at 'OutOfHostMemory', ....cargo\registry\src\github.com-[...]\vulcano-0.5.0\src\instance\extensions.rs:318
instance_extensions! {
    InstanceExtensions,
    RawInstanceExtensions,
    khr_surface => b"VK_KHR_surface",
    khr_display => b"VK_KHR_display",
    khr_xlib_surface => b"VK_KHR_xlib_surface",
    khr_xcb_surface => b"VK_KHR_xcb_surface",
    khr_wayland_surface => b"VK_KHR_wayland_surface",
    khr_mir_surface => b"VK_KHR_mir_surface",
    khr_android_surface => b"VK_KHR_android_surface",
    khr_win32_surface => b"VK_KHR_win32_surface",
    ext_debug_report => b"VK_EXT_debug_report",
    mvk_ios_surface => b"VK_MVK_ios_surface",
    mvk_macos_surface => b"VK_MVK_macos_surface",
    mvk_moltenvk => b"VK_MVK_moltenvk",     // TODO: confirm that it's an instance extension
    nn_vi_surface => b"VK_NN_vi_surface",
    ext_swapchain_colorspace => b"VK_EXT_swapchain_colorspace",
    khr_get_physical_device_properties2 => b"VK_KHR_get_physical_device_properties2",
}

After searching for the problem myself I found some sources suggesting that my graphic card/driver does not support vulkan, but according to the official AMD website this shouldn't be the case
(AMD Radeon R7 240 in case this is up being relevant)

I guess that vkEnumerateInstanceExtensionProperties returns the OOM error, which is weird.

Tried some other example projects + deleted all downloaded crates,
still the same error.

You should try running vulkaninfo from the official Vulkan SDK, or alternatively any Vulkan program that doesn't use vulkano, in order to check whether this is a driver problem or a problem with vulkano.

After trying it with the official SDK,
I found out that only a part of the R7 series is supported...
Sorry for taking your time.


Updated the tests to use the new testing syntax.  Close #189.

Also, I found that some of the tests were duplicated accidentally in
the document.  Comments have been added to the logic changes that need
to be made.  A separate issue will be created to track these logic
changes.

Just want to confirm that the logic changes you mentioned are being tracked in this issue: https://github.com/codeforboston/docassemble-juvenilesealing/issues/195

Yes, @niharikasingh , that is the right issue.