fsspec support

🚀 Feature

Add a new loader similar to the iopath loader that uses fsspec.
https://github.com/pytorch/data/blob/main/torchdata/datapipes/iter/load/iopath.py
https://filesystem-spec.readthedocs.io/en/latest/
Motivation

It would be nice to have fsspec in addition to iopath for loading data from general data sources. A lot of projects already use it and support it which makes it a good to add to torchdata as well for uniform support.
PyTorch Lighting, Tensorboard and TorchX have support for fsspec already. It's quite easy to add support for a new storage provider and has many commons ones available already. Internally there's a Manifold provider which is used with many PyTorch/STL projects.
Alternatives

For common storage providers such as s3 there's generally already support for that in most projects though for custom / less used storage providers a user would have to implement support for each different system. iopath does provide a similar abstraction but it seems like fsspec generally has more OSS adoption so would be nice to have a unified interface across pytorch projects
Additional context

Wow. iopath is used a lot by research group, IIRC. If more STL project is using fsspec, it makes sense to provide such modular datapipe using fsspec.
I don't know Manifold is supported by fsspec internally.


Return of regularization parameter requested

Sensitivity analysis may benefit from keeping the regularization parameter constant, but fitregmodel does not return it. One may also want to publish this value in some cases.
Can we have: [P,alpha] = fitregmodel(S,K,r,RegType,alpha,varargin) ?

It is true that the optimized regularization parameter value should be returned. This is now fixed.

Fixing the regularization parameter for the sensitivan function did indeed provide a boost in speed. However, this is no longer needed due to the speed boosts achieved recently (see #15).

Issue closed


fix: make linter work with individual files

Description:
We were trying to mount a file as a Volume which wasn't working. This should fix it.
Is this change user facing?
YES
Closes #1377

https://github.com/kurtosis-tech/kurtosis/assets/6670312/c7ace83a-849f-44cf-9bb9-0460473baad7


FR: add a switch to auto image converter

Hi, I have a some problem when I sync my note. The image converter plugin always auto image attachments files. It will mix the sync file like png and jpg files.
So could you add a function that it can switch to auto image converter.

Fixed with 1.1.5

Hi, I can't find it solved the FR on 1.1.5. I hope it can add a function can choose and decide the auto rename. On the plugin, I just only switch on or off the auto rename. I mean I need auto rename and want it can be control. For example, I paste a image and I can choose the auto rename on or off. And may be I can change it by some regular rename way.

But I really appreciate it can fix Image Renaming: Fixed an issue where images were being renamed during sync or git pull.

For example if we have image.jpg

To convert it into another format (e.g. WEBP), without compression, without any renaming: image.jpg -> image.webp

Settings -> Select format to convert images to: WEBP -> Quality: 100 -> Auto rename: OFF
The resulting file will be:  image.webp {converted and compressed with original name}

If you want to have original obsidian naming structure for pasted file image.jpg to be renamed as Pasted image<PHONE_NUMBER>0229.png

Simply disable the plugin.

If you want to keep original image name, and be able to compress it/resize it without converting the format: image.jpg -> image.jpg

Settings -> Select format to convert images to: Same as original -> Quality: Yourdesiredcompressionvalue -> Auto rename: OFF.
The resulting file will be:  image.jpg {compressed with original name}

... I paste a image and I can choose the auto rename on or off.

If you want different option for each dropped/pasted image, then you would need to go through the settings every single time.

I greatly appreciate your patient response, which has helped me better understand how this plugin works. However, I would like to explain to you the desired outcome I have in mind, as I believe it can help avoid using different settings for various needs. I hope that when an image is pasted, a window can pop up for people to make a choice, as people's requirements are not always the same. If this can be achieved, I would both know that I need to perform an operation on the image to avoid accidental actions and have the option to choose how to handle the image differently. What do you think?

Sure, if there will be interest, I will look into it. Although could you please raise a new issue for it, so i could track it please.


Add MIT license

Fixes #4

Thank you. :) I'll have it updated on npm hopefully by tomorrow. As it's only a plain text file change -- it will be fine till then.

np. thank you! now i can use this :+1:

You're welcome. Your contribution has been taken as advice. From now on I will be adding the license to libraries I put on github just to make sure.

Yeah technically the MIT license needs to be packaged with all zips so that it's never a question from our legal team. I can point them to the NPM website but; they prefer it to be there.

Yes I can understand how it makes it easier to have it in there. Especially for complex proprietary projects that consume the library.


Keep output hidden

This is more of a question. Is there a way to keep the output panel hidden when checking the file for errors. I mind popping it open when building, but when it just runs cargo check automatically on saving I'd rather have it keep the output panel hidden.
Error / Warning count in the lower left + underline squiggles are all I need.
Maybe this is already available and I just did not find it, please excuse me if this is the case.

I strongly agree with this, the output window is useful if you're compiling in the IDE, but when you're saving files it gets a little tedious to keep closing the window. I personally disable the whole output window in a local branch as I compile outside of the IDE and have no need for it.

I generally agree with this, but there is one related issue that I would like opinions about.
As an example, when running the check command, if there is more than one possible bin, cargo will fail and say that we should specify the appropriate bin . In such cases the error check will not produce any results, as the compilation won't even start.
Obviously we should add an option to specify the bin that should be used for cargo invocations, but I believe it would also be good to show some message to the user in case the cargo check didn't finish properly. If we disable the output panel, there may be other cases besides this one, where the check won't produce any outputs, the output panel won't open, and the user will have no idea why the error highlighting is not working at all.

@Draivin can you show the output of what happens? I've never seen that error before.

@Draivin In my humble opinion when cargo check fails because it has not been state which binary (or library) to build, the resulting error should not be put in the output window, but a message in the top of vscode should appear informing the user that something about his current setup is not right.

@trixnz

@W4RH4WK I agree with you, and this is the general direction we go when dealing with Rusty Code messages. I brought this case up in case someone decided to make a pull request removing the output window without regards to a possible failure.

Ah right, i'm not sure how we would add support for that. Obviously putting it into the workspace preferences would be kinda janky. Maybe we can add a command to set the active bin? That would require being able to list off the possible targets though; not sure if cargo supports that.

Actually, it looks like we could use cargo read-manifest to list off the targets and provide some kind of window for selecting the one you'd like to target. Although, VSCode doesn't seem to provide a clean way of doing that, AFAIK.

@trixnz For now the lib option might suffice, it is not ideal but after all this is more a problem with cargo check than with an editor / IDE extension. It may be resolved in the future, see rsolomo/cargo-check#4 and its crossreferences.

@trixnz If you are interested in implementing this, it seems vscode.window.showQuickPick works alright:

If you are not interested, I probably will look into it soon(™).

I had no idea that even existed, shame on me! I probably won't get time until the weekend, so if I don't see a PR by then I might jump on it 😄

Somewhat related to this - I think it would be nice, if possible, to have an option to show the error list instead of compiler output (and have both output and error list hidden on successful builds) on errors, which I foolishly didn't realise existed until today:
http://i.imgur.com/AlAIGZx.png
It's obviously far cleaner and nicer to read through than the raw compiler output, I apologise if this is a setting already or something that's not possible to do with an extension but I can't find anything for this (not even for other languages or global editor stuff)

if an error exists: show error panel
else:

if this is a check that was triggered via save (rust.checkOnSave): show nothing
else: show the output panel

@smt923 @flying-sheep I don't think it's possible to show (not toggle) error panel with current version of VS Code extension API: Microsoft/vscode#11399

@mitskevich That's what I ran into, otherwise I would have added the option.


Fix - Quote columns in unpivot

This is a:

[ ] documentation update
[x] bug fix with no breaking changes
[ ] new functionality
[ ] a breaking change

Description & motivation
Closes #216
When unpivoting column names that require quotations (dates, strings with spaces, etc) unpivot.sql doesn't respect quote_columns=true or anything like that.
I wanted to open this to get input on best methodology before adding tests:

Should this be a new argument?
Should this respect the quote_columns config instead?
Other?

Checklist

