JSON / XML parser

Does Abseil authors have any plan for handling JSON and/or xml as an extended datatypes for all of Abseil containers.
Also it would be great if Abseil can provide a fast Json / XML parser to general public.

Abseil has no plans for this. My favorite way to parse JSON in C++ is to parse it to a Protocol Buffer.


Understanding Few-Shot learning Algorithms

Proposed title of article
Understanding few-shot learning algrorithm
Proposed article introduction
In this tutorial, we will discuss algorithms used in few-shot learning and their implementation in machine learning models. Besides we will look at some of the importance of this algorithm as compared to other algorithms in other learning models.
Key takeaways
By the end of this tutorial, the learner will gain skills

Implementing best Algorithm in Few-shot learning
Understand Algorithms used in Few-shot learning
Deploy the Algorithms in their work during learning.

Article quality
Will be the best with well explained terms in ML
References
N/A

Based on this search, this topic appears to be somehow oversaturated on other blog sites. Feel free to suggest another topic. Thanks


Escaped charactes causing errors

If I have a string like  "c:\" in my json, then it throws this exception
Exception("JSON is not formatted properly (missing a closing bracket?)");

I have an updated version of this JSON class that I made for internal use and forgot to update this one. Can you give an example of the JSON?

I have an updated version of this JSON class that I made for internal use and forgot to update this one. Can you give an example of the JSON?


Improve Blackhole documentation

Add Params section.
Add LREF to the See_Also entries.
Change example to a documented unittest.

LGTM

Auto-merge toggled on


Remove the Safety Tip of the Day Section from Features Page - For OSDW 2017

At the bottom, remove the "Safety Tip of the day" panel

This issue was moved to kashifzaidi1/Messiah-Web#5


Initialize propId before calling enumerator

Fixes OS: 15099548
Some enumerators don't initialize the propId in JavascriptObject::CreateKeysHelper. For consistency, initialize to NoProperty.

    PropertyId propId;

What about here?
There are multiple places where we don't initialize PropertyId before calling MoveAndGetNext are all those place ok?
Should this be done in MoveAndGetNext function.

Refers to: lib/Runtime/Library/JavascriptObject.cpp:1724 in bd24de9. [](commit_id = bd24de93c2d6d26ecf46c12fe3b5b62266893dbc, deletion_comment = False)

You're right, and it seems that several enumerators don't initialize on all paths, so I'll take a look at a broader solution.


Action chain

Worked in collaboration with @chooper9 @colindmurray
Refactored SafeHandle for future multitouch implementation.
Previous implementation didn't properly handle thread sleep for synchronizing touch events.

@DominikDary  @lukeis
Guys, is there anything wrong with the code?

I just did not had the time to review.

Are there more instances other than multitouch that use multi-action chains?  I had assumed mutli-action chains was attempting to address multi-touch.  In the below code for multitouch I assume the intent is the actions execute in parallel, regardless of differences in pause times?
TouchAction finger1 = new TouchActionBuilder().pointerDown().pause(500).
  pointerMove(x, y).pointerUp().build();
TouchAction finger2 = new   TouchActionBuilder().pointerDown().pause(100).
  pointerMove(x, y).pointerUp().build();
MultiTouchAction multiAction = new MultiTouchAction(finger1, finger2);
multiAction.perform(driver);```

In this case, I'd expect as a user finger2 to finish first, then finger1.  In order to achieve this we would need to sleep for the shortest pause (100ms), then send a MotionEvent that describes which pointers changed and which did not before continuing the pause (400 remaining ms).  If what I understand is correct for multitouch, we could work around longest pause.  Instead we could try identifying if the request being handled is a multitouch action prior to iterating on the action chains.

No... in order to accomplish something like you're suggesting then the chains should look more like this:
t1 = TouchAction.pointerDown.pause(100).pointerMove(x,y).pause(400).pointerUp();
t2 = TouchAction.pointerDown.pause(100).pointerMove(x,y).pointerUp();
MultiTouchAction(t1,t2).perform();

We should be preserving 'tick' order and executing each 'tick' and the Selenium project will need to document this better? Or we can also try to document this behavior too. This is defined in the spec:
https://w3c.github.io/webdriver/webdriver-spec.html#parallel-actions-1

Oh, I see. When we saw 'these actions will be executed in parallel' on the Selendroid Mobile Gestures page, we thought it meant the execution of them would be as if done on separate threads - completely independent of one another. It might help to instead say something like, 'these will be executed as parallel actions, as defined by the WebDriver API' and maybe even include that link or put a section for Parallel Actions in the Advanced User Interactions API.

Changed to function as per the spec.

lgtm now!
@h2dennis can you sign the cla. I see the others on this PR already have :)

@lukeis The cla is signed now.


Duplicate transaction sent in FastSingleTxSender and RetryTxSender

FastSingleTxSender should send the transaction only once.
class FastSingleTxSender {
	async sendRawTransaction(
		rawTransaction: Buffer | Uint8Array,
		opts: ConfirmOptions
	): Promise<TxSigAndSlot> {
		let txid: TransactionSignature;
		try {
			txid = await this.connection.sendRawTransaction(rawTransaction, opts);
			this.sendToAdditionalConnections(rawTransaction, opts);
		} catch (e) {
			console.error(e);
			throw e;
		}

		this.connection.sendRawTransaction(rawTransaction, opts).catch((e) => {
			console.error(e);
		});
		this.sendToAdditionalConnections(rawTransaction, opts);
...
}

In RetryTxSender, there is no handling for This transaction has already been processed error, so it happens every time
SendTransactionError: failed to send transaction: Transaction simulation failed: This transaction has already been processed
    at Connection.sendEncodedTransaction (drift/js/node_modules/.pnpm/@solana+web3.js@1.90.0/node_modules/@solana/web3.js/src/connection.ts:5921:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Connection.sendRawTransaction (drift/js/node_modules/.pnpm/@solana+web3.js@1.90.0/node_modules/@solana/web3.js/src/connection.ts:5880:20) {
  logs: []
}

do you have a custom blockhashRefreshInterval set? i've noticed that happening when blockhash isn't updated frequently enough, we could increase the default

Hi, I noticed that if I use a RPC other than helium, it will happen. If I use helium, it's working fine


207 rollup compaction simplified

Description
The present PR provides initial implementation for indexing and optimization based on the rollup compaction as it is proposed in the #207. The most important changes are

A single index file can contain blocks from different cubes
The format of the file metadata stored in the tags of AddFile has changed to support multiple blocks.
Cube state is computed from the replicated flags of its blocks and id not persisted in the DeltaLog metadata anymore.
The Qbeast metadata appended to the metadata of the Delta has changed to exclude the information about the replicated cubes.
While indexing the cube blocks to be stored together in the same physical index file are grouped using the rollup compaction algorithm.
While compacting the cube blocks to be stored together in the same physical file are grouped using the rollup compaction algorithm.

Type of change
This PR introduces incompatible changes in the metadata format for both individual index files and for the DeltaLog as well. The tables written with the previous version cannot be read by the present version, and vice versa. However the existing tables can be converted (int theory) to the new format by transforming the AddFile tags and DeltaLog metadata without touching the actual files.
How Has This Been Tested? (Optional)
The correctness tests are provided in the project code. Also @Jiaweihu08 did some extra performance test comparing the proposed version with the previous one and pure Delta.

We are finally merging the rollup!! Great job!! @alexeiakimov


Can't put screen marker too far right on the screen

When you part the marker too far right on the screen then open up the sidebar to confirm location it will push the marker over.

We have issue open for making positions of screen markers relative


Fix grammatical errors of installation.md

errors unrelated

errors unrelated

Thank you for reviewing!
Could you please add me to the list of contributors?

@all-contributors add @bshramin for docs


[Wallet] Fix Failing Test

Master is currently failing due to a test failing associated with #586.  This fixes the test to get master passing again.

I think #595 also fixes this test


Netlink extensions (issue #32)

Hi everyone,
this is a first step towards the requirements in #32. Specifically, it implements:

creating vcan (and theoretically other) CAN interfaces
deleting interfaces
reading rudimentary interface data (name, MTU, up/down) (can be extended easily by adding more entries in the corresponding loop)
setting MTU (switching VCAN from FD to non-FD and vice versa)

All of the tests added here need to be run as root and/or with CAP_NET_ADMIN capability. As such, I hid them behind another feature flag. They work locally for me.
I did not get to bitrate and such because that actually does not work with vcan out-of-the-box; and I don't have a physical CAN device at home atm.
For follow-up changes it might be interesting to know where I got the information from (which was quite painful as they documentation leaves some things to be desired..):

netlink and rnetlink documentation (https://man7.org/linux/man-pages/man7/netlink.7.html and https://man7.org/linux/man-pages/man7/rtnetlink.7.html)
iproute2 (aka iptools) source: https://github.com/shemminger/iproute2
ultimately, I mostly ended up just using strace with the ip link commands I was interested in

Ah, there is one annoyance: There can only be one netlink socket per PID, so when running multiple tests, one has to pass --test-threads 1 to cargo.
At the moment (this I did not change from the old code) a NL socket is created on-demand per request. It would be reasonable to use an RAII wrapper for this, but it does not solve the threading issue. There could also be a process-wide global, but that's kinda sits wrong with me.

@jreppnow Thanks for getting on this!

I did not get to bitrate and such because that actually does not work with vcan out-of-the-box; and I don't have a physical CAN device at home atm.

OK. But please do not use any equipment that is owned by the company you work for, or any other company. I would not want any company claiming ownership of this code based on something like that!
We can get this PR merged and then try to do the bit rates in one of several ways:

Try an implementation and put up a different PR for it marked "untested" or something like that. I can verify that it works and/or debug and finish it.
If you have a basic idea of how to do it, create an issue describing it, and I can try to implement it when I have a moment.
If you're done with this, just leave it, and I will look into it at some point.

Hi @fpagliughi,
I'll address the remarks in order:

I never have and I will not use work equipment for any tests of my open source contributions, so no need to worry. We (company) might use this library and specifically the netlink functionality at some point in the future, in which case I will attempt to get the company to sign the typical waiver so that I can safely push possible changes/fixes back upstream, but I'll address that when it comes to it.
I will probably get myself a USB CAN(-FD) adapter and the resistors necessary to build a small CAN network at home at some point in the future, but these aren't concrete plans yet.
Regarding further changes: I am open to implementing further functionality, but I am generally limited to weekends for bigger contributions (although I will have some time after Christmas). What I would suggest is that I write a small guide in the netlink Issue regarding how I got at the necessary information and how to implement these kinds of netlink requests (to the best of my also somewhat limited knowledge). Then it's up to you if you (or other contributors) pick up on this and add features on their own; and I'll also look into adding some more myself starting next weekend. The ones I cannot test I would mark as "needs testing" as you suggested. As we are talking about what is essentially a set of pretty much separate requests, incrementing the supported operations step-by-step would work quite nicely I believe.
Thanks a lot for the suggestion regarding the serial_test crate, I added it to the relevant tests in my PR (and will probably use it quite a bit in other projects in the future :+1: ).

I rebased the PR to the most recent version of the master branch.

That all sounds good. I was actually out sick from work the last week+, so got more done than I thought on this, but I'm back so mostly relegated to nights and weekends going forward. But I may have time over Christmas as well.
Anyway, the main upstream crates we use (neli, libc, and nix) all seem receptive to Pull Requests, and the neli maintainer was explicit in his willingness to add CAN constants as needed. So, by all means, try to push support upstream where appropriate.
I currently have two PR's in to the nix crate to add CAN constants and a CanAddr implementation. That would allow us to move much of the socket code from unsafe libc calls to the safe nix wrappers.
I'll have a look at the PR this evening, and most likely just land it and keep moving forward.
Thanks again.

I've already forked libc to add the constants I temporarily added here ;) After/if that goes through I'll turn to neli to have them added with all of their traits, since neli is mostly just wrapping libc constants.


Password strength

I'd like to see some sort of password strength indicator supported. Either a bar graph style or just words. It should either have multiple options for types of strength calculation or a plugin like interface where I would do the heavy lifting. In particular, I'm interested in zxcvbn.

Could you think about extending the password field by providing a custom template to be used?
See the template option in the form fields configuration section.
I'd say something like:
AccountsTemplates.removeField('password');
AccountsTemplates.addField({
    _id: 'password',
    type: 'password',
    required: true,
    minLength: 6,
    re: /(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/,
    errStr: 'At least 1 digit, 1 lower-case and 1 upper-case',
    template: 'myPwdTemplate',
});

<template name="myPwdTemplate">
  {{> atTextInput}}

</template>

plus some addition to the myPwdTemplate's helpers could be a good start!

I'd be curious to see where this could get and possibly publish a plugin package to add the strength indicator ;-)

If you wish to play a bit, this is a good starting point:
file pwd_strength.html
<template name="pwdStrength">
	{{> atTextInput}}

</template>

file `pwd_strength.css
.point {
  background: #DDD;
  border-radius: 2px;
  display: inline-block;
  height: 5px;
  margin-right: 1px;
  width: 60px;
}

