Add bower_components to VisualStudio.gitignore

Added bower_components to .gitignore to not include bower packages: http://bower.io/

This was removed in #1529 and I'd love @sayedihashimi to chime in here about why he proposed that

Oh, and @barrytang

I just made the commit the decision was made by @damianedwards and @mkristensen, they should reply with more info.

Ah, didn't search enough, my bad... Maybe we could add it commented out?

@Zenuka I'd like that

@shiftkey, done

I'm letting this sit until Friday 19 February AEDST for feedback.

:+1: to merging this.

Oops, missed my self-imposed deadline. Let's take this in and see what other feedback comes up.


[WIP] Proposal - Generated value

Proposal implementation to solve the problem of generated values in the database.
Example:
val q = quote {
  qr1.generated(_.i).insert
}
val run = mirrorSource.run(q)(List(TestEntity("s",1, 2L, Some(1)))).sql mustEqual
  "INSERT INTO TestEntity (s,l,o) VALUES (?, ?, ?)"

The generated keyword would tell the insert action that one value should be ignored during insertion and should be returned as the result of the action. Also, I think it should return List[Long] or List[Int] according to the type of the generated value (I don't know yet how this would be done).
This is just a proposal, if we agree that this could be the way to go, we can discuss in details the code implementation.

I have two question

What does queries like this query[XXX].generate(_.id).filter mean ?
Is it possible to have api like patch(_.i,  xx) to support not only generated value, but also stored func or something else

@jilen the generated would only change the behavior of insert. I didn't quite understand how patch(_.i, xx) would work, you mean an api to access stored procedures with parameters and returning values?

Here are the possibilities that I thought so far:

generated keyword. Example: qr1.generated(_.i).insert
Mix in. Example case class TableEntity(id: Long with PK[Generated], name: String)
break backward compatibility of EntityQuery.apply contract adding another parameter for the generated value
break backward compatibility of EntityQuery.insert contract adding another parameter for the generated value

break backward compatibility of EntityQuery.apply contract adding another parameter for the generated value

Interesting, I really like this idea! Do you see downsides of it?

@fwbrasil I think we could change the signature from:
EntityQuery.apply[T](alias: String, propertyAlias: (T => (Any, String))*)

To something like:
EntityQuery.apply[T](alias: String, propertyAlias: Seq[T => (Any, String)] = Seq.empty, generated: Seq[T => Any] = Seq.empty)

And would use it like:
val q = quote {
   qr1("name", Seq(_.id -> "test"), Seq(_.id)).insert
}

Or with named parameters, which is something that I like to do sometimes.
val q = quote {
   qr1(alias = "name", propertyAlias = Seq(_.id -> "test"), generated = Seq(_.id)).insert
}

Downsides:

increase verbosity

Upsides:

right now the EntityQuery.apply is closed to extensions. With this change, we will be able to add other parameters like foreignKeys, indexes, primaryKey.

What do you think?

Mix in. Example case class TableEntity(id: Long with PK[Generated], name: String)

I don't like id: Long with PK[Generated] since you lose the ability to "type" your IDs; i.e. there's no way to distinguish UserID, PlayerId, GameId, etc. based Value Class identifiers from each other.

Downsides:
increase verbosity

We could create a mini-DSL just for entity creation:
val e = quote {
    query[Person].name("person_table").columns(_.id -> "person_id", _.name -> "person_name").generated(_.id)
}

We could create a mini-DSL just for entity creation:
val e = quote {
query[Person].name("person_table").columns(_.id -> "person_id", .name -> "person_name").generated(.id)
}

I :heart: it

I will proceed with the mini-DSL, as proposed by @fwbrasil.
val e = quote {
    query[Person].name("person_table").columns(_.id -> "person_id", _.name -> "person_name").generated(_.id)
}

Is anyone against this idea?

Maybe having the DSL based on EntityQuery isn't the best alternative as it can be confused with actual query composition. Another suggestion:
val q = quote {
    query[Person](_.name("person_table").columns(_.id -> "person_id").generated(_.id))
}

Wdyt?

@gustavoamigo I'd prefer returning over  generated, but otherwise LGTM as far as being able to ignore and return a given column.
Ideally something like ...).returning(_) would return the inserted Entity with updated sequence included :smile:

@fwbrasil less confusing, I like it.
@godenji the problem I have with returning is that it suggest that you can control what properties you want to return and that would not be the fact. What we might have in the future is something like ...).returning(_.Entity).insert or ...).returning(_.Generated).insert

@gustavoamigo btw, don't worry with backward compatibility. It's not a problem until 1.0

btw, don't worry with backward compatibility. It's not a problem until 1.0

:+1:

the problem I have with returning is that it suggest that you can control what properties you want to return and that would not be the fact

@gustavoamigo aren't you doing exactly that though? I mean, the examples all supply a column and specify that it is generated, how is that different than returning?
In the end returning is what most databases (except for MySQL) use, and Slick users coming to Quill already do the same.
Anyway, this seems like #14 but maybe I'm misunderstanding the intent of this feature. Perhaps you want to do something like ignore a timestamp column and return database generated value?

@godenji your thumbs up triggered a PR approval :smile:  . Regarding your point, I know what you mean. I think that if you are defining the schema, it doesn't making sense to use returning to me, but if you are changing the behaviour of insert it makes sense to use returning. I'm going to work on the schema DSL as suggested by @fwbrasil and then we can work on the names.

your thumbs up triggered a PR approval

pre-approved PR :smile:
I'm not opposed, quite the opposite, I think there's work to be done in the insert/update department, and this PR moves us toward that.
Just trying to sort out the details and see where #14 and this PR can come together; they seem similar (outside of #14 depending on database implementation of returning id, last_insert_id, etc.).
BTW, I like id: Long with PK[Generated] provided that PK is a universal trait (i.e. can be mixed in with a Value Class); then we could have id: UserId with implementation like:
case class UserId(id: Long) extends AnyVal with PK[Generated]

Think it would be great to get primary key, foreign key, and index columns integrated with Quill model (i.e. case class definitions). That would give us more power in terms of being able to implement generated keys without additional boilerplate required for the user (just inspect the AST and ignore/return accordingly).

@gustavoamigo I mean something similar to oracle sequence next_val

Since this feature evolved to a Schema DSL, I am going to close this PR in favor of a new one.


Middleware post process error handling

When middleware is added to the api and we have a post_process on it, any exceptions thrown in the responder are not aggregated to an appropriate response. Instead, they are ignored and the post_process attempts to run on as though nothing happened.
It does not matter whether an exception handler is added to the api or not.
Let me know if I just misunderstood how to handle these

Hi @esmalifesum, thanks for bringing up this issue. You are correct in that the framework does not skip process_response methods when an exception is raised. This is done in case those methods need to perform critical post-processing steps.
When an instance of falcon.HTTPError is raised in a responder, the framework should render that into a response, while also executing process_response. Similarly, when other types of exception are raised, custom error handlers are given the chance to render that into a response. If you are seeing a situation in which the errors are not rendering into a response, that's definitely a bug.
Also, while looking at the code, I found a a case in which the exception is rendered to a response only after passing through the middleware components. Conceptually, as well as for the sake of consistency, I think it would make more sense to always render the response from the exception first.
Is there a particular type of middleware you hand in mind that should be short-circuited when an error is raised? If that functionality is useful, we can brainstorm some ways to support it.

Hi Kurt,
We have an exception handler currently wrapped around the responders. If
any of these raise an exception, we will handle the exception as our app
needs within the handler. If this happens, I would expect for my post
processors not to even be called as they are there to process only
valid/sane responses from the responders.
Are you saying that each middleware's post process method should have an
exception handler on its own as well?
Maybe I'm not thinking around this the right way and there's a better
pattern for it. If so, can you provide a more thorough scenario/pattern for
us to follow?
Esma
On Thu, Sep 17, 2015 at 5:31 AM, Kurt Griffiths<EMAIL_ADDRESS>wrote:

Hi @esmalifesum https://github.com/esmalifesum, thanks for bringing up
this issue. You are correct in that the framework does not skip
process_response methods when an exception is raised. This is done in
case those methods need to perform critical post-processing steps.
When an instance of falcon.HTTPError is raised in a responder, the
framework should render that into a response, while also executing
process_response. Similarly, when other types of exception are raised,
custom error handlers are given the chance to render that into a response.
If you are seeing a situation in which the errors are not rendering into a
response, that's definitely a bug.
Also, while looking at the code, I found a a case in which the exception
is rendered to a response only after passing through the middleware
components. Conceptually, as well as for the sake of consistency, I think
it would make more sense to always render the response from the exception
first.
Is there a particular type of middleware you hand in mind that should be
short-circuited when an error is raised? If that functionality is useful,
we can brainstorm some ways to support it.
—
Reply to this email directly or view it on GitHub
https://github.com/falconry/falcon/issues/606#issuecomment-140959511.

There are times when you may want to perform post-processing regardless of whether an error was raised. But I can see your point about a need to be more selective in some cases.
One way we could support this would be by adding an additional middleware method, process_successful_response(). Thoughts?

Yes, I think something like that would allow us more flexibility and let us avoid coding nonsense into middleware just to handle exceptions when there is already an exceptions handler. My team would definitely use your suggested method.

Is there any progress regarding this issue?
I need to validate responses agains swagger schema.
When a falcon HTTP exception is raised in a responder or in process_resource middleware method (which raises HTTPBadRequest when request body is invalid), the status code of the response is still 200 when it comes to process_response.
At which point does falcon set appropriate response status and body when an HTTP error is raised?
How can I process only successful responses?
How can I identify that a response is not successful in a process_response middleware method?

Hi everyone, the middleware handling has been reworked such that the status code will now be updated before process_response is called. Please try the latest code from master and let me know how it goes.
I've also got a patch up to pass a flag to process_response() so that the logic can key off whether the request succeeded or not. Check it out and let me know what you think: #890


logging: Remove newlines added by morgan

Getting rid of the newline character apparently added by morgan when logging http requests.

Oh hey by the way - maybe use .trimRight() instead, so that it can add indentation on the left if it wants to on multiline things? not sure if that ever happens, but still - we just want to get rid of the newline at the end :)


TypeError: (0 , _stripeReactNative.initStripe) is not a function

