Feat/paynow frontend

This is a WIP implementation of the frontend for the new Instant Invoice feature. A new primary step was included in the invoice creation method to allow users to choose which invoice type (e.i. escrow or instant) to choose. The selection page is complete (but would like to add icons for better UI). The form for Instant is in progress. The form for escrow has been untouched. An explanation of this was implemented while mitigating code changes on the existing creation flow:
The "select invoice type" option was created as a new page with its own route, taking over the original route of /create. Once you select either Escrow or Instant, it will direct you to /create/escrow or /create/instant, respectively. Note, /create/escrow is the new route for the original invoice creation form. This way, CreateContext and invoice form components built for escrow do not need to add conditional complexities and modifications to accommodate other invoice types. Instead, a new custom CreateContext and UI components for Instant type will be made. This will likely require some reorganizing in folder structure to differentiate contexts and components for escrow versus instant. And the pattern can be easily repeated with future invoice type implementations.
A new ViewInvoice for Instant is in the works. It is honoring a similar layout as the escrow version of ViewInvoice with some obvious changes unique to Instant.

all looks good to me. I started working off this today and everything was making sense.  I'll make a PR with my current changes additions to this tomorrow

This is being merged to maintain a single working branch for collaborators. Frontend implementations are still in progress.


Ws 6221/keep kafka connections warm

In Web Services, we have encountered issues with very slow timeouts when sending to Kafka, especially on the first connection. The root cause is that the producer does not open a connection to broker nodes for sending until we attempt to send a message. To address this, we need to open connections on app startup (when we establish a connection to the bootstrap node(s) specified in settings). In addition, because we expect low throughput for campaign and segment updates, idle connection timeouts may also cause a new connection to be made on send. To avoid this, reconnect to the broker when the connection is closed after the idle timeout.
Changes to this library (we intend to submit a PR against the forked lib once these changes have been vetted):

Add a new config option keep_warm to Kafka-python. When set to 0 (current default), nothing changes.
Idle connections are closed after a configurable timeout. If keep_warm is set to 1 or greater, then the closed connection will be reopened.
As part of initialization, it retrieves cluster metadata, including a list of all brokers. If keep_warm is set to 2 or greater, then establish connections with any nodes that do not have open connections.

Inmar-only changes:

I added automation to send the library to our private PyPI server for use by other projects.

This would likely be a welcome addition upstream (aside from the workflows). I don't know what the business red tape would be to open a PR, but if we can we should


feat: pass ghprbActualCommit to pr-test openjdkX-pipeline

main change is in pipelines/build/prTester/kick_off_tester.groovy and pipelines/build/prTester/pr_test_pipeline.groovy

disable some options which not need for pr-tests
set ghprbAuthorRepoGitUrl into "USER_REMOTE_CONFIGS" as remote url
fixed linter error in README
fixed variable scope problem: hudson.remoting.ProxyException: groovy.lang.MissingPropertyException: No such property: actualJavaVersion for class: PullRequestTestPipeline

Fixes: https://github.com/adoptium/ci-jenkins-pipelines/issues/507

run tests quick 19

run tests quick 19

run tests quick 11

run tests quick 19

run tests quick 19

run tests quick 19

run tests quick 19

run tests quick 19

so the pr-test is passed, but job is set to unstable, need to check which part is not working

so the pr-test is passed, but job is set to unstable, need to check which part is not working

it is the "ERROR: [GitHub Commit Status Setter] - https://api.github.com/repos/zdtsw/ci-jenkins-pipelines/statuses/cedaf0b1dd26459200c8f91fabab6eb08d9602a5 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status"}, setting build result to UNSTABLE"

https://ci.adoptopenjdk.net/job/build-scripts-pr-tester/job/build-test/job/jobs/job/jdk19u/job/jdk19u-linux-aarch64-temurin/ failed with compilation error all others are good
rebuild it

https://ci.adoptopenjdk.net/job/build-scripts-pr-tester/job/build-test/job/jobs/job/jdk19u/job/jdk19u-linux-aarch64-temurin/10/console passed

Not sure why 19 failed, log seems to think it was successful.

Not sure why 19 failed, log seems to think it was successful.

in the first time run, it failed when compile cyclonxdb part, then i re-run the job and it passed.


