[DEV-1900] Api price-fee payment prediction

Release Checklist
Pre-Release

[ ] Check migrations

No database related infos (sqldb-xxx)
Impact on GS (new/removed columns)

[ ] Check for linter errors (in PR)
[ ] Test basic user operations

Login/logout
Registration
Update user data
Create/delete payment routes

Post-Release

Test basic user operations
Monitor application insights log

Migration


Prepare for prioritize issues & update .gitignore for goland users

Prepare for Prioritize issues & update .gitignore for goland users.
Target on the Issue
Signed-off-by: BetaCat0<EMAIL_ADDRESS>

enhancement


readme images

cool

cool +10 !
On Thu, Nov 2, 2017 at 7:06 PM, joshua vogelstein<EMAIL_ADDRESS>wrote:

cool
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/9#issuecomment-341584210, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALX0y5iIDNdxV-6w7L-524GbZVL6wJH8ks5syksGgaJpZM4QQdza
.

why is this an issue?

gives you a static perma-image link without having to push the file to the
repo itself unnecessarily.
On Thu, Nov 2, 2017 at 9:58 PM, joshua vogelstein<EMAIL_ADDRESS>wrote:

why is this an issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/9#issuecomment-341606898, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIeNW10GxpGzDX0OsPQXmPYo7QQl88B7ks5synNagaJpZM4QQdza
.

--
Eric Bridgeford
ericwb.me

but can we close the issue?
On Thu, Nov 2, 2017 at 10:12 PM, Eric Bridgeford<EMAIL_ADDRESS>wrote:

gives you a static perma-image link without having to push the file to the
repo itself unnecessarily.
On Thu, Nov 2, 2017 at 9:58 PM, joshua vogelstein <
<EMAIL_ADDRESS>wrote:

why is this an issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/9#issuecomment-341606898, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AIeNW10GxpGzDX0OsPQXmPYo7QQl88B7ks5synNagaJpZM4QQdza>
.

--
Eric Bridgeford
ericwb.me
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/9#issuecomment-341608165, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACjcsDVFLLZy1L8e8vI1zvbbiu7zuoTks5synaRgaJpZM4QQdza
.

--
the glass is all full:  half water, half air.
neurodata.io
ps - i am committed to responding to my emails,
it often takes about a week.  thank you for understanding.


removing tasks in queue metric since this doesn't make sense anymore

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-612


main scope polluted with test dependencies

Summary
The main scope polluted with test dependencies
https://github.com/Alluxio/alluxio/blob/a375ff4f455d20b2dc5632938931df233c96e917/minicluster/pom.xml#L45
Urgency
It's better to avoid test artefacts potentially creeping into production deployment (wasting resources system and providing ability to introduce dependant accidental dependencies in client's code).

thanks @pranasblk this is definitely a good suggestion. On a related note, are you currently using alluxio minicluster to test your Alluxio application? I would like to learn more about the experience. Previously users have problems with it https://github.com/Alluxio/alluxio/issues/8564

The Alluxio minicluster is intended to be used in testing environments as a mock Alluxio cluster. Therefore the dependencies are included outside of just a test scope.

Hi,
Not using it at the moment, but code looks good. I'll keep it on my list of
technology to explore.
Regards
Pranas
On Wed., 31 Jul. 2019, 8:12 am Calvin Jia<EMAIL_ADDRESS>wrote:

The Alluxio minicluster is intended to be used in testing environments as
a mock Alluxio cluster. Therefore the dependencies are included outside of
just a test scope.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Alluxio/alluxio/issues/9560?email_source=notifications&email_token=AA4JY4W7XPBABFZVSN33N2TQCC4C3A5CNFSM4IGXT73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FO3OQ#issuecomment-516615610,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4JY4U6EEENYS33HJ2HD6LQCC4C3ANCNFSM4IGXT73A
.

@pranasblk curator-test is needed in this module as this Alluxio Minicluster is supposed to be used as a mock in other Alluxio tests as well as external projects. Thus it is depended on compile scope currently.
but @calvinjia in the same pom, depending on the junit on compile scope is unnecessary and powermock-reflect can be relatively easily worked around too (only one method is using it). If I have spare time I will submit a small fix to improve it. For now I will close this issue as depending on curator-test is expected
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-reflect</artifactId>
      <scope>compile</scope>


fix(queue): avoid make twice environment

Resolved issue: #728

Make resolves the ioc bound entity. If it's a singleton it won't be created twice. Not sure what your PR tries to solve, can you give some evidence of duplicate instantiation?

@luceos I've add what I raise an error in the issue:
https://github.com/hyn/multi-tenant/issues/728

I'm not merging this until we get closure on what is happening. I hate to change code that seemingly changes nothing just to satisfy undetermined behaviour in one installation, sorry.

I understand @luceos.
I only wanted to help you :/

I understand and it's much appreciated. This is in no way a criticism towards your efforts, on the contrary it's my responsibility as a maintainer to guarantee quality and working code, as such I have to carefully review anything that comes into the package.
👏 keep it up though, considering contributing back and thinking over possible issues helps mature this package further!


[2821] Fixed early year salaried trainee grant issue

Context
Early year salaried trainee grant issue
Changes proposed in this pull request
Fixed early year salaried trainee grant issue
Guidance to review
Pull down database and run

 [M] Grants - fix any trainees with the wrong funding method


Incorrect HTTP Response Code for responseTimeout

According to TS-0009, table 6.3.2-1, the HTTP status response code for the 4008 REQUEST_TIMEOUT status should be 504 GATEWAY_TIMEOUT.
Modifying this line to be HTTPStatus.GATEWAY_TIMEOUT will fix this.

Good catch. Thank you.


Schema diagram?

Hi, is there a schema diagram for the objects in the GA4GH schema? I think it would really help to have something like to communicate how all the entities relate to one another.
If there isn't, I'd be happy to make one :)
Thanks,
Will

I believe there was one done for variants here but none exist for the entire GA4GH

@adamnovak wrote code to make a UML. See PR #297

It has since been dramatically expanded and improved by@malisas and turned
into https://github.com/malisas/schema-uml which produces much better
diagrams and also now supports Protobuf.
See for example
https://github.com/malisas/schema-uml/blob/master/avro2uml/example_svgs/everything_edited_2016-03-13.svg
On Thu, Apr 28, 2016 at 1:49 PM, Sean Upchurch<EMAIL_ADDRESS>wrote:

@adamnovak https://github.com/adamnovak wrote code to make a UML. See
PR #297 https://github.com/ga4gh/schemas/pull/297
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/ga4gh/schemas/issues/618#issuecomment-215556473

Yep, the Avro and Protobuf versions both work now (I've been meaning to share my work with GA4GH but never got around to it).
Please let me know if some of the instructions are unclear or don't work for your system (I've only tested on Ubuntu 14.04). I'm also happy to take suggestions/collaborate on making the code better, and I'll take diagram requests as well.
The current protobuf ga4gh schema uml is here. You can click on the grey clusters to go to the corresponding file.

thanks for all the comments, that diagram is very helpful!

@malisas does it make sense to include your work with the ga4gh-schemas? @will-fitzhugh given you've found what you're looking for would it be OK to close this?

Yes, thanks for the ping. Closing.

Sure, maybe I can put it in the tools folder? I'll try to clean up the code in the next few weeks and submit a PR.

if you point me at the program, I might be able to make suggestions
on location and integration
Malisa<EMAIL_ADDRESS>writes:

Sure, maybe I can put it in the tools folder? I'll try to clean up the code in
the next few weeks and submit a PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.*


Support for shap==0.43.0

Describe the bug
There was new release of shap https://github.com/shap/shap/releases/tag/v0.43.0, which results in fail when importing from probatus.
Environment (please complete the following information):

probatus @ git+https://github.com/ing-bank/probatus.git@0be29d027b87a2247dc6d2f180e94c4a36ac8866
Python 3.11.6 (main, Oct  2 2023, 20:46:14) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)]
OS: macOS

To Reproduce
Run
from probatus.feature_elimination import ShapRFECV

Error traceback
If applicable please provide full traceback of the error.
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[82], line 3
      1 import lightgbm
      2 from sklearn.model_selection import RandomizedSearchCV
----> 3 from probatus.feature_elimination import ShapRFECV, EarlyStoppingShapRFECV
      5 params = {
      6     "learning_rate": 0.05,
      7     "colsample_bytree": 0.75,
   (...)
     17     "seed": 1234,
     18 }
     20 # waiting for RandomizedSearchCV support to be solved in probatus
     21 # param_grid = {
     22 #     "num_leaves": [25, 50, 100, 150, 200],
     23 # }

