Plugin not installed

Problem: " orbit bridge start but no plugins installed.
We have followed the following instructions:
1-  Installed the plugin using: npm install -g homebridge-orbit-irrigation
2- Edited config.json and added my account detail.
{
"name": "B-Hyve",
"email"<EMAIL_ADDRESS>"password": "xxxxx",
"defaultRuntime": 1,
"useIrrigationDisplay": true,
"showStandby": true,
"showRunall": true,
"showSchedules": true,
"_bridge": {
"username": "12:34:5G:6B:78",
"port": 12345
},
"platform": "bhyve"
}
3- Tried to add in homekit but no plugin installed
Hope we can fix this issue

it looks like the bridge section which should be set by homebridge may have been edited. I am only guessing because the username which is a MAC address would probably start with E0 and the port is not in the expected range.
Try
deleting this line and save the config
"_bridge": {
"username": "12:34:5G:6B:78",
"port": 12345
},
You should be able to add it to homekit then.
if you want to run it as child bridge, set that option from the plugin screen "wrench" icon
https://github.com/homebridge/homebridge/wiki/Child-Bridges


VBA WindowBeforeRightClick event

It should be noted that the WindowBeforeRightClick event no longer is functional as of Word 2016.

Added comment to documentation


use filepath walk for flatfs query

running a query on a large ipfs datastore takes forever (and uses a lot of ram), this should help, some.

this LGTM


Extending tailwind colors with nested names won't work with custom primary color

Environment

