external cache-plasma cache support

What changes were proposed in this pull request?
plasma cache support
How was this patch tested?

@offthewall123 , please help check the failed CI here.

This could be a problem. The CI failed is due to some of our code is not merged into Arrow upstream. @jikunshang your ideas?

This could be a problem. The CI failed is due to some of our code is not merged into Arrow upstream. One solution is shown in #1194 @offthewall123 @jikunshang your thoughts?

Yes, we are using a modified arrow-plasma.jar on local environment, which are different with arrow-plasma.jar in maven repo.

@offthewall123 @jikunshang  could we use existing Plasma API to make CI happy? Then I can merge this code in. It may take a while to fix the travis. We can update it later.

@offthewall123 @jikunshang could we use existing Plasma API to make CI happy? Then I can merge this code in. It may take a while to fix the travis. We can update it later.

I think we can't... We did need these APIs.

@offthewall123  @jikunshang
Can you complete this feature by WW16.5?

Can you complete this feature by WW16.5?

Any ideas to build with Intel Arrow?

@zhixingheyi-tian Never mind, we will try the option in https://github.com/Intel-bigdata/OAP/pull/1208/files


Filtering Error

so i followed your example for simple filtering like this one :

in my case, every option will return no matching records found,like this

i felt like missing some step..what did i miss?
rails log:

here is my post_datatable.rb

my view

my js.coffee

i tried yadcf but it cause same issue like this https://github.com/antillas21/ajax-datatables-rails/issues/203

author: { source: 'Monologue::Post.author_id', ....}

ah ! thankyou !
now if i do that, i will get "Mysql2::Error - Unknown column 'monologue_posts.author_id' in 'where clause':....."

user_id?

can u tell me what is happening? why user_id?
i tried that, return no error, but dont do any filtering..

can u tell me what is happening? why user_id?

your are searching by user_id(author)

i inspect the dropdown and it is like this : post[user_id]
should be working but wont..

well. show me you sql query on filtering

i found out why this is happening..

my code generate one default id, so +1 here is not needed..
after removing that, all filtering work well ! thankyou so much for your help !!

yep, it was just as an example.


replaces SYSTEM_HOST references to the more standard SYSTEM-DOMAIN

Signed-off-by: David Timm<EMAIL_ADDRESS>

Thanks @joerodriguez -- good to know SYSTEM-DOMAIN is the standard.  Do you know any other non-standard ways the PCF docs represent this value?  This would be a great thing to add to the Word and Phrase list, help get us all aligned.  thanks again--


add backend intro and how-to diagram

[x] Companion to https://github.com/xarray-contrib/xarray-tutorial/pull/266 (for SciPy 2024 tutorial)
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst

be aware that currently this also fails on main – a dependency stopped pinning to numpy<2.0. If you don't want to spend your time fixing the numpy 2 issues, feel free to pin numpy<2.0 in the docs environment (but otherwise I'd appreciate the help!)

Are we OK to merge this? The content looks good! The errors are unrelated.
@JessicaS11 does the mermaid diagram render OK? Let's merge away if so...

if that's the current plan for handling numpy>=2.0.

after writing this I've opened #9177 to deal with most of these issues. I didn't notice that RTD is still failing, though.

OK!

it's got some funny spacing in the mermaid.live version, screenshot below

Possibly not a blocker to merge, but... is this only in the preview rather than the version that would deploy? I do think it's somewhat difficult to read — e.g. empty lines at the top of each block, line-breaks carrying through from the arbitrary line-breaks in the .rst file, the code isn't monospaced, lists are centered.
Do we need the warranty on the list not being inclusive ("exhaustive"?) — the "No" condition seems to cover that it's not exhaustive by suggesting to ask around?
I really liked the diagram in the previous PR, I thought it was a great use of a diagram. Maaaaaybe for a much simpler decision tree of if / else: if / else text is sufficient... (still keen to merge though)

Possibly not a blocker to merge, but... is this only in the preview rather than the version that would deploy? I do think it's somewhat difficult to read — e.g. empty lines at the top of each block, line-breaks carrying through from the arbitrary line-breaks in the .rst file, the code isn't monospaced, lists are centered.