File [~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/feature_elimination/__init__.py:21](https://file+.vscode-resource.vscode-cdn.net/Users/danielherman/Documents/projects/PSW_devel/workflow/~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/feature_elimination/__init__.py:21)
      1 # Copyright (c) 2020 ING Bank N.V.
      2 #
      3 # Permission is hereby granted, free of charge, to any person obtaining a copy of
   (...)
     17 # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
     18 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---> 21 from .feature_elimination import ShapRFECV, EarlyStoppingShapRFECV
     23 __all__ = ["ShapRFECV", "EarlyStoppingShapRFECV"]

File [~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/feature_elimination/feature_elimination.py:11](https://file+.vscode-resource.vscode-cdn.net/Users/danielherman/Documents/projects/PSW_devel/workflow/~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/feature_elimination/feature_elimination.py:11)
      8 from sklearn.model_selection import check_cv
      9 from sklearn.model_selection._search import BaseSearchCV
---> 11 from probatus.utils import (
     12     BaseFitComputePlotClass,
     13     assure_pandas_series,
     14     calculate_shap_importance,
     15     get_single_scorer,
     16     preprocess_data,
     17     preprocess_labels,
     18     shap_calc,
     19 )
     22 class ShapRFECV(BaseFitComputePlotClass):
     23     """
     24     This class performs Backwards Recursive Feature Elimination, using SHAP feature importance.
     25
   (...)
    100
    101     """  # noqa

File [~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/utils/__init__.py:31](https://file+.vscode-resource.vscode-cdn.net/Users/danielherman/Documents/projects/PSW_devel/workflow/~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/utils/__init__.py:31)
     21 from .scoring import Scorer, get_scorers, get_single_scorer
     22 from .arrayfuncs import (
     23     assure_numpy_array,
     24     assure_pandas_df,
   (...)
     29     preprocess_labels,
     30 )
---> 31 from .shap_helpers import shap_calc, shap_to_df, calculate_shap_importance
     32 from .warnings import ApproximationWarning
     33 from ._utils import (
     34     class_name_from_object,
     35     assure_list_of_strings,
     36     assure_list_values_allowed,
     37 )

File [~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/utils/shap_helpers.py:26](https://file+.vscode-resource.vscode-cdn.net/Users/danielherman/Documents/projects/PSW_devel/workflow/~/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/probatus/utils/shap_helpers.py:26)
     24 import pandas as pd
     25 from shap import Explainer
---> 26 from shap.explainers._tree import Tree
     27 from shap.utils import sample
     28 from sklearn.pipeline import Pipeline

ImportError: cannot import name 'Tree' from 'shap.explainers._tree' (/Users/danielherman/Documents/projects/PSW_devel/workflow/env/lib/python3.11/site-packages/shap/explainers/_tree.py)

Same problem for me!!

Same here, pretty annoying.

Same problem for me!!

The issue is due to this: https://github.com/shap/shap/pull/3247 I'll look into changing the code accordingly

@yustiks @max-franceschi @xuican @jip333 it should be fixed in SHAP

fixed


Invalid request signature detected when running a bot inside a container

I have a small bot code (just copying from the sample) which runs ok locally. But, not working after I packaged into a container. It gave me an error of

INFO:slack_bolt.RequestVerification:Invalid request signature detected

INFO:     <IP_ADDRESS>:21464 - "POST /slack/events HTTP/1.1" 401 Unauthorized

I noticed "<IP_ADDRESS>". Is the bot checking the source IP?
Reproducible in:
The slack_bolt version
slack-bolt==1.18.1
slack_sdk==3.27.1
Python runtime version
Python 3.12.1
OS info
ProductName:		macOS
ProductVersion:		13.4
BuildVersion:		22F66
Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:19 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6020
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))

uvicorn main:fast_api --app-dir . --port 8168 --reload-exclude "Repo/**"

Expected result:
The application can handle "POST /slack/events"
Actual result:
2024-04-01 14:56:09 request_body: <starlette.requests.Request object at 0xffffaf9c65a0>
2024-04-01 14:56:09 DEBUG:slack_bolt.AsyncApp:Applying slack_bolt.middleware.ssl_check.async_ssl_check.AsyncSslCheck
2024-04-01 14:56:09 DEBUG:slack_bolt.AsyncApp:Applying slack_bolt.middleware.request_verification.async_request_verification.AsyncRequestVerification
2024-04-01 14:56:09 INFO:slack_bolt.RequestVerification:Invalid request signature detected (signature: v0=91a5......5bf7, timestamp:<PHONE_NUMBER>, body: {"token":"GMoejf6choBAoceTRXQQQouO","team_id":"T0......","context_team_id":"T0......","context_enterprise_id":null,"api_app_id":"A06ERCEC38T","event":{"user":"U0......","type":"message","ts":"1712008569.425579","client_msg_id":"0cc224b8-027a-49ce-a0df-18f2a18101ed","text":"hi","team":"T02PX3BDA7J","blocks":[{"type":"rich_text","block_id":"a8bcU","elements":[{"type":"rich_text_section","elements":[{"type":"text","text":"hi"}]}]}],"channel":"D06N3E675SN","event_ts":"1712008569.425579","channel_type":"im"},"type":"event_callback","event_id":"Ev06RVHU0ETZ","event_time":1712008569,"authorizations":[{"enterprise_id":null,"team_id":"T02PX3BDA7J","user_id":"U0......","is_bot":true,"is_enterprise_install":false}],"is_ext_shared_channel":false,"event_context":"4-eyJldCI6Im1lc3NhZ2UiLCJ0aWQiOiJUMDJQWDNCREE3SiIsImFpZCI6IkEwNkVSQ0VDMzhUIiwiY2lkIjoiRDA2TjNFNjc1U04ifQ"})

Hi @slin-auradine, thanks for asking the question. The global IP address is unrelated. This error could be caused due to lack of your signing secret (or using an invalid one). Please double-check if you're passing SLACK_SIGNING_SECRET env variable to the container. You can check this example for more details: https://github.com/slackapi/bolt-python/blob/main/examples/docker/fastapi-gunicorn/Dockerfile

@seratch Thanks a lot for the quick response! I hardcoded SIGNING_SECRET in the code. It works now. Somehow, the environment variables are passed with a double quote around.


linux-35 lost external connection from phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
linux-35 lost external connection from phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Linux-35 has an issue to connect to phone device, rebooting both machine and phone device to restore connection.


sourceMap: false is not being respected

Describe the bug
UnpluginIsolatedDecl({ transformer: 'oxc', sourceMap: false }) still emits index.d.ts.map
Might be an issue with oxc, typescript transformer works fine 👀
Reproduction

Clone https://github.com/brc-dd/oxc-id-sourcemap-issue
Run rm -rf dist && node build.mjs
There is index.d.ts.map in dist directory.

System Info
System:
    OS: macOS 15.1.1
    CPU: (8) arm64 Apple M1
    Memory: 388.44 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.11.0 - ~/.local/state/fnm_multishells/1482_1733160171083/bin/node
    Yarn: 1.22.22 - ~/.local/state/fnm_multishells/1482_1733160171083/bin/yarn
    npm: 10.9.0 - ~/.local/state/fnm_multishells/1482_1733160171083/bin/npm
    pnpm: 9.14.4 - ~/.local/state/fnm_multishells/1482_1733160171083/bin/pnpm
    bun: 1.1.38 - /opt/homebrew/bin/bun
  Browsers:
    Safari: 18.1.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Looks like it's a bug in Oxc 🤔


NodePool Spec Labels is gone

What happened:
To add labels in NodePool Spec in api version v1beta1 but nothing is set.
What you expected to happen:
spec.labels is expected in NodePool.
How to reproduce it (as minimally and precisely as possible):

deploy yurt-app-manager v0.6.0
create a nodepool with spec.labels in api version v1beta1
kubectl get nodepool -o yaml

Anything else we need to know?:
suspect that pkg/yurtappmanager/apis/apps/v1beta1/nodepool_conversion.go leads to this. No labels field is converted between v1alpha1 and v1beta1.
	dst.Spec.Selector = src.Spec.Selector
	dst.Spec.Annotations = src.Spec.Annotations
	dst.Spec.Taints = src.Spec.Taints

Environment:

OpenYurt version: yurt-app-manager v0.6.0
Kubernetes version (use kubectl version): 1.22

others
/kind bug

@kadisi PTAL


Simulation of Verilog output doesn't match nMigen simulation

Hi! I was working on a design that used comb statements inside a FSM and noticed that nMigen outputs "always @*" verilog blocks. This causes issues in verilog simulators because the always block is only evaluated when a signal of its sensibility list changes.
Here's some minimal code that showcases this bug:
from nmigen import *
from nmigen.cli import main

class Top(Elaboratable):
	def __init__(self):
		self.a = Signal()

	def elaborate(self, platform):
		m = Module()

		with m.FSM():
			with m.State("aaaaaaaa"):
				m.d.comb += self.a.eq(1)

		# Workaround for #417
		b = Signal()
		m.d.sync += b.eq(1)

		return m

if __name__ == "__main__":
	top = Top()
	main(top, ports=[top.a])

Its verilog output:
/* Generated by Yosys 0.9+2406 (git sha1 9d658a19, gcc 10.1.1 -fPIC -Os) */

(* \nmigen.hierarchy  = "top" *)
(* top =  1  *)
(* generator = "nMigen" *)
module top(b, a);
  (* src = "test.py:6" *)
  output a;
  reg a;
  (* src = "test.py:7" *)
  input b;
  (* src = "test.py:12" *)
  wire fsm_state;
  always @* begin
    a = 1'h0;
    (* src = "test.py:12" *)
    casez (fsm_state)
      /* \nmigen.decoding  = "aaaaaaaa/0" */
      /* src = "test.py:13" */
      1'h0:
          a = 1'h1;
    endcase
  end
  assign fsm_state = 1'h0;
endmodule

When the Verilog code is simulated with either Icarus Verilog or Modelsim, a is invalid (because its value hasn't been set). When simulated using nMigen built-in simulator, a is 1.

Adding proc to the Yosys script seems to fix the issue.

We should already be handling that case (grep for $verilog_initial_trigger...) but we don't because of a bug.

Is there a ticket in Yosys for the bug you mention?

It is not technically a Yosys bug; Yosys outputs "structural netlists" so it doesn't care about what iverilog does. The bug lies in the way nMigen combines with Yosys. I'll need to think about a good way to fix this.

This is actually a surprisingly subtle issue. I'll raise it at the next Yosys meeting.

@jeanthom I've discussed this in a Yosys meeting today. The conclusion was to adjust the write_verilog output to include a workaround for this problem, such that instead of:
reg x;
always @* begin
    x <= 1;
end

we get something like:
reg init;
initial init = 0;
reg x;
always @* begin
    if (init) begin end
    x <= 1;
end

Thank you for taking the time to discuss this issue with the Yosys team. That solution seems good, may I ask you why an initial statement wasn't considered (so that the register is set to its correct initial value)?

That solution seems good, may I ask you why an initial statement wasn't considered (so that the register is set to its correct initial value)?

It was; reg x = 0; is the same thing as reg x; initial x = 0;, and for the simple cases where the initial value does not depend on any other wires/regs in the design, we already do that. But for complex cases like in this bug report, how would you use initial?

I would resolve the wire/regs dependencies, but this might be something to avoid on really large designs. BTW does the init approach induces a performance penalty in some simulators?

I would resolve the wire/regs dependencies

Yeah, so requiring manual changes makes that approach unviable, of course. The goal of a code generator is to make my life simpler, not the other way around.

BTW does the init approach induces a performance penalty in some simulators?

Hard to say without benchmarking. I know it wouldn't affect Verilator.

The issue was solved upstream.

This is actually not entirely fixed yet--nMigen should detect whether Yosys has the fix, and omit proc_prune if it doesn't.

It turns out I've also forgot to fix the Verilog-2001 mode; https://github.com/YosysHQ/yosys/issues/2271#issuecomment-680704258.

When the Verilog code is simulated with either Icarus Verilog or Modelsim, a is invalid (because its value hasn't been set).

Now that I'm looking at this again, I'm confused. How is the behavior of your snippet not a simualtor bug? The continuous assignment assign fsm_state = 1'h0; should produce an event at time 0 per IEEE 1364-2005 §11.6.1:

Further, the always @* block should be scheduled in response to that event, which is explicitly said in IEEE 1364-2005 §9.7.5:

@jeanthom If I run the following Verilog with Icarus Verilog:
/* Generated by Yosys 0.9+2406 (git sha1 9d658a19, gcc 10.1.1 -fPIC -Os) */

(* \nmigen.hierarchy  = "top" *)
(* top =  1  *)
(* generator = "nMigen" *)
module top(b, a);
  (* src = "test.py:6" *)
  output a;
  reg a;
  (* src = "test.py:7" *)
  input b;
  (* src = "test.py:12" *)
  wire fsm_state;
  always @* begin
    a = 1'h0;
    (* src = "test.py:12" *)
    casez (fsm_state)
      /* \nmigen.decoding  = "aaaaaaaa/0" */
      /* src = "test.py:13" */
      1'h0:
          a = 1'h1;
    endcase
  end
  assign fsm_state = 1'h0;

  initial begin
    $dumpfile("t.vcd");
    $dumpvars;
    #100;
    $finish;
  end
endmodule

I get this VCD file:
$scope module top $end
$var wire 1 ! b $end
$var wire 1 " fsm_state $end
$var reg 1 # a $end
$upscope $end
$enddefinitions $end
#0
$dumpvars
1#
0"
z!
$end
#100

That definitely sets a. Please take another look at this issue.

I'm also confused because I spent the whole day trying to reproduce the issue with older versions of Yosys to no avail... Probably the minified test code was wrong?
The issue I faced in gram#18 was that the generated Verilog code looked like this:
  reg fsm_state;
  always @* begin
    a = 1'h0;
    casez (fsm_state)
      /* \nmigen.decoding  = "aaaaaaaa/0" */
      /* src = "test.py:13" */
      1'h0:
          a = 1'h1;
    endcase
  end

fsm_state didn't have a default value, thus not triggering an event at t=0. The issue was indeed fixed with your PR on Yosys.

Thanks. I can work with this.


[Fix][UI Next][V1.0.0-Alpha] Fix the state column of task instance ta…

Purpose of the pull request
This pull request fixs the state column of task instance table displays error.
Releated issues
close #8982

Codecov Report

Merging #8987 (8424eb8) into dev (045ef75) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8987      +/-   ##
============================================
- Coverage     39.77%   39.76%   -0.01%
+ Complexity     4265     4264       -1
============================================
  Files           808      808
  Lines         32550    32550
  Branches       3649     3649
============================================
- Hits          12946    12945       -1
  Misses        18378    18378
- Partials       1226     1227       +1

Impacted Files
Coverage Δ

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

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 045ef75...8424eb8. Read the comment docs.


Missing SNMP Polling Profile for cyber power PDU

Device Vendor: Cyber Power
Device Model: ModelPDU41001
System Object Identifier (SysOID):
List of critical metrics that you expect in the profile (does not need to be all-inclusive, just a general idea of your expectations):
snmpwalk_pdu_173.txt
-• PDU outlets plugin
• PDU - Ping, CPU, Memory, Uptime
• PDU - Model and version -snmp info
• Input output voltage
• Load
• Temperature
• Input Phase
• self-test
• system events
• Phase output
If there is a New Relic technical support case related to this request, please provide the case number:
Please provide a public gist with a sanitized (sensitive information removed) SNMP walk of the device. Providing MIB files is not a substitute for an SNMP walk and failure to provide one here will result in delays for closing this issue. The output of these commands shows the "true story" of what a device will respond to in SNMP and is used to ensure that our profiles are efficient and accurate for your devices.
Gist Link:

Example SNMP walk commands:
# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out

hello Team,
Any update on this?

Resvoled by #575


[6484] - implement new view with timeline, add methods that handle th…

Story / Bug id: https://bugzilla.stxnext.pl/show_bug.cgi?id=6484
Project / App: Onboarding - Presence Analyzer
Reference person: @ADubielSTX
Description: Implement new view mentioned in ticket.
Migrations:
Rollback:
New imports / dependencies:
Unit Tests:
New tests in /src/presence_analyzer/tests.py
What tests do I need to run to validate this change:
Scripts to be run:
New or Changed JS and / or HTML Files:
Changed
/src/presence_analyzer/static/mean_time_weekday.html
/src/presence_analyzer/static/presence_weekday.html
Added
/src/presence_analyzer/static/presence_start_end.html

Gist with PEP8, Pylint, unittest result etc.
https://gist.github.com/ADubielSTX/2c1d63b7477ca4497552#file-6484-pull-request-info-L6

review finished.

Additional info (PEP8, tests, pylint)
https://gist.github.com/ADubielSTX/90d8ff3e9e6526513ada

Reveiw finished


ERC721 addition.

issueERC721Property
issueERC721Token
transferERC721Token
destroyERC721Token

@GitCash 128 bits for @cgcardona

Hey cgcardona, user SpendBCH tipped you 128 bits in Bitcoin Cash ( ~ $0.0531 ).
Click here to claim it!
You can also add the "thumbs down" reaction to SpendBCH's comment above to prevent future tips.


Update etcher to 1.0.0-beta.19

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

My mistake. Official page is showing beta 19 as the latest, but changelog shows RC2. Closing/cancelling pull request.


feat: add llms.txt generator

Related Issues: https://github.com/Mirascope/mirascope/issues/630

I put generated txt as an example.
# Mirascope

> LLM abstractions that aren't obstructions

## Essentials

- [Welcome to Mirascope](https://www.mirascope.com/docs/): Getting started with Mirascope's core concepts and installation
- [Why Use Mirascope](https://www.mirascope.com/docs/WHY/): Key features and design philosophy behind Mirascope
- [Help](https://www.mirascope.com/docs/HELP/): Resources and guides for getting help with Mirascope
- [Migration Guide](https://www.mirascope.com/docs/MIGRATE/): Guide for migrating between Mirascope versions
- [Contributing](https://www.mirascope.com/docs/CONTRIBUTING/): Guidelines for contributing to Mirascope
- [Overview](https://www.mirascope.com/docs/learn/index/): Learn about overview and how to use it effectively

## Core Features

- [Prompts](https://www.mirascope.com/docs/learn/prompts/): Learn about prompts and how to use it effectively
- [Calls](https://www.mirascope.com/docs/learn/calls/): Learn about calls and how to use it effectively
- [Streams](https://www.mirascope.com/docs/learn/streams/): Learn about streams and how to use it effectively
- [Chaining](https://www.mirascope.com/docs/learn/chaining/): Learn about chaining and how to use it effectively
- [Response Models](https://www.mirascope.com/docs/learn/response_models/): Learn about response models and how to use it effectively
- [JSON Mode](https://www.mirascope.com/docs/learn/json_mode/): Learn about json mode and how to use it effectively
- [Output Parsers](https://www.mirascope.com/docs/learn/output_parsers/): Learn about output parsers and how to use it effectively
- [Tools](https://www.mirascope.com/docs/learn/tools/): Learn about tools and how to use it effectively
- [Agents](https://www.mirascope.com/docs/learn/agents/): Learn about agents and how to use it effectively
- [Evals](https://www.mirascope.com/docs/learn/evals/): Learn about evals and how to use it effectively
- [Async](https://www.mirascope.com/docs/learn/async/): Learn about async and how to use it effectively
- [Retries](https://www.mirascope.com/docs/learn/retries/): Learn about retries and how to use it effectively

## Provider Features

- [OpenAI](https://www.mirascope.com/docs/learn/provider_specific_features/openai/): Learn about openai and how to use it effectively
- [Anthropic](https://www.mirascope.com/docs/learn/provider_specific_features/anthropic/): Learn about anthropic and how to use it effectively

## Extensions

- [Middleware](https://www.mirascope.com/docs/learn/extensions/middleware/): Learn about middleware and how to use it effectively
- [Custom LLM Provider](https://www.mirascope.com/docs/learn/extensions/custom_provider/): Learn about custom llm provider and how to use it effectively

## Integrations

- [OpenTelemetry](https://www.mirascope.com/docs/integrations/otel/): Integration guide for opentelemetry
- [HyperDX](https://www.mirascope.com/docs/integrations/hyperdx/): Integration guide for hyperdx
- [Logfire](https://www.mirascope.com/docs/integrations/logfire/): Integration guide for logfire
- [Langfuse](https://www.mirascope.com/docs/integrations/langfuse/): Integration guide for langfuse

## Optional

- [Quickstart](https://www.mirascope.com/docs/tutorials/getting_started/quickstart/): Step-by-step tutorial covering quickstart
- [Structured Outputs](https://www.mirascope.com/docs/tutorials/getting_started/structured_outputs/): Step-by-step tutorial covering structured outputs
- [Dynamic Configuration & Chaining](https://www.mirascope.com/docs/tutorials/getting_started/dynamic_configuration_and_chaining/): Step-by-step tutorial covering dynamic configuration & chaining
- [Tools & Agents](https://www.mirascope.com/docs/tutorials/getting_started/tools_and_agents/): Step-by-step tutorial covering tools & agents
- [Text Classification](https://www.mirascope.com/docs/tutorials/more_advanced/text_classification/): Step-by-step tutorial covering text classification
- [Text Translation](https://www.mirascope.com/docs/tutorials/more_advanced/text_translation/): Step-by-step tutorial covering text translation
- [Text Summarization](https://www.mirascope.com/docs/tutorials/more_advanced/text_summarization/): Step-by-step tutorial covering text summarization
- [Search with Sources](https://www.mirascope.com/docs/tutorials/more_advanced/search_with_sources/): Step-by-step tutorial covering search with sources
- [LLM Validation With Retries](https://www.mirascope.com/docs/tutorials/more_advanced/llm_validation_with_retries/): Step-by-step tutorial covering llm validation with retries
- [Extract from PDF](https://www.mirascope.com/docs/tutorials/more_advanced/extract_from_pdf/): Step-by-step tutorial covering extract from pdf
- [Knowledge Graph](https://www.mirascope.com/docs/tutorials/more_advanced/knowledge_graph/): Step-by-step tutorial covering knowledge graph
- [Generating Captions](https://www.mirascope.com/docs/tutorials/more_advanced/generating_captions/): Step-by-step tutorial covering generating captions
- [PII Scrubbing](https://www.mirascope.com/docs/tutorials/more_advanced/pii_scrubbing/): Step-by-step tutorial covering pii scrubbing
- [Extraction using Vision](https://www.mirascope.com/docs/tutorials/more_advanced/extraction_using_vision/): Step-by-step tutorial covering extraction using vision
- [Code Generation and Execution](https://www.mirascope.com/docs/tutorials/more_advanced/code_generation_and_execution/): Step-by-step tutorial covering code generation and execution
- [Support Ticket Routing](https://www.mirascope.com/docs/tutorials/more_advanced/support_ticket_routing/): Step-by-step tutorial covering support ticket routing
- [Document Segmentation](https://www.mirascope.com/docs/tutorials/more_advanced/document_segmentation/): Step-by-step tutorial covering document segmentation
- [Generating Synthetic Data](https://www.mirascope.com/docs/tutorials/more_advanced/generating_synthetic_data/): Step-by-step tutorial covering generating synthetic data
- [Removing Semantic Duplicates](https://www.mirascope.com/docs/tutorials/more_advanced/removing_semantic_duplicates/): Step-by-step tutorial covering removing semantic duplicates
- [Speech Transcription](https://www.mirascope.com/docs/tutorials/more_advanced/speech_transcription/): Step-by-step tutorial covering speech transcription
- [Query Plan](https://www.mirascope.com/docs/tutorials/more_advanced/query_plan/): Step-by-step tutorial covering query plan
- [Named Entity Recognition](https://www.mirascope.com/docs/tutorials/more_advanced/named_entity_recognition/): Step-by-step tutorial covering named entity recognition
- [o1 Style Thinking](https://www.mirascope.com/docs/tutorials/more_advanced/o1_style_thinking/): Step-by-step tutorial covering o1 style thinking
- [Web Search Agent](https://www.mirascope.com/docs/tutorials/agents/web_search_agent/): Step-by-step tutorial covering web search agent
- [Qwant Search Agent With Sources](https://www.mirascope.com/docs/tutorials/agents/qwant_search_agent_with_sources/): Step-by-step tutorial covering qwant search agent with sources
- [Blog Writing Agent](https://www.mirascope.com/docs/tutorials/agents/blog_writing_agent/): Step-by-step tutorial covering blog writing agent
- [SQL Agent](https://www.mirascope.com/docs/tutorials/agents/sql_agent/): Step-by-step tutorial covering sql agent
- [Localized Agent](https://www.mirascope.com/docs/tutorials/agents/localized_agent/): Step-by-step tutorial covering localized agent
- [Local Chat with Codebase](https://www.mirascope.com/docs/tutorials/agents/local_chat_with_codebase/): Step-by-step tutorial covering local chat with codebase
- [Documentation Agent](https://www.mirascope.com/docs/tutorials/agents/documentation_agent/): Step-by-step tutorial covering documentation agent
- [Self Ask](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/self_ask/): Step-by-step tutorial covering self ask
- [Plan and Solve](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/plan_and_solve/): Step-by-step tutorial covering plan and solve
- [Contrastive Chain of Thought](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/contrastive_chain_of_thought/): Step-by-step tutorial covering contrastive chain of thought
- [Tabular Chain of Thought](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/tabular_chain_of_thought/): Step-by-step tutorial covering tabular chain of thought
- [Chain of Thought](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/chain_of_thought/): Step-by-step tutorial covering chain of thought
- [Thread of Thought](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/thread_of_thought/): Step-by-step tutorial covering thread of thought
- [Rereading](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/rereading/): Step-by-step tutorial covering rereading
- [Emotion Prompting](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/emotion_prompting/): Step-by-step tutorial covering emotion prompting
- [Rephrase and Respond](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/rephrase_and_respond/): Step-by-step tutorial covering rephrase and respond
- [Common Phrases](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/common_phrases/): Step-by-step tutorial covering common phrases
- [Role Prompting](https://www.mirascope.com/docs/tutorials/prompt_engineering/text_based/role_prompting/): Step-by-step tutorial covering role prompting
- [Self-Refine](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/self_refine/): Step-by-step tutorial covering self refine
- [Self-Consistency](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/self_consistency/): Step-by-step tutorial covering self consistency
- [Reverse Chain of Thought](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/reverse_chain_of_thought/): Step-by-step tutorial covering reverse chain of thought
- [Prompt Paraphrasing](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/prompt_paraphrasing/): Step-by-step tutorial covering prompt paraphrasing
- [Mixture of Reasoning](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/mixture_of_reasoning/): Step-by-step tutorial covering mixture of reasoning
- [Demonstration Ensembling](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/demonstration_ensembling/): Step-by-step tutorial covering demonstration ensembling
- [Chain of Verification](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/chain_of_verification/): Step-by-step tutorial covering chain of verification
- [Least to Most](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/least_to_most/): Step-by-step tutorial covering least to most
- [DiVeRSe](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/diverse/): Step-by-step tutorial covering diverse
- [Decomposed Prompting](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/decomposed_prompting/): Step-by-step tutorial covering decomposed prompting
- [System to Attention (S2A)](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/system_to_attention/): Step-by-step tutorial covering system to attention (s2a)
- [Step-back Prompting](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/step_back/): Step-by-step tutorial covering step back prompting
- [Skeleton of Thought](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/skeleton_of_thought/): Step-by-step tutorial covering skeleton of thought
- [Sim to M](https://www.mirascope.com/docs/tutorials/prompt_engineering/chaining_based/sim_to_m/): Step-by-step tutorial covering sim to m
- [Evaluating SQL Agent](https://www.mirascope.com/docs/tutorials/evals/evaluating_sql_agent/): Step-by-step tutorial covering evaluating sql agent
- [Evaluating Web Search Agent](https://www.mirascope.com/docs/tutorials/evals/evaluating_web_search_agent/): Step-by-step tutorial covering evaluating web search agent
- [Evaluating Documentation Agent](https://www.mirascope.com/docs/tutorials/evals/evaluating_documentation_agent/): Step-by-step tutorial covering evaluating documentation agent
- [Quickstart](https://www.mirascope.com/docs/tutorials/langgraph_vs_mirascope/quickstart/): Step-by-step tutorial covering quickstart
- [call](https://www.mirascope.com/docs/api/core/anthropic/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/anthropic/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/anthropic/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/anthropic/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/anthropic/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/anthropic/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/anthropic/tool/): Complete API reference for tool
- [call](https://www.mirascope.com/docs/api/core/azure/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/azure/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/azure/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/azure/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/azure/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/azure/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/azure/tool/): Complete API reference for tool
- [call_factory](https://www.mirascope.com/docs/api/core/base/call_factory/): Complete API reference for call factory
- [call_params](https://www.mirascope.com/docs/api/core/base/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/base/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/base/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/base/dynamic_config/): Complete API reference for dynamic config
- [merge_decorators](https://www.mirascope.com/docs/api/core/base/merge_decorators/): Complete API reference for merge decorators
- [message_param](https://www.mirascope.com/docs/api/core/base/message_param/): Complete API reference for message param
- [metadata](https://www.mirascope.com/docs/api/core/base/metadata/): Complete API reference for metadata
- [prompt](https://www.mirascope.com/docs/api/core/base/prompt/): Complete API reference for prompt
- [stream](https://www.mirascope.com/docs/api/core/base/stream/): Complete API reference for stream
- [structured_stream](https://www.mirascope.com/docs/api/core/base/structured_stream/): Complete API reference for structured stream
- [tool](https://www.mirascope.com/docs/api/core/base/tool/): Complete API reference for tool
- [toolkit](https://www.mirascope.com/docs/api/core/base/toolkit/): Complete API reference for toolkit
- [call](https://www.mirascope.com/docs/api/core/bedrock/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/bedrock/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/bedrock/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/bedrock/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/bedrock/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/bedrock/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/bedrock/tool/): Complete API reference for tool
- [call](https://www.mirascope.com/docs/api/core/cohere/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/cohere/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/cohere/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/cohere/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/cohere/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/cohere/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/cohere/tool/): Complete API reference for tool
- [call](https://www.mirascope.com/docs/api/core/gemini/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/gemini/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/gemini/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/gemini/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/gemini/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/gemini/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/gemini/tool/): Complete API reference for tool
- [call](https://www.mirascope.com/docs/api/core/groq/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/groq/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/groq/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/groq/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/groq/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/groq/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/groq/tool/): Complete API reference for tool
- [call](https://www.mirascope.com/docs/api/core/litellm/call/): Complete API reference for call
- [call](https://www.mirascope.com/docs/api/core/mistral/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/mistral/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/mistral/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/mistral/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/mistral/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/mistral/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/mistral/tool/): Complete API reference for tool
- [call](https://www.mirascope.com/docs/api/core/openai/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/openai/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/openai/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/openai/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/openai/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/openai/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/openai/tool/): Complete API reference for tool
- [call](https://www.mirascope.com/docs/api/core/vertex/call/): Complete API reference for call
- [call_params](https://www.mirascope.com/docs/api/core/vertex/call_params/): Complete API reference for call params
- [call_response](https://www.mirascope.com/docs/api/core/vertex/call_response/): Complete API reference for call response
- [call_response_chunk](https://www.mirascope.com/docs/api/core/vertex/call_response_chunk/): Complete API reference for call response chunk
- [dynamic_config](https://www.mirascope.com/docs/api/core/vertex/dynamic_config/): Complete API reference for dynamic config
- [stream](https://www.mirascope.com/docs/api/core/vertex/stream/): Complete API reference for stream
- [tool](https://www.mirascope.com/docs/api/core/vertex/tool/): Complete API reference for tool
- [DuckDuckGo](https://www.mirascope.com/docs/api/tools/web/duckduckgo/): Complete API reference for duckduckgo
- [HTTPX](https://www.mirascope.com/docs/api/tools/web/httpx/): Complete API reference for httpx
- [ParseURLContent](https://www.mirascope.com/docs/api/tools/web/parse_url_content/): Complete API reference for parseurlcontent
- [Requests](https://www.mirascope.com/docs/api/tools/web/requests/): Complete API reference for requests
- [FileSystem](https://www.mirascope.com/docs/api/tools/system/file_system/): Complete API reference for filesystem
- [DockerOperation](https://www.mirascope.com/docs/api/tools/system/docker_operation/): Complete API reference for dockeroperation
- [Langfuse](https://www.mirascope.com/docs/api/integrations/langfuse/): Complete API reference for langfuse
- [Logfire](https://www.mirascope.com/docs/api/integrations/logfire/): Complete API reference for logfire
- [Middleware](https://www.mirascope.com/docs/api/integrations/middleware/): Complete API reference for middleware
- [OpenTelemetry](https://www.mirascope.com/docs/api/integrations/otel/): Complete API reference for opentelemetry
- [Tenacity](https://www.mirascope.com/docs/api/integrations/tenacity/): Complete API reference for tenacity

This seems good. From what I've read about their proposal, it seems like they expect every link to lead to either a .py or .md file so it's easier for the LLM to use as input.
While mkdocs does have these markdown files present (example), the dynamic tabs are not actually rendered in the markdown (it's purely the original form with the jinja stuff present).
Not really sure how to proceed here since those markdown files won't have any python examples present and are essentially useless as a result unless we generate separate markdown files by converting the html back into markdown with all the info present.
WDYT?

A few updates we need to make to take this over the finish line:

Replace www.mirascope.com instances with mirascope.com
Update links so that they point to markdown files (not HTML)

The trouble with (2) is that the existing markdown pages do not contain any code because they haven't yet had the macro for supplying the code snippets run yet. For example, look at prompts.md and you'll notice that there are no code examples (only the jinja templates and external file references)
Additionally, llms.txt recommends that we put the markdown files at an index.html.md path. For example, we already have prompts/index.html, so what we should do is generate the index.html.md page for each docs page by running the macro on the raw markdown to get the full markdown.
Lastly, we need to make sure that the final site makes it clear that the rendered HTML docs pages are the original (so Google and other search engines don't get mad at us for duplicate content). This should be as simple as updating our robots.txt to disallow crawling pages that end with .md.


onedeploy to azure webapp not working

as the FrontEnd use npm install / npm run build which not available in azure app python image , please consider release a public ACR / dockerhub image so customer can use to play with .
Also suggest to add a azure_startup.sh for setup the env in azure app .
start.cmd/start.sh looks only work in local (binded to localhost: <IP_ADDRESS>).

you can find the image details at the bottom of this page
https://github.com/microsoft/sample-app-aoai-chatGPT/blob/main/.github/workflows/docker-image.yml

Thanks @ealasgarov sharing the docker image . tested working fine .
Would you please update the main.bicep to use the mentioned docker image (fruoccopublic.azurecr.io/sample-app-aoai-chatgpt:latest)  instead of "python|3.10" ?
please note azure portal will invoke the main.bicep to provision test app ( https://github.com/microsoft/sample-app-aoai-chatGPT/blob/main/infrastructure/deployment.json is pointing correct container image ) which not supposed to work as I mentioned initially.


I CANNOT BELIEVE THE ERROR WAS THIS DUMB

sounds like you could use a compiler to help you out

Have you considered GopherJS


cmd/gofmt : gofmt issue with new generics

What version of Go are you using (go version)?

$ go version

go version go1.18 linux/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/root/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1871870308=/tmp/go-build -gno-record-gcc-switches"

What did you do?

I have written some code using go generics which is recently introduced in 1.18
While formatting the code using gofmt we're getting error as below
Error : sample.go:26:21: expected '(', found '['
Sample generic function :
func SumIntsOrFloats[K comparable, V int64 | float64](m map[K]V) V {
   var s V
   for _, v := range m {
       s += v
   }
   return s
}

You probably have an old gofmt binary somewhere. That code snippet is formatted correctly with Go1.18's gofmt. That error is what you got on the old one, that didn't support type parameters.

If it's any help, my editor was using goimports before, and now it uses gofmt with the -s flag and works perfectly.
My go version is currently go version go1.19.3 darwin/amd64.


add to/from ip/port back into new tap command

The new tap command, documented in #778, added support for filtering requests by destination objects and label selectors, but removed support for ip's and ports. Consider adding this functionality back:
  uint32 toPort = 4;
  string toIP = 5;
  uint32 fromPort = 6;
  string fromIP = 7;

from: https://github.com/runconduit/conduit/pull/778/files#r182226746

when are these helpful or necessary?


Publish the list of browsers

As a consumer of this data, if I want to list all features in a table, with browser names as columns, I need to pick one of the baseline high feature at random, to get the list of browsers. And then again, this only gives me the list of browser ids, not their names.
Could we publish a nice list somewhere in the package so I don't have to pick a feature to find the full list of browsers? Ideally, this list would look something like:
browsers = [
  { id: "chrome", name: "Chrome" },
  { id: "chrome_android", name: "Chrome on Android" },
  { id: "edge", name: "Edge" },
  { id: "firefox", name: "Firefox" },
  { id: "firefox_android", name: "Firefox on Android" },
  { id: "safari", name: "Safari" },
  { id: "safari_ios", name: "Safari on iOS" }
];

Should we also publish release versions and dates?
browsers = [
  {
    id: "edge",
    name: "Edge"
    releases: [
      { version: "12", date: "2015-07-29" },
      { version: "13", date: "2015-11-12" },
      /* etc */
    ]
  },
];

Putting the releases in an array as opposed to an array with the version as they key (like BCD) avoids the need for consumers to use https://www.npmjs.com/package/compare-versions to get the versions in the right order. (JavaScript iteration order puts keys that are valid array indices first, so "12" comes before "11.1".)

In my own explorations with this, I was also using BCD, so I have the release versions and dates from there already. All I personally needed was the "core browser set" list.
But, sure, publishing the versions/dates might be useful for others.

Yes, https://github.com/web-platform-dx/web-features/issues/578 is the reason I suggest it.

I had a conversation with @tonypconway today about including release info web-features and specifically about being able to answer questions like:

What browser releases support all of the Baseline 2019 features?
Does some browser release X support all the Baseline 2019 features?

So I think we might want something like this:
browsers = [
  {
    id: "edge",
    name: "Edge"
    releases: [
      { version: "12", date: "2015-07-29", supports_feature_sets: [] },
      { version: "13", date: "2015-11-12",  },
      { version: "14", date: "2016-08-02", supports_feature_sets: ["2015"] },
      /* etc */
      { version: "18", date: "2018-10-02", supports_feature_sets: ["2015", "2016", "2017"] },
      /* etc */
      { version: "126", date: "2024-06-13", supports_feature_sets: ["2015", "2016", "2017", "…" /* etc */, "2023"] }
    ]
  },
];

There might also be need/interest in methods that to filter on this. Something along the lines of:
function minRelease(browser: string, baselineLowDate: string | Temporal.PlainDate): { version: string, date: string, supports_feature_set: string[] } { … }
// minRelease("chrome", "2019-12-31")
// ⮑ { version: "79", date: "2019-12-10", /* etc. */ }

See also: https://github.com/tonypconway/calc-baseline-years

@foolip had a good question about this, when we talked earlier today. I'll try to recap here.
The question was, paraphrased: Why would we want to show this "feature sets" info? Isn't this just a convenience around finding the last release of each browser in a given calendar year?
My answer was yes, except there's a chance that that formula is more conservative than reality. If the last interoperable feature of a given year ships in a release other than the last release of the year, then other releases earlier in that calendar year also support that calendar year's feature set.
Taking the date is good approximation and what we should do initially, for ease of implementation, but that's not strictly what the Baseline definition implies.

a simplified, made-up example to illustrate
Suppose our core browser set consisted of browsers Alfa and Bravo, both shipping once a month. Alfa's September 2023 release is the last to contain a newly available feature (e.g., October, November, and December's releases include no newly interoperable features). Bravo's last newly interoperable feature ships in December.
In this scenario, Alfa's September, October, November, and December releases fully support the 2023 feature set, while only Bravo's December release does. A strictly date-based calculation would wrongly suggest that 3 releases don't support the full feature set, even if they in fact did.

(Unfortunately, we won't know how common this is until our coverage of web platform features is basically complete.)


Windows fatal exceptions 0xC0000409 and 0xE06D7363 with<EMAIL_ADDRESS>via SafeQL

Windows users of<EMAIL_ADDRESS>via SafeQL have reported crashes:
Error code 0xC0000409 (STATUS_STACK_BUFFER_OVERRUN)
Error code 0xC0000409 (aka error code<PHONE_NUMBER>) (aka STATUS_STACK_BUFFER_OVERRUN) occurred when linting SQL with errors in it (missing commas and parentheses):

https://github.com/ts-safeql/safeql/issues/243#issuecomment-2336747841

Researching a bit led me to this:
How do you diagnose the exception code 0xc0000409 on Windows? | Stack Overflow

0xc0000409 means STATUS_STACK_BUFFER_OVERRUN.
In other words, something in your program is writing past the current stack frame, corrupting data on the stack. The program has detected this and rather than let it continue, has thrown an exception.

Error code 0xE06D7363
Error code 0xE06D7363 (aka error code<PHONE_NUMBER>) occurred when linting Prisma SQL code (code currently unknown):

https://github.com/ts-safeql/safeql/issues/261#issuecomment-2336746747

Research led to this:
C++ Loadlibrary() error<PHONE_NUMBER>

The diagnostic is that the DllMain() function inside the DLL died due to an unhandled C++ exception

I am wondering whether this is a general problem or deficiency with how libpg-query is built on Windows, or whether it's an issue with how SafeQL is interacting with libpg-query?
Last libpg-query Windows PRs:

https://github.com/launchql/libpg-query-node/pull/46
https://github.com/launchql/libpg-query-node/pull/45

cc @pyramation @aquariuslt @Newbie012

Is there a way to reproduce this error in a Github Action? I don't use windows, only use it in CI/CD & Github Actions

I guess that the first issue should also appear on Windows CI on GitHub Actions, using the code provided by @ProchaLu in #243:
export async function getUsers1() {
  // 💥 Missing comma after `users.id` causes libpg-query crash
  return await sql<Users[]>`
    SELECT
      users.id
      users.name
    FROM
      users
  `;
}

Here's an example of running SafeQL in a GitHub Actions workflow for Windows (includes database setup, ESLint + SafeQL setup):

GitHub Actions workflow: https://github.com/upleveled/preflight-test-project-next-js-passing/blob/153ed997b8624979d40f5d09a3d1a8a449f8e810/.github/workflows/ci.yml
project repo: https://github.com/upleveled/preflight-test-project-next-js-passing

@Newbie012 any clue why (as described above) running eslint . will exit with code 127 (no error message), but the VS Code ESLint extension will report the real error code 0xC0000409 / STATUS_STACK_BUFFER_OVERRUN<PHONE_NUMBER>)?
Is this a bug in SafeQL that libpg-query crashes don't cause a SafeQL error message on the ESLint command line interface?


Find by decorator

Hi @haines and the community!
I really love draper (this gem make my code very clean and understandable) but sometimes I meet an errors when working with it. Here is one of them:
I am devise user and modify current_user method like this:
  def current_user
    super.try(:decorate) # returns User decorator over User model
  end

all works good, but methods like
Accreditation.find_by(user: current_user)

raise an exception like that
PG::UndefinedColumn: ERROR: column accreditations.user does not exist
SELECT "accreditations".* FROM "accreditations" WHERE "accreditations"."user" = 3 LIMIT 1

How can I replace SQL query to 'accreditations'.'user_id' ??
Are we need monkey patch over ActiveRecord?

It seems I need to use decorates_assigned. Closed!


ngView route-based class

For science!  And https://github.com/UW-Madison-DoIT/uw-frame/issues/60
Creates class on ng-view by appending slugified to the word route, such as class="route-settings" or class="route-parent-child-grandchild"

neat. :+1: One could also have thoughts about a couple classes, e.g.: route-parent route-parent-child route-parent-child-grandchild. This way you could have global stuff for the whole app, and custom stuff at each level. I know this is harder, but a thought.

I planned on using attribute substring matching selectors in my css to hit that case:
[class^="route-"].ng-enter { ... }

[class^="route-parent-"].ng-leave { ... }

but the other approach could be useful too.

Oh interesting, that works (TIL)


keep on getting "Package installation failed. User "guest" is not a member of the "dba" group."

What happened?
I have an existing .existdb.json which is configured with user 'admin' and empty pass (for local development) but xst keeps on complaining : "Package installation failed. User "guest" is not a member of the "dba" group."
System Information
Build: eXist-6.2.0 (c8fa4958b6d4a50bd0cba7f3e76a150226414187)
Java: 1.8.0_382 (Azul Systems, Inc.)
OS: Mac OS X 14.2.1 (aarch64)

(should output xst version too). It is:
1.6.1

Relevant shell output
Package installation failed. User "guest" is not a member of the "dba" group.

same applies when using latest 1.9.4

for completeness: here's my .existdb.json

{
    "servers": {
        "localhost": {
            "server": "http://localhost:8080/exist",
            "user": "admin",
            "password": "",
            "root": "/db/apps/jhb"
        }
    },
    "sync": {
        "server": "localhost",
        "ignore": [
            ".existdb.json",
            ".git/**",
            "components/**",
            "node_modules/**",
            "bower_components/**",
            "build/**",
            "webtest/**"
        ]
    }
}

What is the command you are running? Are you passing --config path/to/my/.existdb.json?

Getting the same. The defaults documented in https://github.com/eXist-db/xst?tab=readme-ov-file#with-environment-variables are not applied.
To repro: go to a random folder and run
touch repro.xar;
xst package install ./repro.xar;

Expected:
Error: experr:EXPATH00 Missing descriptor from package: /db/pkgtmp/repro.xar

Actual:
Package installation failed. User "guest" is not a member of the "dba" group.


[Storage] Added description for BlobContainerClient ctors

Resolves https://github.com/Azure/azure-sdk-for-net/issues/46000

API change check
API changes are not detected in this pull request.


ActiveJob compatibility?

Any idea if this works when using que's ActiveJob integration, or only when enqueuing que jobs directly?

Right now it won't apply when using the ActiveJob integration because there's no way to turn it on so sadly no, not really.
I think it'd be possible to add an optional ActiveJob extension to this gem that adds the same configuration DSL to Job or ApplicationJob subclasses, but, I'd suggest using Que directly in any case. The Que ActiveJob integration doesn't have the same transactional commit capabilities that Que normally has, where you can complete the job and commit whatever business logic results at the same time, which is nice. That same transaction is the one that releases the lock if you are using que-locks, and I don't think there's any actual locking semantics issues with doing two transactions the way you'd have to with ActiveJob, but regardless I feel like that's half the point of que. If you do want locking for ActiveJob and want to keep the adapter-agnostic nature of it there's a few ActiveJob locking gems that do the trick, they just don't have the same nice guarantees that que and que-locks will give you.
Patches welcome too!


crypto/evp/evp_fetch.c: Make it more prominent that these functions are EVP

I actually think this makes things considerably clearer.

I was thinking that the file name evp_fetch.c would make the intent clear enough, but sure, no trouble.

Merged.
181ea366f67f46cab093d6a7bbb1b2f35125b9f2 crypto/evp/evp_fetch.c: Make it more prominent that these functions are EVP


Incorrect time passed in aws_v4 signer

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ x] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)
Please describe the expected behavior
I provisioned an AWS Elasticsearch domain and tried using the AWS v4 signer but was always getting 403 on all requests. With the same setup python and curl with signing worked. Found that the time being passed in aws_v4.go in signing request is incorrect:
_, err := st.signer.Sign(req, body, "es", st.region, time.Unix(0, 0))
Please describe the actual behavior
It should be:
_, err := st.signer.Sign(req, body, "es", st.region, time.Now())
After making this change locally things worked fine.
Any steps to reproduce the behavior?
Need to setup ES in AWS and try interacting with it.

Fixed in b081362bf578a51367a27ca4d4bb5f7997a15b2c.


#679 - Implemented

#679 - Implemented

 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.:x: Vadim-Bulavin sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Updated phone number field to accept international number

Issue Reference
This PR addresses the Issue : Fixes #
Summarize
Please, describe what the PR does, the changes you have made.
Updated the phone field to an established library based on https://github.com/stefanfoulis/django-phonenumber-field.
Accepts now phone numbers in format +911234567890. Does internal checking on its validity.
Removed number check
Added the installed application in requirements.txt
Added the installed application to INSTALLED_APPS

Also, mention the key points if any to look into while code reviews
You will be required to do

pip install django-phonenumber-field
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

#491


Implement swap two numbers problem

Do Not use any third variable.
Any programming language can be used.
Multiple solutions to this problem with the same programming language are not welcomed.
Create your own file inside NEWTOHACK/ALGORITHM

Can I work on this?

@Ananyan25 feel free to implement the problem in any programming language


Feature Request

Summary of the new feature/enhancement

Proposed technical implementation details (optional)

Please don't spam.


Cocoa Bean Crash

Industrial Foregoing Version: 1.10.0-173
TeslaCoreLib Version: 1.12.2-1.0.14
Crashlog (If Any): https://pastebin.com/Gju6ptN1

https://github.com/Buuz135/Industrial-Foregoing/issues/354


chore(deps): update Yarn to 3.0.0

Codecov Report

Merging #3156 (f4fe7ad) into master (e5e165c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3156   +/-   ##
=======================================
  Coverage   93.94%   93.94%
=======================================
  Files          87       87
  Lines        6344     6344
  Branches     1314     1314
=======================================
  Hits         5960     5960
  Misses        354      354
  Partials       30       30

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 e5e165c...f4fe7ad. Read the comment docs.


sent without XLM Memo id

i wrong withdraw from SWTC exchange. .my withdraw XLM is without memo id. . please help me to sent my coinbase address.
my XLM address is
GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37
My XLM ammount is 345.84888 XLM
https://stellar.expert/explorer/public/tx/105983171341864960#105983171341864961

Sorry, blockchain is irreversible.

Yor xlm is refundable. Contact with customer support of coin wallet and tell them a situation.and send a transaction id of your xlm amount. After confirm he refund ur xlm to source account and send you a refund transaction id. Now u can contect with customer support of swtc exchange and request or refill of fund and send them refund transaction id. Request them to refund your xlm to your source account number... And memo number....

SWFTC support not reslove my problem .
my XLM lost in air no memo id sent 345 XLM
my XLM address ... please help me. .. steller is Rich. .i am Very very poor
from South East Asia
my xlm address is
GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37
my memoid is<PHONE_NUMBER>

When coin wallet solve your problem then swftc also solve.

I want to do a job. I have no capital. Please help me with some money.
Thank you.

some xlm tip to help me 🤒🤒🤕🙏🙏
GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37
3506508468


Serializing back to properties file?

Thanks for the great library! I have been looking into possibly using this package in an application that needs to modify values in a properties file and write it back to disk, curious if there's any plans to support this?
If not perhaps adding an endingLineNumber to the property could help with implementing this externally.

Thanks @tappleby - sorry for the late reply.
Regarding writing back to disk, I think that it could be done with something like this:
import fs from 'node:fs'
import { EOL } from 'node:os'

const properties = getProperties('assets/tests/collisions-test.properties')
const newProperties: string[] = []

properties.collection.forEach((property) => {
  const value = property.value === 'world3' ? 'new world3' : property.value
  newProperties.push(`${property.key} : ${value}`)
})

fs.writeFileSync('myNewFile.properties', newProperties.join(EOL))

Of course, this would not cover cases where you would need to escape characters and we only have unescape methods available right now.
But I don't have all the details of what you are trying to achieve so I am just guessing here.

@tappleby I don't know if you still need this, but you can thank @mdvorak for implementing escape functions.
Those new APIs are available in version 2.2.0. You can see an up-to-date example of how to serialize back to .properties format in the main readme file.
I will be closing this issue. If you have other use cases that are not covered by these new APIs, feel free to open a new issue.

I've ended up finishing my own library (I know, another one), which focuses primary on modification of properties files. I've had it mostly written for some time now, I just kinda did not want to maintain it :-)
If anyone is interested:
https://www.npmjs.com/package/js-java-properties
@nbouvrette I've used your example properties file to improve my tests, thank you for that

@mdvorak nice package - I like how you handled some of the parsing logic.
If you get tired of maintaining it we could always see if we could merge some of the functionalities. In fact, I think it wouldn't be too complicated to add better properties modification APIs, and might take a stab at it today to see how much effort it would take.

I got busy just after opening this PR, only just getting caught up now :)
My main use-case was our application has a UI to edit some locale and other configuration files, not all formatting needs to be maintained but preserving comments is important. It looks like @mdvorak package handles this! Will try it out along with the 2.2.0 updates.

@tappleby @mdvorak it took a bit longer than I was expecting but please give a try to the new v3 release which has new editing capabilities and let me know what you think.

@nbouvrette Great work! was able to clean up some of the custom parsing in our app. I ended up with a custom util script that may be useful for some:
import type { PropertiesEditor, InsertOptions } from 'properties-file/editor';

export function insertOrEdit(properties: PropertiesEditor, key: string, value: string, options?: Omit<InsertOptions, 'referenceKey' | 'position'>) {
  if (properties.keyLineNumbers[key]) {
    properties.edit(key, {
      newValue: value,
      newComment: options?.comment,
      commentDelimiter: options?.commentDelimiter,
      separator: options?.separator,
      escapeUnicode: options?.escapeUnicode
    });
  } else {
    properties.insert(key, value, options);
  }
}

Thanks for sharing @tappleby - I hesitated to add an upsert method because I thought "nobody would use it" but I guess I was wrong.
Feel free to upgrade to 3.1 which was just released, you can now use the upsert method directly and clean up more custom code! Note that I made other naming changes to have more consistent APIs, so please check the release notes (it should be very quick to change)
Please open new issues if you have ideas on how to improve the editor - I personally don't use it for any of my projects, so hopefully, the APIs I came up with will make sense.


Incorrect input behavior with Typeahead and force-select

Version & browser
uiv 0.13.1, Chrome 62.0.3202.94
Which component
Typeahead
Steps to reproduce the problem
With a Typeahead that has the force-select property set to true, even on the documentation page https://uiv.wxsm.space/typeahead/, type in something that matches the available options and select an option. After that, click into the input and select the whole text with the mouse or by pressing Ctrl+A, then type in a letter.
Expected behavior
The letter just typed in should appear in the input
Actual behavior
The content of the input is deleted and only the second time you press a letter, the input has it

Thanks for filling this issue. Quick fix added. It was caused by #59


After flutter upgrade its not running in Android where as in ios its running fine

I got this error
Launching lib/main.dart on <IP_ADDRESS>:62001 in debug mode...
Built build/app/outputs/apk/debug/app-debug.apk (31.1MB).
E/flutter ( 3102): [ERROR:flutter/shell/platform/android/android_context_gl.cc(165)] Could not choose an EGL configuration.
E/flutter ( 3102): [ERROR:flutter/shell/platform/android/android_context_gl.cc(53)] EGL Error: EGL_SUCCESS (12288)
F/flutter ( 3102): [FATAL:flutter/shell/platform/android/platform_view_android.cc(28)] Check failed: android_surface_. Could not create an OpenGL, Vulkan or Software surface to setup rendering.

but i when try to run using vscode terminal with the below command its running successfully
flutter run --enable-software-rendering

Please add the output of flutter doctor -v

It seems you are using an emulator that is not recognized by Flutter.
Tentatively closing.
Please create a new issue if this is still a problem.


Add pre and post publish npm scripts

Motivation: fix #1505 .
The proposal is to simply copy the src folder into root when publishing to npm. The assumptions are:

Individual functions will not need UMD––the target is only CommonJS,
…so there is no need for building,
…and since the individual modules will be CommonJS, it makes sense to do this only for npm.

The scripts are set up so that any files created locally when building will be removed by the postpublish hook, but of course if you build in CI this is unnecessary.
Does it make sense?

I've wanted to do this for a long time, and I always thought it was relatively easy, but never quite as simple as this.
I very much like this idea, but cannot test from my mobile.  My only question is whether it still works alongside the recent changes in #1928.

I tried this by running npm run prepublish, then npm linking and it works. I don't think it should conflict with #1928 =)

(this is what I tried)
const map = require('ramda/map')
const range = require('ramda/range')
const {reduce} = require('ramda')

console.log(map(
  (number) => `${number} lala`,
  range(0, 10)
))

console.log(reduce(
  (a, b) => a + b, 0,
  range(0, 10)
))

I would love it if our NPM publish step created a directory to publish from, copied into it whatever artifacts it needed, performed the publication from there, and then deleted the directory.  That just feels safer to me.  Perhaps I'm showing my age.
But it seems that not what we have now, and I don't think I'd want to slow this down to fix that.  It can all be done later.
So, LGTM.  Others?  @buzzdecafe? @davidchambers?
If we do go this route, should we still include the src dir for a release with a deprecation note?

I would love it if our NPM publish step created a directory to publish from, copied into it whatever artifacts it needed, performed the publication from there, and then deleted the directory.

I fully agree, I think that is the robust way forward, there is no need to ship all the development artifacts to npm. This was a short-term, low-hanging-fruit change to have the simple ramda/* module paths =)

If we do go this route, should we still include the src dir for a release with a deprecation note?

I don’t know how deprecation notes are done in npm, but I think it’s a good idea to keep the src around since people consuming ramda functions as modules are already using it and that would be a breaking change. I guess it could be updated later to:

Ship only ramda/* modules and discontinue support for ramda/src/* and
…do it with a publish folder where the assets for npm are pasted and that gets deleted after publishing.

What's the status of this?

Too many changes to incorporate this.  Still many good ideas.


Hook window does not load classes

Hello! The hook function does not work. The application class structure does not load.
I tried on different devices: Samsung (Android 5.0.2), Huawei (Android 6.0.0).
Any ideas how to fix this? Thanks.

i encounted the same questions...

loading...
same question here


fix(v2): add syntax highlight to generated colors

Motivation
In addition to the syntax highlighting itself, which is important given the dark/light Prism theme (coming soon https://github.com/facebook/docusaurus/pull/1984), it is possible to copy CSS vars simply click button.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan

Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

approved


Update README.md

Fix misspellings
Improve formatting
Fix invalid image URL
Improve yaml description (remove dead link)

Thank you very much :)


Remove SharperImage.Formats.ImageLoaderHelpers

This file has some helper functions used in parsing the image files.
Most of these are duplicated with the functionality of the MyLib project so we should just use that when it is ready

Only have ByteSum left


Update-me on google tv/chromecast?

With the help of downloader, people can go search for it or use a short code ( not short link ) to find you app ... Once there you can install it
Not much games for google tv/Chromecast ... So maybe the focus should be for just apps, video players, music players ... Im trying to list what i use ...
If you dont have a google tv ( recommend getting one so you can experiment with it in house ) they are less than $100, in america ... Dont know where you are ... Though if you find one, get it, dont matter the format
For your consideration
-Zer0

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Yeah ... I dont know about that ... And its not relevant to my suggestion

Alright, keep me posted ... Should be easy ... In theory
And i think ( since ive tried a few apks for google tv ) that you are looking for ARM7 ... If that is right ... That WILL be key for development

Alright, keep me posted ... Should be easy ... In theory
And i think ( since ive tried a few apks for google tv ) that you are looking for ARM7 ... If that is right ... That WILL be key for development

You have an Android TV right? Why not try if it works on Android TV

No apps within update me for any interest ... At the moment, the dev would have to create a repo/library of apps ... If any

Thank you for your detailed feedback and suggestions. I appreciate your insights about Google TV/Chromecast apps.
Regarding architecture support, I want to inform you that I'll be removing armeabi-v7a support in the upcoming release. It's becoming quite challenging to maintain the apps repository for both arm64-v8a and armeabi-v7a. Given that most modern Android devices now use arm64-v8a, the extra effort required for armeabi-v7a support isn't sustainable for the project at this time.
I do have an Android TV box, and I've found that many modded apps I use don't require frequent updates, or they update themselves. Here are some apps I currently use on my TV:

SmartTube (for YouTube)
HDO TV (for movies and TV shows)
Stremio (for movies and TV shows)
OnStream (for movies and TV shows)

Speaking of Stremio, I'm planning to implement a tutorial to guide users on finding add-ons and share my recommendations.

Already use smart tube, tell me more about streamio?


Add retry mechanism while creating k8s client in runtime_reconciler

In runtime_reconciler we connect to many clusters using k8s client created from kubeconfig file (extracted previously from secret).
In getSkrK8sClient function we call client.New(restCfg, client.Options{}) where restCfg is created from above-mentioned kubeconfig file.
While creating subsequently many clients for several clusters we have a quite high error rate.
During client.New call connection to the cluster is created, REST call takes place.
We can introduce retry mechanism similar to the one introduced in Get_Kubeconfig steps for provisioning and update operations.

Done.


Correct default value of rootPath

The documentation has default value of rootPath as / while it should be /*. Setting it to / causes 404 on resources

Ok, looks good to me. A couple notes.
Starting in 0.9.0, it does not matter if the rootPath ends with / or * (due to #785). For those that will be on earlier than 0.9.0 (which should be most at this point), the default is /* (it was just documented wrong in #665
Even though the code has the default rootPath of /, it does get converted to /* before being passed to jersey.
Good catch!


Cannot build epmd recipe on honister due to autoconf 2.71

Seems like epmd is not buildable in honister due to autoconf, here is the relevant log.
Currently I have a workaround to fallback to use autoconf 2.69 to build this recipe.
This is not ideal but I currently cannot figure out how to port the recipe to use autoconf 2.71
Any help? Thanks!
related:
https://github.com/asdf-vm/asdf-erlang/issues/195
https://github.com/kerl/kerl/issues/359
| configure.in:3205: You should run autoupdate.
| ../autoconf-2.71/lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
| configure.in:3205: the top level
| configure.in:3285: warning: The macro `AC_TRY_COMPILE' is obsolete.
| configure.in:3285: You should run autoupdate.
| ../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
| configure.in:3285: the top level
| configure.in:3415: warning: The macro `AC_FD_CC' is obsolete.
| configure.in:3415: You should run autoupdate.
| ../autoconf-2.71/lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
| aclocal.m4:2771: ERL_TRY_LINK_JAVA is expanded from...
| ../autoconf-2.71/lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
| ../autoconf-2.71/lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
| ../autoconf-2.71/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
| ../autoconf-2.71/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
| configure.in:3415: the top level
| perl: warning: Setting locale failed.
| perl: warning: Please check that your locale settings:
| 	LANGUAGE = (unset),
| 	LC_ALL = "en_US.UTF-8",
| 	LANG = (unset)
|     are supported and installed on your system.
| perl: warning: Falling back to the standard locale ("C").
| autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
| perl: warning: Setting locale failed.
| perl: warning: Please check that your locale settings:
| 	LANGUAGE = (unset),
| 	LC_ALL = "en_US.UTF-8",
| 	LANG = (unset)
|     are supported and installed on your system.
| perl: warning: Falling back to the standard locale ("C").
| configure.in: error: required file 'config.sub' not found
| configure.in: error: required file 'config.guess' not found
| configure.in: error: required file 'install-sh' not found
| configure.in:   try running autoreconf --install
| WARNING: exit code 1 from a shell command.
NOTE: recipe epmd-23.1.2-r0: task do_configure: Failed
ERROR: Task (/poky/meta-erlang/recipes-core/epmd/epmd_23.1.2.bb:do_configure) failed with exit code '1'

Hello @colrack
Thanks for bring this up. Could you check this PR https://github.com/meta-erlang/meta-erlang/pull/152 it adds Erlang 24.2 and fix epmd cross-compile issue.

Hi @joaohf
I tried it but I still have an issue here:
https://github.com/meta-erlang/meta-erlang/blob/fa7b79338e2004ba9f88c18c3d401a93b2c71f8e/recipes-core/epmd/epmd.inc#L68
My path ends with linux-gnu instead of linux, I think this is due to autoconf 2.71 that appends gnu
I think it happens here:
https://github.com/erlang/otp/blob/OTP-24.2/make/target.mk#L58

Hi @colrack
Alright, I have a fix for it. I'll add it to the PR.

@colrack could you give a try now ?
It should work for all archs. As the epmd recipe is not calling the Erlang/OTP make install rule, the recipe has to get the correct target triple in order to collect the epmd binary.
(https://github.com/meta-erlang/meta-erlang/pull/152/commits/2dc314cca637355d7c92681e10bbd45477fbc484)

Thanks a lot @joaohf
It works now


How can I update all clients automatically on data changes in db?

I'm working on "😎 tRPC-SvelteKit example: Bookstall" and I'd like to see all connected clients' data have updated automatically in UI whenever a data changes in db like deleting a content.
Is that not possible with tRPC?

I assume you're aware that realtime behaviour requires websockets, regardless of whether you're using tRPC.io with React or this package with SvelteKit.
SvelteKit doesn't have yet native support for websockets, but we have an active PR for a (temporary) workaround in trpc-sveltekit. I'll hopefully find the necessary time to test and pull it within the next couple of days.

Hi @ErcouldnT

is it not possible to do that with vercel or netlify adapter?

If they give support for websockets there is a way to create a workaround to make tRPC with sveltekit work with them, but I do not use vercel nor netlify so I cannot provide a workaround for them.

And also I need a "Hello World" example for web-socket subscription. Unfortunately I couldn't do it...

You are right, the example router does not show how to do a subscription with tRPC, I will try this week to update the example with a subscription.


R22: Web Application: The software shall be deployed  in an Orbis Amazon Web Services (AWS) environment

Ankit- can we close this requirement ticket?

Migrated below project to aws and updated config files:

dataIngestion
wiley


eps file works with filepath input but not buffer input?

Filepath input:
> sharp('img.eps').metadata().then(d => console.log(d)).catch(e => console.log(e))
Promise { <pending> }
> { format: 'magick',
  width: 780,
  height: 150,
  space: 'rgb16',

  channels: 4,
  hasProfile: false,
  hasAlpha: true }

Buffer input:
> sharp(fs.readFileSync('img.eps')).metadata().then(d => console.log(d)).catch(e => console.log(e))
Promise { <pending> }
> Error: Input buffer contains unsupported image format
    at Error (native)

Is there something I'm missing?
img.eps: img.zip
Thanks,
Kevin

Hello, it looks like you're using a globally-installed version of libvips compiled with support for *magick. Which version of libvips are you using?

Right, I should've specified that.
vips: 8.4.3
sharp: 0.17.2

I'll try with latest vips.

Thanks for confirming, I'll need to attempt to reproduce this locally as the loading of images via *magick is not covered by the existing test suite (as *magick is intentionally excluded from the pre-compiled libvips binaries).

@lovell thanks for looking into it. I'll provide this Dockerfile in case it helps you reproduce it.
FROM amazonlinux

ARG node_version=6.10.0

RUN curl -s https://rpm.nodesource.com/setup_6.x | bash -
RUN yum install -y nodejs-${node_version} && npm install npm@latest -g

ARG vips_version=8.5.4

RUN yum install -y gcc-c++ glib2-devel expat-devel jbigkit-devel libffi-devel ImageMagick-devel libwebp-devel libpng-devel libtiff-devel giflib-devel libjpeg-turbo-devel libexif-devel

RUN mkdir -p vips
RUN curl -Ls https://github.com/jcupitt/libvips/releases/download/v${vips_version}/vips-${vips_version}.tar.gz | tar xzC vips --strip-components=1
WORKDIR vips
RUN ./configure --disable-static
RUN make && make install
WORKDIR ..

RUN PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ npm install sharp
ENV LD_LIBRARY_PATH=/usr/local/lib

Extra detail: As far as I know, bmp input is also supported via *magick, but I don't run into this problem with bmp files.

@kevinchn Are you still experiencing this problem with the latest libvips?

I had a closer look at this and discovered *magick appears to process EPS files using the Ghostscript-provided gs command line tool with (temporary) images on the filesystem, which would explain why it doesn't work in-memory.
$ identify -verbose img.eps
identify identify: "gs" "-q" "-dBATCH" "-dMaxBitmap=50000000" "-dNOPAUSE" "-sDEVICE=pnmraw" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4" "-r72x72" "-g780x150" "-sOutputFile=/tmp/gm5w4wGi" "--" "/tmp/gm18NCGE" "-c" "quit".
Image: img.eps
  Format: PS (Adobe PostScript)
  Geometry: 780x150
...

Sadly this is a current limitation of *magick so there's not a lot we can do.


see #3089, save_model method was explained that it doesn't save the feature_name

see #3089, save_model method was explained that it doesn't save the feature_name

Rather than concentrating only on the "feature_names" python object attribute, the documentation should explain what is stored or loaded by those methods. I agree that the current "Save the model to a file." explanation is rather ambiguous. Perhaps, something along the following would be better:
"Save the model in an xgboost-internal binary format which is universal among the various xgboost interfaces. No other python object attributes are saved."

Codecov Report

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

@@            Coverage Diff            @@
##             master    #3143   +/-   ##
=========================================
  Coverage     45.57%   45.57%
  Complexity      228      228
=========================================
  Files           166      166
  Lines         12769    12769
  Branches        466      466
=========================================
  Hits           5819     5819
  Misses         6758     6758
  Partials        192      192

Impacted Files
Coverage Δ
Complexity Δ

python-package/xgboost/core.py
81.1% <ø> (ø)
0 <0> (ø)
:arrow_down:

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 32ea70c...0d0f456. Read the comment docs.


Sending an event to the server or client from another php file in the project

Hello. Is it possible to send an event to a frontend client or a backend server from another php file in the project? Here, for example, how it is implemented in the Workerman PHP SocketIO library.
https://github.com/walkor/phpsocket.io/issues/228

Hi @DimmmCom ,
Currently this is not tested yet with workerman, but if you want to contribute to this package just send a pull request.
Thank you


parse only current fog dir #235

This PR makes browsing non-trivial s3 directories usable by only parsing the current directory and not alway building the whole tree.
It also reduces the code complexity of the media management.

Sweet @momolog thanks for this: actually I've tested it out and it seems to speed things up when trying to access the media page by hitting the index action on the controller; to be honest I think that it still needs some polishing around the edges because it looks like that now it hangs while trying to access the subfolders, anyway this is a definitive improvement :+1:

@yortz It should work on subfolders as well (does for me).
If you still experience problems you should provide a more detailed bug description, please.


Fix data label position for zero value when all the data set is negative

When all the data set is negative the label position of zero value will be above the the y axis line then you will not see the label. This is very important for me, I am working in a trading app and I getting this issue a lot.
Click here for the JSFiddle
@masayuki0812 I didn't do the Unit Test because I don't know where I should put the testing. I change two files and I need your help for know where I should put the Unit Testing for this.

@masayuki0812 Sorry, is someone checking this?

@yordis Sorry for the late response. Merged and refactored a bit. Also I added a spec for this issue. Thanks!

@masayuki0812 great! I didn't know about $$.hasPositiveValueInTargets :smile: