How can i deploy my adminjs project in cpanel

Hello @dziraf , Can you please suggest how can i make a build for my adminjs project, and deploy it to my cpanel server

Honestly no idea, I've never used CPanel

Hi! Any idea how to deploy AdminJS to cpanel? Thanks!


Please update the jquery.dataTables definition

The current definition file is for v1.9.4 dated 6/2014 but the current version of jquery.dataTables is 1.10.4 dated 11/2014.
Thank you.

+1 for updating the definitions. I'm not able to update it myself, but if I can be of any help, please let me know.

+1 here as well!

File jquery.dataTables-1.9.4.d.ts is for version 1.9.4. File jquery.dataTables.d.ts is intended for current version. I have been working on bringing it up to date. It is currently at 1.10.7, with additional fixes by other contributors. When my current PR for 1.10.8 is accepted, I'll move on to 1.10.9 and later.

by #11718


[DO NOT MERGE] Update visa page

Updates the visa page with the new form (2024). The PR should be merged after the sales for 2024 are open.

I wonder if it might be useful to add a line somewhere encouraging folks requiring visas to check and secure appointment slots well in advance, due to the high demand many experienced last year.

I wonder if it might be useful to add a line somewhere encouraging folks requiring visas to check and secure appointment slots well in advance, due to the high demand many experienced last year.

Edited!

@hypha accepted your suggestions!


Code Documentation

There is very little documentation available for the source code. As such, the source is highly difficult to understand and interpret by others. Please consider adding in appropriate documentation as soon as possible.

And yet, because it is written in C, it is still easier to understand than the utter mess going on in Minetest source code.

I find the code fairly readable to be honest (and I'm coming from a c++ background). Yes it's very long-winded in places but try breaking things into chunks in your mind.

Unfortunately this project seems to be dead.

@dabockster I am helping a person just out of high school learn C, and they find it very easy to read. IMHO, including comments within the code would lead to disconnects and bloat the line number count, discouraging people to read the actual C language.
@crazyBaboon the project is not dead. The maintainer has been accepting PRs. What I think is happening, is that he simply disregards issues that should be addressed by the same posters (e.g. if my proposal would be to have documentation, then I would offer a PR with .md files).


Is Turtlebot4_robot a package in the Ubuntu repos?

I am having an issuing installing turtlebot4_robot on Ubuntu 20.04 so that I can launch the turtlebot4 bringup.
Is the intent to have a package like "ros-galactic-turtlebot4-robot" or something like "ros-galatic-turtlebot4-bringup"?
...or is the intent to have a different installation processs?

turtlebot4_robot has not yet been released as we are waiting for the depthai-ros packages to be released. In the meantime you can build it from source by creating a workspace, cloning this package into the source folder, and building the workspace.

See https://turtlebot.github.io/turtlebot4-user-manual/software/turtlebot4_packages.html#source-installation-1

Wonderful, that is the answer that help the most.  Thank you for the super-quick reply. Cheers.

turtlebot4_robot is now available on the ros2-testing package server, and will be on the ros2 package server with the next Galactic sync.


Kalimdor Balance

Druids:

Overall effective health of units reduced from between 11.25%-15% to 8%-10%.

Reduce immortality chance 25% -> 20%.
Reduce immortality heal 45% -> 40%.

Druid elite nova specific target damage down 50 -> 40.
Cenarius movespeed aura reduction down 6/12/18/24 -> 5/10/15/20.
Druid starting goldmine value down 1000 -> 800.
Mountain giants heal down 400 -> 250.

Sents:

Archer barrage hero aim potential lower, but slightly better against groups.

Damage 50 -> 40
Max damage 200 -> 240
AoE 100 -> 125
Cooldown 20 -> 40

Elite movespeed ability down 25% -> 20%.
CP aura movespeed down 24% -> 10%.
Naisha base health down 350 -> 200.
Maeiv base health up 150 -> 250.
First goldmine amount down 900 -> 800.
Second goldmine amount down 800 -> 600.

Draenei:

Velen movespeed aura down  5/10/15/20 -> 4/8/12/16.

Warsong:

Grom health increased

Starting strength increased 22 -> 30.
Strength growth down 3.3 ->3.0.
Base health 240 -> 300.

Frostwolf:

Thrall aura value increased 10% -> 20%.
Doomhammer roar value decreased 50% -> 30%.

General:

Zul'farrak movement speed aura up 10% -> 20%. (tooltip was incorrect at 15%.)

Nerf nova single target damage to 35
Barrage cooldown to 30
Barrage max damage stays the same
CP aura movespeed down 24% -> 10%. this is much too low for a unique mechanic

Looks fantastic to me, but I'll test this in game before I merge.


Combine and reuse translations for keyboard shortcuts

Using i18next's "nesting" and "interpolation" features should reduce the overall number of strings to translate, as well as provide a standardized pattern for shortcut tooltips (if applicable).
Note that this approach is still allowing for flexibility regarding differently structured sentences in each language.
Resolves #315
Bonus commits:

Run yarn lint, yarn prettier and yarn build i18next
Add warning regarding yarn build i18next / gulp i18next
Switch to next tab with Shift+T shortcut even if tab is currently closed

Thanks!


setTargetHeatingCoolingState() sets current instead of target heating state

Line 161:
this.service.getCharacteristic(Characteristic.CurrentHeatingCoolingState).updateValue(value)
should update the Characteristic.TargetHeatingCoolingState value like it advertises in line 160:
this.log('Set targetHeatingCoolingState to: %s', value)

Good suggestion, but I feel this will be better solved with a change to a _getStatus function call instead after any target API calls. See your other issue #13 for more details.


Requirement to handle the getOrderItemsBuyerInfo operation

Which API - Endpoint is your request about.
I need the information returned by this API call: getOrderItemsBuyerInfo
Additional context
I have made the change on a local version but not certain on the protocol for adding this as a PR. Pretty simple change to orders.py

The endpoint is available in v0.1.6


Boot QEMU in UEFI mode

Related: rhbz#1775698
This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change

Already covered in test/cases/libvirt.sh, Jenkins jobs "XX Integration".


Directory tree not available as soon as target dir is reported as mounted (rclone mount)

What is your rclone version (eg output from rclone -V)

rclone v1.38-DEV

os/arch: linux/amd64
go version: go1.9.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Fedora 27 x64

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount -vv --allow-other --default-permissions --cache-mode writes --log-file=/tmp/rclone.log gd: $1 &"
It seems that the directory tree is not available as soon as the target directory is reported to be mounted.
I am automounting using /etc/fstab in this way:

gdfuse           /Drive/.remote  fuse    uid=1000,gid=500,user,_netdev   0 0
gocryptdrive    /Drive/remote   fuse    uid=1000,gid=500,user,_netdev,x-systemd.requires=/Drive/.remote   0 0

This works with google-drive-ocamlfuse. The x-systemd.requires parameter makes it so the second script is called when the directory passed is actually mounted.
In rclone mount case, the second script calling gocryptfs, fails with gocryptfs complaining that the cipherdir mountpoint (/Drive/.remote/cipherdir) is not available.
My workaround is to add a "sleep 3" to the gocryptfs script but that is basically an unreliable hack heh.

Nobody likes random sleeps ;-)

The x-systemd.requires parameter makes it so the second script is called when the directory passed is actually mounted.

How does that actually work?  The only mechanism I'm aware of was the one added in d8b3bf014db1d3bf3eaa0f552e5ef8983c11f23a in?
rclone mount doesn't fork into the background like most mount programs so I think that little & is causing your problems...
It might be that what you want to do is run
rclone mount -vv --allow-other --default-permissions --cache-mode writes --log-file=/tmp/rclone.log gd: $1 &"
But then don't continue until the mount point is mounted something like
while [ "ls /mount" = "" ]; do sleep 1 ; echo "waiting for mount"; done
You could also mount stuff with systemd which will use notify
# cat /etc/systemd/system/rclone-mount.service
# Rclone mount on boot ( service file template - add aditional rclone parameters )
# Copy file to: /etc/systemd/system
# Set remote name (current acdcrypt), path to mount and User,Group (current plex)
# Register new service by typing:
# sudo systemctl daemon-reload
# sudo systemctl enable rclone-mount.service
# systemctl start rclone-mount.service
# systemctl enable NetworkManager-wait-online.service
# Usage:
# To unmount drive use
# systemctl stop rclone-mount.service
# To mount use:
# systemctl start rclone-mount.service

[Unit]
Description=rclone mount
Documentation=http://rclone.org/docs/
After=network-online.target

[Service]
Type=notify
User=www-data
Group=www-data
ExecStart=/usr/bin/rclone mount -v remote:path /mnt/mountpoint
ExecStop=/bin/fusermount -uz /mnt/mountpoint

[Install]
Wants=network-online.target

File systems mounted in /etc/fstab are handled by systemd anyhow (on systems with systemd of course :)). They are also initiated in parallel because of systemd and not sequentially like in the init era and this is what "x-systemd.requires" was implemented to solve.
"x-systemd.requires" is essentially the equivalent of a Requires= + After= statements in a systemd unit that bind to the equivalent .mount systemd unit that handles the mountpoint.
See here: https://www.freedesktop.org/software/systemd/man/systemd.mount.html
What I am not sure is if you can actually use the same mechanism (notify) for this as well.
I had tried of using systemd units before but google-drive-ocamlfuse was not behaving very nice with it creating quite a bit of stalling both on boot and shutdown (one of the many things it was not behaving nice with :p) .
I will test again with systemd units and get back to you. In fact I prefer using systemd units because it handles stdout/stderr automatically as well.

Working great with systemd units. If anyone is interested in the configuration for proper dependecies with rclone+gocryptfs this is the setup I used which can be edited accordingly for your need:

cat /etc/systemd/system/rclone-mount.service

