Delete and redirect CAxxxx rules reference

Once https://github.com/dotnet/docs/pull/20702 is published, the CAxxxx code quality rules reference docs in this repo should be deleted and redirected. Is there anything that we need to do for F1 and for the links from the Error List when users hit these warnings?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 06de1bb8-181e-9d03-6109-9e8389414e98
Version Independent ID: bff2b131-67f5-ba4e-f413-da452761b19d
Content: Code quality rules overview - .NET
Content Source: docs/fundamentals/code-analysis/rules/quality-rules-reference.md
Product: dotnet
GitHub Login: @mikadumont
Microsoft Alias: midumont

Also can delete this file, except perhaps the part about predefined rule sets if they don't apply to the .NET SDK.
https://docs.microsoft.com/en-us/visualstudio/code-quality/configure-fxcop-analyzers?view=vs-2019

@gewarren can you do the redirects and delete the files? I will create an issue on Roslyn to redirect F1 and for the links from the Error List.

The rules have been deleted and redirects put in place by Manish in https://github.com/MicrosoftDocs/visualstudio-docs-pr/pull/7239. So I think this issue can be closed if Mika is going to track the Roslyn work separately.

@gewarren here is the issue for CA diagnostic linking to docs: https://github.com/dotnet/roslyn-analyzers/issues/4286


Bytes/BytesMut vs Buf/BufMut is confusing in terms of naming

I'd expect Buf for Bytes and BufMut for BytesMut in terms of what the name implies, but unfortunately there's no Buf for Bytes

I'd like to make the case for providing an impl Buf for Bytes.
I also expected the BytesMut : BufMut, Bytes : Buf symmetry to hold when I first started working on with the crate.  For my usecase of Bytes, which is decoding data structures, it would be extremely handy to have the Buf implementation built-in to Bytes, instead of having to wrap in a Cursor.
Towards that end, I put together a proof-of-concept showing that Buf can be implemented for Bytes using nothing but the current public API.  The PoC is not meant to be an efficient implementation, but instead to prove that it can be done.
cc @carllerche

I had some thoughts on how to impl it while avoiding the allocation. I'll try to work on it.
However, the changes of types for the associate types of trait impls can't change until 0.5 :(

However, the changes of types for the associate types of trait impls can't change until 0.5 :(

Has reserving the first 4 or 8 bytes of the allocated buffer for the reference count been considered?  This would 'waste' 4 or 8 bytes in the non-shared case, but it cuts down an allocation in the shared case.  I think it would also make efficiently impl'ing Buf easier.

#166 provides the advance function for Bytes and BytesMut. This unblocks implementing Buf for these two types. The actual implementation of Buf has to be done in 0.5.

Is this still true if Bytes impls Buf and BytesMut impls BufMut?

Shouldn't this be closed? In 0.5.x:

Buf is implemented for Bytes and for BytesMut.
BufMut is implemented for BytesMut


raft: truncateAndAppend no need the value of 'after' with subbing one

See https://github.com/coreos/etcd/pull/5790
@ngaut @BusyJay @disksing

Use a more meaningful title please.

LGTM

LGTM

Coverage decreased (-20.6%) to 62.475% when pulling dd9e26d60a2338193e33eab918540dcb89287eb4 on siddontang/truncate-and-append into 4afb84b6b6f5c163f19582c91b539a9bc53489c5 on master.


Add 5015 heat creep mount links

These are untested, I'm likely to print and use Mensa's soon.

let me know once its tested


Removing addNewLine

This removes addNewLine. It appended an entire source string with "\n" causing massive allocations for large source files.

Fixes #3617.
I can confirm everything works as expected when no new line is added except for tests need fixing.

@TIHan https://github.com/TIHan/visualfsharp/pull/4

Some of the other tests here are harder to fix...

Sweet, only 82 tests left. They're in the legacy langauge service tests, making it extra fun!

Okay, so this change definitely breaks completion. Everything else seems fine, so there's something about completion that requires a newline at the end of the file...

The "break" is actually just a breaking change from a newer API that was then removed in dev16. Unrelated to this PR.

Blegh it won't be as easy as I thought then. These old tests are horribly complex 😢


Challenge 1 for Marc Duiker

Hi @marcduiker!
Once you have the challenge result, you will compare it to the challenge you created. And after make all the necessary changes in your code, we will close this PR.
Remember that all challenges must be developed in your repository. That's why is very important to fork this repository.
And thank you for your awesome contribution @marcduiker !

We checked out your repository. We're thrilled to say your solution is now listed in our Hall of Fame
Thank you for your contributions!
This PR is now closed! 🎉


[match] How to setup to use existing certificates?

New Issue Checklist

[ x] Updated fastlane to the latest version
[ x] I read the Contribution Guidelines
[x ] I read docs.fastlane.tools
[x ] I searched for existing GitHub issues

Issue Description
When I try to run:
match enterprise --verbose --readonly
I get an error:
No code signing identity found and can not create a new one because you enabled readonly``
My match seem to be initialised properly:
Environment
+-----------------------+------------------------------------------------------------------------------------+
|                                          Summary for match 2.56.0                                          |
+-----------------------+------------------------------------------------------------------------------------+
| verbose               | true                                                                               |
| readonly              | true                                                                               |
| git_url               | https://bitbucket.....
I am not sure if I am missing something but I was expecting match tool to find and import my existing certificates and provisioning profiles?
I am not able to regenerate / create new certificates as I am part of the bigger team and we already using 2 distribution certs.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.6

Ruby
2.3.3

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.rvm/gems/ruby-2.3.3/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.3/lib

OpenSSL Version
OpenSSL 1.0.2l  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.56.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.15.4

io-console
0.4.5

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

mini_magick
4.5.1

multi_json
1.12.2

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.13.5

json
2.1.0

excon
0.59.0

generated on: 2017-09-14

To my knowledge Match can't manage existing certificates because it didn't create the originals.  If you needed to use existing, check out Cert and Sigh.  They are the backbone of match and can handle existing or more complex signing flows.

There is no supported way to do this. However, if you want you can manually create the repo structure and encrypt it, and match will work from there.
See https://docs.fastlane.tools/advanced/#manually-manage-the-fastlane-match-repo


Rewrite plugin

This PR is still a big WIP, and should not be merged.
The aim is to have a modern, clear-cut development process that will help with future development of the plugin.
Added

[x] Namespaces
[x] Class autoloading
[x] Build scripts
[x] Updated dependencies in the packages
[x] Rewrote the dev plugin structure

To do

[ ] Link to theme sniffer page in the plugins page is not showing
[ ] Test the basic functionality
[ ] Increase the sniff speed - limit sniffing to php files and use eslint and stylelint for .js and .css files respectively
[ ] Rewrite the HTML and CSS part so that BEM methodology is used
[ ] Find out how to zip the plugin so that it works in the build script.
[ ] Once approved, rebase and merge to master branch

Review is welcomed as are suggestions.

Quick update: I'm working on fixing the JS part of the sniffer. Note to self: Sort the phpcs JSON data in PHP so that the array returned (files) is an array that has file path and details as a part of an array because it's a bit hard to map through each one and create single item as it's currently implemented,


ERROR: Unable to extract uploader id;

Checklist

[X] I'm reporting a broken site support
[X] I've verified that I'm running youtube-dl version 2021.12.17
[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
Seems to be this one, but my run reports more detail: https://github.com/ytdl-org/youtube-dl/issues/31687

Verbose log

$ youtube-dl --verbose https://www.youtube.com/watch?v=KABN7xtTDQU
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=KABN7xtTDQU']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.9 (CPython) - Linux-6.1.8-arch1-1-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] KABN7xtTDQU: Downloading webpage
[youtube] KABN7xtTDQU: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I run on arch linux, my versions:
$ youtube-dl --version
2021.12.17
$ uname -a
Linux cedric 6.1.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 24 Jan 2023 21:07:04 +0000 x86_64 GNU/Linux

Have the same issue:

Same issue in Debian Bullseye. Youtube-dl version 2021.06.06-1.

Same issue in NL Youtube-dl on Windows 10, version 2021.12.17

same issue on macOS Monterey, version 12.6.1

Same issue on release: 2021.12.17

Same here.
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.2 (CPython) - macOS-11.6.3-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}

ERROR:
Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Seems solved here
https://github.com/ytdl-org/youtube-dl/issues/31530

Possibly the same issue:
╰─ youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata --verbose (pbpaste)                                                                                (base)
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--extract-audio', '--audio-format', 'mp3', '--embed-thumbnail', '--add-metadata', '--verbose', 'https://www.youtube.com/watch?v=SuDFMKAP2xM']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.10 (CPython) - macOS-13.2.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] SuDFMKAP2xM: Downloading webpage
[youtube] SuDFMKAP2xM: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

