Preparing for Swift 6

Note these are breaking changes that require a major version bump and mean we only support Swift >=6


Follow-up on #466

Using __builtin_memset_inline from LLVM in few places.
__builtin_memset_inline being more recent, needs to be checked
separetely.

Thanks!


Update to twin.macro

Hey Jason!
I understand this repo is an absolute grandpa in developer years but I found it on Google and thought I could lend a hand with updating it to use my updated fork of tailwind.macro - twin.macro.
Let me know if you're keen and I'll submit a PR.
Cheers!

hey, I don't do much with Tailwind, so I'm probably not the right person to have a Gatsby/Tailwind example
if you want to fork and/or create your own example, I'd be happy to direct people there instead of here!
I think I'm going to archive this repo to make it clear that it's outdated and probably shouldn't be used 😅

Yeah no problems, I think you're best off with the archive on this one 👍


Max volume to 200 for newer receivers

Breaking Change:
Not so much a breaking issue, but older receivers that had a max volume of 80 will now never read to HA as at max volume. This can be fixed by adding in max_volume = 80 into their configuration.
Description:
Newer Onkyo receivers (e.g, TX-RZ830) volume ranges from 0-100 in increments of 0.5, and reports the volume to HA as 0-200.
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[X] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x]\Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @libots,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Removes aliases and adds more emoji

Description
Removes the aliases code because it just seemed to be confusing and I doubt anyone was using it. Also adds a lot more emoji reactions from the bot so people know if their command was processed or not.
Checklist

[x] Add tests for these changes
[ ] Test coverage is not decreased
[ ] Entire test suite passes

Codecov Report

Merging #192 into master will decrease coverage by 0.33%.
The diff coverage is 98.78%.

@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
- Coverage   97.58%   97.25%   -0.34%
==========================================
  Files          30       30
  Lines        1658     1711      +53
  Branches      257      252       -5
==========================================
+ Hits         1618     1664      +46
- Misses         20       25       +5
- Partials       20       22       +2

Impacted Files
Coverage Δ

src/spellbot/__init__.py
95.56% <98.78%> (-0.47%)
:arrow_down:

Continue to review full report at Codecov.

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


Cannot create team [BUG]

Describe the bug
/team create (team name) shows incorrect argument for command.  I have made sure that betterteams.create perm has been added to my LuckPerms config.  Saved and verified.  Readded and LuckPerms shows that no new changes were found.  Check perms and shows it is there.
To Reproduce
Steps to reproduce the behaviour:

Run command /team create (team name)

Expected behaviour
Allows to create team.
Screenshots

Details
Please provide the following details about your server set-up:

Paper version 1.16.1 build 136
BetterTeams version 3.1.4

A couple of questions

Do you get the same error with all better teams commands? For example if you run /team top does the same thing occur
This may be caused by my plugin conflicting with another plugin on your server, try running /betterteams:team create, do you get the same error?

The reason I am leaning towards it being caused by a conflicting plugin on your server is because that message is not part of better teams so it should be impossible to be triggered by better teams.

I am sorry, it was, thanks!


Significant bug in the filtermatrix processing

Based on the way you're iterating through the filter matrix, you're only calculating a 3x3 area regardless of the size of the filter passed in. The x and y axes need to be filtered separately, with each taking into account the size of the filter being applied to that axis.

I'll keep that in mind when I go back through the project. I will probably start over from scratch as this was a intro to and learning experience. note://thought I had already replied to this long ago.


Update golang-test of gardener/gardener-extension-shoot-rsyslog-relp tests to Go 1.21

/kind enhancement
Update golang-test of gardener/gardener-extension-shoot-rsyslog-relp tests to Go 1.21

/cc @plkokanov
This PR needs to merged for test to pass on https://github.com/gardener/gardener-extension-shoot-rsyslog-relp/pull/23


Remove leading 'v' from perl version

It's a trivial change, but Panda reports this when installing:
==> Fetching Backtrace::AsHTML
Please remove leading 'v' from perl version in Backtrace::AsHTML's meta info.
I'm doing this with my own modules as well, it's a minor change but it makes
the install look cleaner.

Thank you, nice catch!


Added Japanese translation from Mair

I added and tested the Japanese translation. The following things are still missing from jp.json that are in en.json:
{
  "admin-laws-form.alert.no-tags": "No tags were found, please create one before start creating topics",
  "admin-laws-form.label.resources": "Resources",
  "admin-laws.list.add-topic": "New",
  "admin-laws.list.close.future": "Closing",
  "admin-laws.list.search.placeholder": "Search a topic...",
  "admin-laws.list.sort": "Sort",
  "admin-sidebar.whitelists.title": "Enabled users",
  "admin-tags.list.add-tag": "New",
  "admin-tags.list.search.placeholder": "Search a tag...",
  "admin-whitelist.actions": "Actions",
  "admin-whitelist.delete-whitelist.confirmation.body": "This action will erase data permanently. Would you like to proceed?",
  "admin-whitelist.delete-whitelist.confirmation.ok": "Delete",
  "admin-whitelist.delete-whitelist.confirmation.title": "Delete rule",
  "admin-whitelist.type": "Type",
  "admin-whitelist.value": "Value",
  "admin-whitelists-form.button.delete": "Delete",
  "admin-whitelists-form.message.onsuccess": "Whitelist successfully saved",
  "admin-whitelists-form.value.placeholder": "Comma separated emails or just one email",
  "admin-whitelists.list.add-whitelist": "Add",
  "admin-whitelists.list.search.placeholder": "Search a whitelist...",
  "browser-update.ie-old-version-warning": "You are using an usuported version of Internet Explorer.",
  "browser-update.in-order-warning": "In order to use DemocracyOS, please update your browser.",
  "browser-update.switch-to": "Switch to ",
  "browser-update.update-your": "Update your ",
  "browser-update.why": "Why?",
  "browser-update.why.newer-browsers": "Newer browsers take advantages of the newest technologies and ensure safer browsing experiences.",
  "browser-update.woops": "Whoops.",
  "comment-card.not-spam": "Not Spam",
  "comment-card.report-spam": "Report as spam",
  "comments.removed": "The argument was removed",
  "comments.removing-argument": "You are removing this argument as a staff member",
  "comments.score.not-allowed": "You're not allowed to qualify your own argument",
  "common.close": "Closes",
  "common.no-user-for-email": "No user found for that email address",
  "common.read-more": "Read more",
  "forgot.error.email-not-valid": "You must validate your email address before you can reset your account password",
  "header.admin": "Manage",
  "homepage.create-debate": "Create my first topic",
  "homepage.no-laws": "There are no topics to display",
  "notifications.error.connection-refused": "Unable to connect to notifications engine",
  "password.retype": "Retype new password",
  "proposal-article.participant.plural": "Participants",
  "proposal-options.error.voting": "An error occurred while processing your vote. Please try again",
  "proposal-options.must-be-signed-in": "You must be signed in to vote on this topic",
  "resend-validation-email-form.error.email-not-valid.no-link": "The email address for this citizen is not validated. We send citizens a welcome email when they sign up. Please check your email (remember to check your spam folder too) and click on the link supplied on the email.",
  "settings-notifications.no": "No",
  "settings.notificatinos.get-email-when": "Get an email when",
  "settings.notifications.new-topic": "A new topic gets published",
  "settings.notifications.title": "Notifications settings",
  "settings.notificatoins.someone-replies-your-comments": "Someone replies one of your comments",
  "settings.title": "Settings",
  "signin.account-disabled": "This account has been disabled",
  "signin.error.email-not-valid": "The email address for this citizen is not validated. We send citizens a welcome email when they sign up. Please check your email (remember to check your spam folder too) and click on the link supplied on the email. Click here if you need the welcome email to be resent",
  "signin.login": "Login",
  "signin.signup": "Signup",
  "signup.accepting": "By signing up you are accepting our",
  "signup.now-can-vote": "You can now argue and vote on bills!",
  "signup.user-already-validated": "This citizen already validated the email address",
  "signup.whitelist.email": "Email {email} is not allowed by admin",
  "validators.max-length.plural": "It must be at least {n} characters long at most",
  "validators.max-length.singular": "It must be 1 character long at most"
}

Maybe they can be pieced together from the other translations, but I'm not confident in my ability to distinguish Japanese word boundaries.

This is an important revision and might make it worth using the DemocracyOS codebase for the UK version. Well, sort of. It would be nice it if worked 'out of the box'. A lot of our collaborators have had troubles.

Thanks @ben-pr-p! but for now we can't merge a language with so many missing keys.

@ben-pr-p is there any reason why you're not using plain japanese characters? I mean, supposedly UTF-8 supports them, doesn't it?

@gvilarino The encoding got messed up when I used a Python program to format it - most recent commit fixes that.
@mjlescano No worries! Will add the rest when I get them from Mair.

@ben-pr-p cool! One more thing: could you please squash your commits into just one? That'd make the PR merge-ready (once you've added the missing keys, of course).


Add documentation for list's 'max' feature, include info on 'fetch all' button

docs/cf-entity-scaling.md

fixed via #4226


"D3D11: Removing Device." leads to hung UI

Trying to diagnose a bug in Chrome's rendering, I've been capturing a stream with Renderdoc. When I try to replay the stream, inspecting certain API calls leads to a removed device in D3D11, which hangs the UI in Invoke (while (!cmd.processed)).
I tried debugging this but I'm not sure what's going on. If you want me to upload the stream I can share it on Google Drive.

This error comes from D3D itself and just kind of generally means "something went badly wrong and it's not recoverable". Could be GPU hang/timeout, driver crash or other such fatal error. It's not too surprising the UI then hangs in Invoke since it might be waiting on some result which is never going to return.
If you can upload the .rdc I'll certainly try and take a look if I can repro the bug. What particular action were you doing on inspecting the event? If it was just selecting it, the most likely suspect (although not the only possibility) is the mesh output view fetching output data, since that's the most 'stressful' action that takes place just by selecting.

Thanks for following up. I've uploaded the capture to Google Drive here.
I was selecting the event in the inspector, and I believe the hanging call was something to do with meshing or texturing. I think possibly the command stream was trying to do something wrong (due to the the buggy app here) but it would be nice at least if the UI didn't hang.
To repro open the capture log and click on event 958, or probably any of the draw calls around there.

This looks like it was down to a little known (at least to me) feature - that the BaseVertexLocation on indexed draws is actually signed and can be negative. I wasn't handling this properly so it was wrapping around and trying to copy from waayyy off the end of a buffer.

