Decouple USB image transfer from image creation.

We write to USB slower than we can generate images (~2fps vs ~10fps).  This means if we wait for USB transfers to complete in sequence, we will only process at ~2fps.
A workaround was made to limit usb transfers to 1 transfer for every 5 images.  https://github.com/Hivemapper/camera_bridge/tree/eab9b8afad5d4e48ae3525346c4246ea269bb970. But ideally we would copy as many images to the USB as we can.
Possible options:

Do usb transfers on another thread. Maybe have a queue of files to transfer that the USB worker thread consumes.  But we will still need to drop frames if we're falling behind.
Batch usb transfers together. Maybe doing ~5 at once is faster than one at a time.

Code seems to be working, basic validation. Get ready for PR.
Validation:

drive with USB stick

PR has been merged. Will be in a later build of 3.9.

USB test passed, double check framekms to know for sure

Test drive FrameKM upload failure issue was caused by the LaunchDarkly flag isNativeUploadingEnabled being set on the Android version of the app when the app version was >6.15.  This was due to a misconfigured flag rule.

created test build, 3.9.0.


WIP Fix line wise movement for wrapped line

This PR fix #785, but need discussion.

Finished PR not adding spec, currently there is no test to detect this big behavior change.. need discussion further.

Would it make sense, before merging, to combine all the commits into one? It ends up being a rather small and effective patch.
In think the specs for "horizontal scroll cursor keybindings" in spec/scroll-spec.coffee do something with editor width, maybe that can help with adding specs for behaviour with soft-wrapped lines.

Cool!  It would be great to remove the mealy "Currently, vim-mode requires soft line wraps to be disabled" excuse from vim-mode's readme.
That said, I run vim-mode always operating on screen lines: https://github.com/bronson/dotfiles/blob/master/.vimrc#L160-L178  So, while I'm happy to see a patch that improves Vim compatibility, I'd probably find a way to turn it off for myself.  :)
Think this should include the gh, gj, gk, and gl bindings too?

"Currently, vim-mode requires soft line wraps to be disabled"

I read this sentence before, but completely have forgotten! Thanks for noting that.
I think we only take care of gj and gk. No gh, gl on Vim.
Here is my TODO or plan for this patch.

review all motion assuming bufferline motion and update to use screencount unit as necessary
introduce gk gj new motionto work as screenLineCount unit
update keymap
add spec for these.
remove readme's sentence to disable softwrap

This patch got unfit of issue title, this is for remove limitation 'softwrap disabled required for vim-mode'.

@t9md I just found the screencount approach has a problem: if you go to the last line of a soft-wrapped long line and press j, you will go further down than expected.
To illustrate, let's imagine the first two lines below are a single soft-wrapped line:
this is a very long line that is
softwrapped in a very narrow window
this is a second line
this is a third line

Now put the cursor on "w" in "softwrapped", press 'j' and you'll end up on the third line because the cursor moves by 2 lines - the screencount of the line it's on.
I suspect we should not use moveDown at all there, instead we should set the cursor's buffer position to its current column and its current row plus however many lines we want.
That should also put the goalColumn behaviour in line with VIM - the cursor in the example above, going down from "w" in "softwrapped", should end up at the end of the second line, not on the space after "this".

@jacekkopecky Yes, I've also noticed this PR include bug.
We need to put cursor to column which is counted by head of line.
This is not feature Atom provide, Atom always move cursor  screenLine-wise.
I noticed this is not easy change I expected at first.

I suspect we should not use moveDown at all there, instead we should set the cursor's buffer position to its current column and its current row plus however many lines we want.

Maybe..
Atom itself have only screen line movement motion. So we need to add independent bufferLine movement.
I want to follow Atom's way as much as possible and keep vim-mode thin layer on top of Atom.
But this change is not that.
So need further experiment and consideration this new implementation's impact might have to other vim-mode features.
So I'm in mood to stop this PR for now, and feeling I need to understand how cursor and motion implemented in Atom and vim-mode world.

Well, at least one goal of this patch has been merged.  :)  https://github.com/atom/vim-mode/pull/797

Close just because it's too old and I cannot remember.


从ORACLE日志归档模式到HIVE2时，字段类型有问题

Search before asking

[ ] I had searched in the issues and found no similar question.

[ ] I had googled my question but i didn't get any help.

[ ] I had read the documentation: ChunJun doc but it didn't help me.

Description
这是oracle的数据库，V2字段为NUMBER类型
这是配置文件
，在配置文件中V2字段为LONG类型
这儿在断点进来的时候V2却为string类型了，问一下，这个数据类型是怎么生成的，相关的代码在哪里？

Code of Conduct

[X] I agree to follow this project's Code of Conduct

因为hive插件会自动建表，建表语句字段全是string。


[Feature] Translate "Trailblaze Power to Upgrade" math in IceDynamix's repo from rust -> ts and display it on relic previews

Motivation
The "Trailblaze Power to Upgrade" calculations have been done already: https://github.com/IceDynamix/est-tbp and we just need to convert this logic into typescript to run on relic previews
Objective

Go through the rust version and translate it to ts
Add some unit testing around the new logic
Add a toggle on the Character tab to show "Trailblaze power to upgrade" instead of score

taking a stab at this


Cargo passes a nonexistent feature to rustc when building gitoxide

Problem
When running cargo build on https://github.com/Byron/gitoxide Cargo passes a nonexistent feature to rustc: --cfg 'feature="prodash"'. There is no feature prodash in any Cargo.toml, which can be confirmed with rg -t toml prodash.
This breaks cargo auditable which relies on all features passed as --cfg to rustc actually existing in the project. This also breaks builds for some Linux distributions that use cargo auditable, namely Void Linux and NixOS.
When the feature prodash is passed to cargo metadata, the following error is printed:
error: Package `gix-features v0.31.0 (/home/redacted/gitoxide/gix-features)` does not have feature `prodash`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

Steps
git clone https://github.com/Byron/gitoxide
cd gitoxide
git checkout b19a56dcfa9bea86332a84aa4e8fad445e7d1724 # current master
cargo build --verbose

Observe --cfg 'feature="prodash"' appearing in the output even though there is no such feature in any Cargo.toml, which can be confirmed with rg -t toml prodash.
The bug can also be reproduced by running cargo install cargo-auditable; cargo auditable build in the same directory.
I have tried to create a minimal reproducing example that does not rely on the gitoxide repo, but failed.
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
release: 1.70.0
commit-hash: ec8a8a0cabb0e0cadef58902470f6c7ee7868bdc
commit-date: 2023-04-25
host: x86_64-unknown-linux-gnu
libgit2: 1.6.3 (sys:0.17.0 vendored)
libcurl: 8.0.1-DEV (sys:0.4.61+curl-8.0.1 vendored ssl:OpenSSL/1.1.1t)
os: Linux 7 (horus) [64-bit]

prodash is an optional dependency^2, which usually defines an implicit feature under the same name of the dependency^1. However, if you have a dep:prodash in the features table somewhere, Cargo saw the optional as an implementation detail, so it didn't create the implicit prodash feature.

prodash is an optional dependency^2, which usually defines an implicit feature under the same name of the dependency^1. However, if you have a dep:prodash in the features table somewhere, Cargo saw the optional as an implementation detail, so it didn't create the implicit prodash feature.
Although this is a documented behavior, it is not really ergonomic for 3rd party plugins to interact with Cargo feature resolution. Sorry for the inconvenience. I believe one of the best long-term fix for this is to provide a reasonable lean crate for 3rd party integration, so developers don't need to reimplement stuff Cargo is doing. We are (or I am?) trying to work on it!