#30839


Finding position of detected object

Is it possible to find the position of detected object with accuracy in given image using tensor flow?
I am using label_image.py to test my trained data how can I get the position of detected object as I am getting the accuracy of detected object?
Reference:
https://stackoverflow.com/questions/44942587/save-image-of-detected-object-from-image-using-tensor-flow?noredirect=1#comment76982154_44942587

Warning: As this doesn't appear to be a bug with Tensorflow, the devs may ask for this to be moved to Stack Overflow.
Hi @ManojPabani I am back from my break and have replied to you on the thread. As this isn't a bug with Tensorflow I suggest we continue the conversation on the existing thread!
Thanks

Thanks for helping our friend @jubjamie. Please use StackOverflow for anything that isn't a bug or feature request in the future.


Update Metabase to latest version

We are currently on Metabase v44.2
The latest release of Metabase is v46.0
Steps:

[ ] run the prod-test restore on metabase test
[ ] run the broken questions script on metabase test to get an error baseline
[ ] update metabase to the latest version & release to test
[ ] re-run the broken questions script to see if the upgrade caused issues
[ ] do a quick manual walkthrough of metabase test
[ ] verify what new features the UI presents, and advise/train the team if needed (or schedule an information session)
[ ] release to prod

duplicate of #103. I've moved the checklist from this card into the older card. Closing this one.


Convert Discord markdown into HTML and send HTML mails

Currently dmail bot have several issues:

Any text, i.e. bold, italic, combined, e.t.c... writed in command will send as raw text in a mail. At same time HTML like bold, bold, italic e.t.c. send as plain text. Need detect that and replace markdown into HTML tags and HTML raw tags send as HTML, not plain text.

Don't check if bot can send images, but you may know if it possible.

Any mentions sended as raw text: http://hnng.moe/f/TZ8 (image from mailbox) - need replace that to text. If it mention user, then name of a user, if it channel, then channel name, if it role, then role name. I think it also possible to format by HTML tags and may be make looks like discord mention (what on white theme).
https://abal.moe/Eris/docs/Message message.mentions / .channelMentions / .roleMentions

Currently, emails received are parsed into plain text by mailgun, and emails sent are sent as plaintext only.
Plan:
1.a. Messages received should be scraped to markdown
1.b. Messages sent should be interpreted as markdown and converted to HTML

replace special discord notation before sending

Just small notation, in Discord embed you can use markdown [text](url) (in regular message this markdown not parsed).

Added in latest commit

Emails are converted to Markdown
.cleanContent is used instead of content

Hm, I send a test email from my mail program to dmail
This is how it should look as it was a mail:

This is what I recieve in DM in Discord:

Problem what it:

Add extra spaces in HTML tags place (before and after)
Don't convert it back in markdown (I remind about [text](url) when you send embed in discord, it possible to paste)

https://mss.ovh/1506190795.png

Another test from Discord to email also have small problem
Discord:

Email:

"Multiplier" word have 2 html tags , it boldered than bolder.
Single newline don't counted as newline (no
 or new
 tag).

 About your screenshot links also have extra space.


Header writing using only timestamp, but not station to identify which SAC files to write into

Should be fixed by c678660be02b19b8459c7e6d4198454215ffb4de
Will need to fix header_writer.py but this is not urgent because it's not even being used.

header_writer.py fixed in c678660
closing

fwiw it affected magnitude computation for newer files but not older ones since header_writer.py ran with the EQT pipeline and those had their own station folders, so there never would be any collision between timestamps leading to overwriting as in this case


kinect recording rig?

Hello,
I think it misses the kinect rig you use since everything is hard coded, like Hips, ...
Could you please share the rig you use?

Oh sorry, this addon is to help automate the process in these tutorials https://youtube.com/playlist?list=PLZpDYt0cyiuvd2X6ucSYilKJD6rKK2Uys The first 3 or 4 should help you get the data from the Kinect into blender. I'll try to get an example rig and better documentation pushed tonight for this.

Just pushed updated documentation. Hopefully will that tutorial and the steps you should be set

Thank you @mpalmer0028
Ah yes, I remember your Brenda! :)
You blew my mind last year.
My kinect sensor doesn't give this kind of result quality. In the end, usually feet slip and rotate around root (despite looking good while recording, I guess all axis are rotating), head doesn't rotate without the bust (rotations in general, like wrist, are not working well) and everything is leaning 30° in front of camera. and the rigify rig doesn't have your nice controllers. :smiling_face_with_tear:
But your add-on works very well. I close this non-existing issue.
Thank you again!

No worries. Yeah, I'm sorry that your captures aren't very good. I've been trying to use a blue plastic tarp as a background similar to a green screen and that seems to help the capture but I have a lot of issues too. Unfortunately the Kinect just has a lot of garbage data when it comes to some of the bones, ones like the wrists and feet have to be animated manually because the they can just bounce around randomly in most of the recordings. I've gotten this to work pretty well with small animations that I can do many takes of, but I've never had enough luck to make anything >30 second to work well.
Good luck though, the motion capture is cool when the sensor is working.

You're right.
Quick question: Your addon only works with the metarig, right? Not the generated rig?

Yeah, it only works for metarigs unfortunately. Metarigs have been good for my uses in Unity, but I think it would have some conflicts with the IK setup on the generated rig, it should be possible to drive a generated rig with the Kinect data if you copy the constraints similar to the addon, but some of the rigs constraints will probably need to be disabled when you want to target the Kinect rig. That tutorial series explains all the constraints you would need for any rig, so you might be able to follow that to make a generic generated rig one that you can reuse.

Thank you again @mpalmer0028
I understand the limitations.


Project as query params of login URL

What this PR does / why we need it:
https://user-images.githubusercontent.com/32532742/135324957-6db5d40c-b8ad-4f73-9a72-2639e5e10323.mp4
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Thank you! It solves https://github.com/pipe-cd/pipe/issues/1590 so I updated the PR description.

Also, it's obviously a user-facing change, so can you write what's changed in the PR description?

/lgtm

Thank you! It solves https://github.com/pipe-cd/pipe/issues/1590 so I updated the PR description.

oh I didn't know about that issue, thanks. Btw, we have a way to avoid that issue by access /login/{project} but its kind of tricky and hard to realize 😄
By this PR, I disabled that /login/{project} path too.

Really cool. Thank you.
/approve


Re-architecture openapi/server

Right now we have service in the baremaps-openapi serving everything (including tiles) and a baremaps-server serving tiles, without the same api. It can be quite confusing right now.
WDYT?

Yes, I wonder if we should rename the module baremaps-ogcapi and split yaml definitions in several files:
collections.yaml
tiles.yaml
styles.yaml
capabilities.yaml
...

Ideally, we should be able to clearly identify what comes from ogc api and what is part of our customizations.

Some more issues i see is that we currently implement the service interfaces generated by openapi inside the module. More it is an implementation specific to a postgres instance. We might want to move this somewhere else and also introduce an abstraction for the backend/db to call something like db.getTileset(id) instead of having raw sql in the service implementation.
This would prevent circular dependencies, ease  and ease the integration of other backends like s3.
Another issue is that interfaces of baremaps were targeted at a single style & tileset. Reworking them to comply more with the openapi interfaces could make it easier to write reusable components.

Yes, to me we should probably have a resource layer and a service layer. Something like:
TilesetsResource (jax-rs web service) -> TilesetsService (business logic)
By doing so, we could reuse the service in a different context such as the CLI:
TilesetsCommand (picocli command) -> TilesetsService (business logic)
The decoupling from the database may come from defining a TilesetsService interface and providing multiple injectable implementations (PostgresTilesetsService, MysqlTilesetsService, etc). But I would prefere if we just implement a TilesetsService tied to Postgres for now.

We should also thing about caching and prevent requests from hitting the database and the blob store for every requests. Caching should probably be handled at the level of the resource.
https://github.com/ben-manes/caffeine

How does caffeine integrate with rocksdb/lmdb ?

It does not integrate with rocksdb/lmdb ;)
Rocksdb/lmdb is used to cache (persist) a large quantity of osm nodes and ways to recreate geometries.
Calcite is used to cache the most frequent tiles in memory.

Can we close this  since you create an ogcapi package?


Chainer with Multi CPU Support for Linux (Chainer-CHAR-RNN Speed improvements)

Chainer with Multi CPU Support for Linux (Chainer-CHAR-RNN Speed improvements)
wrote little perl script to do it
changed sample.py file so that you dont need to give these arguments to the file when calling "python sample.py --model XXX --vocabulary xxx"