As a side note I wonder if this negative basevertex value is intended, since if I manually clamp it to 0 then the mesh looks a lot more healthy both in transform and in output:

compared to what it looks like with just replaying the log faithfully:

thanks for the follow-up.
Yes the negative start vertex location is something ANGLE uses a fair bit - we normally use it in conjunction with the 'offsets' to the vertex buffer to reference multiple vertex attributes in a single buffer.
You're right there's a bug here, where we were using an incorrect offset. I was trying to diagnose this bug with renderdoc, hence the crashes. What was happening (I think) is that the negative offset was correctly applied in a prior call, then the bug was that it wasn't being update in a subsequent call, making the previously sensible negative value invalid.
I've fixed the bug in ANGLE but handling this out-of-bounds-ness could make Renderdoc more robust.

I tried to verify today, but it seems I can't use renderdoc with Chrome on Windows 10 at the moment. I was having success with Windows 7 earlier. I am not sure how to diagnose this, but I inject into the process, and clicking Trigger Capture doesn't seem to do anything. Anyway, I'm happy to trust your verification that the bug is fixed for this.

This wouldn't be OS-specific, but if you're injecting into the process (rather than launching via renderdoc) you need to be careful that D3D initialisation happens after the injection. The easiest way to tell is if the overlay appears or not.
I've never even considered trying to debug Chrome so I'm not sure what's the best way to get renderdoc working with it :).
I'll close this bug for now but if you're still having issues, feel free to reopen. You can also get in touch if you want help with getting renderdoc injected.

The method I use to inject into Chrome is with a flag "--gpu-startup-dialog", which hard-codes a MessageBox to pop up very early in the process start. It shouldn't be loading D3D11 DLLs by then, since we load those at run time somewhat later, but I should double-check just to be sure.
Using this method I did get the overlay and capture to work on Windows 7 but not on my home machine running Windows 10. I also have Nsight installed on my home machine but not at work, so I should try removing that as well.


Incorrect slicing: l.[..(-1)] should give [] not an error

l.[..j] does not currently satisfy any reasonable definition
let l=[1;2]
l.[0..(-1)] // gives []
l.[..(-1)] // gives an index out of range error; should give []
l.[2..] // gives [], correctly but inconsistently with l.[..(-1)]

The same applies to arrays and strings.
The slicing tests at https://github.com/Microsoft/visualfsharp/blob/master/tests/fsharp/core/array/test.fsx explicitly require the curent incorrect error.
l.[i..j] works well.
For example for l.[0..j] there are three unambiguous cases:
j=-1 gives [], the natural initial condition
j=0 gives [1]
j=1 gives [1;2]
Overall l.[i,j] satsisfies the definition: take the set {n:i≤n<j}, order it as a list, and look up the elements of that list. So j=2 gives an error, and j=-2 gives [].
There are other reasonable definitions but they will give the same results for -1,0 and 1.
Resulting problems: gaps in reasoning
As with all failures to use the best initial case (humans before the discovery of 0, difficulty some have with 0!=1, the product of an empty set, etc.) it creates gaps in logic that require workarounds.
For example if n is a position in the string s, you would expect s.[..(n-1)] to be the substring prior to n but this is not generally true at the moment (for n=0).
Currently the meaning of l.[..j] cannot be stated simply.

Thanks for this Analysis, it seems there may even be a few extra issues related to your analysis.
l.[..-1]       //gives a build error intuitively a -1 should work in a slice as well as (-1)
l.[(-1)..] // gives an index out of range error; should give []
Fixing these issues will not be breaking, because currently they will result in runtime errors or a compile error.
Kevin

@charlesroddie
Thanks for this Analysis, it seems there may even be a few extra issues related to your analysis.
\l.[..-1]       //gives a build error intuitively a -1 should work in a slice as well as (-1)
l.[(-1)..] // gives an index out of range error; should give []
Fixing these issues will not be breaking, because currently they currently result in runtime errors or a compile error.
Kevin

Yes that is another issue. let x = -1; l.[0..-x] works while l.[..-x] doesn't. But people who use F# are used to having to put brackets around things if they don't compile :).
I think l.[(-1)..] giving an error is OK. It's the same as l.[-1..2], which also gives an error, because it tries to look up the indices -1,0,1,2.
Alternatively you could take l.[(-1)..] to mean: take the infinite sequence -1..=-1,0,1,2,..., restrict to the valid indices 0,1 and then look up, giving [1;2].

The negative number/operand parsing issue crops up in the increment too:
[2..-1..0] gives [2;1;0]
let x = 2 in [x..(-1)..0] gives [2;1;0]
let x = 2 in [x..-1..0] gives error FS0001: The type 'int' does not support the operator '..-'

Closing as this has now been implemented

This is now completed for F# 5 preview - all built-in types with slices have the same behavior.


Conflicting message in host terminal

This is a benign message but why does it appear?  Using the Host terminal (on Master), I get:
mesg: ttyname failed: Success
It sorts itself out, but just thought I'd file this as an fyi.

@abuehrle what Linux distribution was the host running?

uname -r says:
4.4.0-75-generic

That's the kernel version. What distribution was it? Is it a cloud instance? uname -a may help

Yes it's the same instance where the terminal is failing.  You have an invite to that one:
https://cloud.weave.works/app/cold-hill-34

I am seeing this in Weave Cloud dev and prod. The error also appears when executing /bin/bash -l inside a host terminal there.
This seems be a known problem with glibc. Perhaps we can work around it somehow.


$dboptions type: Hash instead of String[1]

$dboptions is passed to the openldap_database custom type, and there it's a hash, so the type of $dboptions in this define should also be a Hash.
See the comment in https://github.com/voxpupuli/puppet-openldap/blob/9ecdd0392d680a78ecc1b147413d64e35b8de695/lib/puppet/type/openldap_database.rb#L185
With 'String[1]' as type you'll run into errors like
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Openldap::Server::Database[<domain>]: parameter 'dboptions' expects a value of type Undef or String, got Struct

and I can't find a way around it, except changing the type of $dboptions in this define.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

and there it's a hash

It is actually not a hash: according to the documentation it behaves like an array. We are adding tests and fixing a bunch of inconsistencies in this class, I opened #348 to address this issue.

Hi @smortex I believe you've misunderstood "and there it's a hash".
@gerardkok was saying that in this module's Openldap_database type, $dboptions is written expecting a Hash - it expects to iterate over key value pairs:
https://github.com/voxpupuli/puppet-openldap/blob/0aaa376c8065d78191b0556e50e64d8eb9db736b/lib/puppet/type/openldap_database.rb#L188-L190
Additionally, the provider treats dboptions as a hash, both for defining a new instance, and fetching existing instances i.e.:
https://github.com/voxpupuli/puppet-openldap/blob/0aaa376c8065d78191b0556e50e64d8eb9db736b/lib/puppet/provider/openldap_database/olc.rb#L241
In its current state I am not sure how we can make this module work. I can see that it would pass the tests for the manifests, but, any testing of this module where the provider and type are exercised (i.e. real world usage) surely would fail.

@nward   Ah, I think I see… For some reason I mixed up 'options' and 'config' and missed one level of indirection…  To implement this example of the OpenLDAP doc:
olcDbConfig: set_cachesize 0 10485760 0
olcDbConfig: set_lg_bsize 2097512
olcDbConfig: set_lg_dir /var/tmp/bdb-log
olcDbConfig: set_flags DB_LOG_AUTOREMOVE

one should use this, which was not possible and is still not possible:
openldap::server::database { 'dc=example,dc=com':
  # [...]
  dboptions => {
    config => [
      'set_cachesize 0 10485760 0',
      'set_lg_bsize 2097512',
      'set_lg_dir /var/tmp/bdb-log',
      'set_flags DB_LOG_AUTOREMOVE',
    ]
  },
}

This is embarrassing, thanks for the head up! I opened #350 to fix it, hopefully this time it will be good :unamused:


Syllabi++

Uploaded 7 out of 8 syllabi (thanks, seamus2002!). Ready to pull :)

Hi, I just took all of your changes and added them in this commit: https://github.com/Hunter-Open-Source-Club/syllabi/commit/550e8842d27745dcc4f53e78ffd10c0d30ac43c3. Since I was so slow in getting to this PR, the changes piled up in the background and merge conflicts developed. I tried to fix it.... but failed :-(
So I'm closing this in favor of that commit
This is a lot of syllabi, super cool, I wish I got to this earlier


support other visual grounding datasets?

Hey, you conduct Visual Grounding experiment on RefCOCO+. Have you tried on other datasets such as RefCOCO or RefCOCOg？ If I am going to do this, how can I get the data? Since in your release, only json file of RefCOCO+ is provided. Are these json file generated by yourself? Or are they downloaded from somewhere else?  (I just find the data form of your ALBEF VG is not the same as TransVG.) Thank you very much. Looking forward to your reply.

Our refcoco+ annotation is converted from the official annotation: https://github.com/lichengunc/refer.
We only use image-text pairs during training. During inference, we use the GradCam to rank the proposals provided by https://github.com/lichengunc/MAttNet.

Thank you for your reply! I still have some questions about dataset to consult on you. I conduct VG experiments with dataset provided in work TransVG's guidance https://github.com/djiajunustc/TransVG/blob/main/docs/GETTING_STARTED.md, which is downloaded from https://drive.google.com/file/d/1fVwdDvXNbH8uuq_pHD_o5HI7yqeuz0yS/view. The downloaded data includes  unc+_train.pth, corpus.pth etc., it seems similar to your converted refcoco+_train.json etc.
Since you only provide json file of RefCOCO+，now I want to experiment with RefCOCO etc, do I just need to convert the files as you did with RefCOCO+？ I can't open the data link in https://github.com/lichengunc/refer.
So my issue is could you please provide the code script of converting data, or matched version of RefCOCO. Thus I can try RefCOCO, RefCOCOg directly. Thank you very much! Wish I have stated my question clearly.

Hello, could you help me to response the above question? Thank you very much!

Here is a code snippet I used for data conversion:
split = 'train'
ref_ids = refer.getRefIds(split=split)

annotations = []

dim_w, dim_h = 384, 384
patch_size = 32
n_patch_w, n_patch_h = dim_w//patch_size, dim_h//patch_size