Add Support for Macro Recording Status Display in Status Line (#30)

Description:
Summary
This PR adds a new component, recording, to display the macro recording status (e.g., recording @a) directly in the status line. This helps users quickly identify when they are in macro recording mode, minimizing accidental recordings and improving usability.

Changes

New Component: Added a recording component in lua/slimline/components/recording.lua to check vim.fn.reg_recording() and display the current register if recording.
Configuration Update: Updated default_config.lua to include the new recording component by default and introduced icons.recording for icon customization.
Documentation: Updated README.md to document the new component, showing an example configuration for recording in the status line.

Implementation Details
The new recording component uses vim.fn.reg_recording() to check the current recording register. If a register is being recorded, the component will display an icon followed by @<register>. The icon can be customized through icons.recording in the configuration.
Testing

Confirmed that the recording component only displays while recording, showing recording @.
Verified that the component does not appear when no macro is being recorded.

Thanks  for that quick implementation.
I think everything is good.
Some personal nitpicking:

I think we should not misuse the icon to actually store a prefix in it. Personally I would probably choose a good icon for it, e.g. nf-fa-video_camera (https://www.nerdfonts.com/cheat-sheet)
.
I am not sure we should make it a default component. Personally I would activate it anyway but I am not so sure about the general usage of people of that feature

Thank you for the helpful feedback! I’ve updated the PR as you suggested.

I replaced the icon with a more suitable option, as per your recommendation, and removed the native @ symbol to make it more compact.

Regarding the alternative approach to display the macro key in the secondary component part, I opted not to use it in the end, as I felt that displaying it as a single block better aligns with the other components.

I’ve set the new component to be disabled by default, as discussed. I’ve also updated the README to reflect this change and to provide usage instructions for users who may want to enable it.

Could you please take another look when you have time? I’d appreciate any additional feedback.

Thanks a lot for making the changes. lgtm


Allow for prepared-statements in PostgreSQL binding

Problem statement
Using a PostgreSQL binding component within an app brings a lot a welcome benefits, but unfortunately it is also regressive from a safety perspective. This is because SQL statements must be supplied completely to the component endpoint via the sql fielf in the metadata (docs). For static query statements (or, at least, those which are completely controlled by the app's source code), this is no problem at all. However, for dynamic queries, this leads at best to the Dapr-user needing to redundantly-implement functionality which makes use of Query-templates and checks for safe variable inserts (i.e. avoiding SQL-injection). At worst, a user will not think about this latter concern and will blindly use basic string formatting to build-up an SQL statement, thus opening themselves up to major security vulnerabilities.
Describe the proposal
Therefore, my proposal is that Dapr's PostgreSQL Binding should allow for the use of Prepared Statements, as is the norm for many SQL drivers. Luckily, the driver currently used for this binging, pgx has already implemented this feature via the args parameters, and all that the related Dapr functions need to do is to use them.
I can see this working in the following way:
When a static query is being made, then no change to the current API is required. I.e. a post request can be made against the binding-component's end point with a data input which looks like:
{
  "operation": "exec",
  "metadata": {
    "sql": "INSERT INTO foo (id, c1, ts) VALUES (1, 'demo', '2020-09-24T11:45:05Z07:00')"
  }
}

Conversely, when a dynamic SQL statement is used, then the normal sql field represents a prepared statement and an additional args field, consisting of a list of arguments, would represent the values that are to be inserted. The result could look like such:
{
  "operation": "exec",
  "metadata": {
    "sql": "INSERT INTO foo (id, c1, ts) VALUES ($1, $2, $3)",
    "args": [
        1,
        'demo',
        '2020-09-24T11:45:05Z07:00'
    ]
  }
}

The $1 notation appears to be the format which is used by pgx, which is why I've suggested it here (although, tbh, it would not be my preference). In any case, after this point, Dapr, and by extension Dapr-users, can simply rely on the underlying driver to handle safely inserting & escaping dynamic data

Follow-up comment: If this is something which you all feel is worth adding, then I would be eager to give it a shot myself as a first contribution (of many, hopefully) to this project :)

hello again, would it be possible to get some feedback on this one? (cc/ @yaron2 and/or @berndverst )


Tell me how old my account is

Maybe I'm not seeing it, but it would be nice if the software told me how long it has been collecting my data. For example say "Since October, 2022" if I choose "All time" on the dashboard.

Hi @coavins, thanks for this. There's indeed no obvious way to get this information from the UI. I'll add it as a feature request.


Error in group update

Author Name: Abel Coronado (Abel Coronado)
Original Redmine Issue: 5376, https://dev.opennebula.org/issues/5376
Original Date: 2017-09-19
Original Assignee: Abel Coronado

When you update a group for the first time, DEFAULT_IMAGE_PERSISTENT_NEW and DEFAULT_IMAGE_PERSISTENT are not defined.

DEFAULT_IMAGE_PERSISTENT_NEW and DEFAULT_IMAGE_PERSISTENT have 3 states (yes, no and not exist). The check box must be replaced by a drop-down menu with 3 states.


enable network management from container

Towards https://github.com/giantswarm/giantswarm/issues/1902
We want to be able to test chart-operator bootstrap in cluster-operator without having to spin up a guest cluster, and instead check the creation on the "host cluster" (circleci machine in e2e CI runs, minikube for local runs).
In order to do that we need:

Redirect calls to domains like api.${CLUSTER_NAME}.aws.gigantic.io to <IP_ADDRESS>
Forward requests on <IP_ADDRESS> port 80 (default for guest k8s API) to port 8443 (default for localkube/minikube).

These changes allow both requirements by passing --add-host parameters to the test container (first requirement) and setting up iptables in the test container for the unprivileged e2e-harness user (second requirement).

For the record, my initial approach for adding DNS entries was to change /etc/hosts but all the attempts failed (editing directly, hard linking and bind mounting). In this case I think we should take advantage of --add-host one way or another.
About iptables I have the same question as @kopiczko, don't know how we can write rules from code, other than calling the cli utility.

See http://bfy.tw/Ho6v.

Nice, thx! Not sure if that would work in e2e-harness container, we have a non-priviledged user, and probably this library requires root. Anyway, good to know, anyone is free to try it in consumer projects.

This is from top result readme:

go-iptables wraps invocation of iptables utility with functions to append and delete rules; create, clear and delete chains.

So this is wrapping iptables calls at the end of the day.
I don't see anything wrong in calling other system binaries. This has performance impact but for us it's neglectable.


fix-/#110 : Latest Post Card Skeleton Bug Fixes

Summary
This PR fixes the bug of the latest post card skeleton.
Description
The third Row of the latest postcard skeleton is removed. Author and date row is little more wider now
Images

Issue(s) Addressed
Closes #110
Prerequisites

[x] Have you followed all the CONTRIBUTING GUIDELINES?

Please check the commit message format, refer succefully merged PRs to understand the commit format

@krishnaacharyaa
should I create a new branch and commit from there?

Yeah basically there were some bad changes in the vercel because of the other PR, so I don't want to risk it ... Can you branch out from latest code and then raise PR by cherry-picking your changes?

@devsharmagit Yes, just commit message kindly make sure you get it right, cherry-pick won't work

@devsharmagit please raise new PR with new commit message and existing code changes, lets close this

okay @krishnaacharyaa
Just for conformation can you tell what should i write in my commit message? so that it does not get reject this time

Yeah please read the contributing guidelines dear, 2nd and 3rd point

For more clarification, see the commits of https://github.com/krishnaacharyaa/wanderlust/pull/126/commits

@krishnaacharyaa
I have raise a new PR

Kindly decline this, once new PR is raised


pyarrow.lib.ArrowInvalid: Field named <column_name> is not found

The following code produced an error on the transform function. The fit function works correctly. This error is reproduced for every feature in the original dataset.
X = df.drop(["Target"], axis=1)
y = df["Target"]

ofe = OpenFE()
ofe.fit(data=X, label=y, categorical_features=cat_cols, n_jobs=11)

train_x, test_x = transform(X, test, ofe.new_features_list[:50], n_jobs=11 )

Traceback (most recent call last):
  File "/home/ben/projects/kaggle/.venv/lib/python3.10/site-packages/openfe/utils.py", line 102, in _cal
    _data = pd.read_feather('./openfe_tmp_data.feather', columns=base_features).set_index('openfe_index')
  File "/home/ben/projects/kaggle/.venv/lib/python3.10/site-packages/pandas/io/feather_format.py", line 124, in read_feather
    return feather.read_feather(
  File "/home/ben/projects/kaggle/.venv/lib/python3.10/site-packages/pyarrow/feather.py", line 226, in read_feather
    return (read_table(
  File "/home/ben/projects/kaggle/.venv/lib/python3.10/site-packages/pyarrow/feather.py", line 262, in read_table
    table = reader.read_names(columns)
  File "pyarrow/_feather.pyx", line 114, in pyarrow._feather.FeatherReader.read_names
  File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Field named evaluations is not found

Could you please provide a minimal reproducible example with code and data so that I can fix it?

Could you please provide a minimal reproducible example with code and data so that I can fix it?

i have same issue
here is how my data looks .
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 76368 entries, 0 to 76367
Data columns (total 36 columns):
Column                                          Non-Null Count  Dtype

0   Marital status                                  76368 non-null  int64
1   Application mode                                76368 non-null  int64
2   Application order                               76368 non-null  int64
3   Course                                          76368 non-null  int64
4   Daytime/evening attendance                      76368 non-null  int64
5   Previous qualification                          76368 non-null  int64
6   Previous qualification (grade)                  76368 non-null  float64
7   Nacionality                                     76368 non-null  int64
8   Mother's qualification                          76368 non-null  int64
9   Father's qualification                          76368 non-null  int64
10  Mother's occupation                             76368 non-null  int64
11  Father's occupation                             76368 non-null  int64
12  Admission grade                                 76368 non-null  float64
13  Displaced                                       76368 non-null  int64
14  Educational special needs                       76368 non-null  int64
15  Debtor                                          76368 non-null  int64
16  Tuition fees up to date                         76368 non-null  int64
17  Gender                                          76368 non-null  int64
18  Scholarship holder                              76368 non-null  int64
19  Age at enrollment                               76368 non-null  int64
20  International                                   76368 non-null  int64
21  Curricular units 1st sem (credited)             76368 non-null  int64
22  Curricular units 1st sem (enrolled)             76368 non-null  int64
23  Curricular units 1st sem (evaluations)          76368 non-null  int64
24  Curricular units 1st sem (approved)             76368 non-null  int64
25  Curricular units 1st sem (grade)                76368 non-null  float64
26  Curricular units 1st sem (without evaluations)  76368 non-null  int64
27  Curricular units 2nd sem (credited)             76368 non-null  int64
28  Curricular units 2nd sem (enrolled)             76368 non-null  int64
29  Curricular units 2nd sem (evaluations)          76368 non-null  int64
30  Curricular units 2nd sem (approved)             76368 non-null  int64
31  Curricular units 2nd sem (grade)                76368 non-null  float64
32  Curricular units 2nd sem (without evaluations)  76368 non-null  int64
33  Unemployment rate                               76368 non-null  float64
34  Inflation rate                                  76368 non-null  float64
35  GDP                                             76368 non-null  float64
dtypes: float64(7), int64(29)
memory usage: 21.0 MB
the is also a target column that is on it own .
if you need more ifno let know and  i will provide it thanks .

here is the full error message :
raceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/openfe/utils.py", line 102, in _cal
_data = pd.read_feather('./openfe_tmp_data.feather', columns=base_features).set_index('openfe_index')
File "/opt/conda/lib/python3.10/site-packages/pandas/io/feather_format.py", line 124, in read_feather
return feather.read_feather(
File "/opt/conda/lib/python3.10/site-packages/pyarrow/feather.py", line 226, in read_feather
return (read_table(
File "/opt/conda/lib/python3.10/site-packages/pyarrow/feather.py", line 262, in read_table
table = reader.read_names(columns)
File "pyarrow/_feather.pyx", line 114, in pyarrow._feather.FeatherReader.read_names
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Field named credited is not found

_RemoteTraceback                          Traceback (most recent call last)
_RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/openfe/utils.py", line 102, in _cal
_data = pd.read_feather('./openfe_tmp_data.feather', columns=base_features).set_index('openfe_index')
File "/opt/conda/lib/python3.10/site-packages/pandas/io/feather_format.py", line 124, in read_feather
return feather.read_feather(
File "/opt/conda/lib/python3.10/site-packages/pyarrow/feather.py", line 226, in read_feather
return (read_table(
File "/opt/conda/lib/python3.10/site-packages/pyarrow/feather.py", line 262, in read_table
table = reader.read_names(columns)
File "pyarrow/_feather.pyx", line 114, in pyarrow._feather.FeatherReader.read_names
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Field named credited is not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/concurrent/futures/process.py", line 246, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/opt/conda/lib/python3.10/site-packages/openfe/utils.py", line 111, in _cal
exit()
NameError: name 'exit' is not defined
"""
The above exception was the direct cause of the following exception:
NameError                                 Traceback (most recent call last)
Cell In[62], line 2
1 #transform the train and test data according to generated features.
----> 2 f_x_train, f_x_val = transform(x_train, x_val, features, n_jobs=1)
File /opt/conda/lib/python3.10/site-packages/openfe/utils.py:147, in transform(X_train, X_test, new_features_list, n_jobs, name)
145 cat_feats = []
146 for i, res in enumerate(results):
--> 147     is_cat, d1, d2, f = res.result()
148     names.append('autoFE_f_%d' % i + name)
149     names_map['autoFE_f_%d' % i + name] = f
File /opt/conda/lib/python3.10/concurrent/futures/_base.py:451, in Future.result(self, timeout)
449     raise CancelledError()
450 elif self._state == FINISHED:
--> 451     return self.__get_result()
453 self._condition.wait(timeout)
455 if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
File /opt/conda/lib/python3.10/concurrent/futures/_base.py:403, in Future.__get_result(self)
401 if self._exception:
402     try:
--> 403         raise self._exception
404     finally:
405         # Break a reference cycle with the exception in self._exception
406         self = None
NameError: name 'exit' is not defined

It seems that the error comes from _data = pd.read_feather('./openfe_tmp_data.feather', columns=base_features).set_index('openfe_index'). But credited is not in the columns. Are you trying to run multiple openfe processes in the same machine?

only one openfe process am runing it on kaggle notebook .


[WIP] Paket local - fix travis tests

Let's see if both appveyor and travis pass for these now

it's green. yay

ready to merge?

:shipit:

thanks!!!


unlock LND after Bitcoin Core install if ready

As discussed in:
https://github.com/rootzoll/raspiblitz/issues/2183
Rather than a full restart LND can  be unlocked with the existing script.

Continued from #2183

LND restarts when the bitcoin RPC interface is not accessible after a timeout (10s by defaul): https://github.com/lightningnetwork/lnd/blob/1a8d1874a545c456744ad26d0d3a64b9bed58f0e/sample-lnd.conf#L871

Because of this if the LND wallet is unlocked while bitcoind is still syncing LND can restart and lock again.
We could improve by introducing a check in lnd.unlock.sh to see if Bitcoin Core is 100% synced (progress=1.0) and only unlock LND then.
This might be a new issue or part of https://github.com/rootzoll/raspiblitz/issues/2211
_background.sh  (https://github.com/rootzoll/raspiblitz/blob/8659e641b3763eea4e2f81cd0daec92907ca1a13/home.admin/_background.sh#L363) is checking if LND is unlocked every 10 seconds an would notify on the display, in status or in the menu if called by 00mainMenu.sh or raspiblitz.
The main difference in this PR is that it introduces the lnd.unlock.sh 20 seconds after Bitcoin Core restarts.
It might still not be ready then so this is not a complete solution. More to be done for the v1.7.1 as discussed in #2211


Bring in polymorphism support / constraint solving

In Gradualizer we've recently added polymorphism support by means of an experimental constraint solver. This means that buggy code which would've previously not raised warnings will now fail type checking. Erlang example:
-spec k([binary() | integer() | string()]) -> list().
k(L) ->
    lists:map(fun takes_an_intersection/1, L).

-spec takes_an_intersection(binary()) -> binary();
                           (integer()) -> integer().
takes_an_intersection(B) when is_binary(B) -> B;
takes_an_intersection(I) when is_integer(I) -> I.

The code should fail with an error indicating that takes_an_intersection/1 cannot handle string(). Elixir equivalent:
@spec k([String.t() | integer() | charlist()]) :: list()
def k(l), do: :lists.map(&takes_an_intersection/1, l)

@spec takes_an_intersection(String.t()) :: String.t()
def takes_an_intersection(b) when is_binary(b), do: b

@spec takes_an_intersection(integer()) :: integer()
def takes_an_intersection(i) when is_integer(i), do: i

The error is the same, but types in Elixir have somewhat different names, so this time the error should be about charlist().
In order to bring this feature to Gradient, we would need to do the following:

[x] update Gradualizer
[x] handle the new :constraint_error error type in Gradient
[x] add a --solve-constraints CLI flag
[x] add a Mixfile solve_constraints option
[x] add a test case showing that constraint solving actually works (e.g. using the example Elixir snippet shown above)

All done with #157. Thanks @luk-pau-es!


Redesign feature request: Simplify transitions

Problem description
So I have a pretty simple FSM with 4 states: Idle, Walk, FollowUntil (follow enemy until it's not in attack range), Attack.
I want to have an opportunity to make transitions almost from every state to every other state. And sometimes I want to configure some transition using scripts. But it turns out I have to make 4 (states amount) * 3 (other states amount) = 12 transitions. Looks pretty bad... And I have to make even more when I make new states. And it turns out we have geometry progression of transitions...

Yes, I know we can call switch_state() on FSM to switch states. But it makes transitions uncustomizable. And mixing switch_state() and events are kinda bad decision
Possible solutions
Remove transitions
First thing that comes to mind is to remove transitions at all and make function like _handle_transition(to_state: String) in FSMState template. So you can process needed transitions using code
Smart solution - notify transitions during switch_state()
Ok. So the problem is "I want to change states from one to another and also have opportunity to customize some transitions". To solve this we can make switch_state() the desired way to change states instead of fire_event(). And in switch_state() function we will seek for child transition that satisfies our logic and call _on_transition() of this node if found

Hey! I get what you are trying to say.

Reuse transition scripts: If you are not working that way already, you can reuse scripts again, if you need the same transition.
Use more literal names. Instead of something like "toSprint", I'd suggest to use "onStartSprinting" to give more visual clarity. Name it after the event, rather than the state.
Cut down on the transitions: If you draw your state machine as a chart on paper, you also get a huge mess. You can cut down on transitions by working with them in a smart way. For example: Do you really need a transition from ATTACK to MOVE? If there isn't anything special in this change of state in particular, ATTACK -> IDLE -> MOVE is more than enough. You can checkout the 2.0.0 branch, as I already added an example for a simple character controller there.

Regarding your possible solutions:

Remove transitions

I don't think this solutions fits into the whole node based approach of the plugin. Yes, trees will get messy and big, but that's just FSMs and BTs for you. For more complex behaviours, I always suggest keeping your machines in their own scene, so you can reuse them aswell. Something like _handle_transition(to_state) will only result in big match statements and confusing code.

notify transitions during switch_state()

I am not sure, if I am understanding this correctly? Right now you can trigger a transition in 3 ways.

change_statewithout any logic and hardcoded
fire_eventif you use any event on the transition
Basic transition logic in the ìs_validmethod

Could you maybe give an example on how your idea would work and what it would change?

I am not sure, if I am understanding this correctly? Right now you can trigger a transition in 3 ways.

Exactly. The problem is you have to choose one of three ways. And each way has some limitations.

change_state without any logic and hardcoded

This way lacks customization

fire_event if you use any event on the transition

This way needs too much nodes in simple constructions. For example if you want to have basic transition from one state to another you must have state_count * (state_count - 1) transitions.
My idea here is to make transition nodes more "optional".
So we use first way with change_state function. But we also check state we are transitioning from for transition nodes. If we find transition node that refers to state passed to change_state function, we call its code.
Just for better understanding let me show what I mean in pseudocode:
## Changes the current state and calls the appropriate methods like _on_exit and _on_enter.
func change_state(state: FSMState) -> void:
	# Exit the current state
	active_state._on_exit(actor, blackboard)

+       for child in active_state.get_children():
+            if child.next_state == state:
+                 child._on_transition()
+                 break

	# Change the current state
	active_state = state

	# Enter the new state
	active_state._on_enter(actor, blackboard)

	# Emit the state changed signal
	emit_signal("state_changed", active_state)

Idea here is to connect change_state and transition nodes functionality

I see what you mean. Let me think about these changes and I'll give you some feedback tomorrow. Generally I don't consider many nodes a problem, because the whole plugin is designed around the idea of state machines having actual componenst you can drag around instead of abstract transitions in code, but adding more functionality can't hurt. As said, I'll try some things out and get back to you!

But it turns out I have to make 4 (states amount) * 3 (other states amount) = 12 transitions. Looks pretty bad... And I have to make even more when I make new states. And it turns out we have geometry progression of transitions...

I ended up writing a make shift plugin to edit the transitions as a table. Makes it easier to get a bird's eye view of the machine when you have a lot of states and events.

I ended up writing a make shift plugin to edit the transitions as a table. Makes it easier to get a bird's eye view of the machine when you have a lot of states and events.

If this is in a usable state (or even a good starting point), feel free to open a PR draft or something :)

If this is in a usable state (or even a good starting point), feel free to open a PR draft or something :)
Done


Decide how to handle large datasets in Scivision

This was a point raised at the REG allocation meeting.

Could the Scivision frontend support running at scale (in the cloud when run through Binder, say?)
Might be a good fit for some of the Pangeo tooling
Something REG could help with

Perhaps to consider during a later phase of the project.
Can use intake for this

Related to #317


[ColorPicker] Improving keyboard keyboard navigation

Summary of the Pull Request
This PR improves keyboard navigation for the ColorPicker Editor:

Replaces the custom sliders with styled WPF sliders, making them keyboard-controllable.
The colorpicker-mixer is now within a flyout, more suitable for keyboard navigation.
Correct tab behavior (tab to switch between controls, arrow keys to navigate within the control)
Overall visual / layout improvements
Improvements to the focus visual of all controls
Solving keyboard issue: #10987

Quality Checklist

[X] Linked issue: #10987
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@niels9001
Can you rearrange the mixer fly out that the top border align with the bottom border if the color (move it down).

Then it would be basically the same as we have today. Benefit of this approach is that you can see your previous color values while doing changes

Then it would be basically the same as we have today. Benefit of this approach is that you can see your previous color values while doing changes

The "new" dialogue looks out of the window. 🤔

@htcfreek Fixed in https://github.com/microsoft/PowerToys/pull/11384/commits/ef2e42e9c3afd5aee06002164370cc11f1aa2eac

@htcfreek Fixed in https://github.com/microsoft/PowerToys/pull/11384/commits/ef2e42e9c3afd5aee06002164370cc11f1aa2eac

Better. But the flyout is higher than window. - Let's go with it.

Then it would be basically the same as we have today. Benefit of this approach is that you can see your previous color values while doing changes

The "new" dialogue looks out of the window. 🤔
I think it would be interesting to allow resizing th high if the ux.
Then we can move the "old" color values in editing mode down and show a pannel with the edit options betwin color and first value.
[ color ]
--------------
|   sliders  |
|   sliders  |
| < button > |
--------------
[ format 1 ]
[ format 2 ]
...

@niels9001
I can creat a mock up of what I mean at the weekend.

@htcfreek  It's a flyout - it's supposed to be able to go outside of its parent window and be visually on top. Not seeing the problem here..

@niels9001
Do we need to update the docs after release?

@niels9001
great work!
I'll merge it and delete the branch.


⚠ Samsung has degraded performance

In 1309785, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2308 ms

Resolved: Samsung performance has improved in 5fe96e9.


I can't render SpeedDialActions from another file

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
Steps:

create a file with actions

export const MyActions = () => {
  return (
    <>
      <SpeedDialAction
        icon={<SaveIcon />}
        tooltipTitle="Save file"
        onClick={handleSave}
        tooltipOpen
      />

      <SpeedDialAction
        icon={<SendIcon />}
        tooltipTitle="Send file"
        onClick={handleSend}
        tooltipOpen
      />
    </>
  )
}

my main view

export const MyActions = () => {
  return (
    <SpeedDial>
      <MyActions />

      <SpeedDialAction
        icon={<PrintIcon />}
        tooltipTitle="Print file"
        onClick={handlePrint}
        tooltipOpen
      />
    </SpeedDial>
  )
}

This doesn't work

Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

System:
OS: macOS 13.6
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
Browsers:
Chrome: 117.0.5938.149
Edge: Not Found
Safari: 16.6
npmPackages:
@emotion/react:  11.10.6
@emotion/styled:  11.10.6
@mui/core-downloads-tracker:  5.12.2
@mui/material:  5.12.2
@mui/styled-engine:  5.12.0
@mui/utils:  5.12.0
@types/react:  18.0.37
react:  18.2.0
react-dom:  18.2.0
typescript: 5.0.4 => 5.0.4

Duplicate of #37030?

I think is different because I'm using  but in other file

I believe the reason is the same. You are rendering "wrong" children. The children of the <SpeedDial /> should be <SpeedDialAction />, or you need to make sure that the wrapper component correctly forwards the props. The reason is that it uses cloneElement. I am closing as a duplicate of https://github.com/mui/material-ui/issues/37030.


Firestore Travis: add test runs using sanitizers

@wilhuff, I think I addressed all your feedback on the existing PR - please take another look.


Add missing closing paren in Azure AD docs

Add a closing parenthesis that was missing from the "Understand how multiple Azure Active Directory tenant organizations interact" page.

@ajhall - thanks for this fix!


Debugging Python Library ignores Breakpoints if File is outside of Directory

Does this issue occur when all extensions are disabled?: N/A (Python extension required).

VS Code Version: Version: 1.80.1 (Universal), Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771
OS Version: macOS, 13.4.1 (22F770820d)

Given this simple file structure:
.
├── vscode_debugging_test/
│   ├── debugging.py
│   ├── mylib_samedir.py/
│   └── subdir/
│       └── mylib_subdir.py
└── other_dir/
    └── mylib_otherdir.py

If I debug a cell in debugging.py and step into either mylib_samedir.py or mylib_subdir.py, everything works as expected. However, stepping into mylib_otherdir.py will ignore all set breakpoints. This is the case even if all directories are part of the same workspace. If 'step into' is selected, a new tab is opened that contains a copy of the mylib_otherdir.py file (located nowhere, according to the tab path hint):

Steps to Reproduce:

Create a sample Python script and set some breakpoints (🔴). Store in different locations as mylib_samedir.py, etc. according to the sample file structure.:

def calculate_sum(a, b):
    result = a + b
    return result

def main():
    num1 = 10
    num2 = 20
🔴  print(f"Numbers: {num1}, {num2}")

    # Call the function with breakpoints
    sum_result = calculate_sum(num1, num2)
🔴  print(f"Sum: {sum_result}")

    return sum_result

Create a debugging file:

import os
import sys
mylibrary_local_path = os.path.join(
    os.path.expanduser("~"),
    "github/vscode_debugging_test/mylibrary"
)
sys.path.append(mylibrary_local_path)

import mylibrary

# %%
test_result= mylibrary.main()

Debug the respective cells.

@roblourens, were you able to replicate the issue, or should I provide further information?

Please file this on the python extension, thanks


Rework overflow functionality to tab using Menu

Description
The tab component should support overflow.
Tasks
### Checklist
- [ ] Density (HD, MD, LD, TD)
- [ ] Mode (Light, Dark)
- [ ] Fill (Primary, Secondary, Tertiary)
- [ ] State (Default, Hover, Selected/Active, Disabled, Read-only, Other)
- [ ] Controlled API
- [ ] UITK accessibility parity (screen reader + keyboard interactions)

### Deliverables
- [ ] Characteristics spec
- [ ] Interactions spec, where necessary
- [ ] In Code & Figma (Component + Guide)
- [ ] Supporting site documentation

Clearing assignment, dropping target dates due to unknown in the previous comments

Due to a different direction in UX, Menu won't be used


"flutter precache" fails confusingly if Android SDK is absent

Before https://github.com/flutter/website/pull/5013, our installation instructions suggested running "flutter precache" before "flutter doctor", which leads to this failure mode because the user won't have installed the Android SDK yet:
afterihavedreamed@penguin:~/Programming$ flutter precache
Failed to download the Android dependencies
Downloading Android Maven dependencies...                           0.1s
afterihavedreamed@penguin:~/Programming$

We should provide more detail about why we "Failed to download the Android dependencies" and what to do about it, at a minimum suggesting "flutter doctor".

I think we need to remove the maven precache artifact. We don't have the correct checks to make sure it can actually pass, and getting it working is going to conflate flutter artifacts with project specific setup

Introduced in #39157. @blasten do you have thoughts about removing the precache artifact?

As @Hixie suggested, it sounds like the issue is that the error message is bad, and that flutter precache should check that it has all the runtime dependencies it needs (or noop when it doesn't, and provide a note).
I'm not sure what removing the precache artifact does other than "it doesn't precache Android artifacts".


KAFKA-10833: Expose task configurations in Connect REST API

This PR adds a new REST endpoint to Connect: GET /{connector}/tasks-config, that returns the configuration of all tasks for the connector.
This changes is for KIP-661
Co-authored-by: Mickael Maison<EMAIL_ADDRESS>Co-authored-by: Oliver Dineen<EMAIL_ADDRESS>Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@rhauch @kkonstantine can you take a look? Thanks

Ping @rhauch @kkonstantine
The vote for this KIP passed, can you do a review? Thanks

Ping @rhauch @kkonstantine
The vote for this KIP passed, can you do a review? Thanks

Thanks @kkonstantine for the feedback. I've pushed an update

Just ran into a situation last night where this would have been super helpful. Thanks for adding this @mimaison!

One failure on an unrelated flaky test
Merging to coordinate merge with another PR. Thanks @mimaison !


Use of AssumeTrue in OperationTest

Why has AssumeTrue been used in OperationTest?
It is the last line in a test, there is then no future test to abort/skip if found true.
When found false the test does not fail, it just aborts.
If this is incorrect then the use of assumeTrue need to be reviewed in OperationTest, JSONSerialisationTest HazelcastCacheServiceTest

Lines 91 and 105

I haven't checked all of them but the one in OperationTest looks like a typo. It should be assertTrue


Error in attribute name

There is an error in line 97.  It currently reads...
:not([arialabelledby],[id]),
It should read...
:not([aria-labelledby],[id]),

Thank you for your feedback I've addressed this issue in this commit: https://github.com/lorenzodelijser/lint-html-with-css/commit/8f76b1791fb26c5626723133e5d90bcb5b1e17a6


Naive Haskell solution

to be optimized... by more strictness, better data types, etc.

Hey, it needs to output the processing time:
print "Processing time (w/o IO): #{(t2 - t1).total_milliseconds}ms\n"

OK. Parsing and encoding JSON does still count as IO, right?
jinyus @.***> schrieb am Di., 17. Okt. 2023, 01:34:

Hey, it needs to output the processing time:
print "Processing time (w/o IO): #{(t2 - t1).total_milliseconds}ms\n"
—
Reply to this email directly, view it on GitHub
https://github.com/jinyus/related_post_gen/pull/299#issuecomment-1765426027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ52UYVFZF4U3LBL5V7TWTX7W76ZAVCNFSM6AAAAAA6CZKO3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVGQZDMMBSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I don't know yet how compute the processing time... Haskell's lazyness does everything inside the do block in random order ^^

OK. Parsing and encoding JSON does still count as IO, right?

It should exclude json parsing and writing the results to disk.

That behavior is very weird, are you still working on it? I'm not sure I should merge...

Thanks @ozkutuk for the suggestion on how to force evaluation. The timer should now work.
Ready to merge from my side, optimizations can be provided later.


docs: fix broken url for react plguin

Description
The URL is broken under https://v3.vitejs.dev/plugins/ , fixed it to https://github.com/vitejs/vite-plugin-react

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks for the PR, however we're keeping the v3 docs as-is as it was published before. The v3 branch would only contain critical bug fixes or security patches.


If I use TabBarView in NestedScrollViewPlus, I cannot preserve the scroll positions.

In fact, the problem is not exactly preserving the scroll positions, but rather not being able to preserve them separately. For example:
NestedScrollViewPlus(
  key: nestedScrollViewKey,
  controller: scrollController,
  headerSliverBuilder: (context, _) {
    ...
  },
  body: child,
);

ExtendedTabBarView(
  controller: _tabController,
  cacheExtent: 2,
  children: [
    CustomScrollView(
      key: PageStorageKey<UniqueKey>(UniqueKey()),
      physics: const BouncingScrollPhysics(parent: AlwaysScrollableScrollPhysics()),
      slivers: [
        SliverList(
          delegate: SliverChildBuilderDelegate(
            (context, index) {
              final number = index + 1;

              return Container(
                height: 50,
                color:
                    index.isEven ? CupertinoColors.lightBackgroundGray : CupertinoColors.extraLightBackgroundGray,
                alignment: Alignment.center,
                child: Text(
                  '$number',
                  style: CupertinoTheme.of(context).textTheme.textStyle,
                ),
              );
            },
            childCount: 20,
          ),
        ),
      ],
    ),
    CustomScrollView(
      key: PageStorageKey<UniqueKey>(UniqueKey()),
      physics: const BouncingScrollPhysics(parent: AlwaysScrollableScrollPhysics()),
      slivers: [
        SliverList(
          delegate: SliverChildBuilderDelegate(
            (context, index) {
              final number = index + 1;

              return Container(
                height: 50,
                color:
                    index.isEven ? CupertinoColors.lightBackgroundGray : CupertinoColors.extraLightBackgroundGray,
                alignment: Alignment.center,
                child: Text(
                  '$number',
                  style: CupertinoTheme.of(context).textTheme.textStyle,
                ),
              );
            },
            childCount: 20,
          ),
        ),
      ],
    )
  ],
);

In this configuration (I don't want to make my sliverappbar scrollable too), scrolling one view also scrolls other view.
https://github.com/idootop/nested_scroll_view_plus/assets/22684086/8aec98d5-27a4-4bea-8936-4a8a823b9416
Any suggestion to handle this case?

extended_nested_scroll_view provides a fix for this (inner scrollables in tabview sync issue) Maybe we can get that solution from that package.

I was unable to replicate the issue you've mentioned. However, it appears that the key for your CustomScrollView is being regenerated as a new UniqueKey with each build: PageStorageKey<UniqueKey>(UniqueKey()). This could potentially be the root cause of the problem you're facing. I recommend consulting the official sample code here: https://github.com/idootop/nested_scroll_view_plus/blob/b9f9c553f24eab76666b66c3b25e45114190f74a/example/lib/main.dart#L64
It's essential to assign a consistent unique key to each scrollView under the tab view, instead of generating a new UniqueKey() for every build.

same issue. and the sample code also has this problem
https://github.com/idootop/nested_scroll_view_plus/blob/main/example/lib/main.dart


/mavros/vision_pose/pose topic Send uwb data pixhawk for positioning

Hello everyone!Can anyone help me?
We are trying to achieve indoor autonomous flight in a drone we are developing. For this, we want to use Ultra-Wide Band (UWB) beacons. We are already able to track the location (not orientation) of an UWB beacon quite accurately. The next step for us is to have the Pixhawk (original Pixhawk, FMUv2, running PX4 v1.8.1) that we are using make use of this location. For this, we have set up a UP board with mavros, which sends the xy-data from the tracked UWB beacon to the Pixhawk over the /mavros/vision_pose/pose topic.
Pixhawk seems to have correctly received this location, as we saw in VISION_POSITION_ESTIMATE.However, we can't reliably LOCAL_POSITION_NED follow the ultra-wideband position: when the drone's ground is stationary, the position is correct, but when we take off (using position control, for safety), the VISION_POSITION_ESTIMATE still receives the correct, but ekf2 fusion Local_position/pose data cannot follow the data published by vision_pose/pose.
Set EKF2_AID_MASK to 8vision position fusion in qgc,
EKF2_HGT_MODE to 2Range sensor, lidar gives height information,
EKF2_EV_DELAY is 23ms,
EKF2_EV_GATE is 10SD
my uwb is 9Hz
It is worth mentioning that the /mavros/vision_pose/pose orientation we published is read from the orientation of the imu/data topic published by px4, and the z-axis value uses the distance data of the lidar pointing to the ground.
We define uwb with the x-axis north and the y-axis east (transformed on mavros). We did a test, the pixhawk head turned north, but the effect was very bad, not hovering in a fixed place (in position mode). I want to know if our uwb data is well integrated into the pixhawk, what exactly causes the pixhawk to not follow the uwb data very well.
Here is the log we did a test：https://logs.px4.io/plot_app?log=5f5cef98-77c8-4bdc-a3d4-19859dfc4d7d
We also tried to adjust the following parameters
EKF2_ACC_NOISE is 0.7,
EKF2_GYR_NOISE is 0.03,
EKF2_MAG_DECL, but the effect is the same

@LShikang Have you tried changing EKF2_MAG_TYPE ?

@LShikang Have you tried changing EKF2_MAG_TYPE ?

no,my EKF2_MAG_TYPE is 0(automatic),and What should we set it up to be?h
Here is the log that we did a test today:https://logs.px4.io/plot_app?log=22cd40f6-3879-4826-9020-315a84571538
It can hover at the beginning, but the position offset is gradually increasing, which is a bit like the error is accumulating. What happened to px4?

@LShikang Have you tried changing EKF2_MAG_TYPE ?

No,my EKF2_MAG_TYPE is 0(automatic),and What should we set it up to be?h
Here is the log that we did a test today:https://logs.px4.io/plot_app?log=22cd40f6-3879-4826-9020-315a84571538
It can hover at the beginning, but the position offset is gradually increasing, which is a bit like the error is accumulating. What happened to px4?

@MarLi @mhkabir @Jaeyoung-Lim @#1LorenzMeier @dagar @bkueng @davids5 @#5julianoes    @thomasguble @all
Can you give us some advice?

Have you solved the problem？


Unhelpful error message when schema JSON is invalid

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/foo",
  "definitions": {
    "foo": {
      "type": "object",
      "properties": {
        "bar": {
          "$ref": "bar.json#"
        },
      },
      "required": [
        "bar"
      ],
    },
    "title": "foo"
  }
}

Running quicktype CLI with this Schema produces
Error: Internal error: Defined value expected, but got undefined.

Let me see how I can help.

I tried running the above schema with quick type. On my machine it gives a helpful message. To be exact it outputs :
$ quicktype test.json
Error: Syntax error in input JSON test: Parser cannot parse input: unexpected token '}'.

I think that is pretty valid output. Though providing the line number and column will be pretty good

Well, this just cost me an entire day of debugging. 🤦♂
For me, the problem was simply malformed CLI arguments combined with missing validation and poor error-reporting.
Might I propose, as an interim fix, we simply make the CLI print out it's configuration options before starting?
That way, we can at least tell if it's trying to do what we're trying to ask for.
My head hurts.

I am able to trigger this error message using relative references that quicktype is unable to look up:
Schema 1 with "$id":"myschema/definitions/base"
Schema 2 with "$id":"myschema/objects/foo" and using "$ref":"../base"
If I understand the spec correctly, the $id should set the base URL of the schema, allowing for $ref to be relative. Not sure if quicktype does not follow the ".." part of the URL correctly, or if it is invalid, but the error message is triggered, and in this context, sensible. It should however provide the line number.


[Bug]:  AttributeError: 'NoneType' object has no attribute 'text'

What happened?
i am trying to get the course information from my udemy personal subscription. I  have setup the bearer token at .env file and cookies from console tab and put it at cookies.txt file on the same folder as main.py. I also have use the correct url https://www.udemy.com/course/<course name>/learn/ in my case it's https://www.udemy.com/course/master-data-engineering-using-gcp-data-analytics/learn/.
I run this command
python .\main.py -c https://www.udemy.com/course/master-data-engineering-using-gcp-data-analytics/learn/ --info -sc
and get the following result
[02:17:52] [udemy-downloader] [__init__:331] INFO: Login Success
[02:17:52] [udemy-downloader] [main:1629] INFO: > Fetching course information, this may take a minute...
[02:17:54] [udemy-downloader] [_get:874] ERROR: Failed request https://www.udemy.com/course/master-data-engineering-using-gcp-data-analytics/learn/
[02:17:54] [udemy-downloader] [_get:875] ERROR: 403 Forbidden, retrying (attempt 0 )...
[02:17:56] [udemy-downloader] [_get:874] ERROR: Failed request https://www.udemy.com/course/master-data-engineering-using-gcp-data-analytics/learn/
[02:17:56] [udemy-downloader] [_get:875] ERROR: 403 Forbidden, retrying (attempt 1 )...
[02:17:57] [udemy-downloader] [_get:874] ERROR: Failed request https://www.udemy.com/course/master-data-engineering-using-gcp-data-analytics/learn/
[02:17:57] [udemy-downloader] [_get:875] ERROR: 403 Forbidden, retrying (attempt 2 )...
Traceback (most recent call last):
  File "E:\Rizki\ITS\Udemy\udemy-downloader\main.py", line 1858, in <module>
    main()
  File "E:\Rizki\ITS\Udemy\udemy-downloader\main.py", line 1631, in main
    course_id, course_info = udemy._extract_course_info(course_url)
  File "E:\Rizki\ITS\Udemy\udemy-downloader\main.py", line 831, in _extract_course_info
    course_id, portal_name = self._extract_subscription_course_info(url)
  File "E:\Rizki\ITS\Udemy\udemy-downloader\main.py", line 780, in _extract_subscription_course_info
    course_html = self.session._get(url).text
AttributeError: 'NoneType' object has no attribute 'text'

Expected Result
[01:40:35] [udemy-downloader] [__init__:331] INFO: Login Success
[01:40:35] [udemy-downloader] [main:1609] INFO: > Fetching course information, this may take a minute...
[01:40:36] [udemy-downloader] [main:1612] INFO: > Course information retrieved!
[01:40:36] [udemy-downloader] [main:1618] INFO: > Fetching course content, this may take a minute...
[01:40:36] [udemy-downloader] [main:1631] INFO: > Course content retrieved!
[01:40:36] [udemy-downloader] [main:1656] INFO: > Processing course data, this may take a minute.
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 1 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 2 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 3 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 4 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 5 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 7 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 8 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 9 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 10 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 11 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 13 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 14 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 16 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 17 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 18 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 19 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 20 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 21 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 23 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 25 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 26 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 27 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 28 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 30 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 32 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 33 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 34 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 35 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 37 of 40
[01:40:36] [udemy-downloader] [main:1684] INFO: Processing 39 of 40
[01:40:36] [udemy-downloader] [_print_course_info:1510] INFO:

Branch
master/main
What operating systems are you seeing the problem on?
Windows
Relevant log output
No response
Other information
I have successfully downloaded my purchased course but when i tried to download and get the information about course within my personal subscription there was an error with my above explanation.
Expected result is from my purchased course.
screenshot of my cookie:

No response

It's my bad...
for subscription course you have to use feat/cookies branch. master branch only for purchased course.
therefore this issue is fixed.


Customize welcome bot

Closing Issue/Referencing Issue
issue reference (#59)
Changes Made In Pull Request

customized the welcome bot

Hey @brianabaker can you please add the upstream and take the updated version of this repo, then push to your forked branch.
Also can you please edit 'newPRWelcomeComment'? It is showing non Github-Markdown supported characters

Fixed newPRWelcomeComment and synced my repo with upstream.

Thanks a lot. It looks great now.

https://github.com/ows-ali/Hacktoberfest/pull/99
Good work :)


Is something supposed to be in the examples directory?

I'm just starting to poke around. The examples directory is basically empty and the readme has a broken link to src/data.

I believe this is generated from the LinkML cookiecutter.  we don't have examples now, but as people are going through the process of mapping source to this model, we might generate examples.  feel free to branch and make fixes to the README.  that would be great.  thanks


Fix typo in pop documentation

Just fixes a minor typo I noticed while reading the docs.

Thank you for the contribution!


Daemon troubles

Ricardo clarified that our Node.js server will be running 24/7 and will be performing regular analysis of the database every hour. To do this, we will need a method to schedule functions to be run every N minutes. N should most likely be configurable depending on an environment variable.
I reckon to do this you would need to research Node.js schedulers, decide which is appropriate for our project, add it as a dependency with npm install and implement an example usage of it so we can drop-in replace it with the real analyser function.
This issue should wait for the server source code restructuring planned in #4, as I imagine this will be added to it's own file.

Your implementation works perfectly with node-cron in 8-daemon-troubles. We'll reimplement it in a later branch once we're doing analysis so I'll close this issue.


Improvement code for Kubernetes

Hello,
You should remove this line clusterIP: <IP_ADDRESS> from your ISP-Checker-deploy.yaml
Not everyone is using the same network address.
Also, you can add ingress and service for grafana like:
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: grafana
  name: grafana
  namespace: isp-checker
spec:
  type: ClusterIP
  ports:
    - name: grafana
      port: 3000
      protocol: TCP
      targetPort: 3000
  selector:
    app: grafana
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: grafana
  namespace: isp-checker
  annotations:
    kubernetes.io/ingress.class: "nginx"
spec:
  rules:
    - host: grafana.com
      http:
        paths:
          - backend:
              service:
                name: grafana
                port:
                  number: 3000
            path: /
            pathType: Prefix
  tls:
    - hosts:
      - grafana.com
      secretName: grafana-cert

Agreed, not everyone has the same IP range in their cluster so that line for the influxdb-svc should be removed. Yes, and a LoadBalancer block should be added as well (can be commented out by default until you get Helm going):
apiVersion: v1
kind: Service
metadata:
  labels:
    app: grafana
    app.kubernetes.io/app: grafana
    app.kubernetes.io/project: isp-checker
  name: grafana-svc
  namespace: monitoring
spec:
  ports:
  - port: 3000
    protocol: TCP
    targetPort: 3000
  selector:
    app: grafana
  sessionAffinity: None
  type: LoadBalancer


file_continues_to_stream_on_content_replace_test failed on windows

Observed in https://github.com/TraceMachina/nativelink/actions/runs/10699751146/job/29662010987?pr=1317
test file_continues_to_stream_on_content_replace_test ... FAILED
test file_gets_cleans_up_on_cache_eviction ... ok
test get_file_size_uses_block_size ... ok
test get_part_is_zero_digest ... ok
test get_part_timeout_test ... ok
test has_with_results_on_zero_digests ... ok
test oldest_entry_evicted_with_access_times_loaded_from_disk ... ok
  2024-09-04T10:35:22.539662Z ERROR nativelink_store::filesystem_store: Failed to rename file, err: Error { code: NotFound, messages: ["The system cannot find the path specified. (os error 3)", "Failed to rename temp file to final path \"C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\/5713743219120593976/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10\""] }, from_path: "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\/3946788439344171467/temp_path/0123456789abcdef000000000000000000010000000000001600000000000000-10", final_path: "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\/5713743219120593976/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10"
    at nativelink-store\src\filesystem_store.rs:702
    in nativelink_store::filesystem_store::filesystem_store_emplace_file

test rename_on_insert_fails_due_to_filesystem_error_proper_cleanup_happens ... ok
test temp_files_get_deleted_on_replace_test ... ok
  2024-09-04T10:35:22.617991Z ERROR nativelink_store::filesystem_store: Failed to delete file, file_path: "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\/14126721169268000047/temp_path/0123456789abcdef000000000000000000010000000000001c00000000000000-10", err: Error { code: Internal, messages: ["background task failed: JoinError::Cancelled(Id(1343))", "Failed to remove file \"C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\/14126721169268000047/temp_path/0123456789abcdef000000000000000000010000000000001c00000000000000-10\""] }
    at nativelink-store\src\filesystem_store.rs:124
    in nativelink_store::filesystem_store::filesystem_delete_file

test update_file_future_drops_before_rename ... ok
test update_with_whole_file_closes_file ... ok
test update_with_whole_file_slow_path_when_low_file_descriptors ... ok
test valid_results_after_shutdown_test ... ok

failures:

---- file_continues_to_stream_on_content_replace_test stdout ----
thread 'file_continues_to_stream_on_content_replace_test' panicked at nativelink-store\tests\filesystem_store_test.rs:474:5:
assertion failed: `(left == right)`: Expected file content to match

Diff < left / right > :
<b"123443210"
>[
>    49,
>    50,
>    51,
>    52,
>    53,
>    54,
>    55,
>    56,
>    57,
>]

Observed on linux as well https://github.com/TraceMachina/nativelink/actions/runs/10648367662/job/29517335787?pr=1276
FAIL: //nativelink-store:integration_tests/filesystem_store_test (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/nativelink-store/integration_tests/filesystem_store_test/test.log)
INFO: From Testing //nativelink-store:integration_tests/filesystem_store_test:
==================== Test output for //nativelink-store:integration_tests/filesystem_store_test:

running 19 tests
  2024-08-31T21:28:22.932260Z ERROR nativelink_store::filesystem_store: Failed to touch file, err: Error { code: NotFound, messages: ["No such file or directory (os error 2)", "Failed to touch file in filesystem store \"/home/runner/.bazel/sandbox/linux-sandbox/689/execroot/_main/_tmp/4570b71ef2441e1548bbbb5c539c5a14/14056172379962841113/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10\""] }
    at nativelink-store/src/filesystem_store.rs:342

  2024-08-31T21:28:22.933086Z  WARN nativelink_store::filesystem_store: Failed to rename file, digest: DigestInfo { size_bytes: 10, hash: "0123456789abcdef000000000000000000010000000000000123456789abcdef" }, from_path: "/home/runner/.bazel/sandbox/linux-sandbox/689/execroot/_main/_tmp/4570b71ef2441e1548bbbb5c539c5a14/14056172379962841113/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10", to_path: "/home/runner/.bazel/sandbox/linux-sandbox/689/execroot/_main/_tmp/4570b71ef2441e1548bbbb5c539c5a14/10083340587202927996/temp_path/0123456789abcdef000000000000000000010000000000000100000000000000-10", err: Error { code: NotFound, messages: ["No such file or directory (os error 2)"] }
    at nativelink-store/src/filesystem_store.rs:369

test deleted_file_removed_from_store ... ok
test eviction_drops_file_test ... ok
test digest_contents_replaced_continues_using_old_data ... ok
test atime_updates_on_get_part_test ... ok
test eviction_on_insert_calls_unref_once ... ok
test file_continues_to_stream_on_content_replace_test ... FAILED
test file_gets_cleans_up_on_cache_eviction ... FAILED
test get_part_timeout_test ... ok
test oldest_entry_evicted_with_access_times_loaded_from_disk ... ok
test get_part_is_zero_digest ... ok
test has_with_results_on_zero_digests ... ok
test get_file_size_uses_block_size ... ok
  2024-08-31T21:28:25.397575Z ERROR nativelink_store::filesystem_store: Failed to rename file, err: Error { code: NotFound, messages: ["No such file or directory (os error 2)", "Failed to rename temp file to final path \"/home/runner/.bazel/sandbox/linux-sandbox/689/execroot/_main/_tmp/4570b71ef2441e1548bbbb5c539c5a14/5840616205448497430/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10\""] }, from_path: "/home/runner/.bazel/sandbox/linux-sandbox/689/execroot/_main/_tmp/4570b71ef2441e1548bbbb5c539c5a14/10570750018958606178/temp_path/0123456789abcdef000000000000000000010000000000001600000000000000-10", final_path: "/home/runner/.bazel/sandbox/linux-sandbox/689/execroot/_main/_tmp/4570b71ef2441e1548bbbb5c539c5a14/5840616205448497430/content_path/0123456789abcdef000000000000000000010000000000000123456789abcdef-10"
    at nativelink-store/src/filesystem_store.rs:702
    in nativelink_store::filesystem_store::filesystem_store_emplace_file

test rename_on_insert_fails_due_to_filesystem_error_proper_cleanup_happens ... ok
test temp_files_get_deleted_on_replace_test ... ok
test update_file_future_drops_before_rename ... ok
test update_with_whole_file_closes_file ... ok
test update_with_whole_file_slow_path_when_low_file_descriptors ... ok
test update_with_whole_file_uses_same_inode ... ok
test valid_results_after_shutdown_test ... ok

failures:

---- file_continues_to_stream_on_content_replace_test stdout ----
thread 'file_continues_to_stream_on_content_replace_test' panicked at nativelink-store/tests/filesystem_store_test.rs:474:5:
assertion failed: `(left == right)`: Expected file content to match

Diff < left / right > :
<b"12344[321](https://github.com/TraceMachina/nativelink/actions/runs/10648367662/job/29517335787?pr=1276#step:4:322)0"
>[
>    49,
>    50,
>    51,
>    52,
>    53,
>    54,
>    55,
>    56,
>    57,
>]

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- file_gets_cleans_up_on_cache_eviction stdout ----
Error: Error { code: Internal, messages: ["Sender dropped before sending EOF", "During first read of buf_channel::take()", "Error reading remaining bytes"] }

failures:
    file_continues_to_stream_on_content_replace_test
    file_gets_cleans_up_on_cache_eviction

test result: FAILED. 17 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.88s


Support passing a CancellationToken parameter to RazorSlice.Render* methods

Should add overloads to the RazorSlice.Render* methods to allow passing in a CancellationToken for cooperative cancellation of template rendering. Will likely mean adding a CancellationToken CancellationToken property to RazorSlice so that templates can access the token to pass to any async calls.

This was done.


Unbounded modifier for Ripple

Is your feature request related to a problem? Please describe.
In the MDC documentation (https://material.io/develop/web/components/ripples/) they mention, that there is a radius-unbounded mixin. When diving deeper into this, i found, that an unbounded option is already implemented in @material/ripple/_mixins.scss line 49.
Adding data-mdc-ripple-is-unbounded to the element with v-ripple works as expected.
Describe the solution you'd like
It would be nice to have a modifier unbounded on the ripple plugin.

Have you tried
<button ref="ripple">Button</button> <!--ref name can be any string-->

this.$refs.ripple.mdcRipple.unbounded = true

If both the js approach and the data-mdc-ripple-is-unbounded approach work. I don't see the benefit of making it part of the Vue directive.

No I haven't. But i prefer the data-attribute over the JS, because then i have all "options" in one place.
It would be nice to have a consistent way for specifying options and to expose all @material functionality.

It will be confusing to make it a modifier. Consider the following
<button v-ripple.unbounded ref="ripple">Button</button> <!--ref name can be any string-->

this.$refs.ripple.mdcRipple.unbounded = false

Though the button has unbounded modifier, it's actually bounded. Make it part of the value will be more reasonable, like
<button v-ripple="{ unbounded: true }">Button</button>

There's might be more things that should be taken into considerations. So this feature won't be implemented soon.


Use j/k to move up/down and h/l to move left/right when selecting in a list

Describe the feature
j/k and h/l are commonly mapped to up/down and left/right in vim-like key mapping.
Example:
prompt.select("Choose your destiny?", %w(Scorpion Kano Jax))
# =>
# Choose your destiny? (Use ↑/↓ arrow keys or j/k, press Enter to select)
# ‣ Scorpion
#   Kano
#   Jax

letters = ("A".."Z").to_a
prompt.select("Choose your letter?", letters, per_page: 4)
# =>
# Which letter? (Use ↑/↓ and ←/→ arrow keys or j/k and h/l, press Enter to select)
# ‣ A
#   B
#   C
#   D

Maybe this can be an option in the API, for example:
prompt.select("Choose your destiny?", %w(Scorpion Kano Jax), vim_mode: true)

Potential conflict
When this option is used with filter, it may conflict as filter requires the character to be used for filters. In this case, I think the filter behaviour should take precedent over the movement.
This conflict may also happen if a user of tty-prompt remaps the character, such as the following.
prompt.on(:keypress) do |event|
  if event.value == "j"
    prompt.trigger(:keydown)
  end

  if event.value == "k"
    prompt.trigger(:keyup)
  end
end

The behaviour should be similar to the existing behaviour in this scenario.

Hi Albert,
Thank you for your suggestion. I considered it carefully for some time and came to a conclusion that I would rather keep vim and other editor modes out of this gem. And I say this as a vim user myself. Why is that? There are already a lot of options and complexity in the select prompt and I would like to keep the help as manageable as possible. In near future, I'm planning to introduce a way to select items based on keys which would conflict with this the same way as the filter does at the moment. In addition, the prompt provides a way to hook into these as you demonstrated already so anyone who desires this behaviour can do so.


Handling ambiguous operations

@bergos I wonder if you have thoughts on processing requests which match more than one operation.
Specifically, a common case will be hydra:Collection vs hydra:Resource. If both of those base classes would support a GET operation, trying to dereference any collection would fail because of that ambiguity. That is inevitable if the store would use inferring, since hydra:Collection rdfs:subClassOf hydra:Resource
I kinda have this pattern in mind to make operation "overrides", so that one operation can explicitly be marked as having priority over another
<GetResource> a hydra:Operation .

# For collections, use this and not the one above
<GetCollection> a hydra:Operation ; hydra-box:overrides <GetResource>.

Is that something that would make sense to be a hydra-box feature?

On second thought, this could also be disambiguated based on class hierarchy.
Collection is a specialisation of Resource, so maybe it is only logical that conflicting operations would be resolved by the order, favouring child classes

This is still relevant with kopflos' resource shapes


heavy artifacts don't build reports

Try http://i.jpeek.org/com.google.guava/guava/index.html Most likely it's too big, that's why the delay and then application error.

@rultor release, tag is 0.7.4

@rultor release, tag is 0.7.4

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.7.4

@yegor256 Done! FYI, the full log is here (took me 15min)

Oops! There is no order for job gh:yegor256/jpeek#33.

Oops! Job gh:yegor256/jpeek#33 is not in scope.


Be less dumb about integrity checks

Hashing all files in all adjacent directories is not working out
It's not me, it's definitely you. Stop it right now.

I've fixed this for now with some additional flags: ignore_dot and ignore_parents.
Still a bit crummy, though.

ignore_dot and ignore_parents are disgusting. I've deprecated and removed the latter. The former will likely meet the same fate. Let's switch to a dumb filesize check, then check the hash (with a flag to force hash checks on everything).

This is all trash and I'm working on it
Currently we naively check whether the file has been modified since the command began, which stops most of the nonsense


Wiki: Change 'attributesForFaceting' to 'searchableAttributes'

Description
The wiki page https://github.com/meilisearch/meilisearch-symfony/wiki/configure-settings uses the outdated setting attributesForFaceting. This will lead to an exception when updating the indices.
To make it work, the key needs to be searchableAttributes.

Thanks for your report @daFish it is done! 🤘


fix(type): add bool and List[bool] for join's on input

What changes were proposed in this pull request?

I think join's on input can be bool or List[bool] type. For example, the demo in the comment is a valid demo:
https://github.com/apache/spark/blob/309638eeefbfb13dae8dbded0279bf44390389ee/python/pyspark/sql/dataframe.py#L2107-L2108
Why are the changes needed?

I originally got this typing error in my IDE:

The command joins two table successfully on different columns, however, the typing definition is wrong I think.
Does this PR introduce any user-facing change?

Yes, I am using pyspark==3.3.0.
How was this patch tested?

After adding bool and List[bool], the typing error is gone.

Can one of the admins verify this patch?


tiller upgrade --install flag no longer works

As of helm v2.7.1, after updating tiller, running helm upgrade --install flag no longer works. The following error is displayed: Error: UPGRADE FAILED: "${RELEASE}" has no deployed releases. Downgrading to v2.7.0 or v2.6.2 does not produce the error.

Browser error duplicated my post.


remove prefix bos_token from messages when using lmdeploy as the accelerator

…lerator
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here and update the documentation.
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

use opencompass (before pr1198) and this pr to do evaluation (batch_size = 1):
opencompass (before pr1198) : https://github.com/InternLM/lmdeploy/actions/runs/11251926631
this pr: https://github.com/zhulinJulia24/lmdeploy/actions/runs/11401587215
there scores and predictions are the same.


Point packer explicitly on token file

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug

/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Seems like despite what documentation says in GCP packer has to have credentials passed to.
Which issue(s) this PR fixes:

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

/retest

/retest

/lgtm
/approve


Fix #94 -- Catch database errors more broadly

psycopg.DatabaseError is a common base for all errors that are directly
related to the database.
How to test

Try to provoke a wrong SQL statement
e.g. give me all blue roses from the database
Check the logs for the error and you should get a response

thanks @amureki


install.sh: add dependency check for manual install

To install scylla-tools using install.sh easily, we need:

run dependency check before install

But we don't want to run them when we build .rpm/.deb package,
we also need to add --packaging option to skip them.
See scylladb/scylla#5830

@avikivity this is scylla-tools part of merged PR https://github.com/scylladb/scylla/pull/5873 pending for few months, please review

Dequeued, has dependency on python2:
23:26:24  + ./install.sh --root /tmp/jenkins-e6b4f726/workspace/scylla-master/next/scylla-tools-java/build/redhat/BUILDROOT/scylla-tools-666.development-20200608.75e71d1b35.x86_64
23:26:24  Please install following package before running install.sh:
23:26:24    python2
23:26:24    python2-pyyaml


Clinic

[ ]  Client Page Like Patient linked with Customer or Customize form
[ ] Doctor / Customize Employee  Form
[ ]  Client Appointment
[ ]  Client Consultation
[ ]  Client Treatment
[ ]  Sales Invoice fetch all completed treatment from multiple appointments
[ ]  Client Treatment History (Report)

Doctor / Customize Employee Form
Designation = Doctor , Assistant Doctor
Department= Clinic Name = Dentistry , Beauty , Skin

Client Appointment
Fields
Appointment  - naming series AP-YYMM.####
Client  -
Customer Name -
Date Time - Default now with next celing hour ( that is if the time is 10:15 am it should show 11 am)
Client Treatment - Child Table
Consultation Remark  -
Internal Remark ( not to be printed ) -
Client Treatment Table

Treatment (Item)
Qty (default 1)
Doctor (link)
Note (data)
Clinic Name (doctor.clinicname)

Client Consultation
Fields
Appointment  - naming series AP-YYMM.####
Client  -
Customer Name -
Date Time - Default now with next celing hour ( that is if the time is 10:15 am it should show 11 am)
Client Treatment - Child Table
Consultation Remark  -
Internal Remark ( not to be printed ) -
Client Treatment Table

Treatment (Item)
Qty (default 1)
Doctor (link)
Note (data)
Clinic Name (doctor.clinicname)

Client Treatment
Is Submit = True
Fields
Naming Series :  CT-.YY.MM.DD.-.###
Client Name : Link (Read Only)
Appointment : Link ReadOnly )
Doctor :  Link ReadOnly )
Clinic Name :  Readonly
Date Time
Medical Assitant = ?
Treatment = (Link ReadOnly)
Qty = Fetch and editable ( but not less than 1)
Status = Pending (Default) , Completed, Cancelled
Remarks = Small Text
Can Submit only if the status is Completed/ Cancelled.

Client Treatment History

Client No
Appointment
Date
Doctor
Clinic
Operation/Treatment
Medical Assistant


how to build broker?

ther doris verison is 0.14.0
find doc, build with:  WITH_MYSQL=1 WITH_LZO=1 sh build.sh
but build result not contains broker

cd fs_brokers/apache_hdfs_broker/ && bash build.sh


Adaptive Card Extension 1.18.2 Custom Property Controls Not Working

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version: 120.0.6099.71
SPFx version: 1.18.2
Node.js version: 18.17.1
etc

Describe the bug / error
I've created a new 1.18.2 ACE and installed the latest version of<EMAIL_ADDRESS>and when including any control from this project in the property pane, the property pane is blank and the following error is logged in the console: TypeError: Cannot read properties of undefined (reading 'isInternal')

I do not believe this is related to the controls in @pnp/spfx-property-controls. I added a custom property pane control that I created and use in a 1.18.2 web part project, and this property control generates the same error in the console.
I've also bundled and deployed this solution and I get the same error when using in the dashboard, so does not seem to be tied to the workbench.
The only property controls that work are those coming from @microsoft/sp-property-pane.
Steps to reproduce

Scaffold a new 1.18.2 ACE
Install<EMAIL_ADDRESS>Use PropertyFieldMultiSelect in property pane, load workbench and attempt to edit the web part.

Expected behavior
Custom property controls render when editing properties of an ACE.

Please re-file this ticket in the PnP Github, as it appears specific to PnP controls:
https://github.com/pnp/sp-dev-fx-property-controls

@nick-pape thanks for your reply. I'm also able to repro this issue with a basic custom property pane control that I created and has no ties to the PnP reusable prop controls. This control works properly in a 1.18.2 web part project, it only fails in an ACE. This control simply renders a FluentUI text box that does icon selection. This control also produces the TypeError: Cannot read properties of undefined (reading 'isInternal') error. The only controls that do not produce this error are those coming from @microsoft/sp-property-pane


Start server fail saying Directory 'ui' does not exist

Error:
File "/Users/smai/workspace/ai/search_with_lepton/search_with_lepton.py", line 632, in ui
return StaticFiles(directory="ui")
FIX:
StaticFiles(directory="ui") ->StaticFiles(directory=None)

have you built the web before run the server?

Change directroy to None will enable server running, but access may lead to ui/index.html, then I have no idea how to prceed

NO

I Just clone and try to start

where is the ui directory?

OH, you mean I need to build the web before? ok, I see

running ‘npm run build’ in web after clone would fix the error, make sure you have install next before hand, close issue


On financial aid page, cards overlap with footer

Overview:
On the financial aid page, the bottom card overlaps with the footer element. This is a pretty bad issue! On mobile, it isn't even the bottom card, but the 3rd/4th one depending on the viewport height of the device.
What needs to be done:
Seemingly, the root cause is that the footer isn't anchored to the bottom of the container containing the cards, so we just need to fix that.
Criteria of success:
Cards don't overlap the footer anymore, and the footer is rendered strictly below all of the cards.
Documentation:
Screenshots of the bug in action:
Desktop layout:

Mobile layout:

Stakeholder:
@Aliserag

@Aliserag this one needs a bug label!


Targets is Undefined

I get the following error message whenever I launch my game on the forge with PF2e-Target-Damage enabled. I've disabled all other modules and the error persists. I've not actually used the module yet as this occurred immediately after first install so I can't speak to its impacts on functionality.

Foundry V10 build 290
PF2e 4.4.2
PF2e-Target-Damage 1.3.2

Please check the following release and see if it works.
https://github.com/MrVauxs/PF2e-Target-Damage/releases/tag/1.3.!3

It does not

I see what's wrong. See 1.3.!4

Unlike the previous pre-release this one didn't get picked up by forge, and I didn't want to do too much wrangling on my game server. So I loaded up 1.3!4 on my development copy of foundry and the issue seems to be resolved. So unless it is something forge specific you should be good to go.

These shouldn't have been picked up by Forge, 1.3.!3 being available on there was a mishap unfortunately.
Still, glad to see it resolved, releasing in a full version.


TypeError in asanyarray __array_function__

As reported by @jsignell and @jakirkham over in https://github.com/dask/dask/pull/8054
import numpy as np
import dask.array as da

like = da.from_array(np.array([1,2,3]))
arr = np.asanyarray([1,2,3], like=like)
np.asanyarray([1,2,3], like=np.empty([]))

works fine with the latest dask main branch + numpy=1.21.2. However,
arr = np.asanyarray([1,2,3], dtype=like.dtype, like=like)

arr = np.asanyarray([1,2,3], like.dtype, like=like)

both fail with
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-9202ecac99e6> in <module>
----> 1 arr = np.asanyarray([1,2,3], dtype=like.dtype, like=like)

~/projects/dask/dask/dask/array/core.py in __array_function__(self, func, types, args, kwargs)
   1541             kwargs["like"] = self
   1542
-> 1543         return da_func(*args, **kwargs)
   1544
   1545     @property

TypeError: asanyarray() got an unexpected keyword argument 'dtype'

and
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-d2941612b14c> in <module>
----> 1 arr = np.asanyarray([1,2,3], like.dtype, like=like)

~/projects/dask/dask/dask/array/core.py in __array_function__(self, func, types, args, kwargs)
   1541             kwargs["like"] = self
   1542
-> 1543         return da_func(*args, **kwargs)
   1544
   1545     @property

TypeError: asanyarray() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given

respectively.
I should note that these snippets also fail with the dask=2021.8.1 release, but arr = np.asanyarray([1,2,3], like.dtype, like=like) is missing the (and 1 keyword-only argument) part of the traceback.
cc @pentschev (who I think is out of the office this week)

Yeah Peter's out this week


CMake error when set -DITK_DIR

Hi,
With:
cd <RTK build folder>
rm * -rf
ccmake -DITK_DIR=<Path to ITK build folder> <RTK source folder>

CMake raised this error:
 CMake Error at <ITK source folder>/CMake/ITKModuleExternal.cmake:100 (file):
   file failed to open for writing (No such file or directory):

     <ITK build folder>/lib/cmake/ITK-5.0/Modules/Targets/RTKTargets.cmake
 Call Stack (most recent call first):
   CMakeLists.txt:234 (include)

But it works without problem, if I set ITK_BIN in ccmake like this:
cd <RTK build folder>
rm * -rf
ccmake <RTK source folder>
#configure
#Set ITK_BIN to ITK build folder path

Maybe it's link to https://github.com/SimonRit/RTK/issues/207, but I'm not sure at all.

The error is with the following line: include(ITKModuleExternal).
In the case which ITK_DIR is set with ccmake interface, the file:
<ITK build folder>/lib/cmake/ITK-5.0/Modules/Targets/RTKTargets.cmake
is created with the cmake include line.
In the case which -DITK_DIR is set while initializing cmake, this file is not created. And this lead to the previous error.

The problem comes from the ~ interpretation:
ccmake -DITK_DIR=~/Software/ITK/bin <RTK source folder>

does not work
ccmake -DITK_DIR=/home/<User>/Software/ITK/bin <RTK source folder>

works
And with ccmake interface, the software replace automatically the ~ by /home/<User>/


How to generate tokens_positive for the sentence using Spacy in the Referring Expression Comprehension task?

Hello, thank you for the great work. I would like to finetune on my own dataset. But I am not familiar with dependency parsing. I would be very grateful if you can provide the corresponding code for extracting the root of the sentence using Spacy.

I find the corresponding code in scripts/utils/text.py def get_root_and_nouns(text: str, lazy=True).


add a comment to warn that it is not secure

Hi,
could I know why my PR didn't pass the checks, the PR is a comment. Our tool report that keeps checkClientTrusted and checkServerTrusted empty body is not secure.
Thanks!

Hi @YYTVicky ,
Thank you for this PR!
I think that was an issue with the build with all pull requests failing at that time. Can you please rebase your PR on master HEAD? The "Update branch" button should be sufficient.

When I try to apply this patch I am getting merge conflicts. I don't there actually are any, just that the fork needs to be brought up to date. Can you please do this?


feat(networkpolicies): use the prometheusNamespace value

For the prometheusExporter namespace selector, use the networkPolicy.prometheusNamespace value instead of using a fixed value.
Please ensure your pull request adheres to the following guidelines:

[x] explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make
[x] Document your Changes in the CHANGELOG.md file of the respected chart as well as the Chart.yaml
[x] Bump the Version number of the respected chart

Hi @carminevassallo, could you have a look at this PR?

Hi @carminevassallo, could you have a look at this PR?

Hi @leo-geoffroy-sonarsource,
I was checking this but we also already discussed already. I think that @Mikaciu's contribution is really valuable because currently we do not use networkPolicy.prometheusNamespace parameter in any of our templates and this is a clear bug (we have this parameter mentioned in the README.md). Personally, I'm fine with accepting this contribution, I do not see side effects. This actually will align our sonarqube chart with the dce one. What do you think?

Indeed I think this is a good fix.
@Mikaciu  Could you please update the changelog and chart version to 5.3.0 ? Thanks!

@Mikaciu Could you please update the changelog and chart version to 5.3.0 ? Thanks!

Done, could you please check again ?

LGTM :) @Mikaciu, feel free to merge it when ready.

Hello, thanks !
Unfortunately I cant, there's a status message Only those with [write access](https://docs.github.com/articles/what-are-the-different-access-permissions) to this repository can merge pull requests.
BR

LGTM :) @Mikaciu, feel free to merge it when ready.

Hello, thanks !
Unfortunately I cant, there's a status message Only those with [write access](https://docs.github.com/articles/what-are-the-different-access-permissions) to this repository can merge pull requests.
BR

Dear @Mikaciu,
you're right, sorry for the confusion! I'll merge it and thanks for your contribution :)


Incorrect metadata parsed

Summary
Pool metadata hashes are indexed incorrectly
Steps to reproduce
try to fetch any metadata hash from ipfs
Current behavior
The hash does not exist
Expected behavior
pool metadata is obtained
Possible fixes
Parse the metadata object as an Option type from the PoolData api query

Hotfix provided on 3f84ad1c8c4358643be84bc9f926e6568d457549


MAINT: Test prerelease PyQt6

Okay I thought libEGL was a problem, but it looks like that's not it...


Bump Django and other requirements to latest versions

https://docs.djangoproject.com/en/1.10/releases/1.10/

:shipit:


devcontainers

{
"id": "git",
"version": "1.1.5",
"name": "Git (from source)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/git",
"description": "Install an up-to-date version of Git, built from source as needed. Useful for when you want the latest and greatest features. Auto-detects latest stable version and installs needed dependencies.",
"options": {
"version": {
"type": "string",
"proposals": [
"latest",
"os-provided"
],
"default": "os-provided",
"description": "Select or enter a Git version."
},
"ppa": {
"type": "boolean",
"default": true,
"description": "Install from PPA if available"
}
},
"installsAfter": [
"ghcr.io/devcontainers/features/common-utils"
]
}

Hi @Yusufsuryanata1999,
Would you help me understand the question/issue here? Thanks!


Refactor DataReader to return full span list of payload

In PR #195 , we introduced the terminology "payload", ("term vector" in lucene), which is the positional information of all tokenized words in a document.
Now, DataReader will convert lucene's term vector to a span list, which contains positional information of all words in a document. By doing so, each operator doesn't have to tokenize the document again.
Previously, DataReader performs a keyword match on the positional information and only returns spans relevant to the keyword. This logic has been moved to each operator in previous PRs ( #193 and #194 ) . So each operator doesn't rely on DataReader anymore.

LGTM.  Please fix your IDE to avoid unwanted formatting changes.


I have a class and in that i have different conditions..based on each condition i have to call a separate method.so how do i configure rule in this case.since we dont have any if then else in easyrule. also i dont want to use one rule for each if condition.

I have a class and in that i have different conditions..based on each condition i have to call a separate method.so how do i configure rule in this case.since we dont have any if then else in easyrule. also i dont want to use one rule for each if condition.Suggest me how to proceed in this case.
Also i have a small question that will it support jdk1.6 or not??
Thank you in advance.

Hi,
Production systems and rules engine do not have "else" statement. You have to design one rule for the condition and another rule for "not condition". Here are some resources on that:

"Productions consist of two parts: a sensory precondition (or "IF" statement) and an action (or "THEN")" source

"These types of rules are used to represent behaviors of the type IF condition THEN action." source

"Organize logic through a set of production rules, each having a condition and an action." source

I think even drools does not have "else" statement. An interesting answer here.
So Easy Rules is no exception to that.

Also i have a small question that will it support jdk1.6 or not??

Easy Rules v1.x requires 1.6+ Java runtime.
Easy Rules v2.x is compiled and tested with Java 7 but it should be fine with Java 6 too. Please let me know if you have any issue with that.
Kind regards
Mahmoud

Thanks a lot for the quick reply benas
Here is the exception which i am getting when i tried to run the sample program with jdk1.60._45 version
java.lang.UnsupportedClassVersionError: com/om/ruleengine/MainApp : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Exception in thread "main"
Please suggest do i need to change anything.

No problem, you are welcome.

Please suggest do i need to change anything.

Either use Easy Rules v1.x with Java 6 or upgrade to Java 7 and use Easy Rules v2.x

Even i tried with all other versions of easy rules..
like 1.3.0 , 2.0.0 , 2.10 , 2.2.0
Still i am facing the same issue.

Hi,
Here is a complete working example with easy rules 1.3 + java 1.6:
https://gist.github.com/benas/5d14f99dc85f431a85d48eeb8133997d
If you run the Main class, you should see: "it works" in the console.
Do you confirm?
Kind regards
Mahmoud

Thanks for the suggestion benas
I will check and confirm.

Hi,
Have you got time to check?
Kind regards
Mahmoud


How to log URLSession.shared.dataTaskPublisher?

All network logging options are described in Guide: Capturing Network Requests
.
I would recommend creating a wrapper and saving logs manually using handleEvents() and PulseCore.NetworkLogger.


Fixes in handling websockets

This PR fixes the following problems:

premature closing of websocket streams
missing code to copy headers to the target request (need at least websocket upgrade headers for the upgrade protocol to work)
the way the request URL path was copied was producing an Url with the query separator Url encoded, which some servers won't tolerate (I ran into issues on Wildfly)

Signed-off-by: Mariusz Borsa<EMAIL_ADDRESS>

LGTM. Thanks for figuring out the path was an issue.