Rclone mount on boot ( service file template - add aditional rclone parameters                                                                                )
Copy file to: /etc/systemd/system
Set remote name (current acdcrypt), path to mount and User,Group (current plex                                                                                )
Register new service by typing:
sudo systemctl daemon-reload
sudo systemctl enable rclone-mount.service
systemctl start rclone-mount.service
systemctl enable NetworkManager-wait-online.service
Usage:
To unmount drive use
systemctl stop rclone-mount.service
To mount use:
systemctl start rclone-mount.service
[Unit]
Description=rclone mount
Documentation=http://rclone.org/docs/
Requires=local-fs.target network-online.target
After=local-fs.target network-online.target
Before=gocryptdrive.service
[Service]
Type=notify
User=user_name
Group=group_name
ExecStart=/usr/local/bin/rclone mount -vv --allow-other --default-permissions --                                                                                cache-mode writes --log-file=/tmp/rclone.log gd: /Drive/.remote
ExecStop=/bin/fusermount -zu /Drive/.remote
[Install]
WantedBy=network-online.target
Wants=gocryptdrive.service
and:

[Unit]
Description=gocryptfs Mount Unit
Requires=local-fs.target network-online.target rclone.service
After=local-fs.target network-online.target rclone.service

[Service]
Type=forking
User=user_name
Group=group_name
ExecStart=/usr/local/bin/gocryptfs --allow_other --noprealloc -passfile /home/user_name/.gdcrypt /Drive/.remote/cipherdir /Drive/remote
ConditionPathIsDirectory=/Drive/.remote/cipherdir
ExecStop=/bin/fusermount -zu /Drive/remote
Restart=on-failure
RestartSec=5
[Install]
WantedBy=rclone.service

Very interesting - thank you!
I'll close this now as I think we've found a satisfactory solution.

I'm closing this. Not sure if you want to check if the notification can be implemented in general but you can reopen if that is the case.


change github url in setup.py

https://github.com/jdereus/LabControl/blob/b4ee5c60549c504a0b10c2490669c9c0dfdd970c/setup.py#L39
The setup.py currently uses the old url. The old url currently redirects to the new url, so it seems low priority, but I imagine it would be ideal to update this string to 'https://github.com/jdereus/labcontrol'

Thanks! Known issue. We're waiting for ownership of LabControl to change from jdereus to biocore before changing this last bit.

@gwarmstrong Once the project changes ownership, go ahead and submit a PR. Thanks!

@charles-cowart will do!

Thanks George and Charlie! Just adding on here—I briefly investigated this the other day, and there are a few other places (some user-facing in the GUI) that should probably be changed (comments probably aren't super important, but the main ones are the README and HTML template files).
.../LabControl$ grep -ri "jdereus\/labman" *
labcontrol/gui/templates/sitebase.html:
Tutorial

labcontrol/gui/templates/sitebase.html:        Questions? Open an issue in our GitHub repository.
labcontrol/gui/templates/error.html:
Please copy the following into an issue in our github repository

labcontrol/db/process.py:                # refer to https://github.com/jdereus/labman/issues/324
labcontrol/db/process.py:                # See also: https://github.com/jdereus/labman/issues/507
README.md:git clone https://github.com/jdereus/labman.git
setup.py:      url='https://github.com/jdereus/labman',

Thanks George and Charlie! Just adding on here—I briefly investigated this the other day, and there are a few other places (some user-facing in the GUI) that should probably be changed (comments probably aren't super important, but the main ones are the README and HTML template files).
.../LabControl$ grep -ri "jdereus\/labman" *
labcontrol/gui/templates/sitebase.html:
Tutorial

labcontrol/gui/templates/sitebase.html:        Questions? Open an issue in our GitHub repository.
labcontrol/gui/templates/error.html:
Please copy the following into an issue in our github repository

labcontrol/db/process.py:                # refer to https://github.com/jdereus/labman/issues/324
labcontrol/db/process.py:                # See also: https://github.com/jdereus/labman/issues/507
README.md:git clone https://github.com/jdereus/labman.git
setup.py:      url='https://github.com/jdereus/labman',

Just beat me to it! :) Yes, there's a few other places as well. In fact, if you search on dereus, there are a few more locations that should be changed:
LICENSE:Copyright (c) 2017, jdereus
README.md:git clone https://github.com/jdereus/labman.git
labcontrol/gui/templates/sitebase.html:                  Tutorial
labcontrol/gui/templates/sitebase.html:        Questions? Open an issue in our GitHub repository.
labcontrol/gui/templates/error.html:  Please copy the following into an issue in our github repository
labcontrol/db/sheet.py:                # refer to https://github.com/jdereus/labman/issues/324
labcontrol/db/sheet.py:                # See also: https://github.com/jdereus/labman/issues/507
labcontrol.egg-info/PKG-INFO:Home-page: https://github.com/jdereus/labman
labcontrol.egg-info/PKG-INFO:Author-email<EMAIL_ADDRESS>labcontrol.egg-info/PKG-INFO:        git clone https://github.com/jdereus/labman.git
setup.py<EMAIL_ADDRESS>setup.py:      url='https://github.com/jdereus/labman',
I have to do some investigation regarding copyright and authorship, but the GitHub location can be changed once the ownership of the repo moves to biocore.. Will update this issue as we get more word on copyright.


[FIX] Changed created to creating

Fixed bug in models TelegraphBot and TelegraphChat.

@rzkhrv thanks for your contribution 🙌
Would you mind to fix failing tests?

ok


Stack implementation using Doubly Linked Lists | C

Implement Stack using Doubly Linked Lists in C
Type of Issue -

[x] Adding New Code

Programming Language

[x] C

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding,

I would like to be assigned for this. I already have the worked out the code, and I will immediately raise the PR. Thanks!

@div-bargali Can you please assign me this issue, I forgot to add myself as an assignee. I already have the commit read to be raised as a PR. If you could add me, I will immediately raise the PR. Thanks, man!

Interested to work on this.

@Shreyas-Gupta-21 I have already worked on it and I've raised a PR as well. Here's my PR: #749


Make error loc of CFA optional, add targetloc argument to CLI tool

This PR makes the final/error locations of the CFA optional. The motivation behind this is that (1) not all algorithms are interested in them, and (2) sometimes it can be desirable to check multiple queries for the same CFA. The CLI tool was extended in a way that it can accept a --targetloc argument. If the argument is given, that location is treated as error, otherwise we fallback to the old solution, namely looking for the error loc in the CFA. This makes the solution backward compatible. See #29 for more information
@as3810t Can you play around a bit with this version?

@as3810t as we discussed, I renamed --targetloc to --errorloc as currently the terminology of the algorithms and internal APIs revolve around error locations and safety.


Try segmentation by color as a first step for target detection instead of a NN object detector

@Dat-Bois can you expand on this and estimate when you'll get it done by?

Un-assigning this since we talked about it and this isn't possible with just a script, we need to modify the label generation as well to give us letter bounding boxes since they're different from the shape ones.


TypeError: Response body object should not be disturbed or locked

Thanks for this awesome library!
It's been working well, but today I started seeing the following error when I return new Response(stream) from a Next 13 route handler:
TypeError: Response body object should not be disturbed or locked

It will always return successfully the first time, but on any subsequent attempt to invoke the route, I get the error about the response body.
I'm unfortunately not very experienced with returning a ReadableStream via a Next, so I was hoping someone might see an obvious flaw in my Next 13 Beta (/app directory) route handler. However, I'm not doing anything different than your docs show:
import { type NextRequest } from 'next/server'
import { OpenAI } from "openai-streams";

export const runtime = 'experimental-edge'; // Run on Edge Functions

export async function POST(request: NextRequest) {
  try {
    const stream = await OpenAI(...)
    return new Response(stream)
  } catch (error) {
    console.error(error)
  }
}

I'm invoking this route handler on the front-end by using the useTextBuffer hook from your nextjs-openai library.

Thanks for opening this. No, your pattern looks correct, this seems to be our bug.
Upgrading nextjs-openai and openai-streams does not resolve the issue?

We'll get this figured out, but I might need to press you for a reproduction (either a repro or a Replit); the demo uses the standard text buffer and StreamingText but seems to have no issues:
https://github.com/gptlabs/nextjs-openai/blob/master/src/pages/index.tsx
https://nextjs-openai.vercel.app

Ah, figured it out. Somehow I was on an older version (though I installed recently). It was returning the raw JSON deltas from OpenAI, so I had a custom ContentFilterStream that I was piping your stream through to get just the text content out of the JSON as each token streams in. Apparently, that was causing the issue because the filter was persisting across API calls.
Thanks for rubber ducking and thanks again for the library. Also your twitter is 🔥 . Closing this one.


Stretch Image

Hello,
I have to stretch Image instead of mantein aspect ratio. How I can do this in RichCanvas?
Thank you very much
Best regards

Hello,
You would probably want to set this: : Stretch="Fill" on the Image Control in your DataTemplate.
Let me know if that solves it.
Thank you

Thank you very much. It works properly.


custom interpolation

I need to interpolate (wave) forces on a ship between headings and/or frequencies.
heading and frequency are both dimensions.
force is a phase + amplitude pair.
What I would normally do is linear interpolation of the force amplitude and linear interpolation of the unwrapped phase.
Interpolation of the amplitude works fine, but interpolation of the phase is troublesome because I can not unwrap the phases in two dimensions (heading and frequency) at the same time.
A solution that I can think of is storing the phase as a complex number, interpolate that, and then get the phase of the interpolated value. But calculating the angle (phase) from the interpolated values would be slow and it feels like a workaround rather than a good solution.
It would be great if I could pass a custom interpolation function to the interpolate method to use instead of scipy.interpolate.interp1d. But as far as I can see this is not (yet) an option.

For now you probably want to apply your chosen interpolation method using xarray.apply_ufunc. The documentation on wrapping custom computation using apply_ufunc is here. (You might also be interested on an upcoming tutorial on exactly this topic too.)


Downloader - Silent crash

When gRPC receives data which overflow max allowed buffer size causes a silent crash (on windows) or a terminate (on Linux) with following message

Fixed by PR #742


Error when running

ERROR: FATAL: Condition "slot_count == (1 << 24)" is true.
at: add_instance (core/object/object.cpp:1965)
Illegal instruction (core dumped)

Program runs for a few seconds loading then crashes with this. Arch Linux using latest build

Hi,
sorry for the late answer, but could you retry it with the most recent version?


Ensure the infrastructure to implement SAS tokens

This feature request is not to implement SAS tokens themselves, but to make sure that they can be implemented as a apart of the corresponding client
https://github.com/Azure/azure-sdk-for-cpp/issues/5

https://github.com/Azure/azure-sdk-for-cpp/pull/212 shows that a ClientSecretCredential and a corresponding policy can be made working, from top to bottom. Individual clients, it they have their own types of credentials, should implement their own types of credentials and corresponding HttpPolicies for them, accept the specific credential in constructor (or otherwise), and then construct the pipeline according to the concrete class of the credential being accepted - the way it is done in other SDKs. For example see how StorageSharedKeyCredential is implemented in .NET SDK: BlobSreviceClient takes it as one of the parameters. StorageSharedKeyCredential does not derive from any common class (becase there's nothing it TokenCredential, for example, that it could reuse; otherwise inheritance is fine)


[BEAM-13412] [Bugfix] [Playground] fix playground frontend licences

I fixed the playground frontend build.

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

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

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

GitHub Actions Tests Status (on master branch)

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

LGTM thanks!


Add EIP 998 to Token Standards Ring

Please add EIP 998 to the list of token standards:  https://github.com/ethereum-magicians/scrolls/wiki/Token-Ring

@mudgen looks like you edited in, so I'm closing.
Where to put stuff -- e.g. @PhABC's comment on putting it in a repo -- totally up for discussion. We can jointly use this Scrolls repo, or you can make a shared token ring repo in this EthMagicians organization as a neutral / shared space.


Create a nice welcome page

The welcome page is very basic with just a link to the lessons directory and to gitea. Make a nice friendly homepage instead. This can be found in the html/index.html file right now.

A nicer homepage has been made.


Workflow Autosave messing up KSampler -1 randomiser

Workflow autosave is triggering randomisation of KSampler Seeds from -1 to random number instead of staying on -1

how to use -1 as the seed number? I get errors if I set -1 as the seed value

@strouder Do you mean when using -1 in Seed (rgthree)?
I just tried generating with autosave enabled and it works fine


Include link to Angular Material

Good UI Framework to use when learning Angular, and to make your first applications look cool!

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

LGTM! Thanks for adding that link @Derekjohnson277 and happy coding! 🔗 📐 📲


Netdev set (enhancement)

Let me share one more idea*.
If you want to allow traffic from a small number of zones (using the --allow parameter) you are still often dependent on services that reside in other countries (even if only to update your system).
In this case you need to use --allow-established: that means you can't use the netdev table.
It would be very efficient to be able to declare a different set of countries to block directly in the netdev table (the ones where you are sure there are no useful services, the ones where most attacks come from...).
At the end you would have a set of countries that are definitely blocked in an efficient way by netdev and a set of allowed ones.
All countries excluded from these sets would be blocked but reachable.
I imagine such a setup would be more complex and alter the simplicity of this script, but... here it is.
Thanks you,
Riccardo

(the last one, I promise)

...but maybe I can get the same result of having two different tables by altering the table name?
I'll try...

Yes, you should be able to acheive this use case by running the script twice with different table names and families.
// First command blocks countries completely
$ sudo ./nft-geo-filter -f netdev -n no-exceptions -i eth0 <country_list>

// Second command blocks incoming packets from countries, but allows outgoing packets to the blocked countries
$ sudo ./nft-geo-filter -n some-exceptions --allow-established <country_list>

It worked, this setup is now the base of my machines ;)