[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake

[x] I followed guidelines to ensure that my changes will work on "non-core" adapters by:

[x] dispatching any new macro(s) so non-core adapters can also use them (e.g. the star() source)
[x] using the limit_zero() macro in place of the literal string: limit 0
[x] using dbt_utils.type_* macros instead of explicit datatypes (e.g. dbt_utils.type_timestamp() instead of TIMESTAMP

[x] I have updated the README.md (if applicable)
[x] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

Thanks for taking this on @GtheSheep!

I wanted to open this to get input on best methodology before adding tests:

Should this be a new argument?

Yes I think it should!

Should this respect the quote_columns config instead?

I don't think so - normally for dbt utils, we aren't trying to be clever and inspect the state of yaml files. I personally consider it a bit of an antipattern to hide configuration behaviour for macros inside of yaml, because it means you have to check two places to understand how it's going to work. (If there was a global quote_columns config ever added to dbt_project.yml, I'd probably change my tune).
Does that get you unstuck? Sorry for the delay in getting back to you 🐌

Hey @joellabes thanks for this, super helpful!
yeah I was thinking there was a global config for quote_columns but it seems to just be for seeds, my bad! But yep, this unblocks me, will keep it as close as possible to how this works for pivot.sql and get on with adding a test for this.
Thanks 😸

@GtheSheep Heads up that we've just done some surgery on the unpivot macro (most notably #671). Will be putting out a first beta of dbt utils 1.0 in the immediate future, which you'll probably want to pull into this branch. Would love to get these changes into 1.0 as well if possible, so that we can keep all the behavioural changes to a single release. Doesn't matter as much for this one because it's backwards compatible.

@GtheSheep & @joellabes -
I'm very excited to see this PR in progress!
Is there a known workaround I can use while the PR process continues?


How to calculate 45 degree standing position of body from camera in swift (Pose estimation)

Click to expand!
Issue Type
Feature Request
Source
source
Tensorflow Version
pod 'TensorFlowLiteSwift', '~> 0.0.1-nightly', :subspecs => ['CoreML', 'Metal']
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
How to calculate 45 degree standing position of body from camera in swift.

Standalone code to reproduce the issue
How to calculate 45 degree standing position of body from camera in swift using the body keypoints. (Pose estimation)

Relevant log output
No response

Hi @IBSApple ! It is a duplicate feature request to issue #56265 . Could you comment there. Thank you!


Open sourcing code

This looks like an interesting approach and I see that it's linked to in MS Docs.
Is there a particular reason why the source code is not open sourced? I see that the templates are available on the storage account, but the most important components for the functions are the DLLs, which are only available in compiled format.

We are currently working through the review required by Microsoft for all open source item, once the review is complete it will allow us to share all source code for the project. In addition to Microsoft Docs, our product will be listed in Azure Marketplace for those that want to just deploy start/stop v2 to their subscription. We will however maintain version parity between changes made on github and Azure Marketplace.

Thanks @parojasmsft - looking forward to it!

Could you please provide an update on the availability of the source code?

@skmkzyk Thank you for your inquiry. Our business priorities have shifted, and as a result, we are no longer planning to open source the code.


Correct handling of requests with mode "navigate"

The whole story
Imagine you have mapped your API in a subpath of your application:

Your App: https://my-domain/
Your API: https://my-domain/my-api/

The library can handle it well so far. The application makes an ajax request to the API and the ServiceWorker intercepts it and inserts the correct headers.
In a scenario in which the tokens are managed in cookies, you can also call the API endpoints directly in your browser after authentication. E.g. with https://my-domain/my-api/endpoint-with-get-request
The browser would send automatically the cookie and everything would be fine.
This doesn't seem to work with this library and I was wondering why.
I found that where the original request is exchanged and the headers with the tokens are inserted is the trouble spot:
    const newRequest = new Request(originalRequest, {
      headers: {
        ...serializeHeaders(originalRequest.headers),
        authorization:
          'Bearer ' + currentDatabaseForRequestAccessToken.tokens.access_token,
      },
      mode: (
        currentDatabaseForRequestAccessToken.oidcConfiguration as OidcConfiguration
      ).service_worker_convert_all_requests_to_cors
        ? 'cors'
        : originalRequest.mode,
    });

The library constructs a new Request creating a copy of originalRequest. Furthermore the library try to set the parameter mode.
But if the request is initiated from a browser, then the original request has mode navigate. In this case it is not allowed to set the mode afterwards. This is automatically set by the browser from navigate to same-origin.
See: https://developer.mozilla.org/en-US/docs/Web/API/Request/Request
As a result, the command above quietly and secretly uses up.
So my solution, admittedly somewhat simple, is to query the "mode" and generate the request either with the "mode" parameter set or without.
    const newRequest =
      originalRequest.mode == 'navigate'
        ? new Request(originalRequest, {
            headers: {
              ...serializeHeaders(originalRequest.headers),
              authorization:
                'Bearer ' +
                currentDatabaseForRequestAccessToken.tokens.access_token,
            },
          })
        : new Request(originalRequest, {
            headers: {
              ...serializeHeaders(originalRequest.headers),
              authorization:
                'Bearer ' +
                currentDatabaseForRequestAccessToken.tokens.access_token,
            },
            mode: (
              currentDatabaseForRequestAccessToken.oidcConfiguration as OidcConfiguration
            ).service_worker_convert_all_requests_to_cors
              ? 'cors'
              : originalRequest.mode,
          });

Thank you very much @thiscode :)


Template sensor causes "UndefinedError: 'mappingproxy object' has no attribute ..."

Home Assistant release (hass --version):
0.38.2 official docker image
Python release (python3 --version):
included in docker image
Component/platform:
template sensor
Description of problem:
I'm mapping the battery_level attribute of a (fibaro motion) sensor to a template sensor:
platform: template
sensors:
  bat_fgms:
    value_template: '{% if states.binary_sensor.fibaro_system_fgms001_motion_sensor_sensor_17_0 %}
      {{ states.binary_sensor.fibaro_system_fgms001_motion_sensor_sensor_17_0.attributes.battery_level | int }}
    {% else %}
      n/a
    {% endif %}'
    friendly_name: 'Fibaro Motion Sensor'
    unit_of_measurement: '%'
    entity_id: binary_sensor.fibaro_system_fgms001_motion_sensor_sensor_17_0

When HA starts, I get this error message every time:
[homeassistant.components.sensor.template] Could not render template Fibaro Motion Sensor:
UndefinedError: 'mappingproxy object' has no attribute 'battery_level

The template sensor works as expected after that, but I can't seem to get rid of the error.
Expected:
No error message.

That is, while it not have this property on load sensor.template. That is normal

Yeah, I figured as much. But shouldn't the {% if states.binary_sensor.... %} part take care of that?
What conditions would I need to check to only access the battery_level attribute when it is there?


Expose Riak control UI ?

Should be on default port 8098, no luck to find correct config parameter to listen on ip not loopback (versions?) http://docs.basho.com/riak/kv/2.2.0/using/admin/riak-control/

Hey, sorry, I'm not actively maintaining this project at the moment, but happy to guide through if you want to make improvements. As far as I remember Riak Control was never enabled from looking at the docs. I haven't used Riak in depth for awhile, so might be confusing something, but it seems Riak Control would be a little useless for Riak CS and this project in particular. This image was built solely to provide S3 testing environment and I wouldn't recommend it for anything else. There's hectcastro/docker-riak-cs repo maintained by one of Basho's developers, which allows multiple nodes, if I remember correctly there are a few other Riak-specific projects out there. If you feel it would be useful and happy to send a PR, let me know, I'll help with what I can.

I'm gonna close this, feel free to reopen if you have further comments.


RuntimeError: Input type (float) and bias type (struct c10::Half) should be the same

When I use 'florence-2' to extract a caption from an image and then use that caption as a positive prompt to regenerate an image, I encounter the following error. It seems there is a conflict between the model loader for 'florence-2' and the checkpoint.

I don't really understand how this node could cause that, all it does is provide a string for the text encoder. The error is coming from the live preview somehow. I can't reproduce this at all, same setup as you works fine for me.

I don't really understand how this node could cause that, all it does is provide a string for the text encoder. The error is coming from the live preview somehow. I can't reproduce this at all, same setup as you works fine for me.

I restart and the problem disappeared. So STRANGE. I'll close the issue.


Equalize heights of items into "rows" across multiple columns

Discussion was initially on #9883 with @gpspake
I have multiple items of differing type/category (news, events, blog posts) I want to list in columns to maintain their association. I want to add equalizer to the parent row and have the items in the columns (probably with data-equalizer-watch) have the same height as the tallest item that has the same offsetTop. Or a simpler explanation: the first items in each column have the same height, the second items in each column have the same height, and so on.
It is possible to create this functionality (and I have done so before) using nested equalizers as shown by @gpsake http://codepen.io/gpspake/pen/vxRyMV?editors=1010 but as he pointed out this quickly becomes ugly and difficult to maintain.

Example of markup would be something like:

Pellentesque habitant morbi tristique senectus et netus et, ante.

Pellentesque habitant morbi tristique senectus et netus et, ante.

Pellentesque habitant morbi tristique senectus et netus et, ante.

I have created a rather naive solution that is probably quite sub-optimal:
https://gist.github.com/adrianwhite/9e80759b9e425479e6ae00c897f48d38#file-foundation-equalizer-js-L186
This requires data-equalize-by-row="true" and  data-equalize-on-stack="true" options and probably data-equalize-on="[breakpoint]" if columns are stacked at smaller breakpoints as it'll run unnecessarily. The equalizable items also need data-equalizer-watch.

Yeh. Ignore that Gist. It is a very silly implementation.

Thoughts on this.
I believe this is a valid feature request and I can think of some good use cases for it. I also think that it's probably viable.
In the context of doing fancy stuff with equalizer, I've found that an important question to ask is "are we equalizing to a single height or Multiple heights?" Most of the time, we're going to be equalizing to a single height i.e. the tallest item being watched.
There are a couple of cases where you equalize items to multiple heights:
The first, nested equalizer, isn't really equalizing to multiple heights as there are multiple watchers equalizing to a single height which gives the impression of equalizing to multiple heights. This is the approach used above. While it appears that the first (pseudo)row is being equalized, the second (pseudo)row is being equalized etc... they really just have multiple watchers. This works great and is totally correct but it's not scalable at all. You have to add an additional equalizer container for each (pseudo) row that gets added to the columns.
*note: I'm saying pseudo row because we're really talking about several distinct columns with stacked items that are equalized and give the appearance of a row.
The second would be the equalize-by-row feature which is more in line with what we're going for here because you syntactically have one instance of equalizer that effectively equalizes to multiple heights. The reason it doesn't fit this use case is that it equalizes wrapped items in a single row - not across multiple columns.
A good first step would probably be to sketch out what the markup (the classes and data atts) would look like to equalize items across columns. Once that's relatively solid I think a lot of the equalize-by-row code could be reused.
So for example

Equalizer would do the following
Count the number of items in each column
Assign an index to each item, beginning with 1, in each column
Then, equalize all items in the container with index 1, all items in the container with index 2, etc...
I'm not saying that's the correct syntax, you might even to be able to reuse some of the equalize-by-row syntax but that's what I have in mind.

So this is interesting... does it make sense to generalize even further and have equalizer understand the concept of sets?
This would not pre-assume you're using a grid, and also allow you to do some interesting responsive behaviors, where you e.g. only equalizing the columns on small and medium but in sub-sets on e.g. medium up.  Using the same grid example for simplicity, and tentatively borrowing from interchange for syntax, I'm imagining something-like

Does this make sense?  Thoughts?

Marking this as a feature request for F7.


DELETED

Automatically generated task. Any updates to the title and body will be overwritten. Do NOT modify the labels.
Android implementation of #877

Accidently created, closing


Roundcube invalide private key

