Added OxygenSaturation samples

Added the ability to get the Oxygen Saturation samples

I was just waiting for this.
Any chance to include this in the next release @lucaspbordignon ?

Thanks, @buzzeh
That one is a valuable addition to the project, considering the recent addition of the OxygenSaturation in Apple HealthKit
Will definitively include on the next release of the library (@joaovpmamede FYI)

That’s perfect! Thanks for the quick reply on that one 😄

Released at version 1.5.0
@joaovpmamede FYI


@2.7.0 -<EMAIL_ADDRESS>

coverage: 99.245%. remained the same when pulling b795d1cac152b7455acb3617f0da4a93efdfc169 on rc-2.7.0 into ca66ab85232a063a1135d685ced3f091c672aadd on master.


If I would like to achieve caching, how do I enable it?

Can you provide an example how can we enable caching in relay modern? I am not sure how to connect the dots with RelayQueryResponseCache and fetchQuery function.

Always found what was looking for when open issue


Fail grouping query without group clause gracefully

Describe the bug
The searcher API fails with a confusing stack trace when providing an invalid grouping expression where group is missing.
A proper error explaining the missing group clause is expected.
To Reproduce
See https://github.com/vespa-engine/vespa/issues/23968.

We will fix #23968 instead.


Is it possible to add audio tracks to Webm

Great job, this is exactly the feature I was looking for.
Is it possible to add audio tracks to Webm?

Nope, it is just an image encoding format.
Present video formats should provide a comparable size to the image + audio pair for a static picture. Unless you have very special requirements - it should be a good enough solution.


version: bump to apha1

For https://github.com/coreos/etcd/issues/4652.

@xiang90 I might have to email etcd-dev there was wrong version string in the release binaries.

lgtm

Thanks. I will reply the release email that the version string was wrong.


2.11.10 Breaks Dataview

Describe the bug
With Iconize 2.11.10 enabled — all pages with Dataview or DB Folder or any other pages with Dataview calls — hang Obsidian.
Downgrade to 2.11.9 fixes the problem.
To Reproduce
Steps to reproduce the behavior:

Install Dataview and Iconize
Make some Dataview calls on the page
Get Obsidian hanging

Expected behavior
Expected Obsidian does not hang
Screenshots

hey thanks for reporting! I need a little bit of information about your vault. do you have some minimal reproduction example? at the moment (for me), DataView works fine with Iconize.

should be fixed in the latest version. i'll also create a new version tomorrow which fixes a lot of things.


provide some informations

Hi,
can you please provide some more information how you are running collectd? Is it running on the raspberry pi itself? Is collectd installed locally or is it a docker container? which one?
I also plan to monitor my raspberry pi based lora gateway with prometheus and grafana.
Thanks for your help
Regards e-bits

Hi. I simply installed collectd on the Raspberry Pi from the regular Debian repositories. It sends data to an InfluxDB instance, I never used Prometheus so far. You should be able to find tutorials about this configuration online.
If you need more information, feel free to comment.


Annotation units

I have found a minor bug when the units of a figure annotation are set to 'pixels' instead of 'normalized'.
Consider this working example:
set(gcf,'position',[0 0 280 280])
set(gca,'position',[0.1 0.1 0.8 0.8])

% circle at origin
plot(0,0,'ko','markersize',60)

% cross centered at origin
hAn(1) = annotation('line',[0.4 0.6],[0.4 0.6]);
hAn(2) = annotation('line',[0.4 0.6],[0.6 0.4]);
export_fig('fig1-units-normalized.png')

% change annotation units (this does not actually alter the appearance of the figure)
set(hAn,'units','pixels')
export_fig('fig2-units-pixels.png')

% restore annotation units
set(hAn,'units','normalized')
export_fig('fig3-units-normalized.png')

Your script generated correct-looking (in fact, identical) export images on my Win64 R2014b.
Are you using the latest version of export_fig?

I am using the latest version of export_fig, but an older version of MATLAB (win64 R2011b). Perhaps that is the problem.

This is what the output looks like on my system:
units: normalised

units:pixels

Fixed


Change style to Bro_n_Bro fit

https://explorer.bronbro.io/
https://testnet.explorer.bronbro.io/

Repo - https://github.com/bro-n-bro/bro_ping_pub
Changes commited

@ultracosmoboy , please, take a look on design.

https://www.figma.com/design/CHduCkiDmeLlgMUZq4buSC/Wallet
@prevetal , please, proceed

Please, deploy , changes were applied.


It'd be nice to "stream" the output of rpmbuild.log as dlrn builds the package

When dlrn builds a package there is ~10 minutes where no output is given while it's building the package. It'd be great to see that output, even with an additional command line argument or something.

The rpmbuild.log output can be checked with tail at the hashed repo directory during build. Do you mean you'd like to see that as part of the dlrn output? Why?

@javierpena when looking at a jenkins console log, for example.

http://review.rdoproject.org/r/1828 should fix this.


Style: fixes user list overflow

@7HR4IZ3 your first commit is not signed. I close the PR and will do another one with the code changes you've done


How does the Emergence of Gait Transitions appear?

Hello, I have been interested in CPG recently. Recently I tried your code, but I couldn't see the training process about gait transition. I see that in the original paper, the training process is divided into flat terrain and Gap Crossing, but I can not find the relevant part of the code. Looking forward to your early reply!

Hi @XanderWangXY. There is not any part of the code that wants to force the transition, the transition is emergent behavior that is learnt during the training autonomously.


Banner update for stakedrop announcement

References this issue in Keep
The text that's in the banner section currently is:
tBTC will launch on April 27th, 2020. Read more in Bloomberg.
Would like to update on tbtc to read this:
~The first stakedrop for tBTC is on June 8, 2020. Add to Calendar~
updated: Stake ETH, Earn KEEP: Join us for a live stakedrop event on June 8, 2020. RSVP Here
Event link: https://www.crowdcast.io/e/keep-stakedrop---live

Updated copy to read:
Stake ETH, Earn KEEP: Join us for a live stakedrop event on June 8, 2020! **RSVP Here**

Closed by #59


Update index.html

 element in header was not closed

I signed it!

No merge or reject for 8 months?
Have your guys at Firebase stopped working on this project?

This is indeed sad. 😞

Hey guys,
Sorry for the delay - to officially confirm, this project is in stasis. It does not have any dedicated engineering efforts assigned to it so it's very hard to even get simple PRs reviewed.
This is an obvious change, so I'll accept it, I'm sorry about the delay - I know how frustrating it is to get no response when you're just trying to help.
All the best,
abe


update to postcss 8

Hello, my team at work uses this plugin and we are hoping to update to postcss 8 in the next few months. The plugin migration looked straightforward so i took a shot at it following this migration guide and using this other plugin PR as an example:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
https://github.com/Genuifx/postcss-pxtorpx-pro/compare/dev-8

moved postcss to a peerDependency/devDependency
updated the plugin module.exports syntax
moved plugin code into the new Declaration and AtRule functions
replaced decl.parent.insertAfter with decl.cloneAfter

resolves https://github.com/cuth/postcss-pxtorem/issues/66

@cuth Could you spent a little time to review this PR?

Thanks for the ping. I'll review this soon.

Thanks!

Published 6.0.0 for postcss 8

Maybe you miss the change log, just a reminder 😀. Thanks for your time.

@yangmingshan you're right, I did. Definitely should call out breaking changes. Thanks!
@yangmingshan would you be interested in being a maintainer? I've gone through too many life changes and don't have much time for open source right now.

Yes I'm interested. My npm username is also yangmingshan.


scribe: note-editor with scroll

Note Editor view with the list of notecallers and their content.
Scroll to the specific notecaller on click in the editor.
Currently the changes in the note editor doesn't roundtrip.

The Test / Build checks above seem to be failing on formatting. You can see this by running nx format:check from the repo root. You can likely fix it by running nx format:write. I think your formatting rules for the scribe package may be in conflict with the monorepo general rules.


Change instances of "Campus Division" to "Responsible Unit"

Problem Description:
The "Campus Division" label is an inaccurate label for the data being rendered.
Expected Behavior/Solution:
Change hard coded instances of "Campus Division" to "Responsible Unit". The JSON used to form the "Campus Division" faceted search should be updated once the query is updated in the backend.
Requirements:

[x] Update on entity pages
[x] Update in facet accordions labels
[x] Change the JSON used in the config
[x] Remove the getCollections functionality and replace with itemDepartment HAL link

Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

[ ] ~Wireframe/Mockup - Mike~
[ ] ~Committee discussions - Sarah~
[ ] ~Feasibility/Team discussion - Sarah~
[ ] ~Backend requirements - TBD~
[x] Frontend requirements - Kam
[ ] ~Questions~

UAT/LUX Examples:

Any Object results: https://lux-front-tst.collections.yale.edu/view/results/objects/?q={"text"%3A"ochre"%2C"_lang"%3A"en"}&sq=ochre (tst)
https://lux.collections.yale.edu/view/results/objects/?q={"text"%3A"ochre"%2C"_lang"%3A"en"}&sq=ochre (prod)

Dependencies/Blocks:

Blocked By:

https://github.com/project-lux/lux-marklogic/issues/68

Related Github Issues:
META: https://github.com/project-lux/lux-frontend/issues/153
Related links:
N/A
Wireframe/Mockup:
Current:

Updated:

@kamerynB can we add UAT links if possible? this way we can move it forward for prioritization review.

@kamerynB is it ok to remove the forming label?

@roamye Removed

@kamerynB  I have updated ML in DEV such that it is ready to support this ticket

@kamerynB is this reviewable again? If not can you mark it as so when you are done? thanks

@roamye All set!

looks good in prod, closing.