Segmentation Fault on cargo build

I am on ubuntu 15.04 and using multirust with stable which is currently rustc 1.4.0 and cargo 0.5.0. When I try to cargo build I get
Segmentation fault (core dumped)
but rustc works.

Could you provide some of the code in question or a way to reproduce this locally? Unfortunately this isn't really enough information to be an actionable issue right now.

cargo new --bin test
cd test
cargo build
Segfaults

Could you paste the output of cargo -V and rustc -V? Can you also get a backtrace of the segfault? I'm unable to reproduce this in a minimal docker container of ubuntu 15.04 unfortunately.

It seems to be working now. Must have been something with atom and racer.


fix types on tests

For some reason these tests passed on node 8, and were failing on 4 and 6:
https://travis-ci.org/google/google-p12-pem/jobs/295535590
Not sure why it wasn't picked up by the PR.  Do we need to re-setup travis on the repo?

All our typescript repos are broken today (example), thanks to halloween present.. typescript doesn't follow semver and they just released typescript 2.6 which switches to stricter contravariant types for function parameters.
The reason this doesn't break on Node 8 the package-lock.json is used only with Node 8 which has npm 5. Older versions of node end up picking the latest typescript.
Given that you have done the work to support typescript 2.6, it would be worth updating to 2.6.1 in package.json. Let's use ~2.6.x as the range though. sigh.

That's unfortunate, and a little funny.  Pushed to ~2.6 :)


python310Packages.dbus-fast: 1.11.0 -> 1.13.0

Description of changes
https://github.com/bluetooth-devices/dbus-fast/blob/main/CHANGELOG.md

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 192899 run on x86_64-linux 1

2 packages built:

python310Packages.dbus-fast
python39Packages.dbus-fast


2.0.0-beta2 - ViewPager not rendering after keyboard opened

In version 2.0.0-beta2 there seems to be a rendering issue with view pager in constraint layout in combination with the navigation component. The bug appears if we use a ViewPager inside a Fragment which is created through the navigation component. Then if any of this ViewPager's pages contains an EditText field, after opening the keyboard for that field, the other pages in the ViewPager are not rendered anymore.
I have uploaded an example project in which the bug appears: https://github.com/mannluca/constraint-layout-2.0.0-beta2-viewpager-bug

@mannluca  Were you able to fix this with any workaround?


fix imports referencing moved metrics.py file

Before submitting

[ x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[ x] Did you read the contributor guideline?
[ x] Did you make sure to update the docs?
[ x] Did you write any new necessary tests?

What does this PR do?
Fixes #4838 .
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@cbalioglu thanks for having a look! Resolved the conflicts, should be good to go now.

Merged


Add technology definition

Adds a class to load, store and find technologies.

@DanRStevens The class I developed to actually load the technology definition is called TechnologyReader -- I don't really care for the name. I was thinking maybe instead TechnologyLibrary or TechnologyCatalog to be more inline with some of the other naming schemes but wanted you to weigh in before finalizing this PR.


Added score-k8s to documentation

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
What is the motivation?
Adding score-k8s reference to developer docs after making https://github.com/score-spec/score-k8s public
Have you read the Contributing Guidelines?

[x] I have read the Contributing Guidelines

Ready for re-review!

@TobiasBabin looks like i need your re-review as well before being able to merge it. Thanks a lot :)


It localization

Somehow is seems last localization commit was not merged and some elements are still in english.

Thanks @marcosecchi


Tip 35 Deprecated information

This tip contains resources and instructions that are deprecated
Broken links and images need replacing if/when newer resource is found, and page is updated
Escalating to @diemol

@discombobulateme I think we need to delete this tip because the referenced tool does not exist anymore. There are other tools we might feature but we should reach to the owners of the tool(s) and ask them to contribute a tip. However we can only do that when the site is ready.


Simplify read_only attributes

Right now we have both project.read_only and dataset.read_only attributes. None of the two is used, but we discussed in the past how at some point a user may want to disable updates to a certain object.
Do we really need this attribute for both projects and datasets? My first guess would be that we can drop it from the dataset table, and make everything a bit simpler.

For the input datasets: Is this just a flag to say that an entry in the database shouldn't be changed or that Fractal shouldn't change the underlying data?
I always understood it (for the dataset) as: We set a flag whether Fractal is allowed to change files in a given folder. And Fractal only modifies the files for the output dataset, it never modifies the files for the input dataset when we use e.g. Yokogawa images as the input dataset.

My bad, there is indeed a use of dataset.read_only (we never touch it, and I had forgotten about it).
It is used in the workflow-execution endpoint, in the heuristic to define the output dataset of a workflow, when the user did not specify it. The corresponding part of the endpoint looks like
    if apply_workflow.output_dataset_id:
        output_dataset = ...
    else:
        try:
            output_dataset = await auto_output_dataset(
                project=project, input_dataset=input_dataset, workflow=workflow
            )
        except Exception as e:
            ...

and the function is
async def auto_output_dataset(
    *,
    project: Project,
    input_dataset: Dataset,
    workflow: Workflow,
    overwrite_input: bool = False,
) -> Dataset:
    """
    Determine the output dataset if it was not provided explicitly

    Only datasets containing exactly one path can be used as output.

    Note: This routine is still a stub.

    Args:
        project:
            The project that contains the input and output datasets.
        input_dataset:
            The input dataset.
        workflow:
            The workflow to be applied to the input dataset.
        overwrite_input:
            Whether it is allowed to overwrite the input dataset with the
            output data.

    Raises:
        ValueError: If the input dataset is to be overwritten and it provides
                    more than one path.

    Returns:
        output_dataset:
            the output dataset
    """
    if overwrite_input and not input_dataset.read_only:
        input_paths = input_dataset.paths
        if len(input_paths) != 1:
            raise ValueError(
                "Cannot determine output dataset "
                "with more than one input path."
            )
        output_dataset = input_dataset
    else:
        raise NotImplementedError(
            "Cannot determine ouput dataset with "
            f"{overwrite_input=} and {input_dataset.read_only=}"
        )

    return output_dataset