Operating System: Darwin
Node Version:     v18.16.1
Nuxt Version:     3.10.3
CLI Version:      3.10.1
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, ui, fontMetrics, googleFonts, devtools, extends, colorMode
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.14.1
Reproduction
Obvious problem w/ solution. No reproduction needed.
Description
Tailwind allows you to extend colors with nested prefixes which is helpful for prefixing with brand classes such as:
export default {
  ...
  theme: {
    extend: {
      colors: {
        vector: {
          space: {
            50: "#eceaff",
            100: "#dfdaff",
            200: "#c6bcff",
            300: "#a693ff",
            400: "#9168ff",
            500: "#8645ff",
            600: "#8425ff",
            700: "#761ae8",
            800: "#5f18bb",
            900: "#4d1d92",
            950: "#160828",
          }}}}}

This normally compiles to classes such as bg-vector-space-400.
But if you set app.config.ts to reference this nested value, such as:
export default defineAppConfig({
    ui: {
        primary: 'vector-space',
        gray: 'zinc',
    }
})

...it won't work. Forcing you to unnest it like this:
      colors: {
        "vector-space": {
          50: "#fef2f2",
          100: "#ffe2e1",
          200: "#ffcac8",
          300: "#ffa5a2",
          400: "#fd716c",
          500: "#f65650",
          600: "#e22720",
          700: "#bf1c16",
          800: "#9d1c17",
          900: "#821e1a",
          950: "#470a08",
        },

Additional context
No response
Logs
No response

I don't think it's a bug, will try other ways to config your tailwind css 🙌

Looks like the issue is mainly due to the fact that we currently use the string from appConfig as the key for Tailwind's color object:
https://github.com/nuxt/ui/blob/49b73aa024be14a9aa150a2804f4dcb18542fa49/src/runtime/plugins/colors.ts#L11
Other than this the module does indeed resolve correctly any nested extended color: example repro.


Merge pull request #16 from starsirius/fix-time-label-selection

@starsirius The time labels should not be selectable.

a123

keke testing


fix #2797 #2722 模块化使用报错

fix #2797 #2722 模块化使用报错

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Bug: Python Wheel Builds

Describe the bug
Wheel builds failed
Steps to reproduce
Build
Expected behavior
Build
UKV version
v0.7.x
Operating System
Any
Hardware architecture
x86
Are you using an embedded version?

[ ] I use the embedded version

Which interface are you using?
Official Python bindings
Which engine are you using?
UMem
Contact Details
No response
Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

@DarvinHarutyunyan what's the status of this issue?


Tokenizer issue with Cerebras' BTLM 3B

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
Attempting to tokenize a oasst style dataset with BTLM's GPT2Tokenizer results in the following warning being displayed during tokenization:
[WARNING] [axolotl._tokenize:78] [PID:3175928] Tokenizer result is empty. You may want to audit your dataset.

Ignoring this will lead to:
Traceback (most recent call last):                                                                                │
  File "/home/alpin/miniconda3/envs/axolotl/lib/python3.10/site-packages/multiprocess/pool.py", line 125, in worker                                                                               │
    result = (True, func(*args, **kwds))                                                                                │
  File "/home/alpin/miniconda3/envs/axolotl/lib/python3.10/site-packages/datasets/utils/py_utils.py", line 1347, in _write_generator_to_queue                                                     │
    for i, result in enumerate(func(**kwargs)):                                                                                │
  File "/home/alpin/miniconda3/envs/axolotl/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3450, in _map_single                                                                    │
    example = apply_function_on_filtered_inputs(example, i, offset=offset)                                                                                │
  File "/home/alpin/miniconda3/envs/axolotl/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3353, in apply_function_on_filtered_inputs                                              │
    processed_inputs = function(*fn_args, *additional_args, **fn_kwargs)                                                                                │
  File "/home/alpin/axolotl/src/axolotl/prompt_tokenizers.py", line 125, in tokenize_prompt                                                                                │
    tokenized_res_prompt = self._tokenize(                                                                                │
  File "/home/alpin/axolotl/src/axolotl/prompt_tokenizers.py", line 88, in _tokenize                                                                                │
    if result["input_ids"][0] == self.tokenizer.bos_token_id and strip_bos_token:                                                                                │
IndexError: list index out of range

Along with a thousand more lines of error.
Current behaviour
Apparently works with Alpaca format.
Steps to reproduce
Add this to the config YAML:
base_model: cerebras/btlm-3b-8k-base
base_model_config: cerebras/btlm-3b-8k-base
model_type: AutoModelForCausalLM
tokenizer_type: GPT2Tokenizer
trust_remote_code: true
datasets:
  - path: /home/data/axolotl/data
    type: oasst

Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.10.12
axolotl branch-commit
commit f733d0f31e545f177f310d14a6366bab729dc16e (HEAD -> main, origin/main, origin/HEAD)
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

@AlpinDale fixed by #442

Can't wait to try it out!


Add The Ohio State University

Official website: https://www.osu.edu/
Long-term IT related course: https://cse.osu.edu/courses/software-i-software-components-2221
Official email domain proof: https://osuitsm.service-now.com/selfservice/kb_view.do?sysparm_article=kb02050#WhatIs

@ColinAWilliams Pull request merged. Thank you!

@philipto Should the JetBrains Products for Learning form work right away? My @osu.edu email still isn't going through.

@philipto Never mind; it worked! Thank you!


Default CMake Preset Setting in Workspace Settings

Brief Issue Summary
Issue: When using multiple workspaces in the same directory, Visual Studio Code's CMake Tools extension does not remember individual CMake presets for each workspace. This leads to the inconvenience of frequently having to manually select the correct preset for each workspace.
Proposed Solution: Introduce a new setting, cmake.defaultConfigurePreset, in the workspace settings. This setting would allow users to specify a default CMake preset for each workspace.
Expected Benefit: This feature would automatically configure each workspace with its specified preset upon opening, simplifying the workflow and reducing manual configuration.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

@Gebhartj Thanks for the suggestion! I've added the appropriate triage labels and placed it on our backlog for future assessment.


Box RleDecoder index buffer (#1061)

Which issue does this PR close?
Closes #1061.
Rationale for this change
See ticket
What changes are included in this PR?
Changes the RleDecoder to box its index buffer, this reduces surprises from a 4Kb RleDecoder struct, and reduces heap allocations if RleDecoder is itself heap allocated and RleDecoder::get_batch_with_dict is never called (e.g. for decoding levels).
Running the parquet benchmarks showed no discernible performance impact of this change, as expected
Are there any user-facing changes?
No

Codecov Report

Merging #1062 (6b73a7d) into master (99b7d01) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1062      +/-   ##
==========================================
- Coverage   82.31%   82.31%   -0.01%
==========================================
  Files         168      168
  Lines       49056    49056
==========================================
- Hits        40379    40378       -1
- Misses       8677     8678       +1

Impacted Files
Coverage Δ

parquet/src/encodings/rle.rs
92.71% <100.00%> (ø)

arrow/src/datatypes/datatype.rs
65.95% <0.00%> (-0.43%)
:arrow_down:

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (-0.23%)
:arrow_down:

arrow/src/datatypes/field.rs
53.68% <0.00%> (+0.30%)
:arrow_up:

Continue to review full report at Codecov.

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

Merging this in to try and clear the PR backlog -- I implemented @Dandandan 's suggestion in https://github.com/apache/arrow-rs/pull/1070


Build from source linking to Anaconda python fails

I'm trying to build from source so I can link to a different python interpreter. I'm on MacOS Sierra 10.12.1. I can build just fine with all the options I want except for python integration. So if I install with this script it works:
start_dir=$(pwd)
downloads_dir=$HOME/Downloads
python_dir=$HOME/miniconda
vim_install_dir=$HOME/.local/vim

mkdir -p $downloads_dir
cd $downloads_dir
git clone https://github.com/vim/vim.git
cd vim

export LD_LIBRARY_PATH=$python_dir/lib:$LD_LIBRARY_PATH \
  export PATH=$python_dir/bin:$PATH
  ./configure \
  --prefix=$vim_install_dir \
  --with-features=huge \
  --enable-multibyte \
  --enable-cscope \
  --enable-gui=no \
  # --includedir=$python_dir/include/python3.6m \
  # --enable-python3interp \
  # --with-python3-config-dir=$python_dir/lib/python3.6/config-3.6m-darwin \

make && make install

cd $start_dir

but if I delete all the built and downloaded files, uncomment the python-related lines, and run it again, it fails. Here's a file with the output of the command above with the 3 lines uncommented: install.log
A couple other things to verify that the directories I'm using are correct:
$ find ~/miniconda -name config.c
/Users/benlindsay/miniconda/envs/django/lib/python3.6/config-3.6m-darwin/config.c
/Users/benlindsay/miniconda/lib/python3.6/config-3.6m-darwin/config.c
/Users/benlindsay/miniconda/pkgs/python-3.5.4-he720263_23/lib/python3.5/config-3.5m/config.c
/Users/benlindsay/miniconda/pkgs/python-3.6.3-h47c878a_7/lib/python3.6/config-3.6m-darwin/config.c
/Users/benlindsay/miniconda/pkgs/python-3.6.3-h6804ab2_0/lib/python3.6/config-3.6m-darwin/config.c

$ find ~/miniconda/include -type d -name '*python*'
/Users/benlindsay/miniconda/include/python3.6m

Hey Nuko - just wanted to add my thanks as well ...solved it compiling for me as well

PYTHON3_SRC    = if_python3.c
 PYTHON3_OBJ    = objects/if_python3.o
 PYTHON3_CFLAGS = -I/Users/kazu/miniconda3/include/python3.6m -DPYTHON3_HOME='L"/Users/kazu/miniconda3"' -fPIE
-PYTHON3_LIBS   = -L/Users/kazu/miniconda3/lib/python3.6/config-3.6m-darwin -lpython3.6m -ldl -framework CoreFoundation
+PYTHON3_LIBS   = -L/Users/kazu/miniconda3/lib/python3.6/config-3.6m-darwin -rpath /Users/kazu/miniconda3/lib/python3.6/config-3.6m-darwin -lpython3.6m -ldl -framework CoreFoundation
 PYTHON3_CONFDIR        = /Users/kazu/miniconda3/lib/python3.6/config-3.6m-darwin

Hi, could you provide a version for Linux users?  it seems -rpath -framework is not suitable for gcc??  Thanks.


[Snyk] Upgrade @types/react from 18.2.0 to 18.2.23

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @types/react from 18.2.0 to 18.2.23.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 23 versions ahead of your current version.
The recommended version was released 25 days ago, on 2023-09-26.

Release notes

Package name: @types/react

18.2.23 - 2023-09-26

18.2.22 - 2023-09-18

18.2.21 - 2023-08-22

18.2.20 - 2023-08-09

18.2.19 - 2023-08-08

18.2.18 - 2023-07-31

18.2.17 - 2023-07-26

18.2.16 - 2023-07-24

18.2.15 - 2023-07-13

18.2.14 - 2023-06-23

18.2.13 - 2023-06-19

18.2.12 - 2023-06-12

18.2.11 - 2023-06-10

18.2.10 - 2023-06-10

18.2.9 - 2023-06-07

18.2.8 - 2023-06-01

18.2.7 - 2023-05-24

18.2.6 - 2023-05-06

18.2.5 - 2023-05-04

18.2.4 - 2023-05-04

18.2.3 - 2023-05-04

18.2.2 - 2023-05-03

18.2.1 - 2023-05-03

18.2.0 - 2023-04-25

    from @types/react GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Closed in favor of: https://github.com/near/near-discovery/pull/766


How to enqueue new download synchronously?

I need to enqueue a download and I want to return its request id in a blocking way. Is that possible?
I guess I can force it with while(true) and break out of the loop once the success or error is returned, and wrap all of that in a suspendCoroutine in kotlin. Is there a better way?

what about when a new download is successfully added, can call a method which will throw an exception if a request could not be added? Since I am already using fetch on a background thread I would like to perform everything synchronously.

Fetch is fully Async. As you suggested your best bet is to use a while loop to wait.
boolean notCompleted = true;
fetch.doWork(callback {
  //work is done on a background thread. when done set notCompleted to false;
 notCompleted = false;
});
while(notCompleted) {
 //wait
}

If you are familiar with RxJava you can use RxFetch/Futures.

this is what I came up with I think others may find this useful, I did not like the while(true) since coroutines already have a suspendedCoroutine, the tricks is to use the runBlocking to block the thread while the suspendedCoroutine is still running. I guess this can be added to the documentation under Synchronous execution section, if you find it interesting
  return runBlocking {
            return@runBlocking suspendCoroutine<Boolean> { continuation ->
                fetchInstance.pause(id.toInt(), Func {
                    continuation.resume(true)
                }, Func {
                    continuation.resume(false)
                })
            }
        }

I will close the issue, thanks for the help!

I've used this code to enqueue synchronously using RxJava Completable:
    private fun createEnqueueOperation(requests: List<Request>): Completable {
        return Completable.create {
            fetch.enqueue(requests,
                Func { result ->
                    for ((request, error) in result) {
                        if (error == Error.NONE) {
                            ...
                        } else {
                            ...
                        }
                    }
                    return@Func it.onComplete()
                })
        }
    }

    createEnqueueOperation(requests).blockingAwait()


Frontend: Refactor DatasetMetadata for download and data catalog requirements

acs_population-by_race_state_std and acs_population-by_age_state are unique dataset IDs.
This means they would show up as separate items in the data catalog. We would like them to be in the same card instead
see FakeMetadataMap

One note on this - we decided that only datasets with the suffix "_std" will be surfaced in the data downloads page (others are aggregations that are based on the "_std" datasets, so users can reproduce the same data with the underlying "_std" version). A future feature request could be to offer downloads of different variants in the download cards, but this would require building out a UI for displaying the different variants and I believe is out of scope for MVP.
Also, we should revisit the format of the FakeMetadataMap now that a few developments have evolved:

We have a better sense of what the requirements are for the explore data and data downloads page, and the frontend architecture has started to solidify. This may make some of the metadata unnecessary. For example, do we need to list the fields for every dataset? We don't really use them in the downloads page, and this seems reasonable to hard-code into the VariableProviders.
It's looking unlikely we'll get a full end-to-end metadata implementation for launch, and we may need to hard-code some static metadata similar to the MetricConfig. Given that, it seems infeasible to maintain such granular metadata in the FakeMetadataMap, when most of it is unused, especially for those that won't be in the downloads page. In fact, arguably we don't even need to list any of the aggregated datasets in the metadata map at all.

My recommendation is to split out the static from dynamic metadata. Slim down the static metadata to the minimal set we need for current features, and scope down backend metadata requirements to only dynamic metadata (I think last update time is the only dynamic metadata at time of writing).
What do you think?

One note on this - we decided that only datasets with the suffix "_std" will be surfaced in the data downloads page (others are aggregations that are based on the "_std" datasets, so users can reproduce the same data with the underlying "_std" version). A future feature request could be to offer downloads of different variants in the download cards, but this would require building out a UI for displaying the different variants and I believe is out of scope for MVP.
Also, we should revisit the format of the FakeMetadataMap now that a few developments have evolved:

We have a better sense of what the requirements are for the explore data and data downloads page, and the frontend architecture has started to solidify. This may make some of the metadata unnecessary. For example, do we need to list the fields for every dataset? We don't really use them in the downloads page, and this seems reasonable to hard-code into the VariableProviders.
It's looking unlikely we'll get a full end-to-end metadata implementation for launch, and we may need to hard-code some static metadata similar to the MetricConfig. Given that, it seems infeasible to maintain such granular metadata in the FakeMetadataMap, when most of it is unused, especially for those that won't be in the downloads page. In fact, arguably we don't even need to list any of the aggregated datasets in the metadata map at all.

My recommendation is to split out the static from dynamic metadata. Slim down the static metadata to the minimal set we need for current features, and scope down backend metadata requirements to only dynamic metadata (I think last update time is the only dynamic metadata at time of writing).
What do you think?

Sync with product to figure out if datasets with different standardized versions (such as ACS race and ACS age) should be the same card or not.
Migrate download button to go straight from the server instead of in the frontend to decouple its use of DatasetMetadata so we can update DatasetMetadata #234
Change DatasetMetadata to only take update_time from the backend
export interface DatasetMetadata {
readonly id: string;
readonly update_time: string;
}
Create a static config in the frontend that will provide the rest of the DatasetMetadata according to product specifications
Audit frontend usage of Metadata to make sure it makes sense with this new framework
Ensure documentation is updated so that all these static configs are updated appropriately

Sync with product to figure out if datasets with different standardized versions (such as ACS race and ACS age) should be the same card or not.
Migrate download button to go straight from the server instead of in the frontend to decouple its use of DatasetMetadata so we can update DatasetMetadata #234
Change DatasetMetadata to only take update_time from the backend
export interface DatasetMetadata {
readonly id: string;
readonly update_time: string;
}
Create a static config in the frontend that will provide the rest of the DatasetMetadata according to product specifications
Audit frontend usage of Metadata to make sure it makes sense with this new framework
Ensure documentation is updated so that all these static configs are updated appropriately

One other thing - if we do decide to offer different variations of the same dataset for download, we will need to change the exporter to export aggregations as CSVs also (currently it only exports the base tables as CSVs).

One other thing - if we do decide to offer different variations of the same dataset for download, we will need to change the exporter to export aggregations as CSVs also (currently it only exports the base tables as CSVs).

Note that this logic also impacts the Card Footer citations

Note that this logic also impacts the Card Footer citations

From frontend/UX sync - leaning towards having one card per source (eg ACS population), and if there are multiple versions from that source then the download button would show a popup with the option to choose your specific version.
Still needs to be confirmed though, we didn't entirely settle this

From frontend/UX sync - leaning towards having one card per source (eg ACS population), and if there are multiple versions from that source then the download button would show a popup with the option to choose your specific version.
Still needs to be confirmed though, we didn't entirely settle this

Data catalog will have one card per data source and clicking download will open a pop up dialog that will, for MVP, list all files available for download. Downloads only happen from this popup.

Data catalog will have one card per data source and clicking download will open a pop up dialog that will, for MVP, list all files available for download. Downloads only happen from this popup.


Set up /overview routing to the Overview component

Description
Set up /overview routing to the Overview component #127
How to test?
go to http://localhost:3000/overview
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] This PR is ready to be merged and not breaking any other functionality

There is a merge conflict. Fix that please


Qualify outdated references to Freecell, Solitaire, Minesweeper

These games aren't included with clean installs of operating system as of Windows 8 and later.
Games with similar functionalities are on the Microsoft Store, however this page isn't referring to those. To fix this it should qualify what OS they were part of.

@clandrew : Thanks for your contribution! The author(s) have been notified to review your proposed change.


All files downloading with .tmp extension in 6.0.4

Bug description
Downloading any file, regardless if it's an image or webm or gif, and regardless of the booru, now downloads the file with .tmp as the extension, instead of the original extension. My settings are unchanged from 6.0.3, in which I didn't have this issue.
Steps to reproduce

Either double click any image to have it automatically open, or save and then check it in the download directory, and all the files will have the .tmp extension. If you manually rename the extension to what it was meant to be, the file will open properly, so it seems it's just a matter of Grabber giving a wrong extension string.

Expected behavior
Grabber should maintain the original file extensions.
System information

OS - Windows 10
Grabber version: 6.0.4

Just doublechecked and yeah, clicking save definitely saves it as .tmp as well for me.

Noticed another possibly related issue. When I click save on a file and then click destination folder, it is not opening the download folder, but instead the temp folder (in AppData/Local/Temp/Grabber).

I'd like to report that I am also facing this issue when trying to load/open or save images individually. If I try a full download operation (i.e. process it through the 'Downloads' tab) then nothing goes awry. The problem is strangely intermittent as some individual loads will work correctly.

Can I have your log file? (or at least a c/c of your log tab)
Also, you say the extension is .tmp, but is the rest of the filename correct?

Since I couldn't reproduce in the first place, can you confirm it's now working on v6.0.5?
And if it still doesn't work, can I have your log and settings file?

All working again for me. Thanks @Bionus !


defaultValue doesn't scroll to choice if not visible

Specifiying a defaultValue for arg doesn't scroll the list to reveal the corresponding item.
Current behavior
The item indicated by defaultValue is selected ('15' in this example), but not scrolled into view.
Notice that when I press ⬆ I do get to the adjacent item ('14'), but the list started at the top.
https://user-images.githubusercontent.com/47897671/236698045-fd7a4152-de83-41d3-9ca0-0a1ac5f71be4.mp4
Expected behavior
The item is selected and scrolled into view.
Sidenote: scrolling into view should be deterministic and position the item at an expected position on the screen.
Consider the following example where the kit doesn't disappear from the screen...
Each call to arg should keep the list at its previous scroll position.
let defaultValue = '1';

while (condition)
{
    const value = await arg({
        ...
        defaultValue
    }, ['1', '2', '3', ........... '20']);

    defaultValue = value;

    // Stuff....
}

@BeSpunky I can do a "scrollToItem" based on these 'start', 'center', 'end', 'smart' options: https://react-window.vercel.app/#/examples/list/scroll-to-item
Considering the fact that most lists will shrink/change/etc based on user input/filtering, remembering the scroll position when re-rendering the complete list doesn't make logical sense to me. I would have to check too many variables: prompt size, list length, if choices match exactly, user input, etc.
I think 'center' makes the most sense based on my brief explorations/implementation.

I'll add it to my backlog to send the current scroll position in an onScroll handler, then allow the user to set a starting scrollPosition. That way if the script author knows the choices/etc will remain the same, the can manually control the scroll as well

It would be nice to have the flexibility of both. You either set a prop with center | start | end and get out of the box scrolling, or use a custom function.
Makes sense? 🤔
Otherwise, I already see myself writing and reusing a util restoreScrollPosition funcion...


Java 9 is not compatible with Gradle 2.13

I tried to build the project in "complete" folder using IntelliJ IDEA + JDK 9 + Gradle and encountered the error:
"Could not determine java version from '9.0.4 '"
Then I upgraded Gradle to version 4.4.1 in gradle-wrapper.properties:
distributionUrl=https://services.gradle.org/distributions/gradle-4.4.1-bin.zip
and it helped.
Please update Gradle in the source code.

@jbsf Since we've updated the guide to Gradle 4.6, perhaps you would like to check again.


Fix update user

What kind of change does this PR introduce?
Hello,
Bug fix #3
What is the current behavior?

A request is send to wrong route "/recover" instead of "/user"

What is the new behavior?

Send a request to "/user" to update a user

Thank you.

Thank you ☺

Yessir! It’s in the latest release, and supabase-csharp has been bumped to a new version as well


Hostname spoof stopped working

I had the hostname spoof running adequately on Catalina with Intel chip. I noticed after a while that despite rebooting, my hostname would remain at a specific random name. I went through the procedure of removing the script/files and launch daemon. I've been trying to get everything to work since, but can't get my hostname (or mac address) for the life of me... It constantly remains the same. I'm fairly new to coding, any guidance would be appreciated.

Have you upgraded to Big Sur or are you still on Catalina?

Catalina 10.15.7; 2.3 GHz Quad-Core Intel Core i5

What happens when you paste /usr/local/sbin/spoof.sh in Terminal and hit enter?
Please be mindful of what you share on GitHub btw.

When I paste it the spoof works, however the name remains the same when rebooting. I have to paste it everytime I reboot to change the name and MAC. Would my issue be with the lauch daemon?

Hey, @eackone, late follow up… guide has been updated to work on Big Sur and Monterey.
Did you ever upgrade you OS or solve your issue?

Hostname spoofing works on M2 MAC with Ventura


Github Health Categories and Metrics Suggestions

Hello Everyone,
In working with @germonprez in his class at the University of Nebraska Omaha, I was asked to identify categories and some metrics associated with them. He suggested posting this here for discussion.
When presented with this problem I first took a step back and looked at how repositories flourish on Github. It is important to note that the code itself is not the only thing of concern. The goal here is to address and rank repositories on what the user is concerned about. From this I derive five key areas that I named:
•	Community – Active contributors to the Repository and their growth and activity.
•	Code – Quality and reliability of the source code itself.
•	Assistance – Quality and helpfulness of issue resolution.
•	Adaptability – The ability for the code to have a variety of uses.
•	Licensing – Usability of the code.
It is important to segregate these concerns and have the ability to judge them separately as this should help diversify the systems adaptiveness to varying concerns. An entity that only plans on using source internally may not need to consider the license but is concerned about the quality of the code and community to support that code.
Community refers to the active contributors that support a repository. Looking at the activity of each contributor both on the repository and then on Github in general to determine how much time they commit to the repo compared to other projects. This should also look at the interaction, closeness and growth of the contributors over time. A few metrics that would apply to this are:
•	number of contributors
•	frequency of contributions
•	activity level of contributors
•	Truck Factor (“The number of developers it would need to lose to destroy its progress.” From the Influence Analysis of Github Repositories)
•	Time to become contributor
•	Distribution of work across community
•	rate of acceptance of new contributions
Code is probably the easiest category and the hardest category to evaluate. Ideally, we want to know that it is routinely kept up to date, is clean and well documented, and will continue to stay that way for the foreseeable future. This is easier said than done, one thing that makes it easier to analyze is the fact that it has the most meta data to work with. A few metrics that would apply are:
•	number of updates
•	regularity of updates
•	time since last update
•	number of pull rejections
•	number of CVEs and % of age open – https://www.coreinfrastructure.org/programs/census-project
•	3rd party Dependencies (if obtainable) – https://www.coreinfrastructure.org/programs/census-project
•	stars
•	overall size of the repository / commits
Assistance is exactly what it sounds like. As a user of the code how much assistance can you get in implementing it. Additionally, while this may not be directly relevant to some entities, it is indirectly relevant to everyone. Lack of support leads to lower adoption which also leads to a smaller set of stakeholders willing to keep it going. A few metrics that would apply are:
•	number of open issues / label
•	time to close
•	communication level (response time and number)
Adaptability refers to the degree that the project could be easily adapted to your specific needs. While this is very useful it’s also extremely hard to determine from the metrics. However, I believe a couple could give small indirect indications of flexibility. The first is the number of forks in the repository followed by the number of downloads. A large number of forks with lower downloads tend indicate a useful code that can be expanded upon in many ways. Where a low number of forks but large number of downloads may indicate a project that is specific but widely useful. More research will need to be done to identify and refine these assumptions.
Licensing which is in reference to the usability of the code. More restrictive licenses may be a turn off or may just require more adaptability and community to be viable. A couple metrics for licenses would be:
•	Is there a license
•	Number of licenses
•	Flexibility of licenses

Thanks, these are some good ideas!

This issue was moved to OSSHealth/HealthIndicators#1


CODEOWNERS: add docs-maintainers for content-modules

Sets docs-maintainers as code owner for all Git submodules
@svrnm - WDYT?
Kinda related: #3598

Maybe this change isn't relevant given:

#3581

Or maybe it can still go in until #3581 is resolved.


Update discovery_info

Hi,
Thanks for this integration!
This fixes the warning in #127 about coming changes in HA

Thank you!


How I can set subtitles

Hi,
I'm trying to enable the a subtitle track with the Winform Control.
I can count the number of subtitle tracks by using;
        int numSbtitles = myVlcControl.SubTitles.Count;

but I cannot set the first track by using:
        myVlcControl.SubTitles.Current = myVlcControl.SubTitles.All.First();

I obtain an error even if I try to read the ID property (or the Name property) of one of the subtitles track.
Someone could help me?

try it below.
myVlcControl.SubTitles.Current = myVlcControl.SubTitles.All.First(o=>o.ID == YOUR_SUB_ID);

Closing as this is an old issue, feel free to reopen if needed


Doesn't properly handle empty lines in the data

I have a CSV file which contains large data including all types of special characters.
But if my file contains data in the format
"This is test Data
added for testing empty line in file next is empty line
This is end"
Then after finishing importing records I am not getting this record although it is present in my CSV file.

@Snehal247 Thank you for reporting this. Sorry for answering so late, was on vacation.
Would you mind adding a failing test and fixing this yourself in a PR? I'm happy to review and merge it.


Bug: Cropping to focal point on rotated images

I have noticed that the focal point doesn't appear to be set correctly when the original image is a jpeg containing EXIF orientation information. This leads to the image being cropped incorrectly when using the fill image filter.
The django ImageField returns the width and height of the original image uploaded without considerations to orientation, while the willow image created when applying a Filter is corrected for orientation. The width and height used for the focal point position and size appear to be keyed off of the dimensions of the original image. This causes an issue when the focal point, created off the non-rotated original image, is applied to the rotated willow image.
Here is where the willow image orientation is being corrected and the filter operations are being applied:
wagtailimages/models/Filter
    def run(self, image, output):
        with image.get_willow_image() as willow:
            original_format = willow.format_name

            # Fix orientation of image
            willow = willow.auto_orient()

            for operation in self.operations:
                willow = operation.run(willow, image) or willow

Would it fix the issue if the willow image orientation was corrected after the filter operations were run or would that cause other issues?

Thanks for reporting! A similar issue occurs when you run a fill operation after another resize operation, the focal point will not be transformed by the first operation so the fill crops the image incorrectly.
I think it makes sense to accumulate each transformation made on the image into a transformation matrix and pass it into each operation as we run them. The fill operation can then use this to transform the focal point before cropping. #2474 introduces a way to pass variables between operations in the same pipeline so we could use that for passing the matrix around.

I think is related: when working on some JPEG images, the focal area is not set correctly after save on the image edit form


Analyzer fails to downcast from dynamic at yield

Example:
// ...
Iterable<T> iterate2<T>(dynamic v1, dynamic v2) sync* {
  yield v1;
  yield v2;
}

The analyzer gives errors for the yields, e.g.:
line 5 • A yielded value of type 'dynamic' must be assignable to 'T'.[ (view docs)](https://dart.dev/diagnostics/yield_of_invalid_type)

That's a bad diagnostic by itself, because dynamic is assignable to T.
The front-end (DartPad, master branch) gives no errors.
It does not appear to affect other coercions. There are no errors in:
class Callable {
  int call(int x) => x;
}
T generic<T>(T value) => value;

Iterable<int Function(int)> foo(dynamic f) sync* {
  yield Callable();
  yield generic;
}

I believe this to be a bug (unless the spec for sync*/yield is ambiguous or underspecified).

The specification explicitly states that

It is a compile-time error if the static type of e may not be assigned to the element type of f

where we're considering a statement yield e that occurs in the function f, and assignability is defined such that an expression of type dynamic is assignable to anything. So the specification doesn't seem to be ambiguous or underspecified.


open source

the system is not open source because they contain eval (gzuncompress(base64_decode(
I would like to have it open in order to modify and improve code

this https://github.com/zgelici/FOS-Streaming-v1/blob/eab71916e906995baeb5109484c2afca384c507e/stream.php
@zgelici

If you want to improve things, you can do that. If you want to improve stream.php. you can build it your own. If you open the same issue. Than i dont response to it. Good luck. I have a reason for that. But i dont need to give that.


Varying "extras" outcomes with the same input requirements

The compiled extras appear and disappear on sequential runs of pip-compile with the same input.
Environment Versions

OS Type: Mac OS
Python version: $ python -V: Python 3.7.4
pip version:  $ pip --version: pip 20.1
pip-tools version: $ pip-compile --version: 5.2.0

Steps to replicate

Create files as following:

# requirements.in (NOT NEEDED, just for a complete picture)
connexion

# requirements.txt
connexion==2.7.0

# requirements-dev.in
-c requirements.txt
connexion[swagger-ui]

Run

pip-compile --no-emit-trusted-host --no-emit-index-url --upgrade --output-file=requirements-dev.txt requirements-dev.in

Observe: connexion==2.7.0 OR connexion[swagger-ui]==2.7.0 is added to requirements-dev.txt depending on luck (repeat 3-4 times), when [swagger-ui] extra is expected to be there always.

Repeat 3-4 times.

Expected result
The outcome is consistent over time: multiple runs generate the same result (always with the extra).
connexion[swagger-ui]==2.7.0  # via -c requirements.txt, -r requirements-dev.in

Actual result
The outcome varies between multiple runs.
One of:
connexion[swagger-ui]==2.7.0  # via -c requirements.txt, -r requirements-dev.in

OR
connexion==2.7.0          # via -c requirements.txt, -r requirements-dev.in

Randomly on each attempt.

PS: My initial assumption was that it is flipping forth-and-back on each run. But, after a few experiments, I've got cases when it was consistent for 2-3 attempts in a row, but again varying on the 4th attempt. So, looks like random.

Duplicates to #852

@nolar
Thanks for the reproducer!

Let's track it in #852. Thanks for the issue!


Add caddy version extractor

This change adds a helper script to the github workflows that extracts the caddy version from the Dockerfile. The Caddy version will later be used to tag the resulting docker image.

@JonasAlfredsson it's ready for review now. Sorry for spamming you before it was ready.


Convert to Python 3.

Putting this here to keep track for our next sprint :) :egg: :hatching_chick: :hatched_chick: :chicken:

Thanks to @alcarney this is implemented in commit c0c26b6b59909aa2a5631b5eee267cce7aff2ba6


drivers: dac: Introduce gd32 driver

Introduce  GD32 DAC driver in here.
From GD32 MCU Selection Guide, we can find most gd32 SoCs have 2 DAC output, but some like gd23f350 have only one DAC output. This PR add support for both 2 DAC and 1 DAC output.
Also add GD32450i-EVAL board to dac driver sample.
More GD32 support progress? https://github.com/zephyrproject-rtos/zephyr/issues/38657

@cameled ,
Thank you for your PR.
I would ask you to always add PR description to make community aware about what is your work. That is the place were you should describe, in few words, what people can expect, pros and cons (when applicable) etc. This way you get more attention.

I would ask you to always add PR description to make community aware about what is your work. That is the place were you should describe, in few words, what people can expect, pros and cons (when applicable) etc. This way you get more attention.

done.

@gmarull I will fix others issue in tomorrow.


Running problem

Hello, when I use my own data set for training, the program can run, but after a period of training, it will suddenly terminate. It may be the 10th epoch or the 1st epoch. What settings do I have? Is it not the right place.
when i run cascade_rcnn_x101_64x4d_fpn_1x.py
RuntimeError: The size of tensor a (4) must match the size of tensor b (9) at non-singleton dimension 1

Hi, Can you provide complete information? E.g. complete error message

Hi, Can you provide complete information? E.g. complete error message

sorry，
2021-04-21 10:29:48,485 - mmdet - INFO - Epoch [1][200/7417]    lr: 4.584e-04, eta: 1 day, 11:18:11, time: 1.165, data_time: 0.005, memory: 7563, loss_cls: 1.0233, loss_bbox: 0.9092, loss_dfl: 0.4767, loss: 2.4092
2021-04-21 10:30:48,286 - mmdet - INFO - Epoch [1][250/7417]    lr: 5.733e-04, eta: 1 day, 11:36:20, time: 1.196, data_time: 0.006, memory: 7563, loss_cls: 0.8554, loss_bbox: 0.8731, loss_dfl: 0.4612, loss: 2.1897
2021-04-21 10:31:46,308 - mmdet - INFO - Epoch [1][300/7417]    lr: 6.882e-04, eta: 1 day, 11:37:07, time: 1.160, data_time: 0.006, memory: 7563, loss_cls: 0.8586, loss_bbox: 0.8980, loss_dfl: 0.4735, loss: 2.2301
2021-04-21 10:32:42,522 - mmdet - INFO - Epoch [1][350/7417]    lr: 8.030e-04, eta: 1 day, 11:27:52, time: 1.124, data_time: 0.005, memory: 7563, loss_cls: 0.9923, loss_bbox: 0.8502, loss_dfl: 0.4539, loss: 2.2964
2021-04-21 10:33:38,669 - mmdet - INFO - Epoch [1][400/7417]    lr: 9.179e-04, eta: 1 day, 11:20:23, time: 1.123, data_time: 0.005, memory: 7563, loss_cls: 1.7532, loss_bbox: 0.8804, loss_dfl: 0.4672, loss: 3.1008
Traceback (most recent call last):
File "tools/train.py", line 187, in
main()
File "tools/train.py", line 183, in main
meta=meta)
File "/home/xinzhichao/mmdetection/mmdet/apis/train.py", line 170, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 125, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 50, in train
self.run_iter(data_batch, train_mode=True)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 30, in run_iter
**kwargs)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/parallel/data_parallel.py", line 67, in train_step
return self.module.train_step(*inputs[0], **kwargs[0])
File "/home/xinzhichao/mmdetection/mmdet/models/detectors/base.py", line 247, in train_step
losses = self(**data)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 84, in new_func
return old_func(*args, **kwargs)
File "/home/xinzhichao/mmdetection/mmdet/models/detectors/base.py", line 181, in forward
return self.forward_train(img, img_metas, **kwargs)
File "/home/xinzhichao/mmdetection/mmdet/models/detectors/single_stage.py", line 95, in forward_train
gt_labels, gt_bboxes_ignore)
File "/home/xinzhichao/mmdetection/mmdet/models/dense_heads/base_dense_head.py", line 54, in forward_train
losses = self.loss(*loss_inputs, gt_bboxes_ignore=gt_bboxes_ignore)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 164, in new_func
return old_func(*args, **kwargs)
File "/home/xinzhichao/mmdetection/mmdet/models/dense_heads/gfl_head.py", line 362, in loss
num_total_samples=num_total_samples)
File "/home/xinzhichao/mmdetection/mmdet/core/utils/misc.py", line 29, in multi_apply
return tuple(map(list, zip(*map_results)))
File "/home/xinzhichao/mmdetection/mmdet/models/dense_heads/gfl_head.py", line 276, in loss_single
avg_factor=1.0)
File "/home/xinzhichao/anaconda3/envs/mmlab/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/xinzhichao/mmdetection/mmdet/models/losses/iou_loss.py", line 342, in forward
return (pred * weight).sum()  # 0
RuntimeError: The size of tensor a (4) must match the size of tensor b (9) at non-singleton dimension 1

O, This problem has been fixed, please use the latest version. you can refer to https://github.com/open-mmlab/mmdetection/pull/4982


[SPARK-5729] Potential NPE in standalone REST API

If the user specifies a bad REST URL, the server will throw an NPE instead of propagating the error back. This is because the default ErrorServlet has the wrong prefix. This is a one line fix. I am will add more comprehensive tests in a separate patch.

Test build #27259 has started for   PR 4518 at commit 16b15bc.

This patch merges cleanly.

Test build #27259 has finished for   PR 4518 at commit 16b15bc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27259/
Test PASSed.

LGTM


Activation Functions from Scratch in Keras

#31 Activation Functions from Scratch in Keras
In the following project, we experiment and  implement activation functions commonly used in deep learning libraries from scratch using Keras and Tensorflow
Type of issue

NOTE: These boxes can be checked using [X]

[x] Feature (New Script)

[ ] Bug

[ ] Documentation

Checklist:

[x] I have read the project guidelines.
[x] I have checked all the existing projects, before submitting a new project issue.
[x] I have checked previous issues to avoid duplicates.
[x] This issue will be meaningful for the project.

Hey! Could I implement the sigmoid activation function?

Cool @Agrover112 assigning it to you

Hey! Could I implement the sigmoid activation function?

Hey @kchatr you can implement it if @Agrover112 ain't but I guess he will be covering Sigmoid cause it is commonly used

@kchatr  Hey this project focuses on implementing some lesser known activation functions. Mainly those based on RELU and it's variants

@kchatr Hey this project focuses on implementing some lesser known activation functions. Mainly those based on RELU and it's variants

So you are not implementing Sigmoid?

Nope the aim was to implement RELU based variants . :(

Nope the aim was to implement RELU based variants . :(

Ok

@kchatr  create a separate issue concerned with the implementation of Sigmoid function

I understand why you may want sigmoid by the project takes a different approach mainly relu based variants , which are bit different to sigmoid and not good performance wise @kchatr


FastPanel Module [FEATURE]

Is your feature request related to a problem? Please describe.
A) No.
Describe the solution you'd like
A). A module for FastPanel to enable customers to purchase FastPanel powered Web Hosting. FastPanel Website: https://fastpanel.direct
Describe alternatives you've considered
A) There are no alternative as of now, WHMCS or any other billing system doesn't have FastPanel module as of now, if Paymenter implements this feature then for sure it will gain a great number of users, sponsors and stars.