changed some more detailed comments to MultiCPUwithChainer.pl


Texture restoration after context loss

Hi,
There are several issues about this. Just in case, make sure your are not using the .swc package which is OUTDATED.

I second this issue. Losing context seems to clear out all the graphics for me.

@fraylopez  - I was actually able to resolve my issue. The logic is somewhat different in the latest update for the Straling Extension graphics package (Mine was up to date as of April or so). The issue comes down to how you restore the graphics - and in my case, a flush was not getting called which prevented the Program3DCache logic from uploading the graphics to the gpu again..
https://github.com/StarlingGraphics/Starling-Extension-Graphics/commit/69abe62b9b9d0b3efc1ce2ffe73573abae51d928
In my version, the 'releaseProgram3D method was never really calling flush, which never removed the program3D from cache, and therefore was never calling the renderer to upload to the gpu after it lost context.
Here's my updated version:
	public static function releaseProgram3D( program3D:Program3D ):void
	{
		if ( !numReferencesByProgramTable[program3D] )
		{
			throw( new Error( "Program3D is not in cache" ) );
			return;
		}

		var numReferences:int = numReferencesByProgramTable[program3D];
		numReferences--;
		numReferencesByProgramTable[program3D] = numReferences;

		if(numReferences == 0){
			flush();
		}
	}

Again, the new version has this - but the new version is also relying on the new version of starling - which I haven't had time to update to. You may need to trace some code out, but my guess is that this block of code is never getting called after losing context and therefore is never updating the gpu with restored graphics. My issue is that the code was never getting back into the program3D to restore the graphics again.
		if ( program3D == null )
		{
			program3D = programByUIDTable[program3DUID] = context.createProgram();
			uidByProgramTable[program3D] = program3DUID;
			program3D.upload( vertexShader.opCode, fragmentShader.opCode );
			numReferencesByProgramTable[program3D] = 0;
			cacheSize++;
		}

A fix for this has been submitted


Added Number.isFinite to core.js

The Number.isFinite function was missing from the Number class declaration, this PR adds it.

thanks! could you update the tests that failed? they are all probably just failing because their line numbers got bumped by one, so a quick fix is to run the tests (./runtests.sh bin/flow) and then copy all of the .out files to .exp. I do that like this: find tests/ -name "*.out" | perl -pi -e 's/(.*).out/cp $1.out $1.exp/g' | bash

I've updated the tests and moved the line up, it should build properly now!

thanks!

@facebook-github-bot shipit


10.0.22621.3155

Maybe it's because the OS build version is not right...
It still doesn't work.

This is normal for Home edition. This works!
Try:

Open Remote desktop client (mstsc)
Try connect from other PC or same PC.

If you trying from same PC, use <IP_ADDRESS> as "remote" PC.

Your version discussion in https://github.com/stascorp/rdpwrap/issues/2469

Thanks for your reply

But it's still not working.

and my OS bulid

Is <IP_ADDRESS> works?
Please, check your local IP:

Open CMD
Enter ipconfig
Try find <IP_ADDRESS> in output :)

3. <IP_ADDRESS>

Too hard for a computer newbie, bro
I was actually trying to run a VPS, but my computer couldn't connect remotely,
so I used a friend's computer and it worked.
Now "<IP_ADDRESS>" looks like this.
And "<IP_ADDRESS>" is the IP of the VPS server I want to control remotely.

Now "<IP_ADDRESS>" looks like this.

Try solutions from https://woshub.com/rdp-black-screen-windows-remote-desktop/

And "<IP_ADDRESS>" is the IP of the VPS server I want to control remotely.

If you need remote control of a VPS, and not your computer, then RDP Wrapper needs to be installed on the VPS, and not on the client’s computer.


Layout Home Page

Figma: https://www.figma.com/file/Lo1ZcBOO9t4QRbX2I0PwBQ/RBB?node-id=0%3A1
Leveraging Chakra UI components and already existing ContentBlock and PrimaryButton components, we need to layout the home page to match up to UI designs.
Trello:
https://trello.com/c/UfKtiYcc/11-layout-homepage-content
Image Assets:

Cloudinary ID for Fist image: assets/home-header-bg
(Alternate) Cloudinary ID for Fist image: assets/home-header-bg-space
Cloudinary ID for Contact image1: assets/cta1-bg
Cloudinary ID for Contact image2: assets/cta2-bg
(Alternate) Cloudinary ID for Contact image2: assets/cta2-bg-space
Cloudinary ID for Contact image3: assets/cta3-bg

Desktop:

Responsive
The layout should be responsive, the content will center, span the full width.
Mobile:

 Layout homepage content


Filemime constant mapping

I am wondering if the filemime should be mapped to constants/mime instead of constants/mimetype in migrate_plus.migration.file.yml
  filemime: constants/mimetype
because I only see mime: image/jpeg in the constants section of that file, not mimetype: image/jpeg

@elizoller, you are correct.

can i put in a PR for this?


Ensure revalidation of packages (12/16 incident)

The following packages need additional attention to revalidate properly:

https://www.nuget.org/Admin/Validation/Search?q=CG.Bus.Abstractions+2019.3.2
https://www.nuget.org/Admin/Validation/Search?q=Bencodex+0.1.0
https://www.nuget.org/Admin/Validation/Search?q=Machete.HL7+1.0.244-develop
https://www.nuget.org/Admin/Validation/Search?q=BlinkdotNet+1.0.20181216.1
https://www.nuget.org/Admin/Validation/Search?q=Lopla.Draw+0.0.10-alpha
https://www.nuget.org/Admin/Validation/Search?q=HotChocolate.Abstractions+0.7.0-preview.13

This special snowflake could use some verification that validation failure is expected: https://www.nuget.org/packages/Flurl.Http.Signed/2.4.0/

View this page to see the latest status of the affected validations.
Gallery DB query:
SELECT p.[Key], pr.[Id], p.[NormalizedVersion]
FROM [dbo].[Packages] p
INNER JOIN [PackageRegistrations] pr
ON p.[PackageRegistrationKey] = pr.[Key]
WHERE PackageStatusKey = 2
ORDER BY [Created] ASC

All of these packages have passed validation and are now being indexed.


PR: Improve compatibility with PySide2

Description of Changes
Some patches to improve compatibility with PySide2 (not tested against PySide6).
A note regarding the commit “pyside2: Fix usage of “mode” keyword argument in QTextCursor.movePosition()”

The fixed error is “silent” in PySide2 5.15.0 and <IP_ADDRESS>. We never noticed it until so far.
This could be patched globally by monkeypatching in the qtpy Module (so that all users of qtpy benefit)

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct:
rear1019

Hey @rear1019, thanks a lot for your continued contributions to improve our PySide2 support. In order to include your work in our next release (5.3.1), please make your branch to derive from our 5.x one (instead of master), with the following commands:
git checkout 5.x
git checkout pyside_fixes4
git rebase --onto 5.x master pyside_fixes4
git push -f origin pyside_fixes4

Also, about this:

This could be patched globally by monkeypatching in the qtpy Module (so that all users of qtpy benefit)

Could you submit a PR to Qtpy, so we can include it on its next version (2.1.0), to be released soon?

Hey @rear1019, thanks a lot for your continued contributions to improve our PySide2 support. In order to include your work in our next version (5.3.1), please make your branch to derive from our 5.x one (instead of master), with the following commands:
[…]

Done. Note that the target branch for the merge is still master. Please let me know if this should be changed to 5.x as well.

Also, about this:

This could be patched globally by monkeypatching in the qtpy Module (so that all users of qtpy benefit)

Could you submit a PR to Qtpy, so we can include it in its next version (2.1.0), to be released soon?

See https://github.com/spyder-ide/qtpy/pull/341

Done. Note that the target branch for the merge is still master. Please let me know if this should be changed to 5.x as well.

Thanks! And yes, please change the target here on Github to be 5.x.

See https://github.com/spyder-ide/qtpy/pull/341

Thanks for that too! Then I think we should wait until that PR is merged and part of Qtpy 2.1.0, so we can drop here commit
82c3a6f and depend on that Qtpy version.
What do you think?

See spyder-ide/qtpy#341

Thanks for that too! Then I think we should wait until that PR is merged and part of Qtpy 2.1.0, so we can drop here commit 82c3a6f and depend on that version.
What do you think?

This should work :+1:. I will update this PR once https://github.com/spyder-ide/qtpy/pull/341 is merged.

Thanks @dalthviz! But we need it in Qtpy 2.1.0, so that @rear1019 can replace commit 82c3a6f for a dependency on that version.