Can't download from site

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.07.28
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log
xhamster example:
C:\Users\Lucas\Softwares>youtube-dl.exe -v https://pt.xhamster.com/videos/where-the-magic-happens-xh2qrbl
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://pt.xhamster.com/videos/where-the-magic-happens-xh2qrbl']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: avconv 11.3, avprobe 11.3, ffmpeg N-55702-g920046a, ffprobe N-55702-g920046a
[debug] Proxy map: {}
[generic] where-the-magic-happens-xh2qrbl: Requesting header
WARNING: Falling back on generic information extractor.
[generic] where-the-magic-happens-xh2qrbl: Downloading webpage
[generic] where-the-magic-happens-xh2qrbl: Extracting information
ERROR: Unsupported URL: https://pt.xhamster.com/videos/where-the-magic-happens-xh2qrbl
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\extractor\generic.py", line 3382, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://pt.xhamster.com/videos/where-the-magic-happens-xh2qrbl

Description
XHamster site can't download

I think this is closed with this pull request https://github.com/ytdl-org/youtube-dl/pull/25804, but not included in the recent version.

@TheRealDude2 you know if there are any plans to merge this PR for next hotfix?

I think it is already planned for the next release. Unfortunately I have found some more problems with the extractor, so I'm not sure if the new version, with the 2 PRs already included, will work for everything again.
But for the last problem, I am apparently the only one where it appears https://github.com/ytdl-org/youtube-dl/issues/26353. But it can only be tested if you use a patched custom  version of the extractor.

@TheRealDude2
There are several online websites that uses youtube-dl on their backend and a several UI based softwares that are using youtube-dl too and they're not working anymore, probably because this PR's waiting

That's right. But maybe you can point out to these operators that it works again if they create their own version here from the current sources, or clone the current git repo and run it directly with python.
The problem already existed last month. But the PR did not make it into the current version. I also don't know why there is only one release per month.


Docs: Remove ReadOnly from Form example

Description

ReadOnly attributes were accidentally added to this example in a recent PR. This PR reverts this.
How Has This Been Tested?

N/A
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] The PR is submitted to the correct branch (dev).
[ ] My code follows the code style of this project.
[ ] I've added relevant tests.

ReadOnly attributes were accidentally added to this example in a recent PR.

I guess you are referring to this PR https://github.com/MudBlazor/MudBlazor/pull/6511
Adding this info just in case.


Plugin broke again

What the title says. Less than a month after it was last fixed, the plugin is again not working. No errors and settings page opens up fine as well, but since this morning, the plugin just doesn't do what it should.
Please look into this once more. Thanks.

Thank you for the report - it may be a bit before I can fix it since I am currently on vacation, but I'll see what I can do. If it's a quick fix I may be able to get it out today.
I do apologize that it keeps breaking - there is nothing I can do except fix it when it does. For some context, every time Discord releases an automatic update, it changes the internal classes of various parts of the UI. Usually this is all the problem is. Unfortunately, unlike most plugins which add a button here or a feature there, CollapsibleUI relies so extensively on modifying Discord's UI that a class change on one of its internal elements is usually enough to make the plugin crash.

Of course man, I totally understand. Just the fact that you're responsive about bug reports is awesome. Enjoy the vacation!

Uh, you sure you don't want to leave this open? Maybe not at high priority, but up so you remember to address it eventually?

I just fixed it lol

Oh wow you did. Damn that was quick. Thanks!


Implement command error handling

something like this:
>> try "var" except NotEnoughArguments "echo not enough arguments"

OR
>> try
>> var
>> except NotEnoughArguments "echo not enough arguments"

no longer relevant due to rewrite


Crashing server 1.21/.1 with LuckPerms

Description
?
Reproduction Steps

Install LuckPerms

Expected Behaviour
all plugins crashing with zip file closed, server can't start
Server Details
Purpur 1.21.1-2286-366af80
LuckPerms Version
v5.4.139
Logs and Configs
https://gist.github.com/softy-oniguru/535f232cd71c4ccec96d2dc4c49be9c1
Extra Details
No response

if all your plugins are doing this on startup (as opposed to on a reload), i suspect this malware from some other plugin that has injected itself into every jar it can find. if this issue still occurs with other plugins if you remove LP from your plugins folder, then this is not an issue with LuckPerms. If it does not occur after removing LP, download the latest version from the website and send a full log (not a partial log)


[Question] addAutomaticKeepAlives in SliverChildBuilderDelegate not behaving as expected

Hi everyone,
I'm having trouble understanding what addAutomaticKeepAlives does.
In the documentation it says
 /// Whether to wrap each child in an [AutomaticKeepAlive].

But setting this value to true calls my children constructors every time. For example, if object X is the first in my list of children it will show up and if it goes off screen, it will be disposed, and if I scroll back up it gets created again.
Here is my code. What is it that I'm understanding or doing wrong?
CustomScrollView(
          slivers: <Widget>[
            CartItems(),
          ],
        ),

class CartItems extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SliverFixedExtentList(
      itemExtent: 80,
      delegate: SliverChildBuilderDelegate((context, i) {
        return MyListTile(
            index: i,
            title: faker.person.name(),
            subtitle: faker.lorem.sentence(),
        );
      }, childCount: 100, addAutomaticKeepAlives: true),
    );
  }
}

class MyListTile extends StatefulWidget {
  final String title, subtitle;
  final int index;

  MyListTile({@required this.title, @required this.subtitle, this.index}) {
    print("$index StatefulWidget constructed");
  }

  @override
  _MyListTileState createState() => _MyListTileState(index);
}

class _MyListTileState extends State<MyListTile> {
  _MyListTileState(int i) {
    print("$i State constructed");
  }

  @override
  void dispose() {
    print("${widget.index} getting disposed");
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    print("${widget.index} built");
    return Container(
      color: colors[random.nextInt(colors.length)],
      child: ListTile(
        title: Text(widget.title, maxLines: 1),
        subtitle: Text(widget.subtitle, maxLines: 2),
      ),
    );
  }
}

Thank you all

[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.18363.1198], locale en-US)
    • Flutter version 1.22.4 at C:\flutter
    • Framework revision 1aafb3a8b9 (10 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Moneer\AppData\Local\Android\Sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\Users\Moneer\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.51.1)
    • VS Code at C:\Users\Moneer\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.16.0

[√] Connected device (1 available)
    • sdk gphone x86 64 arm64 (mobile) • emulator-5554 • android-x64 • Android 11 (API 30) (emulator)

! Doctor found issues in 1 category.

Have to use AutomaticKeepAliveClientMixin and override wantKeepAlive Silly me

and call super.build(context);


Issue creating tags if commit message contains double quotes

I was creating a git copy of an svn repository and when it got to a tag which was encased in double quotes it failed as the command had too many arguments
here's the screen output:
Running command: git config --local user.name "wojciech"
Running command: git config --local user.email "wojciech"
Running command: git tag -a -m ""added Polish translation"" "release-0.7.0@2895" "svn/tags/release-0.7.0@2895"
fatal: too many params
command failed:
2>&1 git tag -a -m ""added Polish translation"" "release-0.7.0@2895" "svn/tags/release-0.7.0@2895"
Running command: git config --local --unset user.email
Running command: git config --local --unset user.name

same Problem with $ signs in messages. You have to quote them as well

If you have stored the commit message in a variable and the message contains spaces, the variable should be double quoted (example:- "$message") in the git tag command. Otherwise it will consider it as separate parameters passed to that git tag command.
example:-
msg = "this is a tag name"
sh """
git tag -a "tag_name" -m "$msg"        #//this is correct
git tag -a "tag_name" -m $msg        #//this is in correct. since it contains spaces the actual understanding is git tag -a "tag_name" -m this is a tag name . That's why it shows error.
"""

Try replacing the double quotes to single quotes in your tag message -m


Remove PCF tile

SignalFX tracing library won't have its own PCF tile, so I'm removing it from this repo -- it's both confusing (for the buildpack users) and unnecessary,
@signalfx/instrumentation

Linux stuff typically is not zip but it seems intentional and supported by cfcreate-buildpack.

Yep - CF uses zip as package format for buildpacks.


Add pod annotations and update oci package to use them

This PR provides a way for a virtcontainers' user to store/fetch private data through virtcontainers management.

Coverage increased (+0.007%) to 66.95% when pulling 3310ce115a9341a682de3cfd1969244d2d33f85d on sboeuf/add_pod_annotations into 361ae58ac333beb1b45af7ce76de967aa3ff4cef on master.

Coverage increased (+0.007%) to 66.95% when pulling 3310ce115a9341a682de3cfd1969244d2d33f85d on sboeuf/add_pod_annotations into 361ae58ac333beb1b45af7ce76de967aa3ff4cef on master.

Coverage increased (+0.007%) to 66.95% when pulling 3310ce115a9341a682de3cfd1969244d2d33f85d on sboeuf/add_pod_annotations into 361ae58ac333beb1b45af7ce76de967aa3ff4cef on master.

Coverage decreased (-0.4%) to 66.551% when pulling 14e88b3c09f608221c31f3548540fa4df2f9e8bd on sboeuf/add_pod_annotations into 361ae58ac333beb1b45af7ce76de967aa3ff4cef on master.

@sameo I addressed your comments, please take a look at this new version.

Coverage decreased (-0.3%) to 67.004% when pulling 09fce7c9a918d4eaa1f0a35e3253eab27415bb4a on sboeuf/add_pod_annotations into 86eba9363e82f31d80b9733205a98a5b8170a953 on master.

Coverage decreased (-0.3%) to 67.004% when pulling 09fce7c9a918d4eaa1f0a35e3253eab27415bb4a on sboeuf/add_pod_annotations into 86eba9363e82f31d80b9733205a98a5b8170a953 on master.

LGTM


Adding minimum numpy version

This is to fix #87 and hopefully it #86 (and failing CI in the other open PRs, too).
It it comes back with a full green status, I would suggest to get this merged asap.

@pllim - I'm sorry for tagging you here, but have you seen similar failures before? I mean I would not expect these compiled API  compatibility issues when all the packages are installed together. (if it doesn't ring a bell, don't need to try to dig into it, I'll cook up a workaround, but first asking maybe you have a ready to go solution already)

