fix(head): flip encoder on C2

Encoder goes the wrong direction now because the gears flipped and the encoder is on the motor axle.
Testing

[x] See if the encoder goes the right direction on C2
[ ] See if the encoder goes the right direction on B and previous

Codecov Report

Merging #582 (1f582e8) into main (dc0c362) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #582      +/-   ##
==========================================
+ Coverage   84.21%   84.28%   +0.07%
==========================================
  Files          83       83
  Lines        2958     2966       +8
==========================================
+ Hits         2491     2500       +9
+ Misses        467      466       -1

Impacted Files
Coverage Δ

...nclude/motor-control/core/linear_motion_system.hpp
100.00% <0.00%> (ø)

...rol/core/stepper_motor/motor_interrupt_handler.hpp
97.17% <0.00%> (+0.68%)
:arrow_up:


Audit dark theme in topology

As part of delivering v5, we need to make sure that the existing dark theme is implemented correctly in topology.
Part of v5 is adding the dark theme switcher to patternfly.org, so any dark theme inconsistencies in topology will be apparent in the documentation.

Design issue: https://github.com/patternfly/patternfly-design/issues/1261

Completed with following feedback doc


Added support for custom headers

Added support for adding custom headers in GET/POST/PUT/PATCH/DELETE requests.
Have  backward compatibility support.
Updated package.json, to add index.js and core.js in files.

Overloading body and settings might raise confliction. Consider the case apex method has parameters named 'headers' and 'body'.

I can do it like this.
Apex.prototype.get = function(path, body, callback, headers)  so that headers is an optional field.
Suggest any better way.

Aligning with other API interface in JSforce, adding optional options arg which can have headers property before callback arg would be preferable.
See http://jsforce.github.io/jsforce/doc/SObject.html#create

Hey, I have updated the signature. Check if its fine ? :)


aligned_umap() only returns one value

Fixing error when trying to unpack return values. The function only returns one value.

Pull Request Test Coverage Report for Build 536

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

Totals

Change from base Build 535:
0.0%

Covered Lines:
1763

Relevant Lines:
2501

💛  - Coveralls

As discussed in person, it's a polymorphic function that can take an iterable of activations, too. I'll see this as feedback against creating such functions, at least not until we have more type hints to help.


[docs] Simpler AppBar search demos

Follow up on #12695

it looks like you had to make everything from scratch again 😅 I'll try to be more productive next time 👍

@adeelibr This is not from scratch! I wanted to improve some area:

less code
fix HTML5 errors
consistent dimensions of the menu icon and the search


problem in Year select dropdown

Expected behavior:- Year should be updated on all places
Actual behavior:- Year is not updated beyond 1900
Steps to reproduce:- open the Year select dropdown, change the year with the keyboard with value 1500. the value is changed in the input field but not in the year drop-down(it only shows till 1900)

if we remove dropdownMode="select" then its working fine.


Check "similar" Biomodels models

Some names are strikingly similar to JWS models

will check. Should be:

[ ] Bungay2003
[ ] Bungay2006
[ ] Bungay2006a
[ ] Leloup1999
[ ] Levchenko200a
[ ] Liu2011
[ ] ODea2007

First check yielded:

The Bungay models are almost surely duplicates. There are 2 SED-MLs (2003 and 2006), and the 2006 ist split up into different sbmls, so there there two sbmls in Biomodels (Bungay2006 and Bungay2006a).
List to be continued

I would suggest that we just remove the biomodels models, or compare the simulated timepoints or similar...
In any case: It makes sense to remove one model occurence, as we may get a biased result, depending on how the final cpu time is counted (i.e., averaged)


Feature Request: Creation of sensors

I find myself frequently using the code below to modify helper inputs to make faux sensors. Overall I'd love to make any type of entity with pyscript, but starting with sensors seem like the logical first step.
@state_trigger("media_player.main_speakers.source")
def speakers_changed():
  set_tv_playing_state()

@state_trigger("media_player.throne_room_2")
def atv_changed():
  set_tv_playing_state()

@time_trigger
def set_tv_playing_state():
  MAIN = "media_player.main_speakers"
  current_state = state.get(MAIN)
  attrs = state.getattr(MAIN)

  new_option = "music"
  if current_state == 'paused':
    new_option = "paused"
  elif attrs.get('source', '').casefold() == 'tv':
    if media_player.throne_room_2 == 'playing':
      new_option = "tv"
    else:
      new_option = "paused"

  input_select.main_speakers_state.select_option(option=new_option)

Example API
I was thinking that the new API could look something like this:
@state_trigger("media_player.main_speakers.source")
@state_trigger("media_player.throne_room_2")
@time_trigger
@sensor
def tv_playing_state():
  MAIN = "media_player.main_speakers"
  current_state = state.get(MAIN)
  attrs = state.getattr(MAIN)

  new_option = "music"
  if current_state == 'paused':
    new_option = "paused"
  elif attrs.get('source', '').casefold() == 'tv':
    if media_player.throne_room_2 == 'playing':
      new_option = "tv"
    else:
      new_option = "paused"

  return (new_option, {"attrs": "can be set"})

NB I know you can't have multiple state triggers, but I'd actually like to allow that behavior too.

For multiple state_triggers, try this:
@state_trigger([
  "media_player.main_speakers.source",
  "media_player.throne_room_2"])
@time_trigger
def tv_playing_state():
  pass

To create a sensor, use state.set like this:
# return (new_option, {"attrs": "can be set"})
state.set('sensor.tv_playing_state', new_option, attrs="can be set")

Oh amazing, I had no idea you could just create an entity like that.
Thanks!


remove duplicate Code files

I will like to do this, can you assign it to me please

can you assign me this issue

I would like to contribute. Please assign me this issue @Vaishnavi2445

can i work on this issue? @Mridul-1-Sharma

This repository is excluded from hacktoberfest


flattened directory layout (KISS)

I would propose to merge this PR. Is there any work in progress that could prevent this merge?


[Question]: How do we use LLM Structure Output inside the FunctionCallingAgentWorker

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi everyone.
I'm having trouble to parse the LLM output to follow the JSON structure I specify in the prompt.
It sometime return exactly what I expected but sometime add some unnecessary conversation.
I have look into the https://docs.llamaindex.ai/en/stable/examples/structured_outputs/structured_outputs/
but when I apply this
sllm = llm.as_structured_llm(output_cls=AgentResponseStructure)
and use it FunctionCallingAgentWorker as this:
            agent_worker = FunctionCallingAgentWorker.from_tools(                 tools=tools,                 llm=sllm,                 verbose=True,                 allow_parallel_tool_calls=False,                 system_prompt=system_prompt             ).as_agent(memory=self.chat_memory)
I run into an issue:

AssertionError: llm must be an instance of FunctionCallingLLM

I'm using this Bedrock Anthropic model for the main llm
https://docs.llamaindex.ai/en/stable/examples/agent/bedrock_converse_agent/
To work around, I found this https://docs.llamaindex.ai/en/stable/examples/output_parsing/function_program/ seems to be helpful. However, this doesn't seems like similar to FunctionCallingAgentWorker as I cannot pass the memory into it.
Questions

Does this issue is for the Bedrock Anthropic LLM model via Bedrock Converse only?
Any other way to work around as I have to tight my agent to use Bedrock LLM?

Cheers

@dosu maybe it is misunderstood here
I do use BedrockConverse as the llm like this
`
from llama_index.llms.bedrock_converse import BedrockConverse
Initialize the Bedrock Converse model
llm = BedrockConverse(
model="anthropic.claude-3-haiku-20240307-v1:0",
aws_access_key_id="AWS Access Key ID to use",
aws_secret_access_key="AWS Secret Access Key to use",
aws_session_token="AWS Session Token to use",
region_name="AWS Region to use, eg. us-east-1",
)
sllm = llm.as_structured_llm(output_cls=ResponseOutput)
initialise function calling
agent_worker = FunctionCallingAgentWorker.from_tools(
tools = tools,
llm=sllm,
verbose=True,
allow_parallel_tool_calls=False,
system_prompt=
)
`
and yet I get the issue
AssertionError: llm must be an instance of FunctionCallingLLM


The c:\EFIESP\EFI\Microsoft\Boot\BCD path is not found

When calling bcdedit /store c:\EFIESP\EFI\Microsoft\Boot\BCD -dbgsettings serial, the path is not found. Remote Powershell on the Raspberry PI returns
The boot configuration data store could not be opened.
The system cannot find the file specified.

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

ID: 59762ca2-1b1d-c2da-dd42-09fbaa0bec47
Version Independent ID: 0afaadd5-a719-60ae-4b33-242bd9a5fe48
Content: Windows Debugger - Windows IoT
Content Source: windows-iotcore/manage-your-device/WindowsDebugger.md
Service: unspecified
Product: windows-iot
GitHub Login: @bfjelds
Microsoft Alias: Brian.Fjeldstad

The EFIESP junction is no longer created.  You'll have to mount it yourself if you want it...you can use mountvol to get the GUID, but I think this is correct for RPi
mkdir C:\EFIESP
mountvol C:\EFIESP \?\Volume{ae420040-0000-0000-0000-200000000000}

Could you please update the docs accordingly?