refer.getRefIds()
for ref_id in ref_ids:

    ref = refer.Refs[ref_id]
    image = refer.Imgs[ref['image_id']]

    width, height = image['width'], image['height']
    w_step = width/n_patch_w
    h_step = height/n_patch_h
    patch_area = height*width/(n_patch_w*n_patch_h)

    mask = refer.getMask(ref)['mask']

    patch = []
    for i in range(n_patch_h):
        for j in range(n_patch_w):
            y0 = max(0,round(i*h_step))
            y1 = min(height, round((i+1)*h_step))
            x0 = max(0,round(j*w_step))
            x1 = min(width, round((j+1)*w_step))
            submask = mask[int(y0):int(y1),int(x0):int(x1)]
            patch.append(submask.sum()/patch_area)

    text = [sentence['sent'] for sentence in ref['sentences']]
    imgPath = os.path.join('/export/share/datasets/vision/coco/images/train2014', image['file_name'])
    annotation = {'image': imgPath, 'text':text, 'patch':patch, 'type':'ref', 'ref_id':ref['ref_id']}
    annotations.append(annotation)

Got it. Thank you very much! I will have a try!

Hey, I have a small problem to bother you. I find four files in you data/refcoco+ subfoler: cocos.json, dets.json, instances.json, ref(unc).p. And in the provided file of codebase TransVG, I find there are two similar files in refcoco and refcoco+:instances.json, refs(unc).p, but the cocos.json, dets.json are missing. Where are the latter two files from? Or do refcoco and refcoco+ share the same file of cocos.json, dets.json. I make refcoco share the same file and finish the data transfer, training is OK, but at one step of eval, it raises "ref_id key error". Sorry to bother you again. Thank you very much.


[Bug]: Table column issues

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

When I add a custom column, the column gets added at the top of the list and not at the bottom. This is a problem because when I click a button to add something, I expect it’ll be added near the button and not far away. The user won’t even notice this if they have a long list of columns non reproducible
If I have a long list of columns(beyond the view port), I can’t move a column from bottom to top because the property pane doesn’t scroll with the card being moved. You can try this out. #4266
Resizing of last column is difficult. It always maintains a fixed size and it can’t ever be thin. This makes it difficult to create symmetrical columns in a table.

Steps To Reproduce
1. Add columns to the table.

Environment
Production
Version
Cloud

@areyabhishek only the point number 3 is a valid issue

Part of #7393 talks about the last column.

@somangshu @riodeuno Do any of these points need design?

@momcilo-appsmith These seem like UI bugs and don't seem to need design effort.

@riodeuno I feel #7393 is a bit different from point 3.
Here we wish to resize the last column and not let it take the left out width. The mentioned issue is probably connected to the usability of the resize. @areyabhishek could you please correct me if I am wrong

@somangshu Hey why am I assigned to this?

@momcilo-appsmith its for the 3rd point

Resizing of last column is difficult. It always maintains a fixed size and it can’t ever be thin. This makes it difficult to create symmetrical columns in a table

I feel we need some design help here, Let me know

Last col resizing issues, it always goes back to whatever the size was. @areyabhishek can you confirm if this is what you are referring to?
https://www.loom.com/share/e9ada248d5c04b988a75b0e4bb0e175f

Moving this to Product backlog, check the loom above to understand the issue

@dilippitchika what is the solution, I still dont see the clarity here

This seems to be working. If there is still a problem lets create a new issue for it


Excessive use of memory when building spatial index

Noted at https://github.com/OSGeo/gdal/pull/8490.
I belive the same issue is in the ref C++ implementation (same as GDAL), Java, rust and go.
I also think it's possible to improve this by internally separating the list of nodes for the lowest level and the rest of the tree, to avoid copying when passing in the lowest level (feature/leaf nodes) in construction.

another idea is would be to use float32 instead of float64 during index construction. You would round down the float64 values for xmin, ymin and round up for xmax, ymax. That could be just for the index construction, while the on disk format would remain float64 (even if ultimately float32 would probably be a better choice if backwards compatibility wasn't a concern)

Yes, in hindsight I realize 32-bits floats would have been the better choice but that ship has sailed.
I suppose it could make sense to have the whole tree sorted and written using some memory mapped construct to avoid the memory requirement entirely.

I suppose it could make sense to have the whole tree sorted and written using some memory mapped construct to avoid the memory requirement entirely.

I believe for that to be efficient would require to use some carefuly chosen algorithms that avoids purely "random" access during the sort, like https://stxxl.org/ (never used it, just came through from a quick search)

I understand the requirements to be that we can insert the (hilbert_number, feature_buffer_temp_location) in whatever order and then iterate over them in order of hilbert_number so we can write the features in their hilbert ordering.
In my own experience, we're talking about hundreds of MB or a small number of GB to hold a large index, but probably not terabytes for the index.
So if we wanted to do some kind of memory mapped thing, I don't think we necessarily have to support anything too exotic, like parallel writes across disks on terabyte data sets like stxxl supports (although maybe that'd be cool too).
My first guess would be a btree that allocates reasonably WRT the file system. I haven't found an out of the box library that does this in rust yet, without pulling in an entire database system with it.

Another alternative that might be simpler than a memory mapped b-tree: Since we only need to iterate after everything is inserted, we could write the (hilbert_number, feature_buffer_temp_location) to a file and then use some external sort algorithm (presumably with chunks that are some multiple of page size).


Regression touching mariadb image - at least

/kind bug
Description
I cannot run sclorg/mariadb images any longer using the same commands as before. Even the commands from https://github.com/sclorg/mariadb-container don't work any longer.
Steps to reproduce the issue:
podman run --rm -d -v mariadb-test:/var/lib/mysql/data -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db -p 3306:3306 registry.access.redhat.com/rhscl/mariadb-102-rhel7
podman logs -l

Even without volume mounts:
podman run --rm -d -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db -p 3306:3306 registry.access.redhat.com/rhscl/mariadb-102-rhel7
podman logs -l

Describe the results you received:
Last logs before the container exits:
...
2020-02-11  9:16:02<PHONE_NUMBER>67200 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2020-02-11  9:16:02<PHONE_NUMBER>67200 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2020-02-11  9:16:02<PHONE_NUMBER>67200 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

Describe the results you expected:
Container should run as before the upgrades (see additional information at the bottom of the issue).
Output of podman version:
Version:            1.8.0
RemoteAPI Version:  1
Go Version:         go1.13.6
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.13.6
  podman version: 1.8.0
host:
  BuildahVersion: 1.13.1
  CgroupVersion: v2
  Conmon:
    package: conmon-2.0.10-2.fc31.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.10, commit: 6b526d9888abb86b9e7de7dfdeec0da98ad32ee0'
  Distribution:
    distribution: fedora
    version: "31"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>0
  OCIRuntime:
    name: crun
    package: crun-0.12.1-1.fc31.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 0.12.1
      commit: df5f2b2369b3d9f36d175e1183b26e5cee55dd0a
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: tanwald1
  kernel: 5.4.17-200.fc31.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.0-20.1.dev.gitbbd6f25.fc31.x86_64
    Version: |-
      slirp4netns version 0.4.0-beta.3+dev
      commit: bbd6f25c70d5db2a1cd3bfb0416a8db99a75ed7e
  uptime: 55m 25.78s
registries:
  search:
  - docker.io
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - registry.centos.org
  - quay.io
store:
  ConfigFile: /home/tanwald/.config/containers/storage.conf
  ContainerStore:
    number: 2
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.7.5-2.fc31.x86_64
      Version: |-
        fusermount3 version: 3.6.2
        fuse-overlayfs: version 0.7.5
        FUSE library version 3.6.2
        using FUSE kernel interface version 7.29
  GraphRoot: /home/tanwald/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 48
  RunRoot: /run/user/1000
  VolumePath: /home/tanwald/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.8.0-2.fc31.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
Introduced after dnf distro-sync where other packages that might be relevant where upgraded too:
containernetworking-plugins-0.8.5-1.fc31.x86_64
crun-0.12.1-1.fc31.x86_64
podman-2:1.8.0-2.fc31.x86_64
podman-plugins-2:1.8.0-2.fc31.x86_64
runc-2:1.0.0-102.dev.gitdc9208a.fc31.x86_64
selinux-policy-3.14.4-47.fc31.noarch
selinux-policy-targeted-3.14.4-47.fc31.noarch
systemd-243.6-1.fc31.x86_64
systemd-container-243.6-1.fc31.x86_64
systemd-libs-243.6-1.fc31.x86_64
systemd-pam-243.6-1.fc31.x86_64
systemd-udev-243.6-1.fc31.x86_64

It runs fine on my machine. @mheon @baude @giuseppe, can you check on cgroups v2?

Works fine here, Fedora 31 cgroupsv2 + crun

Can reproduce easily on rawhide:
# podman run -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db -p 3306:3306 registry.access.redhat.com/rhscl/mariadb-102-rhel7
Warning: Can't detect memory limit from cgroups
Warning: Can't detect number of CPU cores from cgroups
Warning: Can't detect memory limit from cgroups
Warning: Can't detect number of CPU cores from cgroups
=> sourcing 20-validate-variables.sh ...
=> sourcing 25-validate-replication-variables.sh ...
=> sourcing 30-base-config.sh ...
---> 17:57:52     Processing basic MySQL configuration files ...
=> sourcing 60-replication-config.sh ...
=> sourcing 70-s2i-config.sh ...
---> 17:57:52     Processing additional arbitrary  MySQL configuration provided by s2i ...
=> sourcing 40-paas.cnf ...
=> sourcing 50-my-tuning.cnf ...
---> 17:57:52     Initializing database ...
---> 17:57:52     Running mysql_install_db ...
Warning: World-writable config file '/etc/my.cnf.d/40-paas.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf.d/50-my-tuning.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf.d/base.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf.d/40-paas.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf.d/50-my-tuning.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf.d/base.cnf' is ignored
2020-02-11 17:57:53<PHONE_NUMBER>65824 [Note] Using unique option prefix 'ignore-db-dir' is error-prone and can break in the future. Please use the full name 'ignore_db_dirs' instead.
2020-02-11 17:57:53<PHONE_NUMBER>65824 [Note] Using unique option prefix 'ignore-db-dir' is error-prone and can break in the future. Please use the full name 'ignore_db_dirs' instead.

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

scl enable rh-mariadb102 -- '/opt/rh/rh-mariadb102/root/usr/libexec/mysqladmin' -u root password 'new-password'
scl enable rh-mariadb102 -- '/opt/rh/rh-mariadb102/root/usr/libexec/mysqladmin' -u root -h 6bd3290cfc02 password 'new-password'

Alternatively you can run:
scl enable rh-mariadb102 -- '/opt/rh/rh-mariadb102/root/usr/libexec/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