If you are asking about the oldest version job, it does look weird. It reports pyvo==1.2 installed but somehow cannot find vo when you import pyvo as vo. Unfortunately, I am not familiar with the contents nor infrastructure here to know what is going on. What numpy version was the oldest version job using before? Maybe your combo isn't really compatible with the oldest supported numpy here?
The dev job failure looks like something else (access_url).

Oh, my reading is that the real issue is somehow with numpy, at this point I assume the rest are side effects:
https://github.com/NASA-NAVO/navo-workshop/runs/8037595695?check_suite_focus=true#step:5:2019
 ---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xd

(the dev job is a real upstream, pyvo issue and totally separate where there is a non backward compatible API change merged, and haven't yet resolved how to go ahead, whether to do proper deprecation or call it a day and break downstream. I'm sorry that I haven't been verbose enough to point out that the only mystical issue here is with the oldestdeps job)

Maybe double check that all the oldest dep actually don't secretly try to upgrade numpy in their own pins?

yeah, my guess was that maybe it installs numpy and a bunch of stuff, and then downgrade a few, but not all of them. I'll check on this idea. Thanks for brainstorming on this.

No worries. Let's hope that in the future I'll get the notifications from the cron failures, it's still rather a mystery why I get it from some repos but not for the others.


Missing Makefile depedencies?

I sometimes get something like:
In file included from crypto/bn/asm/x86_64-gcc.c:10:0:
crypto/bn/asm/../bn_lcl.h:21:32: fatal error: internal/bn_conf.h: No such file or directory
 #  include "internal/bn_conf.h"
                                ^
compilation terminated.
In file included from crypto/bn/bn_add.c:11:0:
crypto/bn/bn_lcl.h:21:32: fatal error: internal/bn_conf.h: No such file or directory
 #  include "internal/bn_conf.h"
                                ^
compilation terminated.
In file included from crypto/bn/bn_blind.c:12:0:
crypto/bn/bn_lcl.h:21:32: fatal error: internal/bn_conf.h: No such file or directory
 #  include "internal/bn_conf.h"
                                ^
compilation terminated.

I was running make -j4 fuzz/server-test
I can of course run make crypto/include/internal/bn_conf.h to get it, but make depend doesn't seem to pick this up.
@levitte: Is this something you can look at?

I also got:
In file included from crypto/dso/dso_dlfcn.c:19:0:
crypto/dso/dso_locl.h:13:31: fatal error: internal/dso_conf.h: No such file or directory
 #include "internal/dso_conf.h"
                               ^
In file included from crypto/dso/dso_dl.c:10:0:
crypto/dso/dso_locl.h:13:31: fatal error: internal/dso_conf.h: No such file or directory
 #include "internal/dso_conf.h"
                               ^
compilation terminated.
compilation terminated.
In file included from crypto/dso/dso_openssl.c:10:0:
crypto/dso/dso_locl.h:13:31: fatal error: internal/dso_conf.h: No such file or directory
 #include "internal/dso_conf.h"
                               ^
compilation terminated.
In file included from crypto/dso/dso_lib.c:10:0:
crypto/dso/dso_locl.h:13:31: fatal error: internal/dso_conf.h: No such file or directory
 #include "internal/dso_conf.h"
                               ^
compilation terminated.

You must run make build_generated first.
There's a catch 22 here, and it's the in the first run, no dependencies have built up yet, so there's no material for make to figure out if those files need to be generated or not.  And still, they are needed by some of the C source.
One could claim that Configure should run make...  except Configure can't know what the local make program is.  It could be make, it could be gmake, it could be bsdmake.  On VMS, it could be MMS, but if could as well be MMK...
If you have an elegant solution to fix this, I'm all ears!

So why isn't that build_generated part of the dependency of something?

or why doesn't Configure generate the necessary files?

@kroeckx, it is a dependency of the main building targets. Feel free to suggest more.
@richsalz, we moved away from precisely that for various reasons, among others that rebuilding them would require a reconfiguration, which causes building.h to be rebuilt, which causes a much larger rebuild of everything that ultimately depends on that one.

There are times I only want to build a certain app, one of the
test binaries, one of the fuzz binaries, or maybe the libraries.

As a compromise, I could make it so that all C files in crypto/bn are set to depend on bn_conf.h, all in crypto/dso on dso_conf.h and so on... That would fix your problem without us getting too excessive rebuilds.

On the other hand, there's really only one time when you should need to do make build_generated, and that's the first time you've checked out a new work directory.  After that, all necessary dependencies should be generated along with your builds.
So while I'm on the one hand thinking that we can make things just a teeny bit more helpful for this case, it will also attract the protests from those who don't like excessive rebuilds.  Part of me wants to go Pooh ("oh bother").
(oh, and I haven't gone into opensslconf.h yet...)

Just an update, I may have found a way.  It involves having specific targets being run before a selection of object files get compiled.  For example (and very simplistically), something like this could be generated for all crypto/bn/*.o:
crypto/bn/whatever.o: $(SRCDIR)/crypto/bn/whatever.c
	$(MAKE) crypto/include/internal/bn_conf.h include/openssl/opensslconf.h
	$(CC) -o crypto/bn/whatever.o -c $(SRCDIR)/crypto/bn/whatever.c

This will ensure that the generated header files will in fact be generated prior to any compilation happening, ensuring their presence even if dependencies didn't get them built automagically.
This will have a small impact on building time, but that may be worth it to reduce these kinds of questions.
Otherwise, my option is to make a select amount of object files depend on each generated header file.  Unfortunately, that means all of them for include/openssl/opensslconf.h, meaning that any time you reconfigure, you would rebuild everything.

There are other tools to cut down building time.  Use ccache.  I don't think this is worth fixing for what that's worth.

Too late.  @kroeckx, would you mind trying #1976?
I figured that it's not the first time I've seen this very kind of question, and it won't be the last.  Fixing it or keep on fending that eternal question?  In that perspective, fixing is still worth it.

So #1976 wasn't as brilliant as I hoped.  The other option, instead of having a sub-make to generate those headers is to add them as extra dependencies instead.  That will mean having all object files depend on opensslconf.h, I hope you're all aware of this.
Otherwise, I'll leave this be and leave it to someone else to solve unless someone comes up with a better idea, 'cause I'm out of them...

@kroeckx I am closing this.  Feel free to re-open, of course, but it seems like the "solutions" are far worse than the work-around.

This write-up may be relevant: http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/


Object Detection

Hi Yudong,
I didn't see anything about object detection. Is there any reason for that or simply saying you forgot to add?
Thanks

Hi mytrjp,
We added Image Segmentation but forgot to add object detection. If you are familiar, you can definitely contribute, providing the paper, benchmark, and the corresponding performance. If not, I will work on this asap to get it done.
Thanks for pointing this out!
Thanks


remove wrong workaround

we have to remove the workaround that is catched by spec filter as blank and this let skill all tests

Can you explain?

You can reproduce by command line, just copy and paste the command executed by rake  spec:javascript.
the address that we modified append just after the query string "spec=" a newline character.
The result is that the spec filter parse a "spec=\n" and accept newline as parameter, this means that all test are skipped. I tried to modify gem in local and works.
The guy suggested 2 modification in code but only the second (console log looping) is the one that  fixes really the problem.

Ok will revert and relaunch. In the future to fix this issue I'm going to insist we have a test case for it.

landed in 0.14.7

We should implement also a test suite in order to avoid this confusing bugfix


Add pre-commit hook to check Scala formatting with Scalariform

https://github.com/daniel-trinh/scalariform
Just tossing this in here so I remember to come back to it later.

Implemented by #193. Thanks!


macOS BigSur: libresolv: 'dnsinfo.h'  file not found

Describe the bug
Attempting to build libresolv on MacOS Big Sur on a M1 MacBook Air results in the following:
building '/nix/store/zg0q5cz2ncnc2grscnr1aai9n3rcx2d3-libresolv-64.drv'...
unpacking sources
unpacking source archive /nix/store/23pbw6d2bnxdh8wxm7785c8w32p02lgh-libresolv-64.tar.gz
source root is libresolv-64
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file libresolv-64/res_send.c
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
no configure script, doing nothing
building
dns.c:43:10: fatal error: 'dnsinfo.h' file not found
#include <dnsinfo.h>
         ^~~~~~~~~~~
1 error generated.

This means that any package that uses libresolv also fails to build (I'm trying to install weechat).
Steps To Reproduce

Run nix-build '<nixpkgs>' -A weechat
See error

Expected behavior
libresolv builds successfully and its dependents also build.
nix-env --version output
nix-env (Nix) 2.3.15
Additional context
MacOS version is 11.3.1

Also happening on Monterey (12.0.1).

This happens because libresolv depends on configd, but the configd in the 11.0 SDK that is used on M1 Macs doesn’t include the headers from the Apple open source SDK that libresolv needs to build. I have a workaround that introduces a configdHeaders derivation [here][1], but I’m not sure whether it’s a good approach or not.
According to nixpkgs-review, not many packages seem to depend on libresolv (two of those are weechat). Should those be fixed to use the system version (less pure) or do more packages need updated with the correct dependency?

Fixed on staging


OptaPlanner native support fixes #1721

native support of optaplanner using optaplanner quarkus extension and recent support of SolverManager in Camel.

Wondering what this means for future CQ releases. I guess we may need to wait for OptaPlanner to bump their bits to the latest Quarkus version before we can proceed with our release?

@davsclaus @jamesnetherton : I did some changes

@zbendhiba could you please rebase and solve the conflicts? I'd like to review locally, esp. the dependency management part

I'll set this PR to draft until we have everything in place to merge.

Could you please resolve the conflicts, @zbendhiba ?

@ppalaga yes


DbContext.Set throws exception with base class as generic type definition

We have a model definition that, simplified, looks like this:
public abstract class Item

public class ConcreteA : Item

public class ConcreteB : Item

We map these classes to their own table:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
  // ...
  foreach (Type type in itemTypes) // contains ConcreteA and ConcreteB
    modelBuilder.Entity(type).ToTable(type.Name);
}

Which in the database gives us the tables ConcreteA and ConcreteB.
Consider the following method:
public Task<T> SaveAsync<T>(T t) where T : Item
{
  if(db.Set<T>().Any())
    // ..
}

Calling this method the following way:
Item item = new ConcreteA();
await SaveAsync(item);

results in db.Set<T> throwing an InvalidOperationException
Cannot create a DbSet for 'Item' because this type is not included in the model for the context.
I understand why this is happening. Nonetheless I think this is a common use case that should be supported. A possible solution might be a non-generic overload Set(Type type) so we could do:
db.Set(typeof(t)).Any()
which would be able to map to the correct table. There are non-generic method overloads for Add Attach Entry etcetera so I can't see why this would not be supported for Set.
Further technical details
EF Core version: 1.0.0
Operating system: Windows 10
Visual Studio version: 2015 Update 3

Possibly related:
#5813
#6001
@rowanmiller, I think all of them are related to inheritance restrictions on the model context.
It's nice that the DbContext enforces some restrictions, but been able to overcome these restrictions should be possible when you know (or think so) what you are doing.

Note for triage: This is an interesting case where having non-generic Set might be useful. We should consider this and #5998 together.

Never mind. It doesn't really help because once you get the non-generic IQueryable you can't call Any (or anything else useful) on it without treating it as a generic and doing manual reflection calls or expression building.
var setMethod = typeof(DbContext).GetMethod(nameof(DbContext.Set)).MakeGenericMethod(t.getType());
var query = (IQueryable)setMethod.Invoke(db, null);
var results = query... // What to do here? No ToList, no Any, etc.

Agreed, because of how LINQ works the only option is to use MakeGenericMethod to create a DbSet<T> based on the type being used.


title or method_name instead of id_method on the invoice

Expected behavior
Show for example iDEAL on the chosen payment method or anything used in the title set in the module.
Actual behavior
It is showing ideal which is not the correct spelling coming from the table mol_payment_method (id_method)
Steps to reproduce the behavior
create an order, check the name of the payment method on the invoice.
Environment

PrestaShop version: <IP_ADDRESS>
Mollie module version: 4.0.5
PHP version: 7.2

Hi @superknutsel ,
We really appreciate your input in this community. We have added this issue to our backlog and it should be fixed in upcoming releases.
Please follow the latest updates.
Thank you!

Issue was resolved in 4.0.6 release.


NTR: 'small molecule detection assay evidence'

Hello @ivanerill and @ehobbs2,
In recent joint CollecTF and ECO discussions it was suggested that the term 'small molecule detection assay evidence' be added as a child of 'molecule detection assay evidence'.
NTR label: 'small molecule detection assay evidence'
NTR proposed definition: A type of molecule detection assay evidence resulting from the detection and quantification of a small molecule (a low molecular weight (< 900 daltons) organic compound).
xrefs: PMID:29874046, PMID:27379229
Suggestions are welcome.
Thanks.
James

Looking good. I'm a bit worried about putting an actual mol wt number in - maybe add the qualifier "typically" or "generally". Also some examples might be nice - something like "...such as lipids, sugars, animo acids, drugs, etc."
Should we make synonyms using the term "metabolite" instead of small molecule?

Totally on board with adding "...(typically <900 daltons)..." to the def.
Would the examples you suggest be part of the definition or added in comments?
I can certainly add 'metabolite detection assay evidence' as a synonym - narrow or exact?
James

I think the examples would be good in the definition.
Not sure on narrow or exact. Maybe narrow.

NTR created.  Closing this ticket.
James


Mapping data directories using -v flag gives empty directories in the container

Running the docker using docker run ... -v /dir:/dir
gives the correct dir name in the container but without any data in it

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 30 days with no activity and the awaiting response label was assigned. Is this still an issue?

Automatically closing due to lack of response. If this is still an issue please reopen and provide all the information that the issue template  (https://github.com/tensorflow/tensorflow/issues/new) asks for.
Thank you.


cranelift-fuzzgen: Invalid Cranelift is generated: uses value arg from non-dominating block1

Found via oss-fuzz recently this input file when fed into the cranelift-fuzzgen fuzzer as of 4d86f0ca102345555d87eaaa7524acd4260f7607 will generate this panic:

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: VerifierErrors([VerifierError { location: inst3, context: Some("jump block2(v2)"), message: "uses value arg from non-dominating block1" }])', wasmtime/fuzz/fuzz_targets/cranelift-fuzzgen-verify.rs:10:45
--
  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  | AddressSanitizer:DEADLYSIGNAL
  | =================================================================
  | ==916==ERROR: AddressSanitizer: ABRT on unknown address 0x053900000394 (pc 0x7facee43b18b bp 0x7ffe46a99210 sp 0x7ffe46a98fa0 T0)
  | SCARINESS: 10 (signal)
  | #0 0x7facee43b18b in raise /build/glibc-eX1tMB/glibc-2.31/sysdeps/unix/sysv/linux/raise.c:51:1
  | #1 0x7facee41a858 in abort /build/glibc-eX1tMB/glibc-2.31/stdlib/abort.c:79:7
  | #2 0x5652cf6ed936 in std::sys::unix::abort_internal::h810beef058600b40 /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/sys/unix/mod.rs:259:14
  | #3 0x5652cdd4eb15 in std::process::abort::heb2aba170fd673de /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/process.rs:1979:5
  | #4 0x5652cf601a7e in libfuzzer_sys::initialize::_$u7b$u7b$closure$u7d$u7d$::h579d487df9b334a1 /rust/registry/src/github.com-1ecc6299db9ec823/libfuzzer-sys-0.4.2/src/lib.rs:57:9
  | #5 0x5652cf6e0c78 in std::panicking::rust_panic_with_hook::hc09e869c4cf00885 /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/panicking.rs:628:17
  | #6 0x5652cf6e072f in std::panicking::begin_panic_handler::_$u7b$u7b$closure$u7d$u7d$::hc2c6d70142458fc8 /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/panicking.rs:521:13
  | #7 0x5652cf6dd3a3 in std::sys_common::backtrace::__rust_end_short_backtrace::had58f7c459a1cd6e /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/sys_common/backtrace.rs:141:18
  | #8 0x5652cf6e0698 in rust_begin_unwind /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/panicking.rs:517:5
  | #9 0x5652cdd4fde0 in core::panicking::panic_fmt::hf443e5eeb6cc9eab /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/core/src/panicking.rs:96:14
  | #10 0x5652cdd4fed2 in core::result::unwrap_failed::h885d3f7beb571353 /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/core/src/result.rs:1617:5
  | #11 0x5652cde1b096 in core::result::Result$LT$T$C$E$GT$::unwrap::h63bc4d7eddd801dc /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/core/src/result.rs:1299:23
  | #12 0x5652cde1b096 in rust_fuzzer_test_input wasmtime/fuzz/fuzz_targets/cranelift-fuzzgen-verify.rs:10:5
  | #13 0x5652cf601bb8 in __rust_try libfuzzer_sys.7250e05b-cgu.0:0
  | #14 0x5652cf60131f in std::panicking::try::hdb574c15f35ab6b9 /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/panicking.rs:367:19
  | #15 0x5652cf60131f in std::panic::catch_unwind::he6e3d6241b2b560d /rustc/51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8/library/std/src/panic.rs:129:14
  | #16 0x5652cf60131f in LLVMFuzzerTestOneInput /rust/registry/src/github.com-1ecc6299db9ec823/libfuzzer-sys-0.4.2/src/lib.rs:28:22
  | #17 0x5652cf637d73 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) cxa_noexception.cpp:0
  | #18 0x5652cf624a12 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:324:6
  | #19 0x5652cf62a43b in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) cxa_noexception.cpp:0
  | #20 0x5652cf6502e2 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
  | #21 0x7facee41c0b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/libc-start.c:308:16
  | #22 0x5652cdd5124d in _start

cc @afonso360, I think you might be interested in this? Sorry I'm not super familiar with this fuzzer so I'm not sure how to reduce further before handing it off here

cc @afonso360, I think you might be interested in this? Sorry I'm not super familiar with this fuzzer so I'm not sure how to reduce further before handing it off here

Yeah, ill take a look, thanks!

Here's the CLIF generated for that fuzzer input:
function u0:0(b1, i16) system_v {
    jt0 = jump_table [block3, block3, block3, block3, block3, block3, block3, block3, block3, block3, block3, block3, block3, block3, block3]

block0(v0: b1, v1: i16):
    jump block2(v1)

block1(v2: i16):
    br_table v2, block3, jt0

block2(v3: i16):
    br_table v3, block5, jt0

block3:
    jump block2(v2)

block4:
    jump block2(v2)

block5:
    jump block2(v3)

block6:
    jump block2(v3)
}

I notice that the SSA value it's complaining about, v2, is defined in block1. But as the error message says, block1 doesn't dominate block3, which is also reachable through block2. In fact there are no branches to block1.
I'm finding this confusing to reason about because the fuzz target doesn't use SSA values directly, but rather Variables which can be bound to different SSA values at different points.
I'm guessing that if you ensure that the fuzz target makes every block reachable from the function entry, then variables will always be bound to values from dominating blocks. But I could be wrong!

Here's what the fuzzer generates before calling: seal_all_blocks an finalize
fn: function u0:0(b1, i16) system_v {
    jt0 = jump_table [block2, block2, block2, block2, block2, block2, block2, block2, block2, block2, block2, block2, block2, block2, block2]

block0(v0: b1, v1: i16):
    jump block2

block1(v2: i16):
    br_table v2, block2, jt0

block2(v3: i16):
    br_table v3, block2, jt0
}

When generating the function, block2 does not have any params. That's why its picked up as a valid jump_table and br_table target.
However, it looks like that when generating the last br_table instruction it uses a variable from our global variable pool, and that adds a block param somehow?
We do only have 2 variables in this example, and they are conveniently bound to v0 and v1 on block0, so they should always be available. v1 gets picked as v3 in block2.
I'm not really sure how to investigate this. But it looks like we are doing something wrong when converting to SSA.

I think the chain of events leading to that block param is:

generate_br_table calls builder.use_var
the variable doesn't already have a definition in block2, so eventually use_var_nonlocal is called in cranelift_frontend::ssa
block2 isn't sealed, and even if it were it already has multiple predecessors, so no matter what, use_var_nonlocal is going to call func.dfg.append_block_param

I think that makes sense because the SSA builder doesn't know at that point whether there will be another definition added later in some predecessor of this block.
Is it possible to arrange that any block used as the target of a br_table has only the one predecessor, and is sealed before any instructions are added to it?
It looks like other callers always generate a jump table at the same time as the br_table instruction that uses it, so each jump table is used exactly once. Maybe doing the same thing here would help with this bug?

@jameysharp and I talked briefly offline; it seems the issue is with the handling of unreachable code in the SSA-building algorithms in cranelift-frontend. I suspect the least error-prone approach is to disallow unreachable code to be built with cranelift-frontend (and debug_assert that somewhere). This does imply that embedders using the SSA-builder frontend need to ensure all blocks are reachable (or do a quick DFS to mark reachable blocks and skip unreachable ones first), but it removes a bunch of special cases and resolves bugs as a result.
So I think a good way out here is to:

Check and assert for no unreachable code in the frontend;
Do any cleanup that allows;
Ensure that cranelift-wasm's unreachable-code handling is compatible with this (i.e. does not generate unreachable blocks at the CLIF level);
Modify cranelift-fuzzgen to ensure generated blocks are always reachable.

If we can resolve the bugs in cranelift-frontend arising from unreachable code I'm fine with that outcome as well, but I don't see it as a really necessary case to support at that level.

@cfallin and I discussed this a little further and I think there is actually a frontend bug here, and if we can fix that then the current fuzzgen strategy should work.
Adding block parameters during SSA construction should actually be okay, even to blocks which are used in jump tables. There's code in the frontend crate to rewrite the jump table when it does that.
The problem here is that if a jump-table is shared by multiple instructions, then we need to be careful about how we rewrite it. During sealing, block2 should have gotten a different jump table than block1, where all the original references to block2 were rewritten to block5, rather than block3. Then v3 is used when the branch comes from block2, and v2 is used when the branch comes from block1, and the validator should be happy.
I think the simplest way to fix it is that append_jump_argument (in cranelift/frontend/src/ssa.rs) needs to not update func.jump_tables in-place. Instead, it should copy the jump table, and update jump_inst to use the new table.
This may leave unused jump-tables lying around. In fact, since everywhere else uses a jump-table in exactly one instruction, it will leave a lot of unnecessary copies of these tables lying around.
As an optimization, it'd be nice if append_jump_argument could check whether there are any other users of the jump table. I'm having trouble following the control flow, but I think this function is only called after the target block is sealed. Unfortunately I don't think there's any guarantee that other targets in the jump table are also sealed, so I don't think it's safe to assume we've seen all uses of the jump table at that point.

Maybe add a seal_jump_table function that can be called after all instructions using a jump.table have been inserted?

It's not immediately obvious to me how seal_jump_table would work; do you have suggestions? I think this operation needs to wait not only for all instructions using the jump table to be inserted, but also for all blocks targeted by the jump table to be sealed.
It might be feasible to defer the work that append_jump_argument does until sometime like FunctionBuilder::finalize, but I'm not sure how much complexity that would add.
Alternatively, append_jump_argument could just clone jump tables as needed, and then any unused jump tables could get cleaned up in FunctionBuilder::finalize?
Either way I think it'd be nice to get a patch together that fixes the bug first, then figure out how to optimize it if necessary.


Country Metadata

I think it would be good to share country-related metadata with other tools.
For example, we could fork https://github.com/streetcomplete/StreetComplete/blob/master/res/country_metadata into a different repo, and then include it both here and in streetcomplete as a compile time dependency to determine locale specific data.
Complication: https://github.com/streetcomplete/StreetComplete/blob/master/COPYING this license is incompatible with ours as far as I know.
Either we need to rewrite this from scratch, or discuss licensing with the StreetComplete maintainer.

@westnordost I think you mentioned this idea elsewhere before. As a strawman proposal, what if we forked a streetcomplete/country_metadata repo with these YAMLs? And any opinions about an Apache license for that?

I looks like I missed this. Hm that's right, there is no mention of a license for that data, which by default makes it GPL-3.
I am willing to relicense that as CC-0 / public domain, but I am not the only (though almost, IIRC) person to have contributed to that, so the other people who have contributed to each file need to be asked first (and their contribution axed if they don't agree).
Apache License is more for software, is it not? This is just a data collection, so a CC-license seems to be more fitting. The more restrictive a license, the less contributors will likely have a problem with that. Would e.g. CC-BY-SA be acceptable?

I see @droogmic renamed the centerLineStyle.yml to center_line_style.yml. Is there a good reason for this or just a matter of taste? If there is a good reason for it, I could change the naming convention for all the files when putting the data CC0 licensed into a different repo

Alrighty, all the country metadata is now here:
https://github.com/streetcomplete/countrymetadata/
Note that they are grouped by property (e.g. isLeftHandTraffic.yml and not US.yml) because it is easier to manage and contribute this way. For using the data, the other way around (US.yml etc.) is likely more convenient, which is why a build script in StreetComplete switches this around on downloading it. Maybe you would like to use something like that too:
https://github.com/streetcomplete/StreetComplete/blob/master/buildSrc/src/main/java/GenerateMetadataByCountry.kt

I see @droogmic renamed the centerLineStyle.yml to center_line_style.yml. Is there a good reason for this or just a matter of taste? If there is a good reason for it, I could change the naming convention for all the files when putting the data CC0 licensed into a different repo

Oh, I only did it to match rust's style guide. I don't think standalone data has any agreed naming convention.
My bigger concern is the use of YAML, especially given https://hitchdev.com/strictyaml/why/implicit-typing-removed/ and how it actually impacts this repo. I may try to reformat some of the data if you don't mind, and I can reintegrate it on your side.

The data will remain in YAML because it is easier to contribute this way. I am aware of the NO problem so I only parse this in strict. But I'll change the source data and put NO in "" just so that noone else stumbles upon this.
Regarding YAML in general: I guess if osm2lanes / a/b street doesn't use a YAML parser elsewhere, it is not worth adding a dependency for this. Probably better then to have a build script convert it to JSON or something else.

I may try to reformat some of the data if you don't mind, and I can reintegrate it on your side.

If I mind depends on what you intend to change ;-)

By the way, YAML 1.2, i.e. since 2009, does not have this ridiculous feature anymore.


[feature request] Positioning

Hi, nice repo, it would be lovely to have option for positioning modal relatively to target so it would become truly universal and cover tooltip use-cases as well :)

hello @luckylooke
The format this plug-in is trying to support is similar to a dialog tag.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
Dialogs and tooltips are different types of components and have different bases for implementation.
https://mui.com/material-ui/react-dialog/
https://mui.com/material-ui/react-tooltip/
Also, Universal means SSR support.
Thanks


Flattened JSON output and stringify early.

Makes it easier to parse from R and probably other stat tools.

A couple of tiny things, otherwise :+1: and happy to see this evolving!


moment().add(1, 'month') changes timezone (offset from UTC)

Why does moment change the timezone from 8:00 to 7:00?

Note: it doesn't change when I add a year
Am I not understanding how it works?

It looks like you are in Pacific time.
You are seeing the result of the Daylight Saving Time transition. DST transition occurs on March 13th this year, at which point the Pacific time zone moves from -08:00 to -07:00. Since April 3rd is after March 13th, you see the change in the offset.
Alternately, when you add one year, the west coast would be back on standard time (-08:00), and so you see no offset change.
If you are looking for a fixed offset, you can accomplish that by manually setting the UTC offset on the moment:
var a = moment().utcOffset(-480);
a.format();
"2016-03-04T05:46:03-08:00"
a.add(1, 'month');
a.format()
"2016-04-04T05:46:57-08:00"

that fixed it...thank you!


Feature/virtualizer new approach

This PR is still in draft and before merging it we should clean a bit the code and improve the performances on iCub
This PR is only to keep track of the activity.  This code runs in icub-virtualizer laptop

I cleaned the history and I also removed hardcoded 5 for the walking linear velocity.
The PR is ready to be reviewed @S-Dafarra and @kouroshD

Yes as before. In theory, this should be done by the application.

@GiulioRomualdi  let me know if there are some updates on this?

@GiulioRomualdi  As I wrote you before, I have updated the configuration files; I rebased it also on top of devel :) .
Let me know if it is OK for you, so we can merge it.

@GiulioRomualdi As I wrote you before, I have updated the configuration files; I rebased it also on top of devel :) .
Please have a look as well, and let me know if it is OK for you, so we can merge it.

It's ok! You can merge it. Thank you @kouroshD


Publish 04/19/2022, 10:30 AM

Docs Build status updates of commit 829c3dd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-MessageTrace.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-Label.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-Label.md
:white_check_mark:Succeeded
View (exchange-ps)

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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel


sendpayment fails: "cannot split zero-Sharer"

Background
I'm trying to rebalance some of my channels using sendpayment with --amp to myself. Oftentimes it fails with the message in the log saying "cannot split zero-Sharer". There are no stuck HTLCs usually but the payment progress stops updating and shows some HTLCs as IN_FLIGHT.
Your environment

version of lnd: 0.13.0-beta.rc5 commit=v0.13.0-beta.rc5
which operating system (uname -a on *Nix): Debian 10.9
version of btcd, bitcoind, or other backend: bitcoind 0.21.1

Steps to reproduce
I use the following command to rebalance: lncli sendpayment --amp -d <my node pubkey> --allow_self_payment -a 250000 --outgoing_chan_id <channel with outbound capacity> --last_hop <node id for the channel with too much inbound capacity>. Looks like for some reason lnd finds a weird channel with zero CLTV delta and fails on it:
Jun 15 14:59:07 homenas lnd[17891]: 2021-06-15 14:59:07.278 [WRN] CRTR: Channel<PHONE_NUMBER>05231616 has zero cltv delta
Jun 15 14:59:07 homenas lnd[17891]: 2021-06-15 14:59:07.549 [ERR] CRTR: Payment 4afc088ee9311904a5c563da62a9a8c4a6194cb40e21b71c5a3980ddbb7113f6 failed: cannot split zero-Sharer
.......
Jun 15 15:01:48 homenas lnd[17891]: 2021-06-15 15:01:48.803 [WRN] CRTR: Channel<PHONE_NUMBER>05231616 has zero cltv delta
Jun 15 15:01:49 homenas lnd[17891]: 2021-06-15 15:01:49.043 [ERR] CRTR: Payment c5b37dc0ab2ef34596e7fa329badca4db9346694e20ee9f260fbf411b70c8b57 failed: cannot split zero-Sharer

This channel<PHONE_NUMBER>05231616 is weird because it belongs to an apparently abandoned node with no other channels and I'm not connected to that node either. Might be a red herring of course, but my payments failed twice and this channel was mentioned both times.
There was another failure earlier with multiple channels reported, I'm not sure if this zero-Sharer error is related but every time it happens there are zero cltv delta channels reported at the same time (I have to note, there are zero cltv delta channels reported during the payment process with no successive failure):
Jun 14 02:38:14 homenas lnd[25525]: 2021-06-14 02:38:14.748 [WRN] CRTR: Channel<PHONE_NUMBER>32956672 has zero cltv delta
Jun 14 02:38:16 homenas lnd[25525]: 2021-06-14 02:38:16.310 [WRN] CRTR: Channel<PHONE_NUMBER>05231616 has zero cltv delta
Jun 14 02:38:16 homenas lnd[25525]: 2021-06-14 02:38:16.422 [WRN] CRTR: Channel<PHONE_NUMBER>32956672 has zero cltv delta
Jun 14 02:38:16 homenas lnd[25525]: 2021-06-14 02:38:16.580 [ERR] CRTR: Payment db42b3902bf78c4896b2a57b3c2baa470af0217b2e47df2783ae2134ceefe0ea failed: cannot split zero-Sharer

Expected behaviour
My payment should go through or fail explicitly due to a timeout or no path.
Actual behaviour
Payment hangs and when I check it with trackpayment it says Payment status: IN_FLIGHT even though it's long past the timeout.

Jun 14 02:38:14 homenas lnd[25525]: 2021-06-14 02:38:14.748 [WRN] CRTR: Channel<PHONE_NUMBER>32956672 has zero cltv delta

Is this your channel? If so, do you understand the implications of having a zero CLTV delta? In short, it can lead to direct loss of funds.

Closing this issue, please reopen if it's still relevant with the latest LND


0.25.1 "MetaDataFormat" isn't respected

in config.toml I have
MetaDataFormat = "yaml"
when I do hugo new, I get a file with
+++
(i.e. TOML)
(also, date shows as blank i.e. date = "" instead of being auto filled with creation time, tho maybe that's not a bug just a new feature I'm unaware about)

In short, you will now get the metadata format of your archetype files. See #3632 -- but we should do something with this metaDataFormat config value we're not using anymore. Not sure what.

This should get re-opened.
There is a PR for docs at https://github.com/gohugoio/hugoDocs/pull/554, but occurences in this repo here should get removed, too.


Workaround for Math variadic functions

This ensures that the return for an empty array does not return -Infinity
TODO:

[x] Update CHANGELOG

See https://github.com/rescript-association/rescript-core/issues/53

If you remove @variadic the compiler passes an array. Math.min([1, 2]) returns NaN

Ah, sorry, I didn't mean to include that. I checked after writing it, but apparently forgot to remove the comment. Please see the other comments instead :)

I was wondering and not sure if we should return 0.0. Maybe let returns Infinity.


ScrollViewer’s VerticalOffset value is not changed immediately on mouse wheel or mouse pad scrolling

Describe the bug
In my scenario I have arranged cells in rows and columns with vertical scrolling, also I have properly virtualized the cells on scroll change based on vertical offset of scroll viewer. When I scroll through scroll bar or through touch, cells updates and arranges property in new position without any issue.
But, when i scroll using mouse scroll wheel or through mouse pad, I am facing empty space at top and bottom. Please check the attached video.
I don't see any issue in my virtualization logic, because it works properly by scrolling through scroll bar or through touch.
I suspect the issue is due to vertical offset value is not updated immediately on scroll change. For example, when I scroll from 0 to 150, vertical offset value is not changed directly to 150, it changes step by step like 15, 50, 100, 150 which leads empty space at top/bottom on scrolling due to virtualization based on vertical offset.
Note: This scenario works perfectly in WPF.
Steps to reproduce the bug

Run the sample
Scroll through mouse wheel or mouse pad

Expected behavior
Empty space should not be reproduced. It should be scrolled without empty space like scroll through scroll bar or through touch.
Screenshots
Video: Scroll_Issue_video.zip
Sample:
WinUIScrollDemo.zip
Version Info
WinUI NuGet package version = 3.0.0-preview4.210210.4
OS version = Windows 10 Pro
NuGet package version:
[Microsoft.WinUI 3.0.0-preview4.210210.4]

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@RBrid Can you weigh in?

Hello @Ganeshamoorthy10, you should see the same behaviors for touch and mouse wheel as they are 'independent' manipulations, that is the rendering is done off the UI thread and the UI thread occasionally raises the ScrollViewer.ViewChanged event with newer but still outdated Horizontal/VerticalOffset and ZoomFactor. Those 3 properties are out-of-sync with the actual rendering until the manipulation stops and then a final ScrollViewer.ViewChanged with e.IsIntermediate=False is raised with the final values.  During the manipulations, we also raise ScrollViewer.ViewChanging with the anticipated final View.
Have you tried using safety buffers before and after the visible viewport? i.e. you generate and lay out a couple of additional rows before and after the viewport indicated by ScrollViewer.VerticalOffset. This would get enough time for the UI thread to catch up with the rendering thread.  You could even get fancier and use buffer based on the estimated velocity of ScrollViewer.VerticalOffset.
Hope this helps. Thanks.


Docs: API guide

There is still work to do, I just think this is ready to go in and want to keep working on it later.
It is all docstring/docs changes except for one little tweak to Job.__str__().

I think it is meant to go with a removal of the sphinx auto-generated structure, since that would duplicate the class details, but in the default way that sphinx does it.

No, not necessarily. We can have both, and this PR leaves in the auto-generated structure. At the bottom of the API reference page is a link to the complete autogenerated documentation.

I think it is meant to go with a removal of the sphinx auto-generated structure, since that would duplicate the class details, but in the default way that sphinx does it.

No, not necessarily. We can have both, and this PR leaves in the auto-generated structure. At the bottom of the API reference page is a link to the complete autogenerated documentation.

True, that is also an option. I didn't consider it because it duplicates class documentation in multiple places, which I didn't think it's something we want to do. But clearly that's an option that we can discuss.
If we want to be exhaustive, there is also a fourth option :)

I think it is meant to go with a removal of the sphinx auto-generated structure, since that would duplicate the class details, but in the default way that sphinx does it.

No, not necessarily. We can have both, and this PR leaves in the auto-generated structure. At the bottom of the API reference page is a link to the complete autogenerated documentation.

True, that is also an option. I didn't consider it because it duplicates class documentation in multiple places, which I didn't think it's something we want to do. But clearly that's an option that we can discuss.
If we want to be exhaustive, there is also a fourth option :)

I don't think it's so bad actually, the duplicated class documentation lives on its own page, and it's pretty easy to forget that it exists since the only link to it is within a subsection of a page. And it might come in handy sometime. For example if someone makes a PR adding an executor and they don't update the docs page---well, it will still be in the complete project autogenerated thing.

I don't think it's so bad actually, the duplicated class documentation lives on its own page, and it's pretty easy to forget that it exists since the only link to it is within a subsection of a page.

I'm not sure I understand the above. So let me re-state what I see is happening.
We had:

an overview page, in the spirit of https://docs.python.org/3/library/, with list of PSI/J classes and a brief description pointing into...
spinx docs from docstrings, which are exhaustive, one html page per package, and which are meant to be linked into rather than read sequentially
This PR:
an inlining of the classes in the overview page above, which puts all docs from docstrings for all classes listed there as a one html page (probably not to be read sequentially since it has the same form as the sphinx docs from docstrings documents)
spinx docs from docstrings, which are exhaustive, one html page per package, and which are meant to be linked into rather than read sequentially

While there are differences between the two items in this PR, the question is whether they are significant. Even if, say, we'd keep both, one might still want an overview page that tells what all the pieces of the API are. A ToC might be enough there, but I'm not sure a useful enough form of it can be generated automatically.
There are other issues, such as, if we link to a class from, say, a tutorial, we'd have to always decide whether we link into one or the other options in this PR, since we now basically have two copies of the docs from docstrings. So we should probably ask ourselves whether and why we would want that.


No link from forgot password to login

Why is there no link from the "forgot password" page to the login page? It can happen that the user suddenly remembers his/her password and will log in instead of reset their password.
Isn't it bad UI to deadlock the user.

I have been looking for an option to add a back to login link from the forgot password page! How can I do this. I was going to edit the template but I can' t even find the forgot password template.
Please update so we can show back to login from the forgot password page!

The choice was to prevent having too much stuff at the same time within the form...
It seemd more logical to go back ti sign-up and then, possibly back again to sign-in.
Feel free to modify this line by overriding the template helper like this:
AccountsTemplates.atFormHelpers['showSignInLink'] = function(next_state){
  if (AccountsTemplates.options.hideSignInLink)
    return false;
  var state = next_state || this.state || AccountsTemplates.getState();
  if (AccountsTemplates.options.forbidClientAccountCreation && state === "forgotPwd")
    return true;
  return (state === "forgotPwd") || (state === "signUp");
}

this should get easier and much more straightforward in v2.0 though...


python310Packages.habanero: 1.0.0 -> 1.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.habanero is: "Python interface to Library Genesis"
meta.homepage for python310Packages.habanero is: "https://habanero.readthedocs.io/en/latest/"
meta.changelog for python310Packages.habanero is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.2.0 with grep in /nix/store/zcd5c2lvxsi9zrq44x224n0sk2b9c746-python3.10-habanero-1.2.0

found 1.2.0 in filename of file in /nix/store/zcd5c2lvxsi9zrq44x224n0sk2b9c746-python3.10-habanero-1.2.0

Rebuild report (if merged into master) (click to expand)

18 total rebuild path(s)

9 package rebuild(s)

9 x86_64-linux rebuild(s)
9 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
papis
python310Packages.atomman
python310Packages.habanero
python310Packages.papis
python310Packages.potentials
python39Packages.atomman
python39Packages.habanero
python39Packages.papis
python39Packages.potentials

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zcd5c2lvxsi9zrq44x224n0sk2b9c746-python3.10-habanero-1.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.habanero https://github.com/r-ryantm/nixpkgs/archive/bb18719b6d305b8395b6d4def57b1a8d452794e7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zcd5c2lvxsi9zrq44x224n0sk2b9c746-python3.10-habanero-1.2.0
ls -la /nix/store/zcd5c2lvxsi9zrq44x224n0sk2b9c746-python3.10-habanero-1.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

8 packages built:

papis (python39Packages.papis)
python310Packages.atomman
python310Packages.habanero
python310Packages.papis
python310Packages.potentials
python39Packages.atomman
python39Packages.habanero
python39Packages.potentials

Maintainer pings
cc @nico202 for testing.

Result of nixpkgs-review pr 166052 run on x86_64-linux 1

8 packages built:

papis (python39Packages.papis)
python310Packages.atomman
python310Packages.habanero
python310Packages.papis
python310Packages.potentials
python39Packages.atomman
python39Packages.habanero
python39Packages.potentials


Make backgrounds more opaque and add background blur for readability

Matches the styling currently deployed at https://platform.2023.lac.tf
Might also want to look into adjusting the blood styling since that's also pretty intrusive

Also might want to look into brightening links a bit as the hot pink is still a bit hard to read.


[d3d11] Redout crashes on launch (Windows 10)

Using the DXVK 1.5 binaries on Windows 10 results in an application crash at launch:

Fortunately Linux appears to work as expected but perhaps there's an underlying issue worth investigating?
Software information

Name: Redout: Enhanced Edition

System information

GPU: GeForce RTX 2060
Driver: NVIDIA 440.44
Wine version: Proton 4.11-11
DXVK version: 1.5
SteamVR version: 1.9.16

Apitrace file(s)

redout-Win64-Shipping.windows10_dx11_steamvr.trace (works as expected)
redout-Win64-Shipping.ubuntu1804_dx11_steamvr.trace (works as expected)

Log files

redout-Win64-Shipping_dxgi.windows10_dxvk15_steamvr.log (launch issue)
redout-Win64-Shipping_d3d11.windows10_dxvk15_steamvr.log (launch issue)
redout-Win64-Shipping_d3d11.ubuntu1804_dxvk15_steamvr.log (works as expected)
steam-517710.ubuntu1804_proton411-11_steamvr.log (works as expected)

If Linux works then there's no DXVK issue, plain and simple.

I believe the issue is that it works on windows with native, but not on windows with dxvk. This does strike me as a dxvk bug even if it only occurs on windows

this would require the SteamVR runtime to support DXVK.

@doitsujin Unfortunately this issue is consistent whether using VR or not. Perhaps something is broken/missing under-the-hood?
Apitrace file(s)

redout-Win64-Shipping.windows10_dx11.trace (works as expected)

Log files

redout-Win64-Shipping_dxgi.windows10_dxvk15.log (launch issue)
redout-Win64-Shipping_d3d11.windows10_dxvk15.log (launch issue)

I really don't care about Windows-only issues. If it works on Linux, it is not a DXVK bug, period.
99% of the time, if a non-VR app doesn't work, it's because the game loads Windows' DXGI and DXVK's D3D11, or the other way around, and no amount of code is ever going to fix that. This issue simply doesn't exist on Linux since DXVK replaces the "system" implmentation of those libraries.

90% of the time, if a non-VR app doesn't work, it's because the game loads Windows' DXGI and DXVK's D3D11, or the other way around

There are also some games that load AMD AGS or NVAPI libraries on Windows, which then explode when using DXVK.

Appreciate the explanation, wasn't aware how volatile other libraries may behave with DXVK (likely the issue here.)


Ideas to improve localization

German (and I am sure some other languages as well) has a sentence structure that's a little different from English. Sentences that are made up of a translatable string and some variable (e.g. a VM name) would need to include a placeholder for the variable in order to be fully localizable. For example, "Select version for VARIABLE" would be "Version für VARIABLE auswählen" in German. Currently, this is not possible.
I am a member of the German GNOME Translation team, and I come across strings that contain %s or {} as a placeholder for these variables quite often. I think the first one is used in Python? Maybe there's a Flutter/Dart equivalent...

Yes indeed, that is on my todo list! Now that I have another person interested in translating quickgui, I'll put that at the top of the priority list!
Thanks for your involvement in this project!

Nice, looking forward to it!

Fixed in v1.1.4
We can now have placeholders in the messages, as you see below.
You'll have to look at the german file, lines 62 and 63, I'm pretty sure this is wrong, even though I don't speak german ^^
msgid "Now run {0} to start the VM"
msgstr "Now run {0} um die VM zu starten"

Looks nice 👍
I'll have a look at it tonight after work!

Thanks for the updates! I checked the German translation and made some changes, which I'll PR shortly
While testing, I found some issues:

In the Downloader, the string in front of the working directory is still English.
The System notification when a Download finished is still in English.
The translation for "Downloading... {0}" doesn't seem to get used, and the target directory is labeled twice while the download is in progress:

I'll look into that !

OK, I'll wait with my translation update PR then, since it is very small and I can then incorporate the above stuff in it :+1:

All fixed in v1.1.5


Announcement text templates

CodeRefinery online workshop in best practices and tools for research software, March 22-24 and 29-31, 2022
In this course, you will become familiar with tools and best practices for version control and reproducibility in modern research software development. The main focus is on using Git for efficiently writing and maintaining research software.
We will not teach programming, but we teach the tools you need to use programming well. We assume that you are familiar with the programming language that you use in your work and research. We try to keep the course as language-independent as possible but we will show some basic code examples in Python.
This is an informal and interactive online event with type-along type of presentations, live coding, and demos. Short tutorials alternate with practical exercises.
Further information and registration: https://coderefinery.github.io/2022-03-22-workshop/
We also look for helpers and exercise leads who will help a small group of learners in exercise breakout rooms. This is a great learning opportunity and a huge help for the project to be able to scale to as many learners as possible.

text I used to advertise the workshop in my group teams
Do you write code for your research? Do you manage data? Most importantly, are you doing it properly? Has it ever happened to you to have to rewrite or simply copy-paste codes from one folder to another, possibly losing things during the process? Have you ever opened an old code you wrote and had no clue what it does? Maybe you feel you waste a lot of time doing a lot of manual work to process your data and would like to automate it?
If you answered yes to any of the previous questions, then you are strongly encouraged to participate to the CodeRefinery Workshop on 22 - 24 March and 29 - 31 March, it will be fully online and free.  Topics covered in the workshop include

using git to maintain your codes and collaborate with others
Principles of reproducible research and FAIR
Good coding practices in general (writing documentation, testing, how to choose an appropriate license)

The Workshop will not teach you to code, but all the "good practice skills" that are needed to write good maintainable software and achieve reproducible research.
The workshop will alternate type along tutorials given by instructors to break-out room exercises where you will get to practice. Each breakout room will have an exercise leader to help you. You can also register as a team, in which case the team will be in the same break out room, each team can propose their own exercise leader otherwise they will be assigned one. If you already have some experience and would like to strengthen your skills and help others, you can also volunteer as a leader.
More information and registration form on the workshop page: https://coderefinery.github.io/2022-03-22-workshop/


Bump globalid from 0.4.2 to 1.0.1

Bumps globalid from 0.4.2 to 1.0.1.

Release notes
Commits

updated-dependencies:

dependency-name: globalid dependency-type: indirect ...

h


[NETBEANS-1074] Module Review libs.glassfish_logging

Added license header to binaries-list
Repaired license.txt
Scanned module and no other issues found

I don't know this anything, but why can we change the license to Apache-2.0?

I am not quite sure if we should change the license since it was Oracle or not.  It was an Oracle license, and they are now transferring GlassFish to Eclipse...so I wasn't quite sure what to do here.  Therefore, I submitted the PR to open dialog on this.  Just let me know what is the best approach to take and I'll make the modifications.  Thanks for your time and assistance!

If Oracle donated it to the Apache, we can change the license, I suppose.
I could not find the source code for com.sun.org.apache.commons.logging.
@matthiasblaesing
Should we just choose CDDL-1.0?

The ALv2 license looks correct. If you look at the package structure, this is a shaded version of commons logging. I checked glassfish 2.1.1  and indeed, it contains the jar, but that jar correctly holds a LICENSE ant NOTICE file.
That file can also be found on maven central:
https://search.maven.org/artifact/com.sun.commons/logging-api/1.0.4/jar
From an API perspective they are identical to the glassfish-logging-2.0.jar. I suspect, that the version number in the jar refers to the glassfish version that it was contained in.
I suggest we switch to the maven central version, fix the version number and are done. I don't think this artifact is used often, as glassfish is AFAIK currently using java.util.logging.

My doubt was cleared. Thanks, Matthias!

No problem:
The first think that needs to be done is switching the reference in the binaries-list. In the beginning of the transition phase the Downloader task was modified to recognize the pattern group:name:version:classifier@extension (classifier + extension are optional). If the pattern is found, the file is downloaded from maven central. See for example libs.amazon/external/binaries-list.
The external files are referenced from the containing project in different ways, as the file name will probably change, references need to be updated. Check project.properties. The properties, that begin with release. specify filemapping from the module into the release. So:
release.external/glassfish-logging-2.0.jar=modules/ext/glassfish-logging-2.0.jar
means, that the file external/glassfish-logging-2.0.jar (left-hand) will end up in <cluster>/modules/ext/glassfish-logging-2.0.jar (right-hand).
You will also want to look in project.xml. The file you are changing might be referenced and in this case it is so:
            <class-path-extension>
                <runtime-relative-path>ext/glassfish-logging-2.0.jar</runtime-relative-path>
                <binary-origin>external/glassfish-logging-2.0.jar</binary-origin>
            </class-path-extension>

I think you are able to deduce where the paths come from (hint: match them to the project.properties).
If other code refers to files, this potentially needs to be adjusted - that needs decisions case-by-case. Grep is your fried :-)
Hope that helps a bit.

Thanks @matthiasblaesing I will give it a try soon.  I appreciate the great explanation.

Thanks for the feedback and very useful information.  I've modified as requested.

Merged - thank you!


Windows 10 ng server stucks

Hi,
I am trying to run the seed UI in Intellij but the UI is not running. So I tried to run ng serve in the UI folder.
The nodejs server starts and the RAM memory that it is occupied grows constantly but the server doesn't run in the end. I have waited for some time with no luck for it.
Do you know why ng serve would take so much time and why it wouldn't work?
I have latest version of nodejs (v8.9.1) and npm(5.5.1).
Thank you!

I think I found the problem. In the "ui" folder ,in the package.json change the line with
"start": "ng serve --open --proxy-config proxy.conf.json",
With:
"start": "ng serve --open --proxy-config proxy.conf.json --host <IP_ADDRESS> --port 4200"

This seems like a angular cli specific issue
https://github.com/angular/angular-cli/issues/2375
Angular CLI default host is localhost and post is 4200
https://github.com/angular/angular-cli/wiki/serve
For some reason Angular CLI fail to start the application with localhost without explicitly specifying setting the host to <IP_ADDRESS>
I will push an update with host configuration. No need to explicitly specify a port unless you need to override the port.


Add python onnxruntime and/or AMD MIGraphX support other than vsmlrt in DPIR

Branch from #130
Original comment: https://github.com/Irrational-Encoding-Wizardry/lvsfunc/pull/130#discussion_r898492454

Will be taken care of once it gets moved to a separate package.


When run pod privacy config xxxx, Show Unknow command 'privacy '

After install those plugin , Run pod privacy config /Users/xxxx/config.json
show Error: Unknown command: 'privacy'
Envriment:
Cocoapods Version 1.15.2, gem Version 3.5.3
@ymoyao

After install those plugin , Run pod privacy config /Users/xxxx/config.json show Error: Unknown command: 'privacy' Envriment:
Cocoapods Version 1.15.2, gem Version 3.5.3
@ymoyao
Hi, it seems like there are some environmental issues. Please visit  https://github.com/ymoyao/cocoapods-privacy/issues/3#issue-2205196005 for more information.

After install those plugin , Run pod privacy config /Users/xxxx/config.json show Error: Unknown command: 'privacy' Envriment:
Cocoapods Version 1.15.2, gem Version 3.5.3
@ymoyao
Hi, it seems like there are some environmental issues. Please visit  #3 (comment) for more information.

got it, thks.


AOAI Fix Custom Blocklist Properties to Optional

The service returns custom_blocklist when the deployment has a custom blocklist applied. custom_blocklist is of type contentFilterDetailedResults, and the details is marked as required in the spec.
However, when filtered is false for custom blocklists, the service does not return any details since there is nothing that is filtered. The spec should match the service behavior and mark property details as optional

Merginng as this is a bug fix


AWS Node Termination Handler - Support for ArgoCD Gitops

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?
We’d like to install NTH via ArgoCD.

Describe the solution you would like
There is an open feature request to add NTH to the eks-blueprints-add-ons example repo here - https://github.com/aws-samples/eks-blueprints-add-ons/issues/32.
In addition to adding the argo application manifests to the add-ons repo above, it seems that the kubernetes-addons module in this repo will need an enablement of manage_via_gitops for aws-node-termination-handler.

Additional context
If there are no concerns with deploying NTH via ArgoCD I'd like to work on a PR to get this added. Thanks.

If there are no concerns with deploying NTH via ArgoCD I'd like to work on a PR to get this added. Thanks.

Yes, please do if you can


fetch defaults (initialState)

Could somebody help me and provide an example when defaults (initialState) not hardcoded but fetched from server?

Closing issue as the question was answered, and it's points to a feature request (async defaults for link-state) I don't believe is being considered at this time.


Supabase gen types --db-url Fails Without Docker Desktop

Runneing the following command
npx supabase gen types --lang=typescript --db-url postgresql://postgres:pass@localhost/webstudio
produces the error message: Docker Desktop is a prerequisite for local development. Follow the official docs to install: https://docs.docker.com/desktop
To Reproduce
npx supabase gen types --lang=typescript --db-url postgresql://postgres:pass@localhost/webstudio
Expected behavior
I am not using any Supabase services to generate types. Installing Docker for type generation seems unnecessary.

Are you generating types for local database or a remote project? It seems like local from your comment but starting a local database relies on docker anyway so it's ok for type generation to rely on that.
If you are generating for a remote project, you can use npx supabase gen types --lang=typescript --project-id <your-project-ref> instead.

I am using the cli for https://github.com/supabase/postgrest-js, which can operate independently of Supabase dependencies. This means it doesn’t require the entire Supabase stack to be installed via Docker.
In my setup, the entire environment is placed inside a devcontainer, which is essentially a Docker container without internal Docker support. When a CLI tool depends on Docker, it often results in a substantial download of several gigabytes of various images. This can be quite costly in some locations. It would be greatly appreciated if the CLI could provide an estimate of the data it will download, especially for one-time executions.

When a CLI tool depends on Docker, it often results in a substantial download of several gigabytes of various images. This can be quite costly in some locations. It would be greatly appreciated if the CLI could provide an estimate of the data it will download, especially for one-time executions.

That's a good idea. What I will probably do is to add series of prompts when running supabase init for services that users actually want. If you don't need any services, they can also be disabled via supabase/config.toml. That would save a lot of time / data downloading potentially unused images.


The ACME server was probably unable to reach -  Answer file is correctly rendered.

I've  followed all the steps on the wiki: https://github.com/Lone-Coder/letsencrypt-win-simple/wiki/Create-a-SAN-certificate-for-Exchange-2016
When i request my SAN for my 2 hostnames i get the following error:
The ACME server was probably unable to reach "domain"
However when i browse to that particular url in question I can indeed see that i can hit that domain and that challenge file.
Please note i've tried the MVC changes too

Can confirm this is also an issue for myself.

are you testing it from an external location? the client is telling the acme server to hit the address, so the request will be coming from the internet.

No i am running it directly on the exchange server and i can hit the acme request url from either on the server itself, or from an external site.

You're giving conflicting information. You responded "no" to say you aren't testing externally, but then you say you are.
If you really are able to download the authorization file using external DNS from outside your exchange server's network, then I'm not sure what the issue is... I can confirm that creating SAN certificates works if the above is satisfied for each SAN fqdn.

Apologies i mis-read what you meant.
i can hit the file it is asking to check when it fails but it doesn't download anything it displays a blank page.
Let me get you a example:
The ACME server was probably unable to reach http://autodiscover.richardson1991.co.uk/.well-known/acme-challenge/wgjAOpKcNeOm1WfkcKAWPMoke0aX0oaBr_G_gK5BPvk

check your filesystem that the file contains data. Perhaps your web.config isn't properly allowing the file to be served? There is info in the wiki about how to allow extension less file handling

I have the same issue here. Files are there in C:\inetpub\wwwroot.well-known\acme-challenge I can access the files from a browser, both from the server and externally.

@gerard-kanters If you don't give us the URL we can't help directly.
I would suggest you use something like http://www.infobyip.com/httpservertest.php
It will try to connect to the URL you give and give you the error or a HTTP/1.1 200 OK and the Content-Type: it gets (which must be "text/json")

Thanks rdebath, it has been resolved. Firewall was not accepting or forwarding http traffic, only https :-)


pkg/virt-api: Remove redundant codes

What this PR does / why we need it:
IMHO, the function call kubeInformerFactory.VMI() here seems to not do anything meaningful. The idempotent factory method, which is to get the informer for watching VMI objects,  neither warms up the cache nor does any preparations. If I'm wrong or missing anything, please correct me. Thanks.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Special notes for your reviewer:
Release note:

None

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically.
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

ci test please

@imjoey definitely. Seems to be a leftover.


Resolved issue 19353 task 4

Fixes part 4 of #19353
Testing plan:

The compose box was covering last message of stream during preview mode in on, I have changed preview box max-height so that compose box's max-height can never be more than bottom white space height.
Tested On Docker Dovelopment Environment, also checked by changing size of browser window while in preview mode for responsiveness.

Screenshots:
Before

After

Thanks, @brijsiyag, for working on this. Closing in favour of #20997.


Release notes indicate summary ops were deprecated

The release notes at https://github.com/tensorflow/tensorflow/releases seem to indicate that scalar_summary and a few other *_summary ops were deprecated. Yet the docs for 0.r12 still list all the *_summary ops and do not mention deprecation. Also, I do not get any warnings when using the *_summary ops.

Looks like 'deprecation' in this case is just a documentation feature...for now.  @danmane ?

On closer examination, looks like the release notes incorporated meta data about a change that was rolled back.   It may be made in an upcoming release.


Include without space

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Closes https://github.com/conda-forge/ctng-compiler-activation-feedstock/issues/137
Introduced by https://github.com/conda-forge/ctng-compiler-activation-feedstock/pull/136

Hi! This is the friendly conda-forge automerge bot!
I considered the following status checks when analyzing this PR:

linter: passed
azure: passed

Thus the PR was passing and merged! Have a great day!

Thanks Sebastian! 🙏