How many users does fastpanel have?


v0.4.0

Codecov Report

Merging #15 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #15   +/-   ##
=======================================
  Coverage   48.36%   48.36%
=======================================
  Files          10       10
  Lines         612      612
=======================================
  Hits          296      296
  Misses        227      227
  Partials       89       89

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 b58e2e8...704a155. Read the comment docs.


abort abort not today satan

Aknowledgements

[X] I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] This bug affects Discord website.

[ ] This issue is confirmed to be reproduceable when WebCord is packaged
on at least all three latest supported Electron major releases.

[ ] This issue is reproduceable in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).

[ ] There are no fixes done to master which resolves this issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🪟 Windows
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
22.0.0
Application version
4.0.0
Bug description

Additional context
No response

Gotta be honest, this happened to me today on Linux and when I read it, my first reaction was "What the heck...miners?!"
Then I read the code lmao. That scared me for a second there.

happy april

It's a feature, not a bug lmao

This is exactly the sort of "fun gimmick" that makes the official Discord client annoying to use. Browsers, text editors, etc. don't function and differently on April Fools' Day, and neither should IM clients.

I didn't for a second think it was real but alas I chuckled

good one.  now, write code to remove it!

@TearOfTheStar #356

good one. now, write code to remove it!

1000% agreed. Not a funny joke when we're depending on someone to write good code, and even moreso when the "funny feature" utterly breaks the application!

