AzureAD/EntraID Authentication for database backend

Is your feature request related to a problem? Please describe
As a DevSecOps engineer I am required by security policy to authenticate database connections using Active Directory / EntraID instead of native postgresql user and password.
Describe the solution you'd like
The possibility to use Azure AD token based authentication for database connectivity
Describe alternatives you've considered
None. This is a new company policy.
Additional context
https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-azure-ad-authentication
https://stackoverflow.com/questions/77135512/sqlalchemy-connect-to-azure-postgresql-flexible-database-with-token-authenticati

Seems to be a one-on-one duplicate of #9610


Release api-x framework to Maven Central for demo

This should be one of the last steps of creating the milestone, as bugs may be discovered and fixed in the process of assembling/testing the demo
Release as 0.1.0?

So here's a specific proposal:

Release the current API-X code base as 0.1.0 to Maven Central
bump master to 0.2.0-SNAPSHOT
Create maintenance branch for 0.1.1-SNAPSHOT;

Any bugfixes discovered during the active phase of the demo will be additionally placed into this branch, and corresponding 0.1.1-SNAPSHOT-based docker images will be pushed out to dockerhub so that participants can pull in the fixes and continue evaluating

When we consider the evaluation done, we'll publish 0.1.1 to Maven, and stop maintaining a 0.1.x maintenance branch

The next milestone release of API-X will be 0.2.0, with a corresponding 0.2.1-SNAPSHOT pushed out to evaluators.  Keep up this pattern until API-X reaches 1.0.0.

+1 on using 0.1.0 as an initial release
+1 on bumping master to 0.2.0-SNAPSHOT
+0 on the maintenance branch -- if it were me, I'd push those changes directly into master and, so long as there are no significant breaking changes, cut a 0.1.1 release directly from master. The maven release tooling will allow you to then set the dev version back to 0.2.0-SNAPSHOT.
Personally, I like keeping master 1 minor revision ahead of the current release -- it suggests to users that the snapshot is not necessarily compatible with the currently released artifacts. If it is a mere patch update, that's easy to handle, but it doesn't give that expectation to anyone making use of the snapshot. That said, IMO as long as your release version is < 1.0.0, I don't expect projects to maintain strict semantic versioning.

OK - using master for cutting  0.1.1 is fine with me, that will probably be easier!

easier++

This is in Maven Central as of last week:
http://central.maven.org/maven2/org/fcrepo/apix/


Add an errata section?