Only passing the public features to rustc via --cfg would fix the issue I'm experiencing.
If the list of cfg's passed to the compiler matched the public features, everything would work fine.

Only passing the public features to rustc via --cfg would fix the issue I'm experiencing.

This would be a breaking change. People may already have #[cfg(feature = "optional-dep")] in source code.

Alternatively, exposing it as a public feature would also resolve the problem.

This would also be a breaking change. People may already have a feature name prodash doing more things not limited to enabling the optional dependency. For example,
[features]
prodash = ["dep:prodash", "additiona-feature-enabled"] # user defined
prodash = ["dep:prodash"] # If Cargo defines this there will be a conflict.

It seems that cargo-auditable assumes --cfg features equals public features. I may try to use
cargo_metadata::Node::features (resolve.nodes.features) or something else to get the correct resolved feature list.

It seems that cargo-auditable assumes --cfg features equals public features.

Yes, it does.

I may try to usecargo_metadata::Node::features (resolve.nodes.features) or something else to get the correct resolved feature list.

This is infeasible due to a chicken-and-egg problem.
cargo auditable runs as a RUSTC_WORKSPACE_WRAPPER to be able to intercept and modify Cargo's rustc arguments. To call cargo metadata I would need to already know the list of public features used in the build. That is what parsing the --cfg 'feature="foo"' arguments is supposed to accomplish.
It might be possible to work around this by calling cargo metadata once more to get the list of all public features and filter the --cfg directives against that list, but then I'd need to be able to reliably locate the correct Cargo.toml based only on the rustc arguments and whatever environment variables Cargo sets for its workspace wrapper. I'm not sure if that's possible, but I'll try.

I have tried to create a minimal reproducing example that does not rely on the gitoxide repo, but failed.

Not minimal, but another instance of this issue I think with https://github.com/bytecodealliance/wasmtime.
You can build the toplevel crate normally with:

cargo install cargo auditable
cargo auditable build

The issue is reproducible inside crates/c-api. Running cargo auditable build yields:
❯ cargo auditable build
   Compiling wasmtime-c-api v14.0.0 (/home/ereslibre/projects/bytecodealliance/wasmtime/crates/c-api)
thread 'main' panicked at 'cargo metadata failure: error: Package `wasmtime-wasi v14.0.0 (/home/ereslibre/projects/bytecodealliance/wasmtime/crates/wasi)` does not have feature `cap-std`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
', /home/ereslibre/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-auditable-0.6.1/src/collect_audit_data.rs:77:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: could not compile `wasmtime-c-api` (lib)

The workaround that allows us to build the c-api crate is: https://github.com/NixOS/nixpkgs/blob/5148520bfab61f99fd25fb9ff7bfbb50dad3c9db/pkgs/development/interpreters/wasmtime/patches/0001-Use-dep-dependency-due-to-cargo-auditable-limitation.patch


Left panel menu: Slide height is too high

It appears there is too much padding below the slide name.

This appears to be a general issue with all items that items (Modules/Lessons/Slides). It appears it may be the 3 dots that are bumping up the height. Either the padding/spacing around the dots needs to be reduced, or the text needs to be centred.
This applies to all item types on the left, and should also look good/proper with mult-line names.


[FEATURE] Provide example for additional security group to managed node group

Is your feature request related to a problem? Please describe
I am struggeling for weeks to add security groups to a managed node group. I need firewall rules that allow incoming traffic on two ports. This is a follow-up of https://github.com/aws-samples/aws-eks-accelerator-for-terraform/issues/219. Looking into the code the interplay of create_worker_security_group, create_launch_template and worker_additional_security_group_ids inside the managed_node_groups definition seems to be relevant, but it is not clear to me.
Describe the solution you'd like
Provide a working example to add a security group to managed nodes groups that allows traffic on certain ports.

Hi @schwichti
worker_additional_security_group_ids can be used only with Launch templates for Managed and Self-Managed Node groups. Try this example and let me know if you face any issues.
I used your old example with some modifications
# Your example code
resource "aws_security_group" "worker_security_group" {
  name        = "allow dns and minio"
  description = ""
  vpc_id      = module.vpc.vpc_id
}

# Your example code
resource "aws_security_group_rule" "allow_dns" {
  description              = "Allow pods DNS"
  type                     = "ingress"
  from_port                = 53
  to_port                  = 53
  protocol                 = 17
  security_group_id        = aws_security_group.worker_security_group.id
  cidr_blocks              = ["<IP_ADDRESS>/0"]
}

# Your example code
resource "aws_security_group_rule" "allow_minio" {
  description              = "Allow access to minio"
  type                     = "ingress"
  from_port                = 9000
  to_port                  = 9000
  protocol                 = "tcp"
  security_group_id        = aws_security_group.worker_security_group.id
  cidr_blocks              = ["<IP_ADDRESS>/0"]
}

# I added this additionally
module "aws-eks-accelerator-for-terraform" {
  source = "../../"

  tenant            = local.tenant
  environment       = local.environment
  zone              = local.zone
  terraform_version = local.terraform_version

  # EKS Cluster VPC and Subnet mandatory config
  vpc_id             = module.aws_vpc.vpc_id
  private_subnet_ids = module.aws_vpc.private_subnets

  # Attach additional security group ids to Worker Security group ID
  # worker_additional_security_group_ids enabled only when `create_launch_template  = true` for Mnaaged Nodegorups
  worker_additional_security_group_ids = [resource.aws_security_group.worker_security_group.id]

  # EKS CONTROL PLANE VARIABLES
  kubernetes_version = local.kubernetes_version

  # EKS MANAGED NODE GROUPS with minimum config
  managed_node_groups = {
    mg_5 = {
      # 1> Node Group configuration - Part1
      node_group_name = "mg5"                     # Max 40 characters for node group name

      # Launch template configuration
      create_launch_template  = true              # false will use the default launch template
      launch_template_os      = "amazonlinux2eks" # amazonlinux2eks or bottlerocket

      # 2> Node Group scaling configuration
      desired_size    = 2
      max_size        = 2
      min_size        = 2
      max_unavailable = 1

      # 3> Node Group compute configuration
      ami_type        = "AL2_x86_64" # AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
      capacity_type   = "ON_DEMAND"  # ON_DEMAND or SPOT
      instance_types  = ["m5.large"] # List of instances used only for SPOT type
      disk_size       = 50

      # 4> Node Group network configuration
      subnet_type = "private" # public or private - Default to Private
      subnet_ids  = []        # Defaults to private subnet-ids used by EKS Controle plane. Define your private/public subnets list with comma separated subnet_ids  = ['subnet1','subnet2','subnet3']
    }
  }
}

Hi @schwichti, did ☝🏽 work for you?

I will check as soon as possible.

@askulkarni2 I was also having this same issue and your code does add the security group but the InstanceGroup fails to join the cluster (the instance does join though). After searching around, I found this comment  showing a faulty behavior when image_id is not defined:

When creating a Managed node group with a launch template, the behavior differs based on whether an AMI has been specified in the launch template or not.
When no AMI is present in the launch template (as is the case for you, if I'm reading your gist correctly), EKS will merge in a section of MIME multi-part user data to the user data contents you've passed in. The part EKS merges in will attempt to bootstrap your worker node as well. Since MIME multiparts are executed in order, this means your bootstrapping happens first and the EKS bootstrapping becomes a no-op.
As a result, your worker nodes don't have the required labels for EKS to associate them with a node group.

Changing:
ami_type        = "AL2_x86_64"
to
ami_type        = "CUSTOM"
custom_ami_id   = data.aws_ami.lin_ami.id

fixed it for me. Just letting you know. Cheers!

@Xkynar thanks so much for reporting this and for the suggested fix as well. @schwichti please give this a try when you get a chance and we will try this as well and document this.


Steam games that require Proton do not launch

Environment
Windows build number: 10.0.22526.0
Your Distribution version: 20.04
Your WSLg version: 1.0.29
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>

Steps to reproduce

Install Steam
Click on the Steam menu, go to Settings, click on Steam Play, Enable Steam Play for all other titles, select Proton Experimental
Restart Steam
Install game that requires Proton (e.g. Bus Driver by SCS Software)
Launch game that requires Proton (e.g. Bus Driver)

https://aka.ms/AAfi9eg
WSL logs:

pulseaudio.log
weston.log
versions.txt

Expected behavior
Game opens and I am able to play it.
Actual behavior
There is some text in the CLI and the game never runs.
/bin/sh\0-c\0/home/ian/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=302080 -- '/home/ian/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/ian/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/ian/.local/share/Steam/steamapps/common/Bus Driver/bin/win_x86/busdriver.exe'\0
Game process added : AppID 302080 "/home/ian/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=302080 -- '/home/ian/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/ian/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/ian/.local/share/Steam/steamapps/common/Bus Driver/bin/win_x86/busdriver.exe'", ProcID 2356, IP <IP_ADDRESS>:0
chdir /home/ian/.local/share/Steam/steamapps/common/Bus Driver
ERROR: ld.so: object '/home/ian/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ian/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 302080, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/ian/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ian/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 2361 != 2358, skipping destruction (fork without exec?)
GameAction [AppID 302080, ActionID 1] : LaunchApp changed task to Completed with ""
bwrap: Can't mount tmpfs on /newroot/tmp/.X11-unix: No such file or directory
Game process removed: AppID 302080 "/home/ian/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=302080 -- '/home/ian/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/ian/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/ian/.local/share/Steam/steamapps/common/Bus Driver/bin/win_x86/busdriver.exe'", ProcID 2356
Uploaded AppInterfaceStats to Steam

Try this: https://unix.stackexchange.com/questions/565842/wrong-elf-class-elfclass32-when-launching-a-game-installed-by-steam-in-linux

I believe that may fix the issue with the gameoverlay error, but that is present even with games that are working, so I suspect the error is with this line:
bwrap: Can't mount tmpfs on /newroot/tmp/.X11-unix: No such file or directory


Create logic after clicking "Save Cards" in the bottom right on "Generate Game" tab...

After you click "Save Cards" in the bottom right a screen will pop up like this: (Saved/Pushed to seperateHTMLs branch)

When you click "submit" it will push your lobby name as well as your card selection to cookies...
(I don't have logic to give the user feedback after they click submit / Also need to make sure that their lobby names are unique / limit characters / limit to 10 lobbies saved... )

This functionality has been present since Sprint 1, but we may still add a limit of lobbies

Decided to not add a limit of lobbies


Trying to get batterytender to work

Hello, thank you for writing this code.  I'm fairly new to Python, and am trying to get your batterytender script to run properly.  I have Python3 installed and have saved the program with my email and password as Deltran.py.
When I run pipenv run python3 Deltran.py I get the following errors:
`Traceback (most recent call last):
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x10f4b3c50>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='btconnectedpower.com', port=443): Max retries exceeded with url: /api/users/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10f4b3c50>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "deltran.py", line 8, in
for monitor in bt.monitors:
File "/Users/scott/Documents/pythonpractice/batterytender-1.0.1/batterytender/init.py", line 305, in monitors
self.refresh_cache()
File "/Users/scott/Documents/pythonpractice/batterytender-1.0.1/batterytender/init.py", line 291, in refresh_cache
self._request('POST', LOGIN_PATH)
File "/Users/scott/Documents/pythonpractice/batterytender-1.0.1/batterytender/init.py", line 225, in _request
allow_redirects=False)
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/Users/scott/.local/share/virtualenvs/batterytender-1.0.1-R8l2dGmb/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='btconnectedpower.com', port=443): Max retries exceeded with url: /api/users/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10f4b3c50>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
`
Now I certainly don't expect you to teach me Python, but maybe there's something simple I'm missing that can steer me in the right direction.
Thanks again for writing this.

Thanks for bringing this to my attention, it looks like sometime the api endpoint got updated and no longer supports ssl (hence the connect timeouts), nor generates 401 for the login path (it now 500's). I've uploaded version 1.1.0 to pypi and the repo, it should fix the issue.


Feature Request: Verbose mode

I noticed a lot of commented console.logs and console.traces in the code.
It would be nice if those could be toggled on/off with a flag. It would help when running in CI so that bugs from production edits can be caught easier.
Nice library btw, very versatile :D

Thank you for trying this library.
You may set CeL.set_debug() or CeL.set_debug(3) (1-9) to get more debug information.

Ah I see, it's a part of CeL, that helps. Thanks!


Update

Refactor code to TS
Fix some bugs/issues

cc: @DRoet
I'll bump this update with a major release due to some option changes

@artf Awesome, thank you for taking the time and updating this repo to the latest grapesjs changes/standards ❤


Adding input format of type "subtitle"

Could you please consider to add files of type "subtitles" as an input option?
https://www.readbeyond.it/aeneas/docs/clitutorial.html#input-text-formats
https://www.readbeyond.it/aeneas/docs/textfile.html#aeneas.textfile.TextFileFormat.SUBTITLES
Thanks a lot!

Thanks for your question @braincoded
Could you tell me a bit more about the thinking behind this request?
The app uses this module to handle the alignment subtitlesComposer.
Grand part of the modules does a pre-segmentation prep to create a file in that Aeneas subtitles format before calling aeneas.
See here for more details on the pre-segmentation steps involved in creating that Aeneas subtitle file programmatically before calling aeneas
The thinking is that if we can get the presegmentaion as good as possible there might be close to no need to manually edit the captions once Aeneas has done with the alignment (?).
In the meanwhile I am however due to popular demand consodering adding an optional manual intermediate step to the GUI for the users to to review the pre-segmented text before calling aeneas.
Looking forward to hear your thoughts.

Sure.
While the automated text segmentation works quite well, the descision where to begin a new subtitle is often far away from the segmentation points which subtitlers would choose manually.
Simplified one could probably say that an automated segmentation prioritizes filling the lines to a maximum (which comes at the price of odd line/subtitle breaks) while manually edited subtitles focus more on a context driven segmentation. This often leads to have one line subtitles once in a while, which doesn't happen in the automated workflow.
The reason why I've asked for the input type "subtitles" is, that I find myself often in the situation that there are subtitle ready texts available. For such a scenario I miss the option to bypass the automated segmentation and do the alignment right away. An intermediate step to have the possibility to edit the auto segmented text before the alignment process would help, however, being able to provide a segmented text to begin with would be preferable.

Ok, cool, closing this issue, unless you have any more questions, ideally I'd like to focus on tweaking the auto pre-align steps, see here

I added an intermedia step in this test release
https://github.com/pietrop/subtitlesComposer-app/releases/tag/1.0.7
see release notes and screenshots for more info
This is in order to do further user testing to improve and refine the pre-segmentation rules by exposing the current output of the segmentation algorithm to the users before  sending that off to Aeneas.


ES6 shorthand methods confuse requireSpaceAfterObjectKeys

The rule requireSpaceAfterObjectKeys is triggering errors for ES6 shorthand methods. The purpose of this rule is to ensure separation between the key and the colon : in property definitions, but when defining an ES6 shorthand method, the colon is not used at all, and thus there is no need to separate it from anything.
In my opinion, the spacing between the "key" and the round braces should be left to one of the existing ...SpacesInFunction... rules, in this case.
Error:
Missing space after key

Sample code:
const foo = {
    doStuff() {
        console.log();
    }
};

Configuration:
{
    "requireSpaceAfterObjectKeys" : true
}

The purpose of this rule is to ensure separation between the key and the colon : in property definitions

Uhm, well no, I think the purpose of requireSpaceAfterObjectKeys is to require a space after the keys in an object . Completely independent whether the key is followed by a colon or not.
So if you put a space after the doStuff like this:
const foo = {
    doStuff () {
        console.log();
    }
};

JSCS does not complain at all.
That said, I think the rule could have an option like:
{
    "requireSpaceAfterObjectKeys" : {
        allExcept: ["shorthandMethods"]
    }
}

Sure, fine, but traditionally there has been no other possible way to use it. Let's not pretend like its name means it will handle all new ways of keying an object without some fresh thinking.
The shorthand is for:
const foo = {
    doStuff : function doStuff() {

    }
};

If you want to see doStuff() as a key with some braces immediately after it, fair enough. That's not wrong. But the entirety of the shorthand comes from the method signature. It is not really the same category of thing that I want to reason about here.
I would most prefer to handle the spacing for these in a ...SpacesInFunction... rule. But if it has to be an exception for keys, so be it. Not worth much debate.

I am in no way against the style and think it should be added to JSCS. Do you want to implement it? :-D

It is hard to understand what is the "key" in this situation, if are strict about it it seems @alawatthe is right, but neither rule has been expected to handle such cases nor it logical perceivable.
Anyway, looks as a bug to me, i think there is no need for option, it could be handled by different rule.
To echoing @alawatthe question - @sholladay would you like to fix it?

At this point only major and CST related bugs will be fixed.

So there's no interest in this? I can't contribute a PR anytime soon.


added scroll bar to filter options in desktop mode only

Fixes #689
added a scroll bar only in desktop mode.
Desktop View (with scroll bar)

Mobile View (without scroll bar)

Developer Certificate of Origin Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

@satyaom any updates on this?

Marking as stale and closing
Feel free to reopen if you want to get back to this


MI - PERFORMANCE TUNING (Network and OS)

Complete the doc on tuning network and OS[1].
[1] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/setup/performance_tuning/network_os_performance.md

need revie


How to enable/disable mathjax from javascript with a button?

How to disable MathJax display (then the text will be displayed as $$f(x)=x^2$$ instead of the math rendering) from Javascript ?
$('#enablemathjax').click(function() {   // working
   MathJax.Hub.queue.pending = 0;
   MathJax.Hub.Queue(["Typeset", MathJax.Hub, "wmd-preview"]);
});
$('#disablemathjax').click(function() {    // non-working
   MathJax.Hub.queue.pending = 0;
   // here something is missing:
   // how to force rerendering of the page, and remove all the existing mathjax?
});

Sidequestion: how to start MathJax, with rendering off by default?
i.e. the user would have to press #enablemathjax first before having math displayed.

how to force rerendering of the page, and remove all the existing mathjax?

There's no routine for "removing all existing mathjax" but it depends a lot on what you mean by that. You could switch to the PlainSource output to get the original input as output.

how to start MathJax, with rendering off by default?

Please read the documentation for skipStartupTypeset.

There's no routine for "removing all existing mathjax" but it depends a lot on what you mean by that. You could switch to the PlainSource output to get the original input as output.

I'm looking at http://docs.mathjax.org/en/latest/options/PlainSource.html, but I don't find how to do it.
For example, how would you remove all math rendering when clicking on a button on this page:
https://cdn.mathjax.org/mathjax/latest/test/sample-tex.html
and display text only?
Would you have a short example?

I'm looking at http://docs.mathjax.org/en/latest/options/PlainSource.html, but I don't find how to do it.

That's the documentation for the output itself; you'd need the core APIs, e.g., http://docs.mathjax.org/en/latest/api/hub.html#setRenderer.

Would you have a short example?

General questions are best posted to the MathJax User Group where the wider community can help you.  A quick search immediately gives this discussion.

I tried with PlainSource, and I see what you mean now, but it's not what
I'm looking for.
I would like to purely be able to disable MathJax when clicking on a
button. The output of
https://cdn.mathjax.org/mathjax/latest/test/sample-tex.html should be this
text only, not rendered at all:
When $a \ne 0$, there are two solutions to (ax^2 + bx + c = 0) and
they are$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
Then, when clicking on Enable again, it should rerender again as math.

General questions are best posted to the MathJax User Group https://groups.google.com/forum/#!forum/mathjax-users where the
wider community can help you.

Ok I'll do this.

A quick search https://groups.google.com/forum/#!searchin/mathjax-users/switch$20renderer|sort:relevance immediately gives this discussion https://groups.google.com/d/msg/mathjax-users/X6IfrP2B6ro/egVYY6iMCZUJ.

I tried, this doesn't disable MathJax completely, it only changes the renderer.
On Wed, Nov 23, 2016 at 3:27 PM, Peter Krautzberger <
<EMAIL_ADDRESS>wrote:

I'm looking at http://docs.mathjax.org/en/latest/options/PlainSource.html,
but I don't find how to do it.
That's the documentation for the output itself; you'd need the core APIs,
e.g., http://docs.mathjax.org/en/latest/api/hub.html#setRenderer.
Would you have a short example?
General questions are best posted to the MathJax User Group
https://groups.google.com/forum/#!forum/mathjax-users where the wider
community can help you. A quick search
https://groups.google.com/forum/#!searchin/mathjax-users/switch$20renderer|sort:relevance
immediately gives this discussion
https://groups.google.com/d/msg/mathjax-users/X6IfrP2B6ro/egVYY6iMCZUJ.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mathjax/MathJax/issues/1668#issuecomment-262526298,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF4eEy92_tWXIUWE0r2ZNVzCkP8HWzipks5rBE1agaJpZM4K6jiv
.

The output [...] should be this text only, not rendered at all:

Again, there is no routine for this. It's still not clear how clean you expect the DOM to be when you "disable" MathJax.

Ok I'll do this.

Thanks. You might want to describe in more detail what problem you are trying to solve.

As suggested by @pkra, discussion moved to https://groups.google.com/forum/#!topic/mathjax-users/x6XVkwp8i0o

Thanks!


[In-Person Event] CHAOSScon Europe 2022

In-Person Event Submission
Requirements

Event Name: CHAOSScon EU 2022
Link to the Event Website: https://chaoss.community/chaosscon-2022-eu/
Are you an organizer of this event? Yes

Event Demographics

[x] This event commits to Event Diversity and Inclusion.

Q Detail the process for measuring Event Demographics.
A Registration happens through the main registration for the Linux Foundation's Open Source Summit EU. Here, an attendee will be asked about any special needs, as well as these four demographic questions: Do you identify as a person of color? Do you identify as part of the LGBTQIA+ Community?  What gender do you identify with? How old are you (range)?
Q Provide an example of an opt-out option on the Event registration page if available.
A All demographic questions have an opt-out answer. As well, even after opting in, an attendee can ask for their demographic information to be removed at any time by emailing<EMAIL_ADDRESS>Q Provide an example of a demographics text input box on the Event registration page if available.
A This is not an option on the LF registration page.

Inclusive Experience at Event

[x] This event commits to the Code of Conduct at Event.

Q Provide an example of the Event Feedback page if available.
A The LF offers a feedback survey, and CHAOSS will ask for additional feedback specific to our conference.
Q Is the event team using feedback from previous event's attendees, speakers, and volunteers to improve DEI at this event?
A Yes. The LF uses survey responses to improve attendees', speakers, and volunteers experiences. As well, CHAOSS has improved DEI at this event based on previous year's events. An example is here: https://github.com/chaoss/community/issues/291
Q Does the event team plan to use feedback from this event's attendees, speakers, and volunteers to improve DEI at future events?
A Yes. The CHAOSS team plans to send a follow up survey to attendees, speakers, and volunteers. Last year's survey is here (https://docs.google.com/forms/d/e/1FAIpQLSd6kzyyafJRTSa1D_xEH_T4tICbSJ-24j0dqsOVvlmOsLZwcw/viewform) but we may iterate on that for this year.
Q How can attendees learn more about accessibility at the event?
A This information is provided by the LF on this page: https://events.linuxfoundation.org/open-source-summit-europe/attend/diversity-inclusion/.
Q Does the event platform allow attendees to suggest future accomodations for the event?
A Yes. Attendees are encouraged to email<EMAIL_ADDRESS>with specific feedback and suggestions for future events.
Q Will the event platform be accessible to attendees and speakers after the event?
A Yes. CHAOSS slides will be available on our website, and talks will be available on our YouTube channel.

Code of Conduct at Event

[x] This event commits to the Code of Conduct at Event.

Q Is the code of conduct posted at Event venue?
A Yes. The LF posts the Code of Conduct at the venue, and CHAOSScon participants are directed to adhere to this Code of Conduct.
Q Provide a link for the Event Code of Conduct.
A https://events.linuxfoundation.org/about/code-of-conduct/

Diversity Access Tickets

[x] This event commits to the Diversity Access Tickets.

Q How many different types of diversity access tickets are available for the event?
A The LF provides Diversity and Need-Based Scholarships. The LF also provides support in terms of travel funding for those who are in need. As well, CHAOSScon will be livestreamed for free to virtual participants.
Q What are the criteria for qualifying for a diversity access ticket?
A For the Diversity Scholarship, Applicants must be from a traditionally underrepresented and/or marginalized group in the technology and/or open source communities who are unable to attend without some financial assistance.  For the Need-Based Scholarship, Individuals who apply should be active members of the open source community who are unable to attend for financial reasons and are unable to get funding from their companies.
Q Provide a link to the page containing information about Diversity Access Tickets.
A https://events.linuxfoundation.org/open-source-summit-europe/attend/scholarships/#scholarships and https://events.linuxfoundation.org/open-source-summit-europe/attend/travel-funding/

Family Friendliness

[x] This event commits to Family Friendliness.

Q Does the Event provide childcare facilities for its attendees and speakers?
A Yes. The LF provides complimentary on-site childcare.
Q What are the other ways that a family-friendly environment is being created in the Event?
A Nursing room will be available on-site at the venue. As well, the LF has planned family friendly social events, including a boat tour, 5K Fun Run, and a tea bus tour. The CHAOSScon team also plans to host an informal family friendly outing after CHAOSScon, but the details are to be determined.
Q Provide relevant links related to family friendliness at the Event.
A Childcare: https://events.linuxfoundation.org/open-source-summit-europe/attend/child-care/. Family friendly social events: https://events.linuxfoundation.org/open-source-summit-europe/features/onsite-activities/

/result

/end


Multiday are events not spanning all days

Using your demo code for conveneince, when setting a start date and end date, the event only shows on the start date and doesnt span across all days.
I have tried with both the multiday tag and without.
This was previously working but I have recently upgraded to Livewire 3 and laravel 11 - So guessing it is somewhat related.
I am runing php 8.2.
public function events() : Collection
{
    return collect([
        [
            'id' => 1,
            'title' => 'Breakfast',
            'description' => 'Pancakes! 🥞',
            'date' => Carbon::today(),
            'end' => Carbon::tomorrow(),
        ],
    ]);
}

OR...
public function events() : Collection
{
    return collect([
        [
            'id' => 1,
            'title' => 'Breakfast',
            'description' => 'Pancakes! 🥞',
            'date' => Carbon::today(),
            'end' => Carbon::tomorrow(),
            'multiday' => true
        ],
    ]);
}

Yeah, there are definitely bugs with this, there are ways to get this working, but given the number of issues, and staleness, I doubt it'll get resolved.
I've just applied fixes locally on a private fork.

Thank you for pointing this out and trying to find a resolution. I don't have time to work on this currently but if you can find a solution and create a PR, I will look into merging that. If not, I'll try to look into this in the future. Thanks again.

@joshtorres  - I do have a solution for this, just need to look at how best to document the behaviour!

@lrljoe ok awesome. If you want to create a PR when you're ready, I'll look it over.

@joshtorres  - I'm in two minds about whether it should be a PR, or just some simple documentation to be honest!
At the moment, my (pretty simple) modification allows for:

Multi Day spanning events
E.g.
Event starts on Monday at 09:00
Runs 24/7 Until:
Event finishes on Wednesday at 17:00

Multi Day repeated events
E.g.
Event runs for 3 consecutive days, 09:00 - 17:00 each day

To do this smoothly I introduced these properties into the Events collection:

start_date
end_date
start_time
end_time

The only real change is over-riding getEventsForDay()
I've had to reduce the font-size to fit it clearly into a screenshot, but this demonstrates the behaviour:

@joshtorres - what do you think out of the following:
Option 1

Docs to explain how to extend the default behaviour, to enable:

Multi-Day Spanning
Repeat Events

OR
Option 2

Adding in a secondary Component that extends the base "LivewireCalendar" (e.g. LivewireCalendarExtended) and provides the approaches for:

Multi-Day Spanning
Repeat Events

Along with the relevant docs
OR
Option 3

Adding in backwards-compatible code that enables the new functionality, while not breaking anything existing, which would be a longer term approach, as people will have all kinds of deviations from the norm

I'm thinking just having Docs might be the best option, depending on how complicated it is. Since everyone won't need that functionality, it's probably not worth our time to reinvent it. If you want to do Option 2 so they have an example, that would be really nice and helpful, but having docs would already make it way better. Thanks!

Self prompt so it doesn't slip off my radar, I'll look to write the docs this side of xmas


UTF-16 Support

Encoding a file as UTF-16, either little or big endian, with or without a BOM, results in AG treating it as binary.
$ echo Hello > test.txt
$ ag Hello test.txt
1:Hello
$ emacs test.txt --batch --eval "(progn (set-buffer-file-coding-system 'utf-16) (save-buffer))"
$ ag Hello test.txt
$ ag --search-binary H.e.l.l.o test.txt
Binary file test.txt matches.

I've uploaded a test utf16.txt file here:
https://nemu.pointysoftware.net/sink/utf16.txt

... And here's one with a byte order mark (Specifically, utf-16le-with-signature-unix in emacs):
https://nemu.pointysoftware.net/sink/utf-16le-with-signature-unix.txt

If we support UTF-16, someone will want it to support UTF-16LE, then Windows-8859, and before long someone's asking for KOI8-R. Now we need some function, convert_any_encoding_to_utf8(), which might exist as some library but would slow ag down a lot - about 30% of ag's time is spent trying to detect just UTF-8, certainly detecting 10 different encodings would slow ag down a lot.
Now say you get a match. Better print out the line that matches, right? But it would be more accurate to print out the UTF-16 bytes, but that will probably break on your terminal (which almost universally expect UTF-8).
And, say your run
ag "$(cat search-utf16.txt)" utf-16.txt

well, search-utf16.txt is UTF-16, but that should be fine, right? Wrong, UTF-16 can contain \0, so you can't read it out of your char **argv, which are null-terminated.
I would say, a reasonable feature ag could have would be to see UTF-16 BOM and then assume the file is UTF-16. But that would require pulling in some unicode library, it's probably not worth it.
tl;dr - Encodings other than UTF-8 are fundamentally anti-unix. Just save your files as UTF-8.

I'm not sure that posix terminal encoding being UTF-8 discounts the existance of use-cases for UTF-16 files, though they're definitely rare.  I mean, sure, supporting another unicode encoding is a slippery slope to a navajo translation layer, but UTF-16 files are the preferred format for non-english localization files, which happen to be part of our codebase. Not all use-cases for grep-like tools are on small git repositories you have full control over :(
It would be nice, at least, if encountering a BOM emitted a warning that the file was skipped instead of silently searching it as UTF-8. When I originally made this bug it was because I spent some time confused as to why I couldn't locate a string that I knew was there before I back-filled that it was in a localization file and ag would silently ignore it.
I do agree that it is a pretty low priority request

Now we need some function, convert_any_encoding_to_utf8()
I don't think this is the right way to do that. The performance hit would be huge.
Instead, it'd be better to do it the other way around: Every time a new file encoding is encountered, transcode the search string into that new encoding; compile the regexp; and run it against the new file. Thereafter, we'd use one or the other compiled regexps depending on the subsequent encodings encountered.
This would be particularly useful for the Windows version of AG, which is likely to encounter 3 different text file encodings: ANSI, UTF-8 and UTF-16. Requiring Windows users to only use UTF-8 is not realistic.
Now UTF-16 is a particular case, that will cause further problems of its own: To run 16-bits regular expressions, we need the 16-bits version of PCRE. So ag would have to be linked with both the 8-bits and 16-bits versions of PCRE. This will require using prefixes to avoid name collisions.


Missing sbt-coursier for scala 2.11

Hey!
I was following readme and I encountered error:
coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
  io.get-coursier:sbt-coursier;sbtVersion=0.13;scalaVersion=2.11:1.0.0-RC3:
    not found:
      /Users/x/.ivy2/local/io.get-coursier/sbt-coursier/scala_2.11/sbt_0.13/1.0.0-RC3/ivys/ivy.xml
      https://repo1.maven.org/maven2/io/get-coursier/sbt-coursier_2.11_0.13/1.0.0-RC3/sbt-coursier-1.0.0-RC3.pom

It turns out that there is no sbt-courier released for scala 2.11. Any idea why is that?

All sbt 0.13 plugins are only built against Scala 2.11.
What you might have done is accidentally declared the scalaVersion in project/plugins.sbt (or project/plugins.sbt) to some version of Scala 2.11.x, e.g scalaVersion := "2.11.8". Removing that will fix this issue.

Thanks for the reply. I have specified scala version for the project in build.sbt:
scalaVersion := "2.11.11"

Now, somehow problem disappeared. Sorry for bothering you, I don't know what really "fixed" it.


Create rust.yml

cpanm YAMLScript$ pip install yamlscript
$ ys --install$ curl https://yamlscript.org/install | bashhttps://yamlscript.org/installgit clone https://github.com/yaml/yamlscript
cd yamlscript
make build
make installhttps://github.com/yaml/yamlscript. <(curl https://yamlscript.org/try-ys)https://yamlscript.org/try-ys)

This PR has no explanation I can find.


MB-3285 Finish renaming move order to order

Description
This completes the clean up work of renaming move order to order.
Reviewer Notes
Verify that the Prime and Support APIs are working as expected.
Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

Messages

:book:
:link: MB-3285

  Generated by :no_entry_sign: dangerJS against 911705ce9661872162a355ee9fa95bd10afa87d8

Oh also, there are a number of commented references to "move order" in some of the pkg/handlers files still. I didn't think that was a blocker, but just so you're aware.

Oh yeah, thanks for the reminder. I had been searching for "moveorder" without spaces and was meaning to do another pass with the space. I'll get those fixed as well.


Why am I always getting this error?

Description
Getting this error periodically. If I have a window open it will close it.

"An internal error occurred during: "Periodic workspace save.".
Cannot parse null string"
DBeaver Version
UE Version <IP_ADDRESS>409091031
Operating System
Sonoma 14.5
Database and driver
Currently using an oracle db on AWS RDS
Steps to reproduce
No response
Additional context
No response

It's been a while since there has been an update here. Please let me know if the issue is still present and provide additional information.


Use non-blocking communication in EDU code

Description
Using DMA and non-blocking functions for the serial interfaces means that the higher level code will also most likely change, since we now have to explicitly wait (suspend the thread) while the communication is going. This should also be coupled with timeouts.

Blocked by #183 and #38


The authorization grant is invalid

Hi, thanks for creating this useful project!
I implemented this strategy and I'm getting the following issue
{"status":"failure","code":283,"data":"Invalid Application ID","message":"The authorization grant is invalid","endpoint_name":"oauth_connect"}

I did provide both the app ID and app secret

Just saw that it's not maintained anymore


Default runtime 0.5.0

Description
Update to runtime 0.5.0 since 0.4.3 does not work with latest zoning changes.
Note: if this gets merged in, the LaunchSpatial.bat scripts in the engine and example project should also update their runtime_version argument accordingly.

Done in https://github.com/spatialos/UnrealGDK/pull/2447


zstdmt in the high-level API and possible zstd-sys release issue

I'm trying to use multi-threaded compression from the high-level API (specifically zstd::stream::read::Encoder's multithread() method), but the zstdmt feature of zstd-safe and zstd-sys isn't "exported" up to the high-level zstd crate.
Request: could you add the zstdmt feature to the zstd crate that turns on zstd-safe/zstdmt (and thus zstd-sys/zstdmt)?
To work around that, I added this to my Cargo.toml's dependencies, which is clunky but ought to work anyway.
zstd = "0.5.2"
zstd-safe = { version = "2.0.4", features = ["zstdmt"] }

This is where things get weird.
Building with cargo build -vv I can see that the zstd C code is getting compiled with -pthread, but the -DZSTD_MULTITHREAD= option from https://github.com/gyscos/zstd-rs/pull/84 is missing, and I can't figure out why.
According to Cargo.lock, I'm building version 2.0.4+zstd.1.4.5 of zstd-sys, which was added in commit 0be78635723e9fe2dce6556455309ab240956925 of this repo and contains commit 3b83579b3a8b4e1d6e841fa5eb6252d4c81af040 from #84. That seems good, but the build.rs fix isn't actually in the code that cargo is downloading and building from crates.io.
I looked in cargo's registry cache and ~/.cargo/registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.4.16+zstd.1.4.5/.cargo_vcs_info.json says that the git revision is ad9ee49769fce9cd540330873da11624db826389, a commit that doesn't actually exist in this repo.
I'm really confused, how are these versions out of sync?
If I ignore crates.io and point directly to the git repo for all 3 crates, or clone zstd-rs locally and use a path in Cargo.toml, it works.
zstd = { git="https://github.com/gyscos/zstd-rs", rev="0be7863" }
zstd-safe = { git="https://github.com/gyscos/zstd-rs", rev="0be7863", features=["zstdmt"] }
zstd-sys = { git="https://github.com/gyscos/zstd-rs", rev="0be7863", features=["zstdmt"] }

Thanks for the report!
It does look like a weird release issue. Will re-release zstd-sys as 1.4.17 and yank the previous one, hopefully that'll fix things.

Woah, awesome response time, thanks! I guess I'm not the only one up late coding on a saturday night ;)
I built the new version and zstd = { version="0.5.3", features=["zstdmt"] } works as expected.


model_profile provided with extra argument in main.py

Describe the bug
https://github.com/ThanatosShinji/onnx-tool/blob/main/onnx_tool/__main__.py#L93
To Reproduce
Just run a model profile with the main.py like: python3 -m onnx_tool -m profile -i model.onnx

Do you mean need more args for model profile using from console?

No, you need to remove , dump_outputs=args.names to make it work, otherwise you're providing an extra argument into that function call


Missing vendor prefixes with styled-jsx

Have to add https://github.com/giuseppeg/styled-jsx-plugin-postcss plugin and postcss for this.

Have to review. Would be very sweet to either get rid of styled-components and use this (because the source maps are way nicer) or find out if it is possible.


how do I get the images300_array? and When I run the generate_adm.py file, my processing progress is 0

When I reproduce the IU X-ray dataset and run main.py, how do I get the images300_array? The following error has occurred. When I run the generate_adm.py file, my processing progress is 0. Is this file capable of processing both data sets?

When I reproduce the IU X-ray dataset and run main.py, how do I get the images300_array? The following error has occurred. When I run the generate_adm.py file, my processing progress is 0. Is this file capable of processing both data sets?

You can use generate_adm.py to generate masks, or you can download the data we generated from https://huggingface.co/ShenshenBu/EKAGen/tree/main.


error with msys

Describe the bug
when i try to install for example cpr i get this error :/
Environment

OS: windows 10

Failure logs
error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: msys: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))
error: database 'msys' is not valid (invalid or corrupted database (PGP signature))

describe all your actions, from the beginning of use vcpkg to the error
all in detail !

I think this is still an issue from the keyring update, so removing the cached msys version should solve it

@iiAndre, could you remove ./downloads/tools/msys folder and try to build the port again?

This issue has been fixed, if you try above steps, it should pass.

i will try thanks

downloading mingw64.db...
downloading mingw64.db.sig...
error: mingw64: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: failed to update mingw64 (invalid or corrupted database (PGP signature))
downloading msys.db...
downloading msys.db.sig...
error: msys: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: failed to update msys (invalid or corrupted database (PGP signature))
error: failed to synchronize all databases
-- Acquiring MSYS2... OK
-- Acquiring MSYS Packages...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: C:/src/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc -c "pacman -S --noconfirm --needed pkg-config"
Working Directory: C:/src/vcpkg/downloads/tools/msys2
Error code: 1
See logs for more information:
C:\src\vcpkg\buildtrees\zlib\msys-pacman-x86-windows-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_acquire_msys.cmake:127 (vcpkg_execute_required_process)
scripts/cmake/vcpkg_fixup_pkgconfig.cmake:281 (vcpkg_acquire_msys)
ports/zlib/portfile.cmake:46 (vcpkg_fixup_pkgconfig)
scripts/ports.cmake:79 (include)

still got this


Refactoring and cleaning the code

Import only necessary rxjs operators

[ ] Get rid of subscriptions, use rxjs takeUntil operator instead
[ ] Use lower case for injected service instances
[ ] Get rid of private modifiers, use them only for service instances
[ ] Use async pipe where possible
[ ] Make linters pass
[ ] Make aot compiler work


When trying to use your tests / examples, there are no *.toml files in the repo

Would be nice to see what the tests are trying to confirm against  please ?

Here it downloads toml-lang/toml at v0.5.0 because it contains a useful example toml file.
https://github.com/ToruNiina/toml11/blob/master/tests/CMakeLists.txt#L9-L17
Very recently toml-test becomes a part of toml standard, so maybe we can remove this (unclear) test in the near future.


⚠ Turnos 24x7 has degraded performance

In 6377198, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1049 ms

Resolved: Turnos 24x7 performance has improved in 3697177.


CrashLoopBackOff in Rancher

Hi. I have an issue running alb-ingress-controller on Rancher.
I've done everything like in README and my pod is unhealthy. Here is what I see in logs:
I0504 14:34:08.809359       1 launch.go:112] &{ALB Ingress Controller 1.0-alpha.9 git-a01b40ac git://github.com/coreos/alb-ingress-controller}
I0504 14:34:08.809587       1 launch.go:282] Creating API client for https://<IP_ADDRESS>:443
I0504 14:34:08.820374       1 launch.go:295] Running in Kubernetes Cluster version v1.10 (v1.10.1) - git (clean) commit d4ab47518836c750f9949b9e0d387f20fb92260b - platform linux/amd64