good one. now, write code to remove it!

1000% agreed. Not a funny joke when we're depending on someone to write good code, and even moreso when the "funny feature" utterly breaks the application!

This has been around since august 2022. IMHO you had plenty of time to see this coming. Just another reminder that many people depend on code they have no idea about. People are happy to use open source solutions for free yet so fast to complain when it's not working the way they intend too. Plus this is a funny joke!!

good one. now, write code to remove it!

1000% agreed. Not a funny joke when we're depending on someone to write good code, and even moreso when the "funny feature" utterly breaks the application!

It is harmless through, the dialog actually acts like the introduction to one feature I've implemented during time I've worked on error handling – a way to ignore errors and continue further. This way the client might work completely normal in some cases (like this one) even after an unhandled error occurred.

omg I was like WTF lol

I actually came here assumign it was this, but because I'm deplying it on a work system I needed to prove upstream enabled it on purpose.
yes we use discord for work, no it's not a good idea.

So this was just an april joke, well i'll admit got scared for a moment, apparently pressing not today satan will open the client normaly. Wondering how long this "feature" will remain active

I actually came here assumign it was this, but because I'm deplying it on a work system I needed to prove upstream enabled it on purpose.
yes we use discord for work, no it's not a good idea.

Discord for work really is a terrible idea. Have you seen their latest terms of service update?...
Discord is now official recording voice calls and screen sharing session, they listen to all conversation from millions of users, what the **** is happening? This is insane.