---> 17:57:55     Starting MySQL server with disabled networking ...
Warning: World-writable config file '/etc/my.cnf.d/40-paas.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf.d/50-my-tuning.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf.d/base.cnf' is ignored
---> 17:57:55     Waiting for MySQL to start ...
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] Using unique option prefix 'ignore-db-dir' is error-prone and can break in the future. Please use the full name 'ignore_db_dirs' instead.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] Using unique option prefix 'ignore-db-dir' is error-prone and can break in the future. Please use the full name 'ignore_db_dirs' instead.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] /opt/rh/rh-mariadb102/root/usr/libexec/mysqld (mysqld 10.2.22-MariaDB) starting as process 79 ...
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Uses event mutexes
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Compressed tables use zlib 1.2.7
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Using Linux native AIO
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Number of pools: 1
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Using SSE2 crc32 instructions
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Completed initialization of buffer pool
2020-02-11 17:57:55<PHONE_NUMBER>94080 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: The first innodb_system data file 'ibdata1' did not exist. A new tablespace will be created!
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Setting file './ibdata1' size to 12 MB. Physically writing the file full; Please wait ...
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: File './ibdata1' size is now 12 MB.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Setting log file ./ib_logfile101 size to 50331648 bytes
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Setting log file ./ib_logfile1 size to 50331648 bytes
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: New log files created, LSN=45790
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Doublewrite buffer not found: creating new
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Doublewrite buffer created
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Creating foreign key constraint system tables.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Creating tablespace and datafile system tables.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Creating sys_virtual system tables.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: Waiting for purge to start
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] InnoDB: 5.7.25 started; log sequence number 0
2020-02-11 17:57:55<PHONE_NUMBER>38784 [Note] Plugin 'FEEDBACK' is disabled.
2020-02-11 17:57:55<PHONE_NUMBER>38784 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2020-02-11 17:57:55<PHONE_NUMBER>38784 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2020-02-11 17:57:55<PHONE_NUMBER>38784 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
ERRO[0004] Error forwarding signal 23 to container 6bd3290cfc0264025d5f382f821a997fe89ebc54afcd4ca9a94795ee0ec5bba0: database connection already closed

(That is with setenforce 0).
podman-1.8.0-0.2.dev.gitc4f6d56.fc32.x86_64
crun-0.12.1-1.fc32.x86_64
conmon-2.0.11-0.5.dev.git77f4a51.fc32.x86_64
5.5.0-0.rc6.git3.1.fc32.x86_64

More Signal 23.
We really need to track that one down - may not be the culprit here, but applications in the container cannot appreciate being continually hit by it.

@giuseppe I took a f31 vm, turned off cgroups v2, observed same failure ... i swapped out crun and runc and it ran on runc no problem.
would you ptal?


get_speech_timestamps error

python version:3.7
libs: torch==1.12.0 torchaudio==0.12.0
========================================
speech_timestamps = get_speech_timestamps(raw_frames, model1, sampling_rate=sample_rate)
File "vad\silerovad_utils.py", line 241, in get_speech_timestamps
speech_prob = model(chunk, sampling_rate).item()
File "G:\work\python\audio_env\lib\site-packages\torch\nn\modules\module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
RuntimeError: The following operation failed in the TorchScript interpreter.
Traceback of TorchScript, serialized code (most recent call last):
File "code/torch/vad/model/vad_annotator.py", line 43, in forward
_h = self._h
_c = self._c
out0, _6, _7, = (_model).forward(x0, _h, _c, )
~~~~~~~~~~~~~~~ <--- HERE
self._h = _6
self._c = _7
File "code/torch/vad/model/vad_annotator/___torch_mangle_28.py", line 26, in forward
x3 = (encoder).forward(x2, )
decoder = self.decoder
x4, h0, c0, = (decoder).forward(x3, h, c, )
~~~~~~~~~~~~~~~~ <--- HERE
_0 = torch.mean(torch.squeeze(x4, 1), [1])
out = torch.unsqueeze(_0, 1)
File "code/torch/vad/model/vad_annotator.py", line 150, in forward
else:
rnn0 = self.rnn
_26 = (rnn0).forward__0(torch.permute(x, [0, 2, 1]), None, )
~~~~~~~~~~~~~~~~ <--- HERE
x2, _27, = _26
h2, c2, = _27
File "code/torch/torch/nn/modules/rnn.py", line 80, in forward__0
training = self.training
_13, _14, = hx0
_15, _16, _17 = torch.lstm(input0, [_13, _14], _flat_weights, True, 2, 0.10000000000000001, training, False, True)
~~~~~~~~~~ <--- HERE
hidden = (_16, _17)
if torch.not(is_batched):
Traceback of TorchScript, original code (most recent call last):
File "/home/keras/notebook/nvme_raid/adamnsandle/silero-models-research/vad/model/vad_annotator.py", line 377, in forward
    if sr == 16000:
        out, self._h, self._c = self._model(x, self._h, self._c)
                                ~~~~~~~~~~~ <--- HERE
    elif sr == 8000:
        out, self._h, self._c = self._model_8k(x, self._h, self._c)

File "/home/keras/notebook/nvme_raid/adamnsandle/silero-models-research/vad/model/vad_annotator.py", line 300, in forward
x = self.encoder(x)
    x, h, c = self.decoder(x, h, c)
              ~~~~~~~~~~~~ <--- HERE

    out = x.squeeze(1).mean(dim=1).unsqueeze(1)

File "/home/keras/notebook/nvme_raid/adamnsandle/silero-models-research/vad/model/vad_annotator.py", line 237, in forward
x, (h, c) = self.rnn(x.permute(0, 2, 1), (h, c))
else:
x, (h, c) = self.rnn(x.permute(0, 2, 1))
~~~~~~~~ <--- HERE
    x = x.permute(0, 2, 1)

File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/rnn.py", line 769, in forward__0
self.check_forward_args(input, hx, batch_sizes)
if batch_sizes is None:
result = _VF.lstm(input, hx, self._flat_weights, self.bias, self.num_layers,
~~~~~~~~ <--- HERE
self.dropout, self.training, self.bidirectional, self.batch_first)
else:
RuntimeError: The expanded size of the tensor (256) must match the existing size (64) at non-singleton dimension 1.  Target sizes: [1, 256].  Tensor sizes: [256, 64]

Could you upload the audio causing this error?

It's a normal wav audio with 16000 sample rate. My code looks like this:
torchaudio.set_audio_backend("soundfile")
model, utils = torch.hub.load(repo_or_dir='vad',model='silero_vad',source='local', onnx=False)
speech_timestamps = get_speech_timestamps(raw_frames, model, sampling_rate=sample_rate, min_speech_duration_ms=100)

The vad directory holds silero_vad.jit.

does this error occur when you load model using the following code?
model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad',
                                                model='silero_vad',
                                                force_reload=True,
                                                onnx=False)

yep! And I tested many wav files and they were all  wrong. The error is exactly the same as source='load'

does this error still occur when you load model using the following code?
model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad',
                                                model='silero_vad',
                                                force_reload=True,
                                                onnx=False)

But the older version before 3 days ago works will with python 3.6 and torch 1.10

I can't reproduce the error. This code works fine both locally and on the Google Collab using different audio files:
import torch
import torchaudio
torch.set_num_threads(1)
SAMPLING_RATE = 16000
USE_ONNX = False

torchaudio.set_audio_backend("soundfile")
torch.hub.download_url_to_file('https://models.silero.ai/vad_models/en.wav', 'en_example.wav')

model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad',
model='silero_vad',
force_reload=True,
onnx=USE_ONNX)

(get_speech_timestamps,
 save_audio,
 read_audio,
 VADIterator,
 collect_chunks) = utils

wav = read_audio('test.wav')
speech_timestamps = get_speech_timestamps(wav, model, sampling_rate=SAMPLING_RATE, min_speech_duration_ms=100, visualize_probs=True)

thanks a lot! I'm gonna have to do some more debugging.

@xlkness
one way to approach this is to try standard pre-built pytorch docker images
and see if it replicates there
if it does not, then 99% chance is that the problem is with your installation of pytorch

@xlkness one way to approach this is to try standard pre-built pytorch docker images and see if it replicates there if it does not, then 99% chance is that the problem is with your installation of pytorch

thanks very much!! It's my fault.Because i load model and use it in multithreaded env.

Please make sure to disable gradients in each of your threads, or horrible things may happen.
Or use ONNX.

ok, I'll check it.thanks again.


Add item to gopher project board TODO column on auto-update PR

closes: https://github.com/kyma-project/btp-manager/issues/195

/test pull-btp-manager-build


Use single file for parquet serialization

Use single file for parquet serialization
Closes #968

Implements changes to store Woodwork typing information in parquet file metadata instead of in woodwork_typing_info.json file (or equivalent).

@bchen1116 I think I addressed all of your comments with the recent updates, but please let me know if I missed anything. Thanks!


How to observe for Meteor connection

Hi, how can I know when the Meteor connection is connected or disconnected?

When you pass a callback to the connection method that callback is executes after the server sends a successful connection message. That's how you know when it's connected.
Disconnection is trickier. There is no DDP message for 'disconnect'. Rather, the client and server may exchange pings to make sure that one another are still there. If too long an interval passes without receiving a ping response, the server will close the connection.
If the connection closes, SwiftDDP automatically tries reestablish the connection. This is analogous to the way DDP works in the browser (MeteorJS). The connection is designed to happen in the background, independent of the application code,  and to be managed by the server.
So, for the initial connection, use the callback. As for disconnection, it should not happen unless your server refuses the connection because it can no longer reach your client.

Thank you for the quick reply. However, what I need in my application is to deactivate users' interactions when meteor is disconnected and reactivate when it's reconnected. Therefore, the call back function after calling "connect" is only useful if I connect to meteor manually, but I need to handle the auto-reconnect as well.
Is there a way to listen to onConnect and onDisconnect?

Did you read the reply above?

Closing this... please reopen or open a new issue of this isn't clear.


Default clip length

Thanks a lot for providing an open source alternative for video journaling! I've just discovered the app and it looks great. I just would humbly like to make a few feature suggestions:

I love the ability to include clips as long as 10 s in my movie, if I want to. But for people like me, who normally want to record a video clip of a certain length every day, it might be useful to be able to set a default clip length.
(Edit: Added individual issues for each feature.)

Again, thank you very much for doing this. I hope my suggestions don't sound too overbearing.

Hi @akusel , thank you for the feedback!
I agree with all the points, would only like to request that you create an issue for each one, so it can be tracked separately.
Please edit the title and content of this with your first point, and create the remaining ones. Thank you!