file pwd_strength.js
Template.pwdStrength.onCreated(function(){
	this.strength = ReactiveVar(3);
});

Template.pwdStrength.helpers({
	style: function(position) {
		var strength = Template.instance().strength.get();
		if (position > (strength + 1)) {
			return 'background: rgb(221, 221, 221);';
		}
		else if (strength <= 1) {
			return 'background: rgb(255, 0, 0);';
		}
		else if (strength <= 3) {
			return 'background: rgb(255, 153, 0);';
		}
		else if (strength <= 4) {
			return 'background: rgb(153, 255, 0);';
		}
		else {
			return 'background: rgb(0, 255, 0);';
		}
	},
});

Template.pwdStrength.events({
	"keyup input": function(event, t){
                // Some interesting strength calculation here...
                var strength = Math.random() * 6;

		Template.instance().strength.set(strength);
	},
});

password field configuration:
AccountsTemplates.removeField('password');
AccountsTemplates.addField({
    _id: 'password',
    type: 'password',
    required: true,
    template: 'pwdStrength',
});

That answers my question as to how to get the indicator in the correct
place. I missed the option to replace the template. Thanks.
= Ron

On 8/21/2015 3:36 PM, Luca Mussi wrote:

Could you think about /extending/ the password field by providing a
custom template to be used?
See the |template| option in the form fields configuration
https://github.com/meteor-useraccounts/core/blob/master/Guide.md#form-fields-configuration
section.
I'd say something like:
AccountsTemplates.removeField('password');
AccountsTemplates.addField({
_id: 'password',
type: 'password',
required: true,
minLength: 6,
re:/(?=.\d)(?=.[a-z])(?=.*[A-Z]).{6,}/,
errStr: 'At least 1 digit, 1 lower-case and 1 upper-case',
template: 'myPwdTemplate',
});

plus some addition to the |myPwdTemplate|'s helpers could be a good start!
—
Reply to this email directly or view it on GitHub
https://github.com/meteor-useraccounts/core/issues/519#issuecomment-133580721.

That was what I was looking for originally. I may take a stab at it, but
(1) it's not on the critical path of getting my app done so I'd have to
do it on my own time and (2) I'm still new to Meteor and haven't tried
building a package yet.
I should probably treat it as a learning exercise.
= Ron

On 8/21/2015 3:37 PM, Luca Mussi wrote:

I'd be curious to see where this could get and possibly publish a
plugin package to add the strength indicator ;-)
—
Reply to this email directly or view it on GitHub
https://github.com/meteor-useraccounts/core/issues/519#issuecomment-133580816.

...the only problem is if you want password confirmation: with the above example you get two strength indicators :(

Ok, no pressure.
Just let me know where do you get ;-)
...on the way there would probably be also the wrapping of the zxcvbn package for Meteor

Because both fields use the same template? There should be some way to
tell them apart.
On 8/21/2015 4:23 PM, Luca Mussi wrote:

...the only problem is if you want password confirmation: with the
above example you get two strength indicators :(
—
Reply to this email directly or view it on GitHub
https://github.com/meteor-useraccounts/core/issues/519#issuecomment-133588262.

yeah, the password_again field is actually cloned from the password one!
...but, realizing right now, only if you don't explicitely configure it actually :)
AccountsTemplates.removeField('password');
AccountsTemplates.addField({
    _id: 'password',
    type: 'password',
    required: true,
    template: 'pwdStrength',
});

AccountsTemplates.addField({
    _id: 'password_again',
    type: 'password',
    required: true,
});

solves the problem :)

I'm back to looking at this but it appears that the password field is shared between sign-in and sign-up so a password strength meter appears on the sign-in page. Looks bad. I'm thinking I can remove and re-add the password field with the default template in my sign-in code. I'll keep this thread up-to-date with my progress just in case anyone else is following.


Add JSON error messages to every halt

There were a ton of "halt"'s sprinkled throughout the code base without a corresponding message. Along with that, our default response type is application/json which would confuse the client if it received only text. This commit adds a helper function to format halt messages into a common JSON format and ensures that each halt passes along a corresponding message.

Whoops, must have had my Intellij configuration reset. I'll clean those imports up.

No connection to the status bar.

yet...

@ansoncfit fixed imports and updated with a comment


Add !byefelicia sound byte for parting users

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[x] No

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

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

How to Test

Get the code

git clone git@github.com:clarkio/ttv-chat-light.git
cd ttv-chat-client
git checkout [branch-name]
npm install

What to Check
Verify that the following are valid

...

Other Information

@clarkio I created a new local branch and reverted the 'sorry' change to make 'byefelicia' the only change that is here. I'll submit separate PRs for 'humpday' and 'sorry'.

From our discussion on stream today, let's figure out the best approach to include this feature in a way that isn't going to over play the sound effect, won't guilt people when they have to leave and won't make the streamer feel like people are leaving in masses and being discouraged.
I do think this could be fun to include so long as we can avoid those scenarios.

Maybe it could play when someone leaves, then disable itself until a message is sent?

via @PakmanJr: maybe have it so when someone sends a message with "bye" then only will it play the parting sound effect

Another option via @MusicalBookworm, add this just for mods/VIPS when they leave chat since they like you and get your sense of humor.

Maybe subs too?

On stream @clarkio asked what my message means.
let enabled = true
on leave () => {
  if (!enabled) return
  enabled = false
  play('byefelicia')
  once message () => { enabled = true }
}

Closing and will keep the issue related to this open which references this PR. If needed we can circle back to this PR when ready to implement something like this.

And for realz thanks a bunch for thinking of this and taking the time to code it up!


Vicuna models renamed (again)

Bug description
Getting 404 when downloading any Vicuna model.
New models:

ggml-vic13b-uncensored-q5_1.bin
ggml-vic13b-uncensored-q5_0.bin
ggml-vic13b-uncensored-q4_0.bin