I actually came here assumign it was this, but because I'm deplying it on a work system I needed to prove upstream enabled it on purpose.
yes we use discord for work, no it's not a good idea.

Yeah, WebCord was never a enterprise-grade software, so I've never expected for anyone to treat it as such.

Wondering how long this "feature" will remain active.

This is coded to only be triggered at 1st April (local time), so I guess the next day you will expect it to behave normally.


mdata-fetch should not blindly try to remove a file

[2016-03-29T17:05:27Z] /lib/svc/method/mdata-fetch:421: rm /etc/inet/static_routes.vmadm
rm: /etc/inet/static_routes.vmadm: No such file or directory

Checking if the file exists before trying to remove it would probably be better. (I'm not 100% I got the correct repo for this one)

I think maybe this should be moved to the SmartOS repo although the above looks like it's from code in zoneinit

I was indeed not sure if i needed smartos-live or this repo. I'll recreate it there.


Fix hostname vars

Changing host vars for Microshift and Ansible hosts when running it from 2 different VMs.
This change has been tested successfully: https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/microshift/job/microshift-performance-tests/42/

@sjug please, take a look at these changes

thanks @sjug I'll close this PR because I understood how to properly configure it without applying these changes


panel is not load

I install panel after 1 day panel is not load
restart, reinstall, update, reboot server doesn't work

please dm t.me/tired_mans on telegram so that i can check your server logs

a change in websocket for web-ui is coming to fix this problem, soon.

fixed in 0.2.3


README mentions use of a non-refererenced environment variable REPOSITORY

In the "Build and Push the docker image" section of the README, it mentions setting the following environment variable:

REPOSITORY: Must be the login server of the ACR where Backend is installed.

However, the intended docker-compose file does not use a variable named REPOSITORY it instead uses one named REGISTRY
See: https://github.com/microsoft/TailwindTraders-Website/blob/master/Source/docker-compose.yml
Suggestion is to consolidate to one of these names and update the documentation accordingly

Hello!,
this is fixed with the las PR, we change in documentation REPOSITORY name to REGISTRY,
https://github.com/microsoft/TailwindTraders-Website/pull/38/commits/4ed5eecadc8e6a7c605c69ff187c8ca7f4a43efc
Thank you!
Regards,


Getting "UnboundLocalError: local variable 'suites' referenced before assignment"

Traceback (most recent call last):
File "junit2html", line 4, in
runner.start()
File "C:\Python27\lib\site-packages\junit2htmlreport\runner.py", line 45, in start
run(sys.argv[1:])
File "C:\Python27\lib\site-packages\junit2htmlreport\runner.py", line 29, in run
report = parser.Junit(args[0])
File "C:\Python27\lib\site-packages\junit2htmlreport\parser.py", line 419, in init
self.process()
File "C:\Python27\lib\site-packages\junit2htmlreport\parser.py", line 454, in process
for suite in suites:
UnboundLocalError: local variable 'suites' referenced before assignment

Can you attach a XML file that provokes this?

Please find attached the xml, which caused the same(change the extension to xml)
But in my opinion this is something related to Code issue in Parser.py at line 454
we have one for loop (for suite in suites: ), which is trying to use suites which is not initialized anywhere in "process"
CaseManagementConfidenceTestSuite_20171113-124043 - Copy.txt
function

I think I understand,  your file contains a top level  that also contains  tags.  I'd not encountered nested test suites before.

Yes, I am getting an empty HTML file after fixing this bug
Solution : In process function, we can initialize suites as "suites = []"
After this change I am getting HTML file generated but it is all empty, attaching the same to this post
Results - Copy.txt
(Change the extention to html to test the file)

I tried to change Tag structure of my xml file and able to get the results file
I changed  tag and parent  to

I see, I've never encountered nested test suites either.  I'll look at if the spec expects this to be valid.

Can you send me your latest input file?  I will probably alter the code to cope better and be more informative, but I don't want to necessarily do things that other junit tools can't

Yes you are right, usually  tag and nested wont come in Junit xml
But when you try to run any test suite class from Eclipse, then you will get this type xml(attached)
Which is also a very common scenario for Junits
CaseManagementConfidenceTestSuite_20171113-124043 - Copy.txt

Thanks, I've never seen <testrun>

There you go, I've put version 010 on pypi now


fix a typo "to allocated" ->"to allocate"

thanks a lot :)

@leandromoreira
Thanks for writing this easy tutorial!


Add uinput as a module

I wonder why it was not included, as it was part of https://github.com/AsahiLinux/PKGBUILDs config.
I needed it for input-remapper.

Thanks for this. The kernel config is still in a bit of a sorry state and is based on a pretty early and old revision of that config.
I would appreciate a better one but I don't know too much about good options. Building a full NixOS kernel with its default config takes forever which is why I haven't done it so far.

can you not let ci build it? :D

That's one of the constraints, CI time is limited to 6 hours on a 2 core processor for the whole image. I admit I haven't tried but based on how long things take on my personal machines a full kernel build could exceed that.


The login is not working. Correct passsword input always returns wrong