I added quick trim buttons and it's really practical, I think it's always better to extend the trimming slider to its full possibility to avoid other kinds of problems, so I will be closing this for now. Trimming should be more precise and easy on the next version. Please re-open if you still think it's valid to implement a default trim after the update. Thanks!


suggestion: allow for multiple webhook urls

allow for multiple webhook urls so it sends the webhook to all of them

You can just iterate over an array of multiple webhooks, cant you?
Dont think there would be a massive benefit of integrating such a simple option inside the module.


setValueAs is shown in V5 documentation

Hi, I'm using react-hook-form V5 currently.
I just confused that there's an option for setValueAs in V5 documentation, but not was in actual source code. Maybe it's a new feature on V6 right?

It's v6 plus feature.


Recamán's Sequence - Part 1 animated arc

Hello, I've modified the code so that the arc is animated instead of appearing all at once,
in my codepen the time between new numbers is set at 1s (1000ms).
Hopefully I modified the file correctly :)
link to working example: https://codepen.io/jacekWyroba/full/ajyaJE/

Hey, the animation looks great, would love to merge and show on Friday's live stream! Seems like there is a syntax error in the markup still, can you double check?

Yay!


Update gulp-clean-css

This updates gulp-clean-css to the most recent version.
I ran a file with 10k+ lines of (unoptimized) CSS through this updated module and there were no differences. But be sure to test it on your end as well.
A deprecated warning of<EMAIL_ADDRESS>when installing the bootstrap is now also gone.

Tested gulp tasks, works fine. css task finished successful, also css-watch in dev mode. Served css file is minified and sourcemaps still work 👍

@waarissyb Updated it to 3.3.1. Looks like the author hasn't been sitting on his hands since I created this PR. ;)


Unify large/medium button

ref:

https://github.com/kodadot/nft-gallery/pull/7946#discussion_r1384593329
https://github.com/kodadot/nft-gallery/pull/7711#discussion_r1379905080

@exezbcz if you can provide definitive size for small/normal/medium/large buttons
Oruga doc

will look into this asap

okay here we go

library updated here: https://www.figma.com/file/JXNtryaNYhY0XJNArzvPQx/Handoff?type=design&node-id=5311%3A18771&mode=design&t=LBtIPL3xbdeUYhyk-1

probably will get unified in https://github.com/kodadot/nft-gallery/issues/8222

closing?


Question: can application insights write telemetry via rest based call?

We are using oracle mcs node js server for hosting node api and would like to leverage application insights telemetry. Issue is oracle mcs has port open only to rest or soap based calls. For any calls made through application insights to instrument are getting blocked as its not rest/soap based. Is there a way app insight can make calls rest based?

@mandeveloper2 Can you provide more details?
If the question is if this SDK sends telemetry using a RESTful interface, the answer is yes and the protocol is defined here: https://github.com/Microsoft/ApplicationInsights-Home/blob/master/EndpointSpecs/ENDPOINT-PROTOCOL.md
If the question is what IP and ports are used to open spots in your firewall, this is described here: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-ip-addresses


Add PyData Carolinas 2016 videos

Fixes #74
For the lightning talks video, https://www.youtube.com/watch?v=V6bG4NEeY0g, I don't know if it was on the 15 or 16 as the schedule has both slots (http://pydata.org/carolinas2016/schedule/)
I set "recorded" to "2016-09-15"

Nice.


[MB-15974] Upgrades storybook and related dependencies to 7.0.17

