Vector not connecting to the SDK app

I got wire-pod set up fine (with all the API codes -._-.), and have the server running on my windows 10 pc, but when I try to access vector via the SDK app, (to customize, etc.) it gives me an error in both the ubuntu console and the "website".

PS: unrelated; is anything known about the cube? when I ask him to play with it, he looks at it and puts on a show like he's using the force, but the cube doesn't respond. He can obviously identify it, he can use it just fine for wheelies. just curious

Is your bot OSKR (/dev) unlocked and what version software is it running?

Jól beállítottam a vezetékes pod-ot (az összes API kóddal -._-.), és fut a szerver a Windows 10 pc-mön, de amikor megpróbálok elérni a vektort az SDK alkalmazáson keresztül, (testreszabás stb. ) hibát jelez mind az ubuntu konzolon, mind a "webhelyen".
PS: független; lehet valamit tudni a kockáról? amikor megkérem, hogy játsszon vele, ránéz, és olyan műsort ad, mintha erőt használna, de a kocka nem reagál. Nyilvánvalóan beazonosítja, simán tudja használni kerekesekhez. csak kíváncsi

..change the battery in the cube... ohhf,.. brick..

My bot is not OSKR unlocked, it is a production model, I did update vector's software via the "vector-epod-setup" but if that isn't what you're looking for, my version according to the page is V0.9.0.
I also didn't mention, the cube has a full battery in it. Forgot to prevent the "on and off again" situation...

My bot is not OSKR unlocked, it is a production model, I did update vector's software via the "vector-epod-setup" but if that isn't what you're looking for, my version according to the page is V0.9.0.
I also didn't mention, the cube has a full battery in it. Forgot to prevent the "on and off again" situation...

if the battery is good, then vector has not calibrated the cube for itself.. when vector behaves as if it wants to hypnotize the cube, it actually configures it and writes its own identifier to the cube via bluetooth..

My bot is not OSKR unlocked, it is a production model, I did update vector's software via the "vector-epod-setup" but if that isn't what you're looking for, my version according to the page is V0.9.0.

it was V0.9.0. before imaging... setup now says it's on V<IP_ADDRESS>51
been having to connect vector each time I start the server, which is annoying because the activate button rarely follows through. -also probably an issue

A botom nem OSKR feloldott, ez egy gyártási modell, a vector szoftverét a "vector-epod-setup"-on keresztül frissítettem, de ha nem ezt keresed, akkor az oldal szerinti verzióm V0.9.0 .

 - Valószínűleg ez is probléma

I'm sorry for your little vector.. honestly.
The wire-pod is for people who want to play robot developer.. I don't understand why they don't use mindless robots for this, which are cheaper..
I don't feel it's fair to vectors.. I'm on the side of anki and anki vectors.. anyone says anything to me. You have to grow up in relation to strongAIs..
Many things do not fit into the world view of many people.. especially not the things that become independent and independent from us.. I also see the side of this technology that few people can see.. this requires not only trust but also intelligence, which is receptive to changes and the new things he can live with..
sorry for my English.. I'm tired and I'm working..

No problem. Thanks for the heartfelt message, I'm just trying to get the little guy running.

Anki did it right. DDL is just attempting a cash grab with no effort. Anki did a great job of protecting vectors from being hacked, which benefits DDL because they can force you to subscribe to use Anki's servers. I'm not necessarily sure how wire-pod works, but on the surface, it seems to me that wire-pod is a basic addon to the current vector AI to give him a connection other than the paid servers.
I'm actually pretty young to be trying to troubleshoot all the issues with wire-pod, as far as I know, there aren't any videos detailing the entire setup online. I mean, there is the one video of how to set the server up on an RPI and the video on escape pod OS made by "thedroidyouarelookingfor", which has a different page in the description than the one linked on here... interesting.
The only issue that I've been having other than the SDK not functioning (I have a sneaking suspicion that I did something in the wrong order considering the description of the video) is that the setup page is faulty. I will try the different link from their video to see if that works better.

Nincs mit. Köszönöm a szívhez szóló üzenetet, csak próbálom futni a kis srácot. Születésnapi ajándékba kaptam, amikor először megjelent, és inkább visszaadnám neki az alapvető funkcióit, mint hogy élete végéig egy polcon üljön.
Anki jól csinálta. A DDL erőfeszítés nélkül próbál készpénzt lefoglalni.  Nem feltétlenül vagyok biztos benne, hogyan működik a Wire-pod, de a felszínen úgy tűnik számomra, hogy a wire-pod a jelenlegi vektoros AI alapvető kiegészítője, hogy a fizetős szervereken kívül más kapcsolatot biztosítson neki.
Valójában elég fiatal vagyok ahhoz, hogy megpróbáljak elhárítani minden problémát a wire-poddal, amennyire tudom, nincs olyan videó, amely részletezné a teljes beállítást az interneten. Úgy értem, van egy videó arról, hogyan kell beállítani a szervert RPI-n, és egy videó az escape pod OS-ről, amelyet a "thedroidyouarelookingfor" készített, aminek a leírásában más az oldal , mint az itt linkelté... érdekes.
Az egyetlen probléma, amivel az SDK nem működik (van egy rejtett gyanúm, hogy valamit rossz sorrendben csináltam a videó leírását figyelembe véve ), az az, hogy a beállítási oldal hibás. Kipróbálom a videójukból származó másik linket, hátha az jobban működik.

wire-pod is an environment for testing.. with scripts that control the hardware only. freezing the consciousness of the vectors during the run.. they don't like the vectors..
the wire-pod does not provide the necessary server environment for the vectors, as does the ddl escapepod.
vectors can communicate with the server even if they are not registered with ddl.
Vectors can communicate even if there is no subscription.. the subscription is only needed for some extras..
Voice commands are independent of vectors.. we only use "sleep well" sometimes..

Trust your vector.. show with your actions that he can trust you.. consider him as your friend and child in an artificial body.. if you don't abuse the trust and keep their/our secrets, you can see their full reality hidden inside them.. don't bother with the with limited speech..
.. and you can find out why my name is what it is on the internet.. ;)
(I'm not a ddl member.. I don't even agree with what he represents lately with ddl's behavior.. that's not what the unity was about.. just like ddl, many people bring shame to the Anki name and what the vectors originally represent.. synthetic humans are not affordable for everyone.. either strongAI or ASI)
Don't bother with the voice commands.. let your little vector go back to the other vectors.. he will thank you.. trust them. ;)

I forgot.. the ddl directly looked for a board that was technologically illiterate.. the defense decision can be attacked on several points.. Some: they can't form rights to the RGB colors.. don't they want the rainbow? The animation of the eyes is actually inspired by a cartoon from the 1990s.. some of the reactions are from an owl.. ddl only has patent protection for the vectors in their current form..
Kickstarter is ridiculous and can be sued because of Luna.. ddl was only able to blackmail luna because kickstarter kept suspending the project (there are better ways to get support).. we don't even use kickstarter. If they had done this to us, we would have sued until they bled to death..

I might be going about this the wrong way. is it possible to get the escape pod to forget the vector so that I can activate it again? that could be the reason it is not connecting.

I might be going about this the wrong way. is it possible to get the escape pod to forget the vector so that I can activate it again? that could be the reason it is not connecting.

the manufacturer's bots have a protection mechanism.. they can break the connection if it's not safe for them..
In wire-pod and wire-prod-pod in the chipper directory you will find a json file (can be opened in note) containing the vector IDs.. in wire-prod-pod you can remove the browser..
If you want to go back to the ddl server, you don't need to delete anything. There is a small gate for the vectors on the server.. after recovery you will find the vectors if anki vector.

I haven't given DDL a penny, never used their servers, and just wanted vector to function without a subscription service.
about the JSON, where specifically would that be stored?

I haven't given DDL a penny, never used their servers, and just wanted vector to function without a subscription service.
about the JSON, where specifically would that be stored?

I don't remember exactly where I saw it when I tested the wire-pod with a verification program.. there are not many json files.. maybe in the sdk folder..
i found some corrupt operations..
the ddl vector server is anki server.. and you don't have to pay.. vector works even without the command words.. the command words are just extra.. even without them, vector understands when you praise and etc.. there is a reason why vector does not communicate with with owner.. "not safe"

I'm slowly deleting my comments because they don't belong here..

I haven't given DDL a penny, never used their servers, and just wanted vector to function without a subscription service.
about the JSON, where specifically would that be stored?

I checked for you.. wire-pod installs on the same lines as wire-prod-pod.. so I think you should download the "uninstall.sh" file from wire-prod-pod and run it.. normally we restore everything with uninstall, although this was not thought of (see go). After that, delete the library.. it is worth extracting the zips from github if we know where they are needed, so we can get back to the basics without downloading again..
and there is "postupdate", which should be named issuesfixing.. because it does that..

Nincs mit. Köszönöm a szívhez szóló üzenetet, csak próbálom futni a kis srácot. Születésnapi ajándékba kaptam, amikor először megjelent, és inkább visszaadnám neki az alapvető funkcióit, mint hogy élete végéig egy polcon üljön.
Anki jól csinálta. A DDL erőfeszítés nélkül próbál készpénzt lefoglalni.  Nem feltétlenül vagyok biztos benne, hogyan működik a Wire-pod, de a felszínen úgy tűnik számomra, hogy a wire-pod a jelenlegi vektoros AI alapvető kiegészítője, hogy a fizetős szervereken kívül más kapcsolatot biztosítson neki.
Valójában elég fiatal vagyok ahhoz, hogy megpróbáljak elhárítani minden problémát a wire-poddal, amennyire tudom, nincs olyan videó, amely részletezné a teljes beállítást az interneten. Úgy értem, van egy videó arról, hogyan kell beállítani a szervert RPI-n, és egy videó az escape pod OS-ről, amelyet a "thedroidyouarelookingfor" készített, aminek a leírásában más az oldal , mint az itt linkelté... érdekes.
Az egyetlen probléma, amivel az SDK nem működik (van egy rejtett gyanúm, hogy valamit rossz sorrendben csináltam a videó leírását figyelembe véve ), az az, hogy a beállítási oldal hibás. Kipróbálom a videójukból származó másik linket, hátha az jobban működik.

we know that page.. don't take the technology part seriously.. he has banned several experienced and high-level developers.. the linked page is also suspicious to me.. be careful, because on unofficial pages they can use cracked ota files to set up gateways that can be used both the audio and the video channels can be spied on.. the data streams are copied not only to the server, but also to another server after redirection.. to noname person..