Even if the client knows that the password entered was right, the password_verify still returns false when the salt is received from the database.
// Always returns false [why?]
if(password_verify($data['password'], $result->password){ // login }

We need to check and find a solution as soon as possible

Okay, creating a new branch to fix login problem

@rultor hello

@rultor hello

@smartclash Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)


Plotting vertical line not as an annotation

Hello,
based on the approach given in mathjs.org function-plot example, is there a way to allow the user to plot vertical lines? For example inputting x=5?
p.s. Using this library for my graduation project <3

Sure, you can either:

Plot an implicit equation of the form Ax + By + C = 0 e.g. -x + 5 = 0

functionPlot({
  target: '#demo',
  data: [{
    fn: '5 - x',
    fnType: 'implicit'
  }]
});

Use a really high step for a linear equation in the form y = mx + b e.g. y = m * x - 5 * m where  m is a really huge number

functionPlot({
  target: '#demo',
  data: [{
    fn: 'm * x - 5 * m',
    scope: { m: 10000 }
  }]
});


Layout tweaks

+Restore Storybook pages
A picture tells a thousand words
Before this PR

After this PR

Coverage decreased (-0.06%) to 46.628% when pulling 952078f08f17b9e6e11efa5f1107575658d9c5f4 on bjornreppen:tweaks2 into 8da8c65efa6cbb7c2abce82066a048ce0475d4d0 on Artsdatabanken:master.


flannel cannot load etcd client cert files

Hi folks,
I'm trying to get flannel working in a kubernetes master and it seems like it cannot load cert file although it exists. Do you have any idea what's going on this?
etcdctl works as expected:
core@prod-kube-master ~ $ env | grep ETCDCTL
ETCDCTL_PEERS=https://etcd-lb:2379
ETCDCTL_CA_FILE=/etc/kubernetes/ssl/etcd.ca.pem
ETCDCTL_KEY_FILE=/etc/kubernetes/ssl/etcd.client.key.pem
ETCDCTL_CERT_FILE=/etc/kubernetes/ssl/etcd.client.pem
core@prod-kube-master ~ $ etcdctl get /coreos.com/network/config
{ "Network": "<IP_ADDRESS>/16" }

Files are accessible by anyone, at least read-only:
core@prod-kube-master ~ $ ls -l /etc/kubernetes/ssl/etcd.client.*
-rw-r--r-- 1 root root 1675 Oct  1 14:17 /etc/kubernetes/ssl/etcd.client.key.pem
-rw-r--r-- 1 root root 1984 Oct  1 14:17 /etc/kubernetes/ssl/etcd.client.pem

Options related to etcd for flannel deployed in runtime using cloud-config (write_files):
core@prod-kube-master ~ $ cat /etc/flannel/options.env
FLANNELD_IFACE=<IP_ADDRESS>
FLANNELD_ETCD_ENDPOINTS=https://etcd-lb:2379
FLANNELD_ETCD_CAFILE=/etc/kubernetes/ssl/etcd.ca.pem
FLANNELD_ETCD_CERTFILE=/etc/kubernetes/ssl/etcd.client.pem
FLANNELD_ETCD_KEYFILE=/etc/kubernetes/ssl/etcd.client.key.pem

And also linked in runtime as stated in the official documentation, again using cloud-config:
[...]

  units:
    - name: flanneld.service
      command: start
      drop-ins:
        - name: 40-ExecStartPre-symlink.conf
          content: |
            [Service]
            ExecStartPre=/usr/bin/ln -sf /etc/flannel/options.env /run/flannel/options.env
        - name: 50-network-config.conf
          content: |
            [Service]
            EnvironmentFile=/etc/profile.d/etcdctl.env
            ExecStartPre=/usr/bin/etcdctl --no-sync set /coreos.com/network/config '{ "Network": "${pod-network}" }'

[...]

It can be assured that flanneld is obtaining file path correctly because it fails with the next error message:
Oct 01 14:36:37 hostname.internal systemd[1]: Stopped Network fabric for containers.
Oct 01 14:36:37 hostname.internal systemd[1]: Starting Network fabric for containers...
Oct 01 14:36:37 hostname.internal etcdctl[10138]: { "Network": "<IP_ADDRESS>/16" }
Oct 01 14:36:38 hostname.internal sdnotify-proxy[10146]: E1001 14:36:38.021591 00001 main.go:249] Failed to create SubnetManager: open /etc/kubernetes/ssl/etcd.client.pem: no such file or directory
Oct 01 14:36:38 hostname.internal systemd[1]: flanneld.service: Main process exited, code=exited, status=1/FAILURE
Oct 01 14:36:38 prod-hostname.internal systemd[1]: Failed to start Network fabric for containers.
Oct 01 14:36:38 hostname.internal systemd[1]: flanneld.service: Unit entered failed state.
Oct 01 14:36:38 hostname.internal systemd[1]: flanneld.service: Failed with result 'exit-code'.
Oct 01 14:36:37 hostname.internal systemd[1]: flanneld.service: Service hold-off time over, scheduling restart.

You can conclude that flanneld is getting the path correctly (because of /etc/kubernetes/ssl/etcd.client.pem path present in the error message) but cannot get this loaded.
EDIT 1:
Fleet is working as well, and it cannot be a type error because i'm using the same vars from a terraform template:
fleetctl:
core@prod-kube-master ~ $ fleetctl list-machines
MACHINE		IP		METADATA
27196b3e...	<IP_ADDRESS>	environment=production,role=etcd
30c7ccb0...	<IP_ADDRESS>	environment=production,role=kube-master
590738a3...	<IP_ADDRESS>	environment=production,role=etcd
f679083c...	<IP_ADDRESS>	environment=production,role=etcd

files/kube-master.yml:
[...]

  - path: "/etc/flannel/options.env"
    permissions: "0644"
    content: |
      FLANNELD_IFACE=$private_ipv4
      FLANNELD_ETCD_ENDPOINTS=${etcd-endpoints}
      FLANNELD_ETCD_CAFILE=${etcd-ca-cert-file}
      FLANNELD_ETCD_CERTFILE=${etcd-client-cert-file}
      FLANNELD_ETCD_KEYFILE=${etcd-client-key-file}

[...]

EDIT 2:
Using latest alpha with flannel 0.5.3
core@prod-kube-master ~ $ cat /etc/lsb-release
DISTRIB_ID=CoreOS
DISTRIB_RELEASE=815.0.0
DISTRIB_CODENAME="Red Dog"
DISTRIB_DESCRIPTION="CoreOS 815.0.0"
core@prod-kube-master ~ $ cat /usr/lib64/systemd/system/flanneld.service | grep FLANNEL_VER=
Environment="FLANNEL_VER=0.5.3"

Forget about this, after cat-ing flanneld.service I found that it is mounting a volume inside the container.
[...]

--volume=${ETCD_SSL_DIR}:/etc/ssl/etcd:ro \

[...]


[Business Approvals Kit - BUG] Unable to select the WorkflowProcess

Describe the issue
Create the Workflow in the App and try to select the workflow name in the Power Automate but i am unable to connect.

Expected Behavior
No response
What solution version are you using?
1.0.20231214.1
What app or flow are you having the issue with?
Customer Connector
Steps To Reproduce
No response
Anything else?
No response
AB#1838

@ArunVRPowerDoc365 - Can you please confirm if you have followed the suggested step provided here

@Ramakrishnan24689 Yes, I followed the Step and the custom Connector show No error

But as explained I created the flow in the New Solution and connect to Dataverse and add new step to custom connect, the Workflow Process is Showing NO Item

The Data is in the Dataverse Table

Thanks for confirmation @ArunVRPowerDoc365.
It appears as if the Process is not yet published.
Have you published the Approval process and do you see it Published Processes section of Approvals Designer site map as displayed in the below screen shot ?

@Ramakrishnan24689
Yes the Status is Published

and Also the My submitted Workflow is always Empty

@ArunVRPowerDoc365 - It seems that the name is not saved in the process template you created.

Can you edit the process by providing a name, and then proceed to save and publish ?

Give it a try and let me know how that goes!

@Ramakrishnan24689
Yes, Saved the Process and then only I published. But Name is not saving

@Ramakrishnan24689 I just tried the New Release, Still the name is not saving as i gave (Machine Request), but it saving as untitled. After 4 to 5 time Publish, it is saved in Given Name.
And unable to select the Select profile in Configure basic Setting.

Hi. Currently I have the same original error.
Is there a solution that you can share with me, please?


Enable SRD advantage rules doesn't work

The patch to modify the adv/dis-adv check was computing the correct value but not correctly modifying the result of RuleDefinitions.ComputeAdvantage  (missing 'ref' keyword).
When that's fixed an additional problem is that the attack cursor still shows advantage when there isn't any because adv/dis-adv is also calculated in ActionModifier.AttackAdvantageTrend (any maybe other places).

Fixed in <IP_ADDRESS>


[BugFix] BE crash in _try_get_next_compaction_task

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #10204
Problem Summary(Required) ：

The result need_reschedule and can_do of CompactionScheduler::_can_do_compaction may be both false in the origin implementation, which leads the crash in ASAN mode. This PR fix the problem.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

@mergifyio backport branch-2.4


Allow different syntax of string constants during writing.