Describe the bug
I am trying to write a test case. but I am trying to mock stripe npm but not getting success.
To Reproduce
Write two basic tests and execute them you can see the error in the console
App.js file
useEffect(() => {
		getStripeToken();
		initializeStripe();
	}, []);

	const initializeStripe = () => {
		initStripe({
			publishableKey:'pk_te9ms7qP6N70007AHphRr',
			merchantIdentifier: 'merchant.identifier',
			urlScheme: 'your-url-scheme'
		});
	};

App.test.tsx
	test('Stripe Payment render correctly', () => {
		render(<StripePayment />);
	});

	test('Stripe Payment snapshot capture correctly', () => {
		const componentTree = render(<StripePayment />).toJSON();
		expect(componentTree).toMatchSnapshot();
	});

jest.setup.js
import mock from<EMAIL_ADDRESS>
jest.mock('@stripe/stripe-react-native', () => mock);

Received following error

fixed in https://github.com/stripe/stripe-react-native/commit/e034c824fd72b9e2d3277c1c8dd7dd5ef3bf5b47, thanks for the report! this will go out in our next release


Saving whole image dimension as bounding box

Is there anyway to assign the whole image dimension as the XML(bounding box)?
I know we could the draw the box over the full image.
But is there any other easy way the save the whole image dimensions as the bounding box
Please help me out. Thanks in advance

Please see: https://github.com/tzutalin/labelImg/issues/276


chore: import and add leetcode icon

Changes proposed
Imported the leetcode icon and added to the required files!

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Hi @kartikgajjar7, I've imported the leetcode icon for you, after merging this PR to your fork, you can feely create another one to the linkfree main! 😉
Also, the icons size could be left for someone else, to gain more green squares! 😉
__
  Tags: Reusable

tons of thanks brotherr


feat: Clock component

Here is a little POC to see if you like it before digging for 100% code coverage/sat

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