https://huggingface.co/eachadea/ggml-vicuna-13b-1.1/tree/main
Steps to reproduce
Click download in the UI for any Vicuna model
Environment Information
Docker on linux
Screenshots
No response
Relevant log output
Downloading Vicuna-7B model from eachadea/ggml-vicuna-7b-1.1...
INFO:     <IP_ADDRESS>:58916 - "POST /model/Vicuna-7B/download HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 435, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 92, in __call__
    await self.simple_response(scope, receive, send, request_headers=headers)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 147, in simple_response
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 109, in __call__
    await response(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 270, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__
    raise exceptions[0]
  File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 273, in wrap
    await func()
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 134, in stream_response
    return await super().stream_response(send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/responses.py", line 262, in stream_response
    async for chunk in self.body_iterator:
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 98, in body_stream
    raise app_exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 443, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 237, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 165, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/serge/routers/model.py", line 131, in download_model
    urllib.request.urlretrieve(url, WEIGHTS+f"{model_name}.bin.tmp")
  File "/usr/local/lib/python3.11/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
                            ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Confirmations

[X] I'm running the latest version of the main branch.
[X] I checked existing issues to see if this has already been described.

@jcalonso Did the model names changed?

Can someone do a PR for this?

Done :)


Image refactor refactor

Removed comments about srcSet which no longer made sense
Update comments in <ImageOriginal>
Simplify condition when image is loaded in <ImageOriginal>
Rename column from clickToLoadImg to imgproxyOnly since we no longer use clicking to bypass setting. We simply show the link for the user to click. (I also never liked the name of the setting)
Add info about setting in /settings
Fix misleading URL on imgproxy errors: I read your comment here and will make sure it supports markdown links, too

😂 the title

Mhh, or wait. I have a better solution:
If [text](url) is used and text is not empty, I think we shouldn't render this as an image at all.
This would also fix the markdown in my bio. I use [click here](https://ekzyis.com/simplex.jpeg) there but it displays the image which was precisely what I tried to avoid.

Also https://github.com/stackernews/stacker.news/commit/19d2f5f393c8e51394149b3d81cb4ba88bad6bfb throws an errors on  as the input (but apparently not consistently 🤔

Is this good to merge or does this need to be fixed?

Fixed in https://github.com/stackernews/stacker.news/pull/541/commits/9b204aee4089271df6f6bd93de5f894913ede773 using optional chaining: children?.[0]
So this is good to merge now


Update apache-hadoop-use-hive-powershell.md

Updated 'Admin credentials' to also say 'Domain Admin' for submitting templeton jobs in secure hadoop clusters, based on feedback from customer incidents.
@hrasheed-msft @shravanmn

@reemachugani : Thanks for your contribution! The author, @hrasheed-msft, has been notified to review your proposed change.

Checking with Reema on one detail via email.

Status check - pinging the dev contact again over email.

#sign-off

#sign-off


shl(x, -1) should issue an error

but instead it emits the Verilog (x << -1).  My reading of the Verilog spec is that is equivalent to left-shifting by 2^32-1.

Duplicate of #527.  I thought I forgot to submit this issue earlier today, but it seems I did.


Add Get-BitlockerInformation

I think we should revert 43fdec4. The PS -  is used in the Scan Profile name such that it's easy to find in the list of Scanners, but for consistency with the rest of the Scanners here that should be dropped from the actual .ps1 filename. IMHO, maintainers may see otherwise.

I think we should revert 43fdec4. The PS -  is used in the Scan Profile name such that it's easy to find in the list of Scanners, but for consistency with the rest of the Scanners here that should be dropped from the actual .ps1 filename. IMHO, maintainers may see otherwise.

steviecoaster is correct. Please remove PS -  from the name of your .ps1 file. https://github.com/pdq/PowerShell-Scanners/blob/master/Policies/Contributing.md#folder-structure

I think we should revert 43fdec4. The PS -  is used in the Scan Profile name such that it's easy to find in the list of Scanners, but for consistency with the rest of the Scanners here that should be dropped from the actual .ps1 filename. IMHO, maintainers may see otherwise.

steviecoaster is correct. Please remove PS -  from the name of your .ps1 file. https://github.com/pdq/PowerShell-Scanners/blob/master/Policies/Contributing.md#folder-structure

Opps, consider it reverted

@theterminator3000 Something weird happened. Did you delete your commits? They're no longer showing up on this PR, and I don't see anything on your fork.

Weird, I haven't done anything this end


Wrong drop target for nested sortable

Hi! I've been using ng-sortable and it's been working well. Today, we decided to add subfolders to our list, leading to the need to be able to drag items across the hierarchies.
Turns out this is easy because the only place this fails is when ng-sortable tries to find the drop target of the dropped item. It assumes the sortable element is the immediate parent of the item, which is not true if the item is in the nested list. For this reason, the plugin fails at this task, and returns a 'cannot access property ngModel of null' error in the console when trying to drag items across hierarchies, see http://codepen.io/anon/pen/JGgLXQ.
Therefore, in line 188, replacing
var droptarget = ui.item.parent();
with
var droptarget = ui.item.parents('[ui-sortable]');
will do the trick. This looks for the parent element on which ui sortable was initialized, even if it's not the immediate parent.
Hope this, or a better solution, will be incorporated! Thanks!

Actually, I'm not sure if this would even allow detecting that is was dropped in the subfolder for my own code, except by looking at the event. Please let me know what you think of this.

Have you tried the 'Tree' example found in README? How is your
implementation's code compared to that?
As stated in README the items generated by our model have to be immediate
children of your ui-sortable element, so that we can do index matching with
the model array.
Initiating the drag from a nested element can only be achieved using the
'handle' option, but this can't help you with a nested hierarchy use case.
Anyway, we should probably replace the .parent() with
.parent().closest('[ui-sortable]') as a better detection approach.
--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Just another suggestion: Use sibling div items with left margin assignment to make a fake tree structure :)

@michaschwab Have you managed to make it work for your use case? Should we mark it as resolved?

Hi! sorry for not replying earlier. Yes, it works well for me now and we can mark it as resolved. I think I was wrong with some of my assumptions here. Thanks for taking care of this, it's working great.


Engine versions should not be part of the checkbox label

Makes selecting them with doubleclick for copy/paste trigger the checkbox unnecessarily.

Done in last commit, thanks for reports!


include/devicetree.h: Add DT_ENUM_IDX_OR macro

In case a "required: False" enum binding doesn't mention a
default value, but a default value makes sense to be set in the code,
DT_ENUM_IDX_OR could be used to provide the default value to be used.
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

DT_ENUM_IDX_OR, chapter 2: "When it appeared that testing was not a bad idea"...

Do you mind adding a test w/type: int as well for the enum.

Tests added. Also reworked the doc to make it clear we're returning an index and not the value.

Added Release Notes label to hopefully help us remember to add a comment in relnote about new API.

Added Release Notes label to hopefully help us remember to add a comment in relnote about new API.

I went ahead and added it. https://github.com/zephyrproject-rtos/zephyr/pull/28936


MensaQueueBot does not respect time settings for delivering the menu

Describe the bug
Via the settings, I told the bot to only send me the menu on mondays, tuesdays, and thursdays. However, I still get the menu on all week days.
The settings seem to be saved on the server, they are just not respected when actually sending the menu.
Screenshots

To Reproduce
Steps to reproduce the behavior:

Start using the MensaQueueBot
Open the Settings
Deselect wednesday and friday from the days on which to receive the menu
Wait for wednesday or friday
See that the MensaQueueBot sent you the menu anyways

Expected behavior
I'd expect the bot the only deliver me updates on the selected dates and times.

Sorry that took so long, for some reason this report never got to me. Issue should be fixed now


Add Coaching budget to benefits

I feel like life/career coaching can be very useful to everyone on the team. I've benefited from it a lot. I'm proposing to add a new company benefit that will pay for up to $2400 in coaching fees per year for each full-time employee. (I'll work on a PR shortly.)
In order to receive the benefit you need to use the services of a certified coach. You can find whoever you like and pay for the service with the company card. When submitting the expense, use Personal Education and make sure you write "coaching" in the description.

I welcome this suggestion! +1


List: Task 5: Add Sorting by Price to List Products API

Description:
Allow users to sort products by price in ascending or descending order using the sort=price and order=asc|desc query parameters.
As a user,
I want to sort products by price,
so that I can view the cheapest or most expensive items first.
Acceptance Criteria:
The API supports sorting of products by price in both ascending (asc) and descending (desc) order using the sort=price and order query parameters.
If no order parameter is provided, default to sorting by price in ascending order.
If the sort=price parameter is not provided, return products in their default order (e.g., based on their natural insertion into the list).
The sort functionality should work in conjunction with other query parameters (e.g., search by name or filtering by price range).
Example:
Request (Ascending order by price):
GET /products?sort=price&order=asc
Response (200 OK):
[
  {
    "id": 1,
    "name": "Product A",
    "price": 50
  },
  {
    "id": 2,
    "name": "Product B",
    "price": 100
  },
  {
    "id": 3,
    "name": "Product C",
    "price": 200
  }
]

Updated the story with the correct format and added examples to it.


Fix for #116 with float label support

Added grey placeholder text and added the float label option to mdl-select.

Coverage decreased (-0.4%) to 93.659% when pulling 1e6198e72016cfb5a1ea389edab4ce061d213bb2 on ctdocken:master into 5b2c8cd51f1f0745586e3cefa78150ab98968f10 on mseemann:master.

thx a lot! will be in the release on Monday.


Update Python List Explorer link in README

This is the same as #110 opened recently so I'm just closing this to get it off my PR board


kubevirt single node install path rework and upgrades.

Longhorn:
Bump to latest version 1.6.0 including upstream change to
find the correct iscsid pid when running k3s in a container.
nsmounter replacement to fix PID enabling RWX PVC mounts
findutils: needed for -regextype option
nfs-utils: for RWX (nfs) PVCs
longhorn-generate-support-bundle.sh:
request a support bundle containing complete lh logs
written to longhornsupportbundle_*.zip in
/persist/newlog/kube/
Lowered iSCSI queue depth to handle large CDI volume uploads.
This is temporary until performance testing completes.
Set default disk path (pool) to /persist/vault/volumes
K3s:
Bump to version v1.28.5+k3s1
k3s-pod-logs.sh: collect kube /var/log/pods/ contents
for complete k3s pod logs.  CDI, kubevirt, kubesystem, ...
On k3s restarts compress /persist/newlog/kube/k3s.log to
k3s.log.restart..gz for root cause analysis.
Otherwise regular k3s log rotation can lose the crashes after
the system becomes stable for some time.
Config:
Switched from etcd to SQLite for perf on
smaller nodes.
Containerd:
containerd-user root moved to /persist/vault/containerd
CDI:
Bump to version 1.57 to include qcow import readahead fix
Kubevirt:
Bump to version 1.1.1
Yetus fixes in kubevirt-features.yaml
Including debuguser role by @naiming-zededa .

@eriknordmark @zedi-pramodh
The breakup of this PR is in progress:
part 1: https://github.com/lf-edge/eve/pull/3877

@eriknordmark @zedi-pramodh The breakup of this PR is in progress: part 1: #3877 part 2: #3878 part 3: #3881 part 4: #3883 part 5: #3893 part 6: #3895

Are there more parts coming? I might want to wait to cut 12.1.0 until they are all in.

@eriknordmark sorry missed this, I believe all small broken up PRs of this are submitted.  I think just waiting on merge of 3893 now.


adding anaconda key in test-variables.yml

the PR has been tested locally with success. The test-variables.yml has been correctly updated as expected:


b22 analyzer error with ng2 transformers

Having upgraded to b22 and after also upgrading to SDK 1.19.1,
I get the following transformer errors:
[DirectiveProcessor]:
  Failed with 2 errors
Error 1: line 94, column 9 of lib\src\compiler\view_compiler\compile_pipe.dart and parts: Expected an identifier
        )
        ^
Error 2: line 94, column 9 of lib\src\compiler\view_compiler\compile_pipe.dart and parts: Positional arguments must occur before named arguments
        )
        ^