An option should be added to allow strings to be written using either syntax (braces or parentheses:
@string(NAME = VALUE)
@string{NAME = VALUE)

This issue belongs in the BibTeXLibrary, not here.  An issue has been created there.


Replace HTTP links with HTTPS

When I'm using a link from URL prefix to fetch files it doesn't work on the HTTPS page because it's trying to load files in an insecure manner from HTTP. To prevent this type of problem for anyone using this repo it's better to replace HTTP links with HTTPS (and they all work the same).
Most links outside of gleitz.github.io are dead and I didn't change anything in them except for http->https as I couldn't find the new destinations for mentioned files.

Also, there are newer changes in upstream version of this repo that you might want to merge.


Bug on validate file upload

Version information

Laravel: v5.6
Voyager: v1.1.3
PHP: 7.1
Database: MySQL 10.0

Description
I was trhying to validate the file upload with the following rules that is similar to image file, but its not working.
{     "validation": {         "rule": "mimes:pdf",         "messages": {             "mimes": "This :attribute field must be a pdf"         }     } }
then i found that ajax response was
{"errors":{"file":["This File field must be a pdf"]}}
where the field name was file[] (with the support of multiple file uploads) which is different from file in ajax response.
it works when i manually edited the html in inspect tools.

Closing as a duplicate of https://github.com/the-control-group/voyager/issues/1930


Issue with mod after Ashlands update

[Error  : Unity Log] TypeLoadException: Failure has occurred while loading a type.
Stack trace:
(wrapper dynamic-method) Terminal.DMDTerminal::InputText(Terminal)
Terminal.SendInput () (at <67f3c386e04446c49523ecfd5b8921c2>:0)
UnityEngine.Events.InvokableCall.Invoke () (at :0)
UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) (at <ab14d35a27c043688812ae199c64b5aa>:0) GUIFramework.GuiInputField.onInputSubmit (System.String text) (at <d66e5653a45242f689c09efb6a19fe54>:0) UnityEngine.Events.InvokableCall1[T1].Invoke (T1 args0) (at :0)
UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) (at <ab14d35a27c043688812ae199c64b5aa>:0) TMPro.TMP_InputField.SendOnSubmit () (at <69f777828fb947a49cb0c62cdce4758c>:0) TMPro.TMP_InputField.OnUpdateSelected (UnityEngine.EventSystems.BaseEventData eventData) (at <69f777828fb947a49cb0c62cdce4758c>:0) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IUpdateSelectedHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <4043a6cf2c744415844c8ec0cca11c21>:0) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) (at <4043a6cf2c744415844c8ec0cca11c21>:0)
UnityEngine.EventSystems.EventSystem:Update()
[Info   : Unity Log] TMP_Input can't handle null eventData in curren package. Can be ignored atm though. Exception: Failure has occurred while loading a type.

Mod is working fine for me.
Are you using any mod from https://github.com/aedenthorn/ValheimMods?
I had this exact error log happening to me while using his DiscardInventoryItems. My solution: https://github.com/aedenthorn/ValheimMods/issues/110#issuecomment-2143577713

Very interesting.  I had Auto_Feed installed and that seems to be the cause.  Thanks for the info and pointing me in the right direction.


Print commands should be logged

Describe the bug
Currently the helper methods in mailbag/helper.py just print to the console. They should instead use the logger and log information at the appropriate levels. Much of this info should only be seen when debug is on and/or the --dry-run arg is used.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
_ GUI or command line?:

OS: [e.g. iOS]
Python version:

Additional context
Add any other context about the problem here.

Fixed with #98


Update Obsolete tests to use RazorEngineService

This updates the tests that were marked obsolete to use RazorEngineService instead of the TemplateService.
This fixes the warning in CompilerServiceBase.cs about _disposed being unused by using it in part of the IDisposable pattern.

Part of changes to support #414

Thank you. I guess it's about time to update these tests. Looks good!


Maybe Installation problem but I can't figure it out

Describe the bug
Program won't start up
error message in terminal:
(MacOS Monterey 12.0.1, Python 3.7 did everything as written in the installation)
when installing:
pip3 install torch==1.8.1+cu111 torch-vision==0.9.1+cu111 torchaudio===0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting torch==1.8.1+cu111
Could not find a version that satisfies the requirement torch==1.8.1+cu111 (from versions: 0.4.1, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.1.0.post2, 1.2.0, 1.3.0, 1.3.0.post2, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0)
No matching distribution found for torch==1.8.1+cu111
You are using pip version 10.0.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
So instead I used just
pip3 install torch torchvision torchaudio -f https://download.pytorch.org/whl/torch_stable.html
And installed correctly (something)
And when trying to open it:
python3 VocalRemover.py
Traceback (most recent call last):
File "/Users/szavulybence/Documents/UVR-V4GUI/tkinterdnd2/TkinterDnD.py", line 53, in _require
TkdndVersion = tkroot.tk.call('package', 'require', 'tkdnd')
_tkinter.TclError: dlopen(/Users/szavulybence/Documents/UVR-V4GUI/tkinterdnd2/tkdnd/osx64/libtkdnd2.9.2.dylib, 0x0006): tried: '/Users/szavulybence/Documents/UVR-V4GUI/tkinterdnd2/tkdnd/osx64/libtkdnd2.9.2.dylib' (no such file), '/usr/local/lib/libtkdnd2.9.2.dylib' (no such file), '/usr/lib/libtkdnd2.9.2.dylib' (no such file)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "VocalRemover.py", line 982, in
root = MainWindow()
File "VocalRemover.py", line 253, in init
super().init()
File "/Users/szavulybence/Documents/UVR-V4GUI/tkinterdnd2/TkinterDnD.py", line 285, in init
self.TkdndVersion = _require(self)
File "/Users/szavulybence/Documents/UVR-V4GUI/tkinterdnd2/TkinterDnD.py", line 55, in _require
raise RuntimeError('Unable to load tkdnd library.')
RuntimeError: Unable to load tkdnd library.

I had this issue as well. Turns out I was using the wrong python version. Installed an older version and the command worked fine

Please update to version 5.2.0 using the Windows installer provided on the main page.


Make the text selection not dismiss after copying text

Summary of the Pull Request
Currently, when pressing Ctrl + C to copy the selected text, the selection disappears.
This commit prevents the selection to disappear after doing Ctrl + C.
References and Relevant Issues
https://github.com/microsoft/terminal/issues/15371
PR Checklist

[x] Closes https://github.com/microsoft/terminal/issues/15371
[x] Tests added/passed
[ ] Documentation updated

If checked, please file a pull request on our docs repo and link it here: #xxx

[ ] Schema updated (if necessary)

Absolutely! I am going through the issue thread and actively working on fixing this.


2 series Mastercard does not validate

This year Mastercard is issuing new debit cards prefixed with "2" instead of the traditional "5". Currently these are failing to be recognized. Example card number:<PHONE_NUMBER>082007 EXP: 10/21 CVC: 153

Mastercard® has received an additional range of 2-series numbers (range<PHONE_NUMBER>99) to add to the 5-series (range<PHONE_NUMBER>99) that we currently provide.

This has been supported since version 1.1 (November 2016):
https://github.com/PawelDecowski/jquery-creditcardvalidator/blob/v1.1.0/jquery.creditCardValidator.coffee#L66

@PawelDecowski Thanks, but is there a reason 2-series cards are not recognized on https://jquerycreditcardvalidator.com/ ?

Yes. The homepage uses an old version of the plugin. I’ll update it soon.

On 12 Mar 2019, at 19:57, Benjamin James<EMAIL_ADDRESS>wrote:
@PawelDecowski Thanks, but is there a reason 2-series cards are not recognized on https://jquerycreditcardvalidator.com/ ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


refactor(joy_controller): rework parameters

Description
Updated adding a schema according to new ROS node config coding guidelines. Implements https://github.com/autowarefoundation/autoware.universe/issues/2652.
Tests performed
Built-in schema testing in VS Code. Proper JSON Schema and parameter validation tests into the CI are on being developed.

Effects on system behavior

More reliable and faster parameter configuration file creation.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[x] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@mitsudome-r - thanks for your review! Yes, adding additionalProperties and setting it to false is a good idea. Let's discuss in today's call.

@mitsudome-r - with your new changes, can this PR be merged? Thanks!

Hi Kasper, have you pushed your changes to the branch?
You have to push to your remote kaspermeck-arm:dojo-ros-config-joy_controller to be reflected to this PR.

@kaspermeck-arm Thanks for the update. I think we can merge it once https://github.com/autowarefoundation/autoware.universe/pull/3992#discussion_r1269270494 is resolved.


Cookie helper not woking