Therefore removing dataset.read_only only makes sense if we think that this heuristic is not needed.

For the input datasets: Is this just a flag to say that an entry in the database shouldn't be changed or that Fractal shouldn't change the underlying data?

The partial answer is that because this flag is used when defining whether an input dataset can also be used as an output dataset, then it helps preventing erroneous overwriting of files.
However, fractal-server has zero knowledge of what tasks do internally; for this reason, nothing prevents the task from modifying or removing the content of input_paths on disk. This becomes obvious when you think about the delete_input argument of yokogawa_to_ome_zarr.py.
TL;DR The only guarantee that comes from setting a dataset as read-only is that its database entry won't be modified. There is no guarantee about the files.

Side note: the overwrite_input attribute of the workflow-apply payload is currently not even passed to the auto_output_dataset function (that's not on purpose, that's a bug), and so for the moment all this automatic dataset selection has never been used by anyone.
We'd be in favor of just fully removing that function and that feature. That is, we'd rather make the output_dataset_id a required parameter (rather than optional). This function doesn't seem sufficiently robust or useful to justify the additional complexity.
One would always be able to use the same dataset ID for both input and output, and in that case we'll raise an error if the dataset is read-only.
@jluethi @gusqgm any feedback on this?

Side note: the overwrite_input attribute of the workflow-apply payload is currently not even passed to the auto_output_dataset function (that's not on purpose, that's a bug), and so for the moment all this automatic dataset selection has never been used by anyone.
We'd be in favor of just fully removing that function and that feature. That is, we'd rather make the output_dataset_id a required parameter (rather than optional). This function doesn't seem sufficiently robust or useful to justify the additional complexity.
One would always be able to use the same dataset ID for both input and output, and in that case we'll raise an error if the dataset is read-only.

That seems reasonable to me. Actively setting the output dataset makes sense.
We should then do the work on the task side to ensure that tasks write to the output_dataset, not the input_dataset. If the 2 are the same and the read_only flag is set to true, Fractal server should stop it. If they are the same and the dataset is not read-only, it should run. If they are different, the question is just whether the output dataset is read-only or not.

We should then do the work on the task side to ensure that tasks write to the output_dataset, not the input_dataset.

Agreed.
To be clear, this will always be a risk. If the task says subprocess.run("rm -r /data/homes/myself"), that cannot be prevented on the fractal-server side.

If the 2 are the same and the read_only flag is set to true, Fractal server should stop it. If they are the same and the dataset is not read-only, it should run. If they are different, the question is just whether the output dataset is read-only or not.

I think this boils down to "if the output dataset is read-only, then raise an error and stop"

Agreed.

I think this boils down to "if the output dataset is read-only, then raise an error and stop"

Agreed. If there is a chain of tasks in a workflow, only the first task is input to output, right? All other tasks then are output to output, right? At least in our current workflow logic where a user couldn't change the output dataset mid-workflow (see e.g. 2D to 3D discussions, though those are and probably would remain within the same dataset)

If there is a chain of tasks in a workflow, only the first task is input to output, right? All other tasks then are output to output, right?

That's logically how we use this, but that it is not part of the implementation. We only have datasets in the database for the input of the first task and for the output of the last task. These two are the ones identified via input_dataset_id and output_dataset_id.
The intermediate states are not stored in the database, for the usual reason (we'd rather not have database sessions handled as part of the backend runner, because it would mix different components).
We'll have to review this structure for the "run from A to B" feature, and that's also one reason for removing small components which complicate things (like automatic detection of output dataset).

A last check was missing here, and currently fixed with aedbf38.


[OpenRCT2] Update Installation Script & Small Fixes

Description

Bump Installation Script container to debian:bookworm-slim. This fixes building from source.
Installation Script now installs the portable bookworm binary of the server when installing a precompiled release (previously it downloaded the AppImage and extracted it).
Fixed various Startup Variable descriptions.
Fixed Pelican Egg Configuration Files variable names and Startup Variable sort values.
Cleaned up the README to have proper syntax.

Checklist for all submissions

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you tested and reviewed your changes with confidence that everything works?
[x] Did you branch your changes and PR from that branch and not from your master branch?

[x] You verify that the start command applied does not use a shell script
[x] The egg was exported from the panel

Server works with dev branch, doing some actions in game freezes the server and although it seems running in the console it's crashed without any log file at the crash folder. I don't think that's on you, also reported it to OpenRCT2 devs.

@scuestam Yeh, I think that error is unrelated to the crash (most likely). Does this occur on a stable branch as well?

@lilkingjr1 Yes, also at stable, but doesn't happen launching a server from the game itself (not at ptero).

This was reported also at their forum on January 13th. Maybe the problem is it being a headless server and there's something wrong with them.
https://forums.openrct2.org/topic/6435-moneyeffect-problem-on-server/

Ahh, interesting, sounds like it might just be a general issue with Plugins on a headless server then.

@lilkingjr1 That doesn't have anything to do with plugins, I couldn't launch the server with them so I wasn't using any. Advertising is just part of the base game. It can even crash trying to place objects at the scenery for example some signs also from the game itself nothing modded.


Raise an error when uiautomation service has already registered

This change is

Reviewable status: 0 of 4 files reviewed, 2 unresolved discussions (waiting on @ko1in1u)

snippet_uiautomator/uiautomator.py line 141 at r1 (raw file):

        self._device.services.snippets.get_snippet_client(self._service)
        is not None
    ):

Are these lines changes needed?

This is changed by formatter since its original line is over 80.

Code quote:
    if (
        self._device.services.snippets.get_snippet_client(self._service)
        is not None
    ):

snippet_uiautomator/uiautomator.py line 150 at r1 (raw file):

      raise errors.ConfigurationError(errors.ERROR_WHEN_PACKAGE_NAME_MISSING)

    self._device.adb.logcat(['-c'])

Can we use logcat pubsub or timestamp to match instead of cleaning logcat buffer?
Code quote:
self._device.adb.logcat(['-c'])

Logcat pubsub service will be too complicated and it is not a public service, I'll come up with matching timestamp.