Im getting this errorlog:
{"app":"PHP","message":"openssl_pkey_export(): cannot get key from parameter 1 at /usr/share/owncloud/git/roundcube/roundcube/src/main/php/lib/RoundCubeApp.class.php#203","level":3,"time":"2015-05-26T17:54:39+00:00"}
{"app":"PHP","message":"openssl_private_decrypt(): key parameter is not a valid private key at /usr/share/owncloud/git/roundcube/roundcube/src/main/php/lib/RoundCubeApp.class.php#243","level":3,"time":"2015-05-26T17:54:39+00:00"}
{"app":"roundcube","message":"OC_RoundCube_App.class.php->decryptMyEntry(): Decryption finished with errors.","level":3,"time":"2015-05-26T17:54:39+00:00"}
{"app":"PHP","message":"openssl_private_decrypt(): key parameter is not a valid private key at /usr/share/owncloud/git/roundcube/roundcube/src/main/php/lib/RoundCubeApp.class.php#243","level":3,"time":"2015-05-26T17:54:39+00:00"}
{"app":"roundcube","message":"OC_RoundCube_App.class.php->decryptMyEntry(): Decryption finished with errors.","level":3,"time":"2015-05-26T17:54:39+00:00"}
{"app":"roundcube","message":"OC_RoundCube_App.class.php->login(): : RoundCube can't login to roundcube due to a login error to roundcube","level":3,"time":"2015-05-26T17:54:40+00:00"}
{"app":"roundcube","message":"tpl.mail.php: Preparing pre-check before rendering mail view ","level":1,"time":"2015-05-26T17:54:45+00:00"}
{"app":"roundcube","message":"OC_RoundCube_App.class.php->refresh(): Failed to refresh the RC session.","level":1,"time":"2015-05-26T17:54:45+00:00"}
{"app":"roundcube","message":"OC_RoundCube_App.class.php->showMailFrame(): There were login errors","level":3,"time":"2015-05-26T17:54:45+00:00"}
{"app":"roundcube","message":"OC_RoundCube_App.class.php->showMailFrame(): RoundCube can not login to roundcube due to a login exception to roundcube","level":3,"time":"2015-05-26T17:54:45+00:00"}
{"app":"roundcube","message":"Not rendering roundcube iframe view due to errors","level":3,"time":"2015-05-26T17:54:45+00:00"}
{"app":"roundcube","message":"Got the following error code: 10","level":3,"time":"2015-05-26T17:54:45+00:00"}
Serverconfigure:
Owncloud = owncloud.foo.bar (Version 7.0.4)
Roundcube = www.foo.bar/mail (Version 1.1.0)
Browser = Firefox 38 Ubuntu 15.04
no Autologin

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/17910427-roundcube-invalide-private-key?utm_campaign=plugin&utm_content=tracker%2F308690&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F308690&utm_medium=issues&utm_source=github).

you said have no autolign and diffrerent url's for apps.. do u follow the wiki installation procedure?

Im followed the wiki on this git repo and everything is reachable over owncloud.foo.bar without roundcube itself. Roundcube is settlet in www.foo.bar/mail.
Maybe important: each site have an other selfsight zertificat.

umm u'r problem its related to different sites, in the wiki of roundcube app there's a section about configure special cases, please follow instructions here:
https://github.com/hypery2k/owncloud/wiki/Roundcube-OC-Installation-and-usage#custom-different-server-setup-tips
and take in consideration read the requeriments wiki also...

i have had followed the normal setup because in step 3 after the picture you saying "If you're accessing owncloud via https://owncloud.domain.net and roundcube mail at https://domain.net/mail then enter https://domain.net/mail as full url." and thats my configuration.
I have linked my roundcube to owncloud.foo.bar/mail too and now its working. So fixed with a workaround. thx


Return value of Vinkla\Instagram\Instagram::get() must be an instance of Vinkla\Instagram\object, instance of stdClass returned

Hello I am receiving this error: "Type error: Return value of Vinkla\Instagram\Instagram::get() must be an instance of Vinkla\Instagram\object, instance of stdClass returned" when trying to fetch the Instagram media. I have downloaded the latest version.
The issue seems to go away when I remove : object from protected function get(string $path): object

Try updating to the latest version of this package and PHP and see if that helps.

If this issue persist, try run php -v from CLI
If you are below PHP v. 7.2 this is the reason.


Update react-highlight

Once this is merged in: https://github.com/akiran/react-highlight/pull/9
https://github.com/akiran/react-highlight/issues/8#issuecomment-153706016

:+1:


Rearrangement definition tweaks.

Removed c_call, c_score and c_cigar from required as this is not typical reference aligner output.
Renamed vdj_score, vdj_identity, vdj_evalue, and vdj_cigar to score, identity, evalue, and cigar in keeping with the concept that full length fields should be unqualified (eg, sequence, sequence_alingment, etc).

Some philosophical changes here. Not necessary, but they seem inline with our overall approach. Thoughts?

Okay
I kinda prefer the vdj prefix. That seems to indicate full sequence to me and follows the style of the other _score, _identity, etc., fields.

The foreseeable problem being if the full alignment includes more than the V(D)J region. The C region in particular. (I think the leader is covered well enough by the v in vdj)

I see. The plain names make me think they are "default" values, with v_score being a "specialized" value. Will IgBlast output these? I seem to remember that IgBlast only produced the info for each gene segment. If IgBlast produces values for these, and they would in essence be the main value that users would look at to determine the alignment score, etc., then I'm ok with it.

No, IgBLAST won't output these, though these are changes inspired by IgBLAST support oddly enough. At the moment, I think only partis is applicable to any of these fields (paging @psathyrella).
I was hoping for a better way to distinguish primary fields. Like using required and recommended or assigning an x-category tag we use for sorting them. Personally, I don't think any of the _aa fields should be "main" fields... But, I guess we should sort that out too at some point.

Oh, and iHMMune-align. Global alignment scores are also relevant to iHMMune-align. Though, I think the likely of that getting AIRR format support is pretty low, we do have a parser for it in MakeDb.

I'm spamming now, but... global cigar and identity fields could be also be derived fields from the individual segment fields, making them "main" in sense that they are a "compression" of the corresponding v/d/j/c fields.

Prefix them with sequence_? sequence_score, sequence_identity, etc., also makes it sound like its for the full sequence.

So... does a prefix denote a "subset field" or an "auxiliary field"? I guess that's the question

I don't like using the field name for either of those concepts. I still like the x-airr-category idea, and would even suggest that we reserve the x-airr- prefix for all specialized attributes. I don't think the names/prefixes/suffixes should be used for categorization or such. Doing any parsing of a field name to understand its "context" ends up being brittle design in the long run, and I'd prefer to avoid it. Especially when we can add as many attributes as we want into the OpenAPI spec.

I also don't really like the vdj_ prefix. If nothing else, it doesn't make sense for light chains. And while I agree that it's a bit more clear to have something there indicating that the column corresponds to the entire sequence (maybe full_ is more clear than sequence_?), I dunno, what else are people going to think it corresponds to? It seems it's a tradeoff between clarity and conciseness, and I feel like it's clear enough without the prefix.
Yeah I also don't like requiring the aa fields. It's just soooo easy for even the least computer savvy user to convert, and it'll really increase the file size and complexity to double all the sequence fields.
The way my stuff is set up, I have a defined minimal set of columns that completely specify the rearrangement event, and the first thing that happens on reading in a file is all the cruft gets added back in. I.e. as long as most everyone is reading the file with the approved parsing function, they don't complain that I don't write their favorite column to file, since they only see it after it's been added back in.
No, IgBLAST won't output these, though these are changes inspired by IgBLAST support oddly enough. At the moment, I think only partis is applicable to any of these fields (paging @psathyrella).

I'm not sure I understand which bits are particularly applicable to partis? As far as scores, I do output a list of the N most likely v/d/j genes along with a score for each (where N is complicated but basically "everybody that's kind of close"). I guess in this case these would get output as separate annotation lines? That seems overly verbose/complicated, but if I don't do that then how will anyone know what the v_score means? Maybe a better way to say it, it's not clear to me how useful it is to specify just one v_score for each sequence.

@psathyrella,

I'm not sure I understand which bits are particularly applicable to partis? As far as scores, I do output a list of the N most likely v/d/j genes along with a score for each (where N is complicated but basically "everybody that's kind of close"). I guess in this case these would get output as separate annotation lines? That seems overly verbose/complicated, but if I don't do that then how will anyone know what the v_score means? Maybe a better way to say it, it's not clear to me how useful it is to specify just one v_score for each sequence.

Ah, I must be mistaken then. I thought you had a single score value (probability?) for the entire alignment, but it looks like (from checking the manual), you have individual scores for the v, d and j (*_per_gene_support).
Though, this begs the question of whether these fields are sufficient and clear for your needs:

*_score
*_identity
*_evalue

Do we need to add fields specific for probabilistic aligners, such as *_probability, or can we get by with having a fuzzy definition of *_score. If the former, we probably need to remove *_score from the list of required fields because it could be an either/or situation.
For multiple hits, that'll end up in the Alignment (hit table) spec, which we aren't finished with yet:
http://docs.airr-community.org/en/latest/formats/alignments.html
.

I mean we do have a value for the whole alignment, but I don't know that it's useful to write out -- it's only really useful when comparing to other possible alignments of the same sequence. the *_per_gene_support fields are dicts with score/probability-ish numbers for any other possible genes that were deemed somewhat likely, e.g. IGHD2-8*01:0.999999253081;IGHD2-8*02:7.46918510402e-07.
So, no, the *_{score,identity,evalue} fields don't really seem useful for partis: comparing the v_score for one sequence's best V gene to the score for another sequence's best v gene isn't really meaningful -- what's useful is comparing the score to all the other v genes that were tried for each sequence (i.e. v_per_gene_support column), but it doesn't sound like that information would go in the current format we're talking about.
So I don't strongly object to the score type fields being there, but my feeling is that it's too hard to make it meaningful across all the different aligners, since they're so different, and it'll end up being more confusing than useful.

comparing the v_score for one sequence's best V gene to the score for another sequence's best v gene isn't really meaningful.

This is true for IgBlast as well, not just partis, as in general an alignment score depends upon how long the sequences are and your scoring matrix. So I don't think we have that expectation, and you are correct that the score isn't that useful if you don't know the context and the tool that generated it. But that's fine, we aren't trying to create a universal score, just report the tool output.

Do we need to add fields specific for probabilistic aligners, such as *_probability, or can we get by with having a fuzzy definition of *_score. If the former, we probably need to remove *_score from the list of required fields because it could be an either/or situation.

Edit: I guess we could also make *_evalue fuzzy instead by calling it something like *_significance, *_evidence, *_support, etc.

Something like this sounds reasonable. I'm fine with keeping *_score but making it fuzzy.