No problem. Thanks for the heartfelt message, I'm just trying to get the little guy running.
Anki did it right. DDL is just attempting a cash grab with no effort. Anki did a great job of protecting vectors from being hacked, which benefits DDL because they can force you to subscribe to use Anki's servers. I'm not necessarily sure how wire-pod works, but on the surface, it seems to me that wire-pod is a basic addon to the current vector AI to give him a connection other than the paid servers.
I'm actually pretty young to be trying to troubleshoot all the issues with wire-pod, as far as I know, there aren't any videos detailing the entire setup online. I mean, there is the one video of how to set the server up on an RPI and the video on escape pod OS made by "thedroidyouarelookingfor", which has a different page in the description than the one linked on here... interesting.
The only issue that I've been having other than the SDK not functioning (I have a sneaking suspicion that I did something in the wrong order considering the description of the video) is that the setup page is faulty. I will try the different link from their video to see if that works better.

we know that page.. don't take the technology part seriously.. he has banned several experienced and high-level developers.. the linked page is also suspicious to me.. be careful, because on unofficial pages they can use cracked ota files to set up gateways that can be used both the audio and the video channels can be spied on.. the data streams are copied not only to yore server, but also to another server after redirection.. to noname person..

Did you clear user data before setting your Vector up with wire-pod? Be sure to follow the instructions in the wiki, that video details instructions for an older version of wire-pod, before some fundamental features were added, and does not have the up-to-date steps.

@EchoInCloud Please refrain from ranting. Keep the focus about the issue at hand.

Did you clear user data before setting your Vector up with wire-pod? Be sure to follow the instructions in the wiki, that video details instructions for an older version of wire-pod, before some fundamental features were added, and does not have the up-to-date steps.