Local test to launch when uiautomator is registered by other app.
uiautomator.load_uiautomator_service(ad)
ERROR:root:[AndroidDevice|21061FDEE006T5] Error occurred trying to start and connect to the snippet server of com.google.android.mobly.snippet.uiautomator.
Traceback (most recent call last):
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/snippet_uiautomator/uiautomator.py", line 163, in _load_snippet
    self._device.load_snippet(
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/mobly/controllers/android_device.py", line 929, in load_snippet
    self.services.snippets.add_snippet_client(name, package)
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/mobly/controllers/android_device_lib/services/snippet_management_service.py", line 83, in add_snippet_client
    client.initialize()
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/mobly/snippet/client_base.py", line 128, in initialize
    self.start_server()
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/mobly/controllers/android_device_lib/snippet_client_v2.py", line 248, in start_server
    raise errors.ServerStartProtocolError(self._device, line)
mobly.snippet.errors.ServerStartProtocolError: <AndroidDevice|21061FDEE006T5> INSTRUMENTATION_RESULT: shortMsg=Process crashed.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/snippet_uiautomator/uiautomator.py", line 274, in load_uiautomator_service
    ad.services.register(
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/mobly/controllers/android_device_lib/service_manager.py", line 85, in register
    service_obj.start()
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/snippet_uiautomator/uiautomator.py", line 228, in start
    self._load_snippet()
  File "/usr/local/google/home/kolinlu/.local/lib/python3.11/site-packages/snippet_uiautomator/uiautomator.py", line 183, in _load_snippet
    raise errors.UiAutomationServiceAlreadyRegisteredError(
snippet_uiautomator.errors.UiAutomationServiceAlreadyRegisteredError: [AndroidDevice|21061FDEE006T5] UiAutomation service has been registered by another app. Please stop the app to release the service.

Reviewable status: 0 of 4 files reviewed, 3 unresolved discussions (waiting on @ko1in1u)

snippet_uiautomator/uiautomator.py line 145 at r2 (raw file):

        self._device.services.snippets.get_snippet_client(self._service)
        is not None
    ):

Consider to break the long expression by introducing temp variable:
snippet_manager = self._device.services.snippets
if snippet_manager.get_snippet_client(self.\service) is not None:

Code quote:
    if (
        self._device.services.snippets.get_snippet_client(self._service)
        is not None
    ):

snippet_uiautomator/uiautomator.py line 156 at r2 (raw file):

    start_time = datetime.datetime.strptime(
        (
            self._device.adb.shell(['date', f'+"{_LOGCAT_TIME_FORMAT}"'])

There is a logline_timestamp_comparator in Mobly repo. The logcat logs are streaming from device to a host file in timestamp format. I think we can get the last line as start/end time.
Code quote:
'date', f'+"{_LOGCAT_TIME_FORMAT}"'

Done


Remove "type" field from common types list

See the title.
Fixes #1356

Codecov Report

Merging #1362 (c1954f1) into main (e9e603a) will increase coverage by 0.62%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1362      +/-   ##
==========================================
+ Coverage   87.46%   88.09%   +0.62%
==========================================
  Files          49       32      -17
  Lines         734      378     -356
  Branches       55       55
==========================================
- Hits          642      333     -309
+ Misses         63       32      -31
+ Partials       29       13      -16

Impacted Files
Coverage Δ

cli/zally/utils/http_client.go

cli/zally/commands/supported_rules.go

cli/zally/utils/formatters/pretty_formatter.go

cli/zally/readers/json_reader.go

cli/zally/utils/formatters/factories.go

cli/zally/utils/result_printer.go

cli/zally/app.go

cli/zally/domain/rules.go

cli/zally/utils/formatters/pretty_colorizer.go

cli/zally/main.go

... and 7 more

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 e9e603a...c1954f1. Read the comment docs.

:+1:

👍


Docker build problem

Hi,
I got this error while building ion's docker image. Do you have any idea to fix this?
docker-compose build

rabbitmq uses an image, skipping
etcd uses an image, skipping
redis uses an image, skipping
Building ion
Step 1/14 : FROM golang:1.13.7-stretch
 ---> fcc723b9d794
Step 2/14 : ENV GO111MODULE=on
 ---> Using cache
 ---> 3c90ba87945e
Step 3/14 : WORKDIR $GOPATH/src/github.com/pion/ion
 ---> Using cache
 ---> 012fa53e3de7
Step 4/14 : COPY go.mod go.sum ./
 ---> Using cache
 ---> 2f6d75bc371a
Step 5/14 : RUN cd $GOPATH/src/github.com/pion/ion && go mod download
 ---> Using cache
 ---> a6a618197428
Step 6/14 : COPY . $GOPATH/src/github.com/pion/ion
 ---> Using cache
 ---> b0a29ebbe133
Step 7/14 : WORKDIR $GOPATH/src/github.com/pion/ion/cmd/ion
 ---> Using cache
 ---> 992eaf93ceb2
Step 8/14 : RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /ion .
 ---> Running in 43efc95e61ed
can't load package: package .: no Go files in /go/src/github.com/pion/ion/cmd/ion
ERROR: Service 'ion' failed to build: The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /ion .' returned a non-zero code: 1

#52 the same issue

Hey! Would you mind trying https://github.com/pion/ion/pull/60
If that works for you will merge, thank you!

#60 was merged, this should work now!
Thanks for using Pion :)


⚠ Bofrost.fr has degraded performance

In 7abfce7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1324 ms

Resolved: Bofrost.fr performance has improved in e0eb67a.


Others value is appearing in layer metadata when a value is filtered by a widget

STR

Create a map with a layer of the world airports (present in CARTO data library).
Style that layer using a fill by value, choose the type column. A legend should appear displaying 9 categories (OTHERS should not be visible).
Now add a category widget, same column, type.
Filter the widget by "MAJO" value.
Check the new legend generated, OTHERS appears in the list.

cc @rochoa

Sorry if the ticket is not related with this repository. If so, let me know and I'll change it to the proper location 💋 .

Cannot reproduce: https://team.carto.com/u/rochoa/builder/94184ece-be0d-11e6-94e6-0e3ff518bd15.

Sorry, it can't happen again due to recent changes over how we set categories in the style.
My apologies :(.


chore: bdd-spring-1583721727 to 0.0.1

chore: Promote bdd-spring-1583721727 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Review of overlays and studies colours etc

The Chore
The overlays and studies colours and line thicknesses etc are all a bit average.
We should do a review to make them look nice like the rest of the app.
Tasks

[ ]
[ ]

Additional details / background info

We should also review the trading view default colors


api: fix daterange filtering of entries

For the list of all entries, we want to have the summarize entries
generated, otherwise the balances are off.

👍


Updates to Apidocs

@tesar-stepan @JacobsonMT
This is just a reminder to have the apidocs for Gemma and BaseCode updated to the latest iteration. It would likely be useful to have Jenkins automatically compile the javadocs to the latest version.
If possible, I would also like to potentially fast-track this, to expedite migrating our curation annotations from GoogleDocs over to Gemma proper.

Apidocs for Gemma and BaseCode updated to latest versions. See:
http://www.chibi.ubc.ca/Gemma/resources/apidocs/
http://chibi.ubc.ca/faculty/pavlidis/basecode/apidocs/
Looking into automating their deployment as part of our release process.

Automated with the Jenkins site task, thanks to @JacobsonMT.


fix: change param typing for allowed check in AbstractAllowedRule

This PR propose to change the AbstractAllowedRule::allowed method parameter typing from string to mixed.
Why
When using laravel-json-api/laravel, calling the following endpoint with default pagination will throw an error:
https://example.com/api/v1/posts?page=1

And the error will be thrown even if we are validating the page param before applying the AllowedPageParameters rule. This is because Laravel will evaluate every rule, even when previous failed. Here is an example of my validation rules for pagination:
use LaravelJsonApi\Validation\Rule as JsonApiRule;

return [
    'page'        => ['required', 'array:number,size', JsonApiRule::page()],
    'page.number' => ['filled', 'integer', 'min:1'],
    'page.size'   => ['filled', 'integer', 'min:1', 'max:100'],
];

This problem may apply to any "collected" and array expected param (filter, fields, etc.).
Solution
Using the mixed type on it won't give false positive (as we are checking using the allowed collection has method). In case PHP type conversion may be a problem, we could perform an additional is_string method to force strict comparison.
Impacts
As we are changing the allowed method signature, projects which are extending the class and method will get errors because of the method signature mismatch.
Other solutions
Another solution is to better extract the values for those array typed params (with is_array check) as it is done through is_string inside AllowedIncludePaths rule.

Thanks for reporting. The workaround for this is to use bail:
https://laravel.com/docs/9.x/validation#rule-bail

Yep, I know this trick. So this won't be fixed?

Yes, will be fixed. Just been looking at it now - just wanted to post the workaround in the meantime.
I'm actually going to close this PR as I'm going with a different approach to fix it. Thanks for submitting the PR though, as it was really useful to identify this problem.

No problem. Thank you a lot!

@paul-thebaud tagged 2.1.3 with the fix.


Submit missing styling

My submit is missing styling. If I import  inside the component from primevue then the styling is back.

What I am doing wrong?

Hi,
button styling is not really part of this framework, but depends on your environment.
Styling is done by the FormKit Element:
      id="form"
      v-model="formData"
      :form-class="formClass"
      :actions-class="actionsClass"
      type="form"
      :submit-label="submitLabel"
      :submit-attrs="{
        inputClass,
      }"
      @submit="handleSave"
    >

If you use PrimeVue styled, inputClass should be like
p-button p-component
to be shown.
In unstyled mode use TailWind like classes for the button.
tbh, your example makes it very hard to suggest a solution for your problem ;-)
Hope that helps,
Greetings Tom

I forgot to add example, i use the p-component p-button
<template>
      <FormKit
          id="form"
          v-model="data"
          type="form"
          :submit-attrs="{
            inputClass: 'p-button p-component',
          }"
          @submit="submitHandler"
      >
            <FormKitSchema :schema="schema" :data="data" />
        </FormKit>
</template>

Hm,
that works normally at expected because it is the same pattern i use in the playground.
FormKit should render at least an unstyled button.
You should check the output html and maybe the console if something goes wrong.
Greetings, Tom

Hm,
that works normally at expected because it is the same pattern i use in the playground. FormKit should render at least an unstyled button. You should check the output html and maybe the console if something goes wrong.
Greetings, Tom

I have made an example on stackblitz
https://stackblitz.com/edit/vitejs-vite-meubb6
As you can see the button is not styled.
If you add  component inside App.vue formkit will be styled.

You are right, i will try include the PrimeVue Button in my provided FormKitDataEdit component  to ensure proper style rendering.
Thank you for reporting and a nice coding time,
Tom

@sfxcode thanks for your commit!! it working by default now :)


Css with styled-components