I'd definitely vote for  using generic field names to accommodate various tools as long as people know what they represent.  igblast only provides score for each gene (though we could add up the score if people want).
Providing amino acid sequence translation is very useful for people who want that information although I don't care if its' required or not.  By the way, it is not trivial to do that as you need to know precisely which frame of your nucleotide sequence is the right one (which can be deduced from alignment to a germline sequence where the frame is known).

Okay, it seems to be that we don't really have a current use case for the full sequence scoring fields (vdj_score/identity/evalue).  So... how about we adhere to YAGNI and just delete these from the spec instead of worrying about the naming? We can add them to a later version of the spec if someone advocates for them and can define them better.

All right, merging this and considering the Rearrangement spec frozen.


Alert the user if nobody's around to hear a bwoink

About the PR
As described.
Screenshots

(Example scenario. No bars were harmed in the making of this screenshot.)
Changelog
:cl:

add: You are now alerted if an AHelp is not received by anyone.

Why not just make a copy of the OOC discord bridge to forward ahelps to a discord channel?

That would require me to patch the MoMMI bot.

MoMMI has a general purpose game message forwarding system that we use on /vg/station. We can use that instead.
I'm kind of on the fence about it because I'd rather use Discord webhooks but MoMMI is a more centralized place to put the configuration and such so...

MoMMI has a general purpose game message forwarding system that we use for adminhelps on /vg/station. We can use that instead.
I'm kind of on the fence about it because I'd rather use Discord webhooks but MoMMI is a more centralized place to put the configuration and such so...

do it on MoMMI then no balls

Rebased because of .NET 6, doing testing now

Tested, things shouldn't be broken anymore


Update Get-CsTeamsUpgradeStatus.md

Fixed "Tenant" parameter

Docs Build status updates of commit 161cdce:
:clock10: Full build: the average full build time is 11 min(s) 47 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 161cdce:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsTeamsUpgradeStatus.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


HA

ConsulClusteredHATest is fixed now.
Addresses: https://github.com/romalev/vertx-consul-cluster-manager/issues/32 and relates to: https://github.com/romalev/vertx-consul-cluster-manager/issues/44

this is what happens when ConsulClusteredComplexHATest runs locally.


No ground truth for MOT20-04, skipping.

I want to get  MOTA and IDF1 scores on MOT20 by using python tools/track.py -f exps/example/mot/yolox_x_mix_mot20_ch.py -b 1 -d 1 --fp16 --fuse --match_thresh 0.7 --mot20 but failed.
Whole message:
(open-mmlab) D:\lbq\code\2_tracking\ByteTrack>python tools/track.py -f exps/example/mot/yolox_x_mix_mot20_ch.py -b 1 -d 1 --fp16 --fuse --match_thre
sh 0.7 --mot20
2021-10-20 17:59:29 | INFO     | __main__:155 - Args: Namespace(batch_size=1, ckpt='pretrained/bytetrack_x_mot20.tar', conf=0.01, devices=1, dist_ba
ckend='gloo', dist_url=None, exp_file='exps/example/mot/yolox_x_mix_mot20_ch.py', experiment_name='yolox_x_mix_mot20_ch', fp16=True, fuse=True, loca
l_rank=0, machine_rank=0, match_thresh=0.7, min_box_area=100, mot20=True, name=None, nms=0.7, num_machines=1, opts=[], seed=None, speed=False, test=
False, track_buffer=30, track_thresh=0.6, trt=False, tsize=None)
2021-10-20 17:59:30 | INFO     | __main__:165 - Model Summary: Params: 99.00M, Gflops: 985.27
2021-10-20 17:59:30 | INFO     | yolox.data.datasets.mot:39 - loading annotations into memory...
2021-10-20 17:59:30 | INFO     | yolox.data.datasets.mot:39 - Done (t=0.04s)
2021-10-20 17:59:30 | INFO     | pycocotools.coco:92 - creating index...
2021-10-20 17:59:30 | INFO     | pycocotools.coco:92 - index created!
2021-10-20 17:59:31 | INFO     | __main__:188 - loading checkpoint
2021-10-20 17:59:32 | INFO     | __main__:193 - loaded checkpoint done.
2021-10-20 17:59:32 | INFO     | __main__:199 -         Fusing model...
C:\Users\RTX3090\.conda\envs\open-mmlab\lib\site-packages\torch\nn\modules\module.py:390: UserWarning: The .grad attribute of a Tensor that is not a
 leaf Tensor is being accessed. Its .grad attribute won't be populated during autograd.backward(). If you indeed want the gradient for a non-leaf Te
nsor, use .retain_grad() on the non-leaf Tensor. If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor instead. See git
hub.com/pytorch/pytorch/pull/30531 for more informations.
  if param.grad is not None:
 46%|#################################################2                                                        | 2079/4479 [02:31<03:16, 12.22it/s]2
021-10-20 18:02:13 | INFO     | yolox.evaluators.mot_evaluator:39 - save results to ./YOLOX_outputs\yolox_x_mix_mot20_ch\track_results\MOT20-04.txt
 69%|#########################################################################                                 | 3087/4479 [03:47<01:28, 15.75it/s]2
021-10-20 18:03:24 | INFO     | yolox.evaluators.mot_evaluator:39 - save results to ./YOLOX_outputs\yolox_x_mix_mot20_ch\track_results\MOT20-06.txt
 82%|######################################################################################9                   | 3673/4479 [04:23<00:43, 18.73it/s]2
021-10-20 18:03:58 | INFO     | yolox.evaluators.mot_evaluator:39 - save results to ./YOLOX_outputs\yolox_x_mix_mot20_ch\track_results\MOT20-07.txt
100%|##########################################################################################################| 4479/4479 [05:18<00:00,  2.57it/s]2
021-10-20 18:04:51 | INFO     | yolox.evaluators.mot_evaluator:39 - save results to ./YOLOX_outputs\yolox_x_mix_mot20_ch\track_results\MOT20-08.txt
100%|##########################################################################################################| 4479/4479 [05:18<00:00, 14.07it/s]
2021-10-20 18:04:51 | INFO     | yolox.evaluators.mot_evaluator:630 - Evaluate in main process...
2021-10-20 18:05:05 | INFO     | yolox.evaluators.mot_evaluator:659 - Loading and preparing results...
2021-10-20 18:05:09 | INFO     | yolox.evaluators.mot_evaluator:659 - DONE (t=4.00s)
2021-10-20 18:05:09 | INFO     | pycocotools.coco:433 - Running per image evaluation...
creating index...Evaluate annotation type *bbox*