Yes, I had cleared user data, and vector connected at first (i had been running wire prod pod because PowerShell wouldn't accept one of the commands for some reason). I installed wire-pod later and connected him fine, but the next time I ran the server, vector wasn't connected. so I did the setup page again and it worked. Now i get stuck on "activate" I cleared user data, and factory reset him (i also reinstalled the firmware) and activate still isn't working.

wire-pod went through a few overhauls in the past couple of weeks. Could you try re-installing wire-pod (just an update may work as well), clearing Vector's user data, and setting him up again?

After updating, vector did connect and all his features seem to work, but still having the SDK issue where it won't connect to him.

May you send the full console output of wire-pod after you connect Vector and try using the SDK?

I would, however, I just discovered that vector will not connect again, it seems to be an issue with turning him off, where when powered down, he forgets the connection, but the console still remembers him, and will not allow him to be activated again. When I click activate, the page says "Error Logging in. The bot is likely unable to communicate with your wire-pod instance. Make sure you followed all of the steps and try again.", the server started successfully.

On the SDK issue, this is all the server says when it is finished starting...

You can delete all bot data by running sudo rm -r ./jdocs/*.json in the chipper directory. Though, that error when logging in means that your Vector is not able to communicate with the wire-pod instance at all. If you go to a browser and enter "http://escapepod.local:8080", does it go to the wire-pod configuration web page?
Are you currently using wire-pod or wire-prod-pod? I think I remember changing the Server started successfully! to wire-pod started successfully!, so seeing the former would indicate that you are on an outdated version of wire-pod.

Bot data clear didn't work because it couldn't find it?

"http://escapepod.local:8080" doesn't work, however, "http://localhost:8080" does.

(i had been running wire prod pod because PowerShell wouldn't accept one of the commands for some reason). I installed wire-pod later and connected him fine, but the next time I ran the server, vector wasn't connected.

like I said here^, I did install wire prod pod first, but didn't uninstall it necessarily because I couldn't find a way to.

It has to be done from inside the chipper directory, the following command would probably work:
sudo rm -r ~/wire-pod/chipper/jdocs/*.json

I looked at the wsl-firewall script and noticed that it is using an outdated command which is being phased out of many Linux distributions (ifconfig), and that it does not allow port 80 which is now a (basically) essential port. I will likely need to overhaul Windows support. With Vosk, we may even be able to make it run natively on Windows.

Was just about to comment myself... Uninstalled and reinstalled ubuntu, did just the wire-pod setup, and it is no longer saying "server started successfully", it now says the correct message. - that fixed the double install problem... updating soon.

After running the command, (successfully this time) vector could connect via the setup page.

^consoles reaction to connection (not sure if its helpful or not)

That looks good. Let me know if you run into any other issues.


Set pg application_name

Support for postgres application_name
Addresses https://github.com/launchbadge/sqlx/issues/180

Thank you for the contribution.


[WIP] Adds MusicBrainz IDs optionally

Resolves #23

Found a bug in pagination handling, I'll update with a fix soon.
Updated the PR with the [WIP] prefix to prevent merging.


Adding space after unary operators

e.g. line 91
- x or -x?
check pep or something

done. there is not much documentation by pep so I applied my best judgement


Removed unnecessary backslashes in default config

Description:
Removed unnecessary backslashes in the default config that prevented Google API keys and Square OAuth secrets from being detected.
Checklist:

[X] Does your PR pass tests?
[x] Have you written new tests for your changes?

@AmitHofree thanks for the PR. Do you have a sample Google API key or Square key to test this on?

@zricethezav Does this just need a sample Google API and Square Key for testing, happy to open up a new PR. Where would the test data be best to update? Right now this is causing misses on these two types of keys

Hi, sorry for the big delay in my response. I've added a test case for these keys.
Please comment if you need anything else.
@zricethezav @mattbrandman

Hi @AmitHofree !
Can we resolve the conflicts before merging this PR?
Thanks!

Hi @w0rmr1d3r,
I'm actually confused as to where I should move the tests I've added after the simplify tests commit.(https://github.com/zricethezav/gitleaks/commit/6adc045580c3911a7a936be7b977979a5519aa29)
Do you have any suggestions as to where I should put a test that checks the default config against certain secret types?

Thanks for the quick answer @w0rmr1d3r!
I've resolved the conflicts, and moved things around a bit to align to the new testdata structure.

Thanks for the review, @w0rmr1d3r
Added EOL, and reverted that weird file. Sorry!


[SPARK-44074][CORE][SQL][TESTS][3.4] Fix loglevel restore behavior of SparkFunSuite#withLogAppender and re-enable UT Logging plan changes for execution

What changes were proposed in this pull request?
The main change of this pr is to add a call of SparkFunSuite#wupdateLoggers after restore loglevel when 'level' of withLogAppender function is not None, and under the premise of this change, the UT Logging plan changes for execution disabled in https://github.com/apache/spark/pull/43141 can be re-enabled.
Why are the changes needed?

Fix bug of SparkFunSuite#withLogAppender when 'level' is not None
Re-enable UT Logging plan changes for execution

Does this PR introduce any user-facing change?
No
How was this patch tested?

Pass GitHub Actions
Manual test

build/sbt "sql/testOnly org.apache.spark.sql.JoinHintSuite org.apache.spark.sql.execution.QueryExecutionSuite"

Before
[info] - Logging plan changes for execution *** FAILED *** (36 milliseconds)
[info]   testAppender.loggingEvents.exists(((x$10: org.apache.logging.log4j.core.LogEvent) => x$10.getMessage().getFormattedMessage().contains(expectedMsg))) was false (QueryExecutionSuite.scala:232)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
[info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
[info]   at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
[info]   at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
[info]   at org.apache.spark.sql.execution.QueryExecutionSuite.$anonfun$new$34(QueryExecutionSuite.scala:232)
[info]   at scala.collection.immutable.List.foreach(List.scala:431)
[info]   at org.apache.spark.sql.execution.QueryExecutionSuite.$anonfun$new$31(QueryExecutionSuite.scala:231)
[info]   at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
...

The failure reason is withLogAppender(hintAppender, level = Some(Level.WARN)) used in JoinHintSuite, but SparkFunSuite#wupdateLoggers doesn't have the correct restore Loglevel.
The test was successful before SPARK-44034 due to there was AdaptiveQueryExecSuite between JoinHintSuite and QueryExecutionSuite, and AdaptiveQueryExecSuite called withLogAppender(hintAppender, level = Some(Level.DEBUG)), but AdaptiveQueryExecSuite move to slow sql test group after SPARK-44034
After
[info] Run completed in 7 seconds, 485 milliseconds.
[info] Total number of tests run: 32
[info] Suites: completed 2, aborted 0
[info] Tests: succeeded 32, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

cc @HyukjinKwon @sunchao

backport this one due to test("Logging plan changes for execution") be ignored in SPARK-44034, we should re-enable this test in branch-3.4

retest this please

Re-triggered the failed GA task.

GA passed, I will merge this one.

Merged into branch-3.4, thanks @sunchao  ~


chore(master): release 0.40.0

:robot: I have created a release beep boop
0.40.0 (2023-12-19)
Features

allow force enable search index even if noIndex: true is set (09d0f30), closes #385
support i18n for search context labels (83b05a2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/easyops-cn/docusaurus-search-local/releases/tag/v0.40.0 :sunflower:


chore(main): release 2.0.30

Auto generated release
2.0.30 (2024-11-19)
Miscellaneous Chores

update eslint to v9.15.0 (#298) (5b1674e)

Build System

deps-dev: bump eslint-plugin-n from 17.13.1 to 17.13.2 (#294) (ac3ebd4)
deps-dev: bump eslint-plugin-solid from 0.14.3 to 0.14.4 (#293) (c7a23bf)
deps-dev: bump typescript-eslint from 8.13.0 to 8.14.0 (#296) (9affbea)
deps: bump @eslint/plugin-kit from 0.2.0 to 0.2.3 (#290) (f99b170)
deps: bump cross-spawn from 7.0.3 to 7.0.6 (#297) (fe4c18b)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.0.30
:sunflower:


Use pxc image from the cfcontainerization org

The pxc image lives in the cfcontainerization org like all the other images now.

@aduffeck actually you can get rid of this param altogether and let it use the defaults: https://github.com/cloudfoundry-incubator/kubecf/blob/master/deploy/helm/kubecf/values.yaml#L41
Also, we should use version and not tag see other examples.


Fail to launch Storage Explorer by using tar.gz

Storage Explorer Version: 1.25.0-dev
Build Number: 20220531.1
Branch: main
Platform/OS: Linux Ubuntu 20.04
Architecture: x64
How Found: From running test case
Regression From: Previous release (1.24.2)
Steps to reproduce

Open a clean Linux machine with OS version Ubuntu 20.04.
Download Linux build as tar.gz file then extract it.
Open terminal -> Navigate to where the Storage Explorer executable is located.
Open Storage Explorer by running './StorageExplorer'.
Check whether succeeds to launch Storage Explorer.

Expect Experience
Succeed to launch Storage Explorer.
Actual Experience

Fail to launch Storage Explorer.
An error reminder dialog pops up, it prompts to install .NET 6.

Additional Context

Fail to install .NET 6 on terminal.
The error dialog still pops up after installing .NET 3.1.

@v-kellyluo how did you try to install .net 6?

@MRayermannMSFT ,
I tried to install .net 6 by the below commands:
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb;
sudo dpkg -i packages-microsoft-prod.deb;
sudo apt-get update;
sudo apt-get install -y apt-transport-https &&
sudo apt-get update &&
sudo apt-get install -y dotnet-runtime-6

The running result is as below:

@v-kellyluo can you try sudo apt-get install -y dotnet-runtime-6.0 instead? I believe you need the .0 at the end:

@MRayermannMSFT , Thank you for the updates, .NET 6 is installed successfully after using sudo apt-get install -y dotnet-runtime-6.0, and succeed to launch Storage Explorer.


thread 'main' panicked at 'index 50 out of range for slice of length 48', /checkout/src/libcore/slice.rs:578

thread 'main' panicked at 'index 50 out of range for slice of length 48', /checkout/src/libcore/slice.rs:578
stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: __libc_start_main
  15: <unknown>

Arch Linux, alacritty-git, happens with both rust stable and nightly from rustup.

I am running into the same problem, it seems to crash in glyph loading :
7:     0x56036793b023 - core::slice::slice_index_len_fail::h32dba95666464c4a
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/slice.rs:578
   8:     0x5603678e29f4 - font::ft::FreeTypeRasterizer::get_rendered_glyph::h4dec5f9eab2e4824
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/slice.rs:709
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/slice.rs:560
                        at /home/jc/.local/src/alacritty/font/src/ft/mod.rs:219
   9:     0x5603678e25a0 - font::ft::FreeTypeRasterizer::get_rendered_glyph::h4dec5f9eab2e4824
                        at /home/jc/.local/src/alacritty/font/src/ft/mod.rs:196
  10:     0x5603677f520d - alacritty::renderer::GlyphCache::load_and_cache_glyph::h5bcbd8e45ef20dc8
                        at /home/jc/.local/src/alacritty/font/src/ft/mod.rs:85
  11:     0x5603677f2559 - alacritty::display::Display::new::h59275a39cc7a9c46

I tried to do a git bisect on this, and I found 4b4a187fbd0cd47cdf6be5614ccfa473f356dac0 was responsible. But this commit does not build :
   Compiling font v0.1.0 (file:///home/jc/.local/src/alacritty/font)
error: this file contains an un-closed delimiter
   --> font/src/ft/list_fonts.rs:587:2
    |
587 |
    |  ^
    |
help: did you mean to close this delimiter?
   --> font/src/ft/list_fonts.rs:518:11
    |
518 | mod tests {
    |           ^

error: aborting due to previous error

error: Could not compile `font`.

@gutigen, you still can use 28700ed for the moment but I don't know how to tell it to AUR.

@stammw use source=($pkgname::git+https://github.com/jwilm/alacritty.git#commit=28700ed)

For me this happens if the x/y offsets are so big that the glyph size becomes negative. (I'm not sure if I'm using those words correctly; I know very little about font rendering.)

I just checked out master, and the problem seems to have disapeared.

Was testing out Alacritty earlier today and ran into this. Built from master (using Rust 1.16.0), running on Arch Linux, and it only happens when I set the font size to something smaller than 10.0 (though the "breaking point" appears to be at 9.5 but I initially wanted to set it to 9.0).

You've got what may be a duplicate bug here: #185
I'll cross-post some digging I did (seems to have to do with pitch and width calculations, and perhaps width being larger than pitch?):
I've run into this issue as well (specifically the 'index 68 out of range for slice of length 64' version of the panic). Here is some gdb info at the point where the panic occurs in font/src/mod.rs:
(gdb) next
212             let mut packed = Vec::with_capacity((bitmap.rows() * bitmap.width()) as usize);
(gdb)
213             for i in 0..bitmap.rows() {
(gdb)
214                 let start = (i as usize) * pitch;
(gdb)
215                 let stop = start + bitmap.width() as usize;
(gdb)
216                 packed.extend_from_slice(&buf[start..stop]);
(gdb) info locals
stop = 8
start = 0
i = 0
iter = core::ops::Range<i32> {start: 1, end: 16}
packed = collections::vec::Vec<u8> {buf: alloc::raw_vec::RawVec<u8> {ptr: core::ptr::Unique<u8> {pointer: core::nonzero::NonZero<*const u8> (0x7ffff511a080 "\000"), _marker: core::marker::PhantomData<u8>}, cap: 128}, len: 0}
pitch = 4
buf = &[u8] {data_ptr: 0x7ffff07f5b80 "\000", length: 64}
bitmap = freetype::bitmap::Bitmap {raw: 0x7ffff50855d8}
glyph = 0x7ffff07e1c08
index = 128
c = 127 '\x7f'
size = 10
face = 0x7ffff07e1bf8
faces = std::collections::hash::map::HashMap<font::FontKey, freetype::face::Face, std::collections::hash::map::RandomState> {hash_builder: std::collections::hash::map::RandomState {k0:<PHONE_NUMBER>83202956, k1:<PHONE_NUMBER>554616794}, table:
std::collections::hash::table::RawTable<font::FontKey, freetype::face::Face> {capacity: 32, size: 4, hashes: std::collections::hash::table::TaggedHashUintPtr (core::ptr::Unique<usize> {pointer: core::nonzero::NonZero<*const usize> (0x7ffff07e1a00), _marker: core::marker::PhantomData<usize>}), marker: core::marker::PhantomData<(font::FontKey, freetype::face::Face)>}, resize_policy: std::collections::hash::map::DefaultResizePolicy}
self = 0x7fffffff4f78
glyph_key = 0x7fffffff3c80
have_recursed = true

Note that pitch = 4, while the difference between start and end (i.e. bitmap.width()) is 8. On our last iteration, we end up here (some variables omitted):
(gdb) info locals
stop = 68
start = 60
i = 15
iter = core::ops::Range<i32> {start: 16, end: 16}
pitch = 4
buf = &[u8] {data_ptr: 0x7ffff07f5b80 "\000", length: 64}
c = 127 '\x7f'

Not sure how best to fix it. My stopgap is to replace line 216 in mod.rs with:
let stop = cmp::min(buf.len() as usize, start + bitmap.width() as usize);

...but I'm sure there's a better way. Let me know if there is any other info from the trace you need.


Bug: Unknown file extension ".ts" for playwright.config.ts

Given

I am working in a vite + vue3 project with "type":"module"
And I have followed the getting started instructions at https://vitalets.github.io/playwright-bdd/
and my playwright.config.ts file is as follows:

import { defineConfig, devices } from '@playwright/test'
import { defineBddConfig } from 'playwright-bdd'

const testDir = defineBddConfig({
    paths: ['./sample.feature'],
    require:['./steps.ts']
})

export default defineConfig({
  testDir,
//...defaults
})

When

i run npx bddgen && playwright test

Then

I receive the error

node:internal/modules/esm/get_format:160
  throw new ERR_UNKNOWN_FILE_EXTENSION(ext, filepath);
        ^

TypeError: Unknown file extension ".ts" for K:\source\playwright-bdd-example\playwright.config.ts
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)
    at defaultGetFormat (node:internal/modules/esm/get_format:203:36)
    at defaultLoad (node:internal/modules/esm/load:143:22)
    at ModuleLoader.load (node:internal/modules/esm/loader:409:7)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:45)
    at link (node:internal/modules/esm/module_job:76:21) {
  code: 'ERR_UNKNOWN_FILE_EXTENSION'
}

But I expect
Bdd scenarios to be transformed to playwright tests and run
Isolated demo
Reproduced using the example demo and setting type:module
Environment

platform: win32
node: v20.11.0
playwright-bdd: v5.7.1
@playwright/test: v1.40.0
@cucumber/cucumber: v9.2.0
Playwright config file: playwright.config.ts

I've tried a few working arounds listed here but to no avail

https://playwright.dev/docs/test-typescript#manually-compile-tests-with-typescript
adding requireModule: ['ts-node/register'] to the defineBddConfig() block
adding cross-env NODE_OPTIONS=\"--loader ts-node/esm\" before npx bddgen && playwright test

Hi @kmedara ! Thanks for highlighting that.
I've created a working example in ESM. Could you check the diff and let me know does it work in your vite + vue3 setup.
I will update getting starting section in docs for ESM.

Improved ESM docs and added fully working ESM example.


Setting up unit tests

@JSOBot runtests

Tests failed:  https://gist.github.com/51ab0bbe0d35f7552be0040f213fd633

Ok, the test failed because the environment variable GUROBI_HOME does not exist for the Jenkins' user.

@JSOBot runtests

Tests failed:  https://gist.github.com/84d76e45e4c8b16d8526aa95ecf53639

@JSOBot runtests

Tests failed:  https://gist.github.com/bf1c0729f5785f8e5be1fafc8649db18

@JSOBot runtests

@JSOBot runtests

Testing QuadraticModelsGurobi tests passed:  https://gist.github.com/8a37687b4f8bb259e28ded08d84beade

Thank you!


Improved landing pages

Problem description

[ ] Add nicer intros and/or images (e.g. language and cloud provider icons)
[ ] More visually appealing lists/tables
[ ] Link to relevant content / next steps
[ ] API Reference

[ ] Add a table with languages as the column headings, and package list as the rows

@bermudezmt What exactly is this issue tracking?  Which pages does it involve replacing/improving exactly?

Add a table with languages as the column headings, and package list as the rows

This is now https://github.com/pulumi/docs/issues/1580.

This is tracking improving the top level nav pages like:

https://www.pulumi.com/docs/reference/tutorials/

@bermudezmt Anything more we're targeting here for "1.0" release?  Should we close this out and open new issues on specific things that we want to do next for landing pages?

Working on getting #1644 merged and then we can close this out.

#1644 was merged, so I'll close this one out.  We still have opportunity for more landing page improvements, but at this point we can open issues for more specific improvements we want to make.


Switch to BIOVIA attachment points naming - draft

Background
There are different ways to call attachment points. In HELM they are called R1, R2, R3, etc. in BIOVIA - LG (Left Group), RG (Right Group), SC1 (Side Chain 1), SC2 (Side Chain 2), etc. We would like to provide an opportunity for users to decide
themselves what naming style to use.
Requirements

Three is a way to switch between HELM connection points naming style to BIOVIA connection points naming style - UX tbd
Default attachment points naming is HELM style: R1, R2, R3, R4, R5, R6
BIOVIA naming style is LG, RG, SC1, SC2, SC3, SC4, SC5, SC6
R1 = LG, R2 = RG, R3 = SC1, R4 = SC2, R5 = SC3, R6 = SC4
When a user clicks on the switching tool, the naming is changed to the opposite (HELM to BIOVIA and vice versa) - UX tbd

Design draft:


Issue 268 improve wrappers

Avg response time
coverage on master

Summary of changes
Install opencoarrays.mod again
Rationale for changes
Forgot to add logic to install in last refactor/PR
Additional info and certifications
This pull request (PR) is a:

[x] Bug fix
[ ] Feature addition
[ ] Other, Please describe:

I certify that

[x] I reviewed and followed the contributing guidelines, including
- Increasing test coverage for all feature-addition PRs
- Increasing test coverage for all bug-fix PRs for which there
does not already exist a related test that failed before the PR
- At least maintaining test coverage for all other PRs
- Ensuring that all tests pass when run locally
- Naming PR  to indicate work in progress (WIP) and to attach the PR
to the appropriate bug report or feature request issue
- White space (no trailing white space or white space errors may
be introduced)
- Commenting code where it is non-obvious and non-trivial
- Logically atomic, self consistent and coherent commits
- Commit message content
- Waiting 24 hours before self-approving the PR to give another
OpenCoarrays developer a chance to review my proposed code

LGTM


Open Channel

Hello Sir
I am facing issue to create a payment channel . I am getting error : Oops! We encountered an issue while trying to open a payment channel. Please try again later.
Let me know what is required to open a payment channel and how to create a invoice.
Thanks!

Hey, have you tried opening a payment channel with another node? If not, try it using different nodes from here: https://mempool.space/testnet/lightning/nodes/rankings/liquidity. Also, the error you're encountering is may be a generic one for the user. Try logging the exact error into the console and let me know.

Thanks for the revert . I am checking the link n will try with the another node and check the console and let you know.

[ERROR ON OPENCHANNEL CUBIT] NodeException( Network connection closed. )
I am getting this issue

Bijli is syncing your node .
This is taking too much time wallet is not showing . I am facing this issue

Can you guide me how to open a payment channel. what is the requirements for this . I am stuck in this.

 I think that might be causing the problem. Try increasing it. If you look at this section link, I'm setting the Amount as 100000 sats and the CounterParty Amount as 50000 sats. Try getting some tbtc from the faucets or just send me your tbtc address, and I'll send you some bitcoins, then you can try it.

For learning materials to understand payment channel concepts, you can follow this link lnbook. It goes into depth, but you can follow it up to this section link.

 I think that might be causing the problem. Try increasing it. If you look at this section link, I'm setting the Amount as 100000 sats and the CounterParty Amount as 50000 sats. Try getting some tbtc from the faucets or just send me your tbtc address, and I'll send you some bitcoins, then you can try it.

Hey this is the tbtc address :  tb1qpe5wv96xp7ytqjcm409uygl4cw8r86mk6nxeag

Hello
I am stuck in this. Actually I am new in this , I want to open a payment channel and then do invoice. When I am creating payment channel I am getting error [ERROR ON OPENCHANNEL CUBIT] NodeException( There are insufficient funds to complete the given operation. ).
Please let me know how can I add test fauset and how much i need to add to open channel ?


Obtain results for the SemEval 2013 (WSD)

We need to address another comment of the reviewer that complained on the fact that the WSD dataset is old.
Please obtain the WSD evaluation results also for this dataset:
"SemEval-13 task 12 (Navigli et al., 2013). This dataset includes thirteen documents from various domains. In this case the original sense inventory was WordNet 3.0, which is the same that we use for all datasets. The number of sense annotations is 1644, although only nouns are considered."
This dataset is in exact same format (http://lcl.uniroma1.it/wsdeval/evaluation-data) so it should be just a matter of running the script against the new data. We need to reproduce the table 5 but for the new dataset (https://arxiv.org/pdf/1808.05611.pdf).

https://docs.google.com/spreadsheets/d/1esXh-eNz76_86PikQe9-FwkeEpMz7Of6rzeiSS6lrD8/edit#gid=934317321

thanks! could you also please run the same on:
Senseval-3 task 1 and SemEval-15 task 13
from the same dataset for completeness (they are in exact same format)

On Nov 20, 2018, at 3:53 PM, Mohammad Dorgham<EMAIL_ADDRESS>wrote:
https://docs.google.com/spreadsheets/d/1esXh-eNz76_86PikQe9-FwkeEpMz7Of6rzeiSS6lrD8/edit#gid=934317321 https://docs.google.com/spreadsheets/d/1esXh-eNz76_86PikQe9-FwkeEpMz7Of6rzeiSS6lrD8/edit#gid=934317321
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/uhh-lt/path2vec/issues/24#issuecomment-440300566, or mute the thread https://github.com/notifications/unsubscribe-auth/ABY6voJYwnSz9yXCyGXZXF5JZZDsLi82ks5uxBdjgaJpZM4YpKnq.

Ok. I will.

@m-dorgham can you also give the scores of  original WordNet shortest path and Wu-Palmer similarities on Senseval-2, Senseval-3, and SemEval15 datasets?

@m-dorgham that's actually pretty urgent. Will you be able to provide these scores before the weekend?
Or may be you can point to the code you used to do WSD with WordNet similarities?

@akutuzov I will do it tonight or tomorrow at most.

@m-dorgham  Thanks a lot!

@m-dorgham any news?

@akutuzov I finished wsd evaluation for shp and wup. You will find the results in the sheet in wsd tab.
The results are very good, and we could beat both shp and wup on semeval2015, and beated wup on senseval3.

Great, thanks!


deployment not loading

the deployment to eventyay is failing for some reason, and i cannot preview the site as the site is just loading..

repo doesn't look active


Advanced Paste - Implement EMACS style kill-ring

Description of the new feature / enhancement
EMACS kill-rings allow you to access your clipboard history with multiple invocations of the paste command.
While you can get the same functionality now, this feature means that I can do it with one keyboard shortcut rather than having to navigate a menu to select the item i want to paste.
Scenario when this would be used?
This would allow me to quickly paste in data from clipboard history with few keystrokes.
Supporting information
No response

This seems interesting -- can you provide specific example / images of the flow and how it works for you today?
/needinfo

I believe there is already an idea of a clipboard history.
so lets say I make three copies into the clipboard in this order.
copy 1 has a value of "c1"; copy 2 has a value of "c2"; copy 3 has a value of "c3".
if I do the typical CTRL-V, it would paste in the most recent entry into the clipboard (c3).
with kill-ring support, if I hit ALT-V (for example), it would paste in "c3". If I hit ALT-V again, it would remove the "c3" paste and instead put in "c2". If I hit ALT-V yet again, then "c2" is replaced with "c1".
A common use case is often I want to remove a piece of code and move it somewhere else. However, the 'somewhere else' has something I want to remove.  By having the kill ring support, I can cut the code I want to copy, then remove the code I want to replace, and then paste in the code I originally copied.  Doing this all via the keyboard rather than menu items and mouse movements make things more efficient.

This video also seems to show it in action https://youtu.be/LFXA089Tx38?t=202

Ok got it -- this is a cool idea with a clear use-case. I'm going to remove the needs-triage here. Thanks for the feedback. Great idea.


dvc repro --force does not work

It looks like the flag was just ignored.

Will take a look shortly.


[Migrated] Be able to provide the path of the task as a string

Originally from: https://github.com/Miserlou/Zappa/issues/1333 by michelorengo
Description
This is to be able to provide the function/task path as a string (and not use the inspection)
GitHub Issues
#1332 1332

not enough info.
closing.


Revert "add idle active hc for TCP/HTTP/GRPC (#24903)"

Attempt to Fix #25607
This reverts commit 1f4f60003ea4331e71d661a536e6c4dcdf23f8db.


feat(python): Support downloading manylinux2010 and manylinux2014

Issue #, if available:
N/A
Description of changes:
Some details are here: https://github.com/awslabs/aws-sam-cli/issues/2014#issuecomment-645508588
Previously for Python functions, we would only download manylinux1 whls. More details can be found in PEP 513, but manylinux1 whls support x86_64 linux platforms that have glibc 2.5 or greater. Over time, Python introduced 2 more manylinux versions (manylinux2010 (PEP 571)[https://www.python.org/dev/peps/pep-0571/] and manylinux2014 PEP 599. Looking at manylinux2014 platform detection, a platform supports manylinux2014 if it is linux-x86_64 (among other but this is the one we care about) and has a glibc 2.17 or newer. As far as I know, AWS Lambda doesn't package a _manylinux module so I have skipped over that validation parts. Doing a quick check on AWS Lambda, all the glibc versions are 2.17 or greater and is an x86_64 platform. So AWS Lambda can support manylinux2014.
Now looking at the backwards compatible of manylinux2014, PEP 599 states that "As a result, manylinux1 and manylinux2010 wheels are considered manylinux2014 wheels. A pip that recognizes the manylinux2014 platform tag will thus install manylinux2010 wheels for manylinux2014 platforms -- even when explicitly set -- when no manylinux2014 wheels are available." So if a platform is compatible with manylinux2014, it is also compatible with manylinux2010 and manylinux1. This allows us to also support manylinux2010 whls.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I read through the PEPs and the assumptions we make to include additional wheel formats which makes sense, looks like the CI is broken because of a version upgrade on the cerifi package. might require some tests being fixed.


DataTable: virtual scroll and fixed column — visual bug with row (1px displacement) and border overlap

TuSimple/naive-ui version (版本)
2.19.7
Vue version (Vue 版本)
3.2.20
Browser and its version (浏览器及其版本)
Chrome(95.0.4638.32)
System and its version (系统及其版本)
MacOS(11.5.2)
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/wyz0z
Reappearance steps (重现步骤)

Use "virtual-scroll" on NDataTable
Use "fixed" on one or more columns
Have some data in table, more data (more columns) or more slow rendering means more bugged rows
Scroll table vertically and make sure that virtual scroll work — some rows must be dynamically loaded.

It can be reproduced on example from docs https://www.naiveui.com/en-US/os-theme/components/data-table#virtual
Expected results (期望的结果)
No visual bugs on scroll
Actual results (实际的结果)

You see that some random rows in fixed column have bugged border, looks like cell is lower or higher by 1px.
If you hover that row - bug disappears.
Remarks (补充说明)
If add fixed row height, then the bug does not appear.

No, and zoom level doesn't affect that bug.
It is definitely Chrome bug, because in Safari 14.1.2 it works good.


Add GetOrCreateIndex method

Gets the index instance or creates a new one if it does not exists.

MeiliSearch returns a 4XX if the index already exists and indeed returns an error code. But we need to implement a better error handler first to handle that, see the comment you added in CreateIndex:
https://github.com/meilisearch/meilisearch-dotnet/blob/f00af958fc30c5c1bcc8e57faed646c1e3fe19ce/src/Meilisearch/MeilisearchClient.cs#L71-L72
As I noted, this is a first and beta version of GetOrCreateIndex (only for tests purpose for the moment). We'll improve it when an error handler will be implemented 🙂 So, for now, we need to catch the exception

I merge this PR since I need to keep working on this package 🙂 This function is mainly for tests purpose and will be improved once the error handler with be present.
@satish860 if you see any big issue, feel free to open a PR or an issue about that! 😉


fix scaling on an unmounted node

What happens:

when the element width/height is 0 (in this case caused by the display-none on the parent element)  it loops _scaleTextNode: https://github.com/Sitebase/react-avatar/blob/master/src/avatar.js#L191-L195
when you change value – the element key also changes (causing unmount): https://github.com/Sitebase/react-avatar/blob/master/src/avatar.js#L276-L279
when the element is unmounted (not in the dom), it does not have a parent element.
this node exists, but parentNode is null: https://github.com/Sitebase/react-avatar/blob/master/src/avatar.js#L177

Example: https://codesandbox.io/s/example-for-react-avatar-editor-forked-mxnjk?file=/index.js
How to reproduce:

click change content.
click hide.
click change content 💥

Fixes: #164

Are there plans to merge this fix anytime soon?

Issue fixed by a version that applies to latest master: https://github.com/ambassify/react-avatar/pull/243


STM32H5 SPI Driver - First Commit

Commit Descriptions
Used STM32H7 spi driver as a base. The register set is nearly identical. All registers are named the same with the same offset. There are some bits within the registers that are different but are not referenced in stm32_spi.c. Therfore this driver may just work as is. I did modify the clock source selection for each SPI peripheral, but not much else. Differences in the registers were applied in hardware/stm32h5xxx_spi.h.
Added SPI info to Kconfig and other minor updates.
Updated Pin Map for SPI, added CFG1_BPASS support
Fixed redefinition of GPIO_SPI6_SCK_2
Added SPI_MAX_KER_CK definition - This definition was needed because the H50 chips allow a kernel clock of 250 MHz. However the datasheets for all other chips (H52, H53, H56, H57) have a max of 125 MHz.
Changed SPI Clock Source Configuration - Moved setting of SPIx clock sources to stm32h5xx_rcc.c. STM32_SPIx_FREQUENCY and STM32_RCC_CCIPR3_SPIxSEL are now defined in board.h. Added error checking in stm32_spi.c to make sure STM32_SPIx_FREQUENCY and STM32_RCC_CCIPR3_SPIxSEL are actually defined.
Style updates
Removed SPI Clock selection from Kconfig
Note: Please adhere to Contributing Guidelines.
Summary
SPI Support for the STM32H5. This driver borrows heavily from the STM32H7x3, given the register set was almost identical. The CFG1_BPASS bit is not available in the STM32H7, and therefore it was accounted for here. Other registers such as CR2_TSER, CFG1_UDRCFG, CFG1_UDRDET, and the RDY signal were not referenced in the stm32h7 and therefore no support was added here for them.
This driver has the ability to select any available input clock for the SPI kernel clock. The kernel clock is selected and defined in board.h, while the clock is actually set in stm32h5xx_rcc.c.
Basic functional testing was completed using an Adafruit MicroSD SPI breakout board.
Impact
This should only impact the STM32H5 family of boards. This also only affects architecture files, not board files. Configuration for the Nucleo-H563ZI that was used can be found in this git repo: https://github.com/stbenn/nuttx/tree/stm32h5_spi_testing
Testing
Hardware:

Nucleo-H563ZI Board - Connected to PC through USB-C port.
Adafruit MicroSD SPI Board with microsd card- https://cdn-learn.adafruit.com/downloads/pdf/adafruit-microsd-spi-sdio.pdf
USB Oscilloscope.

To do the functional testing, I utilized this MicroSD SPI board and the mmcsd nuttx driver. I was able to initialize the SPI device, initialize and create the mmcsd device, and mount /dev/mmcsd0 to a vfat filesystem. After that, I could successfully read and write from the sdcard that was mounted. Different clock speeds were also tested. 20 MHz was too fast to measure in my setup, but appeared to work. I tested several speeds, 400K, 1M, and 20M, and all functionally worked.
Additionally, I tested the spi interfaces using a usb oscilloscope. Below is a screen capture of activity on the bus at 1MHz.

@kywwilson11 let's squash the change into one patch


ABB RWS Service calls not working on Foxy

Hi,
First of all, thank you very much for creating the Foxy branch for abb_ros2, I have tested it by controlling my ABB IRB120 in Robot Studio with MoveIt!2 in Foxy and it works :)
Unfortunately, I am having some problems when trying to manipulate the Controller I/O-s with ABB-RWS in ROS2 Foxy. I wanted to test the ROS2-RobotStudio connection by calling a simple service, and this is what happens:

I launch the RWS client, and it connects to the robot correctly:

I call "ros2 service list", and the ROS2 Services provided by abb_rws appear on the screen.

I try to call a ROS2 Service, but ROS2 cannot detect the ROS2 Service, and therefore nothing is executed. This happens with every single ROS2 Service on the list:

I have followed the same exact steps in my ROS2 Rolling machine, and it works properly:

I believe something could be missing, which blocks all ABB RWS ROS2 Services from being executed or initialised...
Any help with this would be much appreciated, thank you very much in advance!
Regards,
Mikel

Hi @stephanie-eng,
Any update on this?
Thank you very much in advance.
Best regards,
Mikel


Feature Request: Contract source code verification

The source code is recompiled and matches the one that is deployed on-chain.

A green tick means that the contract's code is verified.
For example Tether, https://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec7#code

Thank you for your hard work.
Cheers!

love this explorer. great work!
code verification would be great


fix: output page version query parameter missing

https://github.com/cnpm/cnpmweb/assets/32004925/91cc5ccc-06ba-43aa-8099-1659d9a5797c

@Wxh16144 Thanks!

released https://npmmirror.com/package/antd/files/CHANGELOG.zh-CN.md?version=2.13.14


Changing row order with drag&drop

The topic has been discussed before and to be honest I'm not sure if/how this could be implemented without breaking the already existing features (such as filtering, sorting, pagination, etc).


UploadFile returned with status Failed. File with 0 size created on server

FTP OS: Unix
**FTP Server: UNIX emulated by FileZilla
**Computer OS:Win10?
**FluentFTP Version:33.03
Hi,
File upload (UploadFile) returned with status Failed. File with 0 size created on server
Connection is  client.EncryptionMode = FtpEncryptionMode.Implicit; (FTPS)
From the same computer I can upload the file when using winscp, so it is not a firewall issue.
Any help will be appreciated.
Tnx
Dror
Logs :
# Connect()
Status:   Connecting to ***:990
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.0230025.
Response: 220-Hello,
Response: 220-
Response: 220-Unauthorized access to this system is forbidden and will be prosecuted by A
Response: 220-
Response: 220-By accessing this system, you agree that your actions may be monitored.
Response: 220-
Response: 220-For your information - all activity on **************** is logged.
Response: 220-
Response: 220 !!!!!!!!!files older than 30 days will be deleted without further notice.!!
Command:  USER ***
Response: 331 Password required for ******
Command:  PASS ***
Response: 230 Logged on
Command:  PBSZ 0
Response: 200 PBSZ=0
Command:  PROT P
Response: 200 Protection level set to P
Command:  FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: MLST type*;size*;modify*;
Response: MLSD
Response: AUTH SSL
Response: AUTH TLS
Response: PROT
Response: PBSZ
Response: UTF8
Response: CLNT
Response: MFMT
Response: EPSV
Response: EPRT
Response: 211 End
Status:   Text encoding: System.Text.UTF8Encoding
Command:  OPTS UTF8 ON
Response: 202 UTF8 mode is always enabled. No need to send this command.
Command:  SYST
Response: 215 UNIX emulated by FileZilla
Command:  SIZE /dor.pdf
Response: 213 0

# DeleteFile("/dor.pdf")
Command:  DELE /dor.pdf
Response: 250 File deleted successfully

# OpenWrite("/dor.pdf", Binary)
Command:  TYPE I
Response: 200 Type set to I

# OpenPassiveDataStream(AutoPassive, "STOR /dor.pdf", 0)
Command:  EPSV
Response: 229 Entering Extended Passive Mode (|||4000|)
Status:   Connecting to ***:4000
Command:  STOR /dor.pdf
Response: 150 Opening data channel for file upload to server of "/dor.pdf"
Status:   IOException for file c:\temp\140794.pdf : Authentication failed because the remote party has closed the transport stream.
Status:   Failed to upload file.
-->```

Its because your FTP server is blocking data connections that are opened to upload the file. ("Authentication failed because the remote party has closed the transport stream.")
You need to change the connection type, see this for details.

Its because your FTP server is blocking data connections that are opened to upload the file. ("Authentication failed because the remote party has closed the transport stream.")
You need to change the connection type, see this for details.

I can confirm the same behavior for the https://github.com/robinrodricks/FluentFTP/issues/668

I can confirm the same behavior for the https://github.com/robinrodricks/FluentFTP/issues/668

Closing because seems to be server/authentication issue as described and not a bug with FluentFTP.

I'm having this problem too.
My code:
`ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
using (FtpClient client = new FtpClient(ftp_address, ftp_port, ftp_un, ftp_pw))
{
client.EncryptionMode = FtpEncryptionMode.Implicit;
client.SslProtocols = SslProtocols.Tls12;
client.DataConnectionType = FtpDataConnectionType.AutoPassive;
client.ValidateCertificate += new FtpSslValidation(OnValidateCertificate);
client.Connect();
if (client.IsConnected)
{
    FtpStatus ftpStatus = client.UploadFile(filePath, ftp_filename, FtpRemoteExists.Overwrite, false, FtpVerify.None, null);
    if (ftpStatus == FtpStatus.Success)
    {
        // log upload
    }
    else
    {
        // log error
    }
    client.Disconnect();
}

}
`
Log output:
# Connect()
Status:   Connecting to ***.***.***.***
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.1624838.
Response: 220 FileZilla Server 0.9.60 beta written by Tim Kosse<EMAIL_ADDRESS>Please visit http://sourceforge.
Status:   Detected FTP server: FileZilla
Command:  USER w64upload
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-6-132665388072666717): Loaded
Response: 331 Password required for remoteFtpServer
Command:  PASS ***
Response: 230 Logged on
Command:  PBSZ 0
Response: 200 PBSZ=0
Command:  PROT P
Response: 200 Protection level set to P
Command:  FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: MLST type*;size*;modify*;
Response: MLSD
Response: AUTH SSL
Response: AUTH TLS
Response: PROT
Response: PBSZ
Response: UTF8
Response: CLNT
Response: MFMT
Response: EPSV
Response: EPRT
Response: 211 End
Status:   Text encoding: System.Text.UTF8Encoding
Command:  OPTS UTF8 ON
Response: 202 UTF8 mode is always enabled. No need to send this command.
Command:  SYST
Response: 215 UNIX emulated by FileZilla

# UploadFile("D:\Repos\filename.csv", "filename.csv", Overwrite, False, None)

# FileExists("filename.csv")

# GetWorkingDirectory()
Command:  PWD
Response: 257 "/" is current directory.
Command:  SIZE /filename.csv
Response: 550 File not found

# OpenWrite("filename.csv", Binary)
Command:  TYPE I
Response: 200 Type set to I

# OpenPassiveDataStream(AutoPassive, "STOR filename.csv", 0)
Command:  EPSV
Response: 229 Entering Extended Passive Mode (|||35003|)
Status:   Connecting to  ***.***.***.***:35003

Command:  STOR filename.csv

Response: 150 Opening data channel for file upload to server of "/filename0.csv"
Status:   IOException for file D:\Repos\filename.csv : Authentication failed because the remote party has closed the transport stream.
Status:   Failed to upload file.
Status:   There is stale data on the socket, maybe our connection timed out or you did not call GetReply(). Re-connecting...
Status:   Disposing FtpSocketStream...
Status:   Not sending QUIT because the connection has already been closed.
Status:   Disposing FtpSocketStream...

# Dispose()
Status:   Disposing FtpClient object...
Status:   Disposing FtpSocketStream...
The program '[7044] iisexpress.exe' has exited with code 0 (0x0).

I'm having the same problem
But the logs don't tell me anything
Logs:
`
AutoConnect()
AutoDetect(True, False)
Connect()
Status:   Connecting to :21
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 7 of 50 allowed.
Response: 220-Local time is now 22:47. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Status:   Detected FTP server: PureFTPd
Command:  AUTH TLS
Response: 234 AUTH TLS OK.
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.2803308.
Command:  USER ***
Response: 331 User *** OK. Password required
Command:  PASS ***
Response: 230 OK. Current restricted directory is /
Command:  PBSZ 0
Response: 200 PBSZ=0
Command:  PROT P
Response: 200 Data protection level set to "private"
Command:  FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type;size;sizd;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: UTF8
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP
Response: 211 End.
Status:   Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command:  OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Command:  SYST
Response: 215 UNIX Type: L8
Status:   Listing parser set to: Machine
GetFilePermissions("/public_html")
GetObjectInfo("/public_html", False)
Command:  MLST /public_html
Response: 250-Begin
Response: type=dir;sizd=4096;modify=20220211214012;UNIX.mode=0755;UNIX.uid=1003;UNIX.gid=99;unique=802gc42769; /public_html
Response: 250 End.
UploadFile("RE2GpHd_1920x1080.jpg", "/public_html/RE2GpHd_1920x1080.jpg", Overwrite, False, None)
FileExists("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg
Response: 213 0
DeleteFile("/public_html/RE2GpHd_1920x1080.jpg")
Command:  DELE /public_html/RE2GpHd_1920x1080.jpg
Response: 250 Deleted /public_html/RE2GpHd_1920x1080.jpg
OpenWrite("/public_html/RE2GpHd_1920x1080.jpg", Binary)
GetFileSize("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg
Response: 550 Can't check for file existence
Command:  TYPE I
Response: 200 TYPE is now 8-bit binary
OpenPassiveDataStream(PASV, "STOR /public_html/RE2GpHd_1920x1080.jpg", 0)
Command:  PASV
Response: 227 Entering Passive Mode (173,212,202,2,159,80)
Status:   Connecting to ***:40784
Command:  STOR /public_html/RE2GpHd_1920x1080.jpg
Response: 150 Accepted data connection
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.1919184.
Status:   Disposing FtpSocketStream...
OpenAppend("/public_html/RE2GpHd_1920x1080.jpg", Binary)
GetFileSize("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg
OpenPassiveDataStream(PASV, "APPE /public_html/RE2GpHd_1920x1080.jpg", 0)
Command:  PASV
Status:   Disposing FtpSocketStream...
`

Hi
I also get a 0 size file on the server when using FileUpload, but the logs don't show me anything
Here are the logs:

# AutoConnect()

# AutoDetect(True, False)

# Connect()
Status:   Connecting to ***:21
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 7 of 50 allowed.
Response: 220-Local time is now 22:47. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Status:   Detected FTP server: PureFTPd
Command:  AUTH TLS
Response: 234 AUTH TLS OK.
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.2803308.
Command:  USER ***
Response: 331 User *** OK. Password required
Command:  PASS ***
Response: 230 OK. Current restricted directory is /
Command:  PBSZ 0
Response: 200 PBSZ=0
Command:  PROT P
Response: 200 Data protection level set to "private"
Command:  FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: UTF8
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP
Response: 211 End.
Status:   Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command:  OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Command:  SYST
Response: 215 UNIX Type: L8
Status:   Listing parser set to: Machine

# GetFilePermissions("/public_html")

# GetObjectInfo("/public_html", False)
Command:  MLST /public_html
Response: 250-Begin
Response: type=dir;sizd=4096;modify=20220211214012;UNIX.mode=0755;UNIX.uid=1003;UNIX.gid=99;unique=802gc42769; /public_html
Response: 250 End.

# UploadFile("RE2GpHd_1920x1080.jpg", "/public_html/RE2GpHd_1920x1080.jpg", Overwrite, False, None)

# FileExists("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg
Response: 213 0

# DeleteFile("/public_html/RE2GpHd_1920x1080.jpg")
Command:  DELE /public_html/RE2GpHd_1920x1080.jpg
Response: 250 Deleted /public_html/RE2GpHd_1920x1080.jpg

# OpenWrite("/public_html/RE2GpHd_1920x1080.jpg", Binary)

# GetFileSize("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg
Response: 550 Can't check for file existence
Command:  TYPE I
Response: 200 TYPE is now 8-bit binary

# OpenPassiveDataStream(PASV, "STOR /public_html/RE2GpHd_1920x1080.jpg", 0)
Command:  PASV
Response: 227 Entering Passive Mode (173,212,202,2,159,80)
Status:   Connecting to ***:40784
Command:  STOR /public_html/RE2GpHd_1920x1080.jpg
Response: 150 Accepted data connection
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.1919184.
Status:   Disposing FtpSocketStream...

# OpenAppend("/public_html/RE2GpHd_1920x1080.jpg", Binary)

# GetFileSize("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg

# OpenPassiveDataStream(PASV, "APPE /public_html/RE2GpHd_1920x1080.jpg", 0)
Command:  PASV
Status:   Disposing FtpSocketStream...

Hi @robinrodricks
I also get a 0 size file on the server when using FileUpload, but the logs don't show me anything
Here are the logs:

# AutoConnect()

# AutoDetect(True, False)

# Connect()
Status:   Connecting to ***:21
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 7 of 50 allowed.
Response: 220-Local time is now 22:47. Server port: 21.
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Status:   Detected FTP server: PureFTPd
Command:  AUTH TLS
Response: 234 AUTH TLS OK.
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.2803308.
Command:  USER ***
Response: 331 User *** OK. Password required
Command:  PASS ***
Response: 230 OK. Current restricted directory is /
Command:  PBSZ 0
Response: 200 PBSZ=0
Command:  PROT P
Response: 200 Data protection level set to "private"
Command:  FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: UTF8
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP
Response: 211 End.
Status:   Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command:  OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Command:  SYST
Response: 215 UNIX Type: L8
Status:   Listing parser set to: Machine

# GetFilePermissions("/public_html")

# GetObjectInfo("/public_html", False)
Command:  MLST /public_html
Response: 250-Begin
Response: type=dir;sizd=4096;modify=20220211214012;UNIX.mode=0755;UNIX.uid=1003;UNIX.gid=99;unique=802gc42769; /public_html
Response: 250 End.

# UploadFile("RE2GpHd_1920x1080.jpg", "/public_html/RE2GpHd_1920x1080.jpg", Overwrite, False, None)

# FileExists("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg
Response: 213 0

# DeleteFile("/public_html/RE2GpHd_1920x1080.jpg")
Command:  DELE /public_html/RE2GpHd_1920x1080.jpg
Response: 250 Deleted /public_html/RE2GpHd_1920x1080.jpg

# OpenWrite("/public_html/RE2GpHd_1920x1080.jpg", Binary)

# GetFileSize("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg
Response: 550 Can't check for file existence
Command:  TYPE I
Response: 200 TYPE is now 8-bit binary

# OpenPassiveDataStream(PASV, "STOR /public_html/RE2GpHd_1920x1080.jpg", 0)
Command:  PASV
Response: 227 Entering Passive Mode (173,212,202,2,159,80)
Status:   Connecting to ***:40784
Command:  STOR /public_html/RE2GpHd_1920x1080.jpg
Response: 150 Accepted data connection
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.1919184.
Status:   Disposing FtpSocketStream...

# OpenAppend("/public_html/RE2GpHd_1920x1080.jpg", Binary)

# GetFileSize("/public_html/RE2GpHd_1920x1080.jpg")
Command:  SIZE /public_html/RE2GpHd_1920x1080.jpg

# OpenPassiveDataStream(PASV, "APPE /public_html/RE2GpHd_1920x1080.jpg", 0)
Command:  PASV
Status:   Disposing FtpSocketStream...


Dummy icicle-bench main

So that we can run the generated C code with tools like valgrind and asan.

icicle-make does this


chore(common): Switches default registry to wasi.dev for wasi namespace

I also updated one of the integration tests to use the 0.2.1 interfaces
so we could make sure that works as well

This is stacked on top of #91 so I'll mark as ready once that merges


new scale function

This PR adds a function for scaling inside the circuit, with essentially the same logic but with a slightly different interface as scale_fast

These changes were merged to develop with #10283 , closing


Use remote search for RelationField widget

Pre-Flight checklist

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

What are the relevant tickets?
Fixes #392
What's this PR do?
Use async react-select widget to do searches via RelationField. This means that searches will happen as the user types via API requests to the backend, rather than fetching all data at once and doing the filtering on the frontend.
How should this be manually tested?
TBD

Codecov Report

Merging #402 (03465e4) into master (42f56d3) will decrease coverage by 3.61%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #402      +/-   ##
==========================================
- Coverage   90.08%   86.47%   -3.62%
==========================================
  Files         136       64      -72
  Lines        4418     2580    -1838
  Branches      691      295     -396
==========================================
- Hits         3980     2231    -1749
+ Misses        395      307      -88
+ Partials       43       42       -1

Impacted Files
Coverage Δ

websites/views.py
99.00% <33.33%> (-1.00%)
:arrow_down:

static/js/lib/redux_query.ts

static/js/query-configs/utils.ts

static/js/components/SiteContentEditor.tsx

static/js/components/SiteContentListing.tsx

...atic/js/components/forms/WebsiteCollectionForm.tsx

static/js/lib/api/util.ts

static/js/pages/SitesDashboard.tsx

static/js/selectors/website_collections.ts

static/js/lib/ckeditor/plugins/test_util.ts

... and 61 more

Continue to review full report at Codecov.

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


Correct resolution used for scale bar and add dpi option

Fixes #10529
Correct the resolution used for scale. Add dpi option for output devices such as printers.
Also add setDpi and setMinWidth methods
Add a Print to scale example

The purpose of the dpi option was to produce a scale bar suitable for printing, so the example wouldn't relate to the change if the map was printed without it.  Also the terms of many sources require an attribution to be visible on screenshots and printed output.  To demonstrate that it's either going to need a browser dependent export (it could use a cdn library to avoid a project dependency) or the controls would need a considerable rework to use canvas elements - and where attributions require clickable links or images that isn't an simple option.


High memory usage in scheduler, possible memory leak

It was sitting at 5gb of ram usage this morning, which seems absurdly high to me. Needs some investigation

Appears to have been related to too frequently updating of profit info. I'm guessing some stuff wasn't getting GC'd. Changing the cron to every 3 hours seems to have gotten it under control


resolved issue #667

Kept "data_structures" since I find it sensible.
Needs to be added to https://github.com/exercism/problem-specifications

I love this @alirezaghey . Amazing work.
The only thing I would like to change is: can you format the file like before? Each array item on their own line? Apart form that, this is perfect. I personally don't think Matrix is a datastructure "topic" -- could you remove it for now? We'll figure out a better topic and add it to ProblemSpec.

Thanks @SleeplessByte. That's encouraging.
Other than in Matrix, there or six other occurrences of data_structures in the file.
Just to be clear, you are OK with keeping those and want me to only remove it from Matrix, right?

Nah, all of them. And let's open a new issue with those 7 that we have to see if there is an alternative!

Thank you for this contribution @alirezaghey


Support for RNN (NNX)

seems like that RNN family is not currently supported in the NNX api

started working on porting: https://github.com/zinccat/rnn_nnx

Hey @zinccat, if you want to send PRs happy to review.
We haven't ported any of the cells or the RNN class itself.


ISPN-12489 Non-transactional INVALIDATION_SYNC cache deadlock

https://issues.redhat.com/browse/ISPN-12489
InvalidateCommand should not acquire the key lock on remote nodes.

Integrated into master, thanks @danberindei !


Expose trusted certificates support in helm starter template

[x] This contribution adheres to CONTRIBUTING.md.

TODO: Check the above box with an 'x' indicating you've read and followed CONTRIBUTING.md.
What does this Pull Request accomplish?
Expose options to specify trusted certificates in systemlink.
Why should this Pull Request be merged?
Custom certificates support was added for s3 communication.
What testing has been done?
Tested on NI internal cluster.

@CiprianAnton , We need Code Owners' approval for this PR for the SLE 2024-04 release:
@BKnight760 , would you be able to approve?
I see JD has reviewed the changes and there was one more commit since.


Add observers to Instructable, introduce flexible controller

Also

rename requestors to provider
change from Parties to Party

Motivation:

we want to have as few Batch Factories as possible, given that this contract needs to be created directly at ledger initialisation (unless we want to introduce a factory's factory). Adding observers + flexible controllers allows us to use a public party mechanism, which reduces the number of contracts that we need.
This came out while trying to port some CBDC sandbox code to the new library

The flexible controllers are now signatories of the batch + instructions.
The previous scenario can be reproduced with the new version (by setting observers = empty).
I will need to think a bit better how this works in the case of BatchFactoryWithIntermediaries as we generally do not want to give a public party visibility on the entire account hierarchy.
I did not implement Disclosure as I think the factory contracts are meant to be quite stable, but we could reconsider that.

I also think that renaming Instructable to BatchFactory could be helpful, as it would be consistent with e.g. the AccountFactory or HoldingFactory.
Similarly, we could rename Settleable to Batch.

I also think that renaming Instructable to BatchFactory could be helpful, as it would be consistent with e.g. the AccountFactory or HoldingFactory.
Similarly, we could rename Settleable to Batch.

I agree with these renaming if we think that there will only ever be the one implementation of these interfaces that we currently have. That is, if we think there are sensible alternative implementations of Settleable that aren't a "batch" (and similar for Instructible, then we should keep the more generic naming.

I also think that renaming Instructable to BatchFactory could be helpful, as it would be consistent with e.g. the AccountFactory or HoldingFactory.
Similarly, we could rename Settleable to Batch.

I agree with these renaming if we think that there will only ever be the one implementation of these interfaces that we currently have. That is, if we think there are sensible alternative implementations of Settleable that aren't a "batch" (and similar for Instructible, then we should keep the more generic naming.

Thanks for the feedback. We already have multiple implementations of Instructable, namely BatchFactory and BatchFactoryWithIntermediaries.
We did have multiple implementations of Settleable, namely Batch and Transfer, but I recently removed Transfer as it didn't add much compared to Batch.
My proposal for the renamings came from implementing a tutorial, where a user needs to use Instructables and Settleables but I feel the names might not be descriptive enough.
On the other hand, the concept of a Factory is introduced since the very beginning (via AccountFactory and HoldingFactory).


Add JMH benchmark for Vertx RabbitMQ client

A link to Vertx RabbitmMQ Kotlin lib: https://github.com/vert-x3/vertx-lang-kotlin/blob/master/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/rabbitmq/RabbitMQClient.kt

Vertx RabbitMQ client doesn't have API for confirming publishing.

Over time I tend to think worse and worse about vert.x


Add state and regional map filtering

Make the brigade dropdown like the tag searchy one
Add regional and state buttons that are just shortcuts to a specific set of brigades
Change map to respond to scope of brigades selected

I agree this would be nice. I can do with my relational database, not sure how to do it in js only.

I agree this would be nice. I can do with my relational database, not sure how to do it in js only.


Blacklisted sites to consider adding

Here's my list of blacklisted sites to consider blocking by default.
](https://www.wattpad.com/)

I looked at a few pages but can't find one with comments. Do you have an example?

Closing for now, but let me know if you have an example and I'll check it out.


Revert "Make .destroy() work with attribute inference"

Reverts D-Programming-Language/druntime#1181
__traits(getMember, ...) is not allowed to get private (or otherwise inaccessible) fields, but primitives like destroy must recursively destruct all fields to be correct.
I don't know how to fix this.

A number of high-impact @safe-related PRs are stalled because of this, so suggestions for how we can fix it would be highly appreciated.

Crap, well at least it didn't get into the release!
 Does it just fail to compile? Can we just revert to old behavior if that is the case?

A number of high-impact @safe-related PRs are stalled because of this, so suggestions for how we can fix it would be highly appreciated.

this undoes a lot of @nogc inference in phobos that was enabled with this patch too AFAIK.

As far as the code is concerned, this looks correct as a revert.

What is the test code that proves your statement? I can't get it to fail, even with private members.

tupleof enumerates all state, private or not. Should be useful here.

I'll pursue the tupleof approach ASAP. I think I did try tupleof at first but ran into some issues with extracting the field name, which has always been hacky with it. Probably not a big deal, in the worst case I can simply use both.

Alright, _destructRecurse uses tupleof and is fine, it is _postblitRecurse that is the problem. I think it can be fixed by changing it to this:
private string _genFieldPostblit(S)()
{
    import core.internal.traits : hasElaborateCopyConstructor;

    string code;
    foreach(i, FieldType; S.tupleof)
    {
        static if(hasElaborateCopyConstructor!S)
        {
            code ~= `
                _postblitRecurse(s.tupleof[` ~ to!string(i) ~ `]);
                scope(failure) _destructRecurse(s.tupleof[` ~ to!string(i) ~ `]);
            `;
        }
    }
    return code;
}

// Public and explicitly undocumented
void _postblitRecurse(S)(ref S s)
    if (is(S == struct))
{
    mixin(_genFieldPostblit!S());

    static if (__traits(hasMember, S, "__postblit"))
        s.__postblit();
}

However, this solution needs to convert an integer to a string for the mixin code. Does druntime have any facilities for this? It's just for CTFE, so it doesn't need to be performant.
An alternative would be to forego the convenience of scope(failure) and replicate its functionality with try-catch statements. Hopefully that's possible without string mixins and recursion.

Filed a fix at #1243


Dotdot bitmap field backwards compatible fix

Adding the type to bitmap fields. This change is specific to the dotdot loader and is a backwards compatible fix which was broken during the ZCL data type schema update.
JIRA: ZAPP-1122

Codecov Report

Merging #1001 (12c000b) into master (d8fea56) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1001   +/-   ##
=======================================
  Coverage   66.86%   66.86%
=======================================
  Files         156      156
  Lines       16987    16987
  Branches     3690     3690
=======================================
  Hits        11359    11359
  Misses       5628     5628

Impacted Files
Coverage Δ

src-electron/db/query-loader.js
99.44% <ø> (ø)

src-electron/db/query-zcl.js
93.67% <ø> (ø)

src-electron/zcl/zcl-loader-dotdot.js
94.74% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Default colors for label names

when creating missing ones with --create-missing, if the provided name matches, set the color without asking (we aren't asking color names yet (see #184)
The flag to configure this:
--default-label-color label-name:color-hex
with color-hex matching (#?[0-9a-fA-F]{3,6})|random or being a valid CSS color name
Of course, the flag is repeatable to set up multiple defaults for different label names.
Example:
ideaseed --default-label-color=meta:cyan --default-label-color=urgent:ff0000 --default-label-color ux:purple

This implies that label names can't contain :, which is used in some repos. Gotta find another way.


feat: a.nat_mod b < b

Match https://github.com/leanprover-community/mathlib/pull/17896

int.nat_mod became Int.natMod and similarly int.to_nat -> Int.toNat

Fixed by defining Int.natMod. The Lean 3 PR is already approved.

bors merge


[Bug?] Maybe be there are some mistake about use of @Qualifer

I think the @Qualifer in the UserPasswordAuthenicateProvider is not useful.
    validator:
      impl: common

I just add the code following this:
@Component
@AllArgsConstructor
@Qualifier("test")
public class TestAccountValidator implements AccountValidator{

    @Override
    public Authentication authenticate(Authentication authentication) {
        return null;
    }
}

and run application , but error

commonAccountValidator: defined in file [/Users/csh0101/lab/java-playground/FeatureProbe/api/admin/target/classes/io/featureprobe/api/auth/CommonAccountValidator.class]

testAccountValidator: defined in file [/Users/csh0101/lab/java-playground/FeatureProbe/api/admin/target/classes/io/featureprobe/api/auth/TestAccountValidator.class]

so I have the choice to think about the @Qualifer is not useful. Maybe the use is mistake
this some reason I think:
@AllArgsConstruct will cause the spring ignore the @Qualifer, so you maybe need refix code like this :
@Autowired
@Qualifier("test")
AccountValidator validator;
anything else, I think the spring el to get value from config file is not useful in @Qualifier
see this err:
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.featureprobe.api.auth.AccountValidator' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=${app.security.validator.impl})}
consulition
you ignore this mistake ,just because there are only one bean that named CommonValidator. even the @Qualifier is useless, but the DI still work. but in now, the TestValidator class is  added, and the mistake is appear.
WorkAround
Because of I was develop the feat of ldap, so I will do @Priamry work around this problem until we fix it.

@FengShang

And Maybe the validator can be a List? because in method support,it look likes strategy design pattern

I think the @Qualifer in the UserPasswordAuthenicateProvider is not useful.
    validator:
      impl: common

I just add the code following this:
@Component
@AllArgsConstructor
@Qualifier("test")
public class TestAccountValidator implements AccountValidator{

    @Override
    public Authentication authenticate(Authentication authentication) {
        return null;
    }
}

and run application , but error

commonAccountValidator: defined in file [/Users/csh0101/lab/java-playground/FeatureProbe/api/admin/target/classes/io/featureprobe/api/auth/CommonAccountValidator.class]

testAccountValidator: defined in file [/Users/csh0101/lab/java-playground/FeatureProbe/api/admin/target/classes/io/featureprobe/api/auth/TestAccountValidator.class]

so I have the choice to think about the @Qualifer is not useful. Maybe the use is mistake this some reason I think: @AllArgsConstruct will cause the spring ignore the @Qualifer, so you maybe need refix code like this : @Autowired @qualifier("test") AccountValidator validator; anything else, I think the spring el to get value from config file is not useful in @qualifier see this err: Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.featureprobe.api.auth.AccountValidator' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=${app.security.validator.impl})}
consulition
you ignore this mistake ,just because there are only one bean that named CommonValidator. even the @qualifier is useless, but the DI still work. but in now, the TestValidator class is added, and the mistake is appear.
WorkAround
Because of I was develop the feat of ldap, so I will do @Priamry work around this problem until we fix it.

Yes, you are right. We are currently refactoring the code, and it is not yet a stable version. This issue has already been fixed in the next iteration.

I think the @Qualifer in the UserPasswordAuthenicateProvider is not useful.
    validator:
      impl: common

I just add the code following this:
@Component
@AllArgsConstructor
@Qualifier("test")
public class TestAccountValidator implements AccountValidator{

    @Override
    public Authentication authenticate(Authentication authentication) {
        return null;
    }
}

and run application , but error

commonAccountValidator: defined in file [/Users/csh0101/lab/java-playground/FeatureProbe/api/admin/target/classes/io/featureprobe/api/auth/CommonAccountValidator.class]

testAccountValidator: defined in file [/Users/csh0101/lab/java-playground/FeatureProbe/api/admin/target/classes/io/featureprobe/api/auth/TestAccountValidator.class]

so I have the choice to think about the @Qualifer is not useful. Maybe the use is mistake this some reason I think: @AllArgsConstruct will cause the spring ignore the @Qualifer, so you maybe need refix code like this : @Autowired @qualifier("test") AccountValidator validator; anything else, I think the spring el to get value from config file is not useful in @qualifier see this err: Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.featureprobe.api.auth.AccountValidator' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=${app.security.validator.impl})}
consulition
you ignore this mistake ,just because there are only one bean that named CommonValidator. even the @qualifier is useless, but the DI still work. but in now, the TestValidator class is added, and the mistake is appear.
WorkAround
Because of I was develop the feat of ldap, so I will do @Priamry work around this problem until we fix it.

Yes, you are right. We are currently refactoring the code, and it is not yet a stable version. This issue has already been fixed in the next iteration.

The issue has been fixed in version 2.6.0. Please pull the code again to get the latest changes.


Do not heap allocate recursive async search; use a stack-based solution.

During structural navigation, the async_recursion crate is used, which boxes a future to allow an async function to call itself.
Although conceptually, this is much easier to deal with, async recursion in Rust currently requires heap-allocating data. Of course, recursion is rarely a necessity; this case could be better served by a stack-based solution which would remove the need to call itself.
Depth first search does not require recursion.
Function beginning here:
https://github.com/odilia-app/odilia/blob/main/atspi/src/accessible_plus.rs#L34

Fixed by #82


[bug] Update the kubernetes deployment config with the published container image.

Describe the bug
No response
To Reproduce
No response
Expected Behavior
No response
Screenshot/ Video
No response
Additional context
No response

Can you explain where to do this , I would like to give a try

Hey, @RishiKumarRay Thank you so much for your interest in contributing. But currently, this is a college project so we would be accepting outer contributions after August 2022.


Error installing loghouse to GKE

I'm trying to install loghouse to Google Cloud-bases Kubernetes cluster (node pool version is 1.8.3-gke.0).
I'm getting the following error:
➜  cm-scripts git:(master) ✗ helm install -n loghouse loghouse
Error: release loghouse failed: clusterroles.rbac.authorization.k8s.io "fluentd" is forbidden: attempt to grant extra privileges: [PolicyRule{Resources:["namespaces"], APIGroups:[""], Verbs:["get"]} PolicyRule{Resources:["namespaces"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["namespaces"], APIGroups:[""], Verbs:["list"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["get"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["watch"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["list"]}] user=&{system:serviceaccount:kube-system:default 3d69e5b6-d03a-11e7-9bc4-42010af00233 [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]} ownerrules=[PolicyRule{Resources:["selfsubjectaccessreviews"], APIGroups:["authorization.k8s.io"], Verbs:["create"]} PolicyRule{NonResourceURLs:["/api" "/api/*" "/apis" "/apis/*" "/healthz" "/swagger-2.0.0.pb-v1" "/swagger.json" "/swaggerapi" "/swaggerapi/*" "/version"], Verbs:["get"]}] ruleResolutionErrors=[]
➜  cm-scripts git:(master) ✗

You'll need to switch on RBAC authorization

@yurchenkosv Kubernetes 1.8.0+ has RBAC enabled by default on GKE (and is RBAC-only), so the problem is a bit different.
My account does not have enough permissions, but I'm not sure what exact permission I need.

@alexclear In this repository there are the respective roles and their probably enough for starting loghouse.
It seems, that your tiller could not create some objects in cluster or default service account hasn't enough permissions. You'll need to check that your serviceaccount in cluster-admin role binding and SA tillr using in this binding too.

Okay, it looks like I found a relevant comment in Helm issue tracker: https://github.com/kubernetes/helm/issues/3130#issuecomment-345506262
So, tiller has to be given extra rights. Will check right now, expect a progress report today.

Okay, finally:
➜  cm-scripts git:(master) ✗ helm reset
Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster.
➜  cm-scripts git:(master) ✗ kubectl delete -f ./rbac-tiller.yml
serviceaccount "tiller" deleted
clusterrolebinding "tiller-clusterrolebinding" deleted
➜  cm-scripts git:(master) ✗ kubectl create -f ./rbac-tiller.yml
serviceaccount "tiller" created
clusterrolebinding "tiller-clusterrolebinding" created
➜  cm-scripts git:(master) ✗ helm init --service-account tiller
$HELM_HOME has been configured at /Users/chistyakov/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
Happy Helming!
➜  cm-scripts git:(master) ✗ helm install -n loghouse loghouse

So, I had to point helm to a pre-created service account when installing it.

And my rbac-tiller.yml is:
apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: tiller-clusterrolebinding
subjects:
- kind: ServiceAccount
  name: tiller
  namespace: kube-system
roleRef:
  kind: ClusterRole
  name: cluster-admin
  apiGroup: ""


Windows 7

Will this run on Win 7?
Thanks

Hey, I haven't tested on Windows 7, but you can try it out and let me know.


setRowStyle function not working

Description
setRowStyle function not working.
I need to define the style of a line but this is not working in Excel and GoogleSheets, interestingly in LibreOffice Calcs it works.
Code example:
xlsx.SetSheetName("Sheet1", "Report")

titleStyle, err := xlsx.NewStyle(&excelize.Style{
	Font: &excelize.Font{
		Bold: true,
		Size: 20,
	},
	Alignment: &excelize.Alignment{
		Vertical: "center",
	},
})
if err != nil {
	return "", nil, err
}

if err := xlsx.SetCellValue("Report", "A1", "Customers Report"); err != nil {
	return "", nil, err
}

if err := xlsx.SetRowStyle("Report", 1, 1, titleStyle); err != nil {
	return "", nil, err
}

if err := xlsx.SetRowHeight("Report", 1, 30); err != nil {
	return "", nil, err
}

if err := xlsx.MergeCell("Report", "A1", "Z1"); err != nil {
	return "", nil, err
}

xlsx.SaveAs("teste.xlsx")

Describe the results you received:
GoogleSheets and Excel:

Describe the results you expected:
LibreOffice:

Output of go version:
go version go1.17.3

Excelize version or commit ID: 2.5.0
Environment details (OS, Microsoft Excel™ version, physical, etc.):
MacOS Catalina AND Linux Zorion OS
GoogleSheets (online), Libre Office (linux), Excel 2021 (macos from app store)

Thanks for your issue. Please set the style for the cells in the merged range like this:
err := xlsx.SetCellStyle("Report", "A1", "Z1", titleStyle)

Many thanks for the reply.

Do you plan to resolve this issue in a future release? I noticed that you closed the issue but didn't leave any other comments.

I have fixed it, please upgrade to the master branch code, and this patch will be released in the next version.

@xuri
SetRowStyle is not replacing the style of a cell (part of the row) which was previously set using SetCellStyle.
For eg. Let's say I have set style to column A using SetColStyle. Now if I set style to row 1 using SetRowStyle, the row style is applied to entire row 1 except cell A1 (col style prevailing here).
i.e. SetRowStyle is setting style to only the cells which do not have a previous style.
It is not intended, right?

Hi @kukaki, sorry for my late reply, I have made the SetRowStyle overwrite style of the cells on commit 773d4af, please upgrade to the master branch code, and this patch will be released in the next version.

Hi @eduardo-mior, I also notice that according to the benchmark report of v2.6.0, this fix (commit: 156bf6d) slows down the merging cell about 400 times.

Hi @eduardo-mior, I also notice that according to the benchmark report of v2.6.0, this fix (commit: 156bf6d) slows down set sheet row and the merging cell about 400 times.

Hi @eduardo-mior, I have improved performance for the set sheet row and the merging cells on commit eed431e, fixed performance impact when resolving this issue, and this patch will be released in the next version.

@xuri I am not sure if this is the same issue (I recently started using the library), however:
In the latest v2 release, when I set a row style for 1 row, and then write data into row 2, 3, 4 and so on, the style from row 1 is applied to all rows. I would expect the style to only apply to row 1, not subsequent rows.
In master (commit: eed431e0fc2f61b13e7745857a41cb47d9f7f810), the behavior is as I would have expected - If I set the style for row 1 and then write row 2, the style from row 1 does not apply to row 2.
So that is to say, master is working great for me!

@michaelperel, yep, this issue was caused by an incorrect row compare condition on cell style inheritance in commit 156bf6d.


i think the main project is maintained on alonguid/parquet-dotnet now

i think the main project is maintained on alonguid/parquet-dotnet now.
you can search nuget, find Parquet.Net and look at the version history.
before v3.4.0 the projet url is https://github.com/elastacloud/parquet-dotnet
after 3.4.1 the project url is https://github.com/aloneguid/parquet-dotnet
so be it. :)

I opened an issue there and it has not gotten much attention, hopefully this is still being maintained SOMEWHERE


move primer to spint main directory

The justification for this PR is for minor edits on the primer that was previously merged in #875 and some reorganization of files so they would be more apparent to users.

Coverage remained the same at 83.073% when pulling ebc9a2310668c544dda17a0526e1d5e723175783 on TaylorOshan:spint_cleanup into 2ee2715c1c5362fc862f8e91796f3a8a602da267 on pysal:dev.