From: Sara<EMAIL_ADDRESS>Sent: Tuesday, May 22, 2018 11:39:19 PM
To: MicrosoftDocs/windows-iotcore-docs
Cc: wind-rider; Author
Subject: Re: [MicrosoftDocs/windows-iotcore-docs] The c:\EFIESP\EFI\Microsoft\Boot\BCD path is not found (#374)
Closed #374https://github.com/MicrosoftDocs/windows-iotcore-docs/issues/374.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-iotcore-docs/issues/374#event-1640429243, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADTZSGvS_XWaNFehAkRlNKL23F8GNr9Hks5t1IWHgaJpZM4UHcdn.


vocal: 2.2.0 -> 2.3.0

Motivation for this change
Vocal has a new release.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Changes: https://github.com/needle-and-thread/vocal/releases/tag/2.3.0

@GrahamcOfBorg build vocal

@jonafato
Can you please apply these changes?
diff --git a/pkgs/applications/audio/vocal/default.nix b/pkgs/applications/audio/vocal/default.nix
index c503c94e4a8..af8b3ac9394 100644
--- a/pkgs/applications/audio/vocal/default.nix
+++ b/pkgs/applications/audio/vocal/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, ninja, pkgconfig, vala, gtk3, libxml2, granite, webkitgtk, clutter-gtk
+{ stdenv, fetchFromGitHub, cmake, ninja, pkgconfig, vala_0_40, gtk3, libxml2, granite, webkitgtk, clutter-gtk
 , clutter-gst, libunity, libnotify, sqlite, gst_all_1, libsoup, json-glib, gnome3, gobjectIntrospection, wrapGAppsHook }:

 stdenv.mkDerivation rec {
@@ -20,13 +20,14 @@ stdenv.mkDerivation rec {
     libxml2
     ninja
     pkgconfig
-    vala
+    vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
     wrapGAppsHook
   ];

   buildInputs = with gst_all_1; [
     clutter-gst
     clutter-gtk
+    gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged
     gnome3.libgee
     granite
     gst-plugins-base

@worldofpeace No problem, patch applied.

@jonafato Thanks :+1:
@GrahamcOfBorg build vocal

@GrahamcOfBorg build vocal

Three times a charm :pray:

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: vocal
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: vocal
Partial log (click to expand)
copying path '/nix/store/9m2mlry6nkhy5fvfya8wiahy7ldgdhac-libinput-1.12.2-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/r47sgmndbcn031a6hn0li547manb70ss-libunity-7.1.4' from 'https://cache.nixos.org'...
copying path '/nix/store/zrm6xha8f559c4wvcc9fmqpv71aimg1h-libinput-1.12.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/aw2kcxknrwwmb7al2qmwmjsszwfxama8-v4l-utils-1.14.2' from 'https://cache.nixos.org'...
copying path '/nix/store/vm57dh3pw1wrb9hgj2piynsbc72x8wm9-clutter-1.26.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/z4q7mq6jxb0xcp7yi71qqv470kgl4prl-gst-plugins-good-1.14.2' from 'https://cache.nixos.org'...
copying path '/nix/store/6kdpmlb5kxi0p542cfkbi0wvwahcpxq3-clutter-gst-3.0.26' from 'https://cache.nixos.org'...
copying path '/nix/store/0v73ms6z16dzqgazv4qk52705kma2mai-webkitgtk-2.20.5' from 'https://cache.nixos.org'...
copying path '/nix/store/ky3vvf4gly8i8hq0shx0bf06l4caax67-vocal-2.3.0' from 'https://cache.nixos.org'...
/nix/store/ky3vvf4gly8i8hq0shx0bf06l4caax67-vocal-2.3.0

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: vocal
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: vocal
Partial log (click to expand)
/nix/store/ky3vvf4gly8i8hq0shx0bf06l4caax67-vocal-2.3.0

Success on x86_64-linux (full log)
Attempted: vocal
Partial log (click to expand)
copying path '/nix/store/s0zlcddqx9da8h5f81c2jshc34jlyiw3-libtiff-4.0.9-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/rqbqf3l71f8z1m6mlmg9j5hvjnml72nl-pango-1.42.4-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/w0drzap2lsv5rqkan6iwf9l5hw8vkcxk-gdk-pixbuf-2.36.12-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/ahlkvf8mnbsaq4n6hd68dv7f4q5hbzi3-vala-0.40.6' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/6hg777j5qpl0rzk6a2hgznwpyfnfcmp3-cogl-1.22.2-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/1xkz6nqdp37bx4cs2nhyahl303q166v4-gtk+3-3.22.30-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/vm57dh3pw1wrb9hgj2piynsbc72x8wm9-clutter-1.26.2-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/6kdpmlb5kxi0p542cfkbi0wvwahcpxq3-clutter-gst-3.0.26' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/ky3vvf4gly8i8hq0shx0bf06l4caax67-vocal-2.3.0' from 'https://nix-cache.s3.amazonaws.com'...
/nix/store/ky3vvf4gly8i8hq0shx0bf06l4caax67-vocal-2.3.0

Failure on aarch64-linux (full log)
Attempted: vocal
Partial log (click to expand)
cannot build derivation '/nix/store/2dljjg4a97rjvmiaj4bv34g92gzya3zf-cargo-1.30.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n0wz0d2if77aj1cy0h2wv37cnzqqj38q-librsvg-2.42.4.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/771fi75d6s69nql0528mmcvl701ci01j-gst-plugins-bad-1.14.2.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/p3n1qdyb410zbslqcnzgzggxz4bjn0yk-hook.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/cw1xyb6m4hcn87cq7wfs4hwcyzj9vp0q-icon-naming-utils-0.8.90.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5yz1pdfdznp607ba177j83idljkamj5f-adwaita-icon-theme-3.30.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/2h5xzahw9d529lc87i7j2fdgxv234gfa-geoclue-2.4.12.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/w8z9k66dk1n87i1pfnskm57wgd7yl8ab-webkitgtk-2.20.5.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/xwwrys6n4s9w31c4xbwkhr9pi2lazpf1-vocal-2.3.0.drv': 10 dependencies couldn't be built
error: build of '/nix/store/xwwrys6n4s9w31c4xbwkhr9pi2lazpf1-vocal-2.3.0.drv' failed

Timed out, unknown build status on aarch64-linux (full log)
Attempted: vocal
Partial log (click to expand)
cannot build derivation '/nix/store/2dljjg4a97rjvmiaj4bv34g92gzya3zf-cargo-1.30.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n0wz0d2if77aj1cy0h2wv37cnzqqj38q-librsvg-2.42.4.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/771fi75d6s69nql0528mmcvl701ci01j-gst-plugins-bad-1.14.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/p3n1qdyb410zbslqcnzgzggxz4bjn0yk-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cw1xyb6m4hcn87cq7wfs4hwcyzj9vp0q-icon-naming-utils-0.8.90.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5yz1pdfdznp607ba177j83idljkamj5f-adwaita-icon-theme-3.30.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/2h5xzahw9d529lc87i7j2fdgxv234gfa-geoclue-2.4.12.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/w8z9k66dk1n87i1pfnskm57wgd7yl8ab-webkitgtk-2.20.5.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/xwwrys6n4s9w31c4xbwkhr9pi2lazpf1-vocal-2.3.0.drv': 3 dependencies couldn't be built
error: build of '/nix/store/xwwrys6n4s9w31c4xbwkhr9pi2lazpf1-vocal-2.3.0.drv' failed


Enable PWA private client via boolean

Small improvement to allow the use of a boolean to enable SLAS Private Client mode in commerce-sdk-react rather than a truthy string.
This change keeps open the option for non-PWA consumers of commerce-sdk-react to provide their own client secret.
Testing these changes:
In template-retail-react-app enable private clients by:

setting usePrivateClient: true in ssr.js
set enablePrivateClient={true} in app-config/index.jsx CommerceAPIProvider

Make sure the above is automatically done in a generated app.

@vmarta The intent is that this will be merged eventually into the feature/pwa-kit-slas-private-support branch.
I currently have this pointing to the the private-client-hybrid branch since these changes were originally made on top of #1696 (which will also be merged into feature/pwa-kit-slas-private-support).
I could point the PR directly to feature/pwa-kit-slas-private-support but then you'll see the contents of #1696 also.


Collector::skip_missing_input is confusing

The field skip_missing_input of crate::Collector is confusing:
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/collector.rs#L13-L18
It's used in Collector::collect_links()
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/collector.rs#L60-L66
which is passed to crate::Inputs::get_contents():
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/types/input.rs#L179-L182

The first site where this argument is used is:
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/types/input.rs#L185-L192
where Input::url_contents() may return one of the following errors:
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/types/input.rs#L270-L277
If it comes from reqwest::get(), it is critical and we should not silently skip it because the same error is almost likely to hit us again and again:
https://github.com/seanmonstar/reqwest/blob/6f714f438a4978afc1811f7c599315681cc8f205/src/lib.rs#L254-L261
If it comes from reqwest::Response::text(), that means the HTTP request returns an empty response body. This certainly could be an error users are interested. So it's reasonable to have an option to treat it as an error or not. But the naming of such option could be more appropriate such as deny_empty_response_body (which defaults to false).

The second site is:
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/types/input.rs#L238-L248
where it returns an error if the input is a file and cannot be accessed:
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/types/input.rs#L333-L335
This certainly is an hard error that lychee should always report!

Proposal:

For remote URLs, always report ErrorKind::NetworkRequest. But allows ErrorKind::ReadResponseBody unless user specified.
For file inputs, always report ErrorKind::ReadFileINput.
The said argument of crate::Inputs::get_contents() and the said field of crate::Collector should be renamed to deny_empty_response_body.

For remote URLs, always report ErrorKind::NetworkRequest. But allows ErrorKind::ReadResponseBody unless user specified.

Maybe we have to handle the check for empty response body together with the status code.
For example, if an empty body gets returned and the status code is a 204, that should be fine, right?
I'm a little reluctant to add another CLI flag for that.

For file inputs, always report ErrorKind::ReadFileINput.

I can't remember the details, but I think we added skip_missing to files because of globs or something. We can try to introduce ErrorKind::ReadFileInput as you proposed, but there could be edge-cases we might run into. The tests should tell.

The said argument of crate::Inputs::get_contents() and the said field of crate::Collector should be renamed to deny_empty_response_body.

If we go down that route, I'd slightly change the naming to avoid double negation:
Instead of deny_empty_response_body (which defaults to false) we could go with allow_empty_response_body (which defaults to true). Checks become easier to read.
Alternatively we just remove the flag without any replacement. I'd prefer that if possible.
In that case we'd need to add some checks for when missing request bodies are accepted.

Question:
https://github.com/lycheeverse/lychee/blob/e2406089ad460c3a86fcfb7a3b5e403d2cd5a7a4/lychee-lib/src/types/input.rs#L222-L224
Why do we skip all symlinks?

For the same reason that ripgrep doesn't follow symlinks by default. https://github.com/BurntSushi/ripgrep/issues/692
We should introduce a flag to overwrite this behavior, though.

@lebensterben, any feedback on this?
https://github.com/lycheeverse/lychee/issues/918#issuecomment-1385088847


Dependence resolution for pandas when using pip install -r requirements.txt

The pandas is to be loaded with version >3, <=0.25. It is causing a recursive reinstall of each version
Collecting pandas<3,>=0.25 (from streamlit->-r requirements.txt (line 11))
  Using cached pandas-2.0.2-cp311-cp311-win_amd64.whl (10.6 MB)
  Using cached pandas-2.0.0-cp311-cp311-win_amd64.whl (11.2 MB)
  Using cached pandas-1.5.3-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.5.2-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.5.1-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.5.0-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.4.4.tar.gz (4.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while.
  Using cached pandas-1.4.3.tar.gz (4.9 MB)
  Installing build dependencies ... done

I think this is due to me using an older version of numpy, which I think was forced due to me for awhile using this old library called "Abydos" for some of my phonetic filters.
Let me test updating the dependencies again to eliminate this. Also, I don't think we actually need streamlit for CTGS (but you do for Gadsby), so I will remove that too.


ScreenSmart Book Font has Width Problem on macOS

Creating a new issue from this comment: https://github.com/kiliman/operator-mono-lig/issues/1#issuecomment-330352057
The problem exists at os level, as the following screenshot shows:

What files can I send you to help with this problem?

Sorry, I have no idea why this was still open without a title so that I submitted again...


[usbdev] usbdev DV Environment

Adds updates in DV environment to supports Isochronous transaction and also can send SoF packets to device.

@jdonjdon can you please review this PR. Thanks

@jdonjdon  can you please review this PR. Thanks

Please rebase with master.
Also remove redundant vars from your usbdev_setup_trans_ignored_vseq.sv

@MubashirSaleem775 please rebase with master. ci failure has been fixed


Fix markets-list integration test

Coverage remained the same at 64.509% when pulling 212392dc5c29424c1db951f49bc4c6e1bfb053be on adrake/ch15868/fix-markets-list-integration-test into 4eb82ebbc4f7ded08922b884c602b0f0cdb844c4 on master.


Update to go 1.16.6.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Use Black for formating

Should we reformat everything with Black?
With option -l 160?
@DavidLP @laborleben

Good idea. Code base is rather complete. I tried Black some years ago and it gave not really nice results. Maybe this has changed.


Update Python package

First of all, thanks for this awesome project @FedyuninV
I would like to beg for a newer version of the Pypi package. The actual version is very outdated. I'm particularly interested in trying the updated lstm implementation
Thanks!!

Update uploaded to pip (ver 2.0.67).
BTW NeoML is ABBYY's project. I'm just one of the developers.


Time Graph

Goal
The time graph (or time tree ) is a technique to represent temporal data in a new way.

Date Representation
Date Graph Navigation

Use Cases

Date Parsing
Date Calculation
Scheduling → Feed the scheduler → Automate time based tasks
Timers → Feed the scheduler → Automate time based tasks
Asset Management → Organize assets by temporal relations
Game Statistics → Link statistical data with a given date time

Tasks

[x] Entity Types

[x] Year
[x] Month
[x] Day
[x] Hour
[x] Minute

[x] Relation Types

[x] Next Year
[x] Month of Year
[x] First Month
[x] Next Month
[x] Day of Month
[x] First Day
[x] Last Day
[x] Next Day

[x] Create Time Graph Forrest

A basic time graph is implemented.
Further work:

It would be nice to define colors for the graph representation in an extension node_color, e.g. years in blue, months in green, ...
Automatically create time graph nodes if needed
Enhance the Dynamic Graph with specialized functionalities regarding the time graph

connect/disconnect any node with a time graph node
query for

Ranges (e.g. years 2022 - 2023 or days 2023-01-04 - 2024-06-24)


Sync button [WIP]

Ok so here's what I've done

I tried to organize layout using flexbox, but futile this trial was. In the end I just made it half-way and used fixed positions and hard px values to make it look like something which isn't spectacularly ugly
I refactored online/offline coloured dot into icons, one of which is a button that triggers sync action
Icons are bound to isOnline state and change dynamically like the dot used to
Using Julia suggestion I just utlizied particular icons without importing the whole package (which is why icon code look messy)

Online view

Offline view

@juliaanholcer @arturtamborski let me consult you at this point:

How do you feel about this solution, visually?
Should sync action return some kind of message like "syncing was successfull" etc.?

I'm sorry for not explaining this in more detail in the ticket because it seems to me that you clearly lacked the context when developing this ticket.

How do you feel about this solution, visually?

What I had in mind was a little indicator/button that would non-intrusively allow for resyncing of the data on demand.
Something like a small button with a refresh icon that upon clicking would spin around few times to indicate a progress of requesting the data and in the end would turn back into a red/green refresh icon. That in itself would indicate whether or not the request was successful. I would stay away from implementing something more sophisticated (even something as simple as showing the message error) because the whole feature itself was supposed to be a side-thing that user could use to force an action or to give him back some of the control over his drives.
The app itself does already sync drives by itself and it does it every minute automatically depending on internet connection available. This sync button would be a second resort option when the regular sync didn't work for some reason.
I'm sorry for not stating it more clearly in the ticket.

Should sync action return some kind of message like "syncing was successfull" etc.?

I think no, it shouldn't because that's a lot more work (translations) for little profit. What could we show to the user to help him resolve the possible error? Indicate that he has no internet connection? If that's the case then I'd block the user from clicking the button in the first place by greying it out.

fair enough, its still a WIP :)

On 26 Aug 2020, at 21:12, OtisRed<EMAIL_ADDRESS>wrote:

@OtisRed commented on this pull request.
In frontend/src/App.vue:

       appear

     >

       <router-view @hide-menu="showMenu = false" />

     </transition>

     <Status />

     <sidebar :show="showMenu && IS_USER_LOGGED_IN" />

 <div

         id="page-wrap"

Yes it is. I didn't prettier it before pushing...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I will close this one and pull another one from a different branch (I made some mess here and it was just easier to start fresh from a clear master fork)


Ability to customize cache path and error message when not found added and readme updated - Fix #1

Fix #1:

Environment variables - RUN_NODE_ERROR_MSG and RUN_NODE_CACHE_PATH - added;
Updated readme.

Sorry the time I took to answer. Had the comments in Pending status and only noticed it now, not very familiarized with Github yet.


🚀 Feature: Error name handling

🔖 Feature description
In this feature, I want to propose better error handling, specifically for the classes described here https://backstage.io/docs/reference/errors/. As much as I have looked into the code, those classes are just serving as name handlers(e.g. CustomErrorBase class just reads the name of the class that is extending it and writes it down in the error message by setting this.name = this.constructor.name; in its constructor). Your current implementation:
https://github.com/backstage/backstage/blob/master/packages/errors/src/errors/common.ts
and
https://github.com/backstage/backstage/blob/master/packages/errors/src/errors/CustomErrorBase.ts#L56
🎤 Context
The problem with this approach starts after obfuscation or minification of the code when class names are given some random characters(e.g. "w" like in the image I am attaching) so the error alert starts looking meaningless and ugly.

✌ Possible Implementation
In this example, I am just implementing the necessary for my use case(giving classes the name attribute instead of referencing their actual name), but this could also be extended in some other way. This implementation shows the right error name displayed even after obfuscation or minification of the code.
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index c27afdc..0129203 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -73,24 +73,52 @@ class CustomErrorBase extends Error {
     }
     super(fullMessage);
     (_a = Error.captureStackTrace) == null ? void 0 : _a.call(Error, this, this.constructor);
-    this.name = this.constructor.name;
+    this.name = 'Error';
     this.cause = isError(cause) ? cause : void 0;
   }
 }

 class InputError extends CustomErrorBase {
+  constructor(message, cause) {
+    super(message, cause);
+    this.name = 'InputError';
+  }
 }
 class AuthenticationError extends CustomErrorBase {
+  constructor(message, cause) {
+    super(message, cause);
+    this.name = 'AuthenticationError';
+  }
 }
 class NotAllowedError extends CustomErrorBase {
+  constructor(message, cause) {
+    super(message, cause);
+    this.name = 'NotAllowedError';
+  }
 }
 class NotFoundError extends CustomErrorBase {
+  constructor(message, cause) {
+    super(message, cause);
+    this.name = 'NotFoundError';
+  }
 }
 class ConflictError extends CustomErrorBase {
+  constructor(message, cause) {
+    super(message, cause);
+    this.name = 'ConflictError';
+  }
 }
 class NotModifiedError extends CustomErrorBase {
+  constructor(message, cause) {
+    super(message, cause);
+    this.name = 'NotModifiedError';
+  }
 }
 class NotImplementedError extends CustomErrorBase {
+  constructor(message, cause) {
+    super(message, cause);
+    this.name = 'NotImplementedError';
+  }
 }
 class ForwardedError extends CustomErrorBase {
   constructor(message, cause) {

It is possible that I am misusing the classes in some way and if that is the case, could you tell me the recommended way to approach this issue?
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Makes sense! Are you able to make a PR? 🙏

Yes, I will make it in the week that is after the next one(22 May-26 May). Thank you a lot for the fast response!


Thread unsafety in MolToSmiles

Calling MolToSmiles on the same molecule concurrently from multiple threads can result in undefined behavior.
For me, that ub usually manifests as a process exit with signal: 6, SIGABRT but behavior can vary.
To Reproduce
I'm happy to write a test to trigger this. I just need to know where rdkit keeps its unit tests.
Expected behavior

Calling MolToSmiles never segfaults, or
the issue is mentioned in the book.

Configuration:

RDKit version: a recent clone of the master branch
OS: Ubuntu 20.04

Additional context
The issue won't be replicable using python due to GIL or boost.
Before you ask, yes, I'm handling lifetimes correctly. I'm not letting the destructor for ROMol get called prematurely. :)

Calling moltosmiles actually changes the molecule.  You’ll note that moltosmiles api takes a non-const ROMol and while MolToSmiles can be called safely in threads, the ROMol itself cannot.  To fix this, you’ll need to have a copy of the ROMol in each thread.
For sure, this behavior should probably be better documented.
The same is true, by the way, when using query molecules.
Cheers,
Brian

MolToSmiles() actually does take a const ROMol as an argument, so it's reasonable to expect that it would be safe to call it on the same molecule from multiple threads.
The only changes it makes to the molecule is to set the _smilesAtomOutputOrder and _smilesBondOutputOrder properties (the API allows changing properties on const objects), so I would guess that this is where the problem arises.
It's worth taking a look at whether or not we can fix this without completely destroying the performance the code.

Yep, I was wrong about the exposed api.
It looks like the same is true for the substructure matching api which I recall to be hard to fix as well.

I'm pretty sure that the substructure matching code is thread safe (and we do test that).
Recursive queries do require modification to the underlying query atoms, but the SSS code uses mutexes to allow that to be done in a thread-safe manner.

Yes, I think I was remembering an issue in the substructlibrary codebase since it potentially needed to add rings which is an edge case.


Fix broken flags & remove historically non-working flags

//TODO: Write tests for attributes that were forgotten initially. (Seperate PBI-- We decided to do a double-custody lock on the failure injection options.)
Removed flags (all of this is in a single commit, could easily be cherry-picked out):

with-snapshots (never worked in the first place)
background-op (no longer works; remnant of STE being a daemon)
acl (didn't work on master either)

Fixed flags:

check-length
s2s-preserve-properties
s2s-get-properties-in-backend
s2s-source-change-validation

I love the way the refactoring lets the key logic exist in just one place in copyEnumeratorInit. Made this whole PR nice and compact too.

It's nice that everything's going down one logical path now, but I don't feel like this is very good readability wise. It's a sizeable block of font that might take somebody a long time to comb through if they don't work with it much.

I love the way the refactoring lets the key logic exist in just one place in copyEnumeratorInit. Made this whole PR nice and compact too.

It's nice that everything's going down one logical path now, but I don't feel like this is very good readability wise. It's a sizeable block of font that might take somebody a long time to comb through if they don't work with it much.

Container name resolution setup could be reduced to it's own function. When I get around to full OAuth blob -> blob, this too should be reduced to it's own function. Location level setup, maybe. The actual processor is ok where it is.
What I realistically want is for this function to turn into a bunch of one liners immediately understandable by their names.

Squashing and merging!


After teleporting populated scene, we don't see other avatars until we change realms again

I think this is happening every time we teleport to a populated scene, for example the ICE Poker Stronghold or Wonder Mine.
If we change to another realm and come back to the original one, people start appearing after some time.
https://user-images.githubusercontent.com/1031741/161844815-6ebf842c-0ef3-4225-a1cb-a609587e6da7.mp4

Pravus, could you confirm if it also happens with this PR? https://github.com/decentraland/kernel/pull/261

@pravusjif , could you confirm if it also happens with this PR? decentraland/kernel#261

I confirm the problem is fixed in that PR, nice job!


Prevent unaligned addresses from being used in the direct memory access machines.

The instruction implementation already ensures this.


CLI / local dev: "supabase db dump" creates broken SQL

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I have inserted ~130k records into a hosted SB DB using the official JS client without any issues. When I then dump it into a seed.sql on local dev environment and try to reset the DB, it runs into an error.
To Reproduce

Open a local development environment
supabase db dump -f supabase/seed.sql --data-only:

Dumping data from remote database...
pg_dump: warning: there are circular foreign-key constraints among these tables:
Dumped schema to supabase/seed.sql.

supabase db reset:

Resetting local database...
Initializing schema...
Applying migration<PHONE_NUMBER>3107_base.sql...
Applying migration<PHONE_NUMBER>4344_base.sql...
Applying migration<PHONE_NUMBER>5011_foreign_keys.sql...
Seeding data supabase\seed.sql...
Restarting containers...
Error: ERROR: syntax error at or near "Villa" (SQLSTATE 42601)

Inspecting the related record in the DB shows that there is mulit-line TEXT value with some lines starting with --

EDIT: When I try supabase db reset --debug, it runs for much longer before it stops due to same error.
Expected behavior
The command supabase db reset must restore all records without any errors from seed.sql file that was generated by the dump command, esp. considering that they were originally inserted without any issues using the official SB JS client.
System information

OS: Windows 11
Version of supabase-js: n/a
Version of Node.js: v16.17.0
Version of Supabase CLI: 1.64.8

Additional context
A workaround to clean the current records of any "problematic" characters will be too much work. Also I don't want to manipulate future inputs from my users, as we are talking about e.g. generic "Notes" fields here and they should be able to write whatever they like there.
Side note: supabase db reset is also very slow. It takes 36s to get to the line ~3000 which causes the error. So if I extrapolate it to ~130,000 lines, it will take around 25min. We haven't gotten into a normal development cycle yet, so depending on how often we'll need to run it, it can be a real issue.

Hello @peachp , are you able to isolate the syntax error and share the snippet with us? That would really help with troubleshooting.
May I also check if you are limiting the memory for docker containers? Seeding is usually very fast because it uses the Postgres binary protocol. The first thing that comes to mind is perhaps your Postgres container is paging data to disk temporarily.
Alternatively, you may also file a support ticket through the hosted dashboard. I will be able to take a closer look at your project through support.

Here you go.
Console:
PS C:\Users\foo\Dev\persica> supabase db dump -f supabase/seed.sql --data-only
Dumping data from remote database...
Dumped schema to supabase/seed.sql.
PS C:\Users\foo\Dev\persica> supabase db reset
Resetting local database...
Initializing schema...
Applying migration<PHONE_NUMBER>5833_schema.sql...
Applying migration<PHONE_NUMBER>3832_test_table.sql...
Seeding data supabase\seed.sql...
Restarting containers...
Error: ERROR: syntax error at or near "Villa" (SQLSTATE 42601)
Try rerunning the command with --debug to troubleshoot the error.

The related record with values as expected, with --> at the beginning of some lines, which my users do to organise their notes / pricing info etc.:

The related SQL piece from seed.sql where you can see the lines with --> were removed, causing the next INSERT INTO to become a value:

This is the first error when supabase db reset aborts. I didn't fix it to see if there are other issues like this further in the file.
I'm using the local Supabase dev / CLI as installed per guide, without adjusting anything special in Docker. I have 32GB of DDR5 with fastest SSD and CPU money could buy a year ago.
I don't know and don't really want to know how to use Docker or "clean" SQL records that are stored in PostgreSQL perfectly fine. I just want to build my app :)
If it helps, I've been trying all sorts of ways to restore a staging / prod DB in local dev, including pg_dump and psql and Snaplet, but had similar or other issues, so yes, I know our data is not the cleanest, but then again, inserting all these records and then loading into my app using the SB JS client works just fine.
Let me know if you want me to open a support ticket for you to look at my project.

Thanks for the detailed explanation. I believe this is a bug with our code to ignore comments. Could you try the following instead?
supabase db dump -f supabase/seed.sql --data-only --keep-comments

We found the problem to be with single column inserts flag that we passed to pg_dump. I've release a new version that does batch inserts instead with significantly improved performance. Let me know if it works for you.
npx supabase@beta db dump -f supabase/seed.sql --data-only

I will give it a go and let you know. Do I still need the --keep-comments flag since we have data with lines starting with -- ?

--keep-comments flag is no longer required as it is always true for data-only dumps now.

It works now and is fast!
Out of scope of this issue, but related to the whole topic of local dev:
However, after evaluating local dev setup, we decided to use the hosted Supabase after all. Partially because of some issues & limitations with the current Supabase local dev tooling, partially because of our project-specific quirks.
For example we are in pre-go-live stage migrating data from legacy system (Airtable), so we "seed" all the DBs (incl. dev / staging) in same way as we will go live: uploading from a huge JSON file using Supabase JS client.
Once we go live this year, I plan to revisit using local dev. One issue comes to mind though that would still prevent us from using at least the db dump and db reset:  I want to anonymize / obfuscate the data from prod before I give it to developers. Currently I do it by using copycat from Snaplet guys in my script that dumps Airtable records into two versions of the huge JSON
file mentioned above: one with real data and one with obfuscated.
It would be great if Supabase CLI had an option to anonymize data. So I (as lead developer) could dump anonymized data from prod into an intermediate hosted Supabase DB, then allow other devs to dump it from there.

Hello @sweatybridge Do we have a similar error again?
supabase -v
1.127.4
supabase db reset --debug

Error at
2024/01/02 20:50:43 PG Send: {"Type":"Parse","Name":"lrupsc_1_18","Query":"\\n\n--\n-- PostgreSQL database dump\n--\n\n-- Dumped from database version 15.1 (Ubuntu 15.1-1.pgdg20.04+1)\n-- Dumped by pg_dump version 15.5 (Ubuntu 15.5-1.pgdg20.04+1)\n\nSET statement_timeout = 0","ParameterOIDs":null}
2024/01/02 20:50:43 PG Send: {"Type":"Describe","ObjectType":"S","Name":"lrupsc_1_18"}
2024/01/02 20:50:43 PG Send: {"Type":"Sync"}
2024/01/02 20:50:43 PG Recv: {"Type":"ErrorResponse","Severity":"ERROR","SeverityUnlocalized":"ERROR","Code":"42601","Message":"syntax error at or near \"\\\"","Detail":"","Hint":"","Position":1,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"scan.l","Line":1188,"Routine":"scanner_yyerror","UnknownFields":null}
2024/01/02 20:50:43 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
failed to send batch: ERROR: syntax error at or near "\" (SQLSTATE 42601)

It's a different error, which has been fixed in beta release. Try npx supabase@beta db dump --data-only
The next stable release will go out next Tuesday. Since there's a bunch of other changes in beta, we won't be back porting to stable until Tuesday.

Hello - I too am getting same error as rusakovic.  (been banging head on this all day...) even after installing supabase-beta.
2024/01/03 17:02:30 PG Send: {"Type":"Parse","Name":"lrupsc_1_7","Query":"\\n\n--\n-- PostgreSQL database dump\n--\n\n-- Dumped from database version 15.1 (Ubuntu 15.1-1.pgdg20.04+1)\n-- Dumped by pg_dump version 15.5 (Ubuntu 15.5-1.pgdg20.04+1)\n\nSET statement_timeout = 0","ParameterOIDs":null}
2024/01/03 17:02:30 PG Send: {"Type":"Describe","ObjectType":"S","Name":"lrupsc_1_7"}
2024/01/03 17:02:30 PG Send: {"Type":"Sync"}
2024/01/03 17:02:30 PG Recv: {"Type":"ErrorResponse","Severity":"ERROR","SeverityUnlocalized":"ERROR","Code":"42601","Message":"syntax error at or near \"\\\"","Detail":"","Hint":"","Position":1,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"scan.l","Line":1188,"Routine":"scanner_yyerror","UnknownFields":null}
2024/01/03 17:02:30 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
failed to send batch: ERROR: syntax error at or near "\" (SQLSTATE 42601)

I'm on MacOS and on reading this have upgraded to beta:
supabase -v
1.131.2

Please advise on how to proceed. @sweatybridge   Thank you!

@dhurbhat Manually deleting the \n characters on the first line also works.

Same here.

Dumping data via npx supabase@beta db dump -f supabase/seed.sql --data-only --use-copy
supabase start leads to:

Seeding data supabase/seed.sql...
failed to send batch: ERROR: syntax error at or near "\" (SQLSTATE 42601)

Hello,
This still seems like an issue. I was able to get around it using  npx supabase@beta db dump --data-only but that causes a different problem with connecting to remote supabase instances that are now on supavisor. I had to brew upgrade supabase to get back to a CLI that would work fine with remote supabase instances.
Has this fix been merged back into stable non-beta Supabase CLI?


RiskIQ / Passivetotal does not work anymore

RiskIQ has been bought by Microsoft, the login creation has been shut down and replaced by "Defender Threat Intelligence". Old logins are supposed to still work via API. Is there an alternative?

Ah, that's too bad. Let me see what can be done here. Thanks for the heads up!

Hi @MichaelSchreiner & @pirxthepilot,
MS bought RiskIQ but you can still register with this (hidden) link: https://community.riskiq.com/registration/wtfis
This is not a solution for the future, but OK for now...

Still can't find a viable whois alternative that has a free tier. Any recommendations?

Latest version (v0.4.0) (PR #31) adds an additional whois source (ip2whois.com) which offers 500 free queries per month. I find the data isn't as good as PT but it's better than what VT provides. I will keep looking for more quality whois sources.
Closing this issue but please create a new one if you have recommendations / ideas. Thanks!


Add site: Krish Shah

To add your site to the webring, you must be a current student or an alum of the undergraduate Software Engineering program at the University of Waterloo (Waterloo, ON, Canada).
Full Name: Krish Shah
Cohort Year: 2026
Full website URL: https://krishkrosh.com
So we know you're human:
LinkedIn or a similar profile: https://twitter.com/krishrshah
Don't forget to also add your entry to the end of the allSites array in the se-webring.js file (name, year, personal website), and to add the add site label to your pull request.

I’ll add it in a note at some point. Right now I can’t update my
website—have to fix that first.
On Thu, Jun 29, 2023 at 9:12 AM Simran Thind @.***>
wrote:

@.**** requested changes on this pull request.
Hey Krish, thanks for submitting your site! Do you think you'd be able to
add a link back to the webring somewhere on your site?
—
Reply to this email directly, view it on GitHub
https://github.com/simcard0000/se-webring/pull/37#pullrequestreview-1505265303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMANJIN4WZCUQBEJVPF4XADXNV5KHANCNFSM6AAAAAAZWOKJPI
.
You are receiving this because you authored the thread.Message ID:
@.***>


NetworkShare sql 2017 linux

Bug Report
General Troubleshooting steps

[x] Verified running latest release of dbatools?
[x] Verified errors are not related to permissions?
[x] Can duplicate in new/fresh PowerShell.exe session?

Version Information

Operating System (Name|Version): Windows 2016 to Ubuntu
PowerShell Version: 5
SQL Server (Edition|Version): SQL 2016 Developer Edition to SQL 2017 Developer Edition (Linux)

Steps to Reproduce
Copy-DbaDatabase -Source <IP_ADDRESS> -Destination <IP_ADDRESS> -SourceSqlCredential $cred -DestinationSqlCredential $cred2 -Database testdb -BackupRestore -NetworkShare \\<IP_ADDRESS>\dbatools_backup

[x] Attach output from PowerShell console (if possible/allowed)
"xyz may not be able to access \<IP_ADDRESS>\dbatools_backup. Trying anyway."

Problem to solve
Add another NetworkShare parameter titled "LinuxNetworkShare". This would allow for us to specify the equivalent Linux path to reach the share specified in NetworkShare. Without this, there is no way to use the Copy-DbaDatabase or Start-DbaMigration commands with SQL 2017 on linux.

Un, that looks like a pretty broken UNC path to me. Does Linux use a single "" for UNC paths?

nope, double like everywhere

Sorry I just updated the issue, it was escaping the slash and only displaying one incorrectly.. A proper path on Linux would look like /mnt/mountpoint
What makes this a bit more difficult for the user is SQL 2017 expects the path to be pre-mounted on the server before the script is run. Easy to accomplish, just not as seamless as windows.

So it's not a bug, it's an enhancement !
The point here would be solved:

abstracting the data movement process (or sublassing), that right now either uses bits or an smb share to ..... whatever (FTP, torrent, ?!?!) which is in charge of the DBA running the command
separating copy-dbadatabase and/or start-dbamigrations into "pre-checks/backup/dismount" - "transfer" - "mount/restore/post-checks" the logic

It's going to be pretty flaky to rely on altering mountpoints for each and every distro (and checking for smb support, etc etc etc).

can we just use Resolve-Path on SharedPath?


Some issue with latest update

Control panel is covering the preview. How can I shift them?
After Fixing View. Restore View doesn't seem to work.
Is there a way to restore skeleton back to default pose? e.g. after I messed it up or duplicating one and want to start from scratch.
I always have to hold X key to move skeleton and can't switch to move mode like the old version. That was useful when I have several skeletons to position. I could click and move.

Thanks for your amazing work 👍

Control panel is covering the preview. How can I shift them?

After Fixing View. Restore View doesn't seem to work.

how do I restore the preview to match to edit view?

Is there a way to restore skeleton back to default pose? e.g. after I messed it up or duplicating one and want to start from scratch.

Not supported yet. 😢

I always have to hold X key to move skeleton and can't switch to move mode like the old version. That was useful when I have several skeletons to position. I could click and move.

It can be switched by clicking the "Move Mode" checkbox on the controller.

Thanks for the response.
2. I've updated it to the latest and still couldn't figure out how to unfix the preview. I've tried it on Chrome and Firefox. Maybe I misunderstood something.
4. I didn't suspect that in Setting. I was searching it under Edit.
Suggestion:
It's better to put the right panel below the editor and use that space for preview, because the user doesn't need to see those steps when he's editing.
You can put the Generate button below preview. When user is happy with preview then click on generate.
Then he can scroll down to the next step to inspect all generated images and continue the process.

@nonnonstop  I add the "Unlock View" function. But it is included after a big update.


Extract client-side logging

bors r+
🤖

Let me propose not to rush with a PR here? I made some proposals about logging here: #3250

Let me suggest not to rush with a PR here?

Yep, that's a reasonable suggestion, I shouldn't have r+ed, good that the CI failed :D
Let me expand on the motivation for the current design:

we don't want to log to a file. We used to do this for the server at one point, but it turned out to be much less useful than logging to stderr and letting the client to display the logs.
logging to console is suboptimal, but works today. Ideally, we should use an output channel (like vscode already does for server logs), but I'd punt on that until it is really clear that we often need to look at client-side logs. My hypothesis is that, once we finish with renames/releaes and move syntax highlighting to the LSP, the client-side will see realatively few changes.
logging needs to be abstracted, so that we can easily change the impl.
logging needs to be disabled by default and be togglable via config
we are not really building the next tweeter, so we don't really need a logging framework: a hand-rolled dozen of lines facade should be enough (and would probably be easier to plugin into vscode's output channels)

bors d=Veetaha

@matklad
I'd propose the api I did some time ago modulo dependencies.
This means

We prefix log messages with [rust-analyzer] since it is not obvious which extension the log message originated from right away.
Error logger includes debugger statement which triggers the pause when debugger is connected (or Developer Tools are open)
time(): () => void method that allows for simple performance measurement
Methods are autobound to this, i.e. the context is saved in closure, so one can pass e.g.promise.then(log.error);

I simplified the api to (payload: unknown, message?: string) since this is the pervasive logging pattern I've noticed, though you may argue...
Also found this useful method useful.

If we log to an output channel (and that seems reasonable to me) there's no need to add a prefix.
Is a logging framework needed for debugger to work?

@lnicola debugger statement is a built-in ECMAScript standard feature. I always found it useful to put it in error() log method.
I proposed adding [rust-analyzer] if we go with console.*() implementation. If we do utilize an output channel, this might not be useful...

Added debugger, that's a nifty idea.
We don't need to bind this because we don't use this
I don't feel like we should log the time of operations, nothing should be perf-notable in the frontend. If you are debugging a particular perf degradation, conslole.time is good enough. I am not opposed to adding something like Kotlin's measureTimeMillis, I am just not sure it'll be that useful.
I'd punt on prefixes/output channels in this PR, as that can be applied separately. My two goals here are: a) add some infra b) disable logging by default.

I will miss logs enabled by default ...

You can enable logging for yourself by setting a global config (as opposed to per ws config).
I personally would also not bother with making logging togglable, and just printed all perf stuff everywhere by default. However, I think it is important for users that everything is quiet by default.

bors d=matklad

We have 1.5k lines of TypeScript total. I'd be totally fine with having
them all in a single file. At this scale, splitting into files doesn't
really matter.
On Sat, 22 Feb 2020 at 16:11, Veetaha<EMAIL_ADDRESS>wrote:

@Veetaha commented on this pull request.
In editors/code/src/util.ts
https://github.com/rust-analyzer/rust-analyzer/pull/3261#discussion_r382919119
:

@@ -0,0 +1,18 @@
+let ENABLED: boolean = false;

Yeah, mixing asserts, logs and stuff in one file is what I am not a fan
of...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/pull/3261?email_source=notifications&email_token=AANB3M56PSGKKRWZWNAEOXDREE6CLA5CNFSM4KZEUZKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWRXHUY#discussion_r382919119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M5UB4HT4BDW7EPOZF3REE6CLANCNFSM4KZEUZKA
.

the high order bit is to set logging on start up, and, on startup, we call
refresh synchroneously
On Sat, 22 Feb 2020 at 16:15, Veetaha<EMAIL_ADDRESS>wrote:

@Veetaha commented on this pull request.
In editors/code/src/config.ts
https://github.com/rust-analyzer/rust-analyzer/pull/3261#discussion_r382919313
:

@@ -46,7 +47,9 @@ export class Config {

 private refreshConfig() {
     this.cfg = vscode.workspace.getConfiguration(Config.rootSection);

   console.log("Using configuration:", this.cfg);

   const enableLogging = this.cfg.get("trace.extension") as boolean;

   log.setEnabled(enableLogging);

Hmm, I think there is a bug here. The order of onDidChangeConfiguration()
event listeners execution is undefined (I suppose), other parts of the code
use it and may not get the fresh config (i.e. refreshConfig() is not
executed earlier then other listeners)...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/pull/3261?email_source=notifications&email_token=AANB3M64E6W6QDLPUZFN5GTREE6SNA5CNFSM4KZEUZKKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCWRXI2Q#discussion_r382919313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M6SRA24NLVT36RQKGTREE6SNANCNFSM4KZEUZKA
.

Yeah, but this is not related to logging anyway...
Imagine the following workflow when the configuration change event is emitted
/* inlay hints */ vscode.workspace.onDidChangeConfiguration(() => config.displayInlayHints) // config is not refreshed yet
/* config */ vscode.workspace.onDidChangeConfiguration(() => config.refreshConfig())
/* highlighting */ vscode.workspace.onDidChangeConfiguration(() => config.highlightingOn) // though here we have fresh config

This is not related to this PR anyway...

Sorry for being too nitty, I'll try to follow the conventions and not ask for following my own once I get to know all them...

Yeah, in general, I lean towards merging code as is, unless it breaks tests
or violates important architectural properties, and then merging PRs that
cleanup the code.
http://hintjens.com/blog:106

@matklad I thought I passed you the rights to merge this?

oh, missed that actually!

bors r+


Authentification: Added time conversion in new login emails.

This commit adds code for the date and time conversion in
"new login" emails according to the user's timezone.
Fixes #9336

@timabbott , I've updated test_send_login_emails_if_send_login_email_setting_is_true as you suggested. Thanks!

Nice, merged, thanks @zy964c!


.remove() with array of keys or documents

In 3.0 we have introduced that the DELETE endpoint /_api/document/ can be used to delete multiple documents (see https://docs.arangodb.com/3.1/HTTP/Document/WorkingWithDocuments.html#removes-multiple-documents). In the server JS and in arangosh this is implemented in the way that the .remove() method of a collection object can take a list of strings (keys or ids) or a list of documents and will then remove all the documents given. It would be desirable to implement this behaviour in arangojs as well.

I've checked the sources and it seems like this is not implemented yet.
Would it be ok if I worked on this and submitted a pull request?
Are there any guidelines/recommendations/etc.?

Actually just noticed the removeByKeys, so maybe it's already in there?

No, this is separate from remove-by-keys, which uses the deprecated simple query API.
@rraziel if you'd like to work on this, that'd be awesome. Just keep in mind we need a signed Contributor License Agreement (CLA) for legal reasons before we can merge any PR.
You can download the form from our website: https://www.arangodb.com/documents/cla.pdf
Once you've filled out and signed it, please send it to us via e-mail<EMAIL_ADDRESS>or fax: +49-221-2722999-88.

This issue will be addressed by the upcoming major release.


How to do few-shot in-context learning with BLIP2/InstructBLIP?

Hi, thanks for the great work!
I wonder how can I prompt BLIP2 and InstructBLIP to do few-shot in-context learning, e.g. few-shot VQA. Specifically, I want to have the input like [Img] [QA1] [Img] [QA2] ... [Img][Qn] --> Answer.
I saw this issue #433 about how to prompt with <Img, Q1, A1, Q2, ?>. So the difference here is how can I input multiple images? Many thanks!

I'm also wondering if we can feed multiple images

Have you found a method? I also want to do a few shot experiment.

FYI. I didn't find a neat way for few-shot BLIP, but I implemented the few-shot inference of many other V-L models here: https://github.com/ys-zong/VL-ICL


kid returned in id_token is not present in the public keys json object

[Enter feedback here]
This page says to look at the kid value returned in the id_token, check against the jwks_uri page for which public key has been used for this particular authentication event, and then decrypt the id_token's signature using that public key.
The kid returned in my id_token is not present in the public keys json at all. How do I find the public key?
Would appreciate any help!
Thanks!

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

ID: 2906fe9e-319d-3625-441d-d28c9251b450
Version Independent ID: 168fde63-9b86-41a9-f1cc-7b5a0e2e5d7a
Content: Learn about the different token and claim types supported by Azure AD
Content Source: articles/active-directory/develop/active-directory-token-and-claims.md
Service: active-directory
GitHub Login: @CelesteDG
Microsoft Alias: celested

Needed to look at the v2.0 url - I was doing it wrong. Closing the issue.

@suparnavg thanks for your comment. Please don't hesitate to ;ping if you have any other questions.


HAI-1427 Add text (pdf) to the end of privacy policy page link text

Description
Added text (pdf) to the end of privacy policy page link text to make it clear for user that it links to pdf instead of html page.
Jira Issue: https://helsinkisolutionoffice.atlassian.net/browse/HAI-1427
Type of change

[ ] Bug fix
[ ] New feature
[x] Other

Checklist:

[ ] I have written new tests (if applicable)
[x] I have ran the tests myself (if applicable)
[ ] I have made necessary changes to the documentation, link to confluence
or other location:

Looking good.


Does the czml support this polygon hole structure?

const bluePolygon = viewer.entities.add({
  name: "Blue polygon with holes",
  polygon: {
    hierarchy: {
      positions: Cesium.Cartesian3.fromDegreesArray([
        -99.0,
        30.0,
        -85.0,
        30.0,
        -85.0,
        40.0,
        -99.0,
        40.0,
      ]),
      holes: [
        {
          positions: Cesium.Cartesian3.fromDegreesArray([
            -97.0,
            31.0,
            -97.0,
            39.0,
            -87.0,
            39.0,
            -87.0,
            31.0,
          ]),
          holes: [
            {
              positions: Cesium.Cartesian3.fromDegreesArray([
                -95.0,
                33.0,
                -89.0,
                33.0,
                -89.0,
                37.0,
                -95.0,
                37.0,
              ]),
              holes: [
                {
                  positions: Cesium.Cartesian3.fromDegreesArray([
                    -93.0,
                    34.0,
                    -91.0,
                    34.0,
                    -91.0,
                    36.0,
                    -93.0,
                    36.0,
                  ]),
                },
              ],
            },
          ],
        },
      ],
    },
    material: Cesium.Color.BLUE.withAlpha(0.5),
    height: 0,
    outline: true, // height is required for outline to display
  },
});

I don‘t know how to use Czml to create a polygon with complicated interior holes. Does CzmlDataSource support this structure?
Here is sandlink: https://sandcastle.cesium.com/?src=Polygon.html&label=All

Hi @Lemonjay,
CZML should support polygons with holes. See the CZML reference for the structure.
CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. In the future, please take any questions to the Cesium Forum where there are members of the community and developers from the team who can help. Thanks!

@ggetz thanks . I know czml support polygon with holes。But I just want to know how to write this complicated example with complicated complicated interior holes. I have tried some ,but failed .
some example like this below:
// packet
{
    "id": "a160d461-9073-4103-aae2-17a3e5aa4a45-tests",
    "name": "Blue polygon with holes",
    "polygon": {
      "positions": {
        "cartographicDegrees": [
          -99.00000000000001,
          29.999999999999993,
          0,
          -85,
          29.999999999999993,
          0,
          -85,
          39.999999999999986,
          0,
          -99.00000000000001,
          39.99999999999999,
          0
        ]
      },
      "holes": [
        {
          "cartographicDegrees": [
            [
              -97,
              31,
              0,
              -97,
              39,
              0,
              -87,
              39,
              0,
              -87,
              31,
              0
            ]
          ],
          "holes": [
            {
              "cartographicDegrees": [
                [
                  -95,
                  33,
                  0,
                  -89,
                  33,
                  0,
                  -89,
                  37,
                  0,
                  -95,
                  37,
                  0
                ]
              ]
            }
          ]
        }
      ],
      "material": {
        "solidColor": {
          "color": {
            "rgbaf": [
              0,
              0,
              1,
              0.5
            ]
          }
        }
      },
      "outline": true
    }
  }


chore: drop postinstall

🔗 Linked issue
related nuxt-modules/sitemap#303
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[x] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Drop postinstall considering that it will also affect Nuxt Scripts.
postinstall is added in this commit: 735fdbd9be6792d64221134a91a1f45a819c3179

Hi @harlan-zw , I fixed this before it affected users.

cc/ @huang-julien


Stacked bar columns and area chart

Hi. I need to create a stacked bar column at 100%, and also have an area chart, where each point of the line will be the dots where where one bar ends and the other starts (for example, if I have one red bar at 23%, and one bar at blue on 77%, the dot line would be at 23%.
Describe alternatives you've considered
I tried a stacked with lines, but I need to set the background below the line and I could not find out how to do it. If this is possible, it would be a nice solution.
Currently, I also used the stacked with bars and lines, but when adding stacktype 100%, it does not work well.

Sorry, stacked bar and line in the same chart is not possible currently.


p-est values >1

In the prob-establish-log.csv file, we have AvgProbEst values that exceed 1.

Actually all the output (columns D-G) looks funky.  All the multipliers look off- Avg Temp >1, AvgMinJan and AvgSoil go up to 22.  Even if you just have one climate region.

The average calculation was not resetting to zero.  Fixed, new installer, committed.


Support for SBOM as input to grype

It would be useful to have this component take a SBOM as input, just like the Trivy one does: https://github.com/fluent-ci-templates/trivy-pipeline?tab=readme-ov-file#jobs
That way the task can be split into:

Scanning done once, e.g. on image build using Syft or other tools
Vulnerability check done periodically by Grype

As the Grype README states:

Use SBOMs for even faster vulnerability scanning in Grype:

# Then scan for new vulnerabilities as frequently as needed
grype sbom:./sbom.json

# (You can also pipe the SBOM into Grype)
cat ./sbom.json | grype

Grype supports input of Syft, SPDX, and CycloneDX SBOM formats. If Syft has generated any of these file types, they should have the appropriate information to work properly with Grype.

Hi @jornh ,
Thank you for your suggestion and for pointing out the potential benefits of integrating SBOM (Software Bill of Materials) support into the component.
I've just added support for SBOM,
You can see an example with syft here.
If you have any further suggestions or questions, please feel free to share them with us.
Thank you again for your suggestion and for your contribution to the project.


IPTT filter panel > Most recent field

This ticket applies to both versions of the IPTT report.

[ ] 1. I can click directly into the "Most recent" text box and start typing. I don't have to first select the radio button.
[ ] 2. When I choose "Most recent" and apply changes, I can immediately click into the text box to enter a different number. (Right now I have to toggle the radio buttons back and forth before I can enter a different value.
[ ] 3. Make sure there isn't a big gap between the "Most recent" label and its text box. (Remember that this label will be translated.)

This is a duplicate of #239.

It's NOT a duplicate. #239 deals with the IPTT landing page. This ticket deals with the filter panel drop down. Argh!

Merged these items into ticket #333.


Custom SSL certificate support for git integration

Is your feature request related to a problem? Please describe.
In our company we have a corporate SSL certificate used for our intranet resources. This makes it impossible to use git integration in Insomnia, which, as I assume, uses bundled certificates.
Describe the solution you'd like
A perfect solution would be to either pick up the certificates from the system, or at least provide a way to specify them in the application preferences.
Describe alternatives you've considered
Right now the only way I managed to bypass these restrictions is by setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to 0, but this is hardly a convenient and secure solution. This is obviously one the major blockers for adopting Insomnia Designer.

Welcome @DrMetallius
Great point, I'm sure other corporations have similar setups, looking into it seems like we will have to use a custom http agent for our git integration.


Message not created when incident created

i'am using irisclient python to create incident but there is no message created ( notification)

only incident that i created

Messages will only be created for an incident if Iris-sender is running. Can you try doing a "make sender" or running sender.py in src/iris/bin?

i get the message know thx, but i don't have the email in my inbox even if the smtp server configuration is good and i get the status sent in message

I'm guessing this is related to #410 , closing this and continuing there. If Iris is using the dummy vendor instead of SMTP, it's likely that all you need to do is reconfigure it to use the STMP vendor.


Add optional comment / rationale to single checklist entries

This might be done together with #254.
Source: Kernteam Meeting 20.7.

@mdrie do I understand this right that this is about the local team's rationale about why a certain check is not fulfilled?


Thanks you! it works out of the box!

I was looking for a quick weather module for my mirror. Yours worked out of the box. Many dont. Thank you!

Thanks

Thanks


Jesse: Watch mapmycourse.in

Jesse requests the watch of the watch_keyword mapmycourse\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mapmycourse\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.


excessive dependencies...

importing this package adds ~60Mb of dependencies (not counting truffle). its a Solidity-only project Solidity-only, so it shouldn't add js modules.

you can use truffle-flattener to get a flatten sol.

This should be all solved in the most recent commit! 😊 🙌
Thank you!


Linear Filters with alssms

Linear Filters should write as:
costs = lm.CompositeCost(alssms, (segment_left, segment_right), F=np.ones( (M, 2) ))
filter signal and take the approximation
rls = lm.create_rls(costs, steady_state=True)
y_hat = rls.filter_minimize_y(y, c0)  # naming must be discussed; alternative: rls.alssm_filter(y, c0)

y_hats =  rls.filter_minimize_yhat(y, c0=None)
statespce applciations:
alssm_filt(y, alssms, segments)

Example Structre
Version 1
costs.eval_alssm_output()
Version 2
y_hats = rls.filter_minimize_yhat(y, c0=None)
Version 3
alssm_filt(y, alssms, segments)

commit on 21-linear-filters-with-alssms

fix v2.1.2 #46


Move utils imports in to template tag functions

Could this be a possible fix for #71 :thinking:

This is interesting. That might just work.

@lemonsaurus @edrik Sounds really nice. How do we proceed with this, do you want to merge it right away or should I test it locally somehow to see if it resolves my issue?

If you were able to test it locally, that would be extremely convenient. The hacky, easy way to test it is to just copy paste the code from this pull request straight into your virtual environment install, under /your/venv/folder/lib/python3.x/site-packages/django_simple_bulma/templatetags.

Hacks are perfectly fine at this stage... :grin:
The only problem is that this is rather intermittent. I just tried to run ./manage.py runserver 10 times and couldn't reproduce the issue a single time.
I applied the changes from here (thanks @edrik :pray:), and it worked similarly. 10 times, no exceptions.
So, it at least doesn't seem to make things worse at least. :grin: I can keep the changes for now and will report back if I see it again or not within the next few days.

Actually, I'll just merge this and add it to 2.3.1, it's fine.


[improve] set apiGetwayUrl in config instead of dynamic generation #1414

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind backend-change
/kind ui-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Please update env of production server:
Add the following:
IOTEX_API=https://iotexscan.io


[main] Max in flight status tests

Description of the Change

Add copy-source tests to verify max-in-flight output
Add rollback tests to verify max-in-flight output
Add restage tests to verify max-in-flight output
Add restart tests to verify max-in-flight output
Add push tests to verify max-in-flight output

This is the main branch equivalent for #3100

Looks like a network issue. I retriggered int tests.

re-running flaked int tests


Switch to jdk6 for tests

Fixes #1169

Sun JDK6 is not provided.
You could use OpenJDK 6 instead.

Hmm, it still compiles the project.
Then the maven plugin signature check sounds like a good solution.
Shall we close this then?

It still tries to compile the project using JDK6.
I think that the Maven plugin that checks the signatures is a good alternative.
It also runs client-side, so it's validated early.

Ok, let's try that instead.


Can I use codegen with cloudformation (without amplify CLI)?

Is it possible to generate the graphql resolvers for appsync using cloudformation rather than the amplify CLI?
I wish to reproduce my Appsync and DynamoDB stack in cloudformation as the rest of our services use that.

I'm not super clear about your question. Some more details would be helpful.
Amplify CLI generated Cloudformation files for you and the corresponding resolvers which it reference in it's Cloudformation files.

@kaustavghosh06 thanks for the reply, I will try to clarify my situation and hopefully make my question clearer.
All of our stacks are managed through cloudformation, as all of the AWS services we use are available through cloudformation alone. We do not wish to use amplify CLI to deploy appsync and dynamodb, we wish to do this through cloudformation in the AWS console. We do not use any custom resolvers. The only way I can find to generate the default resolvers (with codegen) is to use amplify CLI. The generated cloudformation stacks are very confusing and have external file references. It is unclear which generated cloudformation file would need to be used and/or what modification I would need to make to reference the external resolver files.

Is there a way to use codegen to generate the resolvers without using amplify CLI?
If not, what steps would I need to take to deploy the appsync and dynamodb stack without using amplify CLI for deployment?

Is there a way to use codegen to generate the resolvers without using amplify CLI?

the graphql-transformer is published to NPM as a separate package along with all the transformer plugins. If Amplify CLI does not fit your need, then you could use the transformer directly without using the Amplify CLI, similar to how the CLI uses it.

2. If not, what steps would I need to take to deploy the appsync and dynamodb stack without using amplify CLI for deployment?

Amplify CLI generates the Cloud Formation stack inside the build directory of the API which can be deployed with out using Amplify CLI as long as the right parameters are passed to the stack. Some of the common parameter that needs to be passed are

AppSyncApiName
env
S3DeploymentBucket - this is the name of the bucket where the resolver templates and schema is uploaded
S3DeploymentRootKey - the path in the deployment bucket where the build folder is uploaded

If your API has auth directive with user pool then you will have to pass these as well

AuthCognitoUserPoolId
authRoleName
unauthRoleName

Just keep in mind if you're managing the stacks directly, then the sanity check would not be available to you which checks for changes in your Dynamo Db Indexes and warns about possible deployment failures

thanks @yuth


JDBC3PreparedStatement.setObject(int pos, Object value) when on unknow type should be throw SQLFeatureNotSupportedException not toString()

Is your feature request related to a problem? Please describe.
If i have a LocalDateTime , When i use PreparedStatement(JDBC3PreparedStatement).setObject(int pos, Object value) , is should throw SQLFeatureNotSupportedException not call LocalDateTime.toString()
Describe the solution you'd like
JDBC3PreparedStatement.setObject(int pos, Object value) when on unknow type should be throw SQLFeatureNotSupportedException not toString()
Describe alternatives you've considered
None
Additional context
None

Can you explain why?

Because most of the time, toString() cannot represent the truly useful information of the data, and if an exception is thrown, I can perform special processing after catching the exception.

The spec says :

SQLException - if parameterIndex does not correspond to a parameter marker in the SQL statement; if a database access error occurs; this method is called on a closed PreparedStatement or the type of the given object is ambiguous

I think we recently added support to return LocalDateTime, thus it should not be ambiguous, and should not throw an exception.

I know this may break some code that use on it.  How about make it configurable

We can add support for Java 8 date and time in a next release.

I looked into that, and it works as expected. toString for LocalDateTime is an acceptable representation of a timestamp for SQLite.
I don't understand what is your problem with this.

I don't know why you always persist in LocalDateTime I'm just using LocalDateTime as an example. The essence of the problem is that SQLFeatureNotSupportedException should be thrown for unknown types.

I don't know why you always persist in LocalDateTime I'm just using LocalDateTime as an example. The essence of the problem is that SQLFeatureNotSupportedException should be thrown for unknown types.

you need to state the problem correctly in that case. You clearly mentioned LocalDateTime in the issue, which works fine with the existing code, so it is a badly chosen example.


Fail to load :ami setting from Vagrantfile

Hi, there,
I installed vagrant-aws 0.7.2 in cloudfoundry/bosh-lite and then tried to setup a VM on AWS via following Vagrantfile,

config.vm.provider :aws do |v, override|
override.vm.box_version = '9000.130.0'
v.access_key_id = ENV['BOSH_AWS_ACCESS_KEY_ID']
v.ami = "ami-2d39803a"
v.instance_type = "m4.large"
v.secret_access_key = ENV['BOSH_AWS_SECRET_ACCESS_KEY']
v.subnet_id = ENV['BOSH_AWS_SUBNET_ID']
v.region = ENV['BOSH_AWS_REGION']
v.block_device_mapping = [{ 'DeviceName' => '/dev/sdb1', 'Ebs.VolumeType'=>'gp2', 'Ebs.VolumeSize' => 120, 'VirtualName' => 'ephemeral0' }]
v.associate_public_ip = true
end

However, it failed due to incorrect ami. The console outputted is

==> default:  -- AMI: ami-d00c5cba

but the one set in Vagrantfile is

v.ami = "ami-2d39803a"

Could you help to give me some suggestion?
Notes,

I check "ami-2d39803a" again and make sure it is in correct region (us-east-1).

Oh, got it,
When using

aws.region_config "us-east-1", :ami => "ami-2d39803a"

the ami setting can be read correctly.


!DOCTYPE html tag in result

With this site http://cocon.se/,  I have <!DOCTYPE html> in result text content.
Is it normal?
Test
	originalTest := "<!DOCTYPE html>
Hello World
"
	strippedTest := strip.StripTags(originalTest) // => "<!DOCTYPE html>Hello WorldHello World"
	println(strippedTest)

Technically, DOCTYPE is not a HTML tag so it would not be stripped. Generally, you want this at the top of your page to tell the browser how to interpret the page (e.g. using HTML 5 and not quirks mode).
Here's some info on this:
https://stackoverflow.com/questions/414891/what-is-doctype

Basically, the DOCTYPE describes the HTML that will be used in your page.
Browsers also use the DOCTYPE to determine how to render a page. Not including a DOCTYPE or including an incorrect DOCTYPE can trigger quirks mode.

https://www.w3schools.com/tags/tag_doctype.asp

The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.


Why are the results or md5 all the same after multiple inferences when using the same layout？

Normally，the generate result should be different every time when use the same layout and prompt. But, use your model, the result and md5 of image are all the same

Thank you for your interest in our work! Normally for reproductivity, we could set the random seed to a fixed value like here. Therefore, to generate multiple different images with the same input layout, you might simply comment out this line.


Fix -Wunsued-variable and -Wunused-but-set-variable warnings

Fix -Wunsued-variable and -Wunused-but-set-variable warnings
This patch fixes -Wunsued-variable and -Wunused-but-set-variable warnings produced by clang

The description contains two identical sentences. They can be combined in one "Fix  -Wunused-variable and -Wunused-but-set-variable warnings produced by Clang". The first letter in the Clang word should be in upper case
Typo:  -Wunsued-variable

Please change -Wunsued-variable to -Wunused-variable in title and PR description.


New grid

have you guys ever thought of adding more sizes to your grid, like xs and xl?

duplicate of https://github.com/Dogfalo/materialize/issues/644


Tikv oom after continue run oltp insert for about  4 hours

Bug Report

What version of TiKV are you using?

[2022/03/07 12:28:00.817 +08:00] [INFO] [client.go:338] ["Cluster version information"] [type=pd] [version=6.0.0-nightly] [git_hash=9bbd6df243b483ac998fb41448d6d71c7dc42eb8]
[2022/03/07 12:28:00.817 +08:00] [INFO] [client.go:338] ["Cluster version information"] [type=tikv] [version=6.0.0-alpha] [git_hash=005efd56d3405b72a26bf623b5895cf3d9da0a6f]
[2022/03/07 12:28:00.817 +08:00] [INFO] [client.go:338] ["Cluster version information"] [type=tidb] [version=6.0.0-nightly] [git_hash=7cf784cf265a1268439a0d401084ffff96b74738]
What operating system and CPU are you using?

Steps to reproduce

run oltp_stability_005, just run oltp insert util disk is full.
What did you expect?
Everything works fine, no panic and no oom in all components.
What did happened?
Tikv oom .

/type bug
/severity major
/assign tier-cap