Summary
This pull request upgrades the patch version of Storybook (7.0.12 to 7.0.17), along with all of its related dependencies. (It's just easier to do this all at once rather than iterating through a small galaxy of dependabot pull requests, especially with storybook having an upgrade tool that you can run locally.)
As this is just a patch version change, there should be no impact to the performance or output of storybook, and there is definitely no change to the application code that it consumes.

Messages

:book:
:link: MB-15974

  Generated by :no_entry_sign: dangerJS against 20bdac0f8e259e428c5910980599a98a5d1f5088


Fixed data binding for the appforms form supplied by the workorder

Changes
There were a few bugs causing the appforms form not to render in the mobile application.

The binding name for the form ID was incorrect
The name of the text field template was incorrect.

LGTM (as far as I can tell!)


exa: 0.10.1 -> unstable-2023-03-01

Description of changes
same reason as last time:

exa hasn't seen a release for 2 years

Things done

Built on platform(s)

[] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 240490 run on aarch64-darwin 1

2 packages built:

exa
exa.man

Result of nixpkgs-review pr 240490 run on x86_64-darwin 1

2 packages built:

exa
exa.man

There's at least one regression in unreleased exa versions: https://github.com/ogham/exa/issues/1198
What was new that merited the update in nixpkgs, ooi?

exa didn't have a release for a longer time and cherry-picking multiple patches is cumbersome.
Maybe we should mark it broken/replace it with lsd?

lsd looks interesting, but given exa still basically works I think removing it would be disruptive for no real reason. (if it were a real drop-in replacement I could see the argument, but it looks like the default lsd colour scheme is unreadable in my terminal.)


2 Mb -> 9 Mb

1.31.0 became so fat! Could you please make it weight 2 Mb back again? It was so nice that it was very light before.

The release contains two types of packages: dist.zip (https://github.com/Zephyruso/zashboard/releases/latest/download/dist.zip) and dist-cdn-fonts.zip (https://github.com/Zephyruso/zashboard/releases/latest/download/dist-cdn-fonts.zip). The dist-cdn-fonts.zip package is more friendly to devices with limited storage space, while the dist.zip package provides a better font loading experience.

Oh, thank you for clearing this out to me! Appreciate your work! Awesome panel!


Update to fix compatibility with emotion 10

Emotion 10 also have renamed their packages. Creating two exports so there is still backwards compatibility if needed.
I figured as we have a major version in the works here we should keep the emotion export as 10 instead of doing grid/emotion10 and grid/emotion9 as the 9 export will eventually go away.

@jxnblk Can you help shed some light onto why Travis doesn't pass? First off it complained about package-lock being different now it has some obscure sha error?
Tests and build pass on my local machine.

@jxnblk Thanks for the tip, I tried that but it didn't change the package-lock file. I didn't remove the peerDependencies as it would have conflicted with https://github.com/rebassjs/grid/pull/158
I can just remove any changes to the peerDependencies then it won't conflict?

Oh, missed the other PR, sorry. I'll get that merged in first. But yeah, other than doing git checkout package-lock.json to reset it, I'm not sure what else to advise

I branched off of this one to try reseting the lock file and it seems to pass in travis now, see this branch for comparison https://github.com/rebassjs/grid/tree/SimeonC-emotion-fix-lock-file

Hmmm, I must be running a different version of node/npm - I don't know what version travis is using. What version of node/npm are you using?
If that's the case I'll add a .nvmrc file that should help alleviate those kinds of issues.

I'd like to have your contribution in here if possible, but also wanna make sure that contributing to this project works as expected. I don't think an .nvmrc file really should be necessary, but this project should work with Node 10 and npm 6

OK, I'm on Node 8 and npm 6 as well so there shouldn't be any problems.
This time I tried deleting node_modules and package-lock and that seems to have worked so I think I may have just installed it the first time pointing at my companies private npm instead of the public one or something.


Cleanup TSM files

Best-effort cleanup of TSM resources. Also increments sequence number, and not generation number.

@jwilder -- this might be better way to ensure TSM files are closed correctly. Thoughts?

This might be kind of wasteful, leaving all the files open however.

OK @jwilder -- I reverted to a simpler approach.

:+1: on green

Thanks @jwilder - please let know if you have any,other feedback on the existing code.


chore(master): release 1.1.242

:robot: I have created a release beep boop
1.1.242 (2023-11-12)
Miscellaneous

deps: update dependency secretlint to v7.1.0 (af92fb5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.242 :sunflower:


Add additive bonus to the recovery rate from a night's rest

Add additive bonus to the recovery rate from a night's rest and add it to the Hillock Halfling heritage.
Tried to resolve https://github.com/foundryvtt/pf2e/issues/2317

Note that this isn't a bonus--it doesn't follow any rules of bonuses and penalties like type stacking rules.

Renamed recoveryBonus to recoveryAddend. New name is consistent with recoveryMultiplier and better convey its function.


ListItem / Transparent button touchable effects

Hi!
I would like to know if the following is expected:

ListItem touchable effects is hard to see
Transparent button without effects on android

react-native, react and native-base version
"react-native": "0.50.3"
"native-base": "^2.3.3"
Expected behaviour
ListItem touchable effects like native. Transparent button touchable effects in android.
Actual behaviour
ListItem touchable effects is hard to see. Transparent button does not have touchable effects in android.
Steps to reproduce (code snippet or screenshot)
https://gitlab.com/vh.pegoraro/native_base_test
Screenshot of emulator/device
https://www.dropbox.com/s/dlzc51lr3b59aka/Native Base Test.mov?dl=0
Is the bug present in both ios and android or in any one of them?
ListItem is present in both. Transparent button only in android.
Any other additional info which would help us debug the issue quicker.
No.

@vhpegoraro no, these are not expected results. Marking this as bug.

Same here.
Also very weird touchable effect on ios, same as shown in @vhpegoraro 's video.
I started to see this problem on ios when I updated from 2.3.1 to 2.3.3. Not sure if 2.3.2 is still okay.

I managed to fix the problem on the transparent buttons by changing the variable androidRippleColor in the theme variables file to a darker one as it was set to white with an opacity. This doesn't seem to have had any effect on the list items though.

I was able to fix this by making the ListItem background color transparent. Possibly related to https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/variables/platform.js#L210 added in https://github.com/GeekyAnts/NativeBase/commit/e67095fb970a7200a2f167840c63daacdd7b3a04#diff-e2d9b13af5e71dd243814626dcc96107

Thank you guys !!! Changing the variable androidRippleColor and ListItem background as @dylandupreez and @digitaltoad comments solved the issues !!!


Research mode update for HL2

Docs Build status updates of commit 413b284:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.DS_Store
:white_check_mark:Succeeded

mixed-reality-docs/research-mode.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Improve getModelDiagram API (/models/{urn}/diagram) as it takes 4-12s response time.

Response time for API /models/{urn}/diagram  is between 4 to 12s for 1 request and If we do 3-4 parallel request the application crashes. I have used 1 CPU and 1 GB RAM.
As, this api generates diagram on each request. To generate diagram from model text is heavy process rather than generating diagram stream on each request. We can generate a diagram file and save it with name same as URN to serve request.
On saving and updating model API call, we can invoke a thread to generate the diagram file and save it in a cloud storage or in mounted volume. While in getModelDiagram API call, we can read model file and convert into bytes array to return the response.
This can reduce getModelDiagram response time to less than 1s.
Please suggest which storage option for diagram file would be good, mounted volume or cloud storage like Azure BLOB?

@thomas-henn ,
There are 2 suggestion we can take any of them.

We can generate the model diagram while we generate other formats of Semantic models in gen folder using generate.sh script execution and While get diagram API will be invoked then we just render that diagram file from the semantic model repository.

We can generate model diagram in POST or PUT API for saving or updating models and save it in a folder and in GET diagram API we render that stored file.

@richaashara : We think that the first proposal with having svg-file generated and ready before API call is the most beneficial.
When should this svg generated? -- Once and therefore keep this in the gen-folder in the repository. Or, and that is most probably the better solution, generate this in the Semantic Hub and re-render this from time to time, to be up-to-date and respond to changes.

@thomas-henn ,
I believe  the 1st option you mentioned seems better to me. generate svg file in gen folder with other files.
The 2nd option you are mentioning, could you please let me know when we should generate or the svg if we do it in semantic hub? As I could only think of generating it in POST or PUT API of semantic model.

Done. The download format is now svg. Issue will be closed.


Add dummy file

This PR was successfully deployed to production by CircleCI build 13 at 2017-02-09 10:15 GMT.


The grey box in this page can be adjusted and developed for better ui experience

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description

✔ Solution
Css can be used
❓ Alternatives
css
📝 Additional Context
No response

What do you mean by the folliwing?

The grey box in this page can be adjusted and developed for better ui experience

can i work on this ?

You can. We don't assign people to ussues in this Repository.
See our contribution guide: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md

i mean to say about the content below the two green boxes

Does this look good? If it does I would go ahead and refactor the code and create a PR. This is my first time so please guide me if I did some mistake.

Also noticed another thing:
Why is the second heading called A self-hosted monitoring tool doesn't use margin to create spacing instead two <br> tags. Also the spacing is is inconsistent and not pleasing to eye.

@debarkamondal I think you forgot to create a PR

This issue revolves around these lines
https://github.com/louislam/uptime-kuma-website/blob/110ca0153f4d2d9bb980d65081602ecd2af49be4/views/main.php#L31-L33

Hello, I have raised an PR based on thei issue, Please let me know if there is anything I can do.

lets continue this in https://github.com/louislam/uptime-kuma-website/pull/4/


Update README for js support for glimmer language server

Closed by #419 (thank you @chriskrycho!)


US104330: Whitespace changes to make future refactoring of HTML easier.

this will hopefully make future changes easier to read :)

thanks for formatting these Noel.


LiveShare get stuck

Issue Type: Bug
When pairing the editor seems to lag and not update files
Extension version: 1.0.2274
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:33:47.663Z)
OS version: Darwin x64 19.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
9, 14, 13

Memory (System)
16.00GB (2.14GB free)

Process Argv

Screen Reader
no

VM
0%

Are you able to see the other person's cursor updating position and edits are slow to propagate? Do you eventually see the edits or never? Are you able to navigate to different files, or is that broken too?

Closing this as resolved, since we believe we've fixed this issue and we haven't heard it reported it in a while. Please re-open this if you're still encountering a problem here. Thanks!


POSIX threads corrections & enhancements

A collection of corrections and small enhancements to POSIX threads integration:
Fixes:

wrong error reporting: pthreads return an errnum but don't set errno;
prevent deadlocks & undefined behaviors by setting PTHREAD_MUTEX_ERRORCHECK;
make Thread::Mutex#try_lock report whether the lock was acquired or not;

Features:

add an overload with timeout to Thread::ConditionVariable#wait;
add Thread.yield to pass CPU time to another thread.

Fixed formatting error.
Darwin doesn't support setting a monotonic clock on condition variables; we must rely on the non-standard pthread_cond_timedwait_relative_np. Maybe the latest macOS releases added support (along with clock_gettime) thought, but it's not backward compatible, and CI doesn't have it anyway.

Commits have been reordered, but since their sha didn't change, GitHub failed to notice it.

@ysbaddaden the sha not changing is impossible...

Well, I have no idea why github doesn't understand reordered commits, then :confused:


Search function mark in the wrong location if page rotated

Search results marked in the wrong location on the page if document rotated in the editor before open in lib based app.

This has been solved in the referenced commit.


Add some German street types

Danke schoen! Sorry about the initial build fail, mea culpa. Looks good to merge now.
Also potentially of interest: I've recently published the address_languages repo, which contains the most frequent tokens and phrases (up to 5 words) from OSM street/venue names in every language. It's been quite helpful in building the dictionaries so far. Here are for instance the German n-grams


Autocomplete falls back to vscode default

Given these two files, autocomplete does not kick in.
ClassnameFoo.hack
class ClassnameFoo{
    public function bar(): void{}
}

example.hack
function doSomething(ClassnameFoo $foo): void{
    $foo-> //autocomplete this
}

The suggestions on pressing ctrl+space at the arrow are: 'ClassnameFoo', 'doSomething', 'foo', 'function', and 'void'
Expected result
bar() //ClassnameFoo::bar(): void
Commands ran within the integrated terminal: hh_client
Result from hh_client: src/example.hack:2:11,11: A name or variable name is expected here. (Parsing[1002])
System info:
hhvm --version
HipHop VM 4.0.2 (rel)
Compiler:<PHONE_NUMBER>_606999898
Repo schema: a46021ba5e51d676a396f711ef442e334fa9152a

hh_client --version
hh--4.0.2 Tue Feb 19 20:40:27 2019

vscode-hack
Name: Hack
Id: pranayagarwal.vscode-hack
Description: Hack language & HHVM debugger support for Visual Studio Code
Version: 1.2.1
Publisher: Pranay Agarwal
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=pranayagarwal.vscode-hack

This is probably https://github.com/facebook/hhvm/blob/293adbb7980cf6201de5142ca4ab2e08b5e5bd03/hphp/hack/src/server/ffpAutocompleteService.ml#L53 losing the extension, so the '.hack' special behavior is gone.

Quoting fredemmott: The first thing the parser usually does is "Skip until you see <?"
Since a dothack file does not have a <?, the parser just waits to the end of the file and concludes "well... not much of note here". Dotphp and dothh files do contain a <?, so autocomplete and similar services will be available in those files.
Closing the issue since the problem is not one of the vscode-hack extension.


Invalid argument(s): Failed to load dynamic library 'libopencv_dart.so'

Hello
I am developing an app using the opencv_dart plugin. With it, I can easily implement image operations such as grayscale conversion and pencil drawing conversion. It is really great!
When I run it on an old tablet, I encounter an error loading lib. If possible, please help me analyze the reason.Thank you very much!
Describe the bug
crash logs =>
E/flutter ( 5108): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libopencv_dart.so': dlopen failed: empty/missing DT_HASH in "libopencv_dart.so" (built with --hash-style=gnu?)
E/flutter ( 5108): #0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43)
E/flutter ( 5108): #1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12)
E/flutter ( 5108): #2      loadNativeLibrary (package:opencv_dart/src/native_lib.dart:37:29)
E/flutter ( 5108): #3      cimgproc (package:opencv_dart/src/native_lib.dart:48:42)
E/flutter ( 5108): #4      cimgproc (package:opencv_dart/src/native_lib.dart)
E/flutter ( 5108): #5      getStructuringElement. (package:opencv_dart/src/imgproc/imgproc.dart:591:15)
E/flutter ( 5108): #6      cvRun (package:opencv_dart/src/core/base.dart:83:76)
E/flutter ( 5108): #7      getStructuringElement (package:opencv_dart/src/imgproc/imgproc.dart:591:3)
To Reproduce
just call
var kernel = cv.getStructuringElement(cv.MORPH_RECT, (kernelSize, kernelSize));
In fact, opencv cannot be initialized, and calling any API will result in an error
Smartphone (please complete the following information):

Device:  MI PAD 2 (mobile)       • A3P472621E67            • Android 5.1 (API 22)
ABI Version [android-x64]

Additional context
flutter:   Flutter (Channel stable, 3.24.3, on macOS 14.3 23D56 darwin-arm64)
opencv_dart: 1.2.5

@cuishijie1991 API level 22 is not supported, the minimum supported API is 24.
It's because some videoio API only available since 24, you can compile opencv and dartcv from source to make it work on API 22.

Thank you for your replay, I will try

@cuishijie1991 API level 22 is not supported, the minimum supported API is 24.
It's because some videoio API only available since 24, you can compile opencv and dartcv from source to make it work on API 22.

Thank you for your replay, I will try!


ENS with using L1 Provider

Proposed Changes
Implementation

ENS with force using L1 Provider
fix unit tests on latest main branch

TODO

[x] fix fail tests

Merge as it does not affect any other functions except for ENS.
If you have any problems, please comment or revert.


Document, or provide examples for, TLS configuration on OpenShift

It is not very obvious how to configure a Camel-K integration for TLS support on OpenShift. This is particularly relevant for integrations that act as service endpoints, rather than making outbound requests -- these will be subject to the OpenShift router if the client is outside the immediate OpenShft namespace.
The router can be configured to terminate TLS and do plaintext communication with the integration, and this might be appropriate for integrations that expose HTTP services. However, protocols other than HTTP will almost certainly need to use TLS pass-through, with routing information being derived from the TLS SNI header. This is because, once the TLS conversation is terminated, there is no longer an SNI header for the router to refer to, and protocols other than HTTP do not usually have an equivalent of the "Host:" header to use for routing. Pass-through is the recommendation for ActiveMQ/Artemis/Strimzi on OpenShift, for exactly this reason.
It would be good to document how to set this up, and to ensure that it actually works. It's likely that examples will have to be given for specific Camel components, because there is little uniformity in Camel itself about how to handle TLS and certificate storage.

At this very moment, trying to figure out how to do SSL connection to AMQ broker.
--secret my-tls-secret --> doesn't work, I guess expects some propertyName in specific format

--resource client.ts --> creates config map with Empty property
--resource client.ts --compression -->creates config map with my file Base64 encoded, so now I need to decode on the fly?

https://github.com/apache/camel-k/pull/2577 provides examples on how to run integration with different routes (no tls, edge, reencrypt, passthrough).

There is a route documentation on how to use kamel run to setup TLS routes. @astefanutti can you close this issue
Reopen if you feel appropriate.


Decouple time interface from libultra

PR for issue #65.

Yes, let's follow the same pattern as we did for the controller.

Done in 0f6052a.
Thanks for the review! I had also considered the points you suggested.

Great, thanks!


action button bug

When I click the buttons in the index view, the sorting of the action button is changed.
Beginning

Clicked

After run action

I noticed this issue as well. I was able to "fix" it through sum custom css. Each detached action should come with a dusk attribute. In my case these were my buttons

Disregard the CSS part above it doesn't work very well for different sized screens because of the position: absolute
I use this instead to set the order of buttons within a flex div
button[dusk="run-action-button-configuration-publish"] {
    order: 1 !important;
}

button[dusk="run-action-button-configuration-edit"] {
    order: 2 !important;
}

Disregard the CSS part above it doesn't work very well for different sized screens because of the position: absolute
I use this instead to set the order of buttons within a flex div
button[dusk="run-action-button-configuration-publish"] {
    order: 1 !important;
}

button[dusk="run-action-button-configuration-edit"] {
    order: 2 !important;
}

It's worked! Thanks a lot.


Add additional arguments to Downtime struct

re: #226
Adds additional arguments to the Downtime struct

@ojongerius do you have a chance for review?

@vanvlack hey, is there any reason why there are no getters/setters for Downtime.MonitorTags? This PR looks great otherwise BTW!

is there any reason why there are no getters/setters for Downtime.MonitorTags

Unsure, will try to regenerate the get/set stuff and see what happens.

@bkabrda by the looks, no arrays (even ones elsewhere) are in the generated get/set file.

@vanvlack ah, right, the getters and setters are only generated for struct members that are pointers, so everything is correct in this case.

Hey @vanvlack if you could address comments from @ojongerius and rebase, that would be awesome and also allow me to merge this PR.

@bkabrda updated

Ok, the tests are passing and all comments that @ojongerius made were addressed. LGTM, merging. Thanks a lot for the PR!


Sonobuoy rejected kubernetes binary version containing metadata

What steps did you take and what happened:
I have installed sonobuoy v0.11.4 and ran the following command:
wayne@7c4588613ad2:/k8s-installer$ sonobuoy run -m Quick --kubeconfig clusters/kubernetes-wwarren-test/generated/auth/kubeconfig
ERRO[0000] could not retrieve E2E config: version "v1.10.5+rackspace.0" is invalid: version cannot have prelease or metadata, please use a stable version

Sonobuoy appears to be rejecting the patch version naming scheme we use (we are currently carrying a patch for https://github.com/kubernetes/kubernetes/pull/64930)
What did you expect to happen:
I don't know, I've never run sonobuoy myself but I didn't expect it to reject the version string for our kubernetes binary. I am attempting to automate some portion of the sonobuoy test suite in our CI system and becoming familiar with installation and running locally.
Anything else you would like to add:
Nope.
Environment:

Sonobuoy version: v0.11.4
Kubernetes version: (use kubectl version): v1.10.5
Kubernetes installer & version: custom installer
Cloud provider or hardware configuration: Openstack
OS (e.g. from /etc/os-release):

zsh/3 8830 [130]  (git)-[k8s-1332]-% kubectl get nodes  -o wide
NAME                               STATUS    ROLES     AGE       VERSION               EXTERNAL-IP     OS-IMAGE                                        KERNEL-VERSION   CONTAINER-RUNTIME
kubernetes-wwarren-test-master-0   Ready     master    1h        v1.10.5+rackspace.0   <IP_ADDRESS>   Container Linux by CoreOS 1688.5.3 (Rhyolite)   4.14.32-coreos   docker://17.12.1-ce
kubernetes-wwarren-test-master-1   Ready     master    1h        v1.10.5+rackspace.0   <IP_ADDRESS>   Container Linux by CoreOS 1688.5.3 (Rhyolite)   4.14.32-coreos   docker://17.12.1-ce
kubernetes-wwarren-test-master-2   Ready     master    1h        v1.10.5+rackspace.0   <IP_ADDRESS>   Container Linux by CoreOS 1688.5.3 (Rhyolite)   4.14.32-coreos   docker://17.12.1-ce
kubernetes-wwarren-test-worker-0   Ready     node      1h        v1.10.5+rackspace.0   <none>          Container Linux by CoreOS 1688.5.3 (Rhyolite)   4.14.32-coreos   docker://17.12.1-ce
kubernetes-wwarren-test-worker-1   Ready     node      1h        v1.10.5+rackspace.0   <none>          Container Linux by CoreOS 1688.5.3 (Rhyolite)   4.14.32-coreos   docker://17.12.1-ce
kubernetes-wwarren-test-worker-2   Ready     node      1h        v1.10.5+rackspace.0   <none>          Container Linux by CoreOS 1688.5.3 (Rhyolite)   4.14.32-coreos   docker://17.12.1-ce

Sonobuoy tarball (which contains * below)

/assign @liztio
error stack -
-> https://github.com/heptio/sonobuoy/blob/master/cmd/sonobuoy/app/imageversion.go#L100
-> https://github.com/heptio/sonobuoy/blob/master/cmd/sonobuoy/app/run.go#L78 .
through the hashi version checker, b/c it's not happy with the naming.  I'd need to dig into proper-semver

@waynr - as a workaround you can bypass via gen and pass a specific image version tag v1.10

Thanks @timothysc! I'd also be happy to help out with a PR if you have any pointers for how version strings like this should be handled.

For what it's worth if any future people find this issue the workaround for me ended up being:
sonobuoy run --mode Quick --kubeconfig <pathtokubeconfig> --kube-conformance-image-version v1.10

So I didn't need to run sonobuoy gen since sonobuoy run also supports the --kube-conformance-image-version.

@liztio - I don't think https://github.com/heptio/sonobuoy/blob/master/cmd/sonobuoy/app/imageversion.go#L94 is required.  e.g. - we can warn and not error.

@waynr we can get a quick patch shortly.
We will likely not cut a release in a couple of days, but once the patch is merged you should be able to run go get -u -v github.com/heptio/sonobuoy and pickup the changes.

@waynr merged.
To pick up the latest changes run: go get -u -v github.com/heptio/sonobuoy everything else should just work.


Fix typo in components.yaml

Note: CI will not succeed. I'll try and take a look next week to see if I can figure out the right docker image to use


Is there a way to get the combined mxn balance?

I think its not available to the public.
The endpoint GET 	https://bitso.com/api/v3/combined_balance?use_preferred_currency=1 does what you say.
It gives you the response in this format, but its only available through the web.
{
	"success": true,
	"payload": {
		"combined_balance": "668.35",
		"balances": [{
			"currency_code": "mxn",
			"total_amount": "20.97",
			"available_amount": "20.97",
			"portfolio_percentage": "3.14",
			"iba": [],
			"is_fiat": true,
			"currency_full_name": "Pesos mexicanos"
		}, {
			"currency_code": "eth",
			"total_amount": "0.01523561",
			"available_amount": "0.01523561",
			"portfolio_percentage": "77.88",
			"converted_amount": "520.53",
			"iba": [],
			"is_fiat": false,
			"currency_full_name": "Ether"
		}, {
			"currency_code": "usd",
			"total_amount": "5.57",
			"available_amount": "5.57",
			"portfolio_percentage": "15.23",
			"converted_amount": "101.77",
			"iba": [{
				"term_id": "35",
				"user_term_id": "1130252",
				"rewards": "0.15",
				"converted_rewards": "2.73",
				"pending_rewards": "0.00",
				"converted_pending_rewards": "0.00",
				"next_disburse_date": "1681097443309",
				"term_type": "bitso_earn",
				"daily_rewards": "0.00",
				"pending_rewards_till_now": "0.00"
			}],
			"is_fiat": true,
			"currency_full_name": "USD stablecoins"
		}, {
			"currency_code": "mana",
			"total_amount": "0.35599376",
			"available_amount": "0.35599376",
			"portfolio_percentage": "0.61",
			"converted_amount": "4.05",
			"iba": [],
			"is_fiat": false,
			"currency_full_name": "MANA"
		},  {
			"currency_code": "yfi",
			"total_amount": "0.00000000",
			"available_amount": "0.00000000",
			"portfolio_percentage": "0.00",
			"converted_amount": "0.00",
			"iba": [],
			"is_fiat": false,
			"currency_full_name": "yearn.finance"
		}],
		"conversion_currency": "mxn"
	}
}

where combined_balance is the one that we see on the web page.
It would be awesome to be able to access from the standard api. I already checked and its not possible.


add accumulated data points to family

add simple view for various nested data points for caregivers and children

added in #123


CrateDB 4.6 intermittently responds with "400 Bad Request" while starting up

CrateDB version
4.6.2
CrateDB setup information
CRATE_HEAP_SIZE: 1g
Steps to Reproduce

docker-compose.yml:

version: "3.6"
services:

  crate:
    image: crate/crate:4.6.2
    ports:
    - "4200:4200"
    environment:
      CRATE_HEAP_SIZE: 1g

Install the latest python client: pip install crate
Start the above CrateDB service.
While the database server is booting up, run the following python script (might need several attempts for the 400 Bad Request to be returned by the server):

from crate import client

client.connect("<IP_ADDRESS>:4200")

Expected Result
Connection refused. No exceptions raised, <Connection <Client ['http://<IP_ADDRESS>:4200']>> returned.
Actual Result
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/project/.venv/lib/python3.8/site-packages/crate/client/connection.py", line 123, in __init__
    self.lowest_server_version = self._lowest_server_version()
  File "/project/.venv/lib/python3.8/site-packages/crate/client/connection.py", line 162, in _lowest_server_version
    _, _, version = self.client.server_infos(server)
  File "/project/.venv/lib/python3.8/site-packages/crate/client/http.py", line 403, in server_infos
    _raise_for_status(response)
  File "/project/.venv/lib/python3.8/site-packages/crate/client/http.py", line 209, in _raise_for_status
    raise ProgrammingError(message)
crate.client.exceptions.ProgrammingError: 400 Client Error: Bad Request

Hi there,
thank you very much for reporting this, @teodorpatras! I want to follow up on this by providing a concise and compact repro without having to use Docker Compose and without having to take several attempts to find the sweet spot where this error triggers.

Invoke this command in order to connect to CrateDB in a reasonable tight loop:while sleep 0.01; do python -c 'from crate import client; print(client.connect("<IP_ADDRESS>:4200"))'; done

While the command above is running, start a CrateDB instance:docker run -it --rm --publish=4200:4200 --publish=5432:5432 crate/crate:4.6.2

Indeed, it starts happening with CrateDB 4.6.0, I haven't been able to reproduce it with the most recent 4.5.x release, namely CrateDB 4.5.4.
With kind regards,
Andreas.

As kind of expected, it happens around the time when CrateDB is bringing up its HTTP interface through Netty:
[2021-09-02T20:50:13,868][INFO ][o.e.n.Node               ] [Großes Wiesbachhorn] starting ...
[2021-09-02T20:50:14,013][INFO ][psql                     ] [Großes Wiesbachhorn] publish_address {<IP_ADDRESS>:5432}, bound_addresses {<IP_ADDRESS>:5432}, {<IP_ADDRESS>:5432}
[2021-09-02T20:50:14,027][INFO ][o.e.h.n.Netty4HttpServerTransport] [Großes Wiesbachhorn] publish_address {<IP_ADDRESS>:4200}, bound_addresses {<IP_ADDRESS>:4200}, {<IP_ADDRESS>:4200}
[2021-09-02T20:50:14,040][INFO ][o.e.t.TransportService   ] [Großes Wiesbachhorn] publish_address {<IP_ADDRESS>:4300}, bound_addresses {<IP_ADDRESS>:4300}, {<IP_ADDRESS>:4300}
[2021-09-02T20:50:14,223][INFO ][o.e.b.BootstrapChecks    ] [Großes Wiesbachhorn] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2021-09-02T20:50:14,236][INFO ][o.e.c.c.ClusterBootstrapService] [Großes Wiesbachhorn] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered

Hi there
I am re-opening this issue because I can still reproduce it in the latest version - 4.6.3.

while true; do python -c 'from crate import client; print(client.connect("<IP_ADDRESS>:4200"))'; done
While the command above is running, start a CrateDB instance: docker run -it --rm --publish=4200:4200 --publish=5432:5432 crate/crate:4.6.3

Result:
Requesting...
...
crate.client.exceptions.ProgrammingError: 400 Client Error: Bad Request

Should be fixed by https://github.com/crate/crate/pull/11773 - hopefully this time for good


add U (Node.type) param in more places

see discussion on https://github.com/wbkd/react-flow/pull/2923
I believe this is backwards-compatible, per https://github.com/wbkd/react-flow/pull/2923#issuecomment-1474161604
cc @slowyn, @bcakmakoglu, @moklick

Hey @ryan-williams,
thanks for your PR but we won't merge it, because we are working on a next version where we want to simplify typing in general. We will only fix bugs in v11. I hope that we will have a v12 by beginning of 2024 :)


CI fails: out of disc space

PRs currently do not build, e.g. #147

I resized the PermaplanT container (32G+16G), seems to work again.

Back to error: now the disc is completely full, I'll need to do a cleanup.

Something is really odd. I just cleaned the whole workspace, but:
rpool/data/subvol-106-disk-0  5.9G  5.9G     0 100% /

The 6G (?) disk is full?

Is this for the 100 (jenkins) container? It has a snapshot, so removing data alone does not solve anything, unfortunately removing the snapshot in the UI also does not work
starting worker failed: unable to create output file '/var/log/pve/tasks/C/UPID:pve:0001A202:0B153C5B:641ABD2C:vzdelsnapshot:100:root@pam:' - No space left on device (500)

no, this is the dev container.

It also has snapshots.

@lukashartl are you still working on 106? I think we can unlock and start it again.

I tried deleting the older snapshot, but Proxmox just gave me the same error...
We could also remove the whole container and set it up again from scratch.

I was able to remove several other snapshots, so we hopefully should be fine for some time now.
I would leave this container now, but create the others (for pr and www) from scratch, and once they work, redo dev later.

pr is hosted on dev.
But we could also separate it, so we have three containers:

pr
dev
www (prod)

But then i would definitely shrink dev again :)