[DirectiveProcessor on angular2|lib/src/compiler/view_compiler/compile_pipe.dart]:
Error in lib/src/compiler/view_compiler/compile_pipe.dart and parts: Expected an identifier

Error in lib/src/compiler/view_compiler/compile_pipe.dart and parts: Positional arguments must occur before named arguments

They point to trailing comma usage in code pages, an example below where it throws after the last comma:
getPropertyInView(
          this.instance.prop("transform"),
          callingView,
          this.view,
          forceCast: true,
)

Any ideas, @ferhatb , @matanlurey ?

Solved it, some other dependency kept analyzer from updating to the min required version,
I've added analyzer: 0.28.1 to my pubspec file and was able to solve the conflict from then on.
In short, analyzer: 0.28.x is also a min requirement

@frankpepermans, could you give a little more info on "They point to trailing comma usage in code pages"? Where did you see that?
Thanks!

@kwalrath see the stack trace I posted, compile_pipe.dart inside the angular source code has a trailing comma at line 94
Eg
void foo (a, b, c, )
Where c has a trailing comma

Ah, OK. I thought "code pages" meant docs.

Unfortunally analyzer 0.28.x is not compatible with Polymer 1.0.0-rc.18 thar required 0.27.0 strongly. It is Polymer problem?

Yeah, this is really a polymer issue – https://github.com/dart-lang/polymer-dart/issues/716


fix(wasm): fix resolved default extensions

Fixes #3261

Codecov Report

Merging #3262 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #3262   +/-   ##
=======================================
  Coverage   99.09%   99.09%
=======================================
  Files          18       18
  Lines        1100     1100
  Branches      295      295
=======================================
  Hits         1090     1090
  Misses         10       10

Impacted Files
Coverage Δ

lib/builder/webpack/base.js
100% <ø> (ø)
:arrow_up:

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 db572a2...d26a416. Read the comment docs.

Screenshot!

I ended up here because I'm getting this in my console:

Looks like this commit should've solved it. I'm on latest nuxt (2.1.x) so... thoughts? Seems silly to have to extend the build config when it should be handled, right?

Hmm, maybe my issue is because things are somehow in my nuxt vendors js that aren't compiled properly. Kind of wonder why they are included though.


ModleNotFoundError utils && models in models_voice_assistant/TTS/style_tts2_model.py

Environment:
Ubuntu - 22.04.3 LTS (Jammy Jellyfish)
Python 3.11.2
Pipenv - 2022.11.30
Steps for Reproduction:
After full installation as directed, I tried to run [python main.py]
At this point, I get:

ModuleNotFoundError: No module named 'utils'
(* ModuleNotFoundError: No module named 'models')

Expected Behavior:
BUD-E should boot and function for conversation
Actual Behavior:
Traceback (most recent call last):
  File "/<dir>/natural_voice_assistant/main.py", line 13, in <module>
    from models_voice_assistant.stt_llm_tts_model import STT_LLM_TTS
  File "/<dir>/natural_voice_assistant/models_voice_assistant/stt_llm_tts_model.py", line 6, in <module>
    from models_voice_assistant.TTS.style_tts2_model import StyleTTS2Model
  File "/<dir>/natural_voice_assistant/models_voice_assistant/TTS/style_tts2_model.py", line 10, in <module>
    from utils import *
ModuleNotFoundError: No module named 'utils'

Additional Notes:
At first sight, I tried to fix the "utils" import by installing the python3-utils packages. And I got the same error for the models import in the same file. I realized that the utils package isn't the one I installed, so I removed it.

I'm really sorry, I missed it ! Thanks for your reply.


Poor performance of serving vision-languange models using batching

Motivation
I have benchmarked the performance of llava-v1.6-vicuna-13b with api server on 2*A30. The detailed data is as follows.
When using batching, as the batch size increases, the improvement of token QPS becomes less significant, and the speedup ratio shows a decreasing trend.
Compared to serve LLMs, the speedup from using batching is not significant.

 Input_Token_Len denotes the prompt token length, which consists of text and image embedded with vl model
No stream mode

@irexyc @lvhan028
follow https://github.com/InternLM/lmdeploy/issues/1316
Related resources

llava-v1.6-vicuna-13b
200 prompts and images from VQAv2.
the profile scripts modified from https://github.com/InternLM/lmdeploy/blob/main/benchmark/profile_restful_api.py

Additional context
No response

Can you share the used scripts and data ?

Can you share the used scripts and data ?

test data: vqav2/llava_vqav2_mscoco_test2015.jsonl, https://drive.google.com/file/d/1atZSBBrAX54yYpxtVVW33zFvcnaHeFPy/view
code.zip

python3 profile_vl_restful_api.py \
  ${http_server_address} \
  /path/to/llava_vqav2_mscoco_test2015.jsonl \
   --concurrency ${bs} \
   --out_len ${request_out_len} \
   --samples 200 \
   --top_k 3 \
   --top_p 0.95 \
   --temperature 0.0 \
   --repetition_penalty 1.15 \
   --device_id ${monitor_device_id} \
   --log_path 'perf.log'

Can you share the used scripts and data ?

Have you finished double-checking the performance data?
@irexyc

Hi, I am working on this issues and will give feedkback week.

Hi, I am working on this issues and will give feedkback week.

Any progress to share? @irexyc

Sorry for late reply.  I test with llava-v1.6-vicuna-7b and below is my test result.

There are some places in your script that need to be modified. If you want to output specific length like 256, you should add ignore_eos': True to the pload, therefore the output will not stop until that length. Moreover, you shouldn't use local filepath in the request, you should use base64 data of image to avoid reading from disk.
The proportion of input token (about 2200) is large compared with output token (257) which limits the speedup ratio, if you use llava1.5 or qwen which use short image features, you will see a better speedup ratio.

Sorry for late reply. I test with llava-v1.6-vicuna-7b and below is my test result.

There are some places in your script that need to be modified. If you want to output specific length like 256, you should add `ignore_eos': True` to the pload, therefore the output will not stop until that length. Moreover, you shouldn't use local filepath in the request, you should use [base64](https://platform.openai.com/docs/guides/vision/uploading-base-64-encoded-images) data of image to avoid reading from disk.
The proportion of input token (about 2200) is large compared with output token (257) which limits the speedup ratio, if you use llava1.5 or qwen which use short image features, you will see a better speedup ratio.

Thanks for your checking.

the parameter ignore_eos': True is not required to be passed to pload because the number of tokens generated in the actual scenario may not necessarily be the same as the requested quantity.
I have used base64 data of image in scripts above to avoid reading from disk.

However, the token qps re-measured is almost the same as shown in table above based on lmdeploy 0.3.0.
What's the matter? @irexyc

You can set log_level to INFO and check the server side log.

The red line means the current decoding step has batch size of 128.
The default max_batch_size of TurbomindEngineConfig is 128, but due to cache_max_entry_count and session_len, the actual running batch size may be little.


Improve logging