Sometimes we need to break the stable contract as with deprecating grsecurity or when a bug fix requires bumping packages beyond what is normally done (due to lack of manpower to backport just the fixes).  An entry in the changelog might not be too easy for users to discover, however, nor may they think to check the changelog for such things.
What about adding an "errata" with dated entries (or some other method of clearly letting the user know that they are affected), listing instances where changes have been made to a stable branch that requires user intervention of some sort or otherwise breaks the stable contract. We could then recommend checking the errata before nixos-rebuild &c.
Alternatively, we should at least establish a protocol for adding the appropriate information to an existing section in the manual (I'm pretty sure we break the stable contract quite often in pursuit of fixing security bugs, for example, without ever documenting it in a user-visible manner).

To clarify, I've done this myself so I'm certainly not calling anybody out for breaking the stable contract!

An errata entry would comprise at least the what, why, when, and user intervention if any, with links to commits &c.

This falls in the category "our project has a too large scope, so let's fight the symptoms". The problem with the NixOS project is that while some core features related to the Linux kernel improve, the bulk of the work is in package maintenance, bumping versions, etc. That bulk of the work requires way too much attention that could be automated (and would be automated if NixOS was Google).
Similarly, way too much time is spent on arguing about commits, while it's obvious that the project would be better off with those commits than without.
If the project was organised better, there would be no need to argue about commits.
Related to scope management, we seem to package inferior products too. Sometimes, some solutions are simply better. Instead of allowing those inferior solutions to exist and take up resources, we should simply say that not everything is good enough to be packaged. I am sure you can come up with your own personal favorites regarding this.

@0xABAB errata are for changes already committed to master.  The purpose is not to determine what to integrate, but to document changes that must be backported to release despite representing a violation of the stable contract. If done consistently, this helps increase confidence that nixos-rebuild against a stable release channel won't have unexpected side-effects.

Unfortunately it happens that we sometimes have to make some larger changes in stable, and I agree we need a way to inform users what larger changes were made.
For each stable release we have a changelog. How about adding an errata section there?

@FRidh sounds good to me.
For contributors we could add a note in the commit guidelines (?) to take a moment to consider whether an errata is warranted when backporting stuff (usually the answer should be "no", ofc). For users it'd be good to mention checking the errata as a good practice.

@joachifm I suggest you send an e-mail to nix-dev about this issue.

cc @globin @fpletz

still important to me


Is possible to avoid setting a key when static attributes are used?

The use case is:
I must patch an existing element which should be root node of render function
To do this i use idom.patchOuter
But when a key is used to create this root element idom will create another element discarding the element being patched.
See https://codepen.io/blikblum/pen/GmzVBz (to get the error behavior add a key to root div element)

Sorry it's taken a while to get back to you.
There doesn't seem to be a way to avoid setting a key when statics are used.
You can force a value for the key to use  key` attribute to override:

Could that help?

I need the key to be empty (no key). Tried

 but it still creates a  random key. I can create a PR to not create key when key=""

One possibility is not generating statics attributes when key="" or when having an specific attribute e.g.

. Since this is opt-in would not have backward issue.
My use case is to allow create templates with the root element defined in the template body. This is a requested feature for MarionetteJS .
Technically i could implement with patchOuter but the issue outlined in first post prevents doing so.


chore: add next-major branch to release list

Description
This PR adds the next-major branch to the release list.
Related issue(s)
Related to spec 3.0 https://github.com/asyncapi/spec/issues/691

We also need to add branch protection to next-major.

@jonaslagoni  It would make sense to open up a PR from next-major to master with don-not-merge label. This way bot will make sure to always update release branch with latest master....if possible of course. Anyway release branch requires an update as there are some missing workflows that will not work with branch protection

@jonaslagoni It would make sense to open up a PR from next-major to master with don-not-merge label. This way bot will make sure to always update release branch with latest master....if possible of course. Anyway release branch requires an update as there are some missing workflows that will not work with branch protection

Yes, will do that 👍

closed/reopened as some jobs were "hanging"
@jonaslagoni once it is green merge when you need it

@derberg had to update with master for checks to go through 😅


Tests not submitted correctly to TF: internal + custom mapping + identifiers

Example:
https://github.com/r0x0d/leapp-packit-poc/blob/84eebfc5f8e1ed2830baf35090e6ddfca08eec7c/.packit.yaml#L27
See it in action: https://github.com/r0x0d/leapp-packit-poc/pull/5
testing-farm:RHEL-7.9-ZStream-x86_64:tests-79to84 — Tests failed ...
testing-farm:RHEL-7.9-ZStream-x86_64 Queued — RPMs were built successfully.
testing-farm:RHEL-7.9-ZStream-x86_64:tests-79to84-sst Queued — The task was accepted.
testing-farm:RHEL-7.9-ZStream-x86_64:tests-79to86 Queued — The task was accepted.
testing-farm:RHEL-7.9-rhui-x86_64:tests-7to8-aws Queued — The task was accepted.
testing-farm:RHEL-8.6-rhui-x86_64:tests-8to9-aws Queued — The task was accepted.

Only one test job got triggered, one says Queued - RPMs were built successfully. while the others are just accepted.
I don't have more data to understand what's going on.

The basic triggering of the jobs should now work, but there is still a.problem when retriggering the test jobs (via commit checks//comment commands), see #1730

Thanks for the hard work, everyone! I will test this ASAP.

@r0x0d The most recent fix should be in production tomorrow morning. Let us know in case of any problems!

@lbarcziova cool! For sure!


What level GPU can work with real time?

On enterprise GPUs and PyTorch nightly, Bark can generate audio in roughly real-time.
What level GPU can work with real time?
I have use 3060Ti, It need  no little seconds to generate audio files！！！

Exacly, I have RTX 4090 and 14 sec clip My GPU need like 30 sec...

GeForce RTX 3060 12GB, 15sec to generate 2sec audio :cry:

Same, is there a specific GPU where I can run this faster ? Anything that can generate a 10-second clip in like 10 seconds ?

If you could change it to a streaming audio buffer you could at least get the start of the audio faster.

Thanks, I agree 100%, but is there any idea how to do that ?

i have mx 130. it has taken me hours honestly.

@Goddard
Hello, do you have streaming version of Bark?

I also haven't been able to get streaming or realtime playback working.


Unexpected invalid field notation in equation with pattern

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.

Specifically, check out the wishlist, open RFCs,
or feature requests.

Reduced the issue to a self-contained, reproducible test case.

Description
The following code:
def add1.succ : ℕ → ℕ := nat.succ
def add1 : ℕ → ℕ | n := add1.succ n

produces the following error:
file.lean:2:28: error: invalid field notation, type is not of the form (C ...) where C is a constant
  add1
has type
  ℕ → ℕ

None of the following examples result in the same error:
def add1_succ : ℕ → ℕ := nat.succ
def add1 : ℕ → ℕ | n := add1_succ n

def add1.succ : ℕ → ℕ := nat.succ
def add1 : ℕ → ℕ := λ n, add1.succ n

Steps to Reproduce

Compile above code

Expected behavior:
I would expect all of the above examples to compile without error.
Actual behavior:
The first example compiles with the error shown.
Reproduces how often:
Always
Versions
$ uname -rs  # macOS Sierra 10.12.5
Darwin 16.6.0
$ lean --version
Lean (version 3.3.1, commit c838cdab3440, RELEASE)

The current name resolver is a bit of a mess and duplicated across parser and elaborator. I don't think we'll want to touch it before it is replaced in the new parser (#1674).

No problem. The issue is easy to work around, of course. At the very least, this could serve as a testcase for the new parser.

The workaround (if you can't change the names) is to refer to _root_.add1.succ instead of add1.succ.

@digama0: Oh, that's interesting! What is _root_? Is it like a hardcoded namespace?

It is a special namespace which represents the root of the namespace hierarchy. It's like the forward slash of linux-style paths. Any definition at x.y.z can also be accessed as _root_.x.y.z, regardless of the namespace you are currently in.

@digama0: Thanks!


Optimization of sampling

Sampling currently happens on CPU. By moving it to GPU it should be much faster.
This is a tracking issue for this implementation, which will be largely inspired by #34.

It appears that the sorting is the major bottleneck. I have optimized the sampling code, and T/s is now 10% faster on an A10.

Further optimizations in #90 have increased performance by 14%.


Loopback version update

Describe the bug

Loopback version update

This repo is to be archived, No need of version updates here.

ohk


Avoid the duplication of commands between package.json and dev-env.sh

https://askubuntu.com/a/1334710


restore force does not properly clear FileListAbsolute

Description
paket restore -f does not clear obj\release\netstandard2.0<project name>.fsproj.FileListAbsolute.txt, but rather it appears to rely on appending to the file.
For most purposes this does not seem to cause problems, but some corner cases will fail.
Specifically, the build target in my build script works, but it fails in doc generation looking for the wrong path to document templates.
Repro steps
I sync my source repos between 2 machines. The root paths on the machines differ.
paket restore on machine 1
go to machine 2, paket restore -f
Expected behavior
All files should be initialized for machine 2
Actual behavior
Paths to both machine 1 and machine 2 are in file
<machine 1 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.deps.json
<machine 1 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.dll
<machine 1 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.pdb
<machine 1 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.xml
<machine 1 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.fsprojAssemblyReference.cache
<machine 1 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.dll
<machine 1 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.xml
<machine 1 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.pdb
<machine 2 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.deps.json
<machine 2 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.dll
<machine 2 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.pdb
<machine 2 root>\DependentTypes\src\DependentTypes\bin\Release\netstandard2.0\DependentTypes.xml
<machine 2 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.fsprojAssemblyReference.cache
<machine 2 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.dll
<machine 2 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.xml
<machine 2 root>\DependentTypes\src\DependentTypes\obj\Release\netstandard2.0\DependentTypes.pdb

Known workarounds
Manually clear obj folders.

we don't create or touch the *.FileListAbsolute.txt* at all in paket - @davkean should we?
@jackfoxy can you please upload a zip with a repro - all files just before you call restore -f? thanks

DependentTypes.zip
Uploaded

there are no FileListAbsolute in the zip

Sorry, I misunderstood your request. You are right. FileListAbsolute must be an artifact of dotnet build.
In preparing a zip as you want it is now way too big for github. I'll follow-up with a bug report to dotnet build.

Any such bug should be against http://github.com/microsoft/msbuild. The behavior looks deliberate (that FileListAbsolute contains all produced files) - so you might want to provide a repro of what the actual issue this is causing.

@davkean  It's hard to imagine why you would want files listed from a prior build that are no longer produced in the current build. Anyway, you are right. It is a subsequent documentation generation step that is reading the file list and incorrectly consuming the first matching file path, which happens to be from a prior build on a different machine. Any consumer of this file list should be aware, and look for matching files from the bottom up, instead of top down, to ensure only current file paths are found.

Come to think of it, bottom up is also an incorrect strategy. The right thing to do is test for path existence, not just pattern matching.

FileListAbsolute is an attempt at listing files produced in past and future builds so that Clean will clean them up. It is not consumed (only produced) during a normal build, you can see its usage here: https://github.com/Microsoft/msbuild/blob/b3f9eeab651c92bade6e4f64d11b59aa39e149cb/src/Tasks/Microsoft.Common.CurrentVersion.targets#L5011. If you have a bug where the documentation generation step is getting the wrong file, it's unlikely to be from this file.


Stack overflow when referring to attributes attribute in initialize_with

Defining an attributes attribute works fine:
require 'factory_bot'

class Dog
  attr_writer :attributes
end

FactoryBot.define do
  factory :dog do
    attributes({ name: 'Ella', favorite_food: 'shoes' })
  end
end

FactoryBot.build(:dog)

but not when referring to it in initialize_with:
require 'factory_bot'

class Dog
  def initialize(attributes)
    @attributes = attributes
  end
end

FactoryBot.define do
  factory :dog do
    attributes({ name: 'Ella', favorite_food: 'shoes' })
    initialize_with { new(attributes) }
  end
end

FactoryBot.build(:dog)

# => SystemStackError: stack level too deep

I think we end up calling https://github.com/thoughtbot/factory_bot/blob/3256842209c87febc5413f16e12b9c0d043da910/lib/factory_bot/decorator/attribute_hash.rb#L9 recursively.

Perhaps related, when I try to use initialize_with { new(attributes) } as described in https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#custom-construction, I get wrong number of arguments (given 0, expected 1)


Enabled additional SwiftLint rule : trailing_closure

Context
This PR proposes enabling the trailing_closure SwiftLint rule, and appeases the existing warnings. The rule is not enabled by default, unlike the rules for multiple_closures_with_trailing_closure & empty_parentheses_with_trailing_closure.
Impetus
This was rightly called out in a recent PR review, but also overlooked in a separate review. I thought it would be great to promote some additional consistency.
Notes

This does not need to be part of the 100.6 release.
I smoke-tested the impacted samples, and noted no ill effects.

@philium Would you mind giving this another 👍 when you have a moment?
 I also merged #766 into this branch post-approval.


Replace an image with mermaid

An image on the HPA page looks not good enough.
Have a try to replace it with mermaid that may be easy to read, change, and localize.
Preview: https://deploy-preview-38086--kubernetes-io-main-staging.netlify.app/docs/tasks/run-application/horizontal-pod-autoscale/

/approve

Thanks
/lgtm
If anyone wants to, it'd be nice to revise the image to use Kubernetes colors.


Autoclean

Free when tornado_session.Result is __del__'d without free being called.
Auto-clean the pool after Results.free TTL+1 in tornado_session.TornadoSession
Don't raise NotImplementedError in Results.free for synchronous use, just treat as a noop

Codecov Report

Merging #25 into master will decrease coverage by 0.38%.
The diff coverage is 76.19%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage    92.5%   92.11%   -0.39%
==========================================
  Files           6        6
  Lines         680      685       +5
  Branches       68       69       +1
==========================================
+ Hits          629      631       +2
- Misses         38       41       +3
  Partials       13       13

Impacted Files
Coverage Δ

queries/results.py
97.91% <0%> (-2.09%)
:arrow_down:

queries/__init__.py
97.29% <100%> (ø)
:arrow_up:

queries/session.py
100% <100%> (ø)
:arrow_up:

queries/pool.py
98.48% <100%> (+0.4%)
:arrow_up:

queries/tornado_session.py
76.6% <55.55%> (-0.97%)
:arrow_down:

Continue to review full report at Codecov.

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


Changes to Liquid section files aren't showing on first reload

When using vite-plugin-shopify, after changing a liquid file, you often have to manually hard reload the page in order to see your changes. This also seems to be happening with the SEED theme.

@nboliver shopify-cli is responsible for hotreloading liquid files, which version are you using?
Try running the vite server and the shopify-cli in separate tabs https://imgur.com/a/5mJFDF6

@montalvomiguelo Thanks for the quick reply. CLI is v2.29.0. Tried running in separate tabs but still seeing the issue - looks like there are some others experiencing similar issues with hot reloading, so I added to an issue in the CLI repo.

Hi @nboliver
I tried to reproduce this issue in the hydrogen-theme project but was unable to. I'm using the Shopify CLI v3.23.0
https://user-images.githubusercontent.com/5134470/213597619-e392e879-5533-411d-b50e-c1a74237d002.mp4
Could I have more details about your project so I can try to reproduce the issue?

@nboliver, the Shopify CLI will hot reload local changes to the CSS and sections by default; that behavior does not work well in our workflow with Vite.
We need the page to reload when we edit the markup of our section files so that our changes are correctly applied. The Shopify CLI has the option to enable the page to reload.
 shopify theme dev --live-reload full-page

https://user-images.githubusercontent.com/5134470/213621808-46515ed8-7787-415d-90e4-d6ad71f15376.mp4


Allow FOSElasticaBundle v6

This bundle should work with FOSElasticaBundle v6.

Question: If I'm trying to use enqueue with FOSElasticaBundle v6, what versions of enqueue/elastica-bundle and enqueue/fs do I need to be using? I currently have installed:
    "enqueue/elastica-bundle": "0.11.0",
    "enqueue/fs": "^0.10",

which resolve to 0.11.0 and 0.10.9 respectively (because those were the only ones I could get to install through composer without having other dependency conflicts with Symfony 4.4.
Currently, when I run bin/console enqueue:consume --setup-broker -vvv there is no output, and when I try to populate my indexes with bin/console fos:elastica:populate --index=my_index --pager-persiter=queue it just sits there until it times out 180 seconds later. Any thoughts?


TelegramBot configuration doesn't reflect at all

I can't seem to find any solution to this. No matter what I pass into option when creating new TelegramBot, it never reflects. Not the bot token, not the polling option or webhook option. Nothing at all. Just keeps logging the below:
error: [polling_error] {"code":"EFATAL","message":"EFATAL: Telegram Bot Token not provided!"}

I've even set polling to false, set the baseApiUrl, I managed to log the bot at the point of the error from the source files, and this is what I get no matter what I put in the settings:
<ref *1> TelegramBot {
  _events: Events <[Object: null prototype] {}> {},
  _eventsCount: 0,
  token: undefined,
  options: {
    polling: true,
    webHook: false,
    baseApiUrl: 'https://api.telegram.org',
    filepath: true,
    badRejection: false
  },
  _textRegexpCallbacks: [],
  _replyListenerId: 0,
  _replyListeners: [],
  _polling: TelegramBotPolling {
    bot: [Circular *1],
    options: { interval: 300, params: [Object] },
    _lastUpdate: 0,
    _lastRequest: Promise { <pending> },
    _abort: false,
    _pollingTimeout: null
  },
  _webHook: null
}

Polling, webhook, baseApiUrl, etc. No configuration reflects.

The constructor would be constructor(token, options = {}) (https://github.com/yagop/node-telegram-bot-api/blob/master/src/telegram.js#L161). How did you initialize the tg bot?

I fixed it already. Long story short, this library is not thread safe.


Update not working

I tried updating WhatsApp using appget update whatsapp. Afterwards the version was still the same and appget still reports it as outdated.

what version of WhatsApp does appget think you have installed?  could you paste the WhatsApp row from the output of outdated command?

I already updated it manually. However, the vesion was 0.3.1475. Update was 0.3.1649.

that's strange since the current version available in appget is the latest version https://appget.net/packages/i/whatsapp

I found another example:
PS C:\WINDOWS\system32> appget update-all -s
Getting list of available updates...

Total Applications: 8   Updates Available: 1

Installing update 1 of 1

Getting package etcher:latest
Beginning installation of 'etcher'

Downloading installer from https://github.com/balena-io/etcher/releases/download/v1.4.8/balenaEtcher-Setup-1.4.8-x64.exe
   ████████████████████ 100%: 67 MB / 67 MB

Checksum verification PASSED
Updating balenaEtcher to 1.4.8. Currently Installed: 1.4.4
Waiting for installation to complete ...
Installation completed successfully for 'etcher'

Updates Applied Successfully: 1   Updates failed to apply: 0

Afterwards, I get this output:
PS C:\WINDOWS\system32> appget outdated -v
Starting command [outdated]
Getting list of installed application
Getting list of available updates...
Found 0.6.22 AppGet releases

Total Applications: 8   Updates Available: 1

1 Available Updates:

| Name                        | Package ID | Installed Version | Available Version |
|-----------------------------|------------|-------------------|-------------------|
| Etcher  (only current user) | etcher     | 1.4.4             | 1.4.8             |

ok, so I figured it out,

Etcher doesn't upgrade itself properly after they renamed the app. It just installs itself side-by-side which kind of breaks update since doing an update isn't really doing an update.
there is also another issue on ourside which is causing appget not to detect the 1.4.8 being installed. that's something I have to look into, but I suspect should be fairly trivial to fix.


fix podname overwrites

Fix npm link issue mentioned as part of https://github.com/ebryn/ember-component-css/issues/213

hmmm.. Thank you so much for this @deepan83!!
I am nervous about the approach of going into the tmp folder for this. as those can change at any time in the future without warning. And they are just inherently unstable. But the weight between that and a longer term fix needs to be taken into account.
I’ll get back to you later this week/early next week. Thanks 🙏 so much again!!

Understand @webark, it is only meant to be a short term fix till we figure out a solution for the long run. At the moment, we npm link addons during development that provide pod names in addition to the consuming apps which is causing us major issues. Happy for other approaches to solve this.

@webark any update? Fixing this would be great.

shoot. ya, sorry. Ill look at this today.

@Leooo have you tried out this fork? Also, I'm debating on releasing this as a beta/experimental release for a while just to see if it encounters any oddness.

@webark not yet, I can confirm next week if it works

@webark , tested by two people. It works.

@webark @deepan83 there may be performance issues due to the check for each file though.

@deepan83 and @Leooo I'm going to dive into this one this week, and look into releasing an "experimental" branch for this.

@deepan83 @Leooo @gcardoso89 Just wanted to get everyone's opinion on this PR vs #256 for doing an "experimental" release while a more comprehensive solution is found. I'm leaning a little towards #256 due to it not having to search through the tmp directory to find all the files, and then assigning the object, and is instead creating a generic /tmp/pod_names-output_path.tmp directory and using that for all the addons. Seems to assuage @Leooo you're performance concern, but I'm not sure what the implications as to having one pod_names-output_path.tmp directory when it comes to rebuilds and the likes. Seems like it might introduce some unforeseen bugs possibly.
Again, this is just going to be an "experimental" release, in order to tide you all over till a more comprehensive solution is completed over the next month.

@webark we are all for it I think. @deepan83 's solution works but has a performance impact (have to delete the tmp folder regularly). So Happy to test @gcardoso89 solution instead!

@webark I'm not sure if messing around with the .tmp folders will actually cause any issues, to be honest. They are just used during the building process, I think, not in runtime so the only thing we might have is build conflicts merging the CSS classes (which is currently we have now, so...).
Again, I still don't like this solution and I'm very happy to help you out trying to find a better one, but this PR actually fixes a major issue and for now is the best solution we got so far I think.
We would really love to have a experimental release as soon as possible. Meanwhile, we'll find a better solution, I'm sure!

released 0.5.0@experimental
closed by #256

@webark, can you merge  0.5.0@experimental with master? Has been successfully tested on our side

@Leooo 0.6.3-experimental.1 has been release on the experimental tag.

@webark yes but when is this going to be released on master? Have different apps using ember-component-css here and need fix to official release

@webark opinion please? Thanks

ya.. A fix is needed. It is something that i have been thinking of, and meaning to do for a while now. Sorry that it hasn’t been done yet. I will truly prioritize this over the coming weeks to get a solid solution released.
That said, i can not release a solution that greps the tmp directory. The best i could do is in the interm, rework this solution so that it is behind a feature flag. Would this be a better stop gap?

@webark we need a production release fixing the bug. We are in a situation here where different apps use a shared addon containing ember-component-css. We all need to use the same version, and some apps devs don't want to use an experimental branch or feature.

@webark if it's behind a feature flag which can be setup the same way in a shared addon using ember-component-css and apps consuming it, then that would work for us I suppose.
Thanks,
L

@Leooo I am looking into a solution right now. Give me a week and we'll see where we are at.

Thanks @webark for all the work!


ItemTemplate of Items

Hi, how can i make a ItemTemplate for items source? In your code example i didn't find nothing

it not use itemtemplate, it like uicollectionview.

I'm sorry if I tell you, but the way you structured it goes a bit against the method that uses XAML. Furthermore, it is very inconvenient for me to have to define the items in that way, wouldn't you be able to add a property for the item template? In my opinion it would be much more intuitive to use

it is not aim of this project that use xaml, this project impliment collectionview base on scrollview, it supply some method let you custom anything of collectionview.
maui official collectionview have a easy way to show  data, but if you want complex function, you need know platform collectionview how to work and custom for every platform

I also don't understand how I'm going to draw a custom item to display in the MAUICollectionView


HL-636 | Small fixes to handler's application review page

Description :sparkles:
Fix some issues found out in the design vs. app comparison session done last week.

Thousands separated with spaces
Add some labels
Reword työntekijä etc. to työllistetty
Improve readability by changing representation of values

https://helsinkisolutionoffice.atlassian.net/browse/HL-636

Codecov Report

Merging #1817 (d676217) into develop (8282315) will decrease coverage by 32.35%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop    #1817       +/-   ##
============================================
- Coverage    65.96%   33.62%   -32.35%
============================================
  Files         1064      284      -780
  Lines        29337     5374    -23963
  Branches      2984     1217     -1767
============================================
- Hits         19353     1807    -17546
+ Misses        9526     3401     -6125
+ Partials       458      166      -292

Impacted Files
Coverage Δ

...tionReview/contactPersonView/ContactPersonView.tsx

.../applicationReview/deminimisView/DeminimisView.tsx

...ts/applicationReview/employeeView/EmployeeView.tsx

...applicationReview/employmentView/EmpoymentView.tsx

frontend/shared/src/utils/string.utils.ts

...rontend/kesaseteli/handler/src/pages/_document.tsx

frontend/shared/src/contexts/WizardContext.ts

.../shared/src/components/stepper/WizardStepper.sc.ts

frontend/kesaseteli/youth/src/pages/index.tsx

...nts/application/summary/EmploymentFieldSummary.tsx

... and 770 more

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

Before and after


使用vless-xtls-vision协议无法正常游玩碧蓝档案国际服

debug日志：https://paste.ubuntu.com/p/zp67SJXrSy
使用xray v1.7.5正常
使用clash.meta alpha-a3b8c9c提示无法通过CDN取得数据

战地2042也无法正常游玩，连不上服务器

Please close the Telegram process when recording logs because it creates a lot of connections and cause confusion.
It looks like a chained proxy. What's your Clash proxy config, tho? And could you also post Xray server-side log?

xray-core版本，最新commit a5b297f
xray日志: https://paste.ubuntu.com/p/HxbyDK3zVW
一起记录的clash日志: https://paste.ubuntu.com/p/G3StTDH3D3
xray配置:
{
"log": {
"loglevel": "warning",
"error": "/var/log/xray/error.log",
"access": "/var/log/xray/access.log"
},
"inbounds": [
{
"listen": "<IP_ADDRESS>",
"port": "57916",
"protocol": "vless",
"settings": {
"decryption": "none",
"clients": [
{
"id":"Shoukaku",
"flow": "xtls-rprx-vision"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"sockopt": {"tcpFastOpen": true},
"tlsSettings": {
"certificates": [
{
"certificateFile": "",
"keyFile": ""
}
]
}
}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": ["geoip:cn"],
"outboundTag": "block"
}
]
},
"outbounds": [
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole"
}
]
}
clash配置

name: AWS-SGP-Vision
type: vless
server:
port: 57916
uuid: Shoukaku
network: tcp
tls: true
tfo: true
udp: true
xudp: true
flow: xtls-rprx-vision
client-fingerprint: firefox

直连没有链式代理，而且发现浏览网页偶尔会ERR_SSL_PROTOCOL_ERROR

@H1JK 忘记点reply了 手动艾特一下 嘿嘿

用vision下载github release文件时也会出错

Tested on Windows 10 and IDM but I can't repro. Please make sure that you are using the latest Alpha build.

基于alpha-0321fe9测试

Tested on Windows 10 and IDM but I can't repro. Please make sure that you are using the latest Alpha build.

基于alpha-0321fe9测试

Tested on Windows 10 and IDM but I can't repro. Please make sure that you are using the latest Alpha build.

基于alpha-0321fe9测试

再debug一下

Tested on Windows 10 and IDM but I can't repro. Please make sure that you are using the latest Alpha build.

基于alpha-0321fe9测试

再debug一下

xray log: https://paste.ubuntu.com/p/zK3FHZb5C6/
clash log: https://paste.ubuntu.com/p/QwySyNyGVC/

改了一下，再探再报

[ERROR] XTLS Vision server responded unknown UUID: 48545450-2f31-2e31-2032-3034204e6f20 接收错误的uuid了

[ERROR] XTLS Vision server responded unknown UUID: 48545450-2f31-2e31-2032-3034204e6f20 接收错误的uuid了

@qist Since 8771fa5, Alpha has been updated to the latest Vision protocol spec, which made it partially incompatible with Xray v1.7.5. If you want to use Alpha XTLS Vision, please update your server-side Xray to CI build version (or wait for the next Xray release).

Upgrade xray-core on server to 1.8.0 fixed this.

[ERROR] XTLS Vision server responded unknown UUID: 48545450-2f31-2e31-2032-3034204e6f20 接收错误的uuid了

@qist Since 8771fa5, Alpha has been updated to the latest Vision protocol spec, which made it partially incompatible with Xray v1.7.5. If you want to use Alpha XTLS Vision, please update your server-side Xray to CI build version (or wait for the next Xray release).

Sry, I know this is a closed issue.
But does this issue still exist on Xray v.24.11.21 with vless + reality protocol using vision flow?
I'm having this exact error on the clash meta client side and the following error on the xray server side:
2024/11/24 02:17:13 [Info] transport/internet/tcp: REALITY: processed invalid connection 2024/11/24 02:17:13 [Info] transport/internet/tcp: REALITY: processed invalid connection 2024/11/24 02:17:13 [Info] transport/internet/tcp: REALITY: processed invalid connection
And I'm following the wiki's example config to the teeth.
With the same config, it works on the V2rayN client but not with Clash Meta.
Though the only difference is I have this SpiderX parameter on the server side.
It is one of the RealityConfig for the Xray-core: https://github.com/XTLS/Xray-core/blob/513f18bf531ef5f92464c2affefed0db4f28280b/infra/conf/transport_internet.go#L525-L543
But the clash meta doesn't have it in the example config: https://github.com/MetaCubeX/mihomo/blob/eb985b002e5aa61c4c2208646f33180c4fc938f9/docs/config.yaml#L594-L608
Is it not supported in clash meta yet? Or can I just add it manually?


Error while running deploy.ps1

Hi , I am getting the above error while running deploy.ps1. It is not creating any site collections, but uploading site assets , images etc to the tenant admin site! I am behind a proxy, would that be the reason for New-PnPSite @hubParams  function to fail in deploy.ps1?

I believe the tenant url you are providing is your admin site, try again with -tenantUrl https://chikris.sharepoint.com (without -admin)

Thanks!
Now I am stuck with provisioning step
 Teh user id Iam using is a tenant admin.

@cknair  Did you make sure you follow through the deployment guidelines here?
If so, did you just create the app catalog? If so, you may need to wait a day for this to work correctly. Also is your tenant First Release for Everyone?

Also please check the pre-requirement that the account you using to deploy is also an admin for your term store. https://github.com/SharePoint/sp-starter-kit/#pre-requirements.

I went trough your list and all the requirements are in place, but have the same error + more:
Sorry cant attach picture...
Apply-PnPProvisioningTemplate : Access denied. You do not have permission to perform this action or access this
resource.
At C:\Users\Pharosz\Documents\SPO Scripts\sp-starter-kit-master\provisioning\deploy.ps1:123 char:1

Apply-PnPProvisioningTemplate -Path "$PSScriptRoot\portal.xml" -Param ...

  + CategoryInfo          : WriteError: (:) [Apply-PnPProvisioningTemplate], ServerUnauthorizedAccessException
  + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.ApplyProvisioningTemplate

Set-PnPSiteDesign : Cannot bind argument to parameter 'Identity' because it is null.
At C:\Users\Pharosz\Documents\SPO Scripts\sp-starter-kit-master\provisioning\deploy.ps1:128 char:29

Set-PnPSiteDesign -Identity $teamsitedesign -WebTemplate TeamSite

                        ~~~~~~~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Set-PnPSiteDesign], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,SharePointPnP.PowerShell.Commands.SetSite
Design

Set-PnPSiteDesign : Cannot bind argument to parameter 'Identity' because it is null.
At C:\Users\Pharosz\Documents\SPO Scripts\sp-starter-kit-master\provisioning\deploy.ps1:130 char:29

Set-PnPSiteDesign -Identity $communicationsitedesign -WebTemplate Com ...

                        ~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Set-PnPSiteDesign], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,SharePointPnP.PowerShell.Commands.SetSite
Design

Updating navigation and applying collab templates
Get-PnPProperty : Cannot bind argument to parameter 'ClientObject' because it is null.
At C:\Users\Pharosz\Documents\SPO Scripts\sp-starter-kit-master\provisioning\deploy.ps1:134 char:43

$children = Get-PnPProperty -ClientObject $departmentNode -Property C ...

                                      ~~~~~~~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Get-PnPProperty], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,SharePointPnP.PowerShell.Commands.Base.En
sureProperty

Cannot index into a null array.
At C:\Users\Pharosz\Documents\SPO Scripts\sp-starter-kit-master\provisioning\deploy.ps1:138 char:9

    $node = Add-PnPNavigationNode -Location TopNavigationBar -Par ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : NullArray

Cannot index into a null array.
At C:\Users\Pharosz\Documents\SPO Scripts\sp-starter-kit-master\provisioning\deploy.ps1:138 char:9

    $node = Add-PnPNavigationNode -Location TopNavigationBar -Par ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : NullArray

@Pharosz Is the first error the one you list, that started on line 123 of deploy.ps1? I have found with deploy.ps1, we want to always address the first error that appears as errors further on the may be caused by the same issue.

I have a warning before that, but yes this is the first error.
WARNING: You specified to remove existing content types for the list with url '/sites/demoportal/Lists/Alerts'. We
found a list with the same url in the site. In case of a list update we cannot remove existing content types as they
can be in use by existing list items and/or documents.

Could you also provide the full PS deploy command with the parameters you have set? You can X out the tenant name if you prefer.
Also, the credentials you are providing are tenant admin credentials? The provisioning template, portal.xml, includes the site scripts and site designs that require tenant admin permissions. otherwise, the rest of the template is setting site specific settings to the portal being created by the starter kit.

Its my private tenant for testing and playing around with the functions. I have only 1 account with global admin role.
start_kit_pscript.txt

@Pharosz my suggestions:
Verify that the following three sites where created:
https://sharepointrobert.sharepoint.com/sites/demoportal
https://sharepointrobert.sharepoint.com/sites/demohr
https://sharepointrobert.sharepoint.com/sites/demomarketing
You might as well also check to see if they load for you in a browser.
Verify the .sppgk was successfully deployed to the tenant app catalog.
Check out the API permissions while you are at it in the new Preview Admin Center API Management.
If the above tests all check out, then I would run the following command after connect-pnponline of course. This will basically skip what should have already completed and start right around provivisioning portal.xml to the portal site.
.\deploy.ps1 -TenantUrl https://sharepointrobert.sharepoint.com -SitePrefix demo -SkipPowershellInstall -SkipSiteCreation -SkipSolutionDeployment

The sites are created however just as a regular sites. The sppgk is deployed.
The API permission is waiting to be approved but when I try to approve them it says: "[HTTP]:400 - Bad Request [CorrelationId]:d950759e-10fc-6000-1c7b-19a52f3ae455 [Version]:<IP_ADDRESS>13 - A service principal with the name SPFx-LOB-WebAPI could not be found."
The same error for all in the list

They should be regular sites, or the portal home should be a comm site while the hr and marketing are modern team sites.
For API permissions, do not select the LOB ones, that is not yet active for the project.

Yes but I don't have any of the functionality that in the screenshots.

@Pharosz  can you try to apply the portal template using PnP and see if you receive any errors? Using Apply-PnPProvisioningTemplate -Path "path/to/your/portal.xml" here the path maps to the portal.xml

Hi all,
I have the same problem where I see multiple errors when the template is being applied. The first part of the script works okay and the sites are created. However, when the provisioning engine attempts to apply, I get a series of errors. I can confirm that the tenant is setup correctly. The SPKG file works and I can run the web parts without issue. The problem applies as soon as the script attempts to template the sites.

Hi ,
Thanks for all your quick tips !
So this time I made sure I have met all pre-reqs correctly. Made tenant admin , a term store admin, created app catalog uploaded the spppkg file, made sure release preference is "targeted for everyone" waited more than 2 days and I tried deploy.ps1 today . I get the following error.

@cknair would you please verify the version of PnP PowerShell per a related post.
https://github.com/SharePoint/sp-starter-kit/issues/52#issuecomment-401322605

@eoverfield Here it is

Ok, could you try turning more logging on and see if anything else pops out when you run deploy.ps1?
Set-PnPTraceLog -On -Level Debug

@eoverfield  here is the log..

@bcameron1231 I didn't got any error.

@cknair I resolved this issue by upgrading to the latest version of PowerShell. (2.27.1806.1). You may want to try removing and reinstalling the PnP PowerShell library if your still seeing errors. To get things working here is a step by step of what I did:

Pulled in starter kit via Git
Made sure my tenant was set to first release (first release for entire tenant not just users)
Deployed spkg solution and made sure it was not set for tenant wide deployment.
Added in the property into the user profiles screen in the SP admin centre
Went into the new SP admin centre and granted permissions for apps to the Graph
Updated to latest version of PowerShell and restarted
Ran PowerShell ISE (win 10) as admin and did a PnP connect to the root site collection for my dev tenant.
Navigated to the saved starter kit in PowerShell and ran the deploy script.
Starter kit site built and working including extensions and web parts. I did see an error on build, but this did not seem to affect the output, so wondering if its do with the stockmarket webpart.

Note: I was also promoted to authenticate again at least 2 times during the install.
@eoverfield Is the step for including the API key for the stockmarket webpart a requirement for the solution or an option? The instructions aren't quite clear on this. I did not include the API key when I ran this and apart from an error on build, all is working.
Thanks,
-Max

@mag210  thank you for the steps that worked for you.
Regarding the api key, if you do not provide one, the deployment script ignores this and carries on without an additional message or warning. If a stock api key is provided, then the deployment script simply stores the key in a tenant property, with key name "PnP-Portal-AlphaVantage-API-Key"

Closing as a stale issue, also addressed with newer provisioning methodology.


Security Concerns for Access Tokens on a Mobile Device

I wanted to reach out regarding security concerns that you need to account for with storing access_token on an untrusted device.
https://developer.okta.com/blog/2019/01/22/oauth-api-keys-arent-safe-in-mobile-apps
It's possible to extract access tokens from mobile applications from string searching the code or simply doing a MITM attack and decrypting the HTTPS requests to look at the access token in the headers.
This is the same reason you wouldn't want to deploying access tokens onto a web front-end, since no matter how much you try, the deployment target is an untrusted environment.

Thanks for the insight and info. I've adjusted the package to not support that flow any longer.


Error: Type TabItem not found in xmlns clr-namespace:TabSlide.Controls

I am in this error, Help !
Page: TabSlide.xaml

@lamvt2306 Hi
TabSlide.Controls
It isn't related to CardsView package.
I don't know such namespace


Specify more details in README

Exciting project!
Questions it'd be great to answer some place, either here or in the README:

Can we do network calls from V in an Android app generated with vab? Last I heard there are extra hoops one must jump through to use the network on Android from a language other than Java or Kotlin, though that was 3 years ago.

Are there any apps in the Play Store right now that were written in V? If so, consider linking to them!

What limitations should we expect right now?

Has anyone built the UI and glue code in Kotlin, and built the rest of the app in V?

Thanks!

Any best practices/recommendations for writing the UI in pure V, or is that not practical yet?

Any best practices/recommendations for writing the UI in pure V, or is that not practical yet?

Try it with
https://github.com/vlang/ui

Exciting project!

Thanks!

Questions it'd be great to answer some place, either here or in the README:

I don't think listing what vab can't do will help more users right now. So for now I'll answer here.
I'm aware that people will expect interop with other big V projects like V UI (and my own JNI support module). The plan is to get 100% interop with all V projects. If it's written in V it should be able to run on Android.
The road can be a little long at some points though due to Android's messy nature.

1. Can we do network calls from V in an Android app generated with vab? Last I heard there are extra hoops one must jump through to use the network on Android from a language other than Java or Kotlin, though that was 3 years ago.

I'm not sure - I haven't tried yet (networking is generally not my thing - so it's low on my current TODO).
I'm pretty sure though that we can get it working no problem.
But there's currently some overlap of essential components in V that need to work better together.
To use some features, like, networking on Android - you need the user's permission first (in some cases, in other cases you can access the feature no problem - "it all depends"). To get the permission from the user you need to implement a UI flow to obtain the permission you need - this flow makes things more difficult for us currently, not impossible, but just consumes precious developer time.
As mentioned, network access is on my TODO so it's a question of when I get time right now.

2. Are there any apps in the Play Store right now that were written in V? If so, consider linking to them!

I only know of one - but it's currently hidden on my personal account. I tried to transfer the rights to Alex but things stalled for some reason - people have on several occasions (Discord mostly) asked to get an official V developer account on Google Play to show these things off. I have no idea how far off we are from having anything setup @medvednikov ? There's plenty of things now to show off IMO.

3. What limitations should we expect right now?

A lot :)
The next "big" thing we should get running is probably garbage collection. Again we have a little way to go.
Currently we're undecided on how to build and distribute the garbage lib.

4. Has anyone built the UI and glue code in Kotlin, and built the rest of the app in V?

Not that I know of. I just know it's possible since it's just a code -> JVM bytecode compiler - it's on my TODO.
Please keep in mind that every time we open up for a new tech-stack we also open the waterfall of user issues that needs to be handled.
Currently we don't have much dev resources focusing on Android, maybe that will change at some point, maybe not.

5. Any best practices/recommendations for writing the UI in pure V, or is that not practical yet?

V UI works fine on Android, but it needs a million key-press-love strokes to get it on par with the desktop version :smile:
We're also discussing how to get JNI support to V UI - since we'll (to my only knowledge) need it for some essential parts like soft input handling (better known as "The on-screen keyboard").

Thanks!

No problem!


Clarify Future.removeListener[s] javaDocs

Motivation:
The javaDocs for Future.removeListener do not clarify that only the first occurrence of the listener is guaranteed to be removed.
Modifications:

Clarify the javaDocs for Future.removeListener[s] so it is known that the only the first occurrence of the listener will be removed.

Result:
Fixes https://github.com/netty/netty/issues/5351

Cherry-picked 4.1 (56a2f64) 4.0 (8ff6511)


Review standalone usage mechanism

Right now raygui is quite tied to raylib, using a specific set of raylib functions.
Despite being possible to hook other library functions to raygui, I feel current mechanism is not easy enough... or at least, has not been properly tested. It should be reviewed.
raygui required functions include:

Keyboard and Mouse inputs
Basic shapes drawing (lines, rectangles)
Textures and text drawing

The idea is to expose and minimize external required hooks to cover the basic raygui needs.

Some work on this issue on commit https://github.com/raysan5/raygui/commit/bbcf2e950744e4150d41c4bcad7a4e488485dfd6
To use raygui with other graphic libraries than raylib, following functions should be provided by the user:
// Input required functions
//-------------------------------------------------------------------------------
static Vector2 GetMousePosition(void) { return (Vector2){ 0, 0 }; }
static int GetMouseWheelMove(void) { return 0; }
static bool IsMouseButtonDown(int button) { return false; }
static bool IsMouseButtonPressed(int button) { return false; }
static bool IsMouseButtonReleased(int button) { return false; }

static bool IsKeyDown(int key) { return false; }
static bool IsKeyPressed(int key) { return false; }
static int GetKeyPressed(void) { return 0; }                     // -- GuiTextBox()
//-------------------------------------------------------------------------------

// Drawing required functions
//-------------------------------------------------------------------------------
static void DrawRectangle(int x, int y, int width, int height, Color color) { /* TODO */ }
static void DrawRectangleRec(Rectangle rec, Color color) { DrawRectangle(rec.x, rec.y, rec.width, rec.height, color); }

static void DrawRectangleLinesEx(Rectangle rec, int lineThick, Color color) { /* TODO */ }

static void DrawRectangleLines(int x, int y, int width, int height, Color color) { /* TODO */ }             // -- GuiColorPicker()
static void DrawRectangleGradientV(int posX, int posY, int width, int height, Color color1, Color color2);  // -- GuiColorPicker()
static void DrawRectangleGradientH(int posX, int posY, int width, int height, Color color1, Color color2);  // -- GuiColorPicker()
static void DrawRectangleGradientEx(Rectangle rec, Color col1, Color col2, Color col3, Color col4);         // -- GuiColorPicker()

static void DrawTriangle(Vector2 v1, Vector2 v2, Vector2 v3, Color color) { /* TODO */ }                    // -- GuiDropdownBox()
static void DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color) { /* TODO */ }           // -- GuiScrollBar()

static void DrawTextureRec(Texture2D texture, Rectangle sourceRec, Vector2 position, Color tint) { }        // -- GuiImageButtonEx()
//-------------------------------------------------------------------------------

// Text required functions
//-------------------------------------------------------------------------------
static Font GetFontDefault(void);   // --  GetTextWidth()

static Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing) { return (Vector2){ 0.0f }; }  // Measure text size depending on font
static void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint) {  }   // Draw text using font and additional parameters
//-------------------------------------------------------------------------------

Note that some of those functions are only used by some specific control, in case that control is not required, it could be removed with the function dependency.
Also note some drawing functions could probably be removed or simplified to use some other function, i.e. Rectangle drawing functions could all be simplified to only one function usage.
Main issue comes when dealing with Font and Texture2D, those structs are very raylib specific and they should be mapped to similar implementations on other libraries, it could take some work.
Next steps on this issue would be:

[ ] Simplify shapes drawing functions required, a generic DrawRectangle() should be enough. Non-squared-shape elements could use rIcons or text characters.
[ ] Find a proper way to deal with Font and Texture2D structs, maybe just providing the implementation os some minimal API to deal with it...
[ ] Create a raygui standalone usage example with SDL.

Keep working on it. Feedback is welcome!

I think the current system is working well, I found it quite easy to integrate into my engine.
It would probably be a mistake to provide an implementation of the Font and Texture2D structures, they need to be whatever is required by the engine that is being used.
An example project with SDL would be nice, and simplifying the required drawing functions would help, but really I don't think it is difficult at the moment anyway.
One minor issue is that in a recent commit you added this line to GuiLoadStyle()
Font font = LoadFontEx(FormatText("%s/%s", GetDirectoryPath(fileName), fontFileName), fontSize, NULL, 0);
and it uses three new functions from raylib that weren't needed before. Maybe have a define to not use styles?

@simonwashere thanks for reporting!
Agree that an SDL sample would be great, actually, it has been on my raylib TODO list for long time...
Also aware of GuiLoadStyle() new dependencies, it was a quick addition for the talk I gave... need to find a better alternative, probably font data could be embedded in the .rgs text file, in a similar way I do with the style.h code generation... I'd think about it... fonts are always too dependant on underlying technology...

Map those routines to function pointers (make them exportable, in standalone mode)
Use a pointer to the font struct instead.
Now one could set standalone mode, everything gets exported, then map the routines on the host side and since the font struct is a pointer its implemented on the host side without issue.
I did this before in an older version (1.x raylib time frame, I think 1.5 or 1.6 I believe) and was able to use it from Delphi. I need to find those sources.

Closing the issue. Current mechanism looks ok for me.


Can't open but it's not the category bug this time

same here

can someone PLEASE do something about this issue


pgp.secret-key-password is not created by --pgp-password

Version(s)
v1.0.6
Describe the bug
Running scala-cli --power config --create-pgp-key --pgp-password MY_CHOSEN_PASSWORD does not create the pgp.secret-key-password, as mentioned in the documentation.
To Reproduce
Run scala-cli --power config --create-pgp-key --pgp-password MY_CHOSEN_PASSWORD followed by scala-cli --power config pgp.secret-key-password
Expected behaviour
scala-cli --power config pgp.secret-key-password should return the password (or the documentation should not mention it)

The behaviour is correct and has been introduces in #1987, but indeed the documentation should be updated.
Thanks for pointing it out!


Set cell to zero if no input left.

Most other BF interpreters will set the current cell to zero if they encounter an input operation (,) and there is no input available.

Thank you for collaboration.

Thanks!


"Place" - Contact Point or location for holdings (or other features)

At our meeting on 15 June 21 we discussed how it might be useful to have contacts or contact points for holdings.
For instance - the dairy vat, the urea silo, the manager's house.
A solution could be a feature object (point feature) with attributes based on the schema.org Place type.
This includes an address object that seems to be reasonably compatible with NZ Post and rural addressing.
We could also represent people contact details (but implementers should be aware Privacy Act requirements) using the schema.org Person type.

You can now do the following:

Define your related entity using a JSON schema version of the schema.org entities. Use the forked repository at https://github.com/Datalinker-Org/schema-org-json-schemas.
Link to these related objects from any spatial resource using the Links array.

After the scope discussion at our 6 April 2022 meeting, I thought it would be useful to raise this item again for discussion about "places".
If we had a method of categorising places, we could use a spatial resource with a name, address, and other attributes to represent:

Service points
Entry and Exit points
Monitoring sites
Feedpads
Evacuation sites
Nesting sites

I suggest the following attributes from schema.org's Place type would be relevant

id and identifiers (list) - we have these in spatial resources already
name (already in spatial resources)
address
globalLocationNumber
hasMap (a URL to a separate visual mapping resource)
logo (a URL to a separate logo or icon)
keywords (a text field with comma separated keywords)
isicV4 - industry classification code for type of business carried out
publicAccess (boolean - true/false)
telephone (telephone contact)

In addition to this we would need a categorisation method - which could either be a schema-based categorisation, such as the NZ Geospatial Data Dictionary Entities (e.g. "nz.geospatial.monitoring-site") OR by defining new resource type classes for each category (e.g. MonitoringSiteResource)

Adding this URL so I don't lose it - a PDF with the full list of LINZ NZ TOPO feature types v 3.5

Andrew, my thought would again go down the minimum viable product path and only add the attributes absolutely necessary and then leave the door open for further additions based on demand from actual working system integrations. I think this will be a long haul.


Add Java to UBI Builder

Summary

Adds java to the builder
Use Cases

Building java apps with the builder
This change adds the java extension, and java helper buildpack, and quarkus buildpack to the ubi builder.
The builder.toml is resequenced a bit to have it be extension then build (matching execution order)
Image declarations are added to builder.toml for the various run & build images in anticipation of future stack removal.
Java test cases are added.
Test script is updated to allow a new flag to specify the local port to be used for the docker registry, this allows
usage of the test script locally when you already have a docker registry running on port 5000
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Overall LGTM but you may want to update https://github.com/paketo-community/builder-ubi-base/blob/main/README.md as well to mention Java.


[FLINK-13514] Fix instability in StreamTaskTest.testAsyncCheckpointingConcurrentCloseAfterAcknowledge

What is the purpose of the change
Before, thread pool shutdown would interrupt our waiting method.
Production code cannot throw an InterruptedException here and would also
not be correct if one is thrown.
We now swallow interrupted exceptions and wait until we successfully
return from await().
Brief change log

we swallow interrupted exceptions in test code

Verifying this change

this is covered by the existing test that we fix

Does this pull request potentially affect one of the following parts:

this affects checkpointing (only test code is changed, though)

Merged


Prepare for migration to 12.1

Preparing for migration to 12.1:

Implement 12.1 MN signatures compatibility (backport of #836 without protobump)
Remove redundant parts from v11->v12 migration (old network messages)

ACK


Added simulation models for Efinix and Anlogic

Added comment for "future self" to be aware it is for latch :)


Configuration via ConfigFlow does not allow for Optional Parameters

Home Assistant release with the issue:
Home Assistant 0.103.5
Last working Home Assistant release (if known):
Never
Operating environment (Hass.io/Docker/Windows/etc.):
All environments
Integration:
All integrations
Description of problem:
OptionsFlow is used to edit the integrations parameters configured via ConfigFlow,
The problem is, the optional Parameters cannot be removed by the OptionFlow.
This is why:
The OptionsFlowHandler class async_show_form method has data_schema parameter,
that is an OrderedDict containing voluptuous objects, for example
            vol.Required(
                CONF_PARAMETER,
                default=self.config_entry.options.get(
                    CONF_PARAMETER
                ),
            )
        ] = str

Where self.config_entry.options.get loads the value previously conifgured by ConfigFlow.
vol.Required does not allow to leave the field blank, it won't allow submitting the form.
For optional parameters, it won't accept blank field. You'd think you can use vol.Optional.
That allows to Submit blank fiend, BUT doing that will submit the "default" value. But since we are using the default to pre-load the previously configured value, leaving it blank will revert back to the current value (self.config_entry.options.get(CONF_PARAMETER)). So there is no way to remove the previously configured parameter. If you delete the value, it will "survive" and keep its value.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Config by ConfigFlow

I think that submitting an empty field should return "", not the default value. So I believe this is a bug.


Missing required attribute: dependency groupId POM

Why published pom could not be included? I get multiple errors and after running info I get following errors:
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>test</groupId>
  <artifactId>com.test</artifactId>
  <version><IP_ADDRESS></version>
  <packaging>aar</packaging>
  <dependencies>
    <dependency>
      <artifactId>build.aar</artifactId>
      <type>aar</type>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>*</artifactId>
          <groupId>*</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.android.support</groupId>
      <artifactId>appcompat-v7</artifactId>
      <version>27.1.1</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>
</project>

And assemble provides this info:

Could not parse POM
Missing required attribute: dependency groupId

this confused me long time ,did you resolved it ?

I am facing this issue right now? Has anybody resolved this?


Make grid-column-gutter define responsive gutters by default #8259

Resolve #8259
Changes
Make grid-column-gutter (and also grid-col-gutter) define
responsive gutters when no gutter value ($gutter) is given, instead
of defining gutters from the zero breakpoint.
If only a $gutters map is given, use this map to generate responsive
gutters.
If only a $gutters single value is given, use this value to generate
no-responsive gutters.

:warning: Require

[x] https://github.com/zurb/foundation-sites/pull/8528

I'm all for a documented naming convention and sticking to it. I personally have no experience in using BEM, and I feel it might be a bit too strict on this occasion, but I understand the reasoning behind it.
I prefer SMACSS myself, and its more flexible in its approach.
A simply example would be buttons, currently we have:
.button
.primary
.secondary
.large

You could go with something like:
.button
.button-primary
.button-secondary
.button-large

I'm happy to go with whatever the general consensus is though. Not sure how to apply this to functions/mixins...

Ok, so I propose we move forward with this as is, and move the naming conversation into a separate location.


tools(feat): Add defined exceptions

🗒 Description
Adds BlockException and TransactionException enums, which supersede the string-based exceptions, in order to provide a set of defined exceptions, which results in better control of the tests that produce exception conditions.
🔗 Related Issues
None
✅ Checklist

[x] All: Set appropriate labels for the changes.
[x] All: Considered squashing commits to improve commit history.
[x] All: Added an entry to CHANGELOG.md.
[x] All: Considered updating the online docs in the ./docs/ directory.
[x] Tests: Included the type and version of evm t8n tool used to locally execute test cases:  e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
[x] Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

Rebased to main.


Slack workspace icon not reflecting existing avatar

Describe the bug
If a Slack workspace already has an avatar for it, I would expect Franz to use the same logo for that service's icon.
To Reproduce
Steps to reproduce the behavior:

Sign into a new Slack workspace
You will see that Franz shows the Slack logo, not the Slack workspace/team avatar.

Expected behavior
Franz should show the existing Slack workspace avatar, for the Franz workspace icon
Screenshots

Desktop (please complete the following information):
https://whatsmybrowser.org/b/VQ9DR8G
Additional context
Refreshing Franz doesn't help

That used to work in the past, but for about half a year this is broken unfortunately.


CSV file loading example using pack

The example code to read CSV files raised the exception:

tensorflow.python.framework.errors.InvalidArgumentError: ConcatOp : Expected concatenating dimensions in the range [0, 0), but got 0

The CSV files contents were:
5,4,3,2,1

Updated the documentation to use tf.pack for the same reasons mentioned in this stack overflow answer.
This change might be irrelevant due to any updates on #278.

Can one of the admins verify this patch?


IndexError: index 1 is out of bounds for dimension 0 with size 1

cur_image_features = image_features[cur_image_idx]
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
IndexError: index 1 is out of bounds for dimension 0 with size 1
Is there any reason why previous version can evaluate normally, but updated from git got such error?
And this error happens only during evaluation at about 6%
Is there zero images samples in eval MMBench?

Am not sure as well, but just got this, I used llava model with qwen as LLM. The task is MMBenchCN
I used a try ... catch to generate_inner, not it can run, but looks like would effect the metric

@lucasjinreal
Please provide a command so that I can try to reproduce this problem.

Sorry, the exception got is on MMMU, not mmbench.

I am also experiencing the same problem when trying to run on MMMU. (I tried it with llava_v1.5_7b.)

@kennymckormick Can u take a look, actually didn't get this in previous version, some models actually didn't support more than 2 images in a single chat like llava.

@kennymckormick Can u take a look, actually didn't get this in previous version, some models actually didn't support more than 2 images in a single chat like llava.

OK, I will give a try for the llava_v1.5_7b x  MMMU configuration.


Schema Stitching without Gateway requests sends $fields:id values as null in HC11

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Create a simple local graphql schema in an HC 11.2.2 project as of writing this
Add a remote schema to that
Add an extension that bridges the two schemas
Use a network sniffing tool such as fiddler to inspect the outbound network traffic
You'll note that the variables __0_____fields_productId will contain a null value, which will produce cascading errors
Each stitched value will then be null and produce an EXEC_NON_NULL_VIOLATION error.

Below you can see a sample schema - I removed some internal terminology from this screenshot to make it easier to follow.

Below you can see the network sniffing that I performed showing that the request was made with null values in the variables. What isn't included is the fact that I can see the values of $fields:productId coming back from the local schema.
Please note that skuBaseNumber is our equivalent to "productId" I removed some internal terminology in my other screenshot.

Expected behavior

The outbound network request variables should match the $fields:productId values that come back from the local schema response. They should not be made with all null values.

Desktop (please complete the following information):

OS: Windows 10
Version HC 11.2.2

@mlstubblefield  did you try it with AddLocalSchema too?

@PascalSenn i have the same issue and i tried the AddLocalSchema and it didn't change nothing

Did you add it like this?
service.AddGraphQL("localSchema")
      .AddQueryType<YourLocalQueryType>()

service.AddGraphQLServer()
    ...
   .AddRemoteSchema("Foo")
   .AddLocalSchema("localSchema")

That worked for me. Thanks so much!


Improve blob read performance

blob read performance is currently abysmal. we should put a performance test in place using @kalman's new thing, and then optimize. I suspect prefetching chunks will be a big part of this.

Whops, this is a dupe of #2079


Support for RLAIF methods

Hello,
Will Llama-Factory support any RLAIF methods currently? If so can any one share any example/reference implementation for the same.

we currently have no plan to support RLAIF method


Fixed a broken link to Blink

Blink moved to third_party/blink from third_party/WebKit (and some nested paths have changed).
What's changed, or what was fixed?

item 1
item 2

Fixes: #issue
Target Live Date: YYYY-MM-DD

[ ] This has been reviewed and approved by (NAME)
[ ] I have run npm test locally and all tests pass.
[ ] I have added the appropriate type-something label.
[ ] I've staged the site and manually verified that my content displays correctly.

CC: @petele

:tada: This has been pushed live to https://developers.google.com/web/


Oni can not recognize the .ts  file type

I use the Oni that build from latest source code.
It treats typescript file as xml file, with no syntax highlighting.

Hi @saibing ,
Did you happen to run this command: git submodule update --init --recursive after checking out the repo?
We recently moved some of our plugins (including the typescript one) into submodules. I'd recommend running that command, and rebuilding - see if that fixes it for you. Let me know how it goes!

@bryphe
Thank you. It solved the problem for me :+1:

Awesome! 👍 Thanks for letting me know! I'll close this out.


Target encoding hierarchical

Fixes #136
Proposed Changes
This pull request implements feature hierarchies in Target Encoders.
Author: @nercisla
Current status: Work in Progress

Hi @nercisla
Thanks for your work. I created a draft pull request just because it is easier and more transparent to make comments and have the tests run. I hope that's fine with you. Also feel free to change the description if you want to

Hi @nercisla
thanks for updating the PR. I think it looks really good now. The only open issue I see is the test that checks if a trivial hierarchy yields the same encoding as no hierarchy.
Do you see any other open topics that need to be fixed before merging?
Really looking good now and I think we can merge next week. Thank you!

I think the trivial hierarchy issue is tested by two tests:

test_hierarchy_single_mapping - tests a hierarchy that (with the given data) results in a single mapped value.  It should return the original without a mapping
test_hierarchy_no_mapping - tests a hierarchy that maps the same as the level below (for the given data).  It should again return the original without a mapping

The features we want to move on to are (in order of priority in our opinion):

User gives a column that contains the mapped higher level (i.e. they have already applied a custom function to a column to get the next level up)
Multi-level hierarchies
Typical hierarchical functions (such as Zipcode/postcode etc)

We think these are "nice to have" extras, which don't need to be included just now.

For info, I have a concern over the mapping.  The current code works and gives the right answer, but the mapping is reversed if we want to consider multi-level mapping.  So it might be good to consider larger hierarchies and a solution before we merge...
Detail: we currently have a mapping dictionary that goes from the existing column (key) to the higher level mapping (value).  But for multi-level, it makes more sense to have the highest levels first in the dictionary.  So, we need to consider reversing the map.  The mapping won't be so trivial for multi-level in that scenario, but makes more sense for the user.

Joe and I have modified the code to "reverse" the mapping dictionary.  This should now follow a more user-friendly version of mapping.   Multi-level mapping is also complete and we've included a test.

Great! Thanks for implementing the multilevel hierarchy. Maybe it would be nice to give an example of the hierarchy parameter in the docstrings since this is getting a little complicated (especially with multilevel)

Have added a simple example, since more complex ones might take even more space.

Great!
Thank you very much @nercisla and @joeybricks
The tests are succeeding and I'd consider it ready for the merge. Is this fine with you or is there anything missing?

Very happy to merge!


feat(rpc-engine-api): add engine API response type metrics

Adds metrics for engine API response types, for example how many INVALID, VALID, etc we send out.

Ref https://github.com/paradigmxyz/reth/issues/7729


Invalid enum value inference on a class property.

Bug Report

🔎 Search Terms

This condition will always return

🕗 Version & Regression Information

This is the behavior (at least) on versions:

3.9.7
4.0.5
4.1.5
4.2.3
4.3.5
4.4.4
4.5.5
4.6.4
4.8.0-dev.20220519

This is the behavior in every version I tried, and I reviewed the FAQ for entries about Type System Behavior

⏯ Playground Link

Playground link with relevant code

Nightly

💻 Code

enum Foo {
  bar1,
  bar2,
  bar3,
}

abstract class TsBug {
  #foo: Foo;

  constructor() {
    this.#foo = Foo.bar1;
  }

  public doStuff(): void {
    this.#foo = Foo.bar1;

    this._doSpecificStuff();

    if (this.#foo !== Foo.bar2) {
    }
  }

  protected abstract _doSpecificStuff(): void;

  protected _myFooSetter(): void {
    this.#foo = Foo.bar3;
  }
}

🙁 Actual behavior
19:9 - error TS2367: This condition will always return 'true' since the types 'Foo.bar1' and 'Foo.bar2' have no overlap.

19     if (this.#foo !== Foo.bar2) {
           ~~~~~~~~~~~~~~~~~~~~~~

Since there's a call to the _doSpecificStuff() protected abstract method, there's room to call this._myFooSetter() and update the private #foo property
The same happens if we refactor this code with a public or protected foo property instead of #foo:
🙂 Expected behavior
I expect no compilation errors for the reason above.

Duplicate #9998

Closed as duplicated


[Performance, Refactor] Operator multiplication without explicit identities

Refactors the operator_product function that does not require explicit identity padding. Also refactors the apply_density_mat into a new apply_operator_dm without explicit identities. The logic of both is similar, and the logic of apply_operator_dm is very similar to apply_operator_permute, but keeping everything separate for now.
The reason not to use operator_product inside apply_operator_dm is to avoid permuting the qubits twice.
The new functions are similar in performance for small number of qubits. For 5 to 9 qubits they become a few times faster. For 12 qubits the speedup is already ~10x.

Hey @EthanObadia finally got around to writing the apply_operator equivalent for density matrices without using explicit identity padding. If you have some time to check it out it would be great :)


gen-java doesn't make any output

I added a gen-java step to the makefile, in order to work around a known bug in gen-project's Java generation
I can't find any configuration that generates any Java output in this repo. For example:
poetry run gen-java --package mixs --output_directory generated/java model/schema/mixs.yaml

See also #360 and #359

opened issue https://github.com/linkml/linkml/issues/660


Question:  Does this plugin deploy using the "dropins" directory?

If so, does that conflict with configuring a <webApplication> in server.xml.  My understanding is that it does, or perhaps it is the other way around.  In any event, I believe they are incompatible methods of deploying a web application in Liberty, correct?

I believe that deploy goes to dropins by default. If you have your application configured in server.xml, you do want it in the apps folder.
Take a look at the new installApps support in version 2 of the plugin.  You can specify your war to be installed in apps or dropins. If you don't specify, it will install to apps and configure the application if needed in the config dropins folder.


Added stability for restarts/regular starts

I've seen the occasional issue with database handling due to the connect function being called before the configuration values have been set.

I've never personally seen this issue happen. But initiating the connection post file loading does seem like best practice.


[DOC-3734] Correct the note about TLS cipher suites in 22.2

[DOC-3734] Correct the note about TLS cipher suites in 22.2

In 22.2.0 - 22.2.3, less secure TLS cipher suites are not available
In 22.2.4+ and in 23.1+, less secure TLS cipher suites are disabled by default but can be enabled with an environment variable.

This PR adjusts the logic within an include that is used only in v22.2+ docs and in a single CC page, to show more specific content in 22.2 pages only.
Previews
This tiny change nevertheless impacts the following pages:
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v22.2/authentication#background-on-public-key-cryptography-and-digital-certificates
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v23.1/authentication#background-on-public-key-cryptography-and-digital-certificates
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v23.2/authentication#background-on-public-key-cryptography-and-digital-certificates
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v24.1/authentication#background-on-public-key-cryptography-and-digital-certificates
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v22.2/install-client-drivers?filters=java
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v23.1/install-client-drivers?filters=java
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v23.2/install-client-drivers?filters=java
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/v24.1/install-client-drivers?filters=java
https://deploy-preview-18385--cockroachdb-docs.netlify.app/docs/cockroachcloud/frequently-asked-questions#is-my-cluster-secure

LGTM


Move init(x32:|x64:) to test targets

The init(x32:|x64:) methods are seldom, or never, needed outside of testing.

Related tuple type aliases, like ANK128X64, should also be moved to test targets.


Update free-programming-books-langs.md

What does this PR do?
Add resource(s)
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
    The creator uploaded it for every learner for absolutely free

For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!

Thanks, and welcome to free-programming-books!

Thank you, Sir


[ENH] Let fmt: skip apply to compound statements, if they share a line.

if True: x = 0  # fmt: skip

def foo(self, lorem, ipsum, dolor, sit, amet, consectetur, adipiscing, elit, sed, do): ...  # fmt: skip

Gets reformatted to
if True:
    x = 0  # fmt: skip

def foo(
    self, lorem, ipsum, dolor, sit, amet, consectetur, adipiscing, elit, sed, do
): ...  # fmt: skip

Which is because fmt: skip only applies to the preceding statement. However, it would be useful to apply the fmt: skip to the whole compound statement in this context. For instance, when formatting @overload decorated functions.

Yeah that makes sense to me. I'm not entirely sure how to implement this yet. I see two approaches:

Add special handling for fmt: skip and fmt: off (and I think yapf:disable) comments in placement.rs that come at the end of a clause header. Instead of associating them with the preceding statement, associate them with the clause header (but only if both are on the same line).
Pass the comments of the first simple statement to FormatClauseHeader and make the decision there.

The good news, the unused formatter suppression comment lint rule seems to already accept this.

Hi @MichaReiser I did a first pass on this issue. Not sure if my approach is what we were looking for but I'd be happy to change direction. Let me know 👍


Having Error when trying to brew cask install android-sdk on mac os x

General troubleshooting steps

[ ] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[ ] None of the templates was appropriate for my issue, or I’m not sure.

[ ] I ran brew update-reset && brew update and retried my command.
[ ] I ran brew doctor, fixed as many issues as possible and retried my command.
[ ] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
Tried to run:
$brew cask install android-sdk
Output of your command with --verbose --debug
$ brew cask install android-sdk --verbose --debug
==> Hbc::Installer#install
==> Printing caveats
==> Caveats
We will install android-sdk-tools, platform-tools, and build-tools for you.
You can control android sdk packages via the sdkmanager command.
You may want to add to your profile:
  'export ANDROID_SDK_ROOT=/usr/local/share/android-sdk'

This operation may take up to 10 minutes depending on your internet connection.
Please, be patient.

==> Hbc::Installer#fetch
==> Downloading
==> Downloading https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip
Already downloaded: /Users/hafonso/Library/Caches/Homebrew/Cask/android-sdk--25.2.3.zip
==> Downloaded to -> /Users/hafonso/Library/Caches/Homebrew/Cask/android-sdk--25.2.3.zip
==> Verifying download
==> Determining which verifications to run for Cask android-sdk
==> Checking for verification class Hbc::Verify::Checksum
==> 1 verifications defined
Hbc::Verify::Checksum
==> Running verification of class Hbc::Verify::Checksum
==> Verifying checksum for Cask android-sdk
==> SHA256 checksums match
==> Installing Cask android-sdk
==> Hbc::Installer#stage
==> Extracting primary container
==> Determining which containers to use based on filetype
==> Checking container class Hbc::Container::Pkg
==> Checking container class Hbc::Container::Ttf
==> Checking container class Hbc::Container::Otf
==> Checking container class Hbc::Container::Air
==> Checking container class Hbc::Container::Cab
==> Checking container class Hbc::Container::Dmg
==> Executing: ["/usr/bin/hdiutil", "imageinfo", "/Users/hafonso/Library/Caches/Homebrew/Cask/android-sdk--25.2.3.zip"]
==> Checking container class Hbc::Container::SevenZip
==> Checking container class Hbc::Container::Sit
==> Checking container class Hbc::Container::Rar
==> Checking container class Hbc::Container::Zip
==> Using container class Hbc::Container::Zip for /Users/hafonso/Library/Caches/Homebrew/Cask/android-sdk--25.2.3.zip
==> Executing: ["/usr/bin/ditto", "-x", "-k", "--", "/Users/hafonso/Library/Caches/Homebrew/Cask/android-sdk--25.2.3.zip", "/var/folders/fv/ybc1939142v07032hw4k8tw00000gn/T/d20170518-28422-22l4sd"]
==> Creating metadata directory /usr/local/Caskroom/android-sdk/.metadata/25.2.3/20170518181201.812.
==> Creating metadata subdirectory /usr/local/Caskroom/android-sdk/.metadata/25.2.3/20170518181201.812/Casks.
==> Installing artifacts
==> Determining which artifacts are present in Cask android-sdk
==> 3 artifact/s defined
#<Hbc::Artifact::PreflightBlock:0x007fce539da200>
#<Hbc::Artifact::Binary:0x007fce539da110>
#<Hbc::Artifact::PostflightBlock:0x007fce539da098>
==> Installing artifact of class Hbc::Artifact::PreflightBlock
==> Executing: ["/usr/local/Caskroom/android-sdk/25.2.3/tools/bin/sdkmanager", "tools", "platform-tools", "build-tools;25.0.2"]
==> Warning: File /Users/hafonso/.android/repositories.cfg could not be loaded.
==> Warning: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
==> Warning: Failed to download any source lists!
==> Error: Failed to find package tools
==> Purging files for version 25.2.3 of Cask android-sdk
Error: Command failed to execute!

==> Failed command:
/usr/local/Caskroom/android-sdk/25.2.3/tools/bin/sdkmanager tools platform-tools build-tools;25.0.2

==> Standard Output of failed command:

==> Standard Error of failed command:
Warning: File /Users/hafonso/.android/repositories.cfg could not be loaded.
Warning: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
Warning: Failed to download any source lists!
Error: Failed to find package tools

==> Exit status of failed command:
#<Process::Status: pid 28548 exit 1>
Error: nothing to install/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:115:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:158:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:92:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:163:in `rescue in process'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:149:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:92:in `<main>'

Output of brew cask doctor
$ brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.2.1
caskroom/homebrew-cask (git revision 6a0bb; last commit 2017-05-18)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (1 files, 191.2MB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3622 casks)
/usr/local/Homebrew/Library/Taps/beeftornado/homebrew-rmtree (0 casks)
/usr/local/Homebrew/Library/Taps/cartr/homebrew-qt4 (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-binary (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-php (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-python (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-versions (0 casks)
/usr/local/Homebrew/Library/Taps/manastech/homebrew-crystal (0 casks)
/usr/local/Homebrew/Library/Taps/tsuru/homebrew-tsuru (0 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LC_CTYPE="UTF-8"
PATH="~/.rvm/gems/ruby-2.3.0/bin:~/.rvm/gems/ruby-2.3.0@global/bin:~/.rvm/rubies/ruby-2.3.0/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:~/bin:~/Downloads/axis2-1.6.2/bin:~/Library/Android/sdk/platform-tools:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/local/share/npm/bin:~/.rvm/bin:/usr/local/Homebrew/Library/Taps/beeftornado/homebrew-rmtree/cmd:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"

I cannot reproduce this.

==> Warning: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)

@HudsonAfonso I'd suggest investigating the cause of this java error as this does not seem to be an issue with the cask.

@HudsonAfonso please post the output of brew config.

@miccal
$ brew config
HOMEBREW_VERSION: 1.2.1
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: ea8be174f6009bc9bdec67b13ca501b5b83fc4b8
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: b39cdd5b5f0acda2aa9ca2a27af4e1772b9d4611
Core tap last commit: 8 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.1 build 802
Git: 2.11.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/hafonso/.rvm/rubies/ruby-2.3.0/bin/ruby
Java: 1.8.0_60, 1.7.0_71, 1.6.0_65-b14-468
macOS: 10.12.5-x86_64
Xcode: 8.3.2
CLT: <IP_ADDRESS>.1.1492020469
X11: 2.7.11 => /opt/X11

Thanks @HudsonAfonso, but this definitely seems to be a problem with your multiple Java versions, and not something we can fix in Cask.


Bug: TV function - ON/OFF, but no Volumes control

Describe The Bug
After adding the TV function, there is only option to turn on/off, with no options to increase or decrease the volume
To Reproduce
Just add the TV IR controller into the plugin config and look for the Volume buttons
Expected behavior
'Supported Devices' page says: "TV Allows for On/Off and Volume Controls"
Relevant log output
the volume buttons just missing.

Config for homebridge-switchbot
{
            "name": "SwitchBot",
            "credentials": {
                "openToken": "******",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "****",
                        "configDeviceType": "Bot",
                        "ble": false,
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch"
                        }
                    }
                ],
                "irdevices": [
                    {
                        "deviceId": "****",
                        "configRemoteType": "DIY TV",
                        "logging": "standard"
                    }
                ],
                "logging": "standard"
            },
            "platform": "SwitchBot"
        },

Screenshots

Device & Model
Raspbian 4
Node.js Version
16.13.0
NPM Version
v8.1.0
Homebridge Version
v1.3.9
Homebridge Switchbot Plugin Version
1.6.0
Homebridge Config UI X Plugin Version
v4.41.5
Operating System
Raspbian GNU/Linux Buster (10)

@avinin1 volume control is only available in the Control Center Remote.

@avinin1 volume control is only available in the Control Center Remote.


Add support for return_direct flag in superagent yaml

Summary

Adds support for the return_direct flag on Tools in yaml.

@elisalimli trying to add support for the return_direct flag but it doesn't seem to really work as it should. Could you have a look.

@elisalimli could you have a look at this when you have time. This can be huge.


Abstract Person.id and Transaction.id into our own Id class

Any follow-up on this? Else we can close it as unplanned

Id validation and checking for duplicate Id is needed when restoring Person from json file. Should be similar scenario for txn as well.


How to build a firmware with _thread module

jsut add #define MICROPY_PY_THREAD           (1) to mpconfigboard.h


 with .btn collides with button styles

When <button class="btn"></button> is used, the box shadow of the <button> makes the btn look weird

This can be bodged to be fixed by doing a box-shadow: unset !important
Unticking box-shadow simulation

the button looks like a normal button

imo, ModestaCSS shouldn't use any element selectors, as i have to override them later

This has been resolved now at 9b67dbf


Add Hound config and fix offenses.

Coverage decreased (-4.72%) to 94.78% when pulling ab7107dd6c2f2e5e865d74145866b53dbebe8e52 on hound-config into 82dbf2f8c33980d4b43f99cfe230bed6cc0e4335 on master.

Coverage decreased (-0.0%) to 99.5% when pulling fbeb140fe9f420d281e2eedeae8aef13e7be5e77 on hound-config into 82dbf2f8c33980d4b43f99cfe230bed6cc0e4335 on master.