Latest force push:

Rebased against current 5.x
Updated QtPy dependency so that https://github.com/spyder-ide/qtpy/pull/341 is included

@rear1019, you also need to update our required Qtpy version here:
https://github.com/spyder-ide/spyder/blob/34826d6fe89b2800da7cf7b659871b6e0072c3c3/spyder/dependencies.py#L65


Information Dive

Try to answer these questions:

What is the Active Record pattern in a nutshell?
At a high level, what are ORM's and how might they be useful?
What is the importance of interfacing the server with the database?

-What is the Active Record pattern in a nutshell?
Objects carry both persistent data and behavior which operates on that data. Ensures data access logic
-At a high level, what are ORM's and how might they be useful?
Object Relational Mapping- Connecting the objects of an application with the relevant parts of the database.
-What is the importance of interfacing the server with the database?
Allows the application to interact with the database without SQL

with out changing content

Perry/Matt's answers

The active record pattern is an approach to accessing data in a database. A database table or view is wrapped into a class. Thus, an object instance is tied to a single row in the table. After creation of an object, a new row is added to the table upon save.

...I copied that from wiki... basically, when you make a new instance of an object it is added as a row to a data table.

An ORM takes data from table into objects accessible by a programming language.

If you use a large amount of data... you need to store and access it!

1- Active Record :
An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.
2-ORM:
Object-relational mapping ,it is a programming technique for converting data between incompatible type systems using object-oriented programming languages.

Active Record allows for the persistent storage of business-end code in objects
ORMs connect objects to tables in a database management system
Circumvents the need for SQL queries

AR enables the use of Business Objects that require storage to a database.
Object-relational mapping (ORM, O/RM, and O/R mapping tool) is a programming technique for converting data between incompatible type systems using object-oriented programming languages.
Facilitate data persistence.

1.the Active Record pattern is a 'package' of generally used business methods
2.ORMs standardizes info across databases
3.Creates a universal way of accessing / interacting with info

Active Record is the framework used to access data
ORM - Object Relational mapping  makes info compatible across systems.
Does not require SQL

What is the Active Record pattern in a nutshell?
The Active Record Pattern is a framework which uses ORM techniques to work with a database.
At a high level, what are ORM's and how might they be useful?
ORMs allow us to use a programming language to manipulate and work with data from a database. It helps you to maintain DRY code.
What is the importance of interfacing the server with the database?
It is important in order to manipulate data automatically. What if someone wants a different profile name? Password? ORMs can help with this.

It is an architectural software pattern
connection database with objects
communication between database and client.

The active record is the M in MVC which stands for model, facilitates creation  and manipulation of objects.
ORM is a mapping tool that facilitates the creation of objects from a set or sets of data.
Let's us store information that is reusable and more secure.

active record pattern - 'model' view, the way to access the data base
ORMs - 'virtual database', connects the info across database
so you can store information from server to database, and access the database info from server

ORM is object relational mapping
Active record is a database for different structures
For better fidelity

What is the Active Record pattern in a nutshell?
An architectural pattern found in software that stores in-memory object data in relational databases.
At a high level, what are ORM's and how might they be useful?
A technique for converting data between incompatible type systems in object-oriented programming languages.
What is the importance of interfacing the server with the database?
Easier to communicate with the server and easier to understand for the user

responsible for representing business data and logic
allows the coder to access code written in another language
you don't need to use SQL


Type Error with my/ui

Getting a type error on imports from my/ui, specifically in tamagui.config.ts
Any idea how to make that go?

I will look into this! It happens to me as well! Must be caused by some renaming.

Okay, it seems that this problem happened because we opened the file before the UI libraries were built.
However, even after the UI library gets built, like VSCode typescript linter does not update. Which is a VSCode cache problem.
(If you delete any character from the @my/ui, and add it back in, it seems that the error goes away as well. But all import errors stay)
So, what I've done now, is to automatically build the UI library after install. This way, VSCode should always have types from @my/ui!
If you don't want to reclone, you can also fix this by doing CMD+SHIFT+P, enter "typescript version", and reselect the VSCode version. For example, going from "Workspace typescript" to ""VSCode typescript" and back. It should re-instantiate your typescript linter!

Once I did that, for some reason my entire file broke.
import { Button, Paragraph, Separator, XStack, YStack, Card, H3, } from "@my/ui";


Swagger Adaptation Issue: Incorrect Response Examples Display

What version of Elysia.JS is running?
No response
What platform is your computer?
Darwin 23.3.0 arm64 arm
What steps can reproduce the bug?
When following the OpenAPI Specification (OAS) rules, Swagger displays additional {value:{}} for response examples, as shown in the provided images. To properly display examples in Swagger, modifications are required as indicated in the additional images. However, making these changes leads to a TypeScript type assignment error, which is detailed in the provided error message.

To properly display in /swagger, I have to:

If so, I will be getting the problem:
Type '{ "200": { description: string; content: { "application/json": { examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }; }; }; }; "422": { ...; }; "500": { ...; }; }' is not assignable to type '{ "200": { description: string; content: { "application/json": { examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }; }; }; }; "422": { ...; }; "500": { ...; }; } & ResponsesObject'.
  Type '{ "200": { description: string; content: { "application/json": { examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }; }; }; }; "422": { ...; }; "500": { ...; }; }' is not assignable to type 'ResponsesObject'.
    Property '"200"' is incompatible with index signature.
      Type '{ description: string; content: { "application/json": { examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }; }; }; }' is not assignable to type 'ReferenceObject | ResponseObject'.
        Type '{ description: string; content: { "application/json": { examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }; }; }; }' is not assignable to type 'ResponseObject'.
          Types of property 'content' are incompatible.
            Type '{ "application/json": { examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }; }; }' is not assignable to type '{ [media: string]: MediaTypeObject; }'.
              Property '"application/json"' is incompatible with index signature.
                Type '{ examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }; }' is not assignable to type 'MediaTypeObject'.
                  Types of property 'examples' are incompatible.
                    Type '{ 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { value: { code: string; message: string; status: number; }; }; }' is not assignable to type '{ [media: string]: ReferenceObject | ExampleObject; }'.
                      Property '"用户验证成功"' is incompatible with index signature.
                        Type '{ code: string; message: string; status: number; }' is not assignable to type 'ReferenceObject | ExampleObject'.ts(2322)
auth.controller.ts(204, 21): The expected type comes from property 'responses' which is declared here on type '{ summary: string; description: string; tags: string[]; responses: { "200": { description: string; content: { "application/json": { examples: { 用户验证成功: { code: string; message: string; status: number; }; 用户登录成功: { ...; }; }; }; }; }; "422": { ...; }; "500": { ...; }; }; } & Partial<...>'

What is the expected behavior?
{
  "code": "verifyCode.Verified",
  "message": "用户验证成功！",
  "status": 200
}

What do you see instead?
{
  "value": {
    "code": "verifyCode.Verified",
    "message": "用户验证成功！",
    "status": 200
  }
}

Additional information
No response

Such Issue would not happen, If I change the provider from default ("scalar") to "swagger-ui".
.use(swagger(
    {
      provider: "swagger-ui"
    }
  ))

Such Issue would not happen, If I change the provider from default ("scalar") to "swagger-ui".
.use(swagger(
    {
      provider: "swagger-ui"
    }
  ))

Can you create issue in Scalar repo?

Such Issue would not happen, If I change the provider from default ("scalar") to "swagger-ui".
.use(swagger(
    {
      provider: "swagger-ui"
    }
  ))

Can you create issue in Scalar repo?

Sure, I have created the issue on Scalar.


Type 'RefObject' is not assignable to type 'LegacyRef | undefined

Can somebody explain me this issue? I'm using the code straight from the docs.

I was able to resolve it by wrapping it with MUI box wrapper, but others might not be lucky to use MUI in the project
So bringing a little bit more understanding to the issue would be welcomed

You can add a type argument to useAutoAnimate.
useAutoAnimate<HTMLUListElement>()


update logging from CLI as_html for clarity

Purely cosmetic, just thought the current logging looked a little strange w/ the exclamation point, as if the file path was literally path/to/dir!.
before

after

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #20   +/-   ##
=======================================
  Coverage   85.66%   85.66%
=======================================
  Files          10       10
  Lines         286      286
=======================================
  Hits          245      245
  Misses         41       41

Impacted Files
Coverage Δ

portray/api.py
97.29% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Agree, this is an improvement! Thank you!

No problem :) Having acknowledgements.md is very gracious. I don't know if I've seen a project with one before.