After that I have an error.
Here is kubectl get po --all-namespaces:
cattle-system   cattle-cluster-agent-7bd646566f-p5wgw     1/1       Running            0          1d
cattle-system   cattle-node-agent-cmb8n                   1/1       Running            0          1d
default         2048-deployment-5664c74dcc-8phsh          1/1       Running            0          6m
default         2048-deployment-5664c74dcc-tg8q6          1/1       Running            0          6m
ingress-nginx   nginx-ingress-controller-kb57t            1/1       Running            0          2h
kube-system     alb-ingress-controller-7f6fb954bb-9r4gp   0/1       CrashLoopBackOff   4          2m
kube-system     canal-fqpmq                               3/3       Running            0          1d
kube-system     default-http-backend-7ff44df5b7-r9f7v     1/1       Running            0          2h
kube-system     kube-dns-7dfdc4897f-nbvk7                 3/3       Running            0          1d
kube-system     kube-dns-autoscaler-6c4b786f5-5ks4t       1/1       Running            0          1d

Also here is service output kubectl get svc --all-namespaces:
NAMESPACE       NAME                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)         AGE
default         kubernetes             ClusterIP   <IP_ADDRESS>       <none>        443/TCP         2h
default         service-2048           NodePort    <IP_ADDRESS>   <none>        80:32329/TCP    8m
ingress-nginx   default-http-backend   ClusterIP   <IP_ADDRESS>      <none>        80/TCP          1d
kube-system     default-http-backend   ClusterIP   <IP_ADDRESS>   <none>        80/TCP          2h
kube-system     kube-dns               ClusterIP   <IP_ADDRESS>      <none>        53/UDP,53/TCP   1d