fd086cb adds a check for warningCount when deciding whether to return a resolved promise (previously, if errorCount was zero, then any warnings weren't being reported).
c5a4417 removes some unreachable code.
ad93897 improves the logging format, with a style based on ESLint's default "stylish" formatter.
Before:

After:

Awesome! Could you please also update the CHANGELOG ?

Certainly. I've assumed that the next version will be 3.10.0. I've also written the missing entries for 3.8.0, 3.9.0 and 3.9.1.


L.Toolbar is undefined

I installed Leaflet.toolbar with npm npm install npm install leaflet-toolbar and used the import statement to get it referenced in my javascript file import leaflet-toolbar.
Sadly, the L.Toolbar object is undefined. this s how my L object looks like:
{version: "1.2.0", Browser: {…}, noConflict: ƒ, Control: ƒ, control: ƒ, …}
Bounds: ƒ Bounds(a, b)
Browser: {ie: false, ielt9: false, edge: false, webkit: true, android: false, …}
CRS: {latLngToPoint: ƒ, pointToLatLng: ƒ, project: ƒ, unproject: ƒ, scale: ƒ, …}
Canvas: ƒ ()
Circle: ƒ ()
CircleMarker: ƒ ()
Class: ƒ Class()
Control: ƒ ()
DivIcon: ƒ ()
DivOverlay: ƒ ()
DomEvent: {on: ƒ, off: ƒ, stopPropagation: ƒ, disableScrollPropagation: ƒ, disableClickPropagation: ƒ, …}
DomUtil: {TRANSFORM: "transform", TRANSITION: "webkitTransition", TRANSITION_END: "webkitTransitionEnd", get: ƒ, getStyle: ƒ, …}
Draggable: ƒ ()
EditControl: ƒ ()
Editable: ƒ ()
Evented: ƒ ()
FeatureGroup: ƒ ()
GeoJSON: ƒ ()
GridLayer: ƒ ()
Handler: ƒ ()
Icon: ƒ ()
ImageOverlay: ƒ ()
LatLng: ƒ LatLng(lat, lng, alt)
LatLngBounds: ƒ LatLngBounds(corner1, corner2)
Layer: ƒ ()
LayerGroup: ƒ ()
LineUtil: {simplify: ƒ, pointToSegmentDistance: ƒ, closestPointOnSegment: ƒ, clipSegment: ƒ, _getEdgeIntersection: ƒ, …}
Map: ƒ ()
Marker: ƒ ()
Mixin: {Events: {…}}
NewGebietControl: ƒ ()
NewSpaControl: ƒ ()
Path: ƒ ()
Point: ƒ Point(x, y, round)
PolyUtil: {clipPolygon: ƒ}
Polygon: ƒ ()
Polyline: ƒ ()
Popup: ƒ ()
PosAnimation: ƒ ()
Projection: {LonLat: {…}, Mercator: {…}, SphericalMercator: {…}}
Rectangle: ƒ ()
Renderer: ƒ ()
SVG: ƒ ()
TileLayer: ƒ ()
Tooltip: ƒ ()
Transformation: ƒ Transformation(a, b, c, d)
Util: {lastId: 0, freeze: ƒ, extend: ƒ, create: ƒ, bind: ƒ, …}
 The library was recently updated and I neglected to update the documentation. I've updated the documentation now.
You should use LeafletToolbar rather than L.Toolbar as the namespace for classes in this library. I recommend that you take a look at the API reference. If you are using this library to add advanced Leaflet.draw functionality, I also recommend taking a look at leaflet-draw-toolbar.

Thanks for the response, could you please give me a hint how to access the LeafletToolbar instance ? I would like to to use the ES6 import. As stated above my global L object does have neither 'LeafletToolbar' nor 'Toolbar', only 'toolbar'

Sorry, Karel - Leaflet.toolbar does not yet support ES6 modules (i.e. no "import { LeafletToolbar } from 'leaflet-toolbar'"). You should use the global "LeafletToolbar" object for the time being. I will work on exposing Leaflet.toolbar as an ES6 module. This will hopefully land in the next few weeks.

Hi Justin, thanks for clarification, but my actual concern is how to access the global object without having to put the <script> and <link> tags in the HTML.
I tried:

import LeafletToolbar from 'leaflet-toolbar';
import * as LeafletToolbar from 'leaflet-toolbar/dist/leaflet.toolbar.js';
const LeafletToolbar = require('leaflet-toolbar/dist/leaflet.toolbar.js');

but LeafletToolbar is always empty Object

Karel - I've renamed the namespace from LeafletToolbar to L.Toolbar2. Please give it a try now (use<EMAIL_ADDRESS>and leaflet-draw-toolbar@0.3.0-alpha.1). Once I get the OK from you I'll promote the alphas to full releases.

Hi Justin, I would love to test it, but my current working setup is VueJS2 with webpack/template, I tried to put the leaflet.toolbar.js and leaflet.toolbar.css into the static folder, reference those files in my main HTML file and start the server in the production-mode, but it gives me
leaflet.toolbar.js:1 Uncaught ReferenceError: L is not defined
    at leaflet.toolbar.js:1
    at leaflet.toolbar.js:1

at start at weird VueJS error-messages later. I have to wait for any possibility to require/import the library to test it properly. Thanks anyway for your effort.

How do you include the Leaflet JS in your site? Including the Leaflet.toolbar JS in the same way should allow you to access it via "require":

Include leaflet-toolbar in your webpack config.
require('leaflet') in your JS
Access Leaflet.toolbar by referencing L.Toolbar2.*

Hello Justin, I apologize for the delay, but at least I can confirm, that leaflet-toolbar is working after the changs you introduced.
I had to require, the leaflet.toolbar.js, require or import the leaflet.toolbar.css , than i basically copied the code from the examples and voila ... 😃
Thanks for the effort 👍


Fixes a memory leak where child controllers were not removed from their parents

:+1: Seems like a pretty good idea


JS-Error in list view when using date field

When using a date field in an installation recently updated from 2.2.5 to 2.6.1 I get the following JS-Error in the console:
[Error] TypeError: undefined is not a function (evaluating 'moment().utcOffset()')
  (anonym funksjon) (symphony.min.js, line 97)
  each (symphony.min.js, line 14)
  each (symphony.min.js, line 14)
  (anonym funksjon) (symphony.min.js, line 97)
  execute (symphony.min.js, line 32)
  dispatch (symphony.min.js, line 32)
  dispatch (symphony.min.js, line 32)
  parse (symphony.min.js, line 37)
  render (symphony.min.js, line 96)
  (anonym funksjon) (symphony.min.js, line 97)
  k (symphony.min.js, line 24)
  fireWith (symphony.min.js, line 24)
  ready (symphony.min.js, line 24)
  g (symphony.min.js, line 14)

As a sidenote: this error stops other scripts from working in the list view.

Interesting, looks like we missed adding moment to the anonymous function to ensure it's available.

@animaux Can you confirm that you have moment 2.9.0 in your setup ?
utcOffset is new in this version. And I am not able to reproduce the error.

2.9.0 is included in symphony.min.js the error is in list view with a section including the following settings for the date field (first field in section):
Default date [yes]
[ x ] Display time
[ x ] Show calendar
[   ] Make this a required field
[ x ] Display in entries table
Hope this helps.

I can't figure out what's causing a 100% decoupled call from our code to fail.
I mean, I can run moment().utcOffset() in any website that requires moment.

Can you confirm that you have moment 2.9.0 in your setup ?

What I meant by that is: are you sure you uploaded/replace the file on the server (if it's not a local machine)...
Because I still can reproduce it...

Cheers Nicolas,
I’m sure it’s uploaded on the server (plus I had the same error on a local server too).

You screenshots show the section-editor and the entry-editor only. I don’t get any errors there either. It’s only in the entry-list:

Are you seeing this too?

Nope...

Which version of Safari are you running ?

Safari 7.1.4 (95<IP_ADDRESS>)
Mac OS X 10.9.5

Error shows up in FFdevedition too.

D’oh, should have done this before, I deactivated all the extensions that insert js and voilá. The error is gone …
Moving this here: https://github.com/symphonists/unpublishedfilter/issues/7
Thanks, and sorry for wasting your time guys!


Increase the density of DFT grids

@wxj6000 suggests to increase the density of DFT grids to (99, 590) as the default scheme, so as to align with the newest settings in Gaussian 16. Additionally, adding a different grids scheme for post-DFT and property calculations (such as Gradients, Hessian).
What do you think about this change? Please leave your comments.

qchem uses different grids for different functionals. https://manual.q-chem.com/latest/sect_standard-quad.html
I think this may be more economic.

For backward compatibility it may be better to keep the current default scheme and add a new option to apply a set of settings (including (99, 590) size, pruning method, radial scheme, and grid scheme for properties) which aligns with Gaussian.

Just add some more details. The motivation is not to align with Gaussian. It is more about the accuracy. IMO, the default grids should be a safe option for most cases.
I tested the grids on a diverse dataset (unfortunately, I am not able to share the data). From my tests, the energy difference between (99,590) and coarser grids can be ~0.1 kcal/mol. SG1 grids (default grids by qchem) can lead to an error more than 1 kcal/mol. Geometry optimization is even more sensitive to the grids. I guess Gaussian changes the default grids from (75,302) to (99,590) for the same reason.
Using the different default grids for different functionals is tricky. We probably cannot test all the functionals on a diverse dataset. Users should choose grids for efficiency based on their applications. But we probably can support different grids for different tasks. For example, SG1 grids is used for CPHF in Gaussian by default. It usually is enough. It should be OK if we don't support it.
Here is a simple example.
import numpy as np
import pyscf
from pyscf import gto, dft

atom = '''
I      0.000000    0.000000    0.000000
I      2.666000    0.000000    0.000000
'''

mol = gto.M(atom=atom, basis='def2-tzvpp', verbose=4)

mf = dft.rks.RKS(mol, xc='b3lyp')
e_default = mf.kernel()
gobj = mf.nuc_grad_method()
g_default = gobj.kernel()

mf = dft.rks.RKS(mol, xc='b3lyp')
mf.grids.atom_grid = (99,590)
e_99_590 = mf.kernel()
gobj = mf.nuc_grad_method()
g_99_590 = gobj.kernel()

print('Energy diff', e_default - e_99_590)
print('Gradient diff:', np.linalg.norm(g_default - g_99_590))

# Energy diff -3.515079333737958e-05
# Gradient diff: 0.00012460487559732365

I tested the grids on a diverse dataset (unfortunately, I am not able to share the data). From my tests, the energy difference between (99,590) and coarser grids can be ~0.1 kcal/mol. SG1 grids (default grids by qchem) can lead to an error more than 1 kcal/mol. Geometry optimization is even more sensitive to the grids. I guess Gaussian changes the default grids from (75,302) to (99,590) for the same reason.

Does PySCF include the contributions from the grid weight derivatives in the force calculations?

@susilehtola PySCF has the functionality to include the grid response contributions. But it is disabled by default.

I think a thorough benchmark is needed. SG1 should not give so large errors.

I think a thorough benchmark is needed. SG1 should not give so large errors.

SG1 is pruned from (50,194) which is already very coarse. Here is a simple example of I2, calculated by Q-Chem 6.1. I am not sure if we are able to run over all the cases for benchmarking. But we should upgrade the default setting when it is not enough for new functionals or complex molecules.
B3LYP
SG1 (default), -595.6254243111
(75,302),        -595.6252576694
(99,590),        -595.6252525739
wb97m-v
(50,194),         -595.3962748968
SG2 (default), -595.3974437142
(99,590),        -595.3974078296

@susilehtola PySCF has the functionality to include the grid response contributions. But it is disabled by default.

This is then probably the reason for the large errors of SG1 in geometry optimization; the grid was parametrized including the weight response, which is pretty much free to calculate.

@susilehtola PySCF has the functionality to include the grid response contributions. But it is disabled by default.

This is then probably the reason for the large errors of SG1 in geometry optimization; the grid was parametrized including the weight response, which is pretty much free to calculate.

@susilehtola Yes, if SG1 grid is generally good, we can reduce the error of SG1 in geometry optimization, probably count the grids response by default and optimize the code for efficiency. But I doubt if SG1 is accurate enough for some energy calculations. In this example, https://github.com/pyscf/pyscf/issues/2229#issuecomment-2132610352
(50,194) the parent grid of SG1 results in an error of 1.1 mHa.

Well yeah sure, the example is for the iodine dimer which doesn't even have a SG-1 grid that was only parametrized for H-Ar! E.g. Gaussian (where SG-1 was originally implemented) seems to default to using 78 radial points for SG-1 for I.

Making the grid an easy parameter to adjust is probably the best way to move forward. We cannot anticipate what replications of past calculations will need to be done, nor which systems will need even finer grains grids in the future. Setting the integration grid size is a pretty standard parameter across various QC softwares so it should not be a difficult adoption so long as it is documented what default is and how to change it.


Select and menu dropdown not opening when another select or menu is already open if trigger is button

🐛 Bug report
I'm using zag with vue been great thankyou!
I found an issue when the trigger element is a button the select and menu machines don't seem to open if a different select or menu is open. Only the focus state is applied.
💥 Steps to reproduce

Go to https://stackblitz.com/edit/github-gdgttl-xqdew4?file=src/App.vue
Click on Select 1
Click on Select 2
Select 2 is not open

CodeSandbox reproduction:  https://stackblitz.com/edit/github-gdgttl-xqdew4?file=src/App.vue
🧐 Expected behavior

Click on Select 1
Click on Select 2
Select 2 menu or select is open

🧭 Possible Solution
Updating the  element in Select component to a div fixes the issue as a workaround for now.
🌍 System information

Software
Version(s)

Zag Version (vue)
^0.2.10

@zag-js/select
^0.1.14

Browser
Chrome Version 110.0.5481.177 (Official Build) (arm64)

Operating System
MacOs

Had a quick look into this. This is happening because we always restore focus to the trigger when the menu/select closes, we need to be smart about this when to "close and restore focus", and when to "close only"

For the select component, we intend to make it modal by default, so this behavior is fine.

I would have expected that the zag/select behaves the same as a native select meaning you can click on the trigger and the content appears straight away without having to click again. I think the double click is really counter-intuitive.

For the select component, we intend to make it modal by default, so this behavior is fine.

Thanks for the quick response! While I understand that the select component is intended to be modal by default, I was hoping that the select component would behave like a native select, where clicking on the trigger immediately shows the content without requiring a second click. I believe this would make the user experience more intuitive and less confusing, especially when coming from libraries like headless ui.

I added some more diagnostic with an onOpen() and onClose() callback which logs those events. It appears that the second select opens but closes straight away with the same mouse click: https://stackblitz.com/edit/github-gdgttl-asfao4?file=src/components/Select.vue

I understand your point, @timmaier, and it's valid.
This issue must be related to the focus event coordination. Will look into it pretty soon.

I just pushed a fix for this. We'll release an update shortly.
If the issue persists after upgrading, I'll re-open it.


Fix RenderContext Javadoc

The begin() method states that it assumes default OpenGL states, but actually it enforces them, regardless of what the state was before calling begin().

"OpenGL state" is very vague, as its a huge state machine. The state is everything you can glEnable/Disable, bound textures, and lots more. It looks like this assumes the default OpenGL state, makes changes, then restores the state to the defaults. SpriteBatch does something similar.

Yeah, I assumed it's talking about the specific states that it manages. A literal reading of the doc would make me think that it's up to me to ensure the affected states are set to defaults before I use this, but that's not the case.
Actually, it theoretically should be unnecessary to reset those parameters, since no LibGDX rendering class modifies these particular states without restoring them in end(). All the 2D batches assume as much.

Added very explicit clarification. Should be useful when determining which parameters need to be changed when customizing in the 3D API. @xoppa

Let's remove the entire sentence.

Thanks!


Upgrade to cass-operator v1.13.1

What this PR does:
Updates to cass-operator v1.13.1
Which issue(s) this PR fixes:
Fixes #746
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[x] CHANGELOG.md updated (not required for documentation PRs)
[x] CLA Signed:  DataStax CLA

Codecov Report

Merging #764 (caacad7) into main (78485c2) will decrease coverage by 0.08%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##             main     #764      +/-   ##
==========================================
- Coverage   54.90%   54.81%   -0.09%
==========================================
  Files          87       87
  Lines        8664     8674      +10
==========================================
- Hits         4757     4755       -2
- Misses       3442     3451       +9
- Partials      465      468       +3

Impacted Files
Coverage Δ

pkg/cassandra/auth.go
12.08% <28.57%> (-0.26%)
:arrow_down:

controllers/k8ssandra/reaper.go
60.36% <0.00%> (-1.83%)
:arrow_down:

controllers/k8ssandra/schemas.go
74.29% <0.00%> (-1.41%)
:arrow_down:

controllers/replication/secret_controller.go
65.43% <0.00%> (+1.00%)
:arrow_up:

The errors seem to have nothing to do with this PR, they're Stargate's internal failures.


How to use xformers?

I would like to know how to integrate xformers attention to reduce vram usage?

Use this PR: https://github.com/PanQiWei/AutoGPTQ/pull/227
none of the methods really lower vram usage much for me. I tried flash, FA2, sdp, xformers, etc.


Some box props are rendered into DOM attributes

The following snippet renders not only CSS but also passes on some of the props into the HTML DOM without change:
      <Box color='white' bg='secondary' p={3} height={40}>
        Hello
      </Box>

results in

Hello

Demo:
https://codesandbox.io/s/rebassstyled-components-example-91o7r
Might be related to using rebass/styled-components.

See https://styled-system.com/guides/removing-props-from-html

Also, you can use the Emotion version to avoid this issue

Ouch. That seems like a very long ongoing issue with styled-component. Thanks for the quick response anyway.


Addition of cost optimization to Advanced section.

Towards #15369. In anticipation of a blog post based on the webinar on this subject. This way we can link back to docs and keep the reader on our doamin.
Please remember to

[x] Give the PR a meaningful title -- it will be shown in the release notes
[x] Add (or remove) user questions associated with any updated docs

I also did some girl scouting and restructured the order of the topics on the advanced page. My hope is to have the user get things in order of importance and from generic to specific.

Bare URLs are not very readable. I would prefer a list format of the form
- [name of the tool](url): description

WDYT?

I added some format and other tools

I'll fix the formatting here

Sorry for the big commit. I had to rename the folder.

I approved already


Update perturbIC.py

This is a draft of a pull request to keep track of comments and questions I will have during refactoring and testing. Nothing yet but I am creating my unit tests.

I can't work out why I specified it this way. In any case RandomState is no longer the recommended generator and the more up to date way of doing it would be
from numpy.random import Generator, PCG64
rg = Generator(PCG64(seed))
.. .rg.random(...)

This will give different results to the current implementation but will be stable in the future. PCG64 is currently the default bit generator but that could change so it's used explicitly here.

Fixes Issue #8 #4 #6

Fixes Issue #8 #4 #6

I think this would not work. You will have to write the issues in separate lines, e.g.:
Fixes #8
Fixes #4
Fixes #6


Update sbt-scoverage to 2.0.7

Updates org.scoverage:sbt-scoverage from 2.0.5 to 2.0.7.
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!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-scoverage" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report
Base: 89.60% // Head: 89.53% // Decreases project coverage by -0.07% :warning:

Coverage data is based on head (bb77767) compared to base (3cefba6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1103      +/-   ##
===========================================
- Coverage    89.60%   89.53%   -0.07%
===========================================
  Files          119      124       +5
  Lines        10016    10057      +41
  Branches       695      750      +55
===========================================
+ Hits          8975     9005      +30
- Misses        1041     1052      +11

Impacted Files
Coverage Δ

...in/scala/com/twitter/algebird/scalacheck/Gen.scala
91.66% <0.00%> (-8.34%)
:arrow_down:

.../main/scala/com/twitter/algebird/Applicative.scala
53.33% <0.00%> (-3.34%)
:arrow_down:

...src/main/scala/com/twitter/algebird/Interval.scala
75.39% <0.00%> (-0.80%)
:arrow_down:

.../scala/com/twitter/algebird/immutable/BitSet.scala
96.43% <0.00%> (-0.63%)
:arrow_down:

.../main/scala/com/twitter/algebird/HyperLogLog.scala
89.91% <0.00%> (-0.38%)
:arrow_down:

...c/main/scala/com/twitter/algebird/Eventually.scala
100.00% <0.00%> (ø)

....12-/com/twitter/algebird/macros/MacroCompat.scala
60.00% <0.00%> (ø)

...-2.12-/com/twitter/algebird/immutable/compat.scala
80.00% <0.00%> (ø)

...main/scala-2.12-/com/twitter/algebird/compat.scala
66.66% <0.00%> (ø)

.../scala/com/twitter/algebird/MetricProperties.scala
100.00% <0.00%> (ø)

... and 4 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Refine trigger for github action

Description
The pull-nats-module-build job is not triggered if docs, README or the License file is changed.
The two e2e github actions run for every change on main, but wait for the pull-nats-module-build job. Thus, they fail on PRs where f.ex. only the README file was changed, because the action is waiting for a job that wasn't even triggered.
Changes proposed in this pull request:
Do not trigger the github action for changes to:

any .md file
the LICENSE file
any file in the docs repository
any file in the .github repository

Closing this for now. prow job pull-nats-module-build should be triggered for all changes and thus github action should also trigger always


Updated proxy-vole to use a newer fork.

Originally, in the hope to solve some license problem with Eclipse Xtend Runtime Library 2.8.3 in its dependencies. The Fossa verification error however could be resolved by explicitly entering the multilicense of proxy-vole (MIT|Apache 2.0|GLPv3). An update to a newer versions may still be a good idea.

I will lift the changes to the current code and include them into another PR.


(PUP-11369) Add support for the system parameter to the pw provider

While pw(8) says:
In general, user and group ids less than 100 are reserved for use by
the system, and numbers greater than 32000 may also be reserved for
special purposes (used by some system daemons).

the ports manage UIDs / GIDs in the 1-999 range:
https://cgit.freebsd.org/ports/tree/UIDs

So for consistency with other OSs, limit system users to the 100-999
range.

Can one of the admins verify this patch?

@smortex , the PR is marked as Draft, is it anything else you want to add?

@ciprianbadescu this unfortunately is not working that way (I read the man page too fast).  I have to rethink all this which will need quite some time :-/
If having this open is an annoyance feel free to close this PR, otherwise we can leave this open so that I see it from time to time and can take the time to work on it when time permits.

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

@smortex based on the last few comments, should we close this?

@smortex based on the last few comments, should we close this?

Yup, there is no easy solution for this issue and in the end, this is a combination of FreeBSD-specific behavior and site-specific choices, so I feel like I should handle this the right way in my control-repo.


Update dependencies with ncu

Codecov Report

Merging #37 (a9fdfaf) into master (55c2614) will decrease coverage by 52.94%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##            master      #37       +/-   ##
============================================
- Coverage   100.00%   47.05%   -52.95%
============================================
  Files            2        2
  Lines           52       51        -1
  Branches         1        1
============================================
- Hits            52       24       -28
- Misses           0       27       +27

Flag
Coverage Δ

e2e
?

unittests
47.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/components/Lumino.vue
34.37% <0.00%> (-65.63%)
:arrow_down:

src/components/lumino-widget.js
68.42% <0.00%> (-31.58%)
:arrow_down:

Continue to review full report at Codecov.

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


DSD-813: Fixing mobile styling for the StructuredContent

Fixes JIRA ticket DSD-813
This PR does the following:

Fixes mobile styling for images inside the StructuredContent component.

How has this been tested?
Storybook
Accessibility concerns or updates

N/A

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr882-bixbqhyymyjbz7dxgxgasxnqokh1z2j7.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/621fca9c1889d6999268bfbc

Tugboat has finished building the preview for this pull request!
Link:

https://pr882-bixbqhyymyjbz7dxgxgasxnqokh1z2j7.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/621fca9c1889d6999268bfbc


Not showing

Hello,
I just installed this on the ast PHPStorm version, but i can't( find the crypto currencies tab. Is the plugin still working? Where can i find it in PHPStorm? Thanks

This plugin is developed for intellij IDEA, I've never used PHPStorm, so I have no idea if same plugin works directly on another jetbrains product.


Consider special casing fn("string") as unexpandable

I see quite a few cases like this where we build an error message using a function call with 1 string argument. The message is a little too long, causing the formatter to try to find the best fit, which means expanding the function call over multiple lines (even if it still doesn't necessarily fit, it takes up less width). I wonder if we should add a special case for "function calls with 1 string argument" that creates an IR without soft line breaks in it (but still respecting a magic line break) to try to smartly not expand here

This feels a bit too specific to me. We could consider it for all functions of 1 argument but even with this generality I find this complicates the rules.

I don't really mind the expanded form I just noticed a lot of diff noise from it. But I'm totally happy to keep simpler rules here


Can't get docker container to use external drive

I have a 3.6 tb drive mounted on /mnt/sdb/
The server root is /, a 50% filled 502gb SSD
Following command to start the docker:
docker run -h timemachine --name timemachine --restart=unless-stopped -d -v /mnt/sdb/timemachine/ -it -p 548:548 -p 636:636 --ulimit nofile=65536:65536 odarriba/timemachine
Following command to add the user:
docker exec timemachine add-account kwj <PASSWORD> rcvol /mnt/sdb/timemachine/backup
The root disk keeps showing up in time machine instead of the external volume, see picture.
Any ideas what I am doing wrong?

Your -v flag is missing the mount path in the container. This should work:
docker run -h timemachine --name timemachine --restart=unless-stopped -d -v /mnt/sdb/timemachine/:/tm -it -p 548:548 -p 636:636 --ulimit nofile=65536:65536 odarriba/timemachine
docker exec timemachine add-account kwj <PASSWORD> rcvol /tm/backup

Your -v flag is missing the mount path in the container. This should work:
docker run -h timemachine --name timemachine --restart=unless-stopped -d -v /mnt/sdb/timemachine/:/tm -it -p 548:548 -p 636:636 --ulimit nofile=65536:65536 odarriba/timemachine
docker exec timemachine add-account kwj <PASSWORD> rcvol /tm/backup

Also make sure you have proper permission for the external drive. I was running into this problem with Ubuntu.

Any updates on this? Did @ferdinand or @JonathanPaulick comments help?

Yes, it does appear to be working now. I think I followed @ferdinand's advice. Thanks to everyone.


Visual highlight on sheet item hover does not match clickable region

Originally in GitLab by @TheGiddyLimit
See below:

(Although masked by the yellow blob from my recorder, ) the item name gains a highlight on hover, and the icon on the left turns to the "rollable" dice, despite the mouse not yet hovering over the clickable region. The clickable region should be expanded to match the height of the item row, to avoid the feeling of a "stuck" item where clicks appear to have no effect.

With some help I was able to reproduce this so I've implemented a proper fix.


Tabs component's tablist does not need to be in a nav

It is not necessary to have the tabs of a Tabs component inside of a <nav role="navigation" ...>.
I could not find another "Tabs/Tabfolder" component that wraps its tablist in a nav, so it is uncommon, and users would not expect it.
It results in extra verbosity when entering the Tabs component using a screen reader.
If there is another <nav> on the page (most pages have at least one), then the Tabs nav would need to have an app-specific aria-label (i.e. another prop) in order to tell the navs apart.
The tab items behave more like buttons (and are often implemented with buttons) than links, and so don't really belong in a nav.
I think it would be cleaner to just delete the wrapper nav.

Dear stalebot,
A "couple of weeks" is a bit too short a time frame to declare an issue stale.
Please remove the wontfix label.
Thank-you.


Run TensorFlow Node JS

How do I run the converted model with the js tensorflow for node?
Any example to receive only boxes and scores?

You can use the javascript sdk: https://github.com/cloud-annotations/javascript-sdk
Just make sure you install @cloud-annotations/models-node not @cloud-annotations/models

You can use the javascript sdk: https://github.com/cloud-annotations/javascript-sdk
Just make sure you install @cloud-annotations/models-node not @cloud-annotations/models

`const models = require('@cloud-annotations/models-node')
const fs = require('fs');
async function detect() {
const imageFile = fs.readFileSync('image.jpg')
models.load('file://model_web').then(async (model) => {
const predictions = await model.detect(imageFile);
console.log(predictions);
})
}`
I get this error when trying to run the above code:
internal/modules/cjs/loader.js:1122
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.

`const models = require('@cloud-annotations/models-node')
const fs = require('fs');
async function detect() {
const imageFile = fs.readFileSync('image.jpg')
models.load('file://model_web').then(async (model) => {
const predictions = await model.detect(imageFile);
console.log(predictions);
})
}`
I get this error when trying to run the above code:
internal/modules/cjs/loader.js:1122
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.

maybe try npm rebuild @cloud-annotations/models-node --build-from-source

maybe try npm rebuild @cloud-annotations/models-node --build-from-source

the same error continues, I tested the same code in the codesandbox and it worked perfectly. 😅

the same error continues, I tested the same code in the codesandbox and it worked perfectly. 😅

oh what is file://model_web try without file://

oh what is file://model_web try without file://

disregard file:// even removed does not work!

disregard file:// even removed does not work!

Error: The specified module could not be found<EMAIL_ADDRESS>Solution: move<EMAIL_ADDRESS>to D:\ProjectPath\node_modules\@tensorflow\tfjs-node\lib\napi-v6\

Error: The specified module could not be found<EMAIL_ADDRESS>Solution: move<EMAIL_ADDRESS>to D:\ProjectPath\node_modules\@tensorflow\tfjs-node\lib\napi-v6\

@johnwalicki is this the issue that you were having as well?

@johnwalicki is this the issue that you were having as well?


TapGestureRecognizer doesn't work when added to CarouselViewControl (Android)

I'm trying to handle Click event on carousel.
I've added GR so I can handle tap event. It works for iOS but doesn't on Android.
Would be great to have ItemSelectedCommand or at least to fix the issue with Gesture Recognizer.

Fix on next release.

If i add this to the ContentView, it works:
var tapGesture = new TapGestureRecognizer((obj) => Debug.WriteLine("Second View tapped"));
GestureRecognizers.Add(tapGesture);

Anyway, i will add the ItemTapped event callback in next release.

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/
This is what i have done that is community visible:

Alex has been pretty active sharing his knowledge and answering questions in StackOverflow, GitHub and Xamarin Forums.
Alex has been open sourcing Xamarin components and plugin with the community, with more of 10 repositories being maintained on GitHub.
One of Alex's Xamarin.Forms plugin, the CarouselView, is currently being pulled into the Xamarin.Forms core (https://github.com/xamarin/Xamarin.Forms/pull/853). As an stable widget, this control has become the standard for Xamarin.Forms carousel screens with more that 16K downloads in NuGet and more than 100 solved and not open issues.
Another Alex's plugin, the SegmentedControl (https://github.com/alexrainman/SegmentedControl), is a big candidate to be also pulled into Xamarin.Forms core.
Plus Xamarin.Forms UI related plugins, Alex shares plugins to set app icon Badge, Google Analytics and KeyChain access.
Alex shares his knowledge about cutting edge technologies like Couchbase NoSQL and MobileIron integration with Xamarin Apps.

I'm facing the same and even if the tapgesturerecognizer is on its parent, the tap event is not fired.
On iOS works well.


Partial fixes for errors and warnings reported by ./gradlew lint

Description (required)
Fixes #5834
What changes did you make and why?
I have made the following changes as suggested by gradle lint.

Langauge localisation fixes:
Added need missing quantity tags for plurals for all languages using preexisting translations in the file. Removed not needed
quantity tags. Changes . . . to ... and ignored ImpliedQuantity warning for lines that are correct and didn't use %1$d. Fixes
typos and some spelling errors.

Fixes for warning with getColumnIndex() returning -1:
Added ignore tag as returning -1 is expected behaviour to indicate there is no index.

Fixes for android:tint, margin, redundant and invalid layout lines in XML files:
Changes android:tint to app:tint, change marginLeft and Right to start and end to better support language layouts on
different sides. Removed instances of the same layout using Left and Start and or Right and End as they do the same thing.
Added focusable attribute to clickable attribute so they are accessible via keyboard. Removed redundant lines are they have
no effect on the code and layout

Changed getView(), getActivity() and argument!!:
Changed the above to requireViews(), requireActivity() and requireArgument() as suggested by lint since they are throw
exception on null.

Added Locale.ROOT to toUppercase() and toLowerCase:
Adding Localte.ROOT ensures that strings visible only to the code are always same as project and won't change due to
device language locale changes.

Miscellaneous fixes:
Removed lint highlighted unneeded cast, unneeded safe assertions, unreachable code and code that always returns false to
improve code quality.

Tests performed (required)
Tested on BetaDebug and ProdDebug with Pixel 9 and API 34.
Screenshots (for UI changes only)

lint-results-betaDebug.txt
Here is the lint report attached :)


Update openstack-ansible SHA

Update the OSA SHA to that used by r12.1.rc3 which is the latest rc tag
of the next minor release.

recheck_ceph

👍 based on conversations with @git-harry, it makes sense to bump the OSA sha in the 12.0 branch only up to where 12.1 is currently pointing, else the 12.0 branch could get ahead of the 12.1 branch whilst 12.1 is still in rc phase.

This seems reasonable to me as well.


Make the list of vendor paths configurable

I guess the title explains it all. It allow to mark some part of the application as "framework", that shouldn't be used for grouping, nor title.
@loopj @snmaynard what do you think?

I think this is a sensible addition to the library and its a good call to make it backwards compat!
:+1:

Thanks @byroot!

Actually I think I should have included a doc update...

Thats fine - I was going to throw something in there in a bit myself!


Mandarin Dataset

Nice work! Do you have any plans to release the mandarin dataset?

Due to copyright issues, we are unable to open source the dataset for the time being. Sorry.


Allen/export2

export QBO and CSV from wallet drop down menu using the share menu

QB file was not importing correctly


I changed the extension of .xlsx to .pdf and then it is showing mime type as application/pdf. It is fivind type based on extension not content type

If you have an issue with a specific extension or type
Locate the definition for your extension/type in the db.json file in the mime-db project.  Does it look right?

[ ] No. File a mime-db issue.
[ ] Yes: Go ahead and submit your issue/PR here and I'll look into it.

Working as intended.  This library does maps file names/extensions to mime types, does not inspect file contents.


DRAFT: Documentation on how to generate an iFrame

Draft
This is a draft issue, and it will need to clarify specs and formalize what
counts as "done" before work begins on it.
Check with the issue's creator before starting work on this issue.
Overview
Part of #317
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional Context
Optional. Add any other context, screenshots, gifs, etc about the feature request here.

Completed as part of embedded map work.


view logs in the backround of the desktop

Hello,
Could you add these features in one of the next versions of contour?

borderless window, no window decorations
start at a specific screen position
no information in the taskbar
window visible on all virtual workspaces

I would like to use it to see some logs in the background of my desktop. It would be nice if I could use it in the profile section of the configuration file.
Many thanks.

Hello,

* borderless window, no window decorations

Already exists, check in contour.yml file profiles.main.show_title_bar

* start at a specific screen position

You mean at X and Y coordinates of a screen?

* no information in the taskbar

Will need bit more info here

* window visible on all virtual workspaces

Which DE is in question? What's the current behavior?

I would like to use it to see some logs in the background of my desktop. It would be nice if I could use it in the profile section of the configuration file.
This one is interesting

* borderless window, no window decorations

Already exists, check in contour.yml file profiles.main.show_title_bar

Oh yes, you are right. I thought title bar means ONLY the title bar. Sorry.

* start at a specific screen position

You mean at X and Y coordinates of a screen?

Yes. Actually the window starts every time in the middle of the screen. I would like to say it should open the window on this coordinates.

* no information in the taskbar

Will need bit more info here

I use XFCE 4.16 as desktop manager. Each window gets its own icon and name in the taskbar to easily switch between the windows. In XFCE it is named as "Window Button" I believe.
Because I would like to have a terminal in the background it should not be visible in the taskbar and may be not in the "Alt+Tab"-menu.

* window visible on all virtual workspaces

Which DE is in question? What's the current behavior?

I am using XFCE 4.16 and any new window opens on the currently active virtual desktop. When I switch to the other virtual desktop, the window is not there until I tell the window manager to move it to the other or show it on all.

I would like to use it to see some logs in the background of my desktop. It would be nice if I could use it in the profile section of the configuration file.
This one is interesting

Thanks :)
I have tried this with many Terminals, but the only that came very close to my wishes was rxvt-unicode. That's a very old terminal and it has some disadvantages...
Because I like contour, because of the many functions, I would like to see my wishes fulfilled with it. :)

I use XFCE 4.16 as desktop manager. Each window gets its own icon and name in the taskbar to easily switch between the windows. In XFCE it is named as "Window Button" I believe. Because I would like to have a terminal in the background it should not be visible in the taskbar and may be not in the "Alt+Tab"-menu.

Is there any existing terminal that does this? If I understood this correctly, you want terminal that is in background to not appear anywhere? Is this XFCE specific thing?

I am using XFCE 4.16 and any new window opens on the currently active virtual desktop. When I switch to the other virtual desktop, the window is not there until I tell the window manager to move it to the other or show it on all.

Again is there any existing terminal that does this? Would be nice to see how they do it. Is this XFCE specific thing?

@uspasojevic96

Is this XFCE specific thing?

KDE KWin also has a "Move to Desktop > All Desktops" option.

As a side note, around 15 years ago, I used a tool called conky which showed a lot of things overlayed on your background. It could emit the output of any command whatsoever, so tail -n 50 /var/log/syslog worked.

I use XFCE 4.16 as desktop manager. Each window gets its own icon and name in the taskbar to easily switch between the windows. In XFCE it is named as "Window Button" I believe. Because I would like to have a terminal in the background it should not be visible in the taskbar and may be not in the "Alt+Tab"-menu.
Is there any existing terminal that does this? If I understood this correctly, you want terminal that is in background to not appear anywhere? Is this XFCE specific thing?

I'm unsure. In the very old days I used Gnome 2 and Eterm (enlightenment V16 Terminal ) in this way. I'm unsure which of the two was responsible for this feature.
Today I know no terminal who could do the job.
Only "root-tail -g 800x500+3000+1600 -reverse -update -partial -wordwrap -outline -id $(xwininfo -name 'Schreibtisch' -int | awk '{if ($1=="xwininfo:") print $4}') /var/log/messages,red" creates no icons and text in the taskbar. But the tool has graphics problem on my system...

I am using XFCE 4.16 and any new window opens on the currently active virtual desktop. When I switch to the other virtual desktop, the window is not there until I tell the window manager to move it to the other or show it on all.
Again is there any existing terminal that does this? Would be nice to see how they do it. Is this XFCE specific thing?

After thinking about it for a long time, I think this will be a feature of the desktop environment.
I doesn't know a program that do this at all.

@uspasojevic96
As a side note, around 15 years ago, I used a tool called conky which showed a lot of things overlayed on your background. It could emit the output of any command whatsoever, so tail -n 50 /var/log/syslog worked.

I know conky, but it consumes a lot of CPU resources on my desktop. So I have not used it for a while.

Looked into root-tail from what I have seen it's directly working with X11 and drawing, that could be why it doesn't have any task info, will look into it more
http://cvs.schmorp.de/root-tail/root-tail.c?view=markup

I tried root-tail, but I get graphics problem with it.
The output is not readable after a while.
And it has problems with the focus. You click on the desktop and the root-tail isn't seen for a while.


DRILL-5114: Rationalize use of Logback logging in unit tests

Cleans up the Drill test Logback config files to reduce unnecessary
logging in tests and avoid Logback complaints about missing or
duplicate log config files.
Does not affect production logging.

Will fix later.


community[minor]: accept num_predict option as a param

Fixes #3925

@bracesproul Thanks for the test and a super quick merge. What's the timeline for the next release with this fix? How often is the release?

@ashokgelal typically once every 1-5 days. Really depends on how many things are in the queue to be released. The last release was 3 days ago so you should expect a release within a couple days I'd say.

@bracesproul Sorry for bring this up - I see the latest version being released but installing the latest version doesn't seem to be using the latest code. One interesting thing I've noticed that on npm the download stats for anything higher 0.0.214 is all 0. Some bug with release process? https://www.npmjs.com/package/langchain/v/0.1.2?activeTab=versions

@bracesproul Sorry for bring this up - I see the latest version being released but installing the latest version doesn't seem to be using the latest code. One interesting thing I've noticed that on npm the download stats for anything higher 0.0.214 is all 0. Some bug with release process? https://www.npmjs.com/package/langchain/v/0.1.2?activeTab=versions

These code changes are inside the @langchain/community package, so you should be installing that to access it instead of through langchain. Going through the langchain package will be deprecated in 0.2. Also, I just installed langchain and @langchain/community on a fresh project and was able to find the most recent version with your changes.

Ok, that fixed it. Thanks.


Develop functional tests for alt_allele_prob_file and est_alt_allele_prob with multiple metafounders

#150
Since the main code is not updated, the test will fail.
There is some redundant/repetitive code in test_alt_allele_prob,  it will be re-organized once the main code is done.

@XingerTang I looked at these additions, but I am struggling a bit how the different input files come together what should happen and what should be the correct result and hence assert test.
Can we meet at some point and discuss how to make these tests a bit more readable - maybe you just need to teach me what to look for;)

@gregorgorjanc Sure :)

Looks good so merging this in.


How and from where to upload the PDf

I'm unable to find the pdf file upload button. please guide.

Sorry, the web interface for uploading files is not implemented. It is more convenient for me to add files to server manually via FTP / hosting web interface to appropriate directory. The default location is
DOCUMENT_ROOT/pdf/vol/issue/vol.issue.page.pdf
If you need to alter it, edit the pdf url function in archive.php


Fix test ItemsRepeater VerifyAnchor

Description

It seems (at least on my machine using MaxTestedVersion) that in Debug we need to choose a different anchor than in release.
Motivation and Context

Closes #1726
How Has This Been Tested?

Ran test in debug and release.
Screenshots (if appropriate):

/azp run