Microsoft.Storage/storageAccounts networkAcls.virtualNetworkRules.id property does not accept functions

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
When deploying a storage account (Microsoft.Storage/storageAccounts) via an ARM template, I cannot set the value for the virtualNetworkRules.id property, because it does not accept functions as a value. I need this because I want to use the same template for different environments
To Reproduce
deploy an arm template with the resource 'Microsoft.Storage/storageAccounts' where the property networkAcls.virtualNetworkRules.id gets its value via a variable, parameter or a function
Expected behavior
The function is evaluated and the resulting value is used as the value for the networkAcls.virtualNetworkRules.id property
Environment summary
ARM template deployment in Azure DevOps pipeline

route to CXP team

Could I get an update?

@Mrlnvndn Apologies for the late reply. Thanks for reaching out to us and reporting this issue. Could you please check if this ARM template sample helps ?

@Mrlnvndn I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

I would like to link a storage account to a virtual network directly upon creating the storage account in an ARM template, where the id of the virtual network is passed down via a variable which allows us to use the same arm template for multiple environments. The provided solution above does not help with that.

@Mrlnvndn Thanks for your reply and clarifying your ask. Please find the sample template that creates a storage account and allows you to specify a list of virtual network rules as a variable:
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "storageAccountName": {
            "type": "string",
            "metadata": {
                "description": "The name of the storage account to create."
            }
        },
        "virtualNetworkRules": {
            "type": "array",
            "metadata": {
                "description": "An array of virtual network rules to apply to the storage account."
            }
        }
    },
    "resources": [
        {
            "type": "Microsoft.Storage/storageAccounts",
            "name": "[parameters('storageAccountName')]",
            "apiVersion": "2021-06-01",
            "location": "[resourceGroup().location]",
            "sku": {
                "name": "Standard_LRS"
            },
            "kind": "Storage",
            "properties": {
                "networkAcls": {
                    "virtualNetworkRules": "[parameters('virtualNetworkRules')]"
                }
            }
        }
    ]
}

You would then pass the virtualNetworkRules parameter as a variable when deploying the template. Each item in the virtualNetworkRules array should be an object with properties for id (the ID of the virtual network) and subnet (the name of the subnet within the virtual network).
Here is an example of how you would define the virtualNetworkRules parameter when deploying the template:
{
    "virtualNetworkRules": [
        {
            "id": "/subscriptions/12345678-1234-1234-1234-1234567890ab/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet1",
            "subnet": "subnet1"
        },
        {
            "id": "/subscriptions/12345678-1234-1234-1234-1234567890ab/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet2",
            "subnet": "subnet2"
        }
    ]
}

Please note, this is an example and for the actual deployment you should replace the variables, ids and properties specific to your implementation.

@Mrlnvndn I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.


OS Login Component Overview / PAM inconsistent with google_oslogin_control

Currently, the OS Login Component overwiew describes the recommended PAM configuration like this:
PAM Module
The pam_module directory contains two modules used by Linux PAM (Pluggable Authentication Modules).

The first module, pam_oslogin_login.so, determines whether a given user is allowed to SSH into an instance. It is activated by adding an account requisite line to the PAM sshd config file and does the following:

[…]

The second module, pam_oslogin_admin.so, determines whether a given user should have admin (sudo) permissions on the instance. It is activated by adding an account optional line to the PAM sshd config file and does the following:

Retrieves the user's profile information from the metadata server.
http://metadata.google.internal/computeMetadata/v1/oslogin/users?username=<username>
If the user is a local user account, the module exits with success.
If the user is an OS Login user, the module perform an authorization check to determine if the user has admin permissions.
http://metadata.google.internal/computeMetadata/v1/oslogin/authorize?email=<user_email>&policy=adminLogin
If the user is authorized as an admin, a file with the username is added to /var/google-sudoers.d/. The file gives the user sudo privileges.
If the authorization check fails for admin permissions, the file is removed from /var/google-sudoers.d/ if it exists.

However, configuring pam_oslogin_login.so at account requisite and pam_oslogin_admin.so at account optional isn't really true:
bin/google_oslogin_control seems to add the following lines to PAM configuration:
auth       [success=done perm_denied=bad default=ignore] pam_oslogin_login.so
account    [success=ok default=ignore] pam_oslogin_admin.so
account    [success=ok ignore=ignore default=die] pam_oslogin_login.so

This configures pam_oslogin_login for both account and auth management groups (which seems possible, looking at the PAM_EXTERN functions), and pam_oslogin_admin for account, where it's not documented in the text above what happens where.
In addition, the control values got a bit more complicated, and it's not documented at which position the oslogin modules should be placed and why. My braindump in why the control values are set like they are:

auth pam_oslogin_login.so might need to come pretty early, given other pam modules might stumble on the missing usernames
account pam_oslogin_admin.so with [success=ok default=ignore] is even more lax than the historical optional - even if it's the only account module, other return states (except PAM_SUCCESS) don't contribute to the final result of the management group.
account pam_oslogin_login.so with [success=ok ignore=ignore default=die] might imply it should go to the end, as a failure will immediatly terminate further authentication - not sure how well this behaves with other modules that behave like this, too ;-)

Can you clarify here?
In addition, the flow described at that same page is missing the whole flow coded in pam_sm_authenticate.

Thanks for the feedback @flokli - this documentation will be updated shortly based on recent changes and your comments.
The fundamental behavior hasn't changed, but we have made some updates which are out of sync with the documentation. First we are using the new bracket syntax for pam configuration. Comparing the two and referring to pam.conf(5) we see that legacy control value requisite maps to [success=ok new_authtok_reqd=ok ignore=ignore default=die]; we just omitted the new_authtok_reqd control as this isn't a possible return value for this module. Legacy control value optional maps to  [success=ok new_authtok_reqd=ok default=ignore], with the same omission. So we really haven't changed anything here except to use the new syntax for future-proofing and readability.
The logic by which we make these changes can be gotten from reading the code in /usr/bin/google_oslogin_control, but in short: pam_oslogin_login.so will be installed in the auth stack only if 2-factor is requested, and is placed at the top of the stack and configured to short circuit on success. pam_oslogin_login.so and pam_oslogin_admin.so will be placed at the end of the account stack, to allow existing behavior for these stacks to continue functioning and be supplemented by OS Login features.
Finally, pam_oslogin_login.so implements the pam function pam_sm_acct_mgmt to validate that an OS Login user exists, and implements the pam function pam_sm_authenticate to implement 2-factor authentication. Documentation for the latter will be forthcoming.

@hopkiw thanks for the clarification - true, the bracket syntax doesn't introduce new behaviour - am I right you can then also skip the ignore=ignore part? I'd also suggest to describe behaviour for each (used) return value, the default=die part is a bit scary.
Yes, I did grok through google_oslogin_control to figure out how the script tries to configure the system, just wasn't sure about some of the "why"'s:
I'm currently packaging and integrating the oslogin PAM and NSS modules and the  google_authorized_keys command into NixOS at https://github.com/NixOS/nixpkgs/pull/51566 - this however requires describing the desired state instead of running scripts reconfiguring services at runtime, so some documentation about the desired end state and reasonings behind help a lot :-)

am I right you can then also skip the ignore=ignore part, if we strip the scary default=die

I'm not sure what the default is if not specified. It isn't specified in pam.conf(5).

default redefines behaviour on a return code that was not explicitly configured inside the brackets. So I was suggesting to define behaviour for all return codes pam_oslogin_login.so can return when used as an account module.

Learning from https://github.com/NixOS/nixpkgs/pull/51566#issuecomment-446602369, there should really a bit more verbose documentation in how the module should be configured, and expects other configuration to be, not just the existing shell script - the issue there with pam_unix wouldn't have been detected by the script either…


ERROR: Could not build wheels for pandas, scikit-learn, which is required to install pyproject.toml-based projects

🐛 Bug