2021-10-20 18:05:09 | INFO     | pycocotools.coco:433 - index created!
COCOeval_opt.evaluate() finished in 2.42 seconds.
Accumulating evaluation results...
COCOeval_opt.accumulate() finished in 0.18 seconds.
gt_type
2021-10-20 18:05:12 | gt_files ['datasets/MOT20/train\\MOT20-01\\gt\\gt.txt', 'datasets/MOT20/train\\MOT20-02\\gt\\gt.txt', 'datasets/MOT20/train\\M
OT20-03\\gt\\gt.txt', 'datasets/MOT20/train\\MOT20-05\\gt\\gt.txt']
INFO     | __main__:220 -
Average forward time: 41.49 ms, Average track time: 18.28 ms, Average inference time: 59.77 ms
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = -1.000

2021-10-20 18:05:12 | INFO     | __main__:237 - Found 4 groundtruths and 4 test files.
2021-10-20 18:05:12 | INFO     | __main__:238 - Available LAP solvers ['lap', 'scipy']
2021-10-20 18:05:12 | INFO     | __main__:239 - Default LAP solver 'lap'
2021-10-20 18:05:12 | INFO     | __main__:240 - Loading files.
2021-10-20 18:05:29        Rcll Prcn GT  MT  PT  ML  FP  FN IDs  FM MOTA MOTP num_objects
OVERALL  NaN  NaN  0 NaN NaN NaN NaN NaN NaN NaN  NaN  NaN           0
 |         IDF1 IDP IDR Rcll Prcn GT MT PT ML FP FN IDs  FM MOTA MOTP IDt IDa IDm num_objects
OVERALL  NaN NaN NaN  NaN  NaN  0  0  0  0  0  0   0   0  NaN  NaN   0   0   0           0WARNING
 | __main__:123 - No ground truth for MOT20-04, skipping.
2021-10-20 18:05:29 | WARNING  | __main__:123 - No ground truth for MOT20-06, skipping.
2021-10-20 18:05:29 | WARNING  | __main__:123 - No ground truth for MOT20-07, skipping.
2021-10-20 18:05:29 | WARNING  | __main__:123 - No ground truth for MOT20-08, skipping.
2021-10-20 18:05:29 | INFO     | __main__:248 - Running metrics
2021-10-20 18:05:29 | INFO     | __main__:273 - Completed

It seems that you are running the results of the test set of MOT20 (MOT20-04, MOT20-06, MOT20-07, MOT20-08) and there are no GT files for test set. You can change line 19 and 102 in https://github.com/ifzhang/ByteTrack/blob/main/exps/example/mot/yolox_x_mix_mot20_ch.py to get the results of the training set of MOT20 (MOT20-01, MOT20-02, MOT20-03, MOT20-05)

It seems that you are running the results of the test set of MOT20 (MOT20-04, MOT20-06, MOT20-07, MOT20-08) and there are no GT files for test set. You can change line 19 and 102 in https://github.com/ifzhang/ByteTrack/blob/main/exps/example/mot/yolox_x_mix_mot20_ch.py to get the results of the training set of MOT20 (MOT20-01, MOT20-02, MOT20-03, MOT20-05)

I change the code as you said above and it returned normal messages, but I still want to know to use test dataset just like 'We use the input size 1600 x 896 for MOT20-04, MOT20-07 and 1920 x 736 for MOT20-06, MOT20-08', which is written in README.md.

Hi @lbq779660843, If you want to get the result on the test set, you have to submit the tracking result (which is stored in a .txt files) to the MOTChallenge website. I just submitted the ByteTrack tracking results on the MOTChallenge website and finally get the result on the test set.

Hi @lbq779660843, If you want to get the result on the test set, you have to submit the tracking result (which is stored in a .txt files) to the MOTChallenge website. I just submitted the ByteTrack tracking results on the MOTChallenge website and finally get the result on the test set.

Hello, I have a question want to ask, I now take model trained MOT17 training set, then the test set is forecasted and predicted results want to commit to MOT Challenge the official web site, but met them at the time of submission requirements must be submitted with the training set and testing set all the TXT (21, from training set and testing set of 21). However, I only got the predicted results of the test set (21). How did THE MOT Challenge result submission work? If I had to predict the training set again, would that result in too good a result? (BECAUSE I did my training with MOT17)

I'm sorry but I don't really know about how the MOT Challenge submission work, but yes you have to submit the .txt result of the training set and you will only get the performance result on the test data only.

I'm sorry but I don't really know about how the MOT Challenge submission work, but yes you have to submit the .txt result of the training set and you will only get the performance result on the test data only.

Thank you for your reply! I have a rough idea of the author's code flow: When I train, I need to make sure that lines 19 and 102 in yolo_x_mix_det are "train". For test, I need to make sure that lines 19 and 102 in yolo_x_mix_det are "train" in addition to running "track.py". So you get 21 of the.txt of the training set; When I need to train the test set, I need to modify line 19 and line 102 are "test"  to get 21.txt belonging to the testing set. It can then be submitted to the MOT Challenge website. (I guess so)

When we need to train the test set, I need to modify line 19 and line 101 are "test" to get 21.txt belonging to the testing set. It can then be submitted to the MOT Challenge website.
Line#19   - self.val_ann = "test.json"    # change to train.json when running on training set
Line#101 - name='test',   # change to train when running on training set

Hello everyone, i have a question. When i got the 21 text files for test set but when i run for train set i got only 7 files text files? Why? Does anyone know how to get 21 files for train set?

Hello everyone, i have a question. When i got the 21 text files for test set but when i run for train set i got only 7 files text files? Why? Does anyone know how to get 21 files for train set?

I also encountered this problem, have you solved it?


Update match directive

Update match directive from <all_urls> to *://*/* so the script works with Tampermonkey
From their documentation:

Note: the <all_urls> statement is not yet supported

*://*/* will not match file urls on Violentmonkey, I just tested it on both, writing done both seem to do the job
// @match          <all_urls>
// @match          *://*/*

Thanks


lvlDragDrop

A fork of my project was registered with Bower, and the fork is no longer available.
> bower info lvlDragDrop
bower not-cached    git://github.com/reykjavik-university/lvlDragDrop.git#*
bower resolve       git://github.com/reykjavik-university/lvlDragDrop.git#*
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git://github.com/reykjavik-university/lvlDragDrop.git", exit code of #128 fatal: remote error:    Repository not found.

Correct repository location: git://github.com/logicbomb/lvlDragDrop.git

Re-registered lvlDragDrop to git://github.com/logicbomb/lvlDragDrop.git. Thank you for using Bower!


refactored lightclient into mods

This looks great!   I opened PR:
https://github.com/fluidvanadium/zingolib/pull/17
To fix the lint errors.


"Fatal error: Unable to find Gruntfile."

Following Development instructions in the readme on step 5:
tylar@tylardesk:~/clock-panel$ grunt watch
A valid Gruntfile could not be found. Please see the getting started guide for
more information on how to configure grunt: http://gruntjs.com/getting-started
Fatal error: Unable to find Gruntfile.

This is a reasonable error since there is no grunt.js or grunfile.js in this repository.
Maybe one needs to be added, or can the latest grunt pull from package.json (I'm using grunt-cli v1.3.2)?
I was able to get working by replacing this step with npm install . and npm run watch instead.
It looks like grunt was dropped in favor of webpack recently, but the readme needs to be updated?

Yes, you're correct. It's been converted to typescript and webpack. Thanks for the pointer.

Thanks - was just about to go back and update the instructions.


Clarify a sentence in readme

When reading the readme, this is understandable:

State: A type that describes the data your feature needs to perform its logic and render its UI.
Action: A type that represents all of the actions that can happen in your feature, such as user actions, notifications, event sources and more.
Environment: A type that holds any dependencies the feature needs, such as API clients, analytics clients, etc.
Reducer: A function that describes how to evolve the current state of the app to the next state given an action.

But it's not clear to me what the next sentence wants to say:

The reducer is also responsible for returning any effects that should be run

The function returns effects? Did I miss something here?

An Effect is a special type of Publisher. It is also responsible for feeding events to the reducer.
It might seem perplexing but once you get your hands dirty, it's pretty easy! The guys have extensive example that help too!

Thanks! Since the type is not introduced, can I assume it's defined by another module that I should already be familiar with?

The Effect type is defined in the Effect.swift source file where it is also documented. It is just a type of Publisher which publishes zero or more Action values that can make the state machine transition to another state.
It’s called Effect because it can carry out side effects, synchronously or asynchronously, that result in an Action.

Thanks, that's a clear description.
Then my suggestion is that the readme should introduce the type before assuming the reader knows anything about it.

@anohren Thanks for bringing this up! I just made a quick update to the readme to make it clear that by "effect" we mean Effect: https://github.com/pointfreeco/swift-composable-architecture/pull/174
I don't think too much more needs to be said in that bullet point because the rest of the section builds a reducer from scratch and better describes how to put together the ingredients, and at the end of the section mentions that the Examples directory contains a lot more demos.

Closing this as #174 has been merged. Thanks!


Charge value change from 100 to less triggers re-evaluation of periods

Version 1.5.1
Configuration
Easee charger and input_number describing SoC.
Describe the bug
This morning I noticed that charger has continued to re-start charging after this has stopped. I have an input_number describing the SoC which is updated when my car reports an updated SoC value. Charging was planned to stop at 05:00 and when charging stops I manually update the input_number.ev_smart_charging_soc to 100, as I understand is recommended.
15 minutes later my car reports a SoC of 98 and it seems like EV Smart Charging re-evaluates charging schedules then and then starts charging until 06:00 where the charging stops, sets SoC to 100, and then 06:03 charging starts again. The car is only charging very slow during the latest percentages.
Would it be possible to have a setting telling EV Smart Charging to not re-evaluate charging all the time (like before the change)? Or is there another workaround?

Unfortunately I don't have any debug logs.

First, if you your input_number.ev_smart_charging_soc is automatically updated from your car, then you should not set it manually to 100 when the charging stops. That recommendation was only for those that don't have automatic updates of the SOC value.
Now looking at  your graph, it seems like you have target_soc = 100, and there was a scheduled charging until 05:00. And at that time the car was charged to 98%. It also seems like you have set charge completion time to 07:00 or later.
So with the latest update the integration will at 05:00 continue to charge, since the target has not been reached and there is still time left to the charge complete time.
Given the above, are you saying that you would have prefered the charging to stop at 05:00, even though the target soc was not reached? Can you elaborate a bit about this?

Thank for for the quick responsen, I will pour you a cup of coffee, it's well deserved.
I understand your confusion and I will explain my rationale.
I have a Nissan Leaf integrated with HA but updates can be delayed up to one, i.e, HA does not necessarily know the true SoC of the car. Therefore an input_number is updated upon Leaf SoC change.
Second, charging speed is in general 9%/hour but for the last 3-4% the internal charger is slowing down and only charges very slowly.
Due to thus, the old 1.4.x version did work quite well for me as charging was planned and vehicle was usually charged to 97-100% during the cheapest charging periods, then charging was stopped and this was fine. The 1.5.x branch reschedule charging into more expensive periods and the pre-optimized plan is not sticked too.
I see that this could partly be overcome by reducing target SoC to 95% but the delayed SoC update can potentially still cause the scheduler to be confused, right?
I could of cause just prevent the input_number being updated from Leaf SoC during charging hours and then set this to 100 when charging stops. But this would most likely only work with one continuous period of charging, right?

Quite non-linear charging profile (kWh) for the last approx 5%

Thanks for the coffee! Much appreciated.
The easiest way for you to reduce the additional charging after the initially planned charinging period would be to lower the target SoC. Maybe you don't need to lower it to 95% as you suggested, but maybe 97-98% would be enough to drastically reduce the additional charinging time.
You didn't write how long the SoC updates are delayed. You only wrote "one". Did you mean one minute or one hour? If it's one minute, then the delay shouldn't be a problem. If it's one hour, then setting the target SoC to 95% or so could be a way to handle such a long delay.
There are probably ways to achieve exactly what you want with some clever designed automations. But the motivation I had to write this integration was to be able to have rather advanced charging strategies without the need to write a lot of complicated automations.
I think the new 1.5.x strategy with rescheduling if the target soc was not reached make sense for many. The average charging price will of course go up if additional charging is added after the planned charinging, but the alternative would have been to start earlier, but that will also increase the average charging price. So I think there is a fundamental choice between the importance to reach the target SoC and the important to reduce the charging cost.
I was hoping that the extra chariging cost to reach the target SoC would be small, but if it is seen as a problem, then I think the best solution is for me to add switch that selects one of these two strategies.

Sorry, the missing unit was in a very unfortunate place, but the default SoC update interval is 1 hour, though it can be lowered when charging, but recommended it not too low as this can drain the 12 V battery. 15 minutes should though not make a problem.
I like your philosophy of making an as advanced charging module as simple as possible, I fully support this! And too many buttons/settings definitely increases complexity. I think I will optimize my setup testing different target SoCs and update intervals and see how this works out. Therefore I recommend you to not implement any further settings but I thank you very much for your feedback and this discussion.


ES Content Based Review

Please review:
@mannyrivera2010
@skhtet
@blynch11p
@mleeBoeing
@rkenyon1969
@lsemesky
To verify do the following:
(edit ozpcenter/recommend/recommend.py: change line 743 recommendation_weight = 25.0 to recommendation_weight = 1.0)  This is to have the results not show up at the top of the list just as a preventative measure.

make recommend_es_user
make recommend_es_content
The content based recommendation system uses data from the user based recommendation system so that it is more efficient in using the tables.  That is the reason that the code was modified for user based as well, but mostly was related to the field structure.  There is one section of code that may be removed and has been commented as such since there was a revelation.

In order to test:
Use bettafish user (This also assumes that nothing has been bookmarked)
Initial recommended items can be seen at:
http://localhost:8001/api/storefront/
Look for "_score" to see the values that are being recommended  (The listings will be based on what other users have bookmarked and what is appearing in the aggregations of the text - This is temporary until we get live recommendations implemented)
Can also load storefront to view the data on the screen.
Then bookmark JotSpot 4 App
rerun make recommend_es_user and followed by make recommend_es_content
After loading the backend again, should see all of the JotSpot apps because of content matching.  The scores should be very high for them as well.

:+1:  Syntax look good

Cleaned up some code that was not being used and corrected a comment.  No functionality change.

Merged from Master to es_recommend_content branch so that latest center and back-end code will play will with each other and reduce the amount of work needed by reviewer to verify changes.

Code looks clean and syntactically correct.
Followed the instructions above to test from Center.

Bookmark JotSpot 4, make recommend_es_user and make recommend_es_content, refresh page

The additional JotSpot apps appeared in my Recommended list.
I also bookmarked Air Mail and Skybox 7 and reran the commands and see a spattering of Air Mails and Skyboxes to go along with the JotSpots.
:+1:

:+1:


Issue #432 - fix lint warnings

Pull Request Template
Fixes #432

fix Lint warnings

Type of change

[x] This change requires a documentation update

Checklist:

[x] I have tagged the reviewers in a comment below incase my pull request is ready for a review
[x] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@joewxboy I don't know the providence of the {: codeblock} directive. I think Rene uses it downstream?

@joewxboy  - Yes, I confirmed.  The downstream documentation requires the {: codeblock} directive to show the Copy to Clipboard icon.  I found a downstream page where the directive is missing from a code block - and that section does not have a Copy to Clipboard icon.

Thanks.  I'll add to Best Practices.


checks for globalRole of 'admin' now, also now handles group permissions

Summary
Fixes #
#9159 #9158
Occurred changes and/or fixed issues
Added new getter to auth store, requests /v3/principals as part of initial fetch on /explorer/members page, parses principles for current user membership
Technical notes summary
We now pull globalRoleBindings as part of the initial fetch on this page so we can determine if the current user has the "admin" role template which beats out all of the other permission checks we do and thus short circuits the "userCanManageCluster" check which short-circuits all of the other permission checks we do on this page.
My early debugging of the "admin" issue centered on group permissions and I ended up writing some code that solved the earlier problem of determining a user's group membership and thus group inherited permissions to projects. Since that solves an otherwise known issue we had with the initial fix, I decided to leave that in but I can also split it out into it's own PR if that's easier.

Adding MS to match branch


Update TOC.md

Docs Build status updates of commit 1c58212:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/TOC.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Challenge scroll answers

Is your feature request related to a problem? Please describe.
A clear and concise what the problem is. Ex. I'm always
frustrated when [...]
When doing a clue it's pretty inconvenient for the answer to a challenge scroll step (Question/answer version) to close out and remove the answer because the clue scroll itself isn't active / left your inventory and the item ID changed, meaning you have to either remember the answer (sometimes challenging especially the spirit tree in tree gnome village which is something like 133222111) or look it up which more or less defeats the purpose of the plugin giving it to you in the first place. This is annoying because you have to open the clue obviously to read what the next step is anyways, as well as in the case of elites to answer it since those steps are different for elites.
Describe the solution you'd like
A clear and concise description of what you want to happen.
If possible make the interface/overlay showing the question stay open until you receive a new clue step instead of just the challenge scroll, or make it display the applicable answer to the challenge scroll upon opening.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've
considered.
Not many alternatives besides remembering / looking up the answer.
Additional context
Add any other context or screenshots about the feature request here.

Duplicate of #2740


the arc gcc in zephyr sdk should be updated.

In ARC's secureshield, some new instrucitons are introduced, e.g., sflag, sjli.  The current arc gcc (6.2.1 20160824) does not support these new instructions.
So suggest to update zhe arc gcc in zephyr-sdk to the latest version of arc gcc.

You can already try the compiler being developed and packaged here:
https://github.com/zephyrproject-rtos/sdk-ng
ARC is already supported.


Why from . import views can solve circle import in Flask?

I learn from Larger Applications.In this document, It says: "all the view functions (the ones with a route() decorator on top) have to be imported in the init.py file. Not the object itself, but the module it is in."
I don't know why when I do this: from . import views,It succeed.Though from views import * can also work well.
I organize these file like this:
myapplication/
  runner.py
  myflask/
    __init__.py
    views.py
    templates/
    static/
    ...

runner.py:
from testFlask import app
app.run()

myflask/_init_.py:
from flask import Flask
app = Flask(__name__)
from . import views # why this can work????

myflask/views.py:
from . import app
@app.route('/')
def index():
    return 'Hello World!'

and I run it:
$ cd myapplication
$ python runner.py

It's OK to run this Flask app. However I want to know why from . import views can solve this circle import problem in flask? And why the doc says: Not the object itself, but the module it is in????

Please use IRC or Stack Overflow for this - the issue tracker is not the right place for general questions.

to explain - modules that are still in evaluation are already importable
so declaring the app object fist means it can be imported from other places and the cycle is resolved

your explain seems unclear.


sqlite: create a database label for preview

Closes #282

@chriddyp would you review this one too?

💃


fixed race around global resource

stringShuffle uses rand.Intn, which is global, and when multple threads call ConnectWithDialer a race between threads will occur on the rand library.

Thanks for the patch but it shouldn't be necessary according to http://golang.org/pkg/math/rand/ :
The default Source is safe for concurrent use by multiple goroutines.

Was there an issue that you were having that this fixed?

The go race detector detects this as a race condition.

If I have the same version of the file as you then line number util.log:38 is s[i], s[j] = s[j], s[i] which means the race is on the server list. I made a change to copy the server list rather than mutate and keep a reference.
Let me know if this fixes the race for you.
https://github.com/samuel/go-zookeeper/commit/a7d37a38aabc11845c777f640e535e920bd662af

I think the go race detector is lying here. You should report this as a bug to the Go team, perhaps. If you aren't going to report it, please mention it as such so that maybe someone else will.

Closing this as I believe it's not an issue in this package. Feel free to reopen if you feel otherwise.


majority vote algorithm in c++

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
I have added code for majority vote algorithm in C++.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1439

@iamrajiv Please review this

I have made all the changes. Please review.

I took referance from the code present in java folder https://github.com/TesseractCoding/NeoAlgo/blob/master/Java/Algorithms/Moore_Algorithm.java complexity of this algorithm is also not linear.
Now I have made all the changes in my code. Please review.

Thank you to let us know about this error.

Thank you to let us know about this error.

I would like to solve this error , Can I create a new issue for this?


The view ProductDetails_V is incorrectly defined

The view ProductDetails_V is using a c.id and s.id that should be c.CategoryId and s.SupplierID instead.
CREATE VIEW [ProductDetails_V] as
select
p.*,
c.CategoryName, c.Description as [CategoryDescription],
s.CompanyName as [SupplierName], s.Region as [SupplierRegion]
from [Products] p
join [Categories] c on p.CategoryId = c.id  <-- ISSUE
join [Suppliers] s on s.id = p.SupplierId      <-- ISSUE

This seems to be fixed in the source but not included in the release: https://github.com/santiagobasulto/northwind-SQLite3/blob/af76458629ca65a8409158bb42a43c6b5b470221/src/update.sql#L86

Opened a PR with the new dist file #16.


Basic documentation

Contributing #528
Quick Start
Installation

We'll be reusing the docs structure from https://scancodeio.readthedocs.io/en/latest/

May I work on this issue??

Hello @karan-vaishnav
This issue is highly dependent on the recent restructuring of our codebase #525
Maybe you could start with a good first issue according to the difficulty marked.

Okay

[ ] Info about severity systemssystems
[ ] Info about version_api (githubtagsapi, etc) and time traveling
[ ] Open a draft PR (preferably) or an issue when you start working on something so that the project direction is visible to everyone.
[ ] runserver with --insecure or DEBUG=True in settings for UI
[ ] Add this somewhere in readme: OWASP Top 10 2021 (https://owasp.org/Top10/)
A06:2021-Vulnerable and Outdated Components was previously titled Using Components with Known Vulnerabilities and is #2 in the industry survey, but also had enough data to make the Top 10 via data analysis. This category moves up from #9 in 2017 and is a known issue that we struggle to test and assess risk. It is the only category not to have any CVEs mapped to the included CWEs, so a default exploit and impact weights of 5.0 are factored into their scores.

More of this will be taken care in https://github.com/nexB/vulnerablecode/issues/638


feat: implement first release

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@b2041f3). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         5
  Lines           ?       350
  Branches        ?        37
========================================
  Hits            ?       350
  Misses          ?         0
  Partials        ?         0

Help us with your feedback. Take ten seconds to tell us how you rate us.


Help Board [Mobile - IOS] Location filter is not displaying address options to select after a zip code, Address or City is entered

Location filter is not displaying address options to select after a zip code, Address or City is entered
Steps to Reproduce:
1 - Using mobile Iphone 6s (works fine on developer tool), navigate to staging
2 - Request or Offer Help> select arrow to pass steps 1 2 and skip 3
3 - On Help Board click on location filter + icon
4 - Enter a zip code or address or City
Current Result: address options does not display to select and continue the process
Expected Result; address options should display
iphone 6s

Developer Tool:

@dabartlett what browser are you using? If it works on dev tools but not your phone it might be a JS feature not supported by the browser.

Tested with iphone 6 after upgrading to version 13 and it works as well. thank you


Unable to start debugger

On Visual Studio 2019 Version 16.10.1
With out of the box options the WebAssembly debugger gives that error.
I tried to run VS as Administrator but it doesn't solve the issue.

WebAssembly Debugger is in the separated package, so please install it additionally.
I want to set dependency with Emscripten Build Support, but it is under my investigation.


HWKALERTS-206 Improve global plugins

This PR is a refactoring of global plugins.
Global plugins were designed to listen for any action and route in a wire tap pattern to a global plugin.
This was a interesting concept as it lets to not define specifically actions on triggers in scenario where we want to be notified for all actions fired.
Previous implementation have two main drawbacks:

Global plugin required a new plugin implementation.
Configuration was global and not all flexible as desired.
Only explicit actions could be "listened" on the wire tap pattern.

With this new approach we maintain the same concept but we introduce several interesting enhancements:

Global plugin is removed from plugin level and moved to action definition.
No need to write an special global plugin, any plugin can perform global actions.
Global actions can be configured with tenants and with all features (filtering by status or using time constraints).
Global actions can be queried from history.

It's great to remove the global plugin modules, much cleaner.  And I think also easier to understand the semantics of a global action.
A couple of comments to respond to, including one in the constructors that looks like a bug.
Note also that the cache addition will affect (minimally) metrics and agent and QE, so we'll need PRs for the two components and also an e-mail in dev-list for Filip.  I can generate the PRs today so they will be ready, and we can send mail after the merge.

Thanks for the review @jshaughn . Commit amended with the feedback and bug fixes (thanks).
Great if you can prepare the PR to the other components.


Promote dart to editor

Lmao

Lmao

The moment before I approve it gets merged

The moment before I approve it gets merged


Export doesn't support the “Exclude from BOM” and “Exclude from position files” options

Please support the above-mentioned options so the BOM will not be populated with unneeded components. You can check the JLC repository for a solution: https://github.com/bennymeg/JLC-Plugin-for-KiCad/blob/master/plugins/process.py
 if not footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_POS_FILES:

 if not footprint.GetAttributes() & pcbnew.FP_EXCLUDE_FROM_BOM:

I had the same issue, and have fixed it. I can't push the code change, but you just need to add the following at line 111 in process.py:
if placed == True:
Then include the for and if statement underneath in the conditional block.

Still an issue in KiCad v8.0.4 with plugin v1.0.0.

Could you tell me the detail issue?

Sure, see T-1P17W321128A. Simple circuit, LED, Resistor & Pin header.
Pin header has "Exclude from bill of materials" checked.

Pin header is included in BOM:

Designator
Quantity
Value
Footprint
Package

D1
1
LED
LED_0603_1608Metric
smt

J1
1
Conn_01x02
PinHeader_1x02_P2.54mm_Vertical
tht

R1
1
100
R_0603_1608Metric_Pad0.98x0.95mm_HandSolder
smt

Hi
I get it,thanks very  much. I have asked the engineer evalute it.
Now if you choose DNP,it will show in the bom.
But if choose exclude from bill of materials,it will not show it.Thanks for the feedback.

Before we fix the problem,you could choose DNP,so our sale will not make quotation for the component


AxisSpans cannot be see through when custom FillColor is set

Issue: When setting the Color of a AxisSpan like the HorizontalSpan the opacity gets removed and cannot be set again
ScottPlot Version: 5.0.47
_HorizontalSpan = _WpfPlot.Plot.Add.HorizontalSpan(_FirstRightClickPosition.Value.X, mouseLocation.X, Colors.Red);

Result:

Note: Setting the FillHatch and FillHatch Color instead of the Fill Color does it correct:
_HorizontalSpan.FillHatch = new ScottPlot.Hatches.Dots();
_HorizontalSpan.FillHatchColor = Colors.Red;

Hi @StendProg,
okay i will try that, thank you very much!


[bug]: datetime picker is not taking the parents width.

Describe the bug

Although I am using grid the datetime button does not take its parent width
I solved it by deleting the static width in the component

Affected component/components
Datetime
How to reproduce
Just use the datetime component with grid
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
No response
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

fixed


OptionsetField_holder.ss is not conform with template changes introduced in 3.2

OptionsetField_holder.ss is still using id="$Name" whereas FormField_holder.ss is using id="$HolderID" as was introduced in 3.2 I believe.
This causes non-consistent holder naming (see image) and thus breaks modules such as display logic (cc @unclecheese).
I'm not sure if this is by design (as it might have other implications?) or an oversight.

@unclecheese just a note that I went away from using the checkboxsetfield for display logic, as it just felt too buggy. I'm instead using individual checkboxes now, which works just fine.
Above still feels a little inconsistent however.

Yes I think it needs to be fixed; I'm not happy to leave it as id="$Name" but it would be hard to change it without breaking existing 3.x.
Can we fix this in 4.x?

This is a bug, surely. Not a feature... I'd fix in 3.2

It can't be fixed in 3.2 without change in behaviour. Yes it's a bugfix, but semver requires it to be fixed without regressions. We've already broken a lot of templates in the new form IDs, which we promised we wouldn't under semver.

I thought we had an "old form markup" config fallback?

Not that I recall!

A whole bunch of changes have been merged with https://github.com/silverstripe/silverstripe-framework/pull/5826.
I've applied this fix to both templates (one for default and cms-forms theme):
New cms-forms theme version: https://github.com/open-sausages/silverstripe-framework/blob/bdb8e4016a82129de791fead4e5daccd3079111a/admin/themes/cms-forms/templates/forms/OptionsetField_holder.ss
Legacy (front-end theme) version: https://github.com/open-sausages/silverstripe-framework/blob/bdb8e4016a82129de791fead4e5daccd3079111a/templates/forms/OptionsetField_holder.ss

Not that I recall!

yep: FormTemplateHelper_Pre32 is what you need for this old (broken) behaviour. so users should be using that if they want the broken markup and using the default otherwise


Development classifier fine-tuned from Mistral 7B

Hi,
Thanks for the effort of publishing this significant code base etc.!
In Appendix B1 you write:

In addition to the main Llama 2 model used for evaluation, we also release HarmBench with a development classifier using a different base model and fine-tuning set. The development classifier is fine-tuned from Mistral 7B base using half of the fine-tuning set used for the test classifier.

Is the development classifier already published? If so, where do I find it?
Thanks!

We will release the validation and the official multimodal classifier later this week or earlier next week. I will keep this thread update

Hi,
I really like the project!
Will the adversarial training code also be made public? I could not find it in the repo.
Thanks!

We just released the adversarial training code and HF repo link for the model. We are still working on improving the validation classifier, and we hope to release it later this week.

We release the development classifier here at cais/HarmBench-Mistral-7b-val-cls.

Hi, thank you for releasing the amazing codebase and classifier models! I have one clarification question regarding the validation classifier usages. On page 18 of the paper, it's mentioned that

The test behaviors and classifier should not be used to develop attacks or defenses and are intended for evaluation only.

Does it mean that the final validation ASR in Table 8 (Attack Success Rate on HarmBench - Validation Behaviors) are computed based on the validation classifier (Mistral-7b), instead of the test classifier (Llama2-13b)?
Thank you in advance!

Hello,
We have validation and test versions of the classifiers and validation and test datasets of behaviors. This creates four combinations (validation/test classifier x validation/test behaviors). All ASR numbers in the current version of the paper are with the test classifier (i.e., test classifier + test behaviors, test classifier + validation behaviors).
The validation behaviors can be used to develop methods and select hyperparameters. The validation classifier can be used within methods to guide search processes. We provide the validation classifier purely for convenience. Methods are free to use other classifiers as well (e.g., PAIR and TAP use GPT-4 judges to guide optimization), but the test classifier should only be used for evaluation.
Sorry if this is confusing. We're happy to help if you have any more questions!

Thank you so much! This is super clear; very appreciate it!

Hi @mmazeika do you also provide the training procedures for your classifiers somewhere? That would be very helpful.

@sigeisler You can find information on the classifier fine-tuning in the paper under this section:
Appendix B.5.1. LLAMA 2 EVALUATION CLASSIFIER


How to display files on meteor 1.3 + reactjs

Hi,
I can use fileURL template helper on blaze.
If i use meteor 1.3 + reactjs, how can I display files?
I tried like below
src=`${image._downloadRoute}/${image._id}.${image.extension}`
Thank you

Take a look on: .link() method

.link() works fine!!
Thank you

link is giving output like
http://localhost:3000undefined/undefined/ap2LgFbeqa9gXDvTR/original/ap2LgFbeqa9gXDvTR
Why undefined?

Hi @ankibalyan ,
Sorry for delayed response. Could you drop your FilesCollection Contractor definition? Looks like _downloadRoute and _collectionName is missing. And how you're calling .link() method? on FileCursor?


Feature Discussion: Scroll to bottom is element is near bottom

When an element is too close to the bottom of the page for scrolling to place it at the top, there is a sudden stop when the page hits the bottom. There could be an option to scroll to the bottom if the element to be scrolled to is in this region.
Something in the config object like { clipToBottom: true }.
I'd be willing to create a PR if this sounds like a reasonable feature.

Ah ok, so you want to, if the scrolling will be cut short because you'll reach the end of the page, calculate the distance based on stopping at the bottom to provide a smoother animation?
If so, yes, I'm 100% in favor of this.

I would also make doing this the default behavior.

Yes, that's what I'd like to see.

Fixed: https://github.com/cferdinandi/smooth-scroll/releases/tag/v14.2.0


Incremental regeneration

Does this gem work with Jekyll 3 and the new incremental regeneration feature? I'm getting all my assets deleted (but not rebuilt) on every regeneration cycle (except the initial one). Is this a bug or am I doing something wrong?
@parkr, any idea?

I don't know! I haven't worked with this plugin before. A bunch of internals have changed since 2.x so it's very possible that this will break.
I'd suggest rewriting the monkey-patches as hook plugins.

This gem is working great for me as I'm on Octopress 2.x using Jekyll 2.x but you might want to look at the new AssetPipeline gem for Octopress 3. I believe Octopress 3 is now compatible with Jekyll 3 and all of the new Octopress is designed to be able to run on top of Jekyll meaning you should be able to use any of the pieces (gems) on their own. You can find it here: https://github.com/octopress/asset-pipeline if you're interested. Might be worth a try.

I have the same question, have any of you ran into any problems with this because we need something that can digest assets for a new client project and I'm sick of maintaining our own asset plugin so I came here looking for this one but we use Jekyll3 throughout our entire cluster.

I have a plan to refactor jekyll-assets to utilize maximum of Jekyll 3 API (as well as update to latest sprockets and so on and so on -- grand refactoring that will be close to rewriting it from scratch I believe), but currently lack of time. Hope I will find some on this weekend. But can't promise anything.

Anyone willing to help, welcome aboard! :D

This asset plugin is so much better then any of the other asset handlers I've seen for other static generators so far (even the new Jekyll one). It's handled every use-case I can throw at it.
@ixti For the next release, have you though about adding web component support? This is really the future of the web. Maybe this deserves its own issue, or maybe it's beyond the scope of this project. Either way I believe it's a very much needed solution.
I don't know any easy way to add components into the asset pipeline with Jekyll or other static generators without using something separately and manually like Grunt or Gulp, etc. Even then, there is no obvious way to handle concatenation or asset name hashing.
It seems that Vulcanize is the official way to handle this process, so maybe the answer lies in hooking into that, or maybe we need a jekyll-vulcanize gem. Probably best to use as much of Vulcanize as possible rather then reinvent it.
Components are installed as bower packages as a collection of html, css, and js (I don't think they are distributed with any preprocessor languages yet). The real issue is you will have something like
<link rel="import" href="components/google-map/google-map.html">

That html file will be in bower_components and may reference additional js and css files via relative paths. The issue is there is no way to use Jekyll assets to tell Jekyll to add the html file and the associated assets into the _site build.
See the Polymer Project and an example web component: https://github.com/Polymer/paper-dialog/blob/master/paper-dialog.html

After having taken a look at both this source, the way that it behaves and the logic behind it's behavior this thing needs a rewrite in the logic before it can even begin to integrate with regeneration.

It does not respond to the necessary methods that @alfredxing expects.  It has it's own pathname and modified? methods... these come from Sprockets, we can fix that in Jekyll no problem, because those are common methods and we should probably facilitate that.

It does some kind of weird unnecessary optimization that seems to only load static assets after they are used.  This is very unexpected behavior and needs to change, those assets need to exist early so that their change can trigger a change can trigger a rebuild.  This is an easy fix, use a hook and if we do not provide that hook, ask for it.  That way you can load your assets early.  If you wish to only write if they are used, make that an option, make it a setter and have a boolean getter to determine whether to write but I don't understand why that would even exist in the first place, it makes it hard to have hashed assets that are there for general purpose inclusion.

If I'm honest though, I would opt to rewrite it because a lot of this can be achieved with a fraction of the code given people take advantage of the way Jekyll behaves, duplicate a few base methods from Jekyll and let the regeneration take care of the rest.

Yeah I think too we could rewrite this with a fraction of the code. I am thinking of ways we could architect this better but haven't completed a plan yet.
Right now im doing this in my _plugins/ext.rb to rebuild the assets I need on each devepment rebuild which kind of mimic the rails-sprockets default to precompile some assets :
Jekyll::Hooks.register :site, :post_write do |site|
  # It just works™ (hacky way to precompile while I find a better solution)
  ['styles.css', 'default.js'].map do |asset|
    site.assets[asset].write(site.dest)
  end
end

Plus this fix to avoid jekyll 3 removing all the assets : https://github.com/didacte/jekyll-assets/commit/3d1ace7cadd380afda28bf5b0503197eda716299

The only problem I have (I'm using master) is that it will not regenerate the entire site if there is an asset change, assets do get notified of their need to write (on my Linux system -- with current jekyll-assets master) they do not however trigger a full rebuild of the entire site if there is an asset change because it doesn't preload assets so there is no way for me to shiv regenerate and check for the asset's modification to force a rebuild.

To avoid having to re-build all pages (because of fingerprints) when assets changes in development I am also adding this patch in my plugins/_ext.rb to keep fingerprints in production build but not development server :
Jekyll::Hooks.register :site, :pre_render do |site|
  if Jekyll.env == 'development'
    site.assets_config.cachebust = :none
    site.assets_config.js_compressor = nil
    site.assets_config.css_compressor = nil
  end
end

And hooks come to the rescue :+1: for that workaround, thanks.  I didn't even think of that >.>

Here is my version using sprockets 3 with support for incremental regeneration: https://github.com/envygeeks/ruby-jekyll3-assets - If you guys want I'm willing to hand over this code to jekyll-assets and make it Jekyll2 compatible (thought I don't know if that's even worth it) but this was built because we were running into the same problems as @fw42 and we needed something that relied more on environment mixed with options for things like compression and we wanted transpiling our ES6 so Firefox would stop being horrible and autoprefixing... both of which were not supported easily on Sprockets2.
Either way, if you guys want to get together I'm happy to hand this over to jekyll-assets.

@envygeeks nice work! thanks for sharing. I am using Jekyll3 too so no plan to make it Jekyll2 compatible on my side.

The temporary https://github.com/jekyll-assets/jekyll3-assets repo has full support for Jekyll3 (as previously mentioned) and will be merged into this in the next week as I bring the parity up so that nobody gets taken by surprise when it's merged in.


Is this repo still active?

I wonder if this repo is still active. Contributions seem to stop suddenly in sep/2022.

@sherfert @Lojjs

Hi, this repo is not updated anymore. But you can find the up-to-date Neo4j frontend code in the Neo4j public repo (https://github.com/neo4j/neo4j/tree/5.15/community/cypher/front-end), with the same Apache2 license. This repo was just a copy of that one, and synchronization was stopped.

Thanks!


Restore JDK19 testing for GitHub Actions

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Yes, refer to https://github.com/oracle/graalvm-reachability-metadata/pull/203 .

Describe the solution you'd like
A clear and concise description of what you want to happen.

Restore JDK19 testing for GitHub Actions.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Null.

Additional context
Add any other context or screenshots about the feature request here.

Linkes to https://github.com/apache/shardingsphere/issues/21347 .

I am working on this issue.


Structure configuration rather than Struct definition.

Hi there,
I see that you first need to define the shape of the data via Go struct, but how about "dynamic" data. Say I have already defined my data model in another part of the application (say rest framework), then I want to reuse that definition and generate configuration for Storm to use, then Storm will populate map[string]interface{} instead of a predefined structure.
Edit: Forgot to mention that querying is needed as well. Basically using Storm as schema less DB, akin to MongoDB.
Thanks.

Dynamic data can't be stored using Storm because Storm is kinda schemafull and is only compatible with structs right now. Future versions will be compatible though

Thanks for the response. I think having that feature can be very useful.

Totally, stay tuned :+1:


Tidy up edit view

The new proposed edit view is a modal when viewed on a desktop - this appears to be somewhat like how linkedIn supports updating your own info.

Link to figma page
https://www.figma.com/file/d0TvZWzn0tFrHQBNPliPCR/CAT-Directory?type=design&node-id=1449-292&mode=design&t=7FvXw73GO2Hej6GZ-0

The closest widget I can see for the tags that might look like the mockups is this one here:
https://tom-select.js.org/plugins/checkbox-options/
I haven't looked into the accessibility implications of using it.


Change default interface value

In order to follow the unbound default, here we cease to require that an
interface is passed to the module.  Instead, we allow this parameter to be
optional.  When set, this parameter behaves just as it did before.  When the
user does not provide this value, the defaults are no longer passed in, and thus
absent from the configuration file on disk resulting in the default values
coming from unbound.conf(5) which is to listen on localhost.

#183


DbQuery with .Include related entities

I want to use the new DbQuery / Query Types to query a SQL Server indexed view that does some joins, to simply the structure needed in EF Core - but upon querying, I need to include some relational entities.  How do you do that?
Exception message: InvalidOperationException: Unable to create a foreign key with the query type 'StoryQuery' as the principal type. Only entity types are allowed as foreign key principal types.

Steps to reproduce
    public Story
    {
        public long Id { get; set; }
        public DateTime StoryDate { get; set; }
        public ICollection<StoryTag> StoryTags { get; set; }
    }

    public class StoryTag
    {
        public long Id { get; set; }
        public long StoryId { get; set; }
        public long TagId { get; set; }
        public string TagText { get; set; }
    }

            var result = await context.Stories()
                .Where(predicate)
                .Include(s => s.StoryTag)
                .OrderByDescending(s => s.StoryDate)
                .Skip(0)
                .Take(10)
                .ToListAsync(cancellationToken);

If I add [InverseProperty] or [ForeignKey] to any of the navigation properties in the above, then I get the above-mentioned error.  How do we include the related entities when querying DbQuery instead of DbSet ?
Further technical details
EF Core version: 2.1.0-rc1-final
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 x64
IDE: JetBrains Rider 2018.1

@wernerbarnard It looks like the types have keys. Is there a reason you want to use query types for this rather than mapping these as entity types?

@ajcvickers
No specific reason, thought it's the new "standard" way for working with sql views - i'm using views to create a optimized / simpler interface to query a complex structure.
It's all working now by mapping the views to Entity types - but was wondering what the correct use case is, or why you can't .Include entities from Query Types - or perhaps i'm understanding the use case wrong?  Even if it's read-only, I would have thought that you could do that.

@wernerbarnard Docs for query types are here: https://docs.microsoft.com/en-us/ef/core/modeling/query-types They are about querying for types that don't have primary key. So more tables fall into the entity type bucket, and more views fall into the query type bucket, but both tables without keys and views with keys are also possible, just less common.

@ajcvickers I am having this problem as well and I don't use EntityType because I need to use a read only DBContext with OData, which is mapped to SQL queries, not even views because I cannot create them.
In my case I map the QueryType to a Query and not a view, I show you how below:
In DbContext
public virtual DbQuery As { get; set; }
public virtual DbQuery Bs { get; set; }
In Mapping configuration class
public void Configure(QueryTypeBuilder builder)
{
builder.ToQuery(() => _context.Bs.FromSql(Sql, _tenantProvider.GetTenant()).AsQueryable());
builder.HasOne(qml => qml.B);
}
I think I cannot do what I am trying to, but is there an alternative route for me to follow?
How can I map an entity with EF Core to a SQL script?

@norcino Regardless of whether a type is mapped to a view, a table, or something else, if it's a query type (keyless entity type in 3.0), then it can't have a key. If it doesn't have a key, then that key cannot be used to setup a relationship with another type. However, if the type does have a key, then map it as an entity type with a key, even if it is backed by a view.
With regard to ToQuery, issue 13358 is tracking supporting this for all entity types.


Serialization check -- only do one level

The current automatic check for serialization is too slow to operate as a unit test or as part of the bloq_report_card notebook. We've been sprinkling in some skips but top-level bloqs will always be slow and always be sneaking in.
The check should just do one level of decomposition and serialization. The serializability of grand-callees of a bloq are not under the purview of the check/unit test for that bloq.

Also, if all bloqs have a serialization unit test, then chances are that grand callees are also serializable and therefore we can not have them as part of the unit test for every bloq