Yes, please 3 separate containers.


[ISSUE #4090]replace with lambda.

fix #4090

@HeeHunLee Please fix code! Remove useless import

ok,let me see it ,i do not have experience for this,i will learn to do that


A new notebook for the 3rd working group, Aug 31 2022.

A new notebook to showcase the feature in climakitae https://github.com/cal-adapt/climakitae/pull/65 for exploring warming levels. It also contains an application wherein we select a day-of-year and time-of-day with especially large changes, and plot that on a map with power station locations overlaid.
Reminder: when we merge this, it will appear in everyone's file list on the hub.

I can't keep track of which working group we're on... but that's okay.


Package request: aws-lc

Project description
AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. It іs based on code from the Google BoringSSL project and the OpenSSL project.
AWS-LC contains portable C implementations of algorithms needed for TLS and common applications. For performance critical algorithms, optimized assembly versions are included for x86 and ARM.
The library seems to be part of awscli2's dependencies. This may help with packaging.
HAProxy supports AWS-LC as an SSL library.
Metadata

homepage URL: https://github.com/aws/aws-lc
source URL: https://github.com/aws/aws-lc
license: it's complicated
platforms: unix, linux, darwin (like boringssl)

Add a :+1: reaction to issues you find important.

I think you can use the following:
# pkgs/by-name/aw/aws-lc/package.nix
{ lib, stdenv, buildGoModule, cmake, fetchFromGitHub, ninja, testers, aws-lc }:

buildGoModule rec {
  pname = "aws-lc";
  version = "1.27.0";

  src = fetchFromGitHub {
    owner = "aws";
    repo = "aws-lc";
    rev = "v${version}";
    hash = "sha256-B5Rt1J2vTqTaI6JyYWmfxGbsNJJHql8rg0b/ysVbHng=";
  };

  vendorHash = "sha256-hHWsEXOOxJttX+k0gy/QXvR+yhQLBjE40QIOpwCNpFU=";

  proxyVendor = true;

  outputs = [ "out" "bin" "dev" ];

  nativeBuildInputs = [
    cmake
    ninja
  ];

  preBuild = ''
    # hack to get both go and cmake configure phase
    # (if we use postConfigure then cmake will loop runHook postConfigure)
    cmakeConfigurePhase
  '';

  cmakeFlags = [
    "-DBUILD_SHARED_LIBS=ON"
    "-GNinja"
  ];

  env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
    # Needed with GCC 12 but breaks on darwin (with clang)
    "-Wno-error=stringop-overflow"
  ]);

  buildPhase = "ninjaBuildPhase";

  installPhase = "ninjaInstallPhase";

  postFixup = ''
    for f in $out/lib/crypto/cmake/*/crypto-targets.cmake; do
      substituteInPlace "$f" \
        --replace-fail 'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/include"' 'INTERFACE_INCLUDE_DIRECTORIES ""'
    done
  '';

  passthru.tests = {
    version = testers.testVersion {
      package = aws-lc;
      command = "bssl version";
    };
    pkg-config = testers.hasPkgConfigModules {
      package = aws-lc;
      moduleNames = [ "libcrypto" "libssl" "openssl" ];
    };
  };

  meta = with lib; {
    description = "General-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers";
    homepage = "https://github.com/aws/aws-lc";
    license = [ licenses.asl20 /* or */ licenses.isc ];
    maintainers = [ ];
    platforms = platforms.all;
    mainProgram = "bssl";
  };
}

