Grafana shows wrong values when alerts triggered.

I have created alerts using node-exporter, prometheus and grafana.
Grafana Query used for CPU Usage and Memory Usage :-
100 * (1 - avg(rate(node_cpu_seconds_total{mode=“idle”, instance=“custom:port” , job=“nodeexporter”}[1m])))
((node_memory_MemTotal_bytes{instance="ip",job="node-exporter"}	 - node_memory_MemAvailable_bytes{instance="ip",job="node-exporter"}) / node_memory_MemTotal_bytes{instance="ip",job="node-exporter"}) * 100
when the alerts triggered it sends an alerts but the actual problem is when i compare alerts with GCP or the machine, alerts its shows different values. like in GCP its 45% then in Grafana its 80%.
How to solve this problem Grafana alerts showing wrong values how to get the exact values.
Steps tried:-
Changed scrape_interval to 5s.
changed CPU query
checked prometheus collecting the same data as it shows in Grafana.
Prometheus.yml file:-
global:
scrape_interval: 15s
evaluation_interval: 15s
alerting:
alertmanagers:

static_configs:

targets:
rule_files:

scrape_configs:
job_name: "prometheus"static_configs:
targets: [“customip:port”]

It is not thanos issue. The node_cpu_seconds_total is the sum of all cpu cores use seconds. you need divide to the number of cores.
refrence:  https://github.com/prometheus/node_exporter/blob/master/docs/node-mixin/lib/prom-mixin.libsonnet#L57


Update operation sets boolean fields to NULL instead of false, violating non-null constraint

Hello,
I'm currently using bun in a project and I've encountered an issue with boolean fields defaulting to NULL instead of false during updates.
Here's the bun model struct I'm using:
type Entity struct {
    ID            int               `bun:"id,autoincrement"`
    IsActive      bool              `bun:"is_active,notnull,default:true"` // corresponds to is_active BOOLEAN NOT NULL DEFAULT TRUE in the schema
}

And here's the function I'm using to update the Entity:
func (r *EntityRepository) UpdateEntity(ctx context.Context, id int, isActive bool) (*Entity, error) {
    // ...
    entity := &Entity{
        ID: id,
        IsActive: isActive,
    }
    _, err := r.DB.NewUpdate().Model(entity).Column("is_active").WherePK().Exec(ctx)
    // ...
}

In my test case, when I'm setting IsActive to false explicitly and try to update the record, I get an error:  null value in column "is_active" violates not-null constraint error, which indicates that the is_active column is being set to NULL.
I've checked/debugged my code and can confirm that IsActive is being set to false and not NULL.
This issue seems to occur only during updates when the boolean value is explicitly set to false.
Thank you.

tl;dr
Try using .Value() method to control the which value gets appended to the query.
The following should work:
db.NewUpdate().
  Model(entity).
  Column("is_active").
  Value("is_active", "?", "false"). // will substitute to is_active = false
  WherePK().
  Exec(ctx)

This is a workaround, because the behaviour you've described looks buggy. For more about that, read on.

This happens because any field that has a bun:"default:x" tag also gets a "nullzero" tag.:
https://github.com/uptrace/bun/blob/8a4383505d7e954897b23811a412b9cdafaf41eb/schema/table.go#L378-L381
Why? Because for INSERT queries bun can correctly decide to append DEFAULT placeholder for a field that has a zero value:
https://github.com/uptrace/bun/blob/8a4383505d7e954897b23811a412b9cdafaf41eb/query_insert.go#L335-L338
That's helpful, even though not all dialects support this feature (looking at you, SQLite).
But then, once we try to set a field that has a default value to false (zero boolean value) in UpdateQuery we get the bug you've described.  It happens here:
https://github.com/uptrace/bun/blob/8a4383505d7e954897b23811a412b9cdafaf41eb/schema/field.go#L97-L99
I think the long-term solution would be to adding a HasDefault bool field to schema.Field and using it in the InsertQuery instead.


[AutoDiff] Fix PullbackCloner tangent value category mismatch crash

Cherry-pick of https://github.com/apple/swift/pull/33512 from master branch.

Fix semantic member getter pullback generation crash due to tangent value category mismatch.
Resolves SR-13411.

cc @efremale

@swift-ci Please test tensorflow


Fix things in tutorial

Closes: n/a
Description

Fix things that I noticed while going through the tutorial.

Adjust outputs to match what I observed
Make commands more exact

PR author checklist:

[ ] Added changelog entry, using unclog. n/a (?): just docs
[ ] Added tests - n/a: just docs
[ ] Linked to GitHub issue - n/a: not related to an issue
[ ] Updated code comments and documentation (e.g., docs/) - n/a: just docs
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Sweet, thanks!

Done going through the tutorial for now, so I'm marking this ready.


add test suite and fixes #3

Except the test files, adding some dev dependencies package for testing.
Using mocha, chai, karma with some plugins as test framework.
And using the gulp for tasks like creating a mock server and the code coverage.
Libraries like core-js, sockjs and sockjs-client are make sure the browser compatibility test pass.

I hope I have time to review this soon, very low bandwith this week.

Haha, it's fine, take it easy :).
And Happy Dragon Boat Festival today.

Happy festival to you 😊
Le 9 juin 2016 13:19, "yuye"<EMAIL_ADDRESS>a écrit :

Haha, it's fine, take it easy :).
And Happy Dragon Boat Festival today.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JSteunou/webstomp-client/pull/14#issuecomment-224866805,
or mute the thread
https://github.com/notifications/unsubscribe/ACNytygR0JbyTwagAuw11yd5XksRskrkks5qJ_a_gaJpZM4Ix08g
.

I'm not a big fan of gulp, I replaced all grunt / gulp tasks with npm scripts inside my projects. Could you think of making several webpack.config and calling those in command line, making scripts for mock server, test runner, cleaning. Also files created for test purpose should be in a different folder than dist/, I prefer leaving it untouched except for each new release. Maybe a folder inside test/ or a tmp/ folder.
Same for coverage, coveralls can be used in CLI, no need for gulp for that.

No problem.Your repo, your rule:smile:.I will update it.

Thank you @yeyu456 your help is really appreciated!

@JSteunou already finished.You can review now.remove all the gulp and use purely node script.


Pushing to PyPI?

Hi,
Any plans to push master into PyPI? It has a fix for an issue I'm experiencing.
Thanks!

I have some problems with getting the functional tests to pass now, I should look into that first.

Checking back in here, any hopes we'll see this new version in pypi?

I'm very much overloaded at the moment.  I can't promise anything, but next week there may be a small opening.
There isn't that much needed to be done, spin up some test servers of different flavors, run the functional tests, eventually investigate why they are failing, eventually beat something into submission (like, library code, tests or the server code), check the commit history and diff towards the previous version of the library, fix the ChangeLog, make some release notes ... and then notify @cyrilrbt who is the official owner of the pypi repo.

Hi !
I think that https://github.com/python-caldav/caldav/pull/30 might fix some issue observed when using the library ? I'm wondering if you might have time to do the release those next weeks ?
Regards

I started looking into getting the test-instances of the caldav servers back up again yesterday, but without much success.  I'll try to prioritize this.