Don't know why they did this, because it's made it impossible for me to set a simple css style for 2 days... but react-boilerplate ( https://github.com/react-boilerplate/react-boilerplate ) uses a module called styled-components. Any idea how to make the SimpleForm work with styled-components?

@TylerL-uxai the only way I got by was to add a wrapper and set the classNames manually.
const SearchWrapper = styled.div`
  .search-input {
    width: 100%;
    height: 30px;
  }

  .search-autocomplete-container {
    border-bottom: honeydew;
    border-left: honeydew;
    border-right: honeydew;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border-radius: 0 0 2px 2px;
  }
`;

// ...

renderAutocomplete = ({ input, custom }) => (
  <PlacesAutocomplete
    inputProps={{ ...input, ...custom }}
    classNames={{
      input: 'search-input',
      autocompleteContainer: 'search-autocomplete-container',
    }}
    options={{ types: ['geocode'] }}
    onSelect={this.onSelectLocation}
    autocompleteItem={({ formattedSuggestion }) => (
      <Suggestion>
        <PlaceIconStyled size="17px" />
        <MainText>{formattedSuggestion.mainText}</MainText>
        <SecondaryText>{formattedSuggestion.secondaryText}</SecondaryText>
      </Suggestion>
    )}
  />
);

render() {
  return (
    <SearchWrapper>
      {this.renderAutocomplete()}
    </SearchWrapper>
  )
}

These are snippets of what I had to do.  Felt nasty but works.  I'm using styled-components & redux-form.

Omg, thank you so much for all the effort you put in to this! Can I PM you about my project? It's very simple and maybe we can work together to finish it.

I'm getting this.autocomplete is not a function when I add parenthesis.
 {this.renderAutocomplete}
Eliminates the error but it won't render, even if I do the following
  renderAutocomplete = () => (
    <PlacesAutocomplete inputProps = {inputProps}
    />
  );

@kenny-hibino Is not "incompatible" because styled-components is so flexible. There would be enhanced compatibility however, if className could be set on PlacesAutocomplete. Would allow developers to do:
import PlacesAutocomplete from 'react-places-autocomplete';
const StyledAutocomplete = styled(PlacesAutocomplete)`
  border: 1px solid red;
`;

Definitely need this enhancement. Will work on this soon 👍

What I've done for now:
import styled from 'styled-components';

export const classNames = {
  root: 'root',
  input: 'input',
  autocompleteContainer: 'autocomplete-container',
  autocompleteItem: 'autocomplete-item',
  autocompleteItemActive: 'autocomplete-item-active'
};

export default styled.div`
  .${classNames.root} {
    //
  }

  .${classNames.input} {
    //
  }

  .${classNames.autocompleteContainer} {
    //
  }

  .${classNames.autocompleteItem} {
    //
  }

  .${classNames.autocompleteItemActive} {
    //
  }
`;

Ideally this would be the method:
export default styled(PlacedAutocomplete)`
  .input {}
  .autocompleteContainer {}
  .autocompleteItem {}
  .autocompleteItemActive {}
`;

Hello there! I was looking into this and as the suggestion from @egeriis would totally work, I decided to solve this issue making use of HOC this is the way I solved it (if feeling like this could be useful in the docs, let me know and I can make a PR):
*Removed unrelated code because I'm using redux form on top on this
// Component to be exported (notice how "inputClass" and "autocompleteClass"
// are coming from props)
const PlaceInput = props => {
  return (
    <PlacesAutocomplete
      classNames={{
        input: props.inputClass,
        autocompleteContainer: props.autocompleteClass
      }}
    />
  );
};

// HOC to assign the styles for the input element
const inputStyles = Component => styled(
  ({ className: inputClass, ...props }) => (
    <Component {...props} inputClass={inputClass} />
  )
)`Your Styles for the input element here`;

// HOC to assign the styles for the autocompleteContainer element
const suggestionStyles = Component => styled(
  ({ className: autocompleteClass, ...props }) => (
    <Component {...props} autocompleteClass={autocompleteClass} />
  )
)` Your Styles for the autocompleteContainer element here`;

// Apply both HOCs when exporting
export default suggestionStyles(inputStyles(PlaceInput));

You could possibly enhance this even more to avoid some repetition, but this will get you working.

We introduced render prop in v.7.x so that user of the library has a full control over rendering. Hopefully this will solve this issue with integrating with other libraries like styled-components 👍
Please give a v.7 a try and any feedback will be appreciated!!


Bump React to current version 16.4.0

In reference to issue #46

Thanks for this! However this PR is now superseded by #48, which contains more updates to fully transition to React 16 and its tooling.

Sounds good to me!


Fix Vm#supports_terminate? checking EMS#vm_destroy

We removed the redundant EMS#vm_destroy methods which just called VM#raw_destroy for all providers except VMware.  The supports_feature block however was still checking if the EMS respond_to?(:vm_destroy) rather than checking if the vm object responds to it.
Related to: https://github.com/ManageIQ/manageiq/pull/19452

I think this PR needs a cross-repo test with all the providers.

This is going to take some rework because since the #vm_destroy and #raw_destroy methods are defined at the base class we can no longer use #respond_to? to indicate if the object supports terminate or not.
We need to move this closer to the rest of the supports feature calls where the supports :terminate block is defined on the provider model class not in core.

Cross repo tests are green except for an unrelated error: https://travis-ci.com/github/ManageIQ/manageiq-cross_repo-tests/jobs/341417657#L2392-L2423
This occurs if all plugins that bring extra content/miq_dialogs are overridden causing their path to be different from what that spec is expecting.

unrelated error is fixed in #20225

Jansa backport details:
$ git log -1
commit b6788f9cd21ec370797263035af0e9b06fecadb6
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Fri May 29 12:29:23 2020 -0400

    Merge pull request #20222 from agrare/fix_vm_supports_terminate

    Fix Vm#supports_terminate? checking EMS#vm_destroy

    (cherry picked from commit 74d620c2016d2264f4463841c07d9b4a21426f0c)


[IconMenu] Animation direction not adjusted when open anchor changed automatically

The popover changes its anchor when there is insufficient room to display in the preferred position, but the animation is still in the direction set for the defined anchor.

I Think thats the problem with popoover as I was able to reproduce it in popover docs page too.

The same problem is with DropDown:

A way to change the animation's direction would be great.

We have been removing the component on the v1-beta branch, instead, we suggest building the same feature with lower API components, like the Menu.


Bright future

https://github.com/szepeviktor/action-s3-utility/blob/patch-1/README.md 👀

Oh no!
Oh noo!
Oh noooo!
https://github.com/the-events-calendar/the-events-calendar/blob/master/.github/workflows/zip.yml
Would you like me to point out "a few things" in this workflow file by sending a PR?

The first obstacle of thinking is misleading naming.
It is very easy to rewrite this action after using names that need no comments.

working-directory: ../

I think I just wait for you assign me this task.
I'm building things from the ground up. Modifying a process in the middle is for younger guys.

We could start with the way of installing tut.
Cloning a tut's repo into another repo is similar to submodules: 1) no submodules 2) no mixing two repositories.
Tut can be distributed as Composer package, a PHAR or any other ways that is a software package.
📦

@borkweb All the above comments show that I'd like to stay in zero risk golden cage 🐦


Validate a single view

Hi
there are a way to validate a single view in my form?
My use case:
one form with N edittexts and one button.
When one edit text lose the focus, the library would validate just this particular view.
When the button is clicked, the library would validate all edittexts using the current features.

Yes, you can.

Use the @Order annotation on all your UI fields.
Set your Validator's validation mode to Mode.IMMEDIATE.
Use a TextWatcher or an OnFocusChangeListener to validate your views by calling the validator.validateTill(View) or validator.validateBefore(View) methods to achieve the desired result.

Hi, I am trying to achieve, I believe the same thing, to validate single field that just lost focus, and this doesnt help me.
I have several inputs
Input1
Input2
Input3
If I annotate them in @Order (1,2,3) and set mode immediate.
If they are all invalid and user for example focuses Input3, then Input2, only Input1 will show as invalid
using validateTill(), but I need just input3 to show as invalid.
Basically, functionallity should be: you are focused on one input, and as it loses focus, its lit as invalid, no other fields are affected.


Update proguard-rules.pro

Added ProGuard rules for data models

Many thanks for your contribution ☺
I really appreciate it!


[BugFix] Revert "[Enhancement] OlapTableSink of non-pipeline engine support fast cancel (#15398)"

This reverts commit 6bc5301bb9cb2ce9b9ba5a57cea193571afbeea6.
What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Cancel may have concurrency issues with other logic, but currently i can't find one good solution, and it's hard to test it, so revert first.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[x] 2.3

run starrocks_admit_test

run starrocks_be_unittest

run starrocks_be_unittest

run starrocks_be_unittest

run starrocks_be_unittest

run starrocks_admit_test

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


Rancher 2.6.2 doesn't show metrics tab for workloads or pods

Rancher Server Setup

Rancher version: 2.6.2
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details: Letsencrypt

Information about the Cluster

Kubernetes version: 1.21
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): EKS

User Information

What is the role of the user logged in? Admin

If custom, define the set of permissions:

Describe the bug

After installing the monitoring v2 app on imported EKS cluster. I can't see the Metrics tab on workloads or pods.
To Reproduce

Import a EKS cluster to rancher
Install monitoring V2

Result
Workload and Pod metrics are not shown in a Metrics tab.
Expected Result

Workload and Pod metrics should be visible on Metrics Tab
Screenshots

Additional context

This feature is not included in rancher 2.6.2, see 2.6.3 release notes - https://forums.rancher.com/t/rancher-release-v2-6-3/36531


feat(fe): redesign management edit button

Description
Management Problem Edit 버튼 이름 변경(Submit → Edit), 간격 조절

Before submitting the PR, please make sure you do the following

[o] Read the Contributing Guidelines
[o] Read the Contributing Guidelines and follow the Commit Convention
[o] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Problem, contest 부분 edit 동일하게 수정했습니다!

버튼 크기 조절하였습니다! 100px -> 90px


Using autoNumeric('set', value) doesn't update hidden input

I create an input field like this:
= text_field_tag('test', 0, { data: {autonumeric: {aSign: '$ ', mDec: 0, wEmpty: 'sign', lZero: 'deny'}}})
I then update the value from javascript like this:
$("#test").autoNumeric('set', 4000)
The number changes to $ 4000 in the visible formatted input field as expected.
But the value of the hidden input does not change - so when the form is submitted the correct value does not get submitted.

You must update the value by using val() like this :
$("#test").val('4000')

i was facing the same issue of getting autonumeric functionality to kick in after updating value via javascript .val() on a rails tex_field. Visually, i used js focusout() to convert the field contents to autonumeric format. However, the same issue happened and the hidden value was not updates.
Changing to use .blur() instead of .focusout() fixed it.

When I use val() directly on a currency field, it loses the $ sign:
<%= text_field_tag :price, 0, data: { autonumeric: { aSign: '$', mDec: 0 } } %>


cli: Include collected goroutine dumps in debug zip

PR: https://github.com/cockroachdb/cockroach/pull/36813
From release notes:

Included collected goroutine dumps in cockroach debug zip. [#36813][#36813] {% comment %}doc{% endcomment %}

As discussed with @tbg, this doesn't have a user-facing doc impact. Closing the issue.

Was thinking, if anywhere, this might be called out in the list of things included in a debug zip: https://www.cockroachlabs.com/docs/stable/debug-zip.html. But fine to leave out, if that's the consensus.


v2: Online mode

Implements #1
PR to track progress of the online socket mode for the server

Coverage remained the same at 96.774% when pulling b66687f8dfb38cbf0dcbc26733e4b5939c17cea3 on v2 into 19adae19d76b9484835f5997ba01eff83deb0c3a on master.

Coverage remained the same at 96.774% when pulling 7c6f0a405796e057d152ab2940f47209bee9323d on v2 into 19adae19d76b9484835f5997ba01eff83deb0c3a on master.


The guide has no content for Jenkins

There is a link at the top of the page but no content.
https://github.com/KrauseFx/fastlane/blob/master/docs/Guide.md#jenkins-integration

Thank you, fixed with https://github.com/KrauseFx/fastlane/commit/b2fea0bf03257f03c8ed5e18f2d72d12c5f37268. For Jenkins check out this document: https://github.com/KrauseFx/fastlane/blob/master/docs/Jenkins.md


container size

Hey,
thanks for this tool, i'm using it a lot for wine and steam for some time already.
Being driven by curiosity i tried to create a personal stripped version using the handy scripts create_arch_bootstrap and create_conty.
I edited the create_arch_bootstrap script leaving only the packages I was interested in (all the wine stuff + steam), so basically removing almost all the misc stuff like gcc, lutris etc.
What happens at the end is that my custom container ends up weighting around 1.5 GB and this left me scratching my head, because I see that your lite release is much lighter, while containing more programs.
Do you do any special post-create operations on the container to slim it down? Or is it just some flag passed to create_conty for better compression?

thank you! worked like a charm, my container is lean and mean now


Hide Menu Items if Beneficiary JWT

Hide menu items if beneficiary JWT as they can only see one assessment and cannot access any other app features.
Determining whether a JWT is a beneficiary JWT will be clarified after impactasaurus/server#25

 Self assessment (via link)

Within the token's app_metadata will be an attribute called beneficiary which if it is true, then the user is a beneficiary


Local module queue being picked up by jsonpickle rather than jsonpickle's queue module

I can't use jsonpickle because we have a module in the root of our project called queue:
  File "/Users/davidhariri/Development/Ada/api/env/lib/python2.7/site-packages/jsonpickle/handlers.py", line 267, in <module>
    QueueHandler.handles(queue.Queue)
AttributeError: 'module' object has no attribute 'Queue'

Can we consider renaming jsonpickle's queue module to "jsp_queue" or some other more localized name?

No, you're clashing with Python's built-in queue module.  You should rename your module.
pylint or another checker should be able to catch that.  You're masking the standard library, jsonpickle is just a canary in the coal mine.


What should be used instead of govuk_frontend_toolkit?

I found this repo via govuk-template-flask-skeleton, which pulls this repo in as a git submodule.
It's great there's a notice saying that govuk_frontend_toolkit has been deprecated - but it'd be even more helpful if it could also say what superseded the toolkit.
Can the project description or readme.md be updated to point to this project's replacement?

HI @byzantime
the readme currently says

The GOV.UK Design System launched on 22 June 2018
The Government Digital Service (GDS) is retiring GOV.UK Frontend Toolkit following the launch of the GOV.UK Design System. GOV.UK Frontend Toolkit will remain available to you if you are currently using it but will no longer be maintained. GDS will only roll out major bug fixes and security patches.
For new projects, you can get all of the information about GOV.UK styles, components and patterns in the GOV.UK Design System.

Does this answer your question?

In particular, GOV.UK Frontend is the codebase you're probably looking for - there's a getting started guide here:
https://design-system.service.gov.uk/get-started/

closing, but feel free to re-open if we've not fully answered your question


Downgraded openid-client and updated dependencies packages

Relevant Issues/Pull Requests (if applicable)
n/a
Details

Downgraded openid-client version (due to an error at startup)
Updated dependencies of other packages

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Takeshi Nakatani seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Feature] Trim spaces from signature comment

Is your feature request related to a problem? Please describe.
When users copy the signing line into a comment ("'I have read the CLA Document..."), it is often copied with extra spaces or new lines. Since the action is comparing the comment's content strictly to the expected line, it is not recognized as a signing. We sometimes have to ask the users to try again multiple times until they get it right.
Describe the solution you'd like
It would be nice if the action would know to trim extra lines and spaces when comparing to the expected line. I know the comparison happens in my own workflow and that the solution should probably be there, but I'm reaching out to see maybe someone run into the same problem and has a solution.
Describe alternatives you've considered

Github Action offers a contains() function, but then it ignores extra words that might make the signing invalid.
Make the comparison inside the Action step itself and not in the workflow (would mean the step will run on every comment, which might be a waste)

Hi @RobiNino, Thank you very much for the write up. I see this issue too, However, at the moment,  I don't have any solution to counter tbh.

Make the comparison inside the Action step itself and not in the workflow (would mean the step will run on every comment, which might be a waste)

I also thought of handling this use case inside the action itself but then again like you have mentioned, I don't want to execute this action for every single issue comment. So, I dropped this idea.

Github Action offers a contains() function, but then it ignores extra words that might make the signing invalid.

Yes, extra wording will make the signing invalid.
The optimum solution would be to do a comparison in the workflow file itself and we need to see If there is a way to trim the spaces. I will check it out this weekend and also if you find a solution then feel free to create a PR. I will be very happy to merge your contribution :).

+1 - This would be great. We are running into this somewhat often in https://github.com/Expensify/Expensify.cash
I'd be happy to provide a few examples if it is helpful!

+1 - This would be great. We are running into this somewhat often in https://github.com/Expensify/Expensify.cash
I'd be happy to provide a few examples if it is helpful!

Hi @RobiNino @andrei-panov, This issue is fixed by @yahavi in this PR https://github.com/cla-assistant/github-action/pull/69. Please update the CLA action workflow file  to the latest version v2.0.3-alpha so that this fix will be reflected :) .
uses<EMAIL_ADDRESS>

Hi @RobiNino @andrei-panov, This issue is fixed by @yahavi in this PR https://github.com/cla-assistant/github-action/pull/69. Please update the CLA action workflow file  to the latest version v2.0.3-alpha so that this fix will be reflected :) .
uses<EMAIL_ADDRESS>

I would recommend using action-regex-match to better deal with newlines:
- uses: actions-ecosystem/action-regex-match@v2
id: sign
with:
    text: ${{ github.event.comment.body }}
    regex: '\s*I have read the CLA Document and I hereby sign the CLA\s*'

- uses: actions-ecosystem/action-regex-match@v2
id: recheck
with:
    text: ${{ github.event.comment.body }}
    regex: '\s*recheckcla\s*'

- name: "CLA Assistant"
uses<EMAIL_ADDRESS>if: ${{ steps.recheck.outputs.match != '' || steps.sign.outputs.match != '' }} || github.event_name == 'pull_request_target'
# Now that #69 is merged, comment body with newlines won't be ignored in the cla-assistent
...

I would recommend using action-regex-match to better deal with newlines:
- uses: actions-ecosystem/action-regex-match@v2
id: sign
with:
    text: ${{ github.event.comment.body }}
    regex: '\s*I have read the CLA Document and I hereby sign the CLA\s*'

- uses: actions-ecosystem/action-regex-match@v2
id: recheck
with:
    text: ${{ github.event.comment.body }}
    regex: '\s*recheckcla\s*'

- name: "CLA Assistant"
uses<EMAIL_ADDRESS>if: ${{ steps.recheck.outputs.match != '' || steps.sign.outputs.match != '' }} || github.event_name == 'pull_request_target'
# Now that #69 is merged, comment body with newlines won't be ignored in the cla-assistent
...

Thanks @yahavi.
@ibakshay, @AndrewGable,
Just to clarify, the solution only works if both #69 & @yahavi's above comment are used together.
The regex makes the CLA action accept comments with spaces (i.e not strict as ==), and the trim() in #69 handles those spaces inside the CLA action.
This works for me, closing the issue.

Thanks @yahavi.
@ibakshay, @AndrewGable,
Just to clarify, the solution only works if both #69 & @yahavi's above comment are used together.
The regex makes the CLA action accept comments with spaces (i.e not strict as ==), and the trim() in #69 handles those spaces inside the CLA action.
This works for me, closing the issue.


iOS simulator isn't respecting tiling.

Describe the bug
iOS simulator isn't respecting tiling. Whenever the iOS simulator opens, it just always sticks to the left and overlaps other windows. The window underneath that makes a weird sort of space at the right. I am attaching video of that behavior.
https://github.com/user-attachments/assets/4944a5ae-c04d-4be0-9410-ac399143ba7f
Related issues you could find
Please make sure to search for duplicates.
If you couldn't find the duplicates, linking related issues is helpful anyway.

You have accordion layout active, not tiles layout active


Profiling to find out performance issue when synchronize the blocks

https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-trace

Blocked by #188.

Blocked by #115.


Don't invoke channel until after registered

This fixes a race condition described in https://github.com/netty/netty/issues/4571.  The solution is to not provide the channel handler context (and therefore, not create the subscription that invokes read() or close()) until after the channel has been registered with the event loop.

Review by @richdougherty.

A few minor points, but the logic LGTM. :+1:

If we don't fix the currently ServerBootstrap problem with the Reactive-Stream,we will never have the real Reactive implement with netty.


No asyncio support

Could you please tell if there is going to be asyncio support? Of course I can use this library with ThreadPoolExecutor, but having asyncio api woud be really nice

Hi, indeed it would be nice to support asyncio. Async support is on the long term road map but there are no immediate plans for support, unfortunately


clades: Proposal to designate 5 B.1 sublineages (B.1.1 - B.1.5)

Proposal to designate 5 B.1 sublineages
Lineages are defined by at least one shared nucleotide mutation on top of the B.1 polytomy.
In this first round of sublineage designations, the clusters with the highest number of sequences publicly available via Genbank are chosen.
It is important to bear in mind that the proportion of cases sequenced with sequences shared via Genbank differs hugely among countries. Germany has sequenced ~10% of their known cases. While for instance the Netherlands have only shared one sequence publicly, for 500 known cases (0.2%), a proportion 50x smaller than Germany's.
As a result, lineages are disproportionately associated with those countries that sequence most (currently Germany and Canada). Lineages should not be used on their own without other metadata to draw epidemiological conclusions.
These lineages have been designated to enable researchers to track the virus on a finer scale. Their designation does not imply any biological difference. For example, B.1.4 differs from B.1 only by a synonymous mutation - the proteins are thus all identical.
Testing
Staging build deployed here: https://nextstrain.org/staging/monkeypox/hmpxv1/lineage-proposal?label=clade:B.1&m=div

I think this is a great start, would be great to hash out the criteria more directly and decide where to draw lines. Most of my thoughts/discussion is on Slack!

Merge after discussion and agreement within committee

Just checking - will these be added to nextclade too?