Please help me to understand whats wrong with my setup.
Thanks

If you run the following command it will tell you why its in CrashLoopBackOff
 kubectl describe pod alb-ingress-controller-7f6fb954bb-9r4gp

There are newer images available, try using either tag 82b0003 or latest

It was happened because I have k8s with RBAC and when I updated my manifest file with RBAC everything became good. I think it will be great if you add to examples configuration of ALB-ingress-controller with RBAC setup.
Now everything work good. So we can close the issue.

Would you mind either submitting a PR with those required RBAC changes or dumping them in here so I can make sure a working set is added?

Ok. Will do.

#414

Thanks @Dgadavin, can you sign the CLA?

@bigkraig Done.


Update code and tests for pandas >= 1.1.0

@frreiss I skipped most of the new tests added for now, some will need to be fixed later. Tests passing now and I confirmed CI installed Pandas 1.1.0 https://travis-ci.com/github/CODAIT/text-extensions-for-pandas/builds/179617623#L574


HOMS-455 Drop enzyme dependency & update jest

We probably have to add some tips to the README about testing with snapshots


Email Template me image , gif insert ka option chahiye (By Sir)

Email Template me image , gif insert ka option chahiye.
abhi nhi hai ck editor me,
possible ho to App template me bhi chahiye

Email Template Approved,
Image Option already he on Notification Template