7 of 14 (50.0%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 98.529%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Psl/Clock/FrozenClock.php
0
3
0.0%

src/Psl/Clock/SystemClock.php
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/Psl/DateTime/Internal/high_resolution_time.php
2
80.95%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.2%

Covered Lines:
5357

Relevant Lines:
5437

💛  - Coveralls


Added CoroutineExceptionHandler

Added CoroutineExceptionHandler  to handle uncaught exceptions

@GeorgCantor I'm not sure about its need but we're already handling exception in NetworkBoundRepository if you see its implementation
https://github.com/PatilShreyas/Foodium/blob/master/app/src/main/java/dev/shreyaspatil/foodium/data/repository/NetworkBoundRepository.kt#L65-L72


Local sources

Is your feature request related to a problem? Please describe.
I don't use any RSS sync service and would like to use it locally.
Describe the solution you'd like
Just like in the desktop version

#3

Sorry, I did not search through the closed issues. Why don't you want to add this? Would you accept a PR adding it (I'm not that familiar with flutter/dart so I'd have to learn it a bit first)

Sorry, I did not search through the closed issues. Why don't you want to add this? Would you accept a PR adding it (I'm not that familiar with flutter/dart so I'd have to learn it a bit first)

Properly parsing and managing local sources is quite a nontrivial task and I don't have the time to work on something that I won't use. Besides, the point of this app is to sync with the desktop app. I'd much prefer people to just use that instead for a better experience if they don't need syncing.


Whether int8 quantization is supported ？

May I ask whether the current project supports INT8 quantization? If so, how? Currently onlyFT16, FT32 quantification is supported, right?

Correct, but I think you can do PTQ using TensorRT calibration. Not implemented in this repo and not planned to do so in short phase.


Quick fix to broken Reportbacks endpoint url generation.

Fixes #6050
What's this PR do?
While working on Campaign Run updates, I noticed the Reportback url generation in responses was broken, so this is a fix for it as well as removing .json from all URL endpoint generation cause it was about time.
Where should the reviewer start?
Just double-check I didn't delete anything necessary when removing the .json string concat.
What are the relevant tickets?
#6050

@DFurnes @angaither

:star2: :rocket: :runner:


Expander.Header doesn't inherit MaterialDesignTheme.Dark color changes

If you have a card with Expander.Header and MaterialDesignTheme.Dark setting, this is what it looks like:

👍

nice


Use build script to make no-std work on stable Rust

RUSTC_BOOTSTRAP=1 would allow us building wasm binary using stable Rust. The drawback is however that it introduces it on the whole codebase, which may lead to unwanted introduction of usage of nightly features.
This PR, instead, sets the flag only in no-std build script, thus enabling it only for a crate when needed.

This will not work.
Wasm builder is checking for nightly and this build script is running to late. It is a bad idea anyway.


[Bug] Wikimedia Commons card component not properly aligned

Description
Wikimedia commons card component is not properly aligned with other search card component
Reproduction

run the project locally
See wikimedia commons card component not properly aligned.

Screenshots

Resolution

[x] I would be interested in resolving this bug.

@possumbilities please triage this issue

@possumbilities can I proceed with working on this??

@dikehprosper with the new structure of the engine buttons, that bug is no longer found.

@JennySimen

Seems to be resolved by the work in #168

Hey , wanted to settle this bug but can't find it anymore is that resolved?

@NEGRAH-S This was apparently resolved by a recent PR

#206

Adding @PreciousOritsedere here


Prepare Missing Operators

Description:
This issue involves implementing the following missing operations:

~
!~
WAS
WAS IN
WAS NOT
WAS NOT IN
CHANGED

These operations are crucial for retrospective analysis and state tracking. The implementation should cover scenarios where it's necessary to check if a condition was true/false or if a value was present/absent in the past. Additionally, the "CHANGED" operation should be implemented to identify when a change occurred.
Unit Tests:
Ensure comprehensive unit tests are written for each implemented operation. These tests should cover various scenarios to guarantee the correctness and reliability of the new functionality.
Note:
Ensure that the implementation is efficient and integrates seamlessly with the existing system. The unit tests should be thorough and provide adequate coverage for the newly implemented operations.

Done in #12

Completed in #12


Fitting LGBMClassifier on a Dataset

Using the sklearn API, I'm currently training LGBMClassifier like this:
train_ds = lgbm.Dataset(X_train, label=y_train)
model = lgbm.LGBMClassifier(...)
model.fit(train_ds.data, train_ds.label, ...)

Do I incur any memory or performance penalties with train_ds.data, train_ds.label? My data is very large - tens of gigabytes. I know I can run lightgbm.train directly on a Dataset, but it doesn't have the early_stopping callback that I need.
In general, what are the advantages of using a Dataset over a numpy array?

Thanks for using LightGBM!

what are the advantages of using a Dataset over a numpy array?

Please see this stack overflow answer to the same question.
In short, LightGBM does some pre-processing of the raw data prior to training, and it's that preprocessed representation that is used as the input to boosting.
The scikit estimators like LGBMClassifier and LGBMRegressor are just intended to provide a way to train a LightGBM model that is compatible with the main other libraries that understand estimators following the scikit-learn API. When you provide data in numpy, scipy, or pandas format to LGBMClassifier.fit(), internally the lightgbm Python package is creating a Dataset from that raw data.
Don't build a Dataset and then pass its .data and .label to LGBMClassifier.fit().
Use one of these options:

create a Dataset using lgb.Dataset(), set free_raw_data=True to remove the raw data after construction, then use lgb.train() to train a model
use LGBMClassifier() on data in numpy format, and don't create a Dataset at all.

My data is very large - tens of gigabytes

If you don't have sufficient memory to hold your raw data and the lgb.Dataset object in memory at the same time, please consider using the Sequence API added in #4089: https://github.com/microsoft/LightGBM/blob/f834cab49a3e394969d087bb209d500b70f428dd/examples/python-guide/dataset_from_multi_hdf5.py
That API allows the construction of lgb.Dataset from chunks of the full dataset, which are read into memory and processed one at a time.
Alternatively, if you're able to provision a Dask cluster, you could try distributed learning with lightgbm.dask (https://lightgbm.readthedocs.io/en/latest/Parallel-Learning-Guide.html#dask).

Thanks for a very quick reply, @jameslamb ! I do appear to have enough memory, but I'm running out when I'm wrapping my training in an Optuna objective. My understanding is that out of your suggested options, I should use

create a Dataset using lgb.Dataset(), set free_raw_data=True
to avoid preprocessing of the same raw data at each Optuna trial.

However, I don't see any references to early stopping in the training  API, should I be looking elsewhere?

However, I don't see any references to early_stopping_rounds in the training API, should I be looking elsewhere?

The current supported way to perform early stopping using lgb.train() is to use the lgb.early_stopping() callback, like this:
https://github.com/microsoft/LightGBM/blob/f834cab49a3e394969d087bb209d500b70f428dd/examples/python-guide/simple_example.py#L39-L43
I recommend using that approach, as the old option of providing early_stopping_rounds as a keyword argument to lgb.train() (https://lightgbm.readthedocs.io/en/v3.3.2/pythonapi/lightgbm.train.html#lightgbm.train) was marked deprecated as of release v3.3.1 and removed in #4908.

Understood, thanks a lot!

No prob, thanks for using LightGBM!


Update the Button page to list the available button types

Button page
Requirement
As a user of the demo app
I want to be able to select the buttons variants
So That I can access all of it's states
General description
As demoed during Sprint Review 12 in Android the objective is to introduce a list selector to present the various button variants. Then each page would present that various states of that variant.
UI specifications
The list of the variants to use is (confirmed with @mccart77 to gather the 2 inital tiles into one : "Buttons"):

Important buttons
Functional buttons
Filled buttons
Outlined buttons
Text buttons (or Label  buttons)
Icon buttons

After a discussion with @ludovic35  & @Gui114um3  we propose to update the names to:

Important buttons
Medium button ( Filled buttons)
Low button (Outlined buttons)
Functional buttons
Text buttons (or Label buttons)
Icon buttons

After discussion with @ludovic35 and @B3nz01d , we propose ro update the names to :

After Weekly design meeting
This is new types of buttons:

Highest emphasis button (Name to be confirmed)
High emphasis button (previously: Filled buttons)
Medium emphasis button (previously: Outlined buttons)
Low emphasis button (previously: Text buttons or Label buttons)
Functional (positive & negative option)
Icon buttons (iOS - Maybe in android)
Toggle buttons ( only android)

In the demo app the list items should propose the technical element name as a subtitle for each button example
In iOS you would be creating the following objects:

ODSButton
ODSButtonFunctional
ODSButtonIcon

For Android the names will be aligned with the android default object names

@B3nz01d @mccart77 Can you review the text for all variant pages of butons ?
@Gui114um3 Can you update zeppo with those texts ?


External util tests

Coverage increased (+2.9%) to 81.145% when pulling 0ef2021b59bf6baaf33e3b71631a1d284cf9da5a on external-util-tests-aleksi into 7f80b0bd5428b945067343ea1edb67eade95d333 on master.

👍


Security Issue: Password Reset exposes which emails exist in the database

If the user submits an email that exists they are able to determine if an email exists because they will be redirected to the show page. This is a security issue.
https://github.com/lazaronixon/authentication-zero/blob/c934cfc518ac170c524ae367101887b76562273b/lib/generators/authentication/templates/controllers/html/identity/password_resets_controller.rb.tt#L20
The expected behavior should be to redirected to the sign_in_path with the same "Check your email for reset instructions" notice.

This is why we have the option of --lockable. It will rate_limit this endpoint, mitigating this issue.
https://github.com/lazaronixon/authentication-zero/blob/c934cfc518ac170c524ae367101887b76562273b/lib/generators/authentication/templates/controllers/html/identity/password_resets_controller.rb.tt#L5


Assets Not Loaded with Backend Integration

Describe the bug
Hi!
I've created a basic backend integration setup. The production build is working. However during development, images in App.tsx aren't working. They're being fetched from the current port (8000), where they don't exist.
http://localhost:8000/dist/vite.svg
http://localhost:8000/assets/react.svg
For the Vite logo, the src is set to dist/vite.svg to make this work for production.
I can't tell if this is a bug or how this would be solved with config.
This bug was reported earlier here by @Zehua-Chen and @jessarcher [https://github.com/vitejs/vite/issues/7778](in this issue), but I could not find an answer on how to actually resolve this problem.
Reproduction
https://github.com/jvanmaaren/vite-backend-integration
Steps to reproduce
I've created a repository to show this issue:
https://github.com/jvanmaaren/vite-backend-integration
To test development:

yarn backend-mock-dev
yarn dev
View localhost:8000

To test production:

yarn backend-mock-prd
View localhost:8000

System Info
System:
    OS: macOS 13.2.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
    Memory: 291.48 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v16.15.0/bin/yarn
    npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
  Browsers:
    Chrome: 110.0.5481.177
    Firefox: 110.0
    Safari: 16.3
  npmPackages:
    @vitejs/plugin-react-swc: 3.2.0 => 3.2.0
    vite: 4.1.4 => 4.1.4

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

You can set origin to origin: 'http://localhost:8080',, so when the backend server is running the request will goes to lccalhost:8080/assets/react.svg instead of localhost:8000/assets/react.svg. This will make React SVG appears in dev.
I think you need to proxy the localhost:8000/vite.svg to localhost:8080/vite.svg, serve might not support exteranl forward but https://www.npmjs.com/package/http-server could.

Thanks for your reply @fi3ework and @Zehua-Chen!
I have

replaced node serve with http-server
changed port based on development/production server
removed origin, so it defaults to port
remove "dist" from "dist/vite.svg"
pushed code to the example repository

Development now works. However one problem still remains:
On production (built), the Vite logo doesn't work:
It tries to fetch http://<IP_ADDRESS>:8000/vite.svg
That should be http://<IP_ADDRESS>:8000/dist/vite.svg
Do you know how I can handle this?

Hi @jvanmaaren , sorry for the late reply.
I took a look at your repository. Assets in the public/ folder will be served at Vite server's root. In your repo, public/vite.svg will be served at localhost:8080/vite.svg. Your App.tsx follows this assumption. This is why your development environment works properly.
During build, Vite will copy public/vite.svg to some-other-server/dist/vite.svg, your js bundle and vite generated html is also in some-other-server/dist/. If you load start the server in some-other-server/dist/, vite.svg will be at root and should load properly.
What you are trying to do is to start the server in some-other-server but use the js bundle in some-other-server/dist. Your JS bundle still loads but vite.svg is no longer at the root.
I can think of two solutions

Don't use a different HTML for production (i.e. some-other-server/index.html). Vite should generate a html for you in some-other-server/dist using src/index.html
Configure Vite to generate output in some-other-server (without dist), and use src/main.tsx as the JS entry point (rather than looking at src/index.html and try to figure out JS entry points, because this will override some-other-server/index.html). This can be done using the following snippet

import pluginReactSWC from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";

export default defineConfig(({ command }) => {
  const isDev = command === "serve";

  return {
    base: isDev ? "" : "/dist/",
    root: "./src",
    publicDir: "../public",
    build: {
      outDir: "../some-other-server/",
      rollupOptions: {
        input: 'src/main.tsx',
        output: {
          assetFileNames: "[name].[ext]",
          entryFileNames: "[name].js",
        },
      },
    },
    plugins: [pluginReactSWC()],
    server: {
      port: isDev ? 8080 : 8000,
    },
  };
});


[Bug]: Loot notification about FormID outside the valid range

What happened? (Actual vs Expected Behavior)
LOOT gives the following notification:

QuickLootIE.esp contains records that have FormIDs outside the valid range for an ESL plugin. Using this plugin will cause irreversible damage to your game saves.
The valid FormID range for ESL plugins is FExxx800-FExxxFFF in Skyrim Special Edition and FExxx001-FExxxFFF in Fallout 4. If this plugin was uploaded in this state, the error should be reported to the author.

Is this expected? Can it be ignored? Or is it a genuine issue?
What mods for icons where you using, if any?
No response
Steps to Reproduce
Install with MO2 and activate LOOT notifications.
Version
3.0.0
What Skyrim version are you using?
doesn't matter
Relevant log output (Expandable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

With the 1.6.1130 update Bethesda extended the range of ESL plugins by fixing a bug that caused them to require starting at 0x800. Either update LOOT, or ignore the warning. If you're on a version lower than 1.6.1130 you need to have BEES installed.


Fix update notification not polling correct URL

The update manager currently polls http://update.dziemborowicz.com/hourglass, which doesn't exist. Either put information about the latest version there, or have the update manager poll some other URL, such as the list of GitHub releases.

Uploaded UpdateInfo XML to http://update.dziemborowicz.com/hourglass.


Updating the codeowners file

Description
Updating the CODEOWNERS file to reflect the maintainers on MAINTAINERS.md file
Issues Resolved
Closes: #235
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

CODEOWNERS file is not green yet. Couldn't find user @anshul291995. @Bukhtawar @eirsep Can you please confirm if this user needs to be added to this repo?

Barani,  @anshul291995 is a former contributor to this repository, we can skip access for now

@Bukhtawar  @eirsep I have updated the MAINTAINERS list and removed @anshul291995 now. I notice some CI failures so need your help to remediate it before merging this PR.


Fix project name in unified test automation local runner

Using an input.yml file extracted from one of the Jenkins
jobs to run steps locally has an issue when the os_project_name
variable isn't set.

Removed changes submitted separately (#3498 and #3451).


Add vco provisioning

(gh-590) Add vCenter Orchestrator (vCO) support to Beaker
Without this patch beaker cannot use vCO to provision/cleanup virtual machines, which allows for the workflow that creates/destroys a vm to be customised to include various other steps that beaker will likely never support such as adding DNS, bootstrapping the guest OS, setting up password-less ssh login and creating appropriate hiera data.
This patch uses rest-client to issue REST API calls to a vCO host to execute a "provisioning" workflow and "cleanup" workflow where required. It uses the existing fog file to store vco credentials and allows for the workflow name and parameters to be set in the nodeset file.

Still has extra commit.
Also, please do a documenting pass with Yard doc.
Are you willing to be a reviewer for future code changes here? We won't be able to test internally and we don't want to merge code that we can't maintain.  Otherwise this would be more appropriate is a local library.

Sorry I'm not sure how to reset my branch to the older commit, do I revert the commits in my master fork and rebase?

@nemski I would just use git-reset to set the commit back one, and then push the branch up.  If push comes to shove, you can always just start the branch anew, and cherry-pick the changes you want.

Until the commits are sorted out this cannot be merged.  If you need help please find us in #puppet-dev on freenode.

Ok I think I've fixed it, still working on yard documentation

Thanks for the commit clean up.  Please associate the remaining commit with a github issue number (gh-xxx).  Looking forward to the yard docs!  :)

Last comment still valid.  Also needs a rebase.

I'm beginning to think this should be a separate library, either vcoworkflows or a custom built library.

@nemski If you do want to add this as an external hypervisor, you can do something like this:  https://github.com/petems/beaker-fog
Then when you want to use your hypervisor, just include your gem :+1:

Looks like still blocking on yard docs.

Last comment still current.  Will close next week due to inactivity if there are no updates.

Closed due to inactivity.

Now exists as an external hypervisor https://github.com/nemski/beaker-vco

@nemski Awesome!


Add cloud providers examples

[ ] AWS
[ ] Azure
[ ] Open Stack
[ ] Vsphere
[ ] Digital Ocean
[ ] Upcloud
[ ] Oci

https://github.com/hashicorp/terraform-provider-aws doesn't support importing raw image files from s3 as snapshots. This blocks the creation of a Nanos image using a terraform file.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ami#image_location


Typo "Pytorch"→"PyTorch"

Purpose

Typo "Pytorch"→"PyTorch"
https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/NOTICE.md
#PingMSFTDocs

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Thank you @hyoshioka0128 !


drivers: adc: sam0: Fix adc_reference implementation

The current sam0 adc driver not implement correctly the adc_reference enum values because the current fixuips not reflect all sam0 variants.
This merges ADC_REF_INTERNAL and ADC_REF_VDD_1 implementation because there are devices that only support 1.0V. This assumption is valid for those devices that have a bandgap which allows user to change the internal voltage reference to other values then 1.0V. However, that option is out of scope and it is currently not supported.
The other common adc reference with mistakes is ADC_REF_VDD_1_2. This was fixed selecting the proper INTVCCx reference.
Fixes #45443
Signed-off-by: Gerson Fernando Budke<EMAIL_ADDRESS>

Hi @attie-argentum ,
I was wondering if you have few time to check this proposal.

I've checked over the following SOCs, and the handling of ADC_REFCTRL_REFSEL_VDD_1_2 does appear to hold true: L21, D20, D21, D5x, E5x.
However, we loose access to the ADC_REF_VDD_1 reference, which is indeed valid in some parts, and is used in the design I'm currently working on... importantly, this is not expected to be 1v (or variable internal reference on SAML21), but is expected to be VDDANA.
The SAML21 uses INTVCC2 / 0x5, and SAMD5x / E5x use INTVCC1 / 0x3.
I think for absolute clarity and flexibility, my preferred solution would be to place definitions in the relevant soc.h, and then use #ifdefs in the switch for to enable the modes that are supported.
It seems that all parts I've checked support AREFA and AREFB - them mapping onto ADC_REF_EXTERNAL0 and ADC_REF_EXTERNAL1 is fine, and no changes are required there.
Example for SAML21 soc.h:
#define ADC_REFCTRL_REFSEL_INTERNAL ADC_REFCTRL_REFSEL_INTREF
#define ADC_REFCTRL_REFSEL_VDD_1_2  ADC_REFCTRL_REFSEL_INTVCC1
#define ADC_REFCTRL_REFSEL_VDD_1    ADC_REFCTRL_REFSEL_INTVCC2

However, we loose access to the ADC_REF_VDD_1 reference, which is indeed valid in some parts, and is used in the design I'm currently working on... importantly, this is not expected to be 1v (or variable internal reference on SAML21), but is expected to be VDDANA.

I understood your point about ADC_REF_VDD_1. I`ll review later.

I think for absolute clarity and flexibility, my preferred solution would be to place definitions in the relevant soc.h, and then use #ifdefs in the switch for to enable the modes that are supported.

We have two paths in place today:

Fix at hal_atmel. This is what have been doing for SAM SoCs, mostly because peripheral are same and only reg names are different.
For SAM0 only, fixups were introduced.

I prefer not add a third option.

Fix at hal_atmel. This is what have been doing for SAM SoCs, mostly because peripheral are same and only reg names are different.

I'm not sure if this is what you're meaning, but putting these #defines in ASF for each SoC instead works for me...

I agree with @attie-argentum regarding the ADC_REF_VDD_1 macro, the reference voltage selection varies greatly for each model.
Each microcontroller of this series has its own set of selectable references (as you can see below). @nandojve I think it might be hard to make adc_reference represent all possible selections without a huge sequence of #if CONFIG_SOC_SERIES_SAMXXX in the fixup file. I don't know what would be the best solution in this case.
SAMD21:

SAML21:

@lucasssvaz - watch out for REFCTRL.REFSEL (which in the case of SAML21 can pick a variable reference) vs VREF.SEL (which is the configuration of that reference / what you've shown)

@attie-argentum , @lucasssvaz ,
Since there is no good solution, I propose to keep internal voltage reference as is. For all devices the internal reference tracks VDDANA somehow and the default value is 1.0V. If that reference is good or not it is out of scope because code should select appropriated parameter and user should calibrate device on all temperature range.
In the case of ADC_REF_VDD_1 I will not object to track VDDANA. I think have some sense because ADC_REF_VDD_1_2 is VDDANA / 2 for all devices.

Since there is no good solution, I propose to keep internal voltage reference as is.

Agreed

In the case of ADC_REF_VDD_1 I will not object to track VDDANA. I think have some sense because ADC_REF_VDD_1_2 is VDDANA / 2 for all devices.

I believe this is actually the documented / expected behaviour:
https://docs.zephyrproject.org/latest/hardware/peripherals/adc.html#c.adc_reference.ADC_REF_VDD_1
https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/drivers/adc.h#L75-L78
/** @brief ADC references. */
enum adc_reference {
	ADC_REF_VDD_1,     /**< VDD. */
	ADC_REF_VDD_1_2,   /**< VDD/2. */
	ADC_REF_VDD_1_3,   /**< VDD/3. */
	ADC_REF_VDD_1_4,   /**< VDD/4. */
	ADC_REF_INTERNAL,  /**< Internal. */
	ADC_REF_EXTERNAL0, /**< External, input 0. */
	ADC_REF_EXTERNAL1, /**< External, input 1. */
};

Since there is no good solution, I propose to keep internal voltage reference as is.

Agreed

In the case of ADC_REF_VDD_1 I will not object to track VDDANA. I think have some sense because ADC_REF_VDD_1_2 is VDDANA / 2 for all devices.

I believe this is the documented / expected behaviour (VDD_1 -> 1/1, VDD_1_2 -> 1/2, etc...) https://docs.zephyrproject.org/latest/hardware/peripherals/adc.html#c.adc_reference.ADC_REF_VDD_1 https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/drivers/adc.h#L75-L78
/** @brief ADC references. */
enum adc_reference {
	ADC_REF_VDD_1,     /**< VDD. */
	ADC_REF_VDD_1_2,   /**< VDD/2. */
	ADC_REF_VDD_1_3,   /**< VDD/3. */
	ADC_REF_VDD_1_4,   /**< VDD/4. */
	ADC_REF_INTERNAL,  /**< Internal. */
	ADC_REF_EXTERNAL0, /**< External, input 0. */
	ADC_REF_EXTERNAL1, /**< External, input 1. */
};

Sure, so current version fits well, right? Or do you still see any change for improvement?

Sure, so current version fits well, right?

Gah, sorry - I missed the update... Yes, LGTM, though I'm not 100% convinced that switching on (ADC0_BANDGAP / ADC_REFCTRL_REFSEL_INTVCC2) will hold true for all / future SoCs.

@nandojve Seems like an 'ok' solution, as long as this behavior is documented somewhere easy to find. This way new Zephyr users with these processors won't have to delve deep into the source code to find out how it actually works,

The other thing that can be made is:

Personally, I'd prefer to not define ADC_REFCTRL_REFSEL_VDD_1 here, and then use the original ifdefs in the switch to mark it as "not supported" / EINVAL... This does indeed mean that the other references can't be used, but it's also predictable behaviour by just reading the reference manuals (both SoC and Zephyr), and not the sources.

@attie-argentum Agreed, if I had to choose I would prefer to have a predictable behavior over the use of unusual references (although the ideal solution would be to rework the ADC API to have both)

LGTM, don't think I can approve though.

@mbolivar-nordic I also can't approve it but it seems ok to me.


live streaming auto disconnected after less than 90 sec.

after live started with FFMPEG I got disconnected with actionId: 4
I hope your help because I don't know the reason for that disconnect.

Hi,
You mean you sent your stream to TikTok via rtmp using FFMPEG?
TikTok detects that the stream is not coming from the mobile app and stops the stream. This is the reason. I know that it can be prevented by adjusting the codec but it is not so easy.

Could you provide the right ffmpeg command please ?

I have the same issue :(

CHÀO,
Ý bạn là bạn đã gửi luồng của mình tới TikTok qua rtmp bằng FFMPEG?
TikTok phát hiện luồng phát không đến từ ứng dụng di động và dừng luồng. Đây là lý do. Tôi biết rằng nó có thể được ngăn chặn bằng cách điều chỉnh codec nhưng điều đó không dễ dàng như vậy.

after live started with FFMPEG I got disconnected with actionId: 4
I hope your help because I don't know the reason for that disconnect.

I also had the same problem and did you get it done successfully


Error: Debug Failure. False expression - 2.9.0-dev.20180420

To access some of the newest JSDoc annotation support for webpack, I locally upgraded the newest nightly for typescript (see version below). However, I was coming across errors locally on my console (also seen below).
 The PR is referenced also down below.

TypeScript Version: 2.9.0-dev.20180420
Expected behavior:
Running TSC with JSDoc annotations doesn't error.
Actual behavior:
><EMAIL_ADDRESS>type-lint /Users/wecomm/Desktop/webpack
> tsc --pretty

/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:62227
                throw e;
                ^

Error: Debug Failure. False expression.
    at Object.getJSDocHost (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:7787:18)
    at resolveEntityNameFromJSPrototype (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:22406:33)
    at resolveEntityName (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:22352:76)
    at resolveTypeReferenceName (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:26701:20)
    at getTypeFromTypeReference (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:26843:30)
    at checkTypeReferenceNode (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:37095:24)
    at checkSourceElement (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:39938:28)
    at checkSourceElement (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:39982:28)
    at checkJSDocParameterTag (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:37767:13)
    at checkSourceElement (/Users/wecomm/Desktop/webpack/node_modules/typescript/lib/tsc.js:3

Related Issues or PR's: https://github.com/webpack/webpack/pull/7091

I beleive this is a duplicate of https://github.com/Microsoft/TypeScript/issues/23574 and should be addressed by https://github.com/Microsoft/TypeScript/pull/23575.
@sandersn can you confirm please.

Ahh sorry I missed the closed issues, thanks!

Yep, they are the same issue. Sorry about that.


Export button with no escape

$grid->addExportCsvFiltered(\Nette\Utils\Html::el('span')->class('fa fa-arrow-down fa-fw') . ' export filtrů', 'smlouvy_export.csv', 'windows-1250', ';');
I guess in older version this work fine (4.3, 5.0 doesnt). Its possible turn off escape. Or there is otherway. On first demopage - there are two icons, but no source code.
Thanks

Ok, its possible via setIcon(), I see now why is escaped by translator.
Sorry for pointless issue.


Virtual environments are different in Windows

#207

Coverage decreased (-0.08%) to 87.813% when pulling aa5e6583a0003c6e92d04ee396b78990e2855cd3 on syphon7:dev into d86f39ef8749fb2b6d4bd4b8fa32e168e558211e on Miserlou:dev.


Add toml to docs requirements

Our documentation failed to build because of missing dependency.

Codecov Report

Merging #494 (6e23e60) into master (589262d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #494   +/-   ##
=======================================
  Coverage   98.06%   98.06%
=======================================
  Files          22       22
  Lines        2533     2533
=======================================
  Hits         2484     2484
  Misses         49       49

Continue to review full report at Codecov.

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


feat: Added Software Testing YouTube Videos Details in testing.json File

Fixes Issue:
Closes #1345 #1346 #1347

Changes proposed

Added Software Testing Course YouTube Video details in testing.js File in youtube Folder.
YouTube channels named as Software Testing Mentor, Automation Step by Step and EDUREKA(Testing)

Screenshots

Note to reviewers

I have linked All related Testing related Issues raised by Me and also combined together with this PR
 Please Notify Them @rupali-codes

Hi, can you please make the description a little longer?

Sure, I will do that?

Made some tweaks to your descriptions. Other than that, well done! :)

Made some tweaks to your descriptions. Other than that, well done! :)

If you don't mind Please add level 2 OR Level 3 Label to This PR. Because of If one resource is added, You can given level 1. But, I added 6 Resources in One PR. Please Taken my Humble Request @CBID2

Made some tweaks to your descriptions. Other than that, well done! :)

Made some tweaks to your descriptions. Other than that, well done! :)

If you don't mind Please add level 2 OR Level 3 Label to This PR. Because of If one resource is added, You can given level 1. But, I added 6 Resources in One PR. Please Taken my Humble Request @CBID2

Sorry @NarendraKoya999. The rules state that adding links are level one, so we have to adhere to that.

Made some tweaks to your descriptions. Other than that, well done! :)

Made some tweaks to your descriptions. Other than that, well done! :)

If you don't mind Please add level 2 OR Level 3 Label to This PR. Because of If one resource is added, You can given level 1. But, I added 6 Resources in One PR. Please Taken my Humble Request @CBID2

Sorry @NarendraKoya999. The rules state that adding links are level one, so we have to adhere to that.

Ok. No Problem @CBID2

Hi @rupali-codes . Please Look into 4 unassigned Pending Issues as soon as possible


Fixing build scripts after code move to .NET dir

Fixing build scripts after code move to .NET dir

@tellarin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Insurgency Tmux error can't start server.

Insurgency server won't start
[esltest@ns305922 ~]$ ./insserver start
[ FAIL ] Starting ins-server: Unable to start Esl2 test Server|WTFNation: Tmux error:
Command
tmux new-session -d -s ins-server ./srcds_linux -game insurgency -strictportbind -ip <IP_ADDRESS> -port 27016 +clientport 27018 +tv_port 27017 +map ministry +servercfgfile ins-server.cfg -maxplayers 12
Error
create session failed: ./srcds_linux -game insurgency -strictportbind -ip <IP_ADDRESS> -port 27016 +clientport 27018 +tv_port 27017 +map ministry +servercfgfile ins-server.cfg -maxplayers 12: Operation not permitted
Fix
No known fix currently. Please log an issue.
http://gameservermanagers.com/issues

LOL. You and your tmux errors. Never known a server have so many issues with tmux. I will message you when I'm free to have a chat :-). There is an issue you may be able to help me with as well.

Aha I fixed it it was the server in need of an update.
I too need to speak to you about something else
Regards
Shipwreck50
From: Daniel Gibbs<EMAIL_ADDRESS>Sent: 21 May 2015 14:57
To: dgibbs64/linuxgsm
Cc: Shipwreck50
Subject: Re: [linuxgsm] Insurgency Tmux error can't start server. (#401)
LOL. You and your tmux errors. Never known a server have so many issues with tmux. I will message you when I'm free to have a chat :-). There is an issue you may be able to help me with as well.
—
Reply to this email directly or view it on GitHub https://github.com/dgibbs64/linuxgsm/issues/401#issuecomment-104284806 .  https://github.com/notifications/beacon/AKbQ0dk5q3NVN6Tj2eBJVLs6-AjnQexGks5oLduXgaJpZM4EjcBw.gif

@Shipwreck50 Could you take a look at this issue and give me your opinion?https://github.com/dgibbs64/linuxgsm/issues/362 Will be free over the weekend to catch up :)


/etc/hydra/hydra-sandbox.conf not working for Rabbit

The reference.conf for sandbox has application.config.location = "/etc/hydra/hydra-sandbox.conf" but when I put the op-rabbit config in that file it is not being used.  Running sbt sandbox/reStart to test which is using hydra.sandbox.app.HydraSandbox

Fixed


[IR] Implement register_initializer

Implement register_initializer(value) on Graph for robustly adding an initializer to the graph. Users can also directly modify the graph.initializers dictionary, but this method does more comprehensive checks before adding, and calling this method is simpler than modifying the dictionary.
The method could be in the convenience too, but I put it here due to its relevance and for better discoverability.

Should we update this usage to exporter in terms of robustness?

Sure, we can do that


update README.md

Add python tags to the readme

Hey, thanks for the PR. It is adding extra indentations in README. It would make copy-paste not easier

yes, but you get colors lol.
Feel free to close it.

I agree withe colors and it looks great. but extra indentation is turning me off

@TheSriram you can de-indent the text in the ``` blocks
```python
print("test")
```

becomes
print("test")

check this @TheSriram
https://github.com/avinassh/rockstar/blob/master/README.md

I need to squash this.

Merged! No need of squashing when commits are only 2. plus this library is not committed that often
:beers:


Add proper structure

Trying a simple GET request with basicAuth.
Username and Password newtypes are copied from the authHook of
bloodhound, except I've changed them to ByteString instead of Text for
the sake of applyBasicAuth.
Going through the bloodhound and bazaari at the same time to wrap my head around
how it's supposed to be structured.

Looks good to me. I'm a little surprised they're using basic auth, but it's not a problem. Just sorta uncommon these days.
If you need help getting stuck or some direction we can pair up via screenshare. It's definitely hardest when it's almost blank slate like it is now.

Yeah, I've noticed that too. Kind of neat it's covered in http-client.
Oh yes, that would be great! I am progressing rather slowly so far, trying to figure out what to work on next and such.


refactor(tools): overhaul Python REPL component with modern tool mode

BREAKING CHANGE: Complete redesign of PythonREPL component architecture

Replace legacy tool mode with modern tool_mode=true implementation
Add automatic import detection for both global and from-imports
Remove manual global_imports field in favor of automatic detection
Implement CodeInput type support with FieldTypes.CODE
Update schema to handle new parameters for agent compatibility
Improve error handling and logging for import failures

The component now automatically handles imports without manual configuration, supports modern tool mode, and provides better integration with the agent system through updated schema definitions.
Python REPL Overhaul.json

code used on the example:
import random
from datetime import datetime, timedelta
from typing import List, Dict

def generate_dates(quantity: int) -> List[Dict[str, str]]:
    dates = []
    base_date = datetime.now()

    for i in range(quantity):
        # Add random days to base date
        days = random.randint(1, 365)
        new_date = base_date + timedelta(days=days)

        dates.append({
            "date": new_date.strftime("%d/%m/%Y"),
            "weekday": new_date.strftime("%A")
        })

    return dates

# Usage example
generated_dates = generate_dates(3)
for date in generated_dates:
    print(f"Date: {date['date']}, Day: {date['weekday']}")

Or just run the code without the Agent:

CodeInput terminal:

the output:

@ogabrielluiz @edwinjosechittilappilly


Powershell syncagent download

Hi!
isn't server 2019 supported?
the script provided for downloading the sync agent fails on server 2019,
Download the appropriate version of the Azure File Sync agent for your OS.
if ($osver.Equals([System.Version]::new(10, 0, 14393, 0))) {
Invoke-WebRequest         -Uri https://go.microsoft.com/fwlink/?linkid=875004
-OutFile "StorageSyncAgent.exe"
}
elseif ($osver.Equals([System.Version]::new(6, 3, 9600, 0))) {
Invoke-WebRequest         -Uri https://go.microsoft.com/fwlink/?linkid=875002
-OutFile "StorageSyncAgent.exe"
}
else {
throw [System.PlatformNotSupportedException]::new("Azure File Sync is only supported on Windows Server 2012 R2 and Windows Server 2016")
}

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

ID: 61bb35a5-e2f3-1ce8-1d6e-a926374de6c8
Version Independent ID: e4b3065a-5351-26ef-cdbb-ef2eaea3f301
Content: Deploy Azure File Sync
Content Source: articles/storage/files/storage-sync-files-deployment-guide.md
Service: storage
GitHub Login: @wmgries
Microsoft Alias: wgries

Thanks for the feedback! We are currently investigating and will update you shortly.

I noticed that it was recognized in a comment november 2018, sorry about that.
/Ps
Mvh
Patric Sten

From: Micah<EMAIL_ADDRESS>Sent: Wednesday, February 27, 2019 9:10:59 PM
To: MicrosoftDocs/azure-docs
Cc: Patric; Author
Subject: Re: [MicrosoftDocs/azure-docs] Powershell syncagent download (#25873)
Thanks for the feedback! We are currently investigating and will update you shortly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F25873%23issuecomment-468011964&data=02|01||7231be4836be4ca15c5008d69cefb11f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636868950606875064&sdata=nCNaTqItq9IidHDW41NHhGWkFXnl2vugAo1xoxbt%2BRI%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAlcV_O0XJ2i3QkFy-6-hqpFL2zbDUCPoks5vRuZTgaJpZM4bVQWn&data=02|01||7231be4836be4ca15c5008d69cefb11f|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636868950606895086&sdata=eMOfdhqiiZd7aUnL08z2VPgVf5mKztC2SapwsYn6SFM%3D&reserved=0.

@PatLaPoint Kindly let us know your query has been clarified or you need any future assistance!

@PatLaPoint We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[Helix] Socket.BindTests failures on Fedora.27

Tracking issue for skipped socket bindtests
[xUnit.net 00:00:03.18]     RegisterAddresses_HostName_Success [FAIL]
Failed   RegisterAddresses_HostName_Success
Error Message:
 System.Net.Sockets.SocketException : Name or service not known
Stack Trace:
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetSocket(Uri requestUri)
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetStream(Uri requestUri, Boolean validateCertificate)
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetStringAsync(Uri requestUri, Boolean validateCertificate)
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetStringAsync(String requestUri, Boolean validateCertificate)
   at Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.AddressRegistrationTests.RegisterAddresses_Success(String addressInput, String[] testUrls, Int32 testPort) in /_/src/Servers/Kestrel/test/BindTests/AddressRegistrationTests.cs:line 191
   at Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.AddressRegistrationTests.RegisterAddresses_HostName_Success() in /_/src/Servers/Kestrel/test/BindTests/AddressRegistrationTests.cs:line 40

[xUnit.net 00:00:03.36]     ListenAnyIP_HostName_Success [FAIL]
Failed   ListenAnyIP_HostName_Success
Error Message:
 System.Net.Sockets.SocketException : Name or service not known
Stack Trace:
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetSocket(Uri requestUri)
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetStream(Uri requestUri, Boolean validateCertificate)
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetStringAsync(Uri requestUri, Boolean validateCertificate)
   at Microsoft.AspNetCore.Testing.HttpClientSlim.GetStringAsync(String requestUri, Boolean validateCertificate)
   at Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.AddressRegistrationTests.ListenAnyIP_Success(String[] testUrls, Int32 testPort) in /_/src/Servers/Kestrel/test/BindTests/AddressRegistrationTests.cs:line 357
   at Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.AddressRegistrationTests.ListenAnyIP_HostName_Success() in /_/src/Servers/Kestrel/test/BindTests/AddressRegistrationTests.cs:line 338

This looks like [HostNameIsReachable] doesn't work properly for this OS

The Libuv.BindTests variant of these also fail for this OS

Closing. RaaS is vigilant and @jkotalik is reviewing flaky tests.

@anurse can you transfer this to internal?

Actually, I now notice this is for fedora27 (which is deprecated). Let me try re-enabling them.

Still want me to transfer?

Nah let's just close it, I'll reopen if necessary.


configuring "before" and "after" hooks

Hi! I just installed thyme and I tried to configure it to play sounds before and after each pomodoro (let's say a ticking sound before, and a ringing sound after, like a kitchen timer).
hooks:
  notify:
    events: ["before"]
    command: "play ticking-sound.mp3"

  notify:
    events: ["after"]
    command: "play ringing-sound.mp3"

It would only play the ringing sound.
After staring at the YAML for a while, I realized with this structure, the second value of notify overrides the first one; in other words, if I swap the two and put "after" first and "before" after, then I get the before sound but not the after sound.
So I used this:
hooks:
  notify:
    events: ["before"]
    command: ...

  notify_break:
    events: ["before_break"]
    command: ...

to get both sounds, but that only works if I run thyme -r; I can't get that with a single pomodoro.
What am I missing?  :)

On a side note, my actual "before" command is to call a tick.sh shell script which backgrounds the play command, otherwise thyme won't start the timer until after the ticking sound ends:
[~/git/atsaloli/config-files/sounds] [py-3.9.7] master(+0/-0)+* ± cat tick.sh
#!/bin/bash
nohup ~/git/homebrew/bin/play ~/git/atsaloli/config-files/sounds/ticking.mp3 vol 0.25 >/dev/null 2>/dev/null &
[~/git/atsaloli/config-files/sounds] [py-3.9.7] master(+0/-0)+* ±


fix small typos in Readme

@terrysahaidak thanks for work)

I'm sorry for the offtop, but can you visit the gitter room?


Error in Schema engine

Bug description
Error when try to use prisma postgres. Following starter set up and encountered this
Error in Schema engine.
Reason: [/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ws_stream_tungstenite-0.14.0/src/tung_websocket.rs:540:13] internal error: entered unreachable code: protocol error from tungstenite on send is a bug in ws_stream_tungstenite, please report at http://github.com/najamelan/ws_stream_tungstenite/issues. The error from tungstenite is Sending after closing is not allowed
How to reproduce

Download project
npx try-prisma@latest --template databases/prisma-postgres --name hello-prisma --install npm
Set up database access in .env
Setup database
npx prisma migrate dev --name init

Expected behavior
Database schemas are migrated
Prisma information

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model User {
  id      Int      @id @default(autoincrement())
  email   String   @unique
  name    String?
  posts   Post[]
}

model Post {
  id        Int     @id @default(autoincrement())
  title     String
  content   String?
  published Boolean @default(false)
  author    User?   @relation(fields: [authorId], references: [id])
  authorId  Int?
}

Environment & setup

OS: macOS M2
Database:  Prisma Postgres
Node.js version: v20.18.1

Prisma Version
prisma                  : 5.22.0
@prisma/client          : 5.22.0
Computed binaryTarget   : darwin-arm64
Operating System        : darwin
Architecture            : arm64
Node.js                 : v20.18.1
Query Engine (Node-API) : libquery-engine 605197351a3c8bdd595af2d2a9bc3025bca48ea2 (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 605197351a3c8bdd595af2d2a9bc3025bca48ea2 (at node_modules/@prisma/engines/schema-engine-darwin-arm64)
Schema Wasm             : @prisma/prisma-schema-wasm 5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2
Default Engines Hash    : 605197351a3c8bdd595af2d2a9bc3025bca48ea2
Studio                  : 0.503.0

Closing this as a duplicate of https://github.com/prisma/prisma/issues/25543.
Please try out this recommendation. Thanks!


SetText() versus SendKeys()

My team currently has a use for both a SendKeys (sending keystrokes) method and a SetText/AppendText method in the WinAppDriver API.  Only the former seems to be available currently.  Has there been consideration for this?  Does something exist that I am missing?
Thanks!

As far as I've seen, WinAppDriver doesn't seem to implement any additional "interaction" logic beyond Selenium and Appium (which SendKeys is a Selenium call). You could create your own method that checks for what's currently in the text box, and then joins that plus your append text, and re-calls SendKeys with the joined text.


why element doesn't turn BLUE

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4.
Please describe how to reproduce this issue, and include links to screenshots if possible.

Please use the chat rooms:

HTML/CSS help chat room
JavaScript help chat room
Other Official Rooms

or try looking through our forum for help with a specific challenge.
Happy Coding!


Date-only field crashes the app

Describe the bug
When you define a field as Date-only in a module and then select a date as a user, the browser's tab crashes (chrome and Firefox)
To Reproduce
Steps to reproduce the behavior:

Go to Low Code -> Module -> add "Date and Time" field.
Go to the field config and select "Date Only".
Save the module.
Create a record using the module and pick a date from the calendar.

Expected behavior
Users should be able to pick a date without crashing the browser
Screenshots

Desktop (please complete the following information):

OS: MacOS Catalina
Browser: Chrome v100.0.4896.75 , Firefox v98.0.1

I can't seem to reproduce this issue; would you be able to make a screen recording demonstrating this?

Are you able to get the same behaviour on a completely fresh namespace?
are you able to get the same behaviour on a completely fresh Corteza instance?
do you have any workflows/automation scripts defined?
what is the browser crash message; does it just close or does it show some message?

Are you able to get the same behaviour on a completely fresh namespace?
Yes
are you able to get the same behaviour on a completely fresh Corteza instance?
yes (2022.3)
do you have any workflows/automation scripts defined?
no
-what is the browser crash message; does it just close or does it show some message?
No message, just freezes

That's strange...
Thanks for reporting; we'll take a look

For a workaround, disable date-only from the date field.
We are looking into addressing this, but we are unable to reproduce the issue.

The same problem for me, both 2022.3.2 and 2022.3.3.rc1


Add example for tables

 Issue by Garito
Tuesday Dec 17, 2013 at 17:40 GMT
Originally opened as https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/issues/14

With complete bootstrap interface:
checkboxes for striped, border, hover, responsive, etc

Is it possible to combine this code
$('#document-editor').wysihtml5({
        toolbar: {
            "font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
                "emphasis": true, //Italics, bold, etc. Default true
                "lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
                "html": false, //Button which allows you to edit the generated HTML. Default false
                "link": true, //Button to insert a link. Default true
                "image": true, //Button to insert an image. Default true,
                "color": true, //Button to change color of font
                "blockquote": false, //Blockquote
                "save": true,
                "clearFormat": true,
                "size": "sm" //default: none, other options are xs, sm, lg
        },
        "locale": "cs-CZ",
        "customTemplates": myCustomTemplates
    });

with the example you referenced? I mean like defining a part of toolbar with toolbar options object and adding some parts with html? Or do I need to create custom template with buttons for tables?


Question about "pure" plugin managers in the benchmark

Hello. This was quite an interesting read. Having been a user of zinit for the last year-ish, I am looking for alternatives because of what has happened over the last few weeks.
I am mostly a noob at this stuff, so this is really just for clarification. I have a question about the following line from the readme.

These allow you to install and load plugins but don't configure zsh on their own in any way.

I assume that if compinit or setopt options are set from something then it doesn't some sort of configuration to zsh.
Wonder if you can clarify what is meant by this and why it's an important grouping/distinction that is made?

It's not a strict distinction but you can probably see how zinit, zplug, and antigen are in one group and ohmyzsh, prezto and zsh4humans are in another. If your zsh config uses just zinit and nothing else, it's as good as empty zshrc. On the other hand, if you are using ohmyzsh with no changes, your zsh is set and ready to go.

I assume that if compinit or setopt options are set from something then it doesn't some sort of configuration to zsh.

Everyone has to invoke compinit, so it's not configuration in the sense that it doesn't require judgement. Which options to set, which styles to use, which prompt to enable -- all of these are configuration. You can do them this way or that with no objectively best choice.

FWIW, in my opinion plugin managers are significantly less interesting that the amount of attention they receive would imply. They are easy to implement and barely make a difference -- that's why there are so many of them. They affect the textual content of your config files to a reasonable degree, performance to a smaller degree, and the behavior of your shell not at all. Plugins are actually important and there are very few of them that are worth using. All important plugins interact in non-trivial ways and interactions between them are the most important and the hardest part when it comes to the quality of zsh UX. By their nature pure plugin managers cannot do anything about this difficult and impactful problem.


Installer requiring glibc 2.31 (even though wheels work with 2.28)

When installing on a system with <glibc 2.31 the installer fallbacks to the MUSL installer which is not a thing so install fails.
Fallbacks to MUSL because on RHEL 8:
2024-10-24 15:00:57 |  +++ ldd --version
2024-10-24 15:00:57 |  +++ awk '-F ' '{ if (FNR<=1) print $NF }'
2024-10-24 15:00:57 |  ++ _local_glibc=2.28
2024-10-24 15:00:57 |  +++ echo 2.28
2024-10-24 15:00:57 |  +++ awk -F. '{ print $1 }'
2024-10-24 15:00:57 |  ++ '[' 2 = 2 ']'
2024-10-24 15:00:57 |  +++ echo 2.28
2024-10-24 15:00:57 |  +++ awk -F. '{ print $2 }'
2024-10-24 15:00:57 |  ++ '[' 28 -ge 31 ']'
2024-10-24 15:00:57 |  ++ say 'System glibc version (`2.28'\'') is too old; checking alternatives'
2024-10-24 15:00:57 |  ++ '[' 0 = 0 ']'
2024-10-24 15:00:57 |  ++ echo 'System glibc version (`2.28'\'') is too old; checking alternatives'
2024-10-24 15:00:57 |  System glibc version (`2.28') is too old; checking alternatives
2024-10-24 15:00:57 |  ++ return 1
2024-10-24 15:00:57 |  ++ _archive=
2024-10-24 15:00:57 |  ++ '[' -n '' ']'
2024-10-24 15:00:57 |  ++ _archive=uv-x86_64-unknown-linux-musl.tar.gz
2024-10-24 15:00:57 |  ++ '[' -n uv-x86_64-unknown-linux-musl.tar.gz ']'
2024-10-24 15:00:57 |  ++ echo uv-x86_64-unknown-linux-musl.tar.gz
2024-10-24 15:00:57 |  ++ return 0
2024-10-24 15:00:57 |  + _artifact_name=uv-x86_64-unknown-linux-musl.tar.gz
2024-10-24 15:00:57 |  + local _bins
2024-10-24 15:00:57 |  + local _zip_ext
2024-10-24 15:00:57 |  + local _arch
2024-10-24 15:00:57 |  + case "$_artifact_name" in
2024-10-24 15:00:57 |  + _arch=x86_64-unknown-linux-musl-static

[2024-10-24T22:00:56.907Z] + curl -sSfL https://py-uv.s3.dev.x.com/uv/uv-x86_64-unknown-linux-musl.tar.gz -o /tmp/tmp.zzab088faZ/input.tar.gz
[2024-10-24T22:00:56.907Z] curl: (22) The requested URL returned error: 404
[2024-10-24T22:00:56.907Z] + say 'failed to download https://py-uv.s3.dev.x.com/uv/uv-x86_64-unknown-linux-musl.tar.gz'

This is even though the installer works with older glibc:
❯ docker run --rm -it artprod.dev.x.com/rhel8:latest
[root@2888284085b0 /]# curl https://py-uv.s3.dev.bcs.x.com/uv-x86_64-unknown-linux-gnu.tar.gz

[root@2888284085b0 /]# tar -xzvf uv.tar.gz
uv-x86_64-unknown-linux-gnu/
uv-x86_64-unknown-linux-gnu/uvx
uv-x86_64-unknown-linux-gnu/uv

[root@2888284085b0 /]# ./uv-x86_64-unknown-linux-gnu/uv --help
An extremely fast Python package manager.

Usage: uv [OPTIONS] <COMMAND>

Commands:
  run      Run a command or script

After chatting with the axodotdev team, seems this is because astral is using ubuntu 20 to build the release image, which has glibc 2.31 which then gets embeded into the installer script.
They have smarter glibc tracking, see https://blog.axo.dev/2024/08/glibc, but this system is not yet used by astral:

because they use a particular "hidden feature" to enable some customization we haven't built in yet (around cross compilation, which we are currently working on!

The cargo-dist team is working on solving this cross compilation gap, but that might take a bit, but we are looking at alternatives.
Related https://github.com/astral-sh/uv/issues/1635

It seems like what we need here is a way to specify the glibc version ourselves, since we know it.

Thanks for catching this. My guess is that this has been a problem ~forever, but it's never been noticed because we just fallback to musl. But in your case, you're not mirroring the musl builds, and so it ends up as a failed install.


Remove unneeded dependencies from Arch Linux

Thanks! face_recognition hasn't been used in a looong time

Thanks! face_recognition hasn't been used in a looong time


Update json4s-ast, json4s-core, ... to 3.7.0-M14

Updates

org.json4s:json4s-ast
org.json4s:json4s-core
org.json4s:json4s-jackson
org.json4s:json4s-native
org.json4s:json4s-scalap

from 3.7.0-M7 to 3.7.0-M14.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.json4s" } ]

labels: library-update, semver-pre-release

Superseded by #1248.


vote: v1.2.0-beta.1

Release
This would mean tagging b3b8cbe0cc7e08acceaf015589d751699b6a4058 as v1.2.0-beta.1 to release.
Vote
We need at least 4 approvals from 6 maintainers to release notation-go v1.2.0-beta.1.

[ ] Junjie Gao (@JeyJeyGao)
[ ] Milind Gokarn (@gokarnm)
[x] Patrick Zheng (@Two-Hearts)
[ ] Pritesh Bandi (@priteshbandi)
[ ] Rakesh Gariganti (@rgnote)
[ ] Shiwei Zhang (@shizhMSFT)

What's Changed

fix: update error message by @JeyJeyGao in https://github.com/notaryproject/notation-go/pull/380
bump: bump up oras-go and image-spec by @Two-Hearts in https://github.com/notaryproject/notation-go/pull/381
chore: start using plugin-framework package by @priteshbandi in https://github.com/notaryproject/notation-go/pull/372
build(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/383
build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc6 to 1.1.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/385
build(deps): bump golang.org/x/mod from 0.14.0 to 0.15.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/384
chore: updated/added deprecation message by @priteshbandi in https://github.com/notaryproject/notation-go/pull/382
build(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/387
feat: add support for signing blob by @priteshbandi in https://github.com/notaryproject/notation-go/pull/379
chore: add GitHub action for stale issues and PRs by @yizha1 in https://github.com/notaryproject/notation-go/pull/365
build(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/389
build(deps): bump golang.org/x/mod from 0.15.0 to 0.16.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/388
fix: Add contract version to plugin sign request and plugin verify request by @priteshbandi in https://github.com/notaryproject/notation-go/pull/390
bump: bump golang and dependency versions by @Two-Hearts in https://github.com/notaryproject/notation-go/pull/392
build(deps): bump actions/stale from 8 to 9 by @dependabot in https://github.com/notaryproject/notation-go/pull/391
Moved org maintainers to emeritus by @toddysm in https://github.com/notaryproject/notation-go/pull/393
build(deps): bump golang.org/x/mod from 0.16.0 to 0.17.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/397
build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.6 to 3.4.7 by @dependabot in https://github.com/notaryproject/notation-go/pull/395
build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.7 to 3.4.8 by @dependabot in https://github.com/notaryproject/notation-go/pull/399
build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/396
build(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/403
test: improve test coverage to 80% by @JeyJeyGao in https://github.com/notaryproject/notation-go/pull/405
fix: error message for dangling reference index by @JeyJeyGao in https://github.com/notaryproject/notation-go/pull/402
bump: bump up notation-core-go v1.0.3 by @JeyJeyGao in https://github.com/notaryproject/notation-go/pull/407
ci: enable ci for release branch by @JeyJeyGao in https://github.com/notaryproject/notation-go/pull/409
build(deps): bump golang.org/x/mod from 0.17.0 to 0.18.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/413
build(deps): bump golang.org/x/crypto from 0.23.0 to 0.24.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/414
feat: Implements VerifyBlob functionality by @priteshbandi in https://github.com/notaryproject/notation-go/pull/394
fix(ci): pass CODECOV_TOKEN to reusable-build.yml by @JeyJeyGao in https://github.com/notaryproject/notation-go/pull/419
build(deps): bump golang.org/x/mod from 0.18.0 to 0.19.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/421
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 by @dependabot in https://github.com/notaryproject/notation-go/pull/420
feat: Timestamp by @Two-Hearts in https://github.com/notaryproject/notation-go/pull/418
chore: fix logs by @Two-Hearts in https://github.com/notaryproject/notation-go/pull/417
fix: fix usage of SignerInfo.AuthenticSigningTime by @Two-Hearts in https://github.com/notaryproject/notation-go/pull/424
bump: bump up notation-core-go by @Two-Hearts in https://github.com/notaryproject/notation-go/pull/426

Full Changelog: https://github.com/notaryproject/notation-go/compare/v1.1.0...b3b8cbe0cc7e08acceaf015589d751699b6a4058

LGTM

LGTM

LGTM

LGTM

Closing as release has completed.


Add constants to blockNameify.js

Added the constants, 'apis-and-microservices-certification': 'APIs and Microservices Certification',  'apis-and-microservices-projects': 'APIs and Microservices Projects', to preFormattedBLockNames as suggested by erictleung in order to address the capitalization of the word APIs issue #28446.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #28446

I made this pull request a bit prematurely. Apologies.


Refactoring of Build.PL

Added -rpath argument to linker to bake in non-standard library location.
Uses pkg-config if available.
New error message lists locations and means searched for htslib.
Did not test Alien::HTSlib method - so that might be broken!
Removed readline interaction, because I didn't think it added much.

Thanks for this


[CELEBORN-715] Change master URL schema from rss to celeborn

What changes were proposed in this pull request?
Change Celeborn Master URL from rss://<host>:<port> to celeborn://<host>:<port>
Why are the changes needed?
Respect the project name.
Does this PR introduce any user-facing change?
No, it's the internal change.
How was this patch tested?
Pass GA.

Currently users can start worker with ./sbin/start-worker.sh rss://${masterhost}:${masterport}, so seems this breaks the user interface.

Add migration guide then?

Add migration guide then?

Yeah, I think we need to doc this.

@waitinfuture FYI, the migration guide is added, please take another look.


Why we ask the user to call the town clerk

The marriage license will be filed at the town or city hall. To determine which court the town hall prefers the judges order from, it makes sense to call the clerk first and ask. Furthermore, each town or city may have specific requirements or fees when getting married that users may need to know about before filing for a marriage without delay.
This information was confirmed after a conversation with our SME (Katie), who handles marriage and immigration law.

https://malegislature.gov/Laws/GeneralLaws/PartII/TitleIII/Chapter207/Section30

Marriage without delay statute: https://malegislature.gov/Laws/GeneralLaws/PartII/TitleIII/Chapter207/Section30


Proposal: Secure modules w/ the const-mutable type

Secure modules w/ the const-mutable type
This is a prososal to allow what would otherwise be assignable to a var, to const (while disallowing function calls).  It is part of a set of proposals for improving Golang's security model.
// These are all OK

// const mutable (slice) type (all slices are mutable)
const myArray = make([]byte, 10)

// const immutable (struct) type
const myStruct = MyStruct{...}

// const mutable (struct) type
const myStructP = &MyStruct{...}

// const immutable (interface) type w/ struct value
const myStruct MyInterface = MyStruct{...}

// const mutable (interface) type w/ pointer value
const myStructP MyInterface = &MyStruct{...}

// const immutable func type (all funcs are immutable)
const myFunc = func(){...}

Here, const doesn't mean that the value is deeply immutable.  It just means you can't change the shallow value--you cannot change myStruct's fields, and you cannot change where myStructP points to, but you can change myStructP's fields.  In the latter example, unlike var myStructP = ... no code is able to swap out the entire object.
There is already a distinction between typed and untyped consts.  This only works for typed consts, and further introduces a distinction between const-mutable const-immutable types.  While the procedural behavior of const func types are always "immutable", they may have side effects.
The right hand side expression of a const declaration may not include a function call.  This limits the scope of these new const-mutable and const-immutable to those that won't cause a const initialization fiasco (see https://groups.google.com/forum/m/#!topic/golang-nuts/BnjG3N77Ico).
The type of values you can assign to a const are more expressive, so we now have no excuse to declare module-level var variables which can be (maliciously or not) modified by anyone who imports the module.
(Of course we can declare a global function func GetMyStructP() *MyStruct { ... }) that more or less does the same thing, but nobody does that because it's easier to use var, and what's the point of doing the right thing unless there's a commitment to evolve the language toward a capabilities-based system?).
Go linters can start tagging exported global vars that aren't annotated to be safe to mutate by anyone.
The proposal here is not to make module level state "immutable". Consts can still be mutable internally, but the pointers that they refer to cannot be swapped out for another pointer. I'd like for Golang to have these mutable consts (they're so convenient), and to disallow exported vars entirely.

This is not a duplicate of #6386.  There's no concrete proposal there and the discussion there bleeds into the design of deeply immutable objects.  This is completely different.
Please reopen this proposal @mvdan


fix for session timeout over extended hass uptime

Description:
sid, the identifier surveillance station uses for auth, expires after some time. The only way to fix it is to restart hass. This component re-initializes the connection when that happens.
Related issue (if applicable): fixes #12037
Checklist:

[x] The code change is tested and works locally.

This feels like something that should be fixed upstream.

@balloob I don't disagree, though I could definitely imagine it more of a philosophical question - should I be responsible for re-establishing a connection to the Synology cameras or should the library do it silently?
I decided to fix it here since in here because currently the library better mimics how Synology acts, meaning it expects sessions to time out eventually.
Originally I wanted to not store the SurveillanceStation state and just force a new object to be created whenever needed, but there is a 2x round trip to get a new sid which adds a lot of overhead on SurveillanceStation creation.
I'll make the updates you've requested later today in the PR and we can go from there.

I have opened a discussion with the library maintainer: https://github.com/home-assistant/home-assistant/issues/12037

update! maintainer of the py-synology library has made the modifications required to reissue the sid in the library. once that has been pushed to pypi ill update this pr to make use of it


Footer in wrong place on ticket resolved page

I had put a link with Terms and Condition in the footer file.
If i enter on my help desk admin and check resolved ticket than show i see the footer Terms and Conditions on the right top of the page, not in the footer.
Can you check if you can reproduce?
Thanks.

Can you provide a screenshot for me?

Yes mkoch227,
for you, yes :D for sure ^_^
In all other admin page footer are at the footer but in show_tickets and resolved selected footer are not in right place.

Hmm... I'm not able to reproduce your issue (the footer is in the correct place on admin_main.php). If you want to provide the contents of your footer.txt file, I'll see if anything looks out of the ordinary (and I'll toss the code into my instance to see if it works for me or not)

Please can you remeber an address to send the file? Thanks

You can send it to<EMAIL_ADDRESS>

Done thanks.


feat(SPV-831): start.sh with no-run arg for mobile-start-sh

Pull Request Checklist

[ ] 📖 I created my PR using provided  : CODE_STANDARDS
[ ] 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
[ ] 🏠 I tested my changes locally.
[ ] ✅ I have provided tests for my changes.
[ ] 📝 I have used conventional commits.
[ ] 📗 I have updated any related documentation.
[ ] 💾 PR was issued based on the Github or Jira issue.

Testing


--yes command line flag

Add an optional --yes or -y flag that automatically accepts any confirmation dialogue. This is beneficial for automated scripts.

Added in 87cc63b


Support for vmware_workstation and customizing vmware memory/CPUs

Hey there, these are some quick changes to:

add support for the vmware_workstation provider
enable customizing memory/CPUs in vmware fusion/workstation using the existing $vb_memory and $vb_cpus config options
update README instructions accordingly (and a minor correction for setup step numbering)

Long belated LGTM, sorry for forgetting about this PR. /cc @bcwaldon


Remove liquidity in quickswap.exchange + Polygon does nothing when "Remove" button tapped

Because of #4000, the EIP712 message signed when the Approve button is tapped is wrong, so the dapp doesn't show the prompt to confirm the transaction (and the dapp shows a misleading error about gas in the JavaScript console).

@oa-s seems to work correctly then. Thanks!


logger.error is broken

When I call logger.error (like in your example in README.md), the application crashes:
2011-12-01 07:59:07 log:      (module/_compile) hello world
2011-12-01 07:59:07 info:     (module/_compile) pew pew
2011-12-01 07:59:07 error:    (module/_compile) oh noes, something goes terribly wrong

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Uncaught, unspecified 'error' event.
    at [object Object].emit (events.js:50:15)
    at [object Object].write (/Users/nkaiser/sync/app/test/devnull/node_modules/devnull/lib/logger.js:252:10)
    at [object Object].error (eval at levelr (/Users/nkaiser/sync/app/test/devnull/node_modules/devnull/lib/logger.js:429:29))
    at Object.<anonymous> (/Users/nkaiser/sync/app/test/devnull/test.js:6:8)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Array.0 (module.js:470:10)
    at EventEmitter._tickCallback (node.js:192:40)

@nicokaiser
First of all my applogies for the late response, I totally missed this issue in my inbox.
You see that message because the logger automatically starts emitting the warnings, errors, criticals and alerts log messages.
This can be configured by setting the notification level when you create a logger.
var Logger = require('devnull')
  , logger = new Logger({ notification: 1 })

Or you could just start listening to the events: https://github.com/observing/devnull/blob/master/lib/logger.js#L113
I added this functionality because I personally would like to receive notifications when something in my applications go wonky so I can start investigating & resolving the issues.
Anyways I do think you have a valid point there. I should be checking if there are listeners before I start emitting as Node will throw the error if there are no error listeners.
So thanks for reporting I'll make sure it's resolved in the next version.


Can we add any other languages to this project .

It's a good project. Adding other languages would make it easier to play, I think.

Sir, can you assign me this issue @sk66641

Can you assign me this issue


fix(client): fix KeyError of update in Job

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.845%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tensorbay/client/job.py
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
7672

Relevant Lines:
8937

💛  - Coveralls


scanRecord set to empty string on iOS fails TI sensortag scan

The commentary on evothings/ble.js indicates that scanRecord is not available on iOS.  The corresponding  code in EVOBLE.m for iOS specifically sets scanRecord to the empty string, subsequently the easyble.js routine ensureAdvertisementData fails when this happens, rejecting any device connection.
Is there a suggested workaround? (otherwise, I'll just fake it, till I make it)
evothings/easyble/easyble.js
	internal.ensureAdvertisementData = function(device)
	{
		// If device object already has advertisementData we
		// do not need to parse the scanRecord.
		if (device.advertisementData) { return; }

		// Must have scanRecord yo continue.
		if (!device.scanRecord) { return; }

Device scan fails to log device at this point
EVOBLE.m
/**
 * Internal helper method.
 */
- (void) sendScanInfoForPeriperhal: (CBPeripheral *)peripheral
	RSSI: (NSNumber *)RSSI
{
	// Create an info object.
	// The UUID is used as the address of the device (the 6-byte BLE address
	// does not seem to be directly available on iOS).
	NSDictionary* info = @{
		@"address" : [peripheral.identifier UUIDString],
		@"rssi" : RSSI,
		@"name" : (peripheral.name != nil) ? peripheral.name : [NSNull null],
		@"scanRecord" : @""
	};

	// Send back data to JS.
	if (self.scanCallbackId)
	{
		[self
			sendDictionary: info
			forCallback: self.scanCallbackId
			keepCallback: YES];
	}
}

You must update your Evothings Client to at least 1.1.3. That contains an newer version of the BLE plugin which supplies advertiesementData on iOS.


Improving the dataset preprocessing

We discussed improving how the dataset is preprocessed. I added an test-case to ensure the original dataset is not being changed (but instead a changed copy is returned) and started improving some minor points.
There are some open points that should be addressed in the future:

[ ] The DataCleaner should be EITHER stateless (i.e. is configured in the init and preprocessing dataset does not change any attributes) OR statefull (i.e. it should only be invoke once with a dataset).
[ ] We need to change the order of the processing steps, as at the moment string-labels do not work.

Did some refactoring. Datacleaner doesn't change its instance attributes or the original dataset. The method to call is prepare_dataset(dataset), which returns texts, labels, and the task category. Only these three are needed for the ranker and transferability metrics.
Tests are passing and examples run, we can merge it.


qiskit.aqua.components.multiclass_extensions has no newer equivalent

What is the expected enhancement?
The migration guide at qiskit.aqua shows there is no equivalent for multiclass_extensions. It would be great if the new qiskit provides this feature too. Do let me know if something already exists. Thank you !

@sri1905 I believe there's no need to port multiclass_extensions. If you want to run multi-label classification via QSVC (is it what you are looking for?) then everything should work out of box. For example a 3-label classification on the iris dataset:
from qiskit import Aer
from qiskit.circuit.library import ZZFeatureMap
from qiskit.utils import QuantumInstance
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split

from qiskit_machine_learning.algorithms import QSVC
from qiskit_machine_learning.kernels import QuantumKernel

if __name__ == '__main__':
    x, y = load_iris(return_X_y=True)
    samples = 30

    # 150 samples, 3 classes
    # iris dataset contains 50 samples of each class and samples are sorted by class label
    # so we sample a balanced sub-dataset of `samples` samples in total
    indices = [int(50 * (i % 3) + (float(i) / samples * 50)) for i in range(samples)]

    features = x[indices]
    labels = y[indices]

    train_features, test_features, train_labels, test_labels = train_test_split(features, labels, test_size=5, shuffle=False)

    qi = QuantumInstance(backend=Aer.get_backend('aer_simulator_statevector'),
                         seed_simulator=12345,
                         seed_transpiler=12345)

    qk = QuantumKernel(feature_map=ZZFeatureMap(feature_dimension=4), quantum_instance=qi)
    model = QSVC(quantum_kernel=qk)
    model.fit(train_features, train_labels)
    predicts = model.predict(test_features)
    print("true    :", test_labels)
    print("predicts:", predicts)
    score = model.score(test_features, test_labels)
    print("score   :", score)

Produces on my laptop:
true    : [1 2 0 1 2]
predicts: [0 2 0 1 2]
score   : 0.8

Please let me know if you have questions.

@adekusar-drl thank you for your example. It does show how to perform classification with 3 classes. However, I believe there is an issue with four or more classes as @jonvet demonstrated in #251. I shall implement once and let you know if I face any errors/irregularities. Thank you

@sri1905 Was this issue resolved? I'm not closing #251meanwhile.

@sri1905 Was this issue resolved? I'm not closing #251meanwhile.

Yes, this issue can be closed. Thank you