Yes, they are on master.clades.nextstrain.org already - about to release ;)
On Tue, Aug 9, 2022, 23:54 Angie Hinrichs @.***> wrote:

Just checking - will these be added to nextclade too?
—
Reply to this email directly, view it on GitHub
https://github.com/nextstrain/monkeypox/pull/95#issuecomment-1209931256,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF77AQNLO5M3ZDBIUCLVTEDVYLHQJANCNFSM54OX6IQA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


[FEAT] Support OHLC Traces

Not sure If its possible or how much work it would be but it would be amazing to have support for OHLC plotly traces.

Hi @alexmerm,
I do not think that this is so much work, as there already exists an ad-hoc implementation in an issue (https://github.com/predict-idlab/plotly-resampler/discussions/284).
However, to implement this efficiently in a visualization agnostic manner in https://github.com/predict-idlab/tsdownsample might take quite some time.
I will try to look into this issue somewhere later today, and provide a more clear timeline (and maybe a more optimized ad-hoc example) on how candlesticks-resampling can be integrated into plotly-resampler.
Kind regards,
Jonas

@alexmerm, see #289


RefreshIndicator problems with ReorderableGridView

In my app, I use an Refreshindicator to reload data and it worked fine with the normal GridView.
I use the ReorderableWrap when the display is too small for > 1 columns. There are no problems with the RefreshIndicator.
Do you have an idea / fix for this?
Flutter tree:
RefreshIndicator
-- Container
-- ValueListenableBuilder
-- ReorderableGridView
Thank you very much!

Hi @timonaldenhoff
Thank you for your message.
I am not sure what exactly your problem is.
Is your RefreshIndicator above the ReorderableWrap and is not showing up?
Or do you have children that have a RefreshIndicator?
Maybe it would be easier to understand your problem with some example code.

Hello,
Thank you for your quick response.
When I wipe down the refresh indicator, nothing happens. With
the ReorderableWrap everything works as expected.
The Refreshindicator is above the ReordableWrap/Grid:
return RefreshIndicator(
key: fielsScreenState.refreshKey,
color: Theme.of(context).primaryColor,
onRefresh: () => syncFields(refreshKey: fielsScreenState.refreshKey),
  //build fields from database
  child: Container(
    child: ValueListenableBuilder(
      valueListenable: Hive.box(FieldBox).listenable(),
      builder: (BuildContext context, Box fieldBox, Widget widget) {
        //get list of active fields
        List<Field> _fields = FieldInterface().activeFields;

        if (_fields.length == 0) {
          //show add field button
          return AddButtonEmptyList(
            routes.InactiveFieldsRoute,
            onPressed: () => locator<AnalyticsService>()
                .logEvent("field_add_empty_button"),
          );
        } else {
          return ValueListenableBuilder(
            valueListenable: Hive.box(GridBox).listenable(),
            builder: (BuildContext context, Box gridBox, Widget widget)

{
final GridType _gridType = GridInterface().gridFieldType;
              return CurrentNotificationBle(
                fielsScreenState,
                child: GridViewResponsive(
                  (BuildContext context, int index) =>
                      FieldsListItem(_fields[index], _gridType),
                  _fields.length,
                  isDesktop: isDesktop,
                  gridType: _gridType,
                  draggable: true,
                  onReorder: FieldInterface().reorderFields,
                ),
              );
            },
          );
        }
      },
    ),
  ),
);

class GridViewResponsive extends StatelessWidget {
final int itemCount;
final GridType gridType;
final bool isDesktop;
final Widget Function(BuildContext, int) itemBuilder;
final bool draggable;
final void Function(int, int) onReorder;
const GridViewResponsive(this.itemBuilder, this.itemCount,
{Key key,
this.gridType = GridType.full,
@required this.isDesktop,
this.draggable = false,
this.onReorder})
: super(key: key);
@override
Widget build(BuildContext context) {
final double _aspectRatio = _calcFieldAspectRatio(
MediaQuery.of(context).size.width, isDesktop, gridType);
final int _columns = _calcFieldColumnCount(_aspectRatio, gridType);
if (!draggable)
  return GridView.builder(
    padding: const EdgeInsets.all(3),
    gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
      crossAxisCount: _columns,
      childAspectRatio: _aspectRatio / _columns,
    ),
    itemCount: itemCount,
    itemBuilder: itemBuilder,
  );

if (_columns == 1)
  return Container(
    padding: const EdgeInsets.all(3),
    child: ReorderableWrap(
      children: List.generate(
          itemCount,
          (index) => Container(
                height: _aspectRatio * 100,
                child: itemBuilder(context, index),
              )),
      onReorder: onReorder,
      spacing: 0,
      runSpacing: 0,
    ),
  );

return ReorderableGridView(
  padding: const EdgeInsets.all(3),
  children: List.generate(
    itemCount,
    (index) => itemBuilder(context, index),
  ),
  onReorder: onReorder,
  gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
    crossAxisCount: _columns,
    childAspectRatio: _aspectRatio / _columns,
  ),
);

}
double _calcFieldAspectRatio(
double width, bool isDesktop, GridType gridType) {
return (width - (isDesktop ? 310 : 0)) / 200;
}
int _calcFieldColumnCount(double aspectRatio, GridType gridType) {
return (aspectRatio / (gridType == GridType.full ? 3 : 1.6)).floor() + 1
;
}
}
Thank you.
Best regards
Timon Aldenhoff
Am Fr., 12. Nov. 2021 um 16:00 Uhr schrieb karvulf @.***

:

Hi @timonaldenhoff https://github.com/timonaldenhoff
Thank you for your message.
I am not sure what exactly your problem is.
Is your RefreshIndicator above the ReorderableWrap and is not showing up?
Or do you have children that have a RefreshIndicator?
Maybe it would be easier to understand your problem with some example code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/karvulf/flutter-reorderable-grid-view/issues/7#issuecomment-967181675,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJNRIWUYP7Y5FZHGHAWTHADULUTX5ANCNFSM5H4R3BFA
.
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.

Ah Ok, now I understand!
I'll check it out tomorrow @timonaldenhoff

I found your issue and fixed it.
If you use version 1.0.2, it should work also with GridView. Be sure to use Clip.none for clipBehavior when you scroll because otherwise the displayed content in iOS will be clipped when you scroll with a few items @timonaldenhoff


Sky color

This has been fixed, I have added a Enum to override the sky color when you within a certain area. This needed to be changed as some places do this an effect.

This duplicates the existing area override functionality.
As it stands we can define an area https://github.com/RS117/RLHD/blob/master/src/main/java/rs117/hd/environments/Area.java
And then a custom environment for that area https://github.com/RS117/RLHD/blob/master/src/main/java/rs117/hd/environments/Environment.java
I believe you can use these tools to accomplish the same thing here :slightly_smiling_face:

This duplicates the existing area override functionality.
As it stands we can define an area https://github.com/RS117/RLHD/blob/master/src/main/java/rs117/hd/environments/Area.java And then a custom environment for that area https://github.com/RS117/RLHD/blob/master/src/main/java/rs117/hd/environments/Environment.java
I believe you can use these tools to accomplish the same thing here 🙂

As for the Environment you can only set a fog color not a sky color this does not have the same effect

As for the Environment you can only set a fog color not a sky color this does not have the same effect

They're functionally the same thing at the moment.
Here's fog enabled and disabled. The sky color just inherits from the fog color.


Populate all the national_number_lengths because I need them in a validator.

I am using the 'national_number_lengths' field in a validator.
And for countries like christmass islands it is failing because the field is empty.

Any leg work to fill these fields out is great, please submit a PR


Automatic script inspection

Our current data-side method for handling languages that use multiple (orthographic) scripts is to manually specify in languages.json that multiple scripts will be present in TSVs for certain languages. split.py then separates these scripts into different TSVs such that each TSV only contains one script.
The process of manually inspecting TSVs/Wiktionary to figure out if a language uses multiple scripts is so 2020 and ideally should be replaced by something that can automatically inspect each file in data/tsv and tell us whether more than one (Unicode) script is present and, if more than one script is present, what the Unicode script names are for each present script. For the time being, I imagine that the code running this automatic inspection should be placed in tests/test_data. If we manage to write something that can do this automatic inspection we can decide if it should be thoroughly integrated into the data side later.
This would be a cool (though I anticipate difficult to implement) feature. It’s a bit of a wonder that this technology doesn’t already exist, or perhaps it does and I haven’t found it. People have worked on things like it – see this stackoverflow issue, I haven’t evaluated unicodedata2, mentioned in that SO post, but maybe it is what we need – and you can check the section of split.py below to get acquainted with a method that uses the regex package to separate TSVs according to an inputted script property. Perhaps the regex package can also be used to ‘discover’ the script property of characters in each TSV?
https://github.com/kylebgorman/wikipron/blob/370d8d1442604c2590def43c502fef5a52c79468/data/src/split.py#L12-L17

@agutkin this would be interesting to you, I think.

@agutkin this would be interesting to you, I think.

Out of curiosity - is regex package using ICU under the hood?

Out of curiosity - is regex package using ICU under the hood?

Just read the code and I don't see any mention of ICU, so I think no.
On Fri, Jan 15, 2021 at 6:07 PM Alexander Gutkin<EMAIL_ADDRESS>wrote:

Out of curiosity - is regex package using ICU under the hood?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kylebgorman/wikipron/issues/319#issuecomment-761243886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG4OKNLKE7Y4MASQEADW3S2DDCJANCNFSM4WEUTATQ
.

Just read the code and I don't see any mention of ICU, so I think no.
On Fri, Jan 15, 2021 at 6:07 PM Alexander Gutkin<EMAIL_ADDRESS>wrote:

Out of curiosity - is regex package using ICU under the hood?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kylebgorman/wikipron/issues/319#issuecomment-761243886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG4OKNLKE7Y4MASQEADW3S2DDCJANCNFSM4WEUTATQ
.