This week has so far been very busy with real life tings :-(

Friendly ping!

I'm alive!  Hm.  I'll start looking into getting the caldav server test instances up and running again.

Now there is something running at http://bedework-caldav-servers.cloudapps.bitbit.net/ ... I'll try to see if I can get tests running towards it.

<3! as always, very much appreciated.
On Wed, Mar 6, 2019 at 9:22 AM Tobias Brox<EMAIL_ADDRESS>wrote:

Now there is something running at
http://bedework-caldav-servers.cloudapps.bitbit.net/ ... I'll try to see
if I can get tests running towards it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/python-caldav/caldav/issues/27#issuecomment-470197000,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMeWrlswOt3k0mzQRqonuxiEdv3U8n0ks5vT_lAgaJpZM4SXn88
.

--
mike megally

So long time since I've been dealing with this ...
I'm sending this to the bedework server:
<?xml version='1.0' encoding='utf-8'?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV" xmlns:I="http://apple.com/ns/ical/">
  <ns0:prop xmlns:ns0="DAV:">
    <C:calendar-data>
      <C:expand start="20060713T170000" end="20060715T170000"/>
    </C:calendar-data>
  </ns0:prop>
  <C:filter>
    <C:comp-filter name="VCALENDAR">
      <C:comp-filter name="VEVENT">
        <C:time-range start="20060713T170000" end="20060715T170000"/>
      </C:comp-filter>
    </C:comp-filter>
  </C:filter>
</C:calendar-query>

And I get this unexpected error in return:
<?xml version="1.0" encoding="UTF-8" ?>
<DAV:error xmlns="urn:ietf:params:xml:ns:caldav"
              xmlns:AI="http://apple.com/ns/ical/"
              xmlns:ical="http://www.w3.org/2002/12/cal/ical#"
              xmlns:BSS="http://bedeworkcalserver.org/ns/"
              xmlns:CS="http://calendarserver.org/ns/"
              xmlns:DAV="DAV:">
  <valid-filter>Not UTC</valid-filter>
</DAV:error>

Probably I need to specify time zone in the timestamps.  Probably the library should enforce local timezone if nothing is specified.  I'll create a separate issue for that.  I'd like to have as few compatibility problems as possible when making the next release.

I don't have more time available right now, unfortunately ... but I hope to follow up soon.  Feel free to nag again if I drop the ball again.

There are quite some skipped tests towards Bedework server, because they broke earlier.  I'm wondering if those skips are also due to misc compatibility-issues where the python-caldav implementation is deviating from the standard (like I found in #41) or if they are due to the Bedework server not being feature-complete.  I should probably go through those skips again.
I'm also running the tests against Zimbra and DAViCal now.
I should also go through all the issues and sort what should be fixed before the upcoming release and what should not.  And I need to supply a ChangeLog.

zimbra, DAViCal and Bedeworks now

I'm now trying to roll out a test server running sabre/dav.  (this was formerly known as baikal if I've understood it right, and it's PHP-based).

Hmmm ... sabre/dav from https://github.com/sabre-io/dav installed at http://dav-caldav-servers.cloudapps.bitbit.net/ ... but this seems a bit wrong to me.  The "Getting started"-guide at http://sabre.io/dav/gettingstarted/ says I should ... create a file server.php and populate it with php code.  Perhaps I should find another caldav server implementation to play with.

So sabre/dav is the library, and Baikal (from https://github.com/sabre-io/Baikal) is the actual caldav server implementation.  So now I know ... but I'm out of time for today.

Only #40 and #44 left ... plus to look through the changelog.  And ... eventually, the final code review and push to pypi has to be done by @cyrilrbt ... ping? :-)

THANK YOU

#40 is waiting for input from the xandikos developers.  I have a feeling the test breakage there is due to bugs over there and not in the caldav library.
Here are the brief release notes for 0.6.0:

Lots and lots of bugfixes, tweaks and work-arounds, trying to achieve consistent results towards a wide range of server implementations.
Some few minor enhancements to the public API
One change may break backward-compatibility with 0.5.0 - date_search is now timezone-aware.  Timestamps with tzinfo will be converted to UTC.  Timestamps without tzinfo will be assumed to be in the locally configured timezone at the client and converted to UTC.  In 0.5.0, all timestamps sent to date_search was assumed to be in UTC.

I will try to see if I can find some time to do more testing, and if we get more information from xandikos, I will try to deal with that - so it may happen that there will be more bugfixes coming up before release of 0.6.0.  At the other hand, I'm chronically busy, it may be that another year or three will pass until next time I can find some time to deal with the caldav library.  @cyrilrbt has the keys to push 0.6.0 to PyPI, so I hope he's alive and well and have time to look into it soon.

Awesome, I'll take care of it today!
-------- Original Message --------
On Mar 10, 2019, 13:21, Tobias Brox wrote:

#40 is waiting for input from the xandikos developers. I have a feeling the test breakage there is due to bugs over there and not in the caldav library.
Here are the brief release notes for 0.6.0:

Lots and lots of bugfixes, tweaks and work-arounds, trying to achieve consistent results towards a wide range of server implementations.
Some few minor enhancements to the public API
One change may break backward-compatibility with 0.5.0 - date_search is now timezone-aware. Timestamps with tzinfo will be converted to UTC. Timestamps without tzinfo will be assumed to be in the locally configured timezone at the client and converted to UTC. In 0.5.0, all timestamps sent to date_search was assumed to be in UTC.

I will try to see if I can find some time to do more testing, and if we get more information from xandikos, I will try to deal with that - so it may happen that there will be more bugfixes coming up before release of 0.6.0. At the other hand, I'm chronically busy, it may be that another year or three will pass until next time I can find some time to deal with the caldav library. @cyrilrbt has the keys to push 0.6.0 to PyPI, so I hope he's alive and well and have time to look into it soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

And it's released, thanks everyone!

Latest problem with xandikos is due to "text/calendar" not being included in the accept header.  Possibly there will be a 0.6.1-release soon.

Thanks!!


Update package.json

Added scope to package name to play nicely worldwide. :)

Why are these changes needed?

Related issue number

Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

added scoping to this package; borrowed from existing microsoft project convention (office-js).

Closing since we haven't heard from you - please feel free to reopen if you'd like


[BEAM-9342[ Update bytebuddy to version 1.10.8

R: @kennknowles @lukecwik

Run Python PreCommit

Run Portable_Python PreCommit

Run Go PreCommit

Rebased to catch with the fix for the formatting error #11010

Run Java PreCommit

Merging eagerly, the python error is unrelated to this PR and related to some missing import on Gcp related tests.


DT-46: Disable DAA work until we can get back to it in the future.

Addresses
https://broadworkbench.atlassian.net/browse/DT-46
Summary
DAA work has been pushed off for at least the next six months. In the meantime, we should disable it so that dev work is closer to what is released to production.

Have you read Terra's Contributing Guide lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

Does this have any testing repercussions? Are there tests we need to disable or add or anything like that?

Our tests are 100% component tests and all tests passed, so there should be no issues on that front.


English Documentation

This seems like a great alternative to Vue.
As a suggestion, it would be great if the documentation would be available in English.

I hope I can write english document, but my english is poor, so I don't know how to help you

Your English is fine. :)
I guess I could try and help by using Google Translate and then see if things make sense.

Haha, my english is so simple, I don't know how to explain the technology concepts.

@terrybr  If you save any question, please tell me

@musicode Is there a way to update data from component using this like in Vue?
this.$emit('field', value);

Never mind, I found out that I can use
self.$parent.set('field', value);
Yox has been great so far.  Keep up the great work!

you can use fire method like below:
this.fire(name: string, data?: object, downward?: boolean)

fire method bubble up event as default, so you can call fire without downward:
this.fire('name')

looks very cool
好像很不错的样子

@all if you are an english developer and you need some examples, please tell me, I will add new examples in readme.
I'm sorry for my english.

看着挺不错的，之前为了兼容IE8，被迫使用了avalonjs。点个star，支持下。

@tangshengfei 用了你会觉得更不错哦


Update OpenTelemetry dependencies to 1.27.0

OpenTelemetry 1.27.0 is the first version that includes the (now stable) Logs SDK and LogBridge API.

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


Don't encode quotes to entities in

By default any double quotes " withing a <script> element are converted to ", increasing the size of the resulting file.

Same for <style> element and for single quote ' which is encoded as '

:+1: I have the same

+1 this is happening with quotes in a tspan as well.
e.g.
input
<tspan id="height">0'0"</tspan>

output
<tspan id="height">0&apos;0&quot;</tspan>

This is messing up text in my SVGs. @shaneparsons did you find a workaround?

This was causing issues with single and double quotes in the style element of my svgs. I have not found an svgo-based solution, but a simple workaround that suffices for my case is to run a postprocessing step after svgo to find and replace the encoded quotes:
sed -i "s/'/'/g;s/"/\"/g" file.svg

@jgonera This was a long time ago so it's hard to remember... But I'm pretty sure I just did a find / replace after the processing. e.g.
find: &apos; replace: '
find: &quot; replace: "
It's not ideal... but my svgs weren't updated often so it wasn't too bad.

Confirmed this is still an issue, unfortunately :/ And it can break things as mentioned a couple of comments above.

Which things this break exactly? Looks like browsers interpet html entities as normal characters. Styles and scripts with " work fine.

Closing until somebody provide a repro with visual regression


Server 2008 R2 / IIS 7.5 - Works as subdomain but not subfolder/app

Describe the bug
I want to setup it up as a subfolder / custom application.  I have made the change to the index.html as instructed (changing <base href="/"> to <base href="/pass/">) but the page just says on "Loading Passcore...".  The browser loads the index.html but gets 403 / forbidden codes on loading any of the java or css files.  I don't see any errors in the application log or in the logs/stdout (I did configure the logging and logs do get created there).
Making no other changes other then deleting the subfolder/app and creating it as a subdomain and it loads right up.  I have to put it on a different port though because IIS 7.5 doesn't support SNI and I already have an SSL site running on this.

@unquietwiki did you install PassCore as subfolder?

Just to add, "works" on the subdomain isn't completely working either.  As I'm trying to customize and test it, I cannot get it to change any passwords.  I've tried with and without the LDAP configuration.
One odd thing is it will not accept ANY username that contains an @ symbol.  It always errors with "enter valid username" (note: NOT enter valid 'email address').  I'm very familiar with regex and tried changing the options in the config to no avail.
If I try it without LDAP config I get nothing but "username could not be found."  With LDAP config the best I've gotten is "server is unwilling to process the request."

What version are you using?

3.3.0

Can you try 3.5?

Sorry I've already moved on to a different solution (developed our own)


Improve performance accross several kernels with better parameters

With this PR:

our matmul achieves 90% dpnp performance on iGPU.
catastrophic performances on max series gpu is fixed of KMeans

also fix compatibility with latest versions of dpctl.
Closes https://github.com/IntelPython/numba-dpex/issues/984

catastrophic performances on max series gpu is fixed

This is great! How does it compare with dpnp/MKL on max series now?

Sorry, I meant

catastrophic performance of kmeans

so nothing new here :-( I couldn't check matmul performance on max series yet with the new parameters or perform another autotune.
On Flex it's not as good as 90% of dpnp performance, it's about 50% performance with those parameters, but it still looks decent.
It's likely that to aim at near-maximum performance on all devices, we'd need to keep a dictionary of best grid-searched parameters for each device, or let the user perform an auto-tune and cache the results in a local config folder before using the software. (like it seems triton does already)

The good performance announcement of the matmul was a false flag, there were a bug for some combinations of parameters that made it look fast, but the output was wrong.
I've updated all parameters for KMeans, matmul and topk with best parameter found for the PVC gpu. I've found best parameters found on the PVC to translate reasonably well to other GPUs, while the opposite is not true, optimizing on iGPU or Flex can give catastrophic performance on PVC.
The matmul remains consistently at 25-50%performance of dpnp.


Right-clicking draws

Fun fact: Did you know that Creative Noters lets you draw with any mouse button, including the right and middle buttons?
I think it ought to be only the left button that draws...

Should be fixed in https://github.com/parnikkapore/quiknotes-fe/commit/e6c30a6fc712e6f72567241a6f2eef811543b465


Fix ug

Fixes Jeykll syntax error (hopefully)

Codecov Report
Base: 60.26% // Head: 60.26% // No change to project coverage :thumbsup:

Coverage data is based on head (83775c6) compared to base (275f44d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #268   +/-   ##
=========================================
  Coverage     60.26%   60.26%
  Complexity      629      629
=========================================
  Files           112      112
  Lines          2290     2290
  Branches        241      241
=========================================
  Hits           1380     1380
  Misses          839      839
  Partials         71       71

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

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


Update src/README.md with latest additions

This PR updates the overview in src/README.md to include the latest tests of Bigarray, Bytes, and Float.Array.

Merging as this should be non-controversial :wink:


Switch to Material Design icons

Many of the common actions are currently represented by buttons filled with text. These can be easily replaced by icons, such as < for Previous, > for Next, and so on.
Doing so will hopefully reduce visual clutter significantly without compromising usability.

Done in v.0.2.0.


Private note is required when creating Custom benefit

This should clearly be optional 🤔

Currently, we use a single BenefitCustomProperties schema for both input and output. Problem is, the output has no default value, making it required.
We should introduce a BenefitCustomCreateProperties, like we already do for other benefits, where the note has a None default.

@frankie567 i have raised the PR for the same https://github.com/polarsource/polar/pull/4099


Handle unknown commands

Hi,
Thanks for your great work.
I'm asking for a way to handle unknown commands.
My bot is handling 2 commands as the following.
slack.Command("shout <word>", func(conv hanu.ConversationInterface) {
	str, _ := conv.String("word")
	fmt.Println(conv.Message().Text())
	conv.Reply(strings.ToUpper(str))
})

slack.Command("your version", func(conv hanu.ConversationInterface) {
	conv.Reply("Thanks for asking! I'm running `%s`", "323")
})

I want the bot to reply a message such as I don't understand your command when someone tries to send it an undefined command. Is it possible? Something like:
slack.UnknownCommand(func(conv hanu.ConversationInterface) {
	conv.Reply("Thanks for asking! But I don't understand your command.")
})

+1
I would like any unknown command to default to the help command, just like you would expect when using any CLI application.

I added this in PR #14


Event Time Offset

Hi Ivan,
have you considered adding an offset parameter to trigger for an event before or after a calendar event takes place?
Example usecase: I want to preheat my coffee maschine before my workday starts which is indicated by a event in my calendar.
Thanks for considering!

Hey, thank you for interest!
That's pretty interesting idea, I definitely should add this functionality in next release.

Hey @mrtzlbm,
I've added calendarOffset property in latest release, it allows to add offset for all calendar events. Be careful, it works for both start and end of event.
I'm going to add eventNotifications configuration in the future to allow notify before or after event start/end but for now added property should be enough.

Hi @uamanager,
awesome! Thank you for implementing this. I will try it asap.

Another idea along the same lines, is to have separate / different offset for before after event time.
My use case, I was to turn on plug with my kid's portal before her online class, would need time to boot up – 5 minutes before the event, and turn off after class is done – don't really want it to be turned off 5 minutes before class is over, as it would work in the current version, rather I'd like to be able to turn it off 10 minutes after class is over, to account for possible delays – need negative offset for "after" the event.
And while we at it, custom offset per event would be very useful, as it will allow to create event specific scenarios.
Thank you.

@alexindigo Sure, that's what I'm planning to implement at the end. Calendar offset is more like temporary workaround and timezone offset feature.
I'll notify everyone in this issue about feature readiness.
Thanks for sharing your scenario of plugin usage)

Hey @mrtzlbm and @alexindigo!
I've finally delivered notification feature, it's available in version 2.0.1
Here are some examples on how to use it:
{
  // calendar configuration
  "calendarEvents": [
    {
      // event configuration
      "calendarEventNotifications": [
        {
          // notification will be triggered 15 minutes before event start
          "notificationName": "event-notification-name-before-start-15m",
          "notificationStartOffset": -15
        },
        {
          // notification will be triggered 15 minutes after event start
          "notificationName": "event-notification-name-after-start-15m",
          "notificationStartOffset": 15
        },
        {
          // notification will be triggered 15 minutes before event end
          "notificationName": "event-notification-name-before-end-15m",
          "notificationEndOffset": -15
        },
        {
          // notification will be triggered 15 minutes after event end
          "notificationName": "event-notification-name-after-end-15m",
          "notificationEndOffset": 15
        }
      ]
    }
  ]
}

Maximum notification offset is +/-60 minutes, otherwise it defaults to +/-60 respectively.
Keep in mind that calendarOffset option is removed in favour of notifications feature.
Thank you for this feature report and your use-cases!
Stay safe🇺🇦

Hi @uamanager!
Thank you so much for your work, the notification system is really cool and offers a lot of customization, truly great work on your part!
Just curious, why is the max offset 60 minutes? I actually have a usecase where I'd like to preheat my coffee machine, starting 2h before an event starts.
Thanks again, stay safe!
Slava Ukraini! 🇺🇦

It's easy to adjust) 60 minutes because initially I was going to use not the best option from performance point of view for calculating active events.
Let me apply quick update and increase it to 24h.

@mrtzlbm Restriction removed, so feel free to configure any offset in minutes
Heroyam Slava!🇺🇦

Woah! Thanks a lot for the quick update.
With these new features I'll be using even more calendar powered functionality.


SW-2629 Set id to all onChange() functions

This is because new version of web-component doesn't return the id from the component, so we need to explicitly set it. After this change any component's id can be changed to whatever id we need in the HTML, because data model id is set in the onChange function

BatchDetailsModal.tsx

Sure, I'll merge this after tracking v1 is released

Thanks for the changes, looks good. Let's plan how to test these changes before we merge it in? We can maybe share the load.. and merge after the production release.

We need to test all these flows:

Create new organization
Edit organization
Create inventory
Filter inventory list
Search inventory list
Add new batch
Edit batch
Single seedling withdrawal
Multiple seedling withdrawal
Sensor kit set up flow
Edit my account
Create nursery
Edit nursery
Search seedbank
Create seedbank
Edit seedbank
Search withdrawal log
Filter withdrawal log
Reassignment flow
Search people
Create person
Edit person
Search planting site
Create planting site
Edit planting site
Plant dashboard (change zone and plot)
Search species
Filter Species
Create new species
Edit species
Search accession
Filter accession
Create accession
Edit accession
Add / edit viability tests
Accession withdraw flow

This PR with the version that reverts mui/styles change in web-components, doesn't initialize the theme provider correctly. So I would suggest that we merge https://github.com/terraware/terraware-web/pull/987 directly and close this PR

This PR with the version that reverts mui/styles change in web-components, doesn't initialize the theme provider correctly. So I would suggest that we merge #987 directly and close this PR

@constanzauanini are you referring to this PR? https://github.com/terraware/web-components/pull/234/files
It does not break anything. It reverted the changes back to how things were when it worked before. I also tested it then and just now.
Ideally we should have just one PR with the onChange related changes.

This PR with the version that reverts mui/styles change in web-components, doesn't initialize the theme provider correctly. So I would suggest that we merge #987 directly and close this PR

@constanzauanini are you referring to this PR? https://github.com/terraware/web-components/pull/234/files It does not break anything. It reverted the changes back to how things were when it worked before. I also tested it then and just now. Ideally we should have just one PR with the onChange related changes.

This PR only has the onChange related changes, but the Vercel link doesn't work and if you take a look at the console, the issue is related to the theme initialization.

This PR with the version that reverts mui/styles change in web-components, doesn't initialize the theme provider correctly. So I would suggest that we merge #987 directly and close this PR

@constanzauanini are you referring to this PR? https://github.com/terraware/web-components/pull/234/files It does not break anything. It reverted the changes back to how things were when it worked before. I also tested it then and just now. Ideally we should have just one PR with the onChange related changes.

This PR only has the onChange related changes, but the Vercel link doesn't work and if you take a look at the console, the issue is related to the theme initialization.

I suspect something else is off : see https://github.com/terraware/terraware-web/pull/990

This PR with the version that reverts mui/styles change in web-components, doesn't initialize the theme provider correctly. So I would suggest that we merge #987 directly and close this PR

@constanzauanini are you referring to this PR? https://github.com/terraware/web-components/pull/234/files It does not break anything. It reverted the changes back to how things were when it worked before. I also tested it then and just now. Ideally we should have just one PR with the onChange related changes.

This PR only has the onChange related changes, but the Vercel link doesn't work and if you take a look at the console, the issue is related to the theme initialization.

I suspect something else is off : see #990

Oh, thanks!! I hadn't seen that!

This PR with the version that reverts mui/styles change in web-components, doesn't initialize the theme provider correctly. So I would suggest that we merge #987 directly and close this PR

@constanzauanini are you referring to this PR? https://github.com/terraware/web-components/pull/234/files It does not break anything. It reverted the changes back to how things were when it worked before. I also tested it then and just now. Ideally we should have just one PR with the onChange related changes.

This PR only has the onChange related changes, but the Vercel link doesn't work and if you take a look at the console, the issue is related to the theme initialization.

I suspect something else is off : see #990

Oh, thanks!! I hadn't seen that!

Just to confirm, I created a new PR https://github.com/terraware/terraware-web/pull/992 with only the version upgrade to web-components. If it fails, we can re-discuss the fix. If we want to go with version 57, we have to re-revert the revert :0 and create version 61 for Charlie to work off.

#992

Without this onChange changes, version 58 will fail because we need to remove the id parameters from the onChange. I just reverted package.json and yarn.lock to be like main and only changed the web-components version and still getting errors :(

This PR with the version that reverts mui/styles change in web-components, doesn't initialize the theme provider correctly. So I would suggest that we merge #987 directly and close this PR

@constanzauanini are you referring to this PR? https://github.com/terraware/web-components/pull/234/files It does not break anything. It reverted the changes back to how things were when it worked before. I also tested it then and just now. Ideally we should have just one PR with the onChange related changes.

This PR only has the onChange related changes, but the Vercel link doesn't work and if you take a look at the console, the issue is related to the theme initialization.

I suspect something else is off : see #990

Oh, thanks!! I hadn't seen that!

Just to confirm, I created a new PR #992 with only the version upgrade to web-components. If it fails, we can re-discuss the fix. If we want to go with version 57, we have to re-revert the revert :0 and create version 61 for Charlie to work off.

Without these onChange changes, version 58 will fail because we need to remove the id parameters from the onChange. I just reverted package.json and yarn.lock to be like main and only changed the web-components version and still getting errors :(

can you try one last thing.. create a new branch from this branch and send a PR out of that?

PR is redone in https://github.com/terraware/terraware-web/pull/995


polygon shapes are not transparent [REPLACEMENT ISSUE]

The original issue
Id: 44
Title: polygon shapes are not transparent

could not be created.
This is a dummy issue, replacing the original one. It contains everything but the original issue description. In case the gitlab repository is still existing, visit the following link to show the original issue:
TODO

I think this issue is fixed.


Browserify transform

Please, add vueify transform to package.json, to vue-slider-component work with Browserify. This should be enough:
"browserify": {
  "transform": ["vueify"]
}

Thanks!

I'm sorry, I've never used browserify, isn't it only change the package.json, or need other operation, if you can, you can try to pull request.

In reality, it needs to substitute the template strings for expressions too, because of this bug. =/
If you allow me, I can PR with these two changes.

of course

Thanks! :smile:
The dist/ version has a conflict with Browserify, and I do not know how to fix at the time, so I left a note in README.

npm has been updated, You can try whether normal use.

Only works with full path of .vue file. Maybe if main value in package.json be changed to vue-slider-component/src/vue2-slider.vue it work. This modification can break webpack (I've never used webpack haha)?

This may not be able to modify, because some people are not used .vue file, packaged in umd can allow more people to use.

I understand. Nice component, anyway! :+1:


update file path representation

As discussed https://github.com/clamsproject/mmif/issues/151, we want file locations to be a valid URI format. Changes made to specification, and hence the SDK needs to be updated accordingly.

done via #152.


Test coverage

Codecov Report

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

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

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Std::iter::once

Rendered

+1, I've wanted this before and disliked the IMO relatively ugly solutions.

:+1: I think this would be nice. As the RFC states, and as I'm sure droves of people will be tripping over each other to point out, this thing is already possible in a variety of different ways. The point is that this would make the intent clear and its use concise. The most common trick used that I've seen is Some(x).into_iter(), but a dedicated function like once has the benefit of being easy to discover and document, which is useful for newcomers.

I don't really see what's wrong with the Some(x).into_iter() solution?  Other than discoverability, I suppose.

@pythonesque Discoverability, ergonomics, and looking strange (coming across it for the first time, it looks odd and you might be tempted to think it's an iterator over Option).

When someone asks how to do this, Some(x).into_iter() is a trick, iter::once(x) is a solution (even if the implementation is the same).

Let's just say I've written //TODO factor out single element iterator a few times :).

I made an issue about this before, but was discouraged: #437.

+1, I had to define this in html5ever to get reasonable APIs.

Could you add some examples where this is useful to the RFC?  I've done at least some stuff with iterators and have never run into this.  It is non-obvious to me why iterators are even relevant if you've only got one thing.

bikeshedding on the name, iterators (and only iterators?) yield things.  If you want and iterator that yields a value once, how about:
somevalue.yield_once()?

Adding a method on every single value type is unacceptable.

It is non-obvious to me why iterators are even relevant if you've only got one thing.

@drewm1980: For example, in one of my library's tests I perform a globbing operation to get a list of paths to fixtures, but there's one fixture in a non-standard location (beyond my control), so what I do is I get the iterator for the glob, then I chain onto it the single extra path, so that then I can iterate over the composed iterator as one thing, instead of iterating over the glob, then doing it again only for the extra path that wasn't present in the glob results.
Keep in mind this is just one example of many. Perhaps you have some code that operates on iterators, but you only have one item, so you create an iterator consisting solely of that item.

It is non-obvious to me why iterators are even relevant if you've only got one thing.

It is useful when chaining together iterators.

This could potentially replace std::iter::repeat with std::iter::once().cycle(); whether that is desirable is undecided.
(You can't replace this with repeat, since repeat needs a Clone bound, while once does not.)

@drewm1980

It is non-obvious to me why iterators are even relevant if you've only got one thing.

html5ever accepts an iterator of Strings, to support incremental parsing. But this kind of ruins the syntax for the common case of parsing a whole document, if we don't have something like once.

+0.5.
While Some(x).into_iter() is usable for this I think it's a natural thing to have alongside other "leaf" combinators like repeat and count. I don't see a lot of downside to growing the API in this way.
(I do suspect that if we add this, we'll want iter::empty or some such as well.)

Thanks for the example use cases guys. RE iterator chaining, don't iterators already chain nicely by design?  Are there API's taking iterators of iterators that force you to increase the level of iteratorness in the middle of the chain?

Anyway, +1 if it's not in the prelude, or if it's in the prelude with a name that at least hints it's related to iterators, i.e. "yield_once" or something.  Is "yield" is already reserved as a keyword, perhaps for future pythonic ways of making generators/closures?
IMHO, "once" alone is too generic for the prelude; at first guess I would expect it to call a closure without using () syntax, like the "twice" example from the docs:
http://doc.rust-lang.org/book/closures.html#accepting-closures-as-arguments

:+1: I've wanted this from time to time for certain.

+1 to this and @aturon's iter::empty(). I don't think iter::repeat(x).take(1) works here as it'll only work with Clone types. I don't think we need to have explicit variants for &T and &mut T, we could always just call once(&x) to produce iterators of those types.

lgtm

:+1:

We've got a lot of enthusiasm for this RFC, but before we merge, I wonder: is it worth adding empty at the same time? (Seems reasonable to include both variants of the Option iterator.)

Do we want the name once & empty? It feels to me that the matching words would be once and never. The mismatch I see now is that once describes how often the element will be yielded, but empty describes the state of the iterator. (A small nitpick...)

iter::one and iter::none?

How about one and empty?

One and zero? Or empty seems fine. Problem with one and none is its only 1
char difference...
On Wed, Mar 4, 2015, 9:12 PM Aaron Turon<EMAIL_ADDRESS>wrote:

How about one and empty?
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/rfcs/pull/771#issuecomment-77307760.

@seanmonstar I'd be very surprised to see someone do such a typo. I mean, I didn't even notice they were that close... they look very distinct.

@tshepang They'd also have different signatures.
std::iter::one(42);
std::iter::none();

Good point, I retract my comment.
On Thu, Mar 5, 2015, 8:20 AM Nathaniel Theis<EMAIL_ADDRESS>wrote:

@tshepang https://github.com/tshepang They'd also have different
signatures.
std::iter::one(42);
std::iter::none();
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/rfcs/pull/771#issuecomment-77394721.

I actually found out about the Some(x).into_iter() idiom from this thread just now.

@XMPPwocky Can you update the RFC with empty as well? Otherwise, it's ready to be accepted at this point.

@aturon Done. Sorry, email from GitHub found its way into the great Gmail tab of spammy mailing lists, for some reason.

Thanks @XMPPwocky!
After getting stalled on some bikeshedding and lost emails, this RFC (which always has strong support) has been merged at last!


playback visualization mode

instead of the playhead moving across the screen, have the background move.

I sortof implemented on dev branch, but too much visual stutter, painful on the eyes.

This could be related to editor refresh. But not exactly a high priority.


Contract that was finished is back in conductor

Guide rail was finished on 1/29.  Ed did not go into conductor to officially move it to finished until late last week.  He finished it, it updated in Scout, and was removed from conductor. Now it is back in conductor showing it is waiting for city contract complete.

Please provide the item number and I'll look into it later today.
On Mar 28, 2016 11:05 AM, "rileystewart"<EMAIL_ADDRESS>wrote:

Guide rail was finished on 1/29. Ed did not go into conductor to
officially move it to finished until late last week. He finished it, it
updated in Scout, and was removed from conductor. Now it is back in
conductor showing it is waiting for city contract complete.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/CityofPittsburgh/pittsburgh-purchasing-suite/issues/68

7095 is the spec number. I'm not sure what the item number would be.

Is this a duplicate? Or are there supposed to be two separate contracts (with two separate spec numbers) for this? The other spec is 7532.

I removed the one labeled incorrectly. There is only one
Riley R. Stewart

On Mar 28, 2016, at 11:06 AM, Ben Smithgall<EMAIL_ADDRESS>wrote:
Please provide the item number and I'll look into it later today.
On Mar 28, 2016 11:05 AM, "rileystewart"<EMAIL_ADDRESS>wrote:

Guide rail was finished on 1/29. Ed did not go into conductor to
officially move it to finished until late last week. He finished it, it
updated in Scout, and was removed from conductor. Now it is back in
conductor showing it is waiting for city contract complete.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/CityofPittsburgh/pittsburgh-purchasing-suite/issues/68

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Great.

I removed the duplicate but it still doesn't answer why Guide Rail is still in there.  I watched the one labeled Guide Rail 7095 be finished in conductor by ed.  it finished on 1/29.  it is still showing up in conductor.  It was completed and the new one created should have been 7532, expiration 10-31-17.  This new one was created in Scout and 7095 disappeared....a day later it was back and not marked as complete

This is happening again with Sports Surfaces (spec 7118).  It was finished, updated, the new info is appearing in scout, yet it didn't 'finish' and disappear in conductor.

n/m. doesn't need to be in conductor anyway. i'll just remove it completely.


Vulnerability roundup 54: udisks-2.8.0: 1 advisory

search, files

[x] CVE-2018-17336 (nixos-18.09)

Scanned versions: nixos-18.09: db561c90ef3. May contain false positives.

Fix in master was already done by #47422

@ckauhaus fixed in 18.09 with the backport of v2.8.1
Do I close this issue?


[CI] auto add issues comment reply status

Description
mark the status of the issue as pending handle (contributor should reply) or pending feedback (issue author should reply) like this

Reference: https://github.com/dataease/dataease/issues

The idea is great. However, we have already had menbotics to help manage the repo, including labels. Is it a good way to use two different bots to manage the labels?

Since I'm not familiar with menbotics, if the menbotics can be configured to implement above function, we can just use menbotics.

@zhicheng-ning thanks for your idea!
Please tell me if I understand right: this CI will toggle the labels multiple times once new comments are made into a certain issue?

Yes,only issue author comment and other comment are distinguished and triggered only when two adjacent comments belong to the above two types of comments

This toggle ability is great, so maintainters can get issue status in issue list page at a glance.
I have some suggestions:

rename labels for better understranding: waiting for repliers & waiting for author, respectively
give the two labels two colors: not decided yet (can adopt the colors used by dataease)

I have some suggestions:

I see. I will update my pull request later.

Done!


A Very Serious PR adding the Doge to a button

A sliding one that appears in random localization when you hover over the button, I must add.
I think this will have a very positive impact on user retention in the near future.
Zoooooop.

Can you make it a prop you pass in to enable this behavior, I don't won't this on every button, but I want this on some of them

Added dogeProbability prop that gives even a bit more flexibility.


Added Swag Shipment Form

Fixes Issue🛠

Closes #1393
Description👨💻

Built a swag shipment form with all kinds of necessary placeholders. A screenshot of the same has been attached.
Type of Change📄

[x] New feature (non-breaking change which adds functionality)

Checklist✅

[x] I am an Open Source contributor
[x] I have performed a self-review of my code
[x] My code follows the style guidelines of this project

Screenshots/GIF📷

@Rakesh9100 Made a PR please check.

Fix the previous PR commits shown in this PR commits tree, don't create a new PR, fix the issue in this one itself.
Also add your form in forms.html file @abhirajadhikary06

Fix the previous PR commits shown in this PR commits tree, don't create a new PR, fix the issue in this one itself. Also add your form in forms.html file @abhirajadhikary06

I have made different branch to make my work clean and segregated.
I will be adding this Swag Shipment Form to forms.html. Other than this if you could tell me what I exactly need to do it would be clear for me to understand and work on it asap.

Please enhance the UI properly, visibility is too less @abhirajadhikary06

@Rakesh9100 Enhanced the UI of the form

Added a dark color to the navbar
Add a card background behind the placeholders
Increased the fonts used in the body of the form
When clicked on the placeholder a dark green color is used to focus the particular placeholder

Check two other forms files are deleted, don't be in hurry and make quality PR else your PRs will not be merged @abhirajadhikary06

Yes I have seen those form files but they were on my "address-form" branch so I have removed those.
I'm sorry for deleting those files.

@Rakesh9100 thank you for merging this PR


Refactor scraper logic and datastructure #16

All data is scraped in 1 loop
Remove the need for regex
Return a dict datastructure
Enhanced the tests using input as collected on the source

Signed-off-by: Thomas Druez<EMAIL_ADDRESS>

@tdruez Looks great! 👍
We'll get to Debian in a little while? @pombredanne


Dynamically choose names for XML-elements

Current Structure
I have a class named Student, which should have a name and book attribute.
The book attribute can correspond to different implementations. There are several classes that extend AbstractBook.
Student class:
@annotation.XmlRootElement(name: 'Student')
@annotation.XmlSerializable()
class Student {
  @annotation.XmlAttribute(name: 'name')
  String name;

  @annotation.XmlElement(name: 'Book')
  AbstractBook book;

  Student({
    required this.name,
    required this.book,
  });

  factory Student.fromXmlElement(XmlElement element) =>
      _$StudentFromXmlElement(element);

  void buildXmlChildren(
      XmlBuilder builder, {
        Map<String, String> namespaces = const {},
      }) =>
      _$StudentBuildXmlChildren(
        this,
        builder,
        namespaces: namespaces,
      );

  void buildXmlElement(
      XmlBuilder builder, {
        Map<String, String> namespaces = const {},
      }) =>
      _$StudentBuildXmlElement(
        this,
        builder,
        namespaces: namespaces,
      );

  List<XmlAttribute> toXmlAttributes({
    Map<String, String?> namespaces = const {},
  }) =>
      _$StudentToXmlAttributes(
        this,
        namespaces: namespaces,
      );

  List<XmlNode> toXmlChildren({
    Map<String, String?> namespaces = const {},
  }) =>
      _$StudentToXmlChildren(
        this,
        namespaces: namespaces,
      );

  XmlElement toXmlElement({
    Map<String, String?> namespaces = const {},
  }) =>
      _$StudentToXmlElement(
        this,
        namespaces: namespaces,
      );
}

Question
Is it possible at the moment to easily and dynamically choose the name of the attribute inside the XML?
For example, the name should be "Math" if the object for AbstractBook is MathBook or "Chemistry" if the object is ChemistryBook.

Is it possible at the moment to easily and dynamically choose the name of the attribute inside the XML?

Hi @coruscant187, I'm not sure that I fully understand your question, but I would have thought that you could add your own custom logic into the constructor body of the Student class to initialize the name field with an appropriate value.

Sorry, I was a little unclear with the description of the problem.
I don't mean the actual name attribute of the Student class but rather the name that will be used inside the XML for the book attribute.
Currently only the constant 'Book' is used by @annotation.XmlElement(name: 'Book')
I would like to dynamically display the name based on the type of the book object if that is even possible.

I would like to dynamically display the name based on the type of the book object if that is even possible.

In that case you could potentially create subclasses each with a book field with an appropriate XML element name.


[BUG] Outdated Grafana JSON File

Description:
Grafana dashboard Hyperf-wsj was last updated on Aug 3, 2020, while file grafana.json in Hyperf 2.2.4 was last updated on May 15, 2020.
If file grafana.json is outdated, please consider updating it. Thanks

@Reasno 老哥看看这个

On what account is the bundled dashboard outdated? As far as I can tell it works well for hyperf 2.2 in our organization. Happy to fix it if a concrete improvement can be made.
Hyperf-wsj is not uploaded/maintained by me.

Thanks for checking that. Closing issue.


[WINDOWS] Lapce does't respect indentation

Left is Lapce, right is VS Code

should be fixed by the latest release v0.0.10

Thanks for reporting this issue! I'm closing this because it has been fixed. However, feel free to reopen if you still experience this issue!


Filter builder shape rework

Resolves #1026

Description
Update a few files to ts and glimmer, as well as rework the filter builder shape to have no subject.
License
I confirm that this contribution is made under an MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Watch out to not introduce typescript errors since we set the reports package as expected to fail, these are showing up in the travis logs and we don't want them to silently pile up
https://travis-ci.com/github/yahoo/navi/jobs/390432840#L259-L303


gifsicle postinstall fails

Hi there,
I'm experiencing some issues with installing the imagemin-webpack-plugin. All the add-on modules - gifsicle, pngquant, optipng, jpegtran, .etc returns tunneling socket could not be established, statusCode=403 message when postinstall is called.

This only happens on my work PC (windows 7 64bit) which is sitting behind a proxy server. Everything works perfectly fine on my home PC. See screenshot below for my .npmrc settings:

OS: Windows 7 Enterprise
NodeJS: v6.11.3
NPM: 3.10.10

I've also set system environment variables for both HTTP_PROXY and HTTPS_PROXY. All other NPM packages seem to be fine with the existing setup. Not sure what else I need to do to fix this. Will you be able to help please? Thank you!

Are you able to install gifsicle directly?
npm install<EMAIL_ADDRESS>

Yeah, I was able to install imagemin-pngquant and imagemin-gifsicle without any issues.

Apologies, I might have spoken too soon. When I uninstalled imagemin-webpack-plugin and tried a clean install of gifsicle and I got the same issue as before..

That sounds like it's an issue with the gifsicle package.
You might want to check out this issue here which sounds like it's your problem as well.
Or maybe open an issue with the core imagemin package if it's happening with all addons.
In the mean-time, if you want I can make a fork that doesn't include ANY of those addon modules requiring you to manually install each one yourself if you want any, then you can install any that do work and use them until they resolve the issue.
Just let me know if you want it and I can have that branch for you ASAP.

Hi there,
Sorry about the late reply. I will raise an issue on the core imagemin github page. Yeah, if you wouldn't mind creating a package without all the add-ons that'd be fantastic!
Thanks!

I just created the branch no-default-plugins for you.
You should include it in your package.json like this:
"imagemin-webpack-plugin": "Klathmon/imagemin-webpack-plugin#no-default-plugins"

You will need to manually install any plugins you want yourself and put their options in the plugins option in this webpack plugin in order for anything to be optimized/compressed.

Thank you for your help. It is much appreciated!
Cheers!


Bug 2001825: Merge https://github.com/kubernetes/cloud-provider-aws:master into master

/test e2e-aws

/hold
This code is panicking because we haven't provided adequate configuration for the route controller when deploying the CCM. We need to either fix that by providing the appropriate config or adding --configure-cloud-routes=false to each of the CCM deployments

/close
We will use #9 instead


Google drive My Drive

I have some problems with the path of my training images. They are store at Google drive and the absolute path is something like this /content/drive/My Drive/.../1.jpg. So, when I try to save this path, the training split by space and crash because it has s = ['/content/drive/My', 'Drive/.../.jpg', ...].
I tried adding \ to the path on the space but it does not work. Any idea?

I solved this problem changing the code of data_utils.py and data_aug.py. But, instead of the prev error, I get this error

Any idea?


Bokeh plots output twice on first run

Using the manualtestfile.py the bokeh step will always (for me at least) output two plots on the first run.

Closing as no one else has reported this.


How to convert caffe model to pytorch model?

Thanks for your valuable work!
Could you please tell me how to convert one model (e.g., resnet101_faster_rcnn_final_iter_320000.caffemodel) from caffe to pytorch for your codes? Just any convert code or tutorial is fine!

Hi, I lost some of my pre-processing files unfortunatelly. But the idea is to save caffe weights in npy files, like here for example. And then load them into corresponding weights in Pytroch model.

Thanks!


feat: 1.1.0

Add BIP39 mnemonic phrase generation:

Add multi-language BIP39 support with 8 languages

Implement 12/24 word phrase options

Add embedded wordlists for portable usage

Update documentation with BIP39 usage examples

Add language-specific examples in README

@CodiumAI-Agent /review

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 4 🔵🔵🔵🔵⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Entropy SourceThe use of '/dev/urandom' for entropy might not be portable across all operating systems which could limit the application's portability.
Error HandlingThe error handling strategy could be improved by adding more descriptive error messages, especially in the mnemonic generation logic to aid debugging and user feedback.
Hardcoded ValuesThere are multiple instances of hardcoded values, such as entropy lengths and language codes, which could be refactored into a configuration file or constants for better maintainability.


Upload to PyPI

Make package available on PyPI

Hey @robintw ,
Have some general instructions here on uploading to PyPi for another project I help maintain. Not sure if this would be helpful.

Link from @fdosani is dead. Found this with a search.


Rank method resorts crew list for every instance

Horribly inefficient, I think (although no profiling to back that assertion up!).
In CrewApiController.BuildResultsList() we use the Crew.Rank() method for each intermediate point, as well as for each line. So for an entry of 300 crews, we're sorting the list roughly 150,000 times. We only really need to sort the list 3 times, once for each intermediate, and the finish line.
Obviously the upside is improved performance. The downside is that we put an additional requirement on the Crew.Rank() method, namely that the first parameter (crews) is pre-sorted. Not ideal, but then you compare to things like VLOOKUP in Excel and it may not be unreasonable.

Especially as this is probably the single most called method as it's used all the time to refresh the data.

Well, that was a bit of an overestimate for the number of resorts - it's more like 900 rather than 150,000, but that's still quite a few that we don't need to do.


Range for diagnostic extra_positional_arguments_could_be_named seems much larger than it needs to be

I saw this on Reddit. Flutter code that has a partially-typed named parameter generates a red squiggle under a lot of code:

It's very distracting while typing, and it seems like the range is covering much more than is necessary (or useful). I would expect only the arguments that are "extra" (in this case, just ke) to be included in the diagnostic range.
Before LSP, this wouldn't be seen in VS Code as we would (accidentally) truncate diagnostic ranges to a single line when converting from offset/len to line/col. We could do the same again with some LSP middleware, though since Android Studio shows the same (albeit with less contrast in my theme) I wonder if it would make sense changing here.
@bwilkerson I'm happy to try to change this if it seems like a reasonable change (I'm not sure if there are good reasons for it to work this way though).

I agree, the highlighting range here is not helpful. I agree that we should either highlight the positional arguments that don't correspond to a positional parameter, or possibly even just the first such argument, as it's probably clear to the user that the following arguments would also be included.
The code that would need to be updated is in pkg/analyzer/lib/src/generated/resolver.dart on line 2305. There are several tests that will likely also need to be updated to have different expectations for which range of characters is highlighted.

I agree, the highlighting range here is not helpful. I agree that we should either highlight the positional arguments that don't correspond to a positional parameter, or possibly even just the first such argument, as it's probably clear to the user that the following arguments would also be included.
The code that would need to be updated is in pkg/analyzer/lib/src/generated/resolver.dart on line 2305. There are several tests that will likely also need to be updated to have different expectations for which range of characters is highlighted.

@bwilkerson thanks! Changing the node that was used for the error also breaks some additional tests related to quick-fixes, for example the AddMissingParameter fix test. It expects node to be the ArgumentList whereas now it's the first unmatched argument. Fixing that check is easy, but the other classes also read node and expect the same.
Some ideas:

update them all to assume the node is an argument rather than the argument list
add the ArgumentList to ExecutableParameters and use it from there (instead of node) in the fixes

Or is there a better way?
Thanks!

@bwilkerson thanks! Changing the node that was used for the error also breaks some additional tests related to quick-fixes, for example the AddMissingParameter fix test. It expects node to be the ArgumentList whereas now it's the first unmatched argument. Fixing that check is easy, but the other classes also read node and expect the same.
Some ideas:

update them all to assume the node is an argument rather than the argument list
add the ArgumentList to ExecutableParameters and use it from there (instead of node) in the fixes

Or is there a better way?
Thanks!

Interesting. I hadn't thought about the impact on fixes.

update them all to assume the node is an argument rather than the argument list

I don't know how many other places we'd need to update, so it's hard to evaluate this option.

add the ArgumentList to ExecutableParameters and use it from there (instead of node) in the fixes

That seems wrong to me because the class is explicitly holding information about the element being invoked rather than the invocation site.

Or is there a better way?

I'm not thinking of one at the moment.

Interesting. I hadn't thought about the impact on fixes.

update them all to assume the node is an argument rather than the argument list

I don't know how many other places we'd need to update, so it's hard to evaluate this option.

add the ArgumentList to ExecutableParameters and use it from there (instead of node) in the fixes

That seems wrong to me because the class is explicitly holding information about the element being invoked rather than the invocation site.

Or is there a better way?

I'm not thinking of one at the moment.

I don't know how many other places we'd need to update, so it's hard to evaluate this option.

I went through the failures and added fixes here - some fixes are used for multiple error codes so could now get either an ArgumentList or an expression from within. There weren't many changes, though I'm not sure if it's a bit weird:
https://github.com/DanTup/sdk/commit/36707fb0e31681a5fad87be89ff25146b30b8e97
There was one test I wasn't able to understand why it fails though:

02:46 +8870 ~10 -1: analysis_server | src | services | correction | fix | EndToEndTest | test_removeParameter [E]

(with my change, it didn't seem to get into the fix code, but I'm not very familiar with how the data driven fixes work)

That seems wrong to me because the class is explicitly holding information about the element being invoked rather than the invocation site.

Ah yes - I'd seen AstNode invocation in the constructor, but it's just used to get the element being invoked. I agree that doesn't seem to make sense.

I don't know how many other places we'd need to update, so it's hard to evaluate this option.

I went through the failures and added fixes here - some fixes are used for multiple error codes so could now get either an ArgumentList or an expression from within. There weren't many changes, though I'm not sure if it's a bit weird:
https://github.com/DanTup/sdk/commit/36707fb0e31681a5fad87be89ff25146b30b8e97
There was one test I wasn't able to understand why it fails though:

02:46 +8870 ~10 -1: analysis_server | src | services | correction | fix | EndToEndTest | test_removeParameter [E]

(with my change, it didn't seem to get into the fix code, but I'm not very familiar with how the data driven fixes work)

That seems wrong to me because the class is explicitly holding information about the element being invoked rather than the invocation site.

Ah yes - I'd seen AstNode invocation in the constructor, but it's just used to get the element being invoked. I agree that doesn't seem to make sense.

Like other fixes, the data-driven fixes validate that the diagnostic is in a place that they know how to fix, but the code structure is a little different. In this case I believe that the code path that needs to be updated is in pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart in the function on line 230. Specifically, fix.node is the node that is now a single argument rather than being an argument list, so the parent is the argument list rather than the invocation expression. It's probably safest to just add another case: else if (parent.parent is InvocationExpression) { in order to avoid breaking other code paths that might be triggering this code with a different diagnostic and hence are still generating a node that is an argument list. (You can add a TODO with my name if you want to verify whether the old code path is still being used.)
I also added a comment to your PR in case you didn't get notified.

Like other fixes, the data-driven fixes validate that the diagnostic is in a place that they know how to fix, but the code structure is a little different. In this case I believe that the code path that needs to be updated is in pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart in the function on line 230. Specifically, fix.node is the node that is now a single argument rather than being an argument list, so the parent is the argument list rather than the invocation expression. It's probably safest to just add another case: else if (parent.parent is InvocationExpression) { in order to avoid breaking other code paths that might be triggering this code with a different diagnostic and hence are still generating a node that is an argument list. (You can add a TODO with my name if you want to verify whether the old code path is still being used.)
I also added a comment to your PR in case you didn't get notified.

In this case I believe that the code path that needs to be updated is in pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart in the function on line 230.

That's where I'd ended up, but that code wasn't executing with my change and I'd been struggling to understand why. I did some more digging this afternoon and found that the problem was that Transform.appliesTo was filtering it out because it no longer computer a name (DataDriven._name).

I also added a comment to your PR in case you didn't get notified.

Got it, and changed it - thanks!
I fixed everything up and believe all the tests pass now (though I'm not certain if the changes all make sense or there may be edge cases I've missed):
https://dart-review.googlesource.com/c/sdk/+/178020/

(there are three diagnostics generated which seems a lot, though I'm not sure there's much to do about that, as they all seem somewhat valid).

In this case I believe that the code path that needs to be updated is in pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart in the function on line 230.

That's where I'd ended up, but that code wasn't executing with my change and I'd been struggling to understand why. I did some more digging this afternoon and found that the problem was that Transform.appliesTo was filtering it out because it no longer computer a name (DataDriven._name).

I also added a comment to your PR in case you didn't get notified.

Got it, and changed it - thanks!
I fixed everything up and believe all the tests pass now (though I'm not certain if the changes all make sense or there may be edge cases I've missed):
https://dart-review.googlesource.com/c/sdk/+/178020/

(there are three diagnostics generated which seems a lot, though I'm not sure there's much to do about that, as they all seem somewhat valid).

It would be nice if it didn't complain about a positional argument being after named arguments when it clearly isn't a valid positional argument because there aren't enough positional parameters for it to be one. But that's a whole different issue.
Anyway, the CL looks good. Thanks!

It would be nice if it didn't complain about a positional argument being after named arguments when it clearly isn't a valid positional argument because there aren't enough positional parameters for it to be one. But that's a whole different issue.
Anyway, the CL looks good. Thanks!


Unit test for ListGroup

Is your feature request related to a problem? Please describe.
The component is missing its unit test.
Describe the solution you'd like
Implement the unit test to the component.
Describe alternatives you've considered
n/a
Additional context
n/a

Assign me pls


[Feature Request]: Google Gemini Chat Integration for Better Utilisation of Agrotech AI

[Feature Request] Gemini AI Chatbot Integration for Enhanced User Support

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
To enhance user experience and provide instant, personalized assistance, we propose integrating the Gemini AI chatbot into the BitBox platform. This chatbot will enable users to ask questions, navigate platform features, and receive real-time insights specifically related to development workflows, version control, and general platform functionality.
The Gemini AI chatbot will match the website's existing UI theme for a cohesive look and feel, ensuring seamless integration with the BitBox platform.
Demo

NOTE : The UI will be matched with the theme of the website
Use Case

Enhanced User Experience: The Gemini AI chatbot will guide users through various platform features, making it easier for new users to learn and utilize the platform’s capabilities effectively.

Instant Support: Users can receive immediate answers to common questions related to project management, version control, and collaborative tools, allowing for faster navigation and use of the platform.

24/7 Availability: The chatbot will provide round-the-clock assistance, enabling users to access help whenever they need it, regardless of time zone or support hours.

Increased Efficiency: By handling frequently asked questions, the chatbot can reduce the support workload, allowing resources to be allocated to more complex issues and enhancing the platform's overall efficiency.

Benefits

Improved User Onboarding: By providing on-demand assistance, the chatbot will help new users quickly get familiar with BitBox’s features and functionalities.
Enhanced Productivity: Real-time guidance allows users to focus on their tasks without interruption, promoting smoother workflows.
Scalability: Automated assistance supports a growing user base without overburdening human support staff.

Priority
High
Checklist

[X] I have read the Contributing Guidelines
[X] I’m a GSSOC'24 contributor
[X] I have starred the repository

@Anuj3553  : This is called blind copy-paste to farm points.
https://github.com/manikumarreddyu/AgroTech-AI/issues/765

@Anuj3553 : This is called blind copy-paste to farm points.
manikumarreddyu/AgroTech-AI#765

Thanks @mehul-m-prajapati sir, for letting me know about my typo.
I have fixed that, thanks

@mehul-m-prajapati sir why you have not added the PR link, which has already merged... and seems awesome
https://github.com/manikumarreddyu/AgroTech-AI/pull/808

https://github.com/sakeel-103/DFS-BFS-Graph-Travers/pull/548
https://github.com/daccotta-org/daccotta/pull/233
Whats about this sir.

@Shariq2003 : yes, sir. Linking awesome PRs, issues of Gemini
https://github.com/sakeel-103/DFS-BFS-Graph-Travers/pull/524/files
https://github.com/sharmavikas4/MERN_BLOG/issues/56
https://github.com/Open-Code-Crafters/FitFlex/issues/432

You are doing great work. Keep it up

sakeel-103/DFS-BFS-Graph-Travers#548 daccotta-org/daccotta#233
Whats about this sir.

@Shariq2003 :

This first one using firebase and other one is using gapi :)
Please do your research carefully

@Shariq2003 : good work sir. Detailed analysis of your work will be after this program.
Good work. Cheers 👍

Hyy @Shariq2003, Already Implemented this kind of work.

@Anuj3553 : This is called blind copy-paste to farm points.
manikumarreddyu/AgroTech-AI#765

Thanks for pointing this issue @mehul-m-prajapati

Hyy @Shariq2003, Already Implemented this kind of work.

Yes, @Anuj3553 sir, I have implemented the same in the other repo AgroTech AI but not in this repo.
So could you please clarify me , what should i do now.
Continue or have to close this issue.

Hyy @Shariq2003, Already Implemented this kind of work.

Yes, @Anuj3553 sir, I have implemented the same in the other repo AgroTech AI but not in this repo. So could you please clarify me , what should i do now. Continue or have to close this issue.

There is no need of this chatbot now we have already a chatbot on our website so that's why we not need if you can enhance our current chatbot then i can assign this issue but @Shariq2003 no do changes in ui and you have to change only in backend so our chatbot can able to answer anything. Current chatbot is only able to reply about bitbox stuff.

Check out out website for more clarification.

Check out out website for more clarification.


Didn’t find the chore commit, although it exists

Didn’t find the chore commit, although it exists:
https://github.com/andrewjswan/esphome-config/commit/c8d49ad23958e7fe2654af1a7fe5b7a1923353de

It looks for ^chore: regexp =)

Why didn’t find it here?
https://github.com/andrewjswan/EspHoMaTriXv2/commit/92274919f99d383c30a9a047ee8608cae37acb32

Difficult to tell. First check if action is successful and you can see your repo in logs.

Its search only in main branches ...


feat: allow overriding a registered element

Added an options parameter to registerElement

Thanks for the PR. Is it possible to get this as a change on master that only includes the option to override a method. This PR includes the removal of normalized attribute names (which will break things!) and the logging changes discussed elsewhere. Happy to merge a PR with just the options field (and update to the docs in site if possible :))

My bad it was a test (fail) on my side will recreate a PR

Going to close this so a new PR can be made with just the changes required. But there are a few things in here that I should probably apply to svelte-native, such as the setText double call, and the deprecated methods

@halfnelson sorry yes actually it was a PR on my master :s
Will try and create many PRs today!


Sharding Manager

We need a sharding manager.
My current thoughts on sharding is that ALL BOTS ARE SHARDED BOTS. There is no such thing as a non-sharded bot. Bot's under 1000 server can simply be placed in 1 shard. There is so much confusion for devs especially beginner developers around sharding or not sharding. By default, we will make all bots sharded to the recommended options that discord provides on initial connection.
We can take inspiration from Eris built in sharder and build a similar sharding solution. If and when a bot reaches a milestone like 25K servers we can help them use a custom sharding solution. That can bebuilt post v1? Basically imagine a eris-sharder but built into the lib in some way. As an official sharding solution for larger bots.
last note: At this time, deno has no support for clusters so im not sure how wed handle this yet at all. Should wait for deno to implement it i believe

Looks like we'd have to wait then. :thinking: Do you have any other solutions?

@resynth1943 At the moment, no. Once I finish the rest of the stuff and sharding is the last thing left, I can try and start a convo with the deno devs about it and see if they can implement clusters or maybe they can have a better alternative solution

Deno team recommends checking out Web Workers for this.

Sharding is now working and the bot loadded up on all 6 shards and received all the guild creates. Gotta work on working on rate limiting.


Cancel support in Docker

Implemented in https://github.com/geniusyield/market-maker/pull/22

The PR is merged and the functionality had been tested. It is working as expected. I am closing this issue now.


Fix build

This PR makes some changes to the build system to ensure pull requests to older branches can be merged.

we should remove docs.yml from all branches above v1.16 when merging this up.

Yes, my plan was to merge this up manually until the merge-up action picks it up.


Testing; Search against profile not available

I am not seeing an option to search against a created profile when I am logged in. Is this still in progress?

Feature in progress, will have it out today.


fuzz: Give fuzzer independent data per func

Fundamentally a coverage driven fuzzer is an optimization algorithm, where the goal-state is 100% code coverage. As it currently stands this fuzzer is trying to optimize it's input so that is valid UTF-8 AND UTF-16be/le. By giving each function it's own independent input we allow the fuzzer to optimize coverage for each function individually.

Just as a general note, I would expect this to drop the overall coverage in the short term (next week), but increase it in the long run (the next month).
We can keep tabs on what it actually does, here https://introspector.oss-fuzz.com/project-profile?project=simdutf and revert it if it lowers coverage over the long term.

Sounds reasonable. Merging.

Just as a follow up, this ended up resulting in a fairly minimal improvement of 0.2% so I think it's safe to leave as is, but there was no great improvements.


Use rpm installed setuptools

Using --ignore-installed with pip causes it to ignore the fact that
setuptools has already been installed by rpm. This results in the newest
version of setuptools (50.0.0) to be pulled in.
Setuptools 50 includes a backwards incompatible change to the way that
non-binary installs happen, which breaks the installation of
ruamel.yaml.clib on architectures that must install from source
because there is not a built wheel.

@camilamacedo86 This is not a user-facing issue, just CI, so IMO a changelog entry would not be helpful.


Ordering imported content by date

Imported dates are being returned as null in the API, although they're working in the writing room.
A way around this is to change date, resave, republish.
This is a way, not the way.
Prismic are looking into it.
This affects:

Articles from wordpress (override publisheddate)
Press releases
Books

Turns out when we imported we imported in the format 2018-09-09 where Prismic expects the format to be 2018-09-09T13:12:21+0000.
There was no documentation or error handling here, so I'm talking to them to get a feel for how we might get around this.


Ability to Govern SubDAO Fees

This Helium Improvement Proposal (HIP) suggests giving power to each subDAO to dictate the type of payment (Decentralized Network Tokens or Data Credits) used for any miscellaneous fees within their subDAOs,  including but not limited to onboarding fees and or location reassertion fees. Any services sold by each subDAO, such as data transfers, are not considered a miscellaneous fee, and as such, will need to continue to be paid in Data Credits (DC).

Closing this pull request, as this HIP may not be needed to allow IoT to change assertion fee payment method to IoT, since MOBILE is already a form of payment used to pay for service provider hex boosting.


Manually including RMStore (copied into app) results in OpenSSL not found

Swift iOS Latest project
Dropping the kit in causes compile error:
RMStore/Optional/RMAppReceipt.m:23:9: 'openssl/pkcs7.h' file not found

Scratch that, found the instructions in the docs for verification, adding this to docs would help
Example Header Search Path:
$(SRCROOT)/$(PROJECT_NAME)/libs/RMStore/Optional/openssl-1.0.1e/include


Question: Adding Services from Types in Class Libraries

I am moving a Unity based MVC web application to ASP.NET 5. This web app invoked Plugins/Modules in class libraries which registered services with the Unity container.
I am struggling a bit with the built in DI of ASP.NET 5. The startup.cs ConfigureServices() offers IServiceCollection which I can use to add services, but to invoke the Plugin ( using createInstance from ActivatorUtilities ), I need to have an instance of IServiceProvider which is provided in startup.cs Configure().
I can always write my own CreateInstance() which doesn't require an instance of IServiceProvider, but before I do that, I am hoping I can get some guidance from the DI team.
What is the recommended way to load services from class libraries?

What exactly does loading services from class libraries mean? MVC is a class library and it enables this by having the user call services.AddMvc() in their Startup.cs. What exactly are you looking for? Assembly scanning?

@davidfowl With MVC 5 I used ServiceLocator and Unity to dynamically invoke an IModule based class ( contained in a class library dll ) by providing a Type definition that came from a property in web.config. I then called into the module to register a number of services with the Unity container.
I want to do the same thing with ASP.NET 5 DI. However, to use the built in DI to instantiate a Type, the ActivatorUtilities.CreateInstance API call requires an Instance of IServiceProvider.
The problem I have is that in startup.cs DI services are setup in ConfigureServices, but the IServiceProvider is provided in startup.cs Configure. I could setup all my dynamically discovered services in startup.cs Configure(), but there is no way ( at least that I can see ) to add additional services at that time.
I appreciate any guidance you can give ( or I will likely just roll my own activator utility for invoking the IModule ).

@davidfowl I used System.Activator.CreateInstance( fullyQualifiedType ) to obtain the module. I can call into the module class with Initialize( IServiceCollection ) to register services.
I still feel that it is a bit odd that in startup.cs Configure() I cannot add additional services to the DI container - is there a reason for this restriction or am I missing something?

the IServiceProvider is readonly, you can't add services at runtime in ASP.NET. We don't support that. It's something you'd have to build into your system.

Thanks @davidfowl . I have a better understanding of the DI used in ASP.NET 5 now. It meets my needs.


Please support the quantized LLM

What does that mean?
ggml-vic7b-q4_0.bin
This is a quantized LLM, correct? I just tested it and it works.

Langflow only work with ggml form of original LLaMA but not quantized LLaMA


extensions install error

Hey there. I'm running the last version 78.0.3904.87. the option chrome://flags/#extension-mime-request-handling is set to Always prompt for install. When you try to install a crx, it hangs to: adding to chromium. I've tried with manually download and install via drang and drop but nothing happens. Previous version worked good.

Identical problem posted here: https://github.com/Eloston/ungoogled-chromium/issues/834. Will leave this and the other issue open until the problem gets solved.

I should also note that this doesn't work even with Chromium Web Store, which suggests we can't install CRX files at all on Windows (however, Chromium Web Store does work on Linux).

I faced the same issue earlier today. But after restarting my computer, it worked all right -- worth giving a try

Hi guys,
There's a piece of code in the function bool ExtensionManagement::IsOffstoreInstallAllowed under the file \src\chrome\browser\extensions\extension_management.cc that controls whether off-store installs are allowed or not by default. Here's what it looks like in Google's Chromium:
bool ExtensionManagement::IsOffstoreInstallAllowed(
    const GURL& url,
    const GURL& referrer_url) const {
  // No allowed install sites specified, disallow by default.
  if (!global_settings_->has_restricted_install_sources)
    return false;

  const URLPatternSet& url_patterns = global_settings_->install_sources;

  if (!url_patterns.MatchesURL(url))
    return false;

  // The referrer URL must also be whitelisted, unless the URL has the file
  // scheme (there's no referrer for those URLs).
  return url.SchemeIsFile() || url_patterns.MatchesURL(referrer_url);
}

Change the return false under if (!global_settings_->has_restricted_install_sources) to return true. Here's what the function should look like afterwards:
bool ExtensionManagement::IsOffstoreInstallAllowed(
    const GURL& url,
    const GURL& referrer_url) const {
  // No allowed install sites specified, allow by default.
  if (!global_settings_->has_restricted_install_sources)
    return true;

  const URLPatternSet& url_patterns = global_settings_->install_sources;

  if (!url_patterns.MatchesURL(url))
    return false;

  // The referrer URL must also be whitelisted, unless the URL has the file
  // scheme (there's no referrer for those URLs).
  return url.SchemeIsFile() || url_patterns.MatchesURL(referrer_url);
}

Hi,
Update: I tried editing the extension_management.cc file that way. Unfortunately, it didn't work.

@seanking2919 Thanks for looking into this. There are modified builds of ungoogled-chromium on https://chromium.woolyss.com that exclude the Safe Browsing patches (in both this repo and ungoogled-chromium repo I think) and I've heard CRX installation works fine on them. You might have better luck looking through the Safe Browsing patches to see if anything looks fishy.

@Eloston Thank you for the information. Look at the patches that change chrome/browser/download/download_item_model.cc because when I looked at the patched file, none of the safe_browsing::DownloadFileType::DangerLevel stuff was in it.

Ony my system the problem seems fixed since version 79. I can install extension as i always did.

@graphixillusion Specific version you're currently using?

@seanking2919 version 80.0.3987.163 x64

Ok. @graphixillusion And out of pure curiosity, does the build use the "Safe Browsing" patches? Or did you get the build from Woolyss?

@seanking2919 i use chrlauncher (https://github.com/henrypp/chrlauncher) for getting the build.

I see. So, basically, the builds without the Safe Browser patches.

@seanking2919  how to verify if the Sage Browser patches are presents or not?

If you got it with chrlauncher, there's a good chance it does not have the Safe browser patches.

Should be solved in 81.0.4044.138-1.1


MuiAutocomplete-root has attribute [aria-expanded="false"] when "No Options"

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Autocomplete was imported from @mui/material.
In the autocomplete component, when you enter a non-existent option, the MuiAutocomplete-root class has the aria-expanded = "false" attribute, but PopperComponent is open.

Expected Behavior 🤔
Aria-expanded is expected to be "true" because the field is expanded with "No options"

Steps to Reproduce 🕹

Steps:

Enter the text of a nonexistent option into the autocomplete component
Check MuiAutocomplete-root attribute aria-expanded

Context 🔦

I am trying to style a Popper component based on the aria-expanded attribute
Your Environment 🌎

`npx @mui/envinfo`
System:
    OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
  Binaries:
    Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
    Yarn: Not Found
    npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm
  Browsers:
    Chrome: 93.0.4577.82
    Firefox: 92.0
  npmPackages:
    @emotion/react:  11.4.1
    @emotion/styled:  11.3.0
    @mui/core:  5.0.0-alpha.47
    @mui/icons-material: ^5.0.0-rc.1 => 5.0.0
    @mui/material:  5.0.0
    @mui/private-theming:  5.0.0
    @mui/styled-engine:  5.0.0
    @mui/system:  5.0.0
    @mui/types:  7.0.0
    @mui/utils:  5.0.0
    @types/react: 17.0.20 => 17.0.20
    react: 17.0.2 => 17.0.2
    react-dom: 17.0.2 => 17.0.2
    typescript: 4.4.2 => 4.4.2

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve


How to do inference

Steps i have done:
Until this process using our installation guide
./facebook/opt-1.3b/   config.json   merges.txt   pytorch_model.bin   special_tokens_map.json   tokenizer_config.json   vocab.json
and i downloaded the pretrained model from the https://huggingface.co/CH3COOK/LL3DA-weight-release/blob/main/ll3da-opt-1.3b.pth
And i renamed and put it under LL3DA\ckpts\opt-1.3b\ll3da-generalist\checkpoint.pth
And i run this command
 bash scripts/opt-1.3b/eval.scanqa.sh
i get these results:
Evaluate ; Batch [550/585]; Evaluating on iter: -1; Iter time 3.03; Mem 5624.94MB
Evaluate ; Batch [560/585]; Evaluating on iter: -1; Iter time 3.03; Mem 5624.94MB
Evaluate ; Batch [570/585]; Evaluating on iter: -1; Iter time 3.12; Mem 5624.94MB
Evaluate ; Batch [580/585]; Evaluating on iter: -1; Iter time 2.98; Mem 5624.94MB

----------------------Evaluation-----------------------

[BLEU-1] Mean: 0.3897, Max: 1.0000, Min: 0.0000
[BLEU-2] Mean: 0.2684, Max: 1.0000, Min: 0.0000
[BLEU-3] Mean: 0.1920, Max: 1.0000, Min: 0.0000
[BLEU-4] Mean: 0.1311, Max: 1.0000, Min: 0.0000
[CIDEr] Mean: 0.7535, Max: 10.0000, Min: 0.0000
[ROUGE-L] Mean: 0.3655, Max: 1.0000, Min: 0.0000
[METEOR] Mean: 0.1527, Max: 1.0000, Min: 0.0000

And under this folder i get these files
LL3DA\ckpts\opt-1.3b\ll3da-generalist
checkpoint.pth
qa_corpus_val.json
qa_pred_gt_val.json
qa_pred_val.json

So my issue is how can i get this view

can any one give me small guidance how to proceed after this

Hi, the gif file you shown is just our teaser image made by PowerPoints, not the interactive interface of our codebase. Our code only generates text outputs.

ok thank you so much, i get it


[NSE-640] Disable compression for tiny payloads in shuffle

#640

To confugure, set spark.oap.sql.columnar.shuffle.batchCompressThreshold to a reasonable value.


Release riff v0.4.0

phase 1

[x] projectriff/fats

[x] create a v0.4.x branch from master
that's it

[x] projectriff/command-function-invoker

nothing to do

[x] projectriff/command-function-buildpack

[x] remove -BUILD-SNAPSHOT from version in buildpack.toml
[x] commit, push to master, wait for CI to go green
[x] tag as v0.0.9, push
[x] bump version number, restoring -BUILD-SNAPSHOT push to master

[x] projectriff/java-function-invoker

nothing to do

[x] projectriff/java-function-buildpack

[x] remove -BUILD-SNAPSHOT from version in buildpack.toml
[x] commit, push to master, wait for CI to go green
[x] tag as v0.1.5, push
[x] bump version number, restoring -BUILD-SNAPSHOT push to master

[x] projectriff/node-function-invoker

[x] change version in package.json to drop -snapshot
[x] npm i && npm t # updates the shrinkwrap
[x] commit, push to master, wait for CI to go green
[x] tag as v0.1.2, push
[x] check that CI pushed a build to npm https://www.npmjs.com/package/@projectriff/node-function-invoker

[x] projectriff/node-function-buildpack

[x] update riff-invoker-node dependency in buildpack.toml to consume v0.1.2
[x] commit, push to master, wait for CI to go green
[x] remove -BUILD-SNAPSHOT from version in buildpack.toml
[x] commit, push to master, wait for CI to go green
[x] tag as v0.1.1, push
[x] bump version number, restoring -BUILD-SNAPSHOT push to master

phase 2

[x] projectriff/builder

[x] create a v0.4.x release branch
[x] update builder.toml.tpl to consume releases instead of snapshots for each invoker, run make template
[x] update fats refspec to consume v0.4.x
[x] commit, push to v0.4.x, wait for CI to go green
[x] update VERSION file to remove -snapshot
[x] commit, push to v0.4.x, wait for CI to go green
[x] tag as v0.4.0, push
[x] bump VERSION on v0.4.x branch to 0.4.1-snapshot, push to v0.4.x
[x] bump VERSION on master branch to 0.5.0-snapshot, push to master

[x] projectriff/system

[x] create a v0.4.x release branch
[x] commit, push to v0.4.x, wait for CI to go green
[x] update VERSION file to remove -snapshot
[x] commit, push to v0.4.x, wait for CI to go green
[x] tag as v0.4.0, push
[x] bump VERSION on v0.4.x branch to 0.4.1-snapshot, push to v0.4.x
[x] bump VERSION on master branch to 0.5.0-snapshot, push to master

phase 3

[x] projectriff/charts

[x] create a v0.4.x release branch
[x] update fats refspec to consume v0.4.x
[x] update template.yaml.tpl to consume releases from the v0.4.x branch for system and the build templates
[x] run make templates
[x] commit, push to v0.4.x, wait for CI to go green
[x] update VERSION file to remove -snapshot
[x] commit, push to v0.4.x, wait for CI to go green
[x] tag as v0.4.0, push
[x] bump VERSION on v0.4.x branch to 0.4.1-snapshot, push to v0.4.x
[x] bump VERSION on master branch to 0.5.0-snapshot, push to master

phase 4

[x] projectriff/cli

[x] create a v0.4.x release branch
[x] update fats refspec to consume v0.4.x
[x] commit, push to v0.4.x, wait for CI to go green
[x] update VERSION file to remove -snapshot
[x] commit, push to v0.4.x, wait for CI to go green
[x] tag as v0.4.0, push
[x] bump VERSION on v0.4.x branch to 0.4.1-snapshot, push to v0.4.x
[x] bump VERSION on master branch to 0.5.0-snapshot, push to master

phase 5

[x] smoke test release artifacts

[x] install helm charts from the chart repo without --devel
[x] use release build of the CLI

[x] github releases

[x] create releases on github for v0.4.0 tag in cli repo
[x] add CLI binaries from GCS, do not rebuild from source
[x] ~other repos???~

[x] submit PR to update homebrew
[ ] projectriff/chocolatey

[x] consume 0.4.0 cli
[x] commit, push to master
[x] test locally (see repo instructions)
[x] run publish script

[ ] projectriff/projectriff.io

[x] merge https://github.com/projectriff/projectriff.io/pull/91
[x] create a release announcement blog post
[ ] make the new site live on projectriff.io

[x] close milestone v0.4.0 in each repo

[x] move open issues into v0.5.0

phase 6

[ ] 🍻🎉

All of the release artifacts are tased and staged with 🍏 CI. Ready for manual smoke testing.

Waiting for Homebrew merge.
Chocolatey update is being verified and should be approved within the next hours, hopefully.


add more detail for shear resistance

Coverage remained the same at 100.0% when pulling 85c45d0753749e5ae5abe675cc6d072d404b60e5 on resistance into eccd6d59ce9f645e870144403a465a8f88abf364 on master.


How to abort a pending migration [PostgreSQL, Knex]

Environment
Knex version: "knex": "^0.21.5",
Database + version: PostgreSQL
OS: macOS BigSur 11.2.3
Feature discussion / request
When I run knex migrate:list I see one of the migration is in Pending state, for days. I wonder how I can abort/cancel it and rollback to a certain state. There is no information about that in documentation hence I did not try just going down one migration for aborting the pending ones.
$ MIGRATIONS_DIR='./migrations_brands' knex migrate:list
Found 14 Completed Migration file/files.
...
...
20210825125403_customer_rules.js
Found 1 Pending Migration file/files.
20220223135013_add_shared_wishlist_table.js

@kibertoad What do you think?

ran into the same issue

same issue here.. tried to knex migrate:down filename but nothing changes.