To Reproduce
pip install lightning-flash[tabular] has a lot of errors. There's thousands of lines of errors so I'm not sure which parts to share.
A sample.
building 'pandas._libs.algos' extension
      creating build/temp.linux-x86_64-cpython-310
      creating build/temp.linux-x86_64-cpython-310/pandas
      creating build/temp.linux-x86_64-cpython-310/pandas/_libs
      x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-0xcqjj9j/overlay/lib/python3.10/site-packages/numpy/core/include -I/home/davidg/.virtualenvs/learning/include -I/usr/include/python3.10 -c pandas/_libs/algos.c -o build/temp.linux-x86_64-cpython-310/pandas/_libs/algos.o
      pandas/_libs/algos.c:42:10: fatal error: Python.h: No such file or directory
         42 | #include "Python.h"
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pandas
  Building wheel for scikit-learn (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for scikit-learn (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [1003 lines of output]
      Partial import of sklearn during the build process.
      <string>:116: DeprecationWarning:

        `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
        of the deprecation of `distutils` itself. It will be removed for
        Python >= 3.12. For older Python versions it will remain present.
        It is recommended to use `setuptools < 60.0` for those Python versions.
        For more details, see:
          https://numpy.org/devdocs/reference/distutils_status_migration.html

      INFO: C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC

And, an interesting part...?
In file included from sklearn/svm/src/libsvm/libsvm_template.cpp:6:
      sklearn/svm/src/libsvm/svm.cpp: In function ‘const char* svm_check_parameter(const svm_problem*, const svm_parameter*)’:
      sklearn/svm/src/libsvm/svm.cpp:3130:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
       3130 |    msg =  "Invalid input - all samples have zero or negative weights.";

And the final lines of the error:
INFO:
      ########### CLIB COMPILER OPTIMIZATION ###########
      INFO: Platform      :
        Architecture: x64
        Compiler    : gcc

      CPU baseline  :
        Requested   : 'min'
        Enabled     : SSE SSE2 SSE3
        Flags       : -msse -msse2 -msse3
        Extra checks: none

      CPU dispatch  :
        Requested   : 'max -xop -fma4'
        Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_KNM AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
        Generated   : none
      INFO: CCompilerOpt.cache_flush[857] : write cache to path -> /tmp/pip-install-2tylos6b/scikit-learn_9f92637d15f141dfa069c8954878de3b/build/temp.linux-x86_64-cpython-310/ccompiler_opt_cache_clib.py
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for scikit-learn
Failed to build pandas scikit-learn
ERROR: Could not build wheels for pandas, scikit-learn, which is required to install pyproject.toml-based projects

I already have Pandas 1.4.4 and scikit-learn 1.1.2 installed.
I notice it's trying to install quite an old version of scikit-learn (0.24), can that be avoided?
Environment

OS (e.g., Linux): Windows 11 host, running in WSL2 (Ubuntu).
Python version: 3.10.7
PyTorch/Lightning/Flash Version (e.g., 1.10/1.5/0.7):

torch: 1.12.1+cu116
pytorch-lightning: 1.7.7
lightning-flash: 0.8.0

GPU models and configuration: RTX3090
Any other relevant information: From stack overflow, I see things about needing to do sudo apt-get install python3-dev to avoid the error about Python.h. Surely I don't need to do that though, just to get an old version of a package I already have. And if so, should that be in the docs?

Additional context
pip install lightning-flash works fine.
The above errors are all in WSL/Ubuntu. I have the same packages installed in my Windows machine (although they'll vary in minor versions) and there I get a different error. First, an error about not having C++ tools installed. I installed those. Then, running pip install lightning-flash[tabular] I get another wall of errors. The last part is:
 building 'pandas._libs.parsers' extension
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DNPY_NO_DEPRECATED_API=0 -I.\pandas\_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -IC:\Users\david\AppData\Local\Temp\pip-build-env-mp9k3z9t\overlay\Lib\site-packages\numpy\core\include "-IC:\Program Files\Python310\include" "-IC:\Program Files\Python310\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /Tcpandas/_libs/src/parser/io.c /Fobuild\temp.win-amd64-cpython-310\Release\pandas/_libs/src/parser/io.obj
      io.c
      pandas/_libs/src/parser/io.c(139): error C2065: 'ssize_t': undeclared identifier
      pandas/_libs/src/parser/io.c(139): error C2146: syntax error: missing ';' before identifier 'rv'
      pandas/_libs/src/parser/io.c(139): error C2065: 'rv': undeclared identifier
      pandas/_libs/src/parser/io.c(145): error C2065: 'rv': undeclared identifier
      pandas/_libs/src/parser/io.c(145): warning C4267: 'function': conversion from 'size_t' to 'unsigned int', possible loss of data
      pandas/_libs/src/parser/io.c(146): error C2065: 'rv': undeclared identifier
      pandas/_libs/src/parser/io.c(157): error C2065: 'rv': undeclared identifier
      pandas/_libs/src/parser/io.c(158): error C2065: 'rv': undeclared identifier
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pandas
  Building wheel for antlr4-python3-runtime (setup.py) ... done
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.8-py3-none-any.whl size=141210 sha256=a2f7093bde5cb7466fd2d761d5726bd87d75f82bd0bb277b2f9ee7d8d2357232
  Stored in directory: c:\users\david\appdata\local\pip\cache\wheels\a7\20\bd\e1477d664f22d99989fd28ee1a43d6633dddb5cb9e801350d5
  Building wheel for scikit-learn (pyproject.toml) ... done
  Created wheel for scikit-learn: filename=scikit_learn-0.24.2-cp310-cp310-win_amd64.whl size=6269569 sha256=b0d4460d7c5b65d8daf43e24fb43b2bb641eeed2c55a66d61297c2469797aaf5
  Stored in directory: c:\users\david\appdata\local\pip\cache\wheels\13\a4\68\4e78865652fa14db4a162b491e5138565f97646f9e1f2ab8cc
  Building wheel for PyYAML (pyproject.toml) ... done
  Created wheel for PyYAML: filename=PyYAML-5.4.1-cp310-cp310-win_amd64.whl size=45655 sha256=e80ae26593bbca066131a7044857c731fa526bed252d2a87ea8e96aee806bd97
  Stored in directory: c:\users\david\appdata\local\pip\cache\wheels\c7\0d\22\696ee92245ad710f506eee79bb05c740d8abccd3ecdb778683
  Building wheel for pyperclip (setup.py) ... done
  Created wheel for pyperclip: filename=pyperclip-1.8.2-py3-none-any.whl size=11123 sha256=202846dfde61c94edf0b1755f7e41a5f5aafa99d701896228eadcee6dff07581
  Stored in directory: c:\users\david\appdata\local\pip\cache\wheels\04\24\fe\140a94a7f1036003ede94579e6b4227fe96c840c6f4dcbe307
Successfully built pytorch-tabular antlr4-python3-runtime scikit-learn PyYAML pyperclip
Failed to build pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects

And to reiterate: I already have Pandas installed, this is blowing up trying to install a very old version of Pandas.
This is probably not related, but I notice that it downloads an older version of torch.

I already have things working fine with torch and pytorch-lightning, I'm just interested in trying out the "easy" lightning-flash. But so far can't get it installed in Windows OR Ubuntu. And I certainly don't want to go uninstalling packages that I have working so that they can be replaced with old versions being requested by flash.
Any ideas?

Hey, @davidgilbertson - Sorry that you are facing this issue. Since it says Python.h not found, looks like it's missing the header file required - if you are using Ubuntu, and I assume you must be using apt package manager, so can you please try: sudo apt install libpython3.x-dev (where x will be your python 3.x version, for me it was 3.10 so I had to do: sudo apt install libpython3.10-dev).
Please let me know if this solves or doesn't solve your issue.

Thanks @krshrimali I tried as you suggested and get more errors. I tried with --fix-missing and got the same errors. Tried sudo apt update and that resolved the errors.
Anyway, now I get new errors. It seems like this uninstalled my<EMAIL_ADDRESS>and installed<EMAIL_ADDRESS>and then I get an error:
lightning-bolts 0.5.0 requires pytorch-lightning>=1.4.0, but you have pytorch-lightning 1.3.6 which is incompatible.

And also I get the below error, not surprising since lightning-flash brings in such an old scikit-learn.
yellowbrick 1.5 requires scikit-learn>=1.0.0, but you have scikit-learn 0.24.2 which is incompatible.

If I may offer a suggestion: if this is to be a package aimed at being 'easy' to use, it really needs to work without having to install libpython-dev and really needs to avoid installing very old dependencies.
Specifically, you could:

use the current version of pytorch-forecasting, which doesn't require scikit-learn>=0.23,<0.25
pytorch-tabular has a hard requirement of pandas==1.1.5. They've relaxed this in their source code but haven't released a new version, you could push them to do so and use that version. Or, since that package seems pretty inactive, consider if you need it at all.

Then installs would be nice and smooth, probably


Add client setting for ContainerOrchestratorRuntime

ARM (Control Plane) API Specification Update Pull Request

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!

[ ] New resource provider.
[ ] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix OpenAPI spec quality issues in S360.
[ ] Convert existing OpenAPI spec to TypeSpec spec (do not combine this with implementing changes for a new API version).
[x] Other, please clarify:

Add client.tsp for generating .Net SDK.

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

/azp run

Swagger LintDiff failed with error   [Guid Usage])(https://github.com/Azure/azure-openapi-validator/blob/main/docs/guid-usage.md). The relevant property rpObjectId is a GUID, so a GUID format string would be a great fit for it. @ArthurMa1978 please help in the review process.

can you please add the suppression for the guid usage. I see that the guid is an AD objectid , so you can just mention this in the suppression

Suppression added

/azp run


Request: add instrument to track

I am writing a Python Cli tool that lets me select a few chords and sends them to Live using AbletonOSC. It works fine but the more I think about this the more I want this to become a kind of template creator where I can quickly create jam tracks specifying only the chord progression.
So my question, is there a way to add instruments to tracks using AbletonOSC. I tried many things, but I guess it is not yet implemented. Is this something that is planned to come?
btw I really appreciate this project, thanks for the good work!

Thanks for the feedback! Adding instruments is not yet supported; I am keen to introduce this at some point in the next few months, but this is very much a passion project and my time availability is limited.
BTW, as you're using Python to develop your client, you might also be interested in pylive, a Python library that encapsulates common functionality so that you don't need to hand-craft OSC messages to interact with AbletonOSC. This is lagging a bit behind, but will shortly (by ~late Feb) be updated to work with all of the latest AbletonOSC functionality.

Thanks for this info. I am glad to hear this is coming. Thank you also for pointing out pylive. I have seen it but did not use it yet.  I will look into it.


Reflect template type in teardown.sh script

If we set up SYNDESIS_TEMPLATE_TYPE which is different from default syndesis we need to reflect it in teardown.sh. https://github.com/syndesisio/syndesis-system-tests/blob/master/src/test/resources/teardown.sh#L10

Closing as the issue is fixed by the linked commit.


Text on the download menu is blurred

Describe the bug
The text on the download menu is blurred by the default minecraft gui blur, and thus is really hard to read.

Environment:

OS: Windows
Minecraft Version: 1.21.1
Mod Version: 1.0.2
Other Mods Installed: Only latest versions of dependencies, nothing else

Oops I have the default blur set to 0% so I didn't catch this I'll fix it and the other bug you reported in the next update

I don't usually ask this, but do you have an eta on that? I really would want to include the mod in my modpack, but I am a bit behind with the update, so if it takes you some time I believe I can do some stuff on my end to temporarily fix it

I'll try to get it out today I also need to update my modpack for 2.1.1 lol


PowerShell support

Was looking at how to wire up the PowerShell auto completion.
Here is how it was wired into vim.
There is no install component for it, need to get it from the GitHub repo.
Happy to try to wire it up, need some direction though.
https://github.com/yatli/coc-powershell/blob/307e00f8df36e462fdb08a4647cc50e35beea218/plugin/coc-powershell.vim#L27

Hi @dfinke
To get started writeing a TabNine client, you can follow this guide
Let us know if you need any assistance


Create iitkgp.txt

Adding domain of Indian Institute of Technology, Kharagpur

the university website seems to be http://www.iitkgp.ac.in/ - please provide some proof of the fact the provided domain also belongs to the university.

Link to the ERP
Also, link to the faculty page of the dean, hosted on iitkgp.ac.in with email address on the subdomain hijli.iitkgp.ernet.in

The domain has also been added on the original repo (https://github.com/leereilly/swot/pull/499)

thanks a lot, I'm adding the domain.


Current version is not computed correctly in jenkins multi-branch pipeline

I am aware this is really not jgitver specific question and rather a CI/Jenkins multi-branch pipeline job question. But maybe someone using jgitver has faced similar issue and can assist and also I found this very nice jgitver wiki:
https://github.com/jgitver/jgitver-maven-plugin/wiki/automatic-builds-for-maven%2C-jenkins-and-gitbucket#jenkins-project-setup
but seems it does not solve the problem I am facing.
Regarding the issue. Locally I run:
$ ./gradlew version
> Task :version
Version: 0.1.2-SNAPSHOT

Where:
$ git log -2
commit a8... (HEAD -> master, origin/master)
Author: xxx
Date:   xxx

    msg2

commit b7f... (tag: 0.1.1)
Author: xxx
Date:   xxx

    msg1

and:
jgitver {
  strategy 'MAVEN'
  policy {
     pattern = "(.*)"
     transformations = ['IGNORE']
    }
}

So that seems correct.
But when I run the same command from a jenkins multi-branch pipeline job I get:
> Task :version
Version: 0.1.2

In the checkout stage I have added:
stage('Checkout') {
  checkout scm
  sh "git fetch --tags"
}

since tags are not cloned by default in multi-branch pipeline job  (even if Discover tags is selected in the job configuration)
Based on:
https://github.com/jgitver/jgitver-maven-plugin/wiki/automatic-builds-for-maven%2C-jenkins-and-gitbucket#jenkins-project-setup
I have also tried to select the Check out to matching local branch and Filter by name (with wildcards) (with **) but that has no effect.
And based on https://github.com/jgitver/gradle-jgitver-plugin#building-on-detached-head setting:
stage('Checkout') {
  checkout scm
  sh "git fetch --tags"
  sh "export JGITVER_BRANCH=master"
  sh "./gradlew -Djgitver.branch=master version"
}

has no effect either.
Any hints/ideas are much appreciated (again I am aware that this is really not a jgitver issue)!

You need to use Advanced clone behaviours with fetch tags checkbox as in the picture below.

The green rectangle corresponds to the behavior you want : having tags in the workspace ; it is the configuration that ckeckout scm command will use.
The orange rectangle corresponds to a MASTER configuration of the pipeline for which Jenkins will fire a build not only on branches discovery but also on tags discovery.
Here is my sample Jenkinsfile
pipeline {
    agent {
        node {
            label "docker&&linux"
        }
    }

    triggers  { pollSCM('@yearly')}

    options {
        timestamps() // logs timestamp
        buildDiscarder(logRotator(numToKeepStr: '10')) // nb of builds to keep on master
        disableConcurrentBuilds() // do not allow 2 builds at the same time for a given job
        ansiColor('xterm') // activate coloring in the screen
        disableResume() // restart a "part" of a pipeline after a restart does not work correctly
        timeout(time: 20, unit: 'MINUTES')  // stop if blocked for a long period
    }

    stages {
        stage("Checkout") {
            steps {
                checkout scm
            }
        }

        stage("Git Content") {
            steps {
                sh """
                    git log --oneline -n 10
                    git tag --list
                """
            }
        }
    }
}

and the result

I have tried with enabling both those options Discover tags and Advanced clone behaviors with Fetch tags  checked but:
  stage('Checkout') {
     checkout scm
     sh "./gradlew version"
   }

Still prints:
15:57:14  > Task :version
15:57:14  Version: 0.1.2

Instead of expected (when running locally):
$ ./gradlew version

> Task :version
Version: 0.1.2-SNAPSHOT

I just tried from a "basic" pipelineJob
https://jenkinsci.github.io/job-dsl-plugin/#path/pipelineJob
and there it works fine.  So maybe its something else in the multipipeline job that does not support this?

Seems the issue is fixed in 0.10.0-rc03. I just upgraded:
    //id "fr.brouillard.oss.gradle.jgitver" version "0.9.1"
    id "fr.brouillard.oss.gradle.jgitver" version "0.10.0-rc03"

And now it prints 0.1.3-SNAPSHOT from jenkins and locally (which is actually the correct value when using maven strategy since last release was 0.1.2):
16:36:31  > Task :version
16:36:31  Caching disabled for task ':version' because:
16:36:31    Build cache is disabled
16:36:31  Task ':version' is not up-to-date because:
16:36:31    Task has not declared any outputs despite executing actions.
16:36:31  Version: 0.1.3-SNAPSHOT
16:36:31  :version (Thread[Daemon worker,5,main]) completed. Took 0.058 secs.

So unless I am confusing myself right now it was actually wrong both locally and on jenkins before (using 0.9.1 )
:-)


Yotta broken on Python 2 (?)

Or at least, on Ubuntu 16.04 LTS a simple pip install will no longer work unless one specifies an earlier semantic-version module. Simple fix:
https://github.com/rbarrois/python-semanticversion/commit/ea98f9fb7c76264df5e600ed597b79713e6cb2ce
(need to pin to <2.7.0)
Leads to great messages like:
~/microbit-simulated-dal$ yotta ls
error: 'Version' object has no attribute 'truncate'

Likely. This repository has minimal maintenance, so package versions often become out of date. Please feel free to open a PR

the SEMANTIC VERSIONING module made a breaking change without a major version bump 😭 😭 😭

the SEMANTIC VERSIONING module made a breaking change without a major version bump 😭 😭 😭


[1.16.5] com.infamous.dungeons_libraries.utils.ArrowHelper.enchantmentTagToLevel (crash)

I got this crash on singleplayer. I dont know how to replicate it just happend
version:dungeons_libraries-1.16.5-0.0.14-beta.jar
crash.log: https://pastebin.com/2w1AUEWC
latest.log: latest.log (I couldnt use pastebin sry)

Rewriting that area, should be fixed in next beta.


building the client under FreeBSD fails

Hello. I'm trying to build the client under FreeBSD, but the process fails, like this:
'''
tingo@kg-core1$ make
meson .obj
The Meson build system
Version: 0.49.2
Source dir: /zs/tingo/personal/projects/PSoC/fluxengine
Build dir: /zs/tingo/personal/projects/PSoC/fluxengine/.obj
Build type: native build
Project name: fluxclient
Project version: undefined
Native C++ compiler: c++ (clang 6.0.1 "FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/local/bin/pkg-config (1.6.0)
Dependency libusb-1.0 found: YES 1.0.13
Dependency sqlite3 found: YES 3.27.1
Dependency zlib found: YES 1.2.10
Build targets in project: 47
Found ninja-1.8.2 at /usr/local/bin/ninja
ninja: Entering directory `.obj'
[17/129] Compiling C++ object<EMAIL_ADDRESS>FAILED<EMAIL_ADDRESS>c++ -Ifluxreaderlib@sha -I. -I.. -I../lib -I../dep/fmt -I../lib/stream -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -g --std=c++14 -fPIC  -MD -MQ<EMAIL_ADDRESS>-MF<EMAIL_ADDRESS>-o<EMAIL_ADDRESS>-c ../lib/fluxreader/sqlitefluxreader.cc
In file included from ../lib/fluxreader/sqlitefluxreader.cc:3:
../lib/sql.h:4:10: fatal error: 'sqlite3.h' file not found
#include <sqlite3.h>
^~~~~~~~~~~
1 error generated.
[18/129] Compiling C++ object<EMAIL_ADDRESS>../lib/fluxreader/hardwarefluxreader.cc:44:14: warning: private field '_revolutions' is not used [-Wunused-private-field]
unsigned _revolutions;
^
1 warning generated.
[22/129] Compiling C++ object<EMAIL_ADDRESS>ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
make: stopped in /zs/tingo/personal/projects/PSoC/fluxengine
'''
in FreeBSD, third-party files end up under /usr/local, so sqlite3.h is /usr/local/include/sqlite3.h
Unfortunately, I'm not familiar enough with meson / ninja to suggest a fix for this.
Details:
'''
tingo@kg-core1$ uname -a
FreeBSD kg-core1.kg4.no 11.2-STABLE FreeBSD 11.2-STABLE #0 r342545: Thu Dec 27 00:29:46 CET 2018     root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
'''

It's a dependency bug at my end --- I forgot to declare that library as depending on sqlite.
Could you please go to line 49 of meson.build and try adding this line:
dependencies: [sqlite]

(with the appropriate commas), and then let me know if it works?

yes, that works. That dependency is also needed a few other places:
readerlib (73)
writerlib (79)
brotherdecoderlib (121)
fe-upgradefluxfile (190)
cwftoflux (196)
(apologies if this is obvious to you)
but then it builds fine. Now to test it.

Sigh. Yes, you're right. I do actually have a spare machine here I'll install FreeBSD on to test with. Thanks for spotting this.

The build system is completely rewritten now (and the client has been reworked), so this is now obsolete.


A.03.IR82.image.format

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
Reference refers to Chapter <IP_ADDRESS>.2.2, while the correct chapter would be Chapter <IP_ADDRESS>.2.2
Proposed Change
Update reference to TG VS Chapter <IP_ADDRESS>.2.2

Update reference to TG VS Chapter <IP_ADDRESS>.2.2.


Linear keyframe interpolation not working for Control anchor offsets

Tested versions

Reproducible in: v4.2.stable.official [46dc27791]
Not reproducible in: v4.1.3.stable

System information
Godot v4.2.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (Advanced Micro Devices, Inc.; 31.0.21023.2010) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads)
Issue description
Starting with Godot 4.2, changing a Control node's anchor offsets with an AnimationPlayer node results in the offsets "snapping" to the keyframes, as if Nearest interpolation were used.
This only applies to the Linear Interpolation Mode; Cubic still works as expected.

I encountered this regression when upgrading my project from 4.1.3 to 4.2. Minimum reproduction project provided below.
Steps to reproduce

Create a Control node with a Custom anchor preset.
Create an AnimationPlayer track for one or more of its anchor offsets, with the Continuous update mode and Linear interpolation.
Add keyframes to track(s)
Play animation (either in the editor or in-game)

Minimal reproduction project (MRP)
ControlResize.zip

The linear interpolation refuses to interpolate between the two keys because one is a float and the other is an integer.
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, -50]
}

So the questions that come to mind are:

How did this happen?
Should the linear interpolation be more lenient when asked to interpolate between scalar values that require a type cast?

Do you remember how you created that animation? Did you, for example, animate the anchors first and then change the tracks to offset?
In any case, you can fix this particular animation by selecting the two keyframes on the left and changing their value to 1 and back to 0. This will set them to an integer 0 and the linear interpolation will be happy.


sepolicy: remove legacy /data/misc/netmgr folder

all the things were move to /data/vendor/netmgr and we should not add permissions
for the old location
Signed-off-by: David Viteri<EMAIL_ADDRESS>

this has been left for backward compatibility


Implemented unique ID generation for User entity on registration

Implemented unique ID generation for User entity on registration

Implemented unique ID generation for User entity on registration


0.28.2 raises ValueError on some package install

During requirements installation at some point I get:
Traceback (most recent call last):
  File "/tmp/test-virtualenv3.3/lib/python3.3/site-packages/pip_accel/cli.py", line 55, in main
accelerator.install_from_arguments(arguments)
  File "/tmp/test-virtualenv3.3/lib/python3.3/site-packages/pip_accel/__init__.py", line 234, in install_from_arguments
return self.install_requirements(requirements, **kw)
  File "/tmp/test-virtualenv3.3/lib/python3.3/site-packages/pip_accel/__init__.py", line 520, in install_requirements
self.bdists.install_binary_dist(binary_distribution, **kw)
  File "/tmp/test-virtualenv3.3/lib/python3.3/site-packages/pip_accel/bdist.py", line 328, in install_binary_dist
for member, from_handle in members:
  File "/tmp/test-virtualenv3.3/lib/python3.3/site-packages/pip_accel/bdist.py", line 74, in get_binary_dist
if cache_file and requirement.last_modified > os.path.getmtime(cache_file):
  File "/tmp/test-virtualenv3.3/lib/python3.3/site-packages/cached_property.py", line 26, in __get__
value = obj.__dict__[self.func.__name__] = self.func(obj)
  File "/tmp/test-virtualenv3.3/lib/python3.3/site-packages/pip_accel/req.py", line 127, in last_modified
return max(mtimes) if mtimes else time.time()
ValueError: max() arg is an empty sequence

It works on 0.27 and other previous releases. Locally on Py 3.4 I couldn't reproduce it, so it also may be specific to Py 3.3.

Hi Piotr!
Thanks for the feedback and sorry for taking a while to respond.
I don't officially support Python 3.3 in any of my projects (I decided to focus on Python 2.6, Python 2.7 and Python >= 3.4 to keep compatibility manageable) however the issue you pointed out seems to be inherent in any Python 3.x version: The semantics of map() changed from returning a list to returning an iterator. The code in the last line of the traceback you quoted tests the iterator for its truth value which doesn't make any sense - this is a bug in pip-accel, I should have never written that code the way I did. I'm honestly not sure how I didn't notice that before. This is now fixed in pip-accel 0.29.3.
I'm closing this issue now because I'm confident this issue is now resolved, but if pip-accel 0.29.3 doesn't fix the issue for you feel free to reopen this issue or report a new one. Thanks again for the feedback!


Added missing lxml dependency to requirements.txt

Description
After cloning the project and creating a virtual environment with python 2.7.14 and installing colorama and requests, I tried running the script and it failed because I was missing lxml.
Traceback (most recent call last):   File "serenity", line 22, in <module>     from lxml import html ImportError: No module named lxml
Installing lxml got it going so I decided to add it to the requirements.txt.
How Has This Been Tested?
I ran the script successfully: python serenity --all hack.me

There is no setup.py file, so your semaphoreci tests is always going to fail.

Thanks, i forgot to add that.