I did some work to try and improve the rendering (there's no preview for how it would deploy because RTD build is failing, so all I can go on is how it renders in the live tool, which is where the screen shot is from). The empty lines at the top appear when you add the `" notation to make the nodes render as markdown, which is required for the italics and bold. I cannot find any record or setting that makes the extra space at the top go away.

Do we need the warranty on the list not being inclusive ("exhaustive"?) — the "No" condition seems to cover that it's not exhaustive by suggesting to ask around?

Good point - removed to streamline.

I really liked the diagram in the previous PR, I thought it was a great use of a diagram. Maaaaaybe for a much simpler decision tree of if / else: if / else text is sufficient... (still keen to merge though)

This came out of some conversation with @scottyhq @TomNicholas @negin513 @betolink during planning for the upcoming SciPy tutorial. We also considered putting it into the tutorial book and decided it might be a good "intro" to this section of the docs. Given how text-rich much of the Xarray docs are, I personally am a fan of anything that conveys info in a more visually interesting way (I like the idea of some type of if/else callout that finds a happy medium between more complex graphics and wall of text).

Nice, that does look better, thanks
How about this as a few small changes? Feel free to take anything (but no obligation), and then let's merge
flowchart LR
    built-in-eng["""Is your data stored in one of these formats?
        - netCDF4 (netcdf4)
        - netCDF3 (scipy)
        - Zarr (zarr)
        - DODS/OPeNDAP (pydap)
        - HDF5 (h5netcdf)
        """]

    built-in["""You're in luck! Xarray bundles a backend for this format.
        Open data using xr.open_dataset(). We recommend
        always setting the engine you want to use."""]

    installed-eng["""One of these formats?
        - GRIB (cfgrib)
        - TileDB (tiledb)
        - GeoTIFF, JPEG-2000, ESRI-hdf (rioxarray, via GDAL)
        - Sentinel-1 SAFE (xarray-sentinel)
        """]

    installed["""Install the package indicated in parentheses
        to your Python environment. Restart the kernel
        and use xr.open_dataset(files, engine='rioxarray')"""]

    other["""Ask around to see if someone in your data community
        has created an Xarray backend for your data type.
        If not, you may need to create your own or consider
        exporting your data to a more common format."""]

    built-in-eng -->|Yes| built-in
    built-in-eng -->|No| installed-eng

    installed-eng -->|Yes| installed
    installed-eng -->|No| other

    click built-in-eng "https://docs.xarray.dev/en/stable/getting-started-guide/faq.html#how-do-i-open-format-x-file-as-an-xarray-dataset"
    click installed-eng "https://corteva.github.io/rioxarray/stable/getting_started/getting_started.html#rioxarray"
    click other "https://docs.xarray.dev/en/stable/internals/how-to-add-new-backend.html"

    classDef quesNodefmt fill:#9DEEF4,stroke:#206C89,text-align:left
    class built-in-eng,installed-eng quesNodefmt

    classDef ansNodefmt fill:#FFAA05,stroke:#E37F17,text-align:left,white-space:nowrap
    class built-in,installed,other ansNodefmt

    linkStyle default font-size:20pt,color:#206C89

How about this as a few small changes? Feel free to take anything (but no obligation), and then let's merge

Thanks! Using monospace was a great idea.
It's exciting to know that GitHub [sort-of] renders mermaid!

Would be really good to merge this!
I'm a bit nervous about merging before we've seen that readthedocs builds it correctly. Is anyone familiar with how close we are to having the docs build correctly on main, so the build can also check this code?

Awesome, thank you @JessicaS11 !!


Can strip text that looks like a comment symbol

STR
/**
 * Let's provide a javadoc comment the has a link to some method, e.g. {@link #m()}.
 */
public class WrapToColumn {

    public static void m() { }
}

Select line 02 (" * Let's provide..."), then Action "Wrap to Column".
Result:
/**
 * Let's provide a javadoc comment the has a link to some method, e.g. {@link
 * m()}.
 */
public class WrapToColumn {

    public static void m() { }
}

It removes "#" from inside the @link tag, breaking the javadoc.

This should be fixed by a change I made to resolve #16.


Abi check issue

wile switching over to zlib-ng i got this error
rom voltage-os

You can update ABI dumps using the command shown in your screenshot, or disable ABI dump checking.

regenerating doesnt seams to work
nato66613@Compute:/datadrive/sov$ $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py --llndk -l libz  && mkdir -p $DIST_DIR/abidiffs && cp /datadrive/sov/out/soong/.intermediates/external/zlib-ng/libz/android_arm_armv8-a_cortex-a76_shared/libz.so.abidiff $DIST_DIR/abidiffs/ && exit 1
removing /datadrive/sov/prebuilts/abi-dumps/ndk/31/64/arm_armv7-a-neon/source-based/libz.so.lsdump
making libs for aosp_arm-userdebug
build/make/core/soong_config.mk:196: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
build/make/core/soong_config.mk:197: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=12
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.13.0-1006-azure-x86_64-Ubuntu-21.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SD1A.210817.036.A8
OUT_DIR=/datadrive/sov/out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera device/generic/goldfish device/generic/goldfish-opengl
[ 75% 179/237] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
[ 99% 236/237] finishing build rules ...
build/make/core/Makefile:4106: warning: Neither INSTALLED_KERNEL_TARGET nor INSTALLED_BOOTIMAGE_TARGET is defined when PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS  is true. Information about the updated kernel cannot be built into OTA update package. You can fix this by: (1) setting TARGET_NO_KERNEL to false and installing the built kernel to /datadrive/sov/out/target/product/generic/kernel, so that kernel information will be extracted from the built kernel; or (2) Add a prebuilt boot image and specify it in BOARD_PREBUILT_BOOTIMAGE; or (3) extracting kernel configuration and defining BOARD_KERNEL_CONFIG_FILE and BOARD_KERNEL_VERSION manually; or (4) unsetting PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS manually.
[100% 241/241] Generate /datadrive/sov/out/target/product/generic/lsdump_paths.txt
build/make/core/soong_config.mk:196: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
build/make/core/soong_config.mk:197: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=12
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.13.0-1006-azure-x86_64-Ubuntu-21.10
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SD1A.210817.036.A8
OUT_DIR=/datadrive/sov/out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera device/generic/goldfish device/generic/goldfish-opengl
wildcard(/datadrive/sov/out/target/product/generic/clean_steps.mk) was changed, regenerating...
[100% 997/997] //external/zlib-ng:libz header-abi-linker libz.so.lsdump
Creating dumps for target_arch: arm and variant  armv7-a-neon
Traceback (most recent call last):
File "/datadrive/sov/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 217, in
main()
File "/datadrive/sov/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 208, in main
num_processed = create_source_abi_reference_dumps_for_all_products(args)
File "/datadrive/sov/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 161, in create_source_abi_reference_dumps_for_all_products
num_processed += create_source_abi_reference_dumps(
File "/datadrive/sov/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 117, in create_source_abi_reference_dumps
num_libs_copied += find_and_copy_lib_lsdumps(
File "/datadrive/sov/development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 100, in find_and_copy_lib_lsdumps
copy_reference_dump(
File "/datadrive/sov/development/vndk/tools/header-checker/utils/utils.py", line 94, in copy_reference_dump
_validate_dump_content(lib_path)
File "/datadrive/sov/development/vndk/tools/header-checker/utils/utils.py", line 84, in _validate_dump_content
raise ValueError(
ValueError: /datadrive/sov/out/soong/.intermediates/external/zlib-ng/libz/android_arm_armv7-a-neon_shared/libz.so.lsdump contains absolute path to $ANDROID_BUILD_TOP.

I don't have any experience with updating ABI dumps so I'm not sure how to fix that, sorry. It's not ideal, but disabling ABI checks would be easier if you can't get it to work.

From my tests disabling abi worked just fine to.


Define environment variables for LIVE environment

An .env file should defined for all the environment variables required for the NHS LIVE environment VM - this is where the Docker images will be built and run from.
This should include:

Ports to expose for the web applications
Commits from the Git repository to fetch
The required configuration options which must be overridden. See https://maurodatamapper.github.io/installing/configuring/mdm-core-config/#required-to-be-overridden
Anything environment specific

The specific environment variable file can then be referenced in Docker commands like this:
docker compose --env-file .env.other ...

See also

#19

Related

NHSDigital/DataDictionaryPublication#319

Live environment created. No pull request required, so closing this issue.


Align hover with status bar entry

Testing #125005
Hover should be left-aligned with the status bar area. Pulling the mouse upwards will make the hover disappear because the hover isn't right above the mouse.

I reverted the fix here, IHoverDelegate is used implicitly elsewhere. I'm not sure why this is needed also, can you do a PR for this? I'd prefer not to have another mandatory property if it can be avoided to keep things simple.

https://github.com/microsoft/vscode/commit/60a36219813374a06ea2c08160e9963e60c1b62c

@Tyriar Sorry for the breakage, yarn watch didn't catch the implicit use in terminal.
I discussed the option prior with @alexr00. Sorry, didn't know you also had a stake in it.
I made the placement optional.

@aeschli does this belongs more in IHoverDelegateOptions as it's defining the positioning of the hover like HoverPosition?

The  IHoverDelegateOptions is an input for the hover delegate. (Used when the hover delegate is asked to show the hover hoverDelegate.showHover)
What could be done that each hover delegate does the positioning itself in hoverDelegate.showHover. But that would duplicate the positioning code (hoverOptions.target)x = mouseX + 10; at many places. Right now hoverDelegate.showHover is just a forward to the hover service.


how to validate field value inside 3-rd party structure?

Package version eg. v8, v9:
v9
Issue, Question or Enhancement:
I have structure that contains sql.NullFloat64 as field Latitude, for example.
I want Float64 value inside sql.NullFloat64 to be in range [-90; 90] in case of latitude.
Is there a way to enforce validation for Float64 field inside sql.NullFloat64 structure with validate tag? Or should I create custom type/validator for this?
Code sample, to showcase or reproduce:
type NullFloat64 struct {
	Float64 float64
	Valid   bool // Valid is true if Float64 is not NULL
}

type DeviceMetadata struct {
	Description  string            `json:"description" validate:"max=65535"`
	Model        string            `json:"model" validate:"max=100"`

        //how to validate Latitude.Float64 value here?
	Latitude     sql.NullFloat64 `json:"latitude" validate:"lte=90,gte=-90,omitempty"`
	Longitude    sql.NullFloat64 `json:"longitude" validate:"lte=180,gte=-180,omitempty"`
}

Hey @gwan284
You just need to register a CustomTypeFunc so that validator knows what to do about that type, there is an example of almost exactly what you want https://github.com/go-playground/validator/blob/v9/_examples/custom/main.go
Validator just uses that function so you can return the underlying value you wish to validate, in your case a float64.
Please let me know if this helps, or you have any other questions :)

So CustomTypeFunc function defines how to take underlying value from type for all values of that type met.
What if I have different rules for usages of sql.NullFloat64 in another structs? Can this "ValueTaker" to be defined per object?

It knows how to extract for all values you've registered the type with; unfortunately there isn't a way to specify different behaviour per object using this... however if that is needed, you can register a StructLevel validation to treat structs differently, see here for the example.

Thanks for response again. Now it's absolutely clear.


Update error messages for provisional conversion date

Changes
https://trello.com/c/G8f6a9Dt
The error messages shown on the Create conversion project form were not correct. We were missing an error message for the provisional conversion date must_be_in_the_future error, and we have updated the blank error message to be more helpful.
Checklist

[ ] Attach this pull request to the appropriate card in Trello.
[x] Update the CHANGELOG.md if needed.

 Error messages not showing for provisional conversion date in project creation page


Update Python 3.6 to 3.9

Python 3.6 is deprecated for creation/updates of lambda functions. I have changed the runtime of the lambda function from 3.6 to 3.9

I approved it you can squash and merge it and close the issue


Feature/capture feedback

Hi @vktr-r2
Tested changes locally, approved for merging.
Thank you for the opportunity to review your PR!

@BlackBond06 Use the green Review button at the top of the PR to submit your review. You will get a popup to review the PR, with options to comment, request changes or approve.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews

@victor20m In the future, please enter a description of your changes in the desciption box of the PR.
Merging this PR.
Thanks for your contribution!

@gbowne1 I still need to add a comment after I have approved the changes ?

no, it may not have picked up that. But I looked and I see it did now.  thanks @BlackBond06


Higher-level numerics functionality

Many quantum algorithms like HHL rely on having higher level numeric operations available (e.g.: 1 / x, arcsin, etc.). It would be great to add operations supporting these applications to the Quantum Development Kit's standard libraries, building on existing arithmetic work and the enhancements under #33.

Forgot to close this one when #102 landed. Closing now.


Send Messange Issue

Hi,
I got this error when i tried to send one to one message
WARN sendMessage Got error 1545012. This might mean that you're not part of the
conversation<PHONE_NUMBER>50062
Please Help

130567794450062 is an ID of a group and not an ID of any user....
you should try this:<PHONE_NUMBER>44979

Can your bot account send a message to that conversation in the browser?

if you search the issues for "browser" or similar, you might be able to find some issues talking about trying to get the api running in the browser, though it's not a supported scenario currently.
Are you still having the original issue or can we close?


add an 8-bit version with bitsandbytes

https://github.com/TimDettmers/bitsandbytes/blob/main/compile_from_source.md

recent results have tipped me over to recommending this optimizer under the condition of high batch sizes (and mainstream architectures). will put some more work into it

https://github.com/TimDettmers/bitsandbytes/pull/188

if there are any CUDA / 8-bit optimizer experts in the crowd, would welcome a code review over at the bitsandbytes repository

The original authors note that Lion likely doesn't show significant gains over AdamW under the small batch (<64) regime. See https://arxiv.org/pdf/2302.06675.pdf


Adding command dynamically

Is there any to add a command dynamically, not from a file.
Thanks

I’m not sure what this means. Could you give an example of what you’re trying to do?

Just forget about it, thanks!


Fix src type=nil NSDictionary crash

Use NSNull object in NSDictionary when type (or URI) missing from supplied
src object.
In addition, defensively supply valid strings for URI and type from JS.

Looks like this should help with https://github.com/react-native-community/react-native-video/issues/449 and possibly https://github.com/react-native-community/react-native-video/issues/443. I'm seeing the crash behavior in a full external app, not just the example app. Credit to @smkhalsa (https://github.com/react-native-community/react-native-video/pull/454) and @LiuCao (https://github.com/react-native-community/react-native-video/issues/449#issuecomment-272760480) for separately suggesting these fixes; I'm just putting the suggestions together here with some minor tweaks.

Updated to include relevant changes from https://github.com/react-native-community/react-native-video/pull/444 in commit https://github.com/react-native-community/react-native-video/pull/455/commits/65d93a4bee5aaeaf015ce17ffe3f46730879d3e8.

I have same problem.. :/

I'm experiencing the same thing and this and PR fixes it. Despite being a RNC member I cannot review nor merge this so I'm hoping @mattapperson will :-)

the same here

Same


Color detection now 99% accurate!

@homu r+

@homu r+

:pushpin: Commit 88750ce has been approved by smo-key

:hourglass: Testing commit 88750ce with merge 9701271...

:sunny: Test successful - status


Using in webpage doesn't send XHR but refresh

<script src="scripts/axios/axios.js"></script>
<script>
    var bug=document.forms.bug;
    function submit(){
        axios.post('http://xxx.xxx.xxx/sendMail',{
            title:bug.title.value,
            content:bug.content.value,
            from:bug.from.value
        }).then(function(response){
              console.log(response);
          }).catch(function(response){
              console.log(response);
          });
    }
</script>

Why this doesn't work? It doesn't send an XHR but refresh the present page with my data and go to:
index.html?from=aaa&title=aaa&content=aaa

Can you try running the examples locally?
npm run examples

Then open http://<IP_ADDRESS>:3000/post in your browser, enter some valid JSON, and click POST.

the output for npm run examples:

<EMAIL_ADDRESS>examples /Users/yanyang/axios
node ./examples/server.js

module.js:340
throw err;
^
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/yanyang/axios/examples/server.js:5:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
npm ERR<EMAIL_ADDRESS>examples: node ./examples/server.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>examples script.
npm ERR! This is most likely a problem with the axios package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./examples/server.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls axios
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 14.4.0
npm ERR! command "node" "/usr/local/bin/npm" "run" "examples"
npm ERR! cwd /Users/yanyang/axios
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/yanyang/axios/npm-debug.log
npm ERR! not ok code 0

I can get "POST data received" on the server part.
But this time the query address is the same with the browser address.
What should I do if I want to post to an outer address such as "http://google.com"?

I have test through it using<EMAIL_ADDRESS>instead of JSON format. And I also added a request header according to my server's CORS settings.
Sorry for bothering before enough trials.


Android 14 Requires SDK  23

I dunno if a big deal but it won't install due to target.
Here's the error.

Failure
[INSTALL_FAILED_DEPRECATED SDK_VERSION : App package must target at least SDK
version 23, but found 22]

Didn't notice that, I never tested it in Android 14, thank you for informing me. increasing the target sdk would make the package useless. I will do my best to figure out a solution.

The app needs to be installed thru adb with adb install --bypass-low-target-sdk-block filename.apk

The app needs to be installed thru adb with adb install --bypass-low-target-sdk-block filename.apk

Is this is temporary solution or the package will be updated for Android 14 later?
I'm not really familiar with adb I don't know how to do that

Is this is permanent solution or the package will be updated for Android 14 later? I'm not really familiar with adb I don't know how to do that

But you still need to grant permissions to the package through adb after installing it. How are you going to do that without adb, is there another way?

@Hr-2

Is this is permanent solution or the package will be updated for Android 14 later? I'm not really familiar with adb I don't know how to do that

But you still need to grant permissions to the package through adb after installing it. How are you going to do that without adb, is there another way?

I usually copy paste the grant permission command in adb but when i did that with the install command it gave me error
install --bypass-low-target-sdk-block settings-database-provider-v1.1-cli.apk
install: Unknown option 'bypass-low-target-sdk-block' (see "install --help")

@Hr-2 are you using adb on pc or apps like LADB or Brevent? for LADB and Brevent, try the following command instead:
cat sdcard/Download/sdp-v1.1.apk | su -c pm install --bypass-low-target-sdk-block -S 106579
or
cat sdcard/Download/sdp-v1.1.apk | pm install --bypass-low-target-sdk-block -S 106579


python310Packages.selenium: 4.6.0 -> 4.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.selenium is: "Bindings for Selenium WebDriver"
meta.homepage for python310Packages.selenium is: "https://selenium.dev/"
meta.changelog for python310Packages.selenium is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.4.0 with grep in /nix/store/26742whgnkbvmgrgjyh33318bkjngh4x-python3.10-selenium-4.4.0
found 4.4.0 in filename of file in /nix/store/26742whgnkbvmgrgjyh33318bkjngh4x-python3.10-selenium-4.4.0

Rebuild report (if merged into master) (click to expand)

15 total rebuild path(s)

15 package rebuild(s)

First fifty rebuilds by attrpath
adl
anime-downloader
python310Packages.folium
python310Packages.osmnx
python310Packages.robotframework-selenium2library
python310Packages.robotframework-seleniumlibrary
python310Packages.selenium
python310Packages.splinter
python39Packages.folium
python39Packages.osmnx
python39Packages.robotframework-selenium2library
python39Packages.robotframework-seleniumlibrary
python39Packages.selenium
python39Packages.splinter
xsser

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/26742whgnkbvmgrgjyh33318bkjngh4x-python3.10-selenium-4.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.selenium https://github.com/r-ryantm/nixpkgs/archive/380bde020418a2dd7bf3823745569de9175ebff4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/26742whgnkbvmgrgjyh33318bkjngh4x-python3.10-selenium-4.4.0
ls -la /nix/store/26742whgnkbvmgrgjyh33318bkjngh4x-python3.10-selenium-4.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages failed to build:

python310Packages.robotframework-selenium2library
python310Packages.robotframework-seleniumlibrary
python39Packages.robotframework-selenium2library
python39Packages.robotframework-seleniumlibrary

11 packages built:

adl
anime-downloader
python310Packages.folium
python310Packages.osmnx
python310Packages.selenium
python310Packages.splinter
python39Packages.folium
python39Packages.osmnx
python39Packages.selenium
python39Packages.splinter
xsser

Maintainer pings
cc @jraygauthier for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.selenium is: "Bindings for Selenium WebDriver"
meta.homepage for python310Packages.selenium is: "https://selenium.dev/"
meta.changelog for python310Packages.selenium is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.5.0 with grep in /nix/store/r4apvml69pb88b73mbs7dqnxia6r1ld6-python3.10-selenium-4.5.0
found 4.5.0 in filename of file in /nix/store/r4apvml69pb88b73mbs7dqnxia6r1ld6-python3.10-selenium-4.5.0

Rebuild report (if merged into master) (click to expand)

15 total rebuild path(s)

15 package rebuild(s)

First fifty rebuilds by attrpath
adl
anime-downloader
python310Packages.folium
python310Packages.osmnx
python310Packages.robotframework-selenium2library
python310Packages.robotframework-seleniumlibrary
python310Packages.selenium
python310Packages.splinter
python39Packages.folium
python39Packages.osmnx
python39Packages.robotframework-selenium2library
python39Packages.robotframework-seleniumlibrary
python39Packages.selenium
python39Packages.splinter
xsser

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/r4apvml69pb88b73mbs7dqnxia6r1ld6-python3.10-selenium-4.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.selenium https://github.com/r-ryantm/nixpkgs/archive/2be38345b49f751cfb6271babcf04f3ee7d0bbae.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/r4apvml69pb88b73mbs7dqnxia6r1ld6-python3.10-selenium-4.5.0
ls -la /nix/store/r4apvml69pb88b73mbs7dqnxia6r1ld6-python3.10-selenium-4.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages failed to build:

python310Packages.robotframework-selenium2library
python310Packages.robotframework-seleniumlibrary
python39Packages.robotframework-selenium2library
python39Packages.robotframework-seleniumlibrary

11 packages built:

adl
anime-downloader
python310Packages.folium
python310Packages.osmnx
python310Packages.selenium
python310Packages.splinter
python39Packages.folium
python39Packages.osmnx
python39Packages.selenium
python39Packages.splinter
xsser

Maintainer pings
cc @jraygauthier for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.selenium is: "Bindings for Selenium WebDriver"
meta.homepage for python310Packages.selenium is: "https://selenium.dev/"
meta.changelog for python310Packages.selenium is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.7.0 with grep in /nix/store/ygc2pzhxb6bh4qbf4ds55ndqvjvhd464-python3.10-selenium-4.7.0
found 4.7.0 in filename of file in /nix/store/ygc2pzhxb6bh4qbf4ds55ndqvjvhd464-python3.10-selenium-4.7.0

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

16 package rebuild(s)

First fifty rebuilds by attrpath
adl
anime-downloader
changedetection-io
python310Packages.folium
python310Packages.osmnx
python310Packages.robotframework-selenium2library
python310Packages.robotframework-seleniumlibrary
python310Packages.selenium
python310Packages.splinter
python39Packages.folium
python39Packages.osmnx
python39Packages.robotframework-selenium2library
python39Packages.robotframework-seleniumlibrary
python39Packages.selenium
python39Packages.splinter
xsser

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ygc2pzhxb6bh4qbf4ds55ndqvjvhd464-python3.10-selenium-4.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.selenium https://github.com/r-ryantm/nixpkgs/archive/fc27da629ab2e4c1ac5e62d843c7f4e0b1db0ac2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ygc2pzhxb6bh4qbf4ds55ndqvjvhd464-python3.10-selenium-4.7.0
ls -la /nix/store/ygc2pzhxb6bh4qbf4ds55ndqvjvhd464-python3.10-selenium-4.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

16 packages built:

adl
anime-downloader
changedetection-io
python310Packages.folium
python310Packages.osmnx
python310Packages.robotframework-selenium2library
python310Packages.robotframework-seleniumlibrary
python310Packages.selenium
python310Packages.splinter
python39Packages.folium
python39Packages.osmnx
python39Packages.robotframework-selenium2library
python39Packages.robotframework-seleniumlibrary
python39Packages.selenium
python39Packages.splinter
xsser

Maintainer pings
cc @jraygauthier @SuperSandro2000 for testing.


Logged out automatically - iOS app

Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:
Summary
Logged out automatically in mattermost iOS app(ver 1.22.1)
Environment Information

Device Name: iPhone Xr, simulator
OS Version: iOS 12.4
Mattermost App Version: 1.22.1
Mattermost Server Version:

Steps to reproduce
git clone -> make pre-run -> run xcode -> build on simulator
Expected behavior
first app run-> need login -> login OK
app in background-> app run -> logged in -> no need login
app in background -> app terminate -> app run -> need login
Observed behavior
This issue releates 'https://github.com/mattermost/mattermost-mobile/blob/master/app/store/ephemeral_store.js' .
I guess whether the data disappear when the app is terminated.
There are also the following error.
When I run the app and log in, I get the following error:
I guess this error is associated with the file(https://github.com/mattermost/mattermost-mobile/blob/master/app/init/credentials.js).
The code below might require the await statement.
AsyncStorage.setItem(CURRENT_SERVER, url);
KeyChain.setInternetCredentials(url, username, token, {accessGroup: mattermostManaged.appGroupIdentifier});

I FOUND IT!!!
There is a hard-coded part.
The code like below(in 'MMMConstants.m')
NSString *APP_GROUP_ID = @"group.com.mattermost.rnbeta";

I FOUND IT!!!
There is a hard-coded part.
The code like below(in 'MMMConstants.m')
NSString *APP_GROUP_ID = @"group.com.mattermost.rnbeta";


Dynamo: automated testing strategy

This should help: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html

I am working on this now.  I think I have a good solution.

addressed in #335


route to new page when button at end of row is clicked?

Issue Type (delete the irrelevant ones)

[x] Question

Specs
What version are you using? 2.19.5
What browser? Chrome
Expected Behavior
Nice component!
Is it possible to add this type of code below in a table cell so when the user clicks on a button at the end of each row, it routes the user to another page and passes params?
The current table has a column with a button at the end of every row which routes it to DataWarehouseReportData

Run Report

I'd like to do the same thing using vue-good-table. Another option would be to route the user to the DataWarehouseReportData when the user clicks or double-clicks on the row but I didn't see a way to do that with a router-link.
Actual Behavior
What actually happened?
Steps to Reproduce the Problem
Please detail your steps here

jsfiddle
If you provide a jsfiddle reproducing the issue, it'll be addressed much faster.
you can use this as base

Please check other issues before posting as this question has been asked multiple times already.
You can reference this issue for an example of how to add buttons using custom-templates
https://github.com/xaksis/vue-good-table/issues/399

thanks, @titusdecali.
closing.


Use POST-303-GET pattern for all manage views

Searched for POST views using awk commands like the following:
grep -r -l 'request_method="POST"' warehouse
grep -r -l 'require_methods=\["POST"\]' warehouse
grep -r -l 'request\.method .= "POST"' warehouse

cat warehouse/manage/views.py | awk '/request_method="POST"/{flag=1}/(class|def) / && flag{print $2; flag=0}'
cat warehouse/manage/views.py | 'awk /require_methods=\["POST"\]/{flag=1}/(class|def) / && flag{print $2; flag=0}'
tac warehouse/manage/views.py | 'awk /request\.method .= "POST"/{flag=1}/(class|def) / && flag{print $2; flag=0}'

Fixed POST-303-GET pattern for 12 of 45 POSTs in warehouse/manage/views.py (see commit a59d767 for details).

Confirmed use of POST-303-GET pattern in the following files:

warehouse/accounts/views.py
warehouse/admin/views/banners.py
warehouse/admin/views/checks.py
warehouse/admin/views/emails.py
warehouse/admin/views/flags.py
warehouse/admin/views/organizations.py
warehouse/admin/views/prohibited_project_names.py
warehouse/admin/views/projects.py
warehouse/admin/views/sponsors.py
warehouse/admin/views/users.py
warehouse/admin/views/verdicts.py
warehouse/email/ses/views.py
warehouse/forklift/legacy.py
warehouse/integrations/github/views.py
warehouse/integrations/vulnerabilities/osv/views.py
warehouse/legacy/api/pypi.py
warehouse/legacy/api/xmlrpc/views.py
warehouse/manage/views.py

Found exceptions to POST-303-GET pattern but chose not to fix:

create_macaroon in warehouse/manage/views.py
https://github.com/pypi/warehouse/blob/a59d767/warehouse/manage/views.py#L984-L1051

security_key_giveaway_submit in warehouse/views.py
https://github.com/pypi/warehouse/blob/a59d767/warehouse/views.py#L549-L574

Fixes #11778.

Thank you for the thorough audit and retro-fit.


Github page link 404s

Thanks for sh!
This link at the top of sh.py is 404ing:
http://amoffat.github.io/sh/

Thanks for letting us know

Ran into this today, opened #729 with updated URLs


[Feature]: support for discord-logs

Feature?
I'd love to see support for discord-logs built in so I could use the On decorator with their added events.
Package
discordx

I think you can still use it, but you need to hack something like this
@On("guildMemberBoost" as keyof ClientEvents)

@VictoriqueMoe your opinion?

This repo has not been updated for 9 months, that's a red flag for me

That said. I like it. I just worry about how dead it is. Maybe we can fork it

Workround:
Create discord-logs.d.ts file inside of your src with content:
import 'discord.js';

declare module 'discord.js' {
  interface ClientEvents {
    guildChannelPermissionsUpdate: [GuildChannel, PermissionOverwrites, PermissionOverwrites];
    guildChannelTopicUpdate: [GuildChannel, string, string];
    unhandledGuildChannelUpdate: [GuildChannel, GuildChannel];
    guildMemberBoost: [GuildMember];
    guildMemberUnboost: [GuildMember];
    guildMemberRoleAdd: [GuildMember, Role];
    guildMemberRoleRemove: [GuildMember, Role];
    guildMemberNicknameUpdate: [GuildMember, string, string];
    unhandledGuildMemberUpdate: [GuildMember, GuildMember];
    guildBoostLevelUp: [Guild, number, number];
    guildBoostLevelDown: [Guild, number, number];
    guildRegionUpdate: [Guild, string, string];
    guildBannerAdd: [Guild, string];
    guildAfkChannelAdd: [Guild, string];
    guildVanityURLAdd: [Guild, string];
    guildVanityURLRemove: [Guild, string];
    guildVanityURLUpdate: [Guild, string, string];
    guildFeaturesUpdate: [Guild, Guild];
    guildAcronymUpdate: [Guild, Guild];
    guildOwnerUpdate: [Guild, Guild];
    guildPartnerAdd: [Guild];
    guildPartnerRemove: [Guild];
    guildVerificationAdd: [Guild];
    guildVerificationRemove: [Guild];
    unhandledGuildUpdate: [Guild, Guild];
    messagePinned: [Message];
    messageContentEdited: [Message, string, string];
    unhandledMessageUpdate: [Message, Message];
    guildMemberOffline: [GuildMember, Status];
    guildMemberOnline: [GuildMember, Status];
    unhandledPresenceUpdate: [Presence, Presence];
    rolePositionUpdate: [Role, number, number];
    rolePermissionsUpdate: [Role, number, number];
    unhandledRoleUpdate: [Role, Role];
    userAvatarUpdate: [User, string, string];
    userUsernameUpdate: [User, string, string];
    userDiscriminatorUpdate: [User, string, string];
    userFlagsUpdate: [User, string, string];
    unhandledUserUpdate: [User, User];
    voiceChannelJoin: [GuildMember, VoiceChannel];
    voiceChannelLeave: [GuildMember, VoiceChannel];
    voiceChannelSwitch: [GuildMember, VoiceChannel, VoiceChannel];
    voiceChannelMute: [GuildMember, boolean];
    voiceChannelUnmute: [GuildMember, boolean];
    voiceChannelDeaf: [GuildMember, boolean];
    voiceChannelUndeaf: [GuildMember, boolean];
    voiceStreamingStart: [GuildMember, VoiceChannel];
    voiceStreamingStop: [GuildMember, VoiceChannel];
    unhandledVoiceStateUpdate: [VoiceState, VoiceState];
  }
}

After that both  @On() and ArgsOf will have typings with those events.

well, yes, you could just extend the typings by mantianing a list yourself

That said. I like it. I just worry about how dead it is. Maybe we can fork it

Completely agree, in saying that I don't believe there will be much maintenance needed.

That said. I like it. I just worry about how dead it is. Maybe we can fork it

Completely agree, in saying that I don't believe there will be much maintenance needed.

However, the repo currently has open issues that are not being addressed

Looking at the issues I can't see any that aren't either feature requests or support. None of them look like bug reports.

Workround:
Create discord-logs.d.ts file inside of your src with content:
import 'discord.js';

declare module 'discord.js' {
  interface ClientEvents {
    guildChannelPermissionsUpdate: [GuildChannel, PermissionOverwrites, PermissionOverwrites];
    guildChannelTopicUpdate: [GuildChannel, string, string];
    unhandledGuildChannelUpdate: [GuildChannel, GuildChannel];
    guildMemberBoost: [GuildMember];
    guildMemberUnboost: [GuildMember];
    guildMemberRoleAdd: [GuildMember, Role];
    guildMemberRoleRemove: [GuildMember, Role];
    guildMemberNicknameUpdate: [GuildMember, string, string];
    unhandledGuildMemberUpdate: [GuildMember, GuildMember];
    guildBoostLevelUp: [Guild, number, number];
    guildBoostLevelDown: [Guild, number, number];
    guildRegionUpdate: [Guild, string, string];
    guildBannerAdd: [Guild, string];
    guildAfkChannelAdd: [Guild, string];
    guildVanityURLAdd: [Guild, string];
    guildVanityURLRemove: [Guild, string];
    guildVanityURLUpdate: [Guild, string, string];
    guildFeaturesUpdate: [Guild, Guild];
    guildAcronymUpdate: [Guild, Guild];
    guildOwnerUpdate: [Guild, Guild];
    guildPartnerAdd: [Guild];
    guildPartnerRemove: [Guild];
    guildVerificationAdd: [Guild];
    guildVerificationRemove: [Guild];
    unhandledGuildUpdate: [Guild, Guild];
    messagePinned: [Message];
    messageContentEdited: [Message, string, string];
    unhandledMessageUpdate: [Message, Message];
    guildMemberOffline: [GuildMember, Status];
    guildMemberOnline: [GuildMember, Status];
    unhandledPresenceUpdate: [Presence, Presence];
    rolePositionUpdate: [Role, number, number];
    rolePermissionsUpdate: [Role, number, number];
    unhandledRoleUpdate: [Role, Role];
    userAvatarUpdate: [User, string, string];
    userUsernameUpdate: [User, string, string];
    userDiscriminatorUpdate: [User, string, string];
    userFlagsUpdate: [User, string, string];
    unhandledUserUpdate: [User, User];
    voiceChannelJoin: [GuildMember, VoiceChannel];
    voiceChannelLeave: [GuildMember, VoiceChannel];
    voiceChannelSwitch: [GuildMember, VoiceChannel, VoiceChannel];
    voiceChannelMute: [GuildMember, boolean];
    voiceChannelUnmute: [GuildMember, boolean];
    voiceChannelDeaf: [GuildMember, boolean];
    voiceChannelUndeaf: [GuildMember, boolean];
    voiceStreamingStart: [GuildMember, VoiceChannel];
    voiceStreamingStop: [GuildMember, VoiceChannel];
    unhandledVoiceStateUpdate: [VoiceState, VoiceState];
  }
}

After that both  @On() and ArgsOf will have typings for those events.

with lib working, @OmgImAlexis I think you can use it without any issue. would that resolve your issue?


Candlestick charting

The prior endpoint used for this via cryptowatch is no longer functioning as it once did, and the cost of credits vs the frequency of our requests is suboptimal. I'll scout alternatives an post them here for discussion.
It the private repo, Tony mentioned potentially using widgets - we did this in desktop app for basic charts, first TradingView, then Nomics (no longer active), now Livecoinwatch.

Livecoinwatch does not provide olhc data or widgets https://www.livecoinwatch.com/widgets
TradingView is well recognised and comes with data and nice features if it can be integrated https://www.tradingview.com/widget/advanced-chart/
This from Tradingview is also pretty cool - https://www.tradingview.com/HTML5-stock-forex-bitcoin-charting-library/ Free, open-source and feature-rich Tho it's byo data.
TradingView lightweight charts repo: https://github.com/tradingview/lightweight-charts
TradingView lightweight charts docs: https://tradingview.github.io/lightweight-charts/

IMO if https://www.tradingview.com/widget/advanced-chart/ can be used it seems the best option (at least until I find something else better for the same price of zero).

afaik tradingview only supports specific pairs on specific exchanges, so they don't have eg a VRSC/KMD chart
and you need to define the exact exchange and pair like here: https://github.com/KomodoPlatform/atomicDEX-Desktop/blob/dev/atomic_defi_design/Dex/Constants/General.qml#L2362

@smk762 for mobile, it's not critical to have live rates, so it's acceptable for the data to be a bit stale, especially on less-used pairs.
What do you think about the following?
Use Coingecko's free plan (or minimal credits) with a new caching layer to take full advantage of the 10-30 requests per minute limit to eagerly cache as often as the limit allows eagerly. E.g. Prioritise 80% of the API requests to the top 50% most requested pairs. Then the remaining 20% of API requests would go to whichever pairs have the oldest data.

I've had a look at replacing the cryptowat candles api data with the kraken equivalent, but it is lacking many pairs and timeframes. The url we used for cryptowat was for binance markets (https://github.com/KomodoPlatform/CexPricesEndpoint/blob/master/cex_prices_endpoint/http/http_routes.go#L7) so I figured checking the source, and it looks like a better alternative.
The way their rate limits work is IP based tho, so if I create a proxy it will have less coverage before throttling than if the request is made client side. There is also a websocket stream which I think might be the best option (client side)
rest: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
ws: https://binance-docs.github.io/apidocs/spot/en/#trade-streams
Once we add Binance API ids for coins and pairs to https://github.com/KomodoPlatform/coins/tree/master/api_ids this would allow faster streamed data with more coverage than before.


Fix string corruption

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

Hey @john-h-k it may have been a long dash '—' (—) 🤷🏻


[WIP] Investigate timeouts in westus2 & westus3 in migration & upgrade tests

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Restoring the original regions and disable cluster cleanup for the migration & upgrade tests in order to investigate timeouts observed in those regions.
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.935%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
255

Relevant Lines:
491

💛  - Coveralls


[CONTINT-3410] Fix the …_pods_are_running_the_good_version e2e tests

What does this PR do?
Do not assume any hard-coded length of the git sha returned the agent version command.
Motivation
Fix this kind of failure:
=== FAIL: tests/containers TestKindSuite/TestVersion/Linux_agent_pods_are_running_the_good_version (0.58s)
    k8s_test.go:224:
        	Error Trace:	/go/src/github.com/DataDog/datadog-agent/test/new-e2e/tests/containers/k8s_test.go:224
        	            				/go/pkg/mod/github.com/stretchr/testify@v1.8.5-0.20231013065317-89920137cdfa/suite/suite.go:112
        	Error:      	Not equal:
        	            	expected: "2abd92219c"
        	            	actual  : "2abd9221"

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-2abd92219c
        	            	+2abd9221
        	Test:       	TestKindSuite/TestVersion/Linux_agent_pods_are_running_the_good_version
        	Messages:   	Agent isn’t running the expected version

Additional Notes
The size of the short sha returned by git depends on the version of git as well as of the number of commits in the repository.
Here is where the git commit is computed: https://github.com/DataDog/datadog-agent/blob/8bfeaac291651dca3226a94e04034185ffa8f8d3/tasks/utils.py#L272-L276
The length of short git sha is documented in git-config(1):

If unspecified or set to "auto", an appropriate value is computed based on the approximate number of packed objects in your repository, which hopefully is enough for abbreviated object names to stay unique for some time.

Possible Drawbacks / Trade-offs
Describe how to test/QA your changes
Launch the e2e tests with an image that doesn’t match the version. The tests should fail. But we can check that the length of the checked version is correct.
Ex.:
=== FAIL: tests/containers TestEKSSuite/TestVersion/Linux_agent_pods_are_running_the_good_version (2.26s)
    k8s_test.go:229:
                Error Trace:    /home/lenaic/doc/devel/DataDog/datadog-agent/test/new-e2e/tests/containers/k8s_test.go:229
                                                        /home/lenaic/go/pkg/mod/github.com/stretchr/testify@v1.8.5-0.20231013065317-89920137cdfa/suite/suite.go:112
                Error:          Not equal:
                                expected: "4c67769"
                                actual  : "1790cab"

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -4c67769
                                +1790cab
                Test:           TestEKSSuite/TestVersion/Linux_agent_pods_are_running_the_good_version
                Messages:       Agent isn’t running the expected version
        --- FAIL: TestEKSSuite/TestVersion/Linux_agent_pods_are_running_the_good_version (2.26s)

=== FAIL: tests/containers TestEKSSuite/TestVersion/Windows_agent_pods_are_running_the_good_version (1.88s)
    k8s_test.go:229:
                Error Trace:    /home/lenaic/doc/devel/DataDog/datadog-agent/test/new-e2e/tests/containers/k8s_test.go:229
                                                        /home/lenaic/go/pkg/mod/github.com/stretchr/testify@v1.8.5-0.20231013065317-89920137cdfa/suite/suite.go:112
                Error:          Not equal:
                                expected: "4c6776912a"
                                actual  : "1790cab5ca"

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -4c6776912a
                                +1790cab5ca
                Test:           TestEKSSuite/TestVersion/Windows_agent_pods_are_running_the_good_version
                Messages:       Agent isn’t running the expected version
        --- FAIL: TestEKSSuite/TestVersion/Windows_agent_pods_are_running_the_good_version (1.88s)

Note that the version length isn’t the same for Linux and Windows agents !
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Adding Architecture-Level Resource Estimator Design Document

A thesis we want to put forward is that architecture-level resource estimations are scattered everywhere and what we are putting forward is one tool that puts all of them together. Before Stim, everybody had to build their own Stim graph from scratch. A few resource estimation papers I could find all roll their own unique architecture-level estimator:

https://scirate.com/arxiv/1905.09749
https://scirate.com/arxiv/2012.04108
https://scirate.com/arxiv/2401.09541
https://scirate.com/arxiv/2306.08585


[AutoPR] policyinsights/resource-manager

Created to accumulate context: policyinsights/resource-manager

(message created by the CI based on PR content)


Invalid, modified moments should not return true in isSame

Hi,
Noticed something odd:
coffee> moment.invalid().isSame(moment.invalid().year(2010))
false
coffee> moment.invalid().year(2010).isSame(moment.invalid().year(2010))
true

:cake:

Yeah, that's probably a bug. isSame() should make all invalid dates equal.

For an alternative precedent, consider that NaN === NaN returns false.  Perhaps moment's isSame should follow a similar precedent, where isSame, isBefore, and isAfter all return false if either moment is invalid.

@brianwyantora that makes sense. PRs welcome.

On closer examination moment.invalid().year(2010).isSame(moment.invalid().year(2010)) returns true because moment.invalid().year(2010)._d returns a valid date (Jan 1, 2010) and moment.valueOf returns +this._d - ((this._offset || 0) * 60000);.
Should we fix moment.valueOf to return NaN if moment.isValid() === false?

@cwohlman Yeah, if we want the behavior to be consistent with NaN, it does seem like just having it return NaN is the right thing to do.

@ichernev: would this "edge" case (invalid moment backed by valid date) happen if you create an invalid moment, but then modify it, in the current code? If yes, I'd say a lot of people "depend" on this functionality, i.e. we'll break a lot of code if we start propagating invalid moments. Also if there is valid date attached, all of the moment methods will just work correctly, and it will be almost unnoticeable (that the moment is invalid).

I think maybe this issue needs further discussion. Right now the implementation makes a lot of sense:

Moments are compared based on their underlying value (i.e. _d)
Moments with an invalid underlying value cannot be compared and return false when compared

The issue is this:

Invalid moments can have a valid underlying value.

The question is, if an invalid moment has a valid underlying value, what's the expected behavior?
For example:
> moment.invalid().year(2010).isSame(moment.invalid().year(2010), 'year')
true
> moment.invalid().year(2015).year()
2015
> moment.invalid().year(2015)._d.toISOString()
2015-01-01T00:00:00.000Z

Which makes a lot of sense, because the underlying date is valid, the years are the same, and intuitively you'd expect them to be equal. This doesn't work with any other unit though:
> moment.invalid().minute(10).isSame(moment.invalid().minute(10), 'minute')
false
> moment.invalid().minute(10).minute()
NaN
> moment.invalid().minute(10)._d
Invalid Date

The real question is: What does the user expect from an invalid date?

I've never used an invalid date on purpose, so my only use for invalid dates is to detect dates that are not valid - and reject them.
It's not currently possible to use invalid dates as fill in the blanks: this doesn't work, and returns moment.invalid().month(6).year(2015).month() 0, not 6 as you'd expect.
We currently treat invalid dates as unequivocally invalid in at least one other case: moment.invalid().anythingYouWantToChange().format() always returns "Invalid date"

Hm, if formatting always returns "Invalid Date" I think we're good to make the valueOf change. I'd guess most users use format at the end, so they'd catch invalid moments.

Since I already split out those commits into a separate branch, I've opened another pull request: https://github.com/moment/moment/pull/2462, if you'd like me to squash them, I can.


Adds revoked parameter to autocomplete

Resolves duplicate named results from displaying in autocomplete. Inactive credentials were filtered out but revoked credentials were not. This aligns with v2 autocomplete functionality.

@amanji, The branch needs to be updated before it can be merged.


chore(deps): pin electron-builder to v20.41.0

Description:
Code signing in latest version of electron-builder has issues.
Motivation and Context:
Build broken.
See https://github.com/electron-userland/electron-builder/issues/3948
How Has This Been Tested?
yarn package --mac
Types of changes:
Build fix
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 19.848% when pulling 03b5e339541a6aed9a717c6cb570c93aab9dfc64 on mrfelton:fix/electron-build into b4a537d550e8214a2ba28f629367475049b189a9 on LN-Zap:next.


retry with first call immidiate

Please add functionality to make possible requests with delay, but first of them is being called with no delay.

Done in 0.0.7, should be in Maven Central soon.


Comparing nulls in sql or how to handle Option in sql interpolator

Of course, I fell into the trap of writing Spec[Something].where(sql"column = ${someOption}"). This works fine if someOption is defined, but will obviously not find anything if it is None. In this case, I actually wanted to switch to sql"column is NULL".
Is there already a helper to compare Option like this?
I had the idea of adding helpers like Spec[Something].whereEq("column", someOption). Alternatively, one could also model different cooperators and have a method like where("column", Compare.Eq, someOption). Or maybe we could provide something on the Frag level or in the interpolator like sql"column ${Compare.Eq(someOption)}".
What do you think or suggest here?

Hi, that's a common issue, and I think we need better documentation here.
As you noted, in SQL queries, X = NULL will always return false, so we have to use X is NULL instead.
Lets say you have a user request DTO like
case class UserReq(company: String, department: Option[String])

What does department = None mean for the query? It could be that we want to
(1) Ignore this filter from the query and return all departments. This is the most common scenario IME. We can write the spec like:
Spec[User]
  .where(sql"company = ${userReq.company}")
  .where(sql"department = ${userReq.department} OR ${userReq.department} IS NULL")

(2) Include only results where department is NULL (your scenario). We can write the spec like:
Spec[User]
  .where(sql"company = ${userReq.company}")
  .where(sql"department = ${userReq.department} OR (department IS NULL AND ${userReq.company} IS NULL)")

Thank you for your answer - both scenarios are indeed valid, depending on the use-case. I was probably looking at it from a specific perspective. A solution should be able to handle both cases and/or be more clear about what it does.
For the two queries that you posted, I think, it makes sense to not send the where with a null value to the database, if the value is None. Maybe like this:
(1)
Spec[User]
  .where(sql"company = ${userReq.company}")
  .tap(spec => userReq.department.fold(spec)(department => spec.where(sql"department = ${department})))

(2)
Spec[User]
  .where(sql"company = ${userReq.company}")
  .where(spec => userReq.department.fold(sql"department is NULL")(department => sql"department = ${department}))

All of the above queries that we wrote are quite short - and they are explicit. But when writing where conditions on repositories, I felt that a little dsl for building the actual where-condition would help. Especially when refactoring code where a field becomes optional, it is easy to miss a where condition.
Apart from this issue, what are your thoughts on extending the Spec-type to include specific field-information like the TableInfo does for the column-names? I could totally imagine functions like Spec[User].whereCompany(?, userReq.company) :)

Why does your Spec[User].whereCompany(?, userReq.company) example have two parameters?

Why does your Spec[User].whereCompany(?, userReq.company) example have two parameters?

Sorry, that was unclear. I had an operator in mind, to select how you want to compare the value.

Got it. Maybe a trait like
trait SpecOptionMapping:
  def frag[A](columnName: String, opt: Option[A], codec: DbCodec[Option[A]]): Frag

object SkipIfNone extends SpecOptionMapping: //example (1)
  def frag[A](columnName: String, opt: Option[A], codec: DbCodec[Option[A]]): Frag =
    opt match
      case None => sql""
      case Some(a) =>
        val sqlString = s"$columnName = ${codec.queryRepr}"
        val params = Vector(opt)
        val writer: FragWriter = (ps, pos) =>
          codec.writeSingle(opt, ps, pos)
          pos + codec.cols.length
        Frag(sqlString, params, writer)

Then
Spec[User].whereCompany(userReq.company, SpecOptionMapping.SkipIfNone)

One other style for example (1) that requires no code changes is:
Spec[User]
  .where(sql"company = ${userReq.company}")
  .where(userReq.department.map(dpt => sql"department = $dpt").getOrElse(sql""))

And this for example (2):
Spec[User]
  .where(sql"company = ${userReq.company}")
  .where(userReq.department.map(dpt => sql"department = $dpt").getOrElse(sql"department IS NULL"))

Especially when refactoring code where a field becomes optional, it is easy to miss a where condition.

However like you say, this is still an issue. Safe refactoring is very important..

Coming back to this, I think that, since we can use TableInfo to write the .where clauses in a refactorable way, we don't need additional methods on spec (like Spec[User].whereCompany(userReq.company, SpecOptionMapping.SkipIfNone)).
Instead I like the examples
For case (1):
val u = TableInfo[UserCreator, User, Long]

Spec[User]
  .where(sql"${u.company} = ${userReq.company}")
  .where(userReq.department.map(dpt => sql"${u.department} = $dpt").getOrElse(sql""))

And this for example (2):
val u = TableInfo[UserCreator, User, Long]

Spec[User]
  .where(sql"${u.company} = ${userReq.company}")
  .where(userReq.department.map(dpt => sql"${u.department} = $dpt").getOrElse(sql"${u.department} IS NULL"))

I'll close this ticket and add documentation to the readme.


The Mulit-task learning example can not run

AttributeError: 'Multi_Accuracy' object has no attribute 'num'
Then I change  https://github.com/apache/incubator-mxnet/blob/master/example/multi-task/example_multi_task.py#L79
to
    def __init__(self, num=None):
        super(Multi_Accuracy, self).__init__('multi-accuracy')
        self.num=num

There are still errors
    self.sum_metric[i] += (pred_label.flat == label.flat).sum()
TypeError: 'float' object has no attribute '__getitem__'

Working on a fix

#8006

Fixed. You can checkout the latest master branch and give the example another try. Let me know if there's still issue.


how to get the version of tensorflow model which exported from azure custom vision services now?

I train model and export the model as tensorflow pb file using the azure custom vision services.
I want to know the version number of this tensorflow model (tensorflow versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0),But this no way to get the tensorflow version in azure custom vision services.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 754dd7d5-dd8b-4a75-5d79-0ba621a847cd
Version Independent ID: 3cca3535-1c16-2da1-46c6-421cbf808bc3
Content: Tutorial: Run TensorFlow model in Python - Custom Vision Service - Azure Cognitive Services
Content Source: articles/cognitive-services/Custom-Vision-Service/export-model-python.md
Service: cognitive-services
Sub-service: custom-vision
GitHub Login: @areddish
Microsoft Alias: areddish

@karqical2016 Thanks for the question. We are investigating the issue and will update you shortly.

@areddish Do we have a documented way of checking the tensorflow version used by Azure custom vision service when we export the compact model?

For the tensorflow export there isn't a way to tell that I'm seeing.
When you export the model for docker you get a .zip file. Inside the zip file there's a file app\requirements.txt. That specifies the version of tensorflow we are using in the docker container.

But to answer the question - we are targeting Tensorflow 1.14.0

Thanks Andrew for the update. @karqical2016 We will now proceed to close this thread. If there are further questions regarding this matter, please tag us in your reply. We will gladly continue the discussion and we will reopen the issue.


feat: add basic cli

Closes #84
Implements a basic CLI to run the cairo vmin TypeSscript
Dependencies:

commander.js to build the CLI
consola for an elegant console wrapper

Design choices:
Separate the proof mode and the execution mode by two subcommands rather than a flag

cairo-vm-ts run <program.json> in execution mode (default command so directly using cairo-vm-ts will trigger the run subcommand)
cairo-vm-ts prove <program.json> in proof mode (TBD)

Detailed list of the implemented flags in this comment


jj: hyperlink using Change-Id from the description?

In format_short_change_id, we generate the hyperlink using jj change_id and this should be sort of fine for our changes but perhaps extracting Change-Id from the description and using it would be better?

description.lines().map(|line| if(line.starts_with("Change-Id: "), line.remove_prefix("Change-Id: "))).join("") works, I think.

Fixed by ee2a1700928587c6514a10105baeaf3d018dae3d.


Eliud fixes

     Added below endpoints: GET - /   (landing page)
     POST - /v1/users/login,
     POST - /v1/users/register,
     PUT - /v1/users/update/:id
     DELETE -/v1/users/delete/:id

Added below endpoints: GET - /   (landing page)
POST - /v1/users/login,
POST - /v1/users/register,
PUT - /v1/users/update/:id
DELETE -/v1/users/delete/:id


Drag and drop files and folders

Users should be able to drag and drop files to move them into different directories.

is this we have to implement manually or does @codemirror give something like this?

Added in https://github.com/solana-playground/solana-playground/commit/64d22118ef422f2d57cb2d233ba466cbb897b97a


Rename Concat overload to Append

how about rename Concat to Append in the signature Concat<T>(this IEnumerable<T> head, T tail)  ?
I know it is a breaking-change, but release 3.0 is a good opportunity.
This have the following pros:

if we have prepend, make a lot o sense have append.
avoid confusion between our Concat and Linq's one

if we have prepend, make a lot o sense have append.

The value is very marginal.

avoid confusion between our Concat and Linq's one

What's so confusing about it? We have other such overloads sharing the same name as the base operator in LINQ. It'll be equally confusing if renamed to Append since Append is now part of LINQ:

I see. At least the operator would be semantically correct.  Since Concat is about sequencies, and what We are doing is append a value in the end of the sequêncie.


Is there any more thorough documentation?

The current docs in the README are not only outdated, but there are also many information missing.
What exactly should be isComplete be for? What should this check for being complete? For the wallet to be completely open or...
If there are detailed docs, papers about the concepts anything I would be greatful. Thanks

isComplete mean is the wallet is complete (all copayers have joined) or if it still waiting for other copayers to join.
You should check it after openWallet.
There is no extra documentation, you can check bitcore-wallet for a simple CLI client that use BWC. (https://github.com/bitpay/bitcore-wallet)

@matiu Thanks, also that this was just an example. Please insert this information in the docs, it will also help others...
I have looked into all of this, I also need to look into copay to see how some things are handeled...
I hope you're going to start with the documentation soon, currently this is a really big chaos across all projects concerning bws including bws itself..., not only related to documentation though. No information to start through contributing, missing tags on github of the npm releases (I had to get the gitHead from npm instead for bws for example).
Really please start organizing all of this a bit more, you're wasting so much potential through the community that would contribute that you're loosing completely. I'm sorry, but I have to admit that it is currently really not funny to gather all information to use your stuff, because there is either no or completely outdated documentation... . And also please stop closing issues without the chance to communicate, this is ultimately rude... I have noticed that many times now in all bitpay projects that this happens in this style though and that is not going to make people to be more into asking questions it is more like saying:
"Hey go away, we don't want you here. It is our project,"
Also to mention, this is no offense and was not ment to offend, this was ment as criticism.

Thanks a lot for you comment. We will definitely will try to tag the releases better and maintain npm updated. Also we will work to have the README docs updated, to start.
Please if your proyect is OSS, let us know so we can link it


Browser and Text zoom should be at 100%.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
tried on two different browser's with 100% zoom,still getting this error

@cgrewal Code issues are not handled on GitHub unless there is a bug with the site. Hint: there is an issue with your code in the style section. Please take your coding questions to the Help Room. Happy coding!

Unable to pass the 100% browser zoom at 100%.  I am running chrome: Version 49.0.2623.110 m
Screen shot below:

@phamvien check your CSS rules (the code in between the <style> tags). You have a mistake there. If you continue having difficulty, please ask questions to the Help Room. Happy coding!

@phamvien DO U FORGET FULLSTOP(.)......CHECK OUT...

This is how it is suppose to be :)
.red-text {
color: red;}
p{font-size:16px;}

@fausty1
Please do not post your solution on here. You could help people at FreeCodeCamp Chat Room or Forum. GitHub Issues are for reporting bugs on the website only.
Happy Coding!

is showing me a red circle with an x and it show Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.

never mind i was adding a dot to the P tag sorry guys i figure out

Instead of adding in between  style tags:
Add style attribute at the tag itself like below:

CatPhotoApp
Kitty ipsum text
 Kitty ipsum text. Purr jump eat the grass

Make sure the p element isn't highlight pink, (or any element for that matter). That was my problem. For some reason the element kept wanting to highlight pink.

The Actual Problem is:

when we do the right still we get the error massage showing in the bottom

And we don't press ctrl + enter 🥇

The error is on the site,

Just Submit your answer you will see a success massage.
Thanks me later.
.

ghost bad answer

Aquí está mi código:

CatPhotoApp
Kitty ipsum dolor sit amet, derramado por todas partes derramado por todas partes estiramiento ataca tus tobillos persigue el punto rojo, bola de pelo corre catnip come la hierba olfatea.
Ronroneo saltar comer la hierba rasgar el sofá rayado tomar el sol, cobertizo por todas partes rasgar el sofá dormir en el fregadero piel esponjosa catnip rayado.
probé en dos navegadores diferentes con un zoom del 100%, pero todavía aparece este error


Add node attribute for the version of the odbc-fdw package

Add an attribute and use it for the odbc-fdw package in the cartodb-dataservices-api cookbook

wrong repo :sad:


Feature/enum support

Hey @mqus @vitusortner @ThomasMiddel do you know why codecov/patch and codecov/project does not start?

Hey @mqus @vitusortner @ThomasMiddel do you know why codecov/patch and codecov/project does not start?

Not sure. But the pipeline references a secret token and the output of the codecov step suggests adding a repo token
{'detail': ErrorDetail(string='Could not find a repository, try using repo upload token', code='not_found')}
Maybe codecov also changed the way you have to configure things. No clue.

Hey @mqus @vitusortner @ThomasMiddel do you know why codecov/patch and codecov/project does not start?

Not sure. But the pipeline references a secret token and the output of the codecov step suggests adding a repo token {'detail': ErrorDetail(string='Could not find a repository, try using repo upload token', code='not_found')}
Maybe codecov also changed the way you have to configure things. No clue.
(Just to be sure though, This has to be set up anew for all clones, not sure about migrated repos. I don't know how far you investigated this already.)

got it, thanks. I guess we need project owner help.

Hey @mqus @vitusortner @ThomasMiddel do you know why codecov/patch and codecov/project does not start?

Not sure. But the pipeline references a secret token and the output of the codecov step suggests adding a repo token {'detail': ErrorDetail(string='Could not find a repository, try using repo upload token', code='not_found')}
Maybe codecov also changed the way you have to configure things. No clue.
(Just to be sure though, This has to be set up anew for all clones, not sure about migrated repos. I don't know how far you investigated this already.)

got it, thanks. I guess we need project owner help.

Codecov is still linked to @vitusortner , I'll have a look if we can migrate that or create a new account!


Revise "Upload your NFT file" screen

Remove "Choose your NFT format" screen
Revise "Upload your NFT file" screen
Fix the file picker logic as per the UI flow change
Some more refactoring

@mustafapylons , @kjawadDeveloper2
Please review again, the issues mentioned above were fixed. Note please this is not full completion of the upload screen so I'll try to knock out all other minor issues still remained during the next PR.

I see you have added the extension but i don't see you are using it . @Tiny-Angel305  can you confirm ?

Only used it in upload_screen which is in progress atm. As said, I am gonna fix minor issues during the next PR including the one you just pointed out. Would it be okay?

You can do snackbar fix in this and remaining in the next PR.

ok will do then.

@kjawadDeveloper2 , snackbar fix done.


Update transitioning-state.md

There are another 4 examples with same code as changed here: https://github.com/vuejs/vuejs.org/pull/921

Well, that's an item off my todo list. 😄  Thanks!


wrong simulator names: fail

Hi the example app fails because the simlator names seems to be wrong. can you give me a hint how to change the names?
`Instruments failed to start up... retrying in 2 seconds
Instruments Usage Error : Unknown device specified: "iPhone 6 (8.3 Simulator),"
Known Devices:
Mac mini [8F362539-D859-561F-9ABB-626D1F907A33]
Apple TV 1080p (9.0) [125AA8D7-B094-4EF7-ABA2-972EAACDDAA9]
[...watch, ipads etc...]
iPhone 6 (8.3) [6D054895-9A0B-45AA-A341-CA4EBEE1B15B]
iPhone 6 (8.4) [1AC6DA1C-FE08-4C3B-8706-431754F682E5]
iPhone 6 (9.1) [34DC8162-28A2-4DC6-9C05-C0CE0566C8D9]
iPhone 6 Plus (8.3) [150AADEF-9D1E-4083-AE7D-2F5B24C81B67]
iPhone 6 Plus (8.4) [3E1B51A5-19E3-4A7A-93E3-B387A52E9B57]
iPhone 6 Plus (9.1) [747A5C78-C097-4C56-B25D-99FAC9FD998E]
iPhone 6s (9.1) [B2465043-63E9-4DC1-8A69-52BC60805E03]
iPhone 6s (9.1) + Apple Watch - 38mm (2.0) [217901AA-F48B-4D94-B8A9-5A70B3A58A2F]
iPhone 6s Plus (9.1) [EA8D05CA-401F-4865-A1D0-022A99099346]
iPhone 6s Plus (9.1) + Apple Watch - 42mm (2.0) [B159CF69-0A57-46AE-B015-34D36E172942]
Instruments failed to start up... retrying in 2 seconds

i'm now using fastlane, but thanks for your work anyway :)


Nexo plugin

Very rough right now: wanted to submit early to get some feedback on the approach.

You might want to check the CCXT converter plugin #53 . It pulls historical data from Binance.com as well as any CCXT supported exchange. Right now, it pulls historical data specifically from the exchange listed in the historical bar, but we could easily edit it to default to Binance or set a default for Nexo since it looks like they don't have a pricing API. I'm sure @eprbell could weigh in on the best option.
Either way I'm pretty sure there isn't a need for a separate converter plugin. It's currently undergoing final testing. I'd appreciate any input you have.

Actually this is an interesting idea: would it make sense to add variants (subclasses) of your CCXT converter that use a fixed exchange (one for Binance, one for Kraken, etc.)? The binance subclass would be exactly equivalent to the pair converter in this PR. Additionally, if we added a CCXT converter subclass for Coinbase, it should be equivalent to the HistoricCrypto plugin. Does that sound correct or am I missing something?

The CCXT converter plugin reads in the exchange name from each transaction that is fed to it then pulls data from that exchange per transaction.
So in theory, if you transacted on Binance, kraken and Coinbase it would pull pricing data from each exchange all in one plugin.
I don't know what the use case would be for a converter 'locked' to one exchange. As we discussed before, there are price fluctuations between exchanges so it is best to pull pricing data from the specific exchange the crypto asset was transacted on.
If done right, the CCXT converter should cover the vast majority of cases except for fringe exchanges with apis not supported by CCXT.

Thinking on this more, what we could do is create a USD base pair version that only works on exchanges that have USD base pairs and for users that need USD denominated prices.
We could rip out the routing / graphing and speed things up.
Then, have a more robust version that handles everything.

I understand the behavior of the CCXT plugin, reading the exchange from each transaction and that is great as it is. The "locked" behavior would offer an alternative/additional model. Each of the locked plugins would behave like the existing HistoricCrypto plugin (which ignores the exchange hint). The user could then arrange the locked plugins in a static configuration, defining a custom priority chain (e.g. try binance first, then coinbase, then kraken, etc). I am not sure if some users would prefer this, but it's a different model, with different operational semantics.

Let me paint a scenario and ask a question:

Bob is a US user (using the US country plugin)
he uses exchanges that have USD-based pairs
he uses the CCXT plugin (as it is written today in your PR)

In the above situation, does the routing code get executed or not? I was under the impression that it would not be executed, but correct me if I'm wrong. If I'm right, would we still need a router-less variant of the CCXT exchange?

No it doesn't. If the market exists for the conversion on the exchange:
Conversion BTC -> USD
Market BTC/USD
Then, the routing isn't used. As is, the graph gets loaded but I'm going to push that down so it lazy loads. I guess it wouldn't offer too much of an efficiency boost.

No it doesn't. If the market exists for the conversion on the exchange:
Conversion BTC -> USD Market BTC/USD
Then, the routing isn't used. As is, the graph gets loaded but I'm going to push that down so it lazy loads. I guess it wouldn't offer too much of an efficiency boost.

Ok, that's what I thought: sounds good.

I understand the behavior of the CCXT plugin, reading the exchange from each transaction and that is great as it is. The "locked" behavior would offer an alternative/additional model. Each of the locked plugins would behave like the existing HistoricCrypto plugin (which ignores the exchange hint). The user could then arrange the locked plugins in a static configuration, defining a custom priority chain (e.g. try binance first, then coinbase, then kraken, etc). I am not sure if some users would prefer this, but it's a different model, with different operational semantics.

Ok, I got you now. I was misunderstanding this in thinking you wanted it for efficiency reasons. For priority reasons would probably be useful for some users that have assets on hardware wallets or some other place that doesn't have readily available pricing data. I opened an issue #61 so that this doesn't get lost.

I understand the behavior of the CCXT plugin, reading the exchange from each transaction and that is great as it is. The "locked" behavior would offer an alternative/additional model. Each of the locked plugins would behave like the existing HistoricCrypto plugin (which ignores the exchange hint). The user could then arrange the locked plugins in a static configuration, defining a custom priority chain (e.g. try binance first, then coinbase, then kraken, etc). I am not sure if some users would prefer this, but it's a different model, with different operational semantics.

Ok, I got you now. I was misunderstanding this in thinking you wanted it for efficiency reasons. For priority reasons would probably be useful for some users that have assets on hardware wallets or some other place that doesn't have readily available pricing data. I opened an issue #61 so that this doesn't get lost.

Yes, that's a good example. E.g. if the user moves coins from Trezor to Ledger the "locked" instances of CCXT would be useful.

I've handled most of the comments on the nexo plugin. Using the CCTX-based pair makes sense instead of my hacky converter. Will take a look at that next!

@eprbell I removed the binance pair converter with the idea that we'll get the other PR merged and can leverage that. Addressed most of the PR comments. Thanks for the thorough review!

I believe I fixed all of the linting errors! Will take care of doc updates later this week. Appreciate you working with me on this!

Thank you for submitting PRs! I will review the code for this and the other PRs in the next few days, however I wanted to share an important point that applies to all data loader plugins (so it applies #60, #65 and #66). It has to do with the unique_id field, which requires special attention. This field is used by the DaLI transaction resolver to match incomplete transaction and join them. E.g. a transfer from Coinbase to Trezor is initially represented as 2 transactions:

an IntraTransaction from Coinbase to UNKNOWN, generated by the Coinbase plugin (which doesn't know that the destination is a Trezor)
an IntraTransaction from UNKNOWN to Trezor, generated by the Trezor plugin (which doesn't know that the source is Coinbase)

These two transactions both share the same unique_id (which is typically the hash and is filled in by the respective plugins): they are fed to the transaction resolver, which uses unique_id to match them up and to join them into a single transaction without UNKNOWN fields.
This is why unique_id is so important: if an incorrect value is used, the transaction resolver is unable to match and join incomplete transactions.
The reason I point this out is that in generated CSV files sometimes the transaction id is empty, other times (confusingly) it's an internal id of the exchange (which cannot be used by the transaction resolver). In such cases (where hash is not available) DaLI plugins must set the unique_id field to UNKNOWN.
Some examples of this:

BlockFI CSVs don't contain the hash or any other transaction id
Coinbase CSVs contain an internal transaction id, but it's not the hash

Check the following for more details:

transaction resolver dev docs
manual plugin docs, which contain an example of how users would use the unique_id field in manual files to finish incomplete transactions for unsupported exchanges.

There is a way to tell if you're using the right unique_id in your plugins: e.g. if you have a transfer from Coinbase to Nexo or viceversa, make sure the final generated file contains only one transaction for this (with "from" fields set to Coinbase, "to" fields set to Nexo and no UNKNOWN source or destination).
This applies to all CSV and REST plugins, but it's especially relevant to CSV plugins (because REST APIs often provide hash information): make sure all these new plugins use either the transaction hash or UNKNOWN as the unique_id.

@eprbell Wow, thank you so much for the information! Your PR reviews are the most helpful I've ever gotten from an open source project, very impressed.
This makes sense: in other words, even if there is a unique ID in a CSV we don't want to include it unless it's referenced in another data source (i.e. external id or foreign key). I'll adjust the PRs!

Addressed comments + added documentation! Let me know if anything else is needed here.

Hey, anytime! And thank you for submitting code and helping out with the project: two way street and all that :-D.
Correct, we don't want to include unique_id unless it's either the transaction hash (which is always understood by all exchanges and wallets) or in some special cases the internal id (e.g. transactions from Coinbase to Coinbase Pro don't use the transaction hash, but an internal Coinbase-only id which both CB and CB Pro understand).


Add serve script

It's convenient to have serve script in package.json. This doesn't require for contributors to have python installed.
In addition, I dropped grunt-contrib-concat and grunt-karma. These became unused by #2037.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2045   +/-   ##
=======================================
  Coverage   64.09%   64.09%
=======================================
  Files           1        1
  Lines        4454     4454
=======================================
  Hits         2855     2855
  Misses       1599     1599

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 59711b5...b3e825a. Read the comment docs.

LGTM! Not requiring Python is a good shout. I've fixed the merge conflict caused by #2049, will merge now.


Added Function parsing.

FIX: The problems of Boxing... It is really a big mess right now. Maybe we should discuss about when to Box and when not to?

Sure! Have yourself a little rest


MB-3524 Add MoveOrder.NewDutyStation.Address to MTO fetcher

Description
Adds MoveOrder.NewDutyStation.Address to the query that fetches all of the MTOs for the Prime API (and possibly elsewhere).
Setup
Run the server and test with the fetchMTOUpdates endpoint in the Prime API that the destinationDutyStation field and its address info is not null.
References

Jira story for this change.

Messages

:book:
:link: MB-3524

  Generated by :no_entry_sign: dangerJS against dcce581c8985530329e6d9e4dd1076a20c8ade9f


Fixed a problem with the ipynb files

The files didn't seem to be working right, not sure what happened. I fixed it in this pull request.

@seanpquig I didn't realize new commits to my master would be incorporated in this PR. I'm a git newbie!


ESLint error when using allowUnsafeDynamicCyclicDependency

Hello, I have the following error when configuring "import/no-cycle" rule:
Configuration for rule "import/no-cycle" is invalid:
Value {"allowUnsafeDynamicCyclicDependency":true,"ignoreExternal":false} should NOT have additional properties.

My ESLint configuration:
module.exports = {
  plugins: ["import"],
  rules: {
    "import/no-cycle": ["error", { allowUnsafeDynamicCyclicDependency: true }],
  }
}

ESLint version: 8.25.0
eslint-plugin-import version: 2.26.0
I suspect there is an issue in how schema is declared in src/rules/no-cycle.js
Any idea what is wrong in my config or the rule schema?

There’s no issue; that option isn’t released yet. On github (on every repo) you need to look at the docs for the appropriate tagged release, not on master/main.

My bad thank you

Is there a plan to release this? I don't understand why a feature merged 6 months ago isn't available for usage.


frontend: PluginSettings: Rework plugin settings local storage usage

Description
resolves issue #2595
This PR refactors the way Headlamp handles plugin settings stored in local storage, focusing on simplifying and improving the management of plugin states. Previously, the project stored the entire JSON data of plugin information in headlampPluginSettings, which included unnecessary details. This refactor reduces complexity by saving only the essential state information, improving performance and maintainability.
Key Changes

Simplified Storage:

Replaced the old headlampPluginSettings structure with enabledPluginsList in local storage.
The new structure saves only the plugin name and its on/off state, eliminating the need to store complete JSON data.

State Management Updates:

Introduced the pluginData slice in the plugin state to store plugin information.
Added enabledPlugins to maintain a list of plugins currently in use.

Backward Compatibility:

The project now detects the existence of the old headlampPluginSettings in local storage.
If detected, it converts and migrates the old settings into the new enabledPluginsList format automatically upon visiting the plugin settings page.

Steps to Test
To verify the changes and ensure backward compatibility:

Setup:

Start on the main branch with multiple plugins installed.
Disable one plugin while keeping others enabled, and save the settings.
Open the browser’s local storage and confirm that the disabled plugin’s state is saved in the headlampPluginSettings JSON.

Switch to this Branch:

Checkout this branch and navigate to the plugin settings page.

Observe Migration:

Confirm that the page detects the headlampPluginSettings in local storage, migrates the settings into a new enabledPluginsList object, deletes the old headlampPluginSettings, and reloads the page.
Verify that the plugin states from the previous settings are preserved in the new format.

Post-Migration:

Ensure that plugin settings updates are correctly saved in the new enabledPluginsList structure.
Confirm that enabling/disabling plugins reflects accurately on subsequent reloads.

Notes

It improves the performance and clarity of plugin state management by reducing storage overhead.
The migration process ensures a seamless transition for users upgrading from previous versions.

last push

allows old storage settings to be migrated to the new settings

last push fixes merge conflicts

last push rebases and fixes storybook

noticed some weird behavior when not using any of the old headlampPluginSettings or enabledPluginsList in local storage, working on a fix again

some meeting notes

can keep the enabledPluginsList to handle toggles
may need to handle default loading state of a plugin if they come disabled or enabled but most come enabled as of current
handled the backwards compatibility for users on pervious vers that allow migration of old settings to new settings

attempting to use the npm link to try to work on the slide plugin changes for updated state


dv.wait - raise TimeoutExpiredError if DV's status is Pending

Short description:
Avoid waiting for a timeout for a DV to reach Succeeded status if it reached Pending within a given timeout
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/wip

/verified

/lgtm

/approve


Modular Whitelists: Configure Whitelists To Append Peers

What does this PR do?
This PR allows whitelist middleware to reference a list of other whitelists to append. This allows for modular whitelists to simplify administration of multiple whitelists and multiple services.
Motivation
I have a Kubernetes environment where I am managing multiple client whitelists and multiple services. Each service may have any combination of clients that are allowed to access it. In this case, we previously had to update the whitelist for each assigned service with its own custom combination of client whitelists whenever any client adds or removed whitelist IPs.
This PR allows us to centrally manage all client whitelists without fear of services having a whitelist that is out-of-date. Instead, all service whitelists reference their assigned clients' whitelists by name and Traefik updates their configuration when the client whitelists change.
More

[x] Added/updated tests
[x] Added/updated documentation

Additional Notes

Sorry, but unless there's an extremely demanded feature, or say a critical bug to fix, we want to keep the ipwhitelist middleware as simple as possible and therefore not touch it.
Consequently we're going to decline that PR, especially since your issue seems to be fixable outside of Traefik with a little more automation.
Please feel free to open an issue/proposal if you think we misunderstood the situation.