Aur inline Image possible nai he


Converting simple route function

So i just switched to Koa from Express, and started with Koa2, and the warning i get is
Support for generators will been removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/tree/v2.x#old-signature-middleware-v1x app.js:14:5
for a simple route function like
app.use(route.post('/api/test', function*() {
    this.body = 'Post';
}));

So i documentation it says to use co, installed it but not sure how to properly use co on this kind of function like:
app.use(co.wrap(route.post('/api/test', function*() {
Or am i getting this wrong? Also maybe one example for basic function would be great in documentation but not sure if belongs to co or koa?

@arcanewater have you been able to read through https://github.com/koajs/koa#koa-v2 yet? You should be using the async keyword with Koa2 or you can use the koa-convert module (https://github.com/koajs/convert) to use generator functions with Koa2.

@dougwilson Thanks! Gonna read through that. So also this app.use(route.post)) should all be async?

Read the thing bro
On Sep 26, 2016 2:16 PM, "Luka"<EMAIL_ADDRESS>wrote:

@dougwilson https://github.com/dougwilson Thanks! Gonna read through
that. So also this app.use(route.post)) should all be async?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/koajs/koa/issues/822#issuecomment-249496213, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AO8QO8nav5DfPlvVFhhu8znDgxnOk_aXks5qt3FigaJpZM4KGMDF
.


If you use the default store, when the span data will be cleared

What kind of issue is this?

[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn't working the way you expect it to, use Gitter
or Stack Overflow. https://gitter.im/openzipkin/zipkin https://stackoverflow.com/questions/tagged/zipkin

[ ] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests
get fixed and stay fixed. If you have a solution in mind, skip raising an issue and open a
pull request instead.

[ ] Feature Request. First, look at existing issues to see if the feature has been requested
before. If you don't find anything, tell us what problem you’re trying to solve. Often a
solution already exists! Don’t send pull requests to implement new features without first
getting our support. Sometimes we leave features out on purpose to keep the project small.

Hi, oldest data is dropped when the span count goes over 500K (by default).
Next time, please join gitter or use stack overflow for questions!
https://github.com/openzipkin/zipkin/blob/4c939617a92dada9e25bff5e11f793129c9f4b3a/zipkin-server/src/main/resources/zipkin-server-shared.yml#L57


Add missing keyword highlighting

BULK COLLECT
For support.function.builtin.advanced.oracle suggest replace
collect
with
(bulk\s+)?collect
treat IS NULL and IS NOT NULL as constants
For constant.language.oracle suggest replace
true|false|null|
with
true|false|null|is\s+(not\s+)?null
Support UNIQUE
For keyword.other.ddl.oracle suggest replace
unique index
with
unique(\s+index)?
Support STORAGE options
For keyword.other.ddl.oracle suggest add
storage|tablespace|pct(free|used)|(init|max)trans|logging
CURRENT USER
For support.function.builtin.advanced.oracle suggest replace
user
with
(current\s+)?user

Also suggest replacing any hard-coded single space characters in the regex patterns with \s+
e.g
primary key
with
primary\s+key

Fix in version 1.3.3


Fixed bug where Credential#fromProtobuf would ignore an IdToken present in the protobuffer

Fixed bug where Credential#fromProtobuf would ignore an IdToken present in the protobuffer
Refactored ValidCredential to shared TextFitxures class

Codecov Report

Merging #59 into master will increase coverage by 0.09%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #59      +/-   ##
============================================
+ Coverage     71.49%   71.59%   +0.09%
- Complexity      435      436       +1
============================================
  Files            60       60
  Lines          2421     2422       +1
  Branches        247      247
============================================
+ Hits           1731     1734       +3
+ Misses          619      618       -1
+ Partials         71       70       -1

Impacted Files
Coverage Δ
Complexity Δ

...rotocol/java/org/openyolo/protocol/Credential.java
89.89% <100%> (+2.14%)
17 <0> (+1)
: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 a49f2af...faea68d. Read the comment docs.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 79 ms

Resolved: ClamAV performance has improved in dab203b after 6 minutes.


Framework not working using with pod or manually

Tipo de componente utilizado
1: Using pod as suggested:
source 'https://github.com/CocoaPods/Specs.git' use_frameworks! platform :ios, '8.0' pod 'MercadoPagoSDK', '3.7.2'
2: Downloading manually as suggested
3: Trying to create a fat framework using the file in the MarcadoPagoSDK folder
Comportamiento Esperado
1: Being able to import the library
2: Being able to import the library
3: Being able to import the library or build the framework
Comportamiento Actual
1: I am not able to use the version 3.7.2 in pod file. It doesn't find tis version. I had to install the version 3.7.0. After using pod to install the version 3.7.0 and opening the workspace I cannot import it. It doesn't show the SDK to import
2: Something. After following al the steps suggested to use it downloading manually, I cannot import the SDK. It doesn't show to import
3: First I was being able to build it successfully and I was able to import the .framework to my project but when I tried to find MercadoPagoContext it didn't appear. The only thing that appeared was a function to detect the MercadoPagoVersion
Now when I try to build the framework again it shows me this message:
`** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)`

Hi @guidupas . Please, try with the version "3.7.4"

Hi @juansanzone . I had tried already but I tried again now and it didn't work again.
Podfile

project 'TesteMercadoPago.xcodeproj'
target 'TesteMercadoPago' do
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
platform :ios, '8.0'
pod 'MercadoPagoSDK', '3.7.4'
end

Pod result

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "MercadoPagoSDK":
In Podfile:
MercadoPagoSDK (= 3.7.4)
None of your spec sources contain a spec satisfying the dependency: MercadoPagoSDK (= 3.7.4).
You have either:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

i had the same problem when i use MercadoPagoSDK with CocoaPods don't let me to run my project because found errors on MercadoPago i had to review those errors manually but neither work

Hello @G1L21088 . The same with me here. I even tried to download all the packages separately, compile them individually, create the frameworks and settle all together but the MercadoPagoSDK has a lot of errors. I wasn't able to get it working.

Hi @guidupas i resolve this bunch of errors and some more that the compiler show later.

But i get stuck when this error appear on Objective-C document with extension .m

Same here. Cant run the project with all these errors

This project doesn't support Swift 4. As a temporary fix you must override it's settings to use swift 3.3
If you are using cocoapods you can find this under your Pods.xcodeproj