The library seems to be part of awscli2's dependencies. This may help with packaging.

Yes, but s2n-tls propagates OpenSSL, so awscrt will still link OpenSSL's libcrypto regardless.


"Failed to parse generated code"

Hi,
I'm having problem running a loss function using torch-autograd. A snippet of the code is given below.
Loss function is defined as
local autoEntropy = grad.nn.AutoCriterion('AutoEntropy')(entropy)
local autoMMD = grad.nn.AutoCriterion('AutoMMD')(mmd)
criterion:add(class_loss):add(autoEntropy):add(loss1)
where loss1 is loss1:add(autoMMD) in the loop.
criterion and loss1 are nn.ParallelCriterion() and model is defined by simple nn model.
local output = model:forward({traindata,unlabeldata})
local err = criterion:forward(cr_inputs,targets)
local gradout = criterion:backward(cr_inputs,targets)
local gradInput = model:backward({traindata,unlabeldata}, gradout)

try adding this line to the top of your scripts:
jit.off()

still getting the same error .

So,the error pops up because of the extracting of sub-tensors. Let's say I have two feature tensors of 100x1000 and I want to find the gaussian kernel between the features. When I extract the first feature by using feature1[{1,{}}] (I mean first row vector) and second row vector as feature2[{2,{}}], torch autograd gives an error. So, that means selecting the subtensors using these operators don't work in torch autograd. So I changed the indexing operator to feature[1] and feature[2] and now it is working

@abdullahjamal  Hi is there MMD(maximum mean discrepancy) implementation available for Torch.????

I have used torch-autograd for MMD. Just write a forward function and it will calculate the gradient itself.
I followed this link
https://github.com/twitter/torch-autograd#creating-auto-differentiated-nn-modules

@abdullahjamal  Hi can you share the MMD loss calculation code with me?  Thanks  :) :)


Add a lint in the readme for chai binding?

Hi,
I created simple chai bindings to test redux-store, should I open a MR to add a link to the README?
Thanks for your great work by the way :)

You can check out also another version of chai bindings: https://redux-things.github.io/redux-actions-assertions/chai.html

How can I have missed it!
Sorry for the duplicate.


groundClearanceHeight definition for Sandia module model

Describe the bug
-SAM detailed PV model.
-Mike Wagner: I’m trying to run the default case with the only change being selection of the Sandia module performance model, and using the default panel type. When running in debug mode only, the model hangs up. In debugging, I found that this occurs because the module variable ‘groundClearancHeight’ is not set for the Sandia model, and defaults to some NaN that is a very large negative number. The calculation of shading uses a while loop based on this value, and it ends up hanging. The screenshots below give a bit of context.
Screenshots

Operating System and Version

OS: [Windows, macOS, Linux]
Version [e.g. SAM 2020.2.29 r3]

Additional context
-Only happening in debug?

@cpaulgilman with the spatial albedo calculations the Sandia module model needs a clearance height definition even though there is no bifacial option. Thoughts on hard coding a value for now (1 meter for example) vs adding a new input? Is adding bifacial capabilities to the Sandia model another potential pathway?

@mjprilliman I think adding a hard-coded value would be fine for now (with a comment explaining why it's there.):

Would it make sense to report the ground clearance height as an output for all module models so users can tell what value is being used for the spatial albedo outputs?
I assume that this value does not affect the Sandia model outputs themselves.

Another option would be to disable the spatial albedo option for the Sandia model.
We don't have any plans to modify the Sandia model that I am aware of.