Hello I try to use the cookie system to store some information and also retrieve it I discovered that all the helper is not working.
In my library class fore remember me I try using the set_cookie(), get_cookie(), delete_cookie() after I have include the cookie helper through the function helper('cookie). Please I think this is a bug it was working now is not working again

Please provide some code examples. We need more to go on then It's not working.

Here is the my code for setting the cookie

if ($remember === 1) {

            set_cookie(array(
                'name' => getConfig('auth_cookie_id'),
                'value' => $this->_user->enc_key,
                'expire' => \time() + getConfig('auth_cookie_expiry'),
                'httponly' => FALSE
            ));

            // store encrypted key in cookie
            set_cookie(array(
                'name' => getConfig('auth_cookie_key'),
                'value' => $enkey,
                'expire' => \time() + getConfig('auth_cookie_expiry'),
                'httponly' => FALSE
            ));
        } else {
            // set what will be stored in the session
            $data = array(
                getConfig('auth_session_id') => $this->_user->enc_key,
                getConfig('auth_session_key') => $enkey
            );

            // store data in the session
            session()->set($data);
        }

Here is where i try to get the cooki data

```php
if (get_cookie(getConfig('auth_cookie_id'), TRUE) && get_cookie(getConfig('auth_cookie_key'), TRUE)) {
// store cookie informations in variables
$encryptedUserIDs = get_cookie(getConfig('auth_cookie_id'), TRUE);
echo $enckey = get_cookie(getConfig('auth_cookie_key'), TRUE);
        $validate_using = 'cookie';
    } else {
        // store session informations in variables
        $encryptedUserIDs = session()->get(getConfig('auth_session_id'));
        $enckey = session()->get(getConfig('auth_session_key'));

        $validate_using = 'session';
    }

You might need to double-check your code, then. I modified the default Home controller that ships with the framework to this:
public function index()
	{
		helper('cookie');

		$cookie = get_cookie('foo');
		d($cookie);

		set_cookie([
			'name' => 'foo',
			'value' => 'bar'. time(),
			'expire' => \time() + 3600,
			'httponly' => FALSE
		]);

		return view('welcome_message');
	}

This example doesn't test the delete_cookie but the others are working just fine.
Can you be more specific about what's not working?

Sorry for late comment. Here is the code.
    namespace App\Libraries;

use App\Models\Remember;
use App\Models\User;
use Config\Services;

class Auth
    {
        protected $encrypter;
        protected $user_model;
        protected $remember;

        function __construct()
        {
            \helper('cookie');
            $this->encrypter = Services::encrypter();
            $this->user_model = new User();
            $this->remember     = new Remember();
        }

        public function login($username_email = null, $password = null, $remember_me = false)
        {
            if (is_null($username_email) || is_null($password))
            {
                $this->alert->error('Please enter your credentials in the field provided');
                return false;
            }

            $user = $this->user_model->where('email', $username_email)->first();

            if (!is_null($user) && $this->verifyPassword($password, $user->password)) {

                $save_user_data = $user->id;
                if ($encrypt_data = $save_user_data) {

                    if ($remember_me) {

                        $data = [
                            'expires'         => strtotime(getConfig('remember_me_expires')),
                            'persistence'     => $encrypt_data,
                            'selector'        => $this->generateToken()
                        ];
                        return $this->setRememberMe($data);
                    }
                    session()->set(['ses_id' => $encrypt_data, 'loggedIn' => true]);
                    return \true;
                }

                return \false;
            }

            return false;
        }

        public function verifyPassword($pass = null, $hashed_pass = null)
        {
            return password_verify(
                base64_encode(
                    hash('sha384', $pass, true)
                ),
                $hashed_pass
            );
        }

        public function setRememberMe($data = [])
        {
            if (\set_cookie(
                \getConfig('auth_rememer_name'),
                $data['selector'],
                $data['expires']
            )) {
                $this->remember->insert($data);
                return true;
            }
        }

        public function checkRememberMe()
        {
            $cookie = \get_cookie(\getConfig('auth_rememer_name'));

            if ($cookie) {

                session()->set(['ses_id' => $stored->persistence, 'loggedIn' => true]);
            }
        }

        public function getUser()
        {
            return $this->user_model->first(session()->ses_id);

        }

        function generateToken($length = 20)
        {
            return bin2hex(random_bytes($length));
        }

        public function is_logged_in()
        {
            if ($this->checkRememberMe()) {

            }
            if (session()->loggedIn) {
                return true;
            }

            return false;
        }

        public function logout()
        {
            session()->remove(['ses_id', 'loggedIn']);
            return true;
        }
    }

Please check it

@lonnieezell Please help me check this code The Auth Library in order to see where I am getting wrong. Forgive me of tagging your name. I needed this urgently. I have waited but no check on it. And also I can login to my account in the forum. Here is the error  Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.

You cannot login to your forum account? Or you can? If you cannot, let me know the error and I'll see what I can do to get you in, if the password reset feature isn't working.
Unfortunately, I cannot review your code here. This is for posting bugs. The forums are where you'll get more eyes on it and more help anyway.

When I submit my credentials I get this message in return Are you accessing this function correctly? Please go back and try again. here is my forum username Chivinsdev

It can be anything. For example, CodeIgniter doesn't have a getConfig() helper function. Sorry, but we won't be debugging a whole class here. Cookies are working fine.
@ChibuezeAgwuDennis if you will find an easy way to recreate the problem, feel free to open a new issue.


Broken links to index pages (when using obsidian)

What happens?
Internal links created in Obsidian, that point to some_folder/page_name are converted - as expected - to URLs which end with some_folder/page_name. Unfortunately, index.md pages are treated exactly the same, so resulting URLs end with some_folder/index, which results in 404.
Example:
In docs/index page, I'm creating an internal link to demo/index page, like so: [[demo/index]]. A resulting anchor tag will point to [...]/demo/index, instead of [...]/demo.
Temporary workaround
Manually remove /index part from [[demo/index]] link automatically created by Obsidian, and leave [[demo]] only.

My guess is easiest proper fix for this would be in wiki links remark plugin

@olayway this bug has been fixed with the latest update in remark-wiki-link-plus ie., v1.0.1 and package.json has been updated to reflect the changes.

@khalilcodes i'd have also liked that README.md also worked the same way - is that an easy fix?

@rufuspollock yes I believe it is and will update soon. 👍

@khalilcodes Works! Thank you 🌷!


bots

The bots dont go to me how do i fix that

@fadythegamer no fixes, bots are patched. ( look at the new title of the project )

For me bots on agario its working, LOL

@Lukkez  are you lying or are you telling the truth?

Truth, but they rare move, spam and go afk like this but can get mass and split


Youtube example opens video in youtube's site/application in Safari mobile

Hi,
In the plugin's page, http://dimsemenov.com/plugins/magnific-popup/ , in iOS 8.3 Safari tested an in iPhone 5, the youtube example link opens the video in the device's app or in Youtube's site if app is not available. Tested in Galaxy Note 4 and same behavior.
It worked fine on an iPad Air 1, iOS8.3 though.

Hey @diego06884 ....
I was experiencing this same issue, but, looking into the code, just remove this line - disableOn: 700, - and it will be fine...I just tested in many screens resolutions and, so far so good =)...
Maybe you should give a try =)
Cheers =)

Thank you!. This works as intended! Closing this ticket.


Add more interface tests, fix #11

More interface tests coming

[ ] Shallow Water
[x] Burger's

Fixes #11, #33, #1, #3 is already fixed and #9 is too, all failing examples have been added to the interface test.

Amazing!

wait I forgot to push a commit!


nz-select - Removing tag in the Select Mode tag after pressing enter

Reproduction link
https://codesandbox.io/s/68vxnx
Steps to reproduce
In the select component, in the tag mode, after adding a new tag by typing and pressing the enter key, and it is added, if we press the enter key again, the item will be deleted, and if we repeat this, the previous items will also be deleted.
What is expected?
When we type a new phrase and press the enter key, the item is added, and now if we press the enter key again after adding the item, the item is deleted.
What is actually happening?
When we type a new phrase that is not in the list and press the enter key, a new item will be added, now if we press the enter key after it is added again, the item will be deleted and this will continue, and if we do this again, the previous items will also be deleted.

Environment
Info

ng-zorro-antd
18.0.1

Browser
chrome

I have the same problem.

useful

I have this problem too

me too

When you enter a piece of text and press Enter, the focus is on the input text. If you press Enter the second time, the input text tag will be deleted, and the focus is on the last selected tag. The third time you press Enter will delete the last selected tag
In Ant Design for React/Vue, when you type a piece of text and press Enter, the focus is on the first item in options, which is different from the interaction with Ant Deisgn for Angular


Update README.md

Lint ok, got score of: 7.04

Lint ok, got score of: 7.04

Lint ok, got score of: 7.08


Fix problematic commands used in the landing zone v2 readme doc

Describe the bug
Some commands used in the readme.md are incorrect as shown below:

kubectl delete root-sync landing-zone -n config-management-system
kubectl delete gcp --all

To Reproduce
Run the doc and you will see the above two commands doesn't work as expected.
Expected behavior
No any command error and all gcp resources are removed.
Screenshots
None
Additional context
None

Related - https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/593


Update Cargo.lock

Since the changes for the release the Cargo.lock in the repo got out of date.

Merged with a different PR that depended on it.


File with multiple sheets

Problem description
Let's say you download the xls version of this data.
Check file here.
You then go to the ODE and:

Click on ADD.
Select the file from your laptop.

The ODE will only show the first sheet.

Suggested solution
Option 1: after the user uploads an Excel file with multiple sheets, the ODE can display a pop-up message warning the user that the tool will only show information contained on the first sheet.
Option 2:  display a pop-up message warning the user that the file contains multiple sheets and give him/her/they the opportunity to select which sheet to show on the preview.
Option 3:  allow the ODE to display different previews (one per sheet) on within the tool.

@roll comment: "Will be included in v2: https://datapackage.org/specifications/table-dialect/#spreadsheet"


Computed columns

Motivation
Ive integrated sea orm in a quite complex project where the need arises for computed columns from different tables.
Proposed Solutions
A potential solution could be to have a computed column annotated on the model (which is not included in the derived active model) and just link a function which gets called on every selection of the model:
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, DeriveEntityModel)]
#[sea_orm(table_name = "invoice_line_item")]
pub struct Model {
    #[sea_orm(primary_key)]
    pub id: i64,

    #[sea_orm(foreign_key)]
    pub invoice_id: i64,

    // ..

    pub amount: i64,

    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
}

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, DeriveEntityModel)]
#[sea_orm(table_name = "invoice")]
pub struct Model {
    #[sea_orm(primary_key)]
    pub id: i64,

    #[sea_orm(compute = "Entity::total")]
    pub total: i64,

    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
}

impl Entity {
    async fn total(pk: i64) -> Result<i64, sea_orm::error::DbErr> {
        // Run query which sums all related invoice line items
    }
}

Additional Information
I think this would be pretty useful to a lot of realworld applications, what do you think about this? :slightly_smiling_face:

This seems really helpful i would really like to have this as a feature as well !

I think this should also comes along with created_at and updated_at, so the implementation should tackle these together

+1 for a PIP. I think the behaviour should be divided into on_insert and on_update and the implementation should introduce a proper "prepare for insert/update" stage.

@tyt2y3 thanks for seeing a usecase for this but as i understand queries of computed columns would not be ran at all oninsert / onupdate they are just there to combine seperate queries into the model on selection of a row.

Any news? :) Id be glad to help but i dont where to start at all


Can't install pypi package dtale

Hey there,
I'm trying to install dtale with a simple pyproject.toml running uv sync (.venv deleted, .cache/uv deleted). Even if it is the only package, I see this error:
error: distribution kaleido==0.2.1.post1 @ registry+https://pypi.org/simple can't be installed because it doesn't have a source distribution or wheel for the current platform
Installing with uv pip install dtale work fine though and the same package combination works well with pipenv.
I'm on macOS 15.0, uv 0.4.16.

Ok, thank you for the detailed explanation. So the contraint fixes our problem but I guess it's not ideal if users like me run into this and the error message is not saying much about how to go forward. Rather than changing the resolver for the sync which I guess is tricky for all platforms with such packages, could this case be detected by uv and a more specific error message shown?

I think this is a case of the more general #7816.