Add authentication

While trying to read data from a card, I realized that "authentication" is a vital part of the way that MIFARE Classic cards work.  Without the authentication, I could not read the data off the card.
This branch ports the mifare_classic_authentication_block() function from the Adafruit library.  This change allows mifare_classic_read_block() to retrieve data from the card.

@dracode
I think I did not include that because of memory constraints in esp8266, and the fact that I only needed the card ID. However I think you're right and this is important for more advanced applications.
Thanks! 👍

Ah, that's true, I'd forgotten about that.  I am using an ESP-32 for this project so have more memory to play with.  I have some other improvements in mind, but they'd add more overhead.  Perhaps I should just make a full fork and make the modifications there, so people have the option to use whichever best suits their needs.  Thanks!


SqliteException(5): while selecting from statement, database is locked, database is locked (code 5)

I'm using drift isolates because I need to send out multiple searches at one time (b/c of the design of the code, which uses multiple blocs that are independently sending requests to create an isolate and seach the database).
I get this error:
SqliteException(5): while selecting from statement, database is locked, database is locked (code 5)
Causing statement: PRAGMA user_version;
I tried adding in
PRAGMA busy_timeout=500
but that didn't help things
I'm not sure the best way to proceed from here, do i need an isolate manager or something?  I thought that was being handled by Drift Manager?  Thanks!

I've even tried waiting 1 second after doing my Select statement in drift, but even after the database is totally free, the error still comes up, I'm wondering if the error is related with the actual connection from the Isolate in the first place

Nevermind, had the PRAGMA busy_timeout=500 in the wrong connection, once I put that in there, seems that I can't get the error!!


fix getting started link

fixed broken link

Same as https://github.com/facebook/infer/pull/1242

Hi @rompic, looks like you haven't signed the CLA so I'll merge #1242 instead if that's ok.


Add API Spec for HostNetwork NSG Control

Data Plane API - Pull Request

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.

Link to engagement record issue:

Is this review for (select one):

[ ] a private preview
[x] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.

Design Document: https://msazure.visualstudio.com/CloudNativeCompute/_wiki/wikis/CloudNativeCompute.wiki/344656/Auto-associate-HostPort-to-NSG
Previous Open API Doc: https://msazure.visualstudio.com/CloudNativeCompute/_wiki/wikis/CloudNativeCompute.wiki/349393/HostPort-NSG-control
Updated paths:

❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

/azp run


Language Driver Request for Golang

Golang (or just Go) is a popular language and many Go developers could benefit from using TypeDB driver in their code. Considering the already existing instruments we usually want to see for a target language for our drivers, it seems to be a good aim for us.
SWIG to use our native C functions: check (pay attention to the memory management and how it wraps arrays, some typemaps could be found from the official repo).
Bazel rules: check.
Cucumber lib for BDD: check(official!).

The basic checklist, it could be updated with new details in the future:

[ ] Define Go version (check what versions are the most popular and still supported by the devs now, are they backwards-compatible, what version of Go to use for the driver to cover the most part of the Go community)
[ ] Connect Bazel: build and run a sample "Hello, world!" application in Go using Bazel
[ ] Connect BDD: build and run a sample BDD test using Bazel and the Cucumber lib mentioned in the description
[ ] Try SWIG: generate Go-wrappers using swig and the C driver headers manually, explore the content of it
[ ] Connect SWIG generation with Bazel: write additional rules to get the native library for Go, and test it by adding a TypeDB native call into the "Hello, world!" app
[ ] Implement Connection for the driver: database manager, session + transaction manipulations
[ ] Implement Connection BDD tests to cover the previously written code
[ ] Implement the remainder of the driver and BDD tests
[ ] Implement integration tests for code samples (check C# examples)
[ ] Define the distribution process
[ ] Implement CI/CD
[ ] Implement documentation generation
[ ] Release

Choice of Go Version is 1.21 (Go releases)

This is the lowest, currently supported release of Go, and it supports a large number of packages. Go only supports the two most recently released packages, and releases happen every 6 months.
Go supports backwards compatibility entirely until this release, and it breaks it slightly in release 1.22, so this will support our users and should cover most of the Go community.


Error installing REE 1.8.7-2009.10 — ossl.c:119:1: error: unknown type name ‘STACK’

Hi!
I'm trying to use this bad-ass tool to install REE 1.8.7-2009.10 (don't ask!) on our Ubuntu 13.04 Jenkins CI server. I appreciate that this Ruby version is mega-old, but I'm seriously stuck with trying to get it to compile and wondered if anyone had any clues?
I've cleared a couple of hurdles so far, but stumbled on the third. Here's where I've managed to get up to:
jenkins@jenkins:~$ export CONFIGURE_OPTS="--no-tcmalloc -c --with-readline=/usr/share/readline"
jenkins@jenkins:~$ rbenv install ree-1.8.7-2009.10
Downloading ruby-enterprise-1.8.7-2009.10.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/3727eef7b6b1b2f31db7d091328d966e
Installing ruby-enterprise-1.8.7-2009.10...

BUILD FAILED

Inspect or clean up the working tree at /tmp/ruby-build.20131104122418.19336
Results logged to /tmp/ruby-build.20131104122418.19336.log

Last 10 log lines:
ossl_x509crl.c: In function ‘ossl_x509crl_get_revoked’:
ossl_x509crl.c:265:11: warning: pointer type mismatch in conditional expression [enabled by default]
ossl_x509crl.c:273:24: warning: pointer type mismatch in conditional expression [enabled by default]
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/var/lib/jenkins/.rbenv/versions/ree-1.8.7-2009.10/include   -I/var/lib/jenkins/.rbenv/versions/ree-1.8.7-2009.10/include  -fPIC -g -Os -fno-strict-aliasing    -c ossl.c
ossl.c:118:1: error: unknown type name ‘STACK’
ossl.c:119:1: error: unknown type name ‘STACK’
make[1]: *** [ossl.o] Error 1
make[1]: Leaving directory `/tmp/ruby-build.20131104122418.19336/ruby-enterprise-1.8.7-2009.10/source/ext/openssl'
make: *** [all] Error 1

I have libssl-dev installed, and /usr/include/openssl/stack.h is present, but I just can't figure out how to get it recognised (if that's even the right answer!)
I can compile other rubies OK (e.g., 2.0.0-p247 is running like a dream). I found some solutions for RVM, but nothing for rbenv / ruby-build. Any ideas how I might get past this problem?
Thanks in advance,
Richard

@mislav your contribution is a godsend!
I want it to add that this also works with RVM in a simpler way and without errors. In my case it was
rvm install ruby-1.8.7-p249 --patch https://github.com/wayneeseguin/rvm/raw/187ab4c/patches/ree/1.8.6/openssl-1.0.patch --patch https://github.com/wayneeseguin/rvm/raw/187ab4cc/patches/ree/1.8.7/no_sslv2.diff
your second patch gave me the following result during installation
Patch no_sslv2 was already applied.

I combined both patches into a single one to be used with rbenv - https://gist.github.com/specialforest/d74b772eda5058a0f680f52d6e75bc4e/raw/004b9a457a92640d62b67a4828c6a7dd3c616d50/ruby-1.8.7.patch
cat ruby-1.8.7.patch | rbenv -p install 1.8.7
Successfully built Ruby 1.8.7 on Ubuntu 16.04.


Click to toggle folds after loading session

I suspect that this is not a statuscol.nvim issue but I'm not sure, since statuscol does define the click handler for the folding column as "v:lua.ScFa". If I save and then restore a session the behaviour changes so that clicking on the fold only ever closes the fold, it won't toggle it back open. This occurs even if I exclude folds from sessionoptions. Has anyone else had this issue?
Thanks!

Not sure, I don't really use sessions. I'll try to look into it some time.

Thanks!
On Wed, Mar 20, 2024 at 3:57 PM luukvbaal @.***> wrote:

Not sure, I don't really use sessions. I'll try to look into it some time.
—
Reply to this email directly, view it on GitHub
https://github.com/luukvbaal/statuscol.nvim/issues/115#issuecomment-2010837921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOGK3YX7BNYSF6XKP5MRQDYZIH5VAVCNFSM6AAAAABEQ7CZMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQHAZTOOJSGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Perhaps this is solved by https://github.com/luukvbaal/statuscol.nvim/commit/1022f922b77b44c36f8057ac29adbfd89ce86958?


Google Proxy Steps are not correct

[Enter feedback here]
The google proxy steps on this page are incorrect. They need to be adjusted/updated

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

ID: 786477c5-9588-bef4-d273-f53446b151c7
Version Independent ID: 73f6ee70-27a3-d972-f14c-1bd30e59c17c
Content: Troubleshooting access and session controls
Content Source: CloudAppSecurityDocs/troubleshooting-proxy.md
Service: defender-for-cloud-apps
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thank you for your comment. We'll investigate and get back to you.

@jacksondcampbell  - The product team has asked for further clarifications. Can you explain in more detail what issues you have with the steps?

We haven't heard back from you, so we will now close this issue. If this remains an issue, please reply and we will gladly continue the discussion.


Action does not work for private repos

my configuration:
  - uses: trstringer/manual-approval@v1
    with:
      secret: ${{ github.TOKEN }}
      approvers: mj426382, kanicz

This is likely related to https://github.com/trstringer/manual-approval/issues/7. Can you verify that your approvers have write permissions to the repository or org members with read permissions to the repository?

Closing this issue due to inactivity. Please reopen if the previous comment didn't help!

This helped me, I had the same issue, and I found this report before I would have found #7 anyway – it was an approver I had listed who did not have write access to the repo.
Thank you! (It is also quite reassuring that the workflow will fail fast if you start assigning approvers who did not have write access.)


Web API written in IdentityServer3.AccessTokenValidation does not redirect to identityserver4 api for authenticate

hi
my web api sample that configed by IdentityServer3.AccessTokenValidation in StartUp.cs
doest not even redirect to IdentityServer4 api
in my api i wrote this:
var config = new HttpConfiguration();
config.MapHttpAttributeRoutes();
    app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions
    {
        Authority = "http://localhost:6001",
        RequiredScopes = new[] { "api" },

        DelayLoadMetadata = true
    });

    app.UseWebApi(config);

and i configed my identityserver4 to port 6001,
but when i start both of them, my api/test does not redirect to identityserver4 for authenticate
please help me

When authentication fails for a web api, a 401 is returned not a 302.

yes i exactly get 401 status code with this message 'Authorization has been denied for this request'
i think it means web api doest not recognize identity server to Authorize
despite my identity server app is running and when i connect to it by web api that use of IdentityServer4.AccessTokenValidation it works, but with Web API written in IdentityServer3.AccessTokenValidation  i get that message

i exactly implement like CrossVersionIntegrationTests-master sample

Turn on logging in Katana to get more information.

Any update?

@leastprivilege I 'll try it


reference to drilldowns add-on

I added the drilldowns to a separate package as you mentioned.
However it seems you are holding off on publishing 0.3.1 to atmosphere for now? Perhaps I will just wait until you're ready on your end to add drilldowns.

I have no clue why @MaazAli isnt publishing :( The other two packages are not published either...

We're using v0.3.0 for this highcharts package as the latest version. The other packages have been published and this one's update has also been published.

Nice :+1:


Add status filter to Cable list view

Environment

Python version: 3.6.x
NetBox version: 2.5.8-dev

Proposed Functionality
Add filter option in the Cable list view to filter on Status field

Use Case
This field should be filterable in the list view.

Database Changes
None

External Dependencies
None

My error, had wrong build enabled and saw this was fixed in 2.5.7 already


Various Infra updates

merging without fixing Danger and Pod Lint workflows — not entirely sure what's wrong there.

Danger is kind of just broken on GitHub actions. should probably remove.
pod lib lint works for me locally. no time to debug GH Actions right now.


Upload Advisory should only require the file, everything else should be determined by the server

Current status:
https://github.com/trustification/trustify/blob/52b2cc9dfaa325ffcfdaee30e38371e444443b1f/modules/ingestor/src/endpoints/advisory.rs#L14C1-L26C23
#[utoipa::path(
    tag = "ingestor",
    request_body = Vec <u8>,
    params(
        ("format" = String, Query, description = "Format of the submitted advisory document (`csaf`, `osv`, ...)"),
        ("location" = String, Query, description = "Source the document came from"),
    ),
    responses(
        (status = 201, description = "Upload a file"),
        (status = 400, description = "The file could not be parsed as an advisory"),
    )
)]
#[post("/advisories")]

Problem

Format & location query parameters are required to upload a file

It means that the UI can not just take a file and upload it. It requires the user fill a form to specify the format of the file he is uploading, which is in my opinion prone to error and not user friendly. Imagine yourself uploading a file using CURL but you can not just take a file and upload it, but you have to determine which is the format of it. The problem is for humans, probably not for other apps
Proposed solution

The FILE should be the only required thing, everything else should be determined by the server

For the location query parameter: Technically the UI can be deployed in a different domain than the Backend, There can be multiple UI domains pointing to the same backend. location should be determined in the backend side as the relative path of the rest endpoint used e.g. /advisories
for the format query parameter. There are JSON Schemas for each of the formats supported. Why we can just use the schemas to validate to which one the file belongs to? e.g. User uploads a file => the server compares the file to each of the supported json schemas => the format is determined by the server as the schema to which the file matches. That should be it. The JSON Schemas are

CSAF Schema: https://github.com/oasis-tcs/csaf/blob/master/csaf_2.0/json_schema/csaf_json_schema.json

OSV Schema https://github.com/ossf/osv-schema/blob/main/validation/schema.json

CVE
Schema: https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json

In my opinion the meaning of location isn't defined clearly enough at the moment. To my understanding it has nothing do to with any of our locations, but the location the document originated from. e.g. when scooping up Red Hat data via CSAF, the base URL where the document was found.
When manually uploading through the frontend, that information could either be "frontend", or <the user uploading it>, or actually some source location the user knows about and would need to enter it.

I see... so, may I suggest to relax the location parameter so we make it optional?. If the user does no specify we can set a default value like location=rest-api. I still think the file should be the only mandatory thing anyone should send to the server

If the user does no specify we can set a default value like location=rest-api.

Yup. I would leave that handling to the server side. A fixed string, the subject from the OIDC token, … but it shouldn't be a concern of the user, unless the user wants to attach that information.

I think location should simply go away. SHA should be sufficient to identify something.

If we want to track who uploaded a document, that should be a join to a not-yet-existing User table.

I guess ultimately, do we care? Or do we care that "we have seen some VEX, about some Product, signed by Red Hat"?

That being said, if an importer needs to track "locations" it has already grabbed, for its own logistics, that's fine.

The issue pointed out 2 things that I suggested to be removed location and format. It seems we are kind of in the same page in regards to location... nobody mentioned format, I'll assume that it will be removed from the query parameters and not be required right xD?

I think we'll need some designation of format, so that the system knows what format to attempt parsing/ingesting of a given document type.


Progressbar appears after the end of the script

Hello, so this is more of a question than an actual issue.
I have a bar that's setup like this:
widgets = [
' [', progressbar.ETA(), '] ',
progressbar.Percentage(), f"{cyan}", progressbar.Bar(), f"{nc}",
]
bar = progressbar.ProgressBar(max_value=100, widgets=widgets)

It works fine, it looks like this:
[ETA:  00:00:00] 100%|############################################################################|
But the problem is that at the end of the script, I get this bar:
[Time:  0:00:24] 100%|############################################################################|
I think that it's outputting the time it took for the previous bar to finish. How do I make it stop doing this?

This happens because the bar was not finished properly. You can either call bar.finish() or use the progress bar using a with statement so it is closed automatically.

This happens because the bar was not finished properly. You can either call bar.finish() or use the progress bar using a with statement so it is closed automatically.

That solved it. Thank you very much for the quick response!

That solved it. Thank you very much for the quick response!


add nacos config initialization python script

Ⅰ. Describe what this PR did
add nacos config initialization python script
Ⅱ. Does this pull request fix one issue?
fix #1172
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1174 into develop will increase coverage by <.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #1174      +/-   ##
=============================================
+ Coverage      41.91%   41.92%   +<.01%
  Complexity      1390     1390
=============================================
  Files            247      247
  Lines          10288    10288
  Branches        1348     1348
=============================================
+ Hits            4312     4313       +1
  Misses          5411     5411
+ Partials         565      564       -1

Impacted Files
Coverage Δ
Complexity Δ

...server/store/file/FileTransactionStoreManager.java
45.99% <0%> (+0.34%)
19% <0%> (ø)
: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 2a528dc...fcb273e. Read the comment docs.


haskell-twilio: disable test suite

It requires some environment variables to be set in order to run against
a Twilio account. Not something we want to do I don't think.
@peti not sure if the correct place for this kind of thing is here or in cabal2nix.

If the test suite is designed in a way so that we cannot run it in Nixpkgs -- which seems to be the case here --, then it's better to disable it in cabal2nix. That will work for all versions of the package, whereas the override we have in this PR applies only to whatever version we currently use by default in default package set; other versions that might exist will still fail. Not sure whether that's a problem or not.

Makes sense. Opened https://github.com/NixOS/cabal2nix/pull/224 instead.


High level Layouting

Possible Inspirations:
matplotlib
@datseris likes:
https://matplotlib.org/api/_as_gen/matplotlib.pyplot.subplot2grid.html
which allows:
ax1 = subplot2grid((2,3), (0,0), colspan = 2, rowspan = 2);
ax2 = subplot2grid((2,3), (2, 0))
ax3 = subplot2grid((2,3), (1, 2))

I'm not a 100% what properties of this are important and considered as nice by @datseris.
Plots.jl
http://docs.juliaplots.org/latest/layouts/#advanced-layouts
l = @layout [  a{0.3w} [grid(3,3)
                         b{0.2h} ]]
plot(
    rand(10,11),
    layout = l, legend = false, seriestype = [:bar :scatter :path],
    title = ["($i)" for j = 1:1, i=1:11], titleloc = :right, titlefont = font(8)
)

Pros:

pretty concise syntax
easy to have one command for multiple subplots for each series
plots can be first created and then put together in a layout, which makes it possible to compose plots from different sources

Cons:

i've never fully understood in all cases, how data maps to a series/subplot
it seems really unnecessary to have this as a macro and I literally always need to look up the syntax

vbox/hbox
I learned to like this one (after an initial disliking by me). It's trivial to remember what it does, and you can compose plots after they got created in a pretty flexible way, especially when we add the ability to define widths for each subscene. I also started estimating sizes of a scene and using that  to layout out the plot.
So on Makie master this works:
s1 = slider(LinRange(0.01, 1, 100), raw = true, camera = campixel!)
s2 = slider(LinRange(-2pi, 2pi, 100), raw = true, camera = campixel!)
data = lift(s2[end][:value]) do v
    map(LinRange(0, 2pi, 100)) do x
        4f0 .* Point2f0(sin(x) + (sin(x * v) .* 0.1), cos(x) + (cos(x * v) .* 0.1))
    end
end
p = scatter(data, markersize = s1[end][:value])
hbox(p, vbox(s1, s2))

What we can do in Makie
We have roughly 3 ways to layout a graphic in Makie:

translate/scale/rotate a plot/scene directly to position it
create a subscene with a static or dynamic size
resize and position an existing scene

I'd say we use these tools to create more high level layouting functions & recipes, and extend the current vbox + hbox based capabilities

My "fancy axes" example:

Hello,
so let me simply first try to stress how important this is. If Makie is to become the standard plotting package, in my eyes it should also be the standard scientific plotting package. Most of scientific figures are composed of subplots, you will very rarely encounter a scientific figure to be a single plot of data.
Therefore this issue is super important!
The good parts about subplot2grid is that:

It relies on the intuitive notion of an integer grid, that everyone understands.
Because all axis are rectangular grids (and polar axis also fit inside rectangles) this allows one to define a very intuitive interface (which is what the function subplot2grid achieves.
It allows one to plot on each created axis sequentially. This is extremely important as 99% percent of your time creating your figure is spent on the code and how you will plot each axis. Being able to see them as you plot them one by one is crucial. For the plots I prepare for e.g. my own publications, the plotting code is ~20 to 50 lines of code for each individual axis, so I really need this sequential plotting.

I am not familiar with the @layout approach, but it seems to have the same end result as subplot2grid. However, I do not know whether it allows you to plot axis sequentially. (Definitely not in the example you posted).

I still think combinations of hbox and vbox is not the way to go for and user. The complication and amount you would have to call each function is simply too much.
Let's take the following case: I want to create a big 2x2 axis in the center of my figure, and to the left and right of it 4 1x1 axis. In PyPlot (subplot2grid) this is:
figure(figsize = (10, 5))
axbig = subplot2grid((2,4), (0,1), colspan = 2, rowspan = 2)
ax1 = subplot2grid((2,4), (0,0))
ax2 = subplot2grid((2,4), (1,0))
ax3 = subplot2grid((2,4), (0,3))
ax4 = subplot2grid((2,4), (1,3))

and I can plot to any of the ax variables in any sequence I want, and even go back and forth, e.g. add a line in axbig, then add a line in ax1 then add a line back into axbig. This interactiveness is crucial for a fast workflow.
Is the above possible with hbox+vbox combinations? If yes, how easy is it?

Here is the version with vbox/hbox:
p1 = scatter(rand(10))
p2 = lines(rand(10), rand(10))
p3 = image(rand(100, 100))
p4 = contour(rand(100, 100))
x = 0:0.1:10
p5 = lines(0:0.1:10, sin.(x))
pscene = vbox(
    hbox(p1, p2),
    p3,
    hbox(p4, p5)
)

# able to add new plots to existing ones
# without semicolon shows subscene, which messes things up :D
scatter!(p2, rand(10), rand(10));
pscene

# You can also combine the subplots in new layouts:
pscene = hbox(
    vbox(p1, p2),
    p3,
    vbox(p4, p5)
)

Okay, provided that vbox, hbox will be accepting width/height span keywords in the future, then this can also achieve the same results without additional verbosity. At the moment I don't see how you can make the middle plot have double width.
Another thing I noticed: the middle plot has incorrect axis spanning, i.e. it is shorter than the other 2 hboxes.

yeah, and the font sizes are messed up^^ needs some fixing here and there!

That's nice too. Does it also support fancier layouts with overlays, different heights and widths etc?
I guess you can specify a layout in a recipe easily enough too?

Does it also support fancier layouts with overlays, different heights and widths etc?

As I said you have total freedom in Makie:

translate/scale/rotate a plot/scene directly to position it
create a subscene with an arbitrary static or dynamic size
resize and position an existing scene

Will be a bit of work to implement all the higher level features like linking axis etc ;)

It would also be nice to have layouting align subplots axis lines within the bounding boxes, if that is possible.

I was wondering what the progress on this last comment it. I am trying to create a figure with 3 bar plots where their x-axis should be shared. Is there currently a way to do that?

Alternatively, and more specifically, is there a way to get the bounding box of just the axis, i.e. without axis labels and tick labels? Then I could apply transformations to make sure those were the same size. At least in my usage, it is rarely the case that I want to have differently size texts for the different plots. Thus, it would be cool if transformations could be applied to, in a sense, everything except text. My apologies if this is already documented somewhere.

hm, I need to figure out what to do with textsize...maybe there is a simple fix we can do, to just improve the textsize issue ;)

Ideally pyplot above should not move the axis text left on the bottom plot :-)

Hm, I would say that the axis texts on the top two plots should be move left to match with the text on the bottom plot. That's what I would do manually to this plot, anyway. That's a minor concern, though : ).

I am still playing around with this, trying to get things to align properly. I came up with this example to illustrate what I am hoping to achieve:
using AbstractPlotting, Makie

function plot_figure(scene=Scene())
    margins = map(pixelarea(scene)) do hh
        xmargin = 0.05*hh.widths[1]
        ymargin = 0.05*hh.widths[2]
        Point2f0(xmargin, ymargin)
    end
    area1 = map(pixelarea(scene)) do hh
        xmargin = margins[][1]
        ymargin = margins[][2]
        height = (hh.widths[2]-2*ymargin)/2
        width = (hh.widths[1]-2*xmargin)
        IRect(xmargin, ymargin+height, width, height)
    end
    area2 = map(pixelarea(scene)) do hh
        xmargin = margins[][1]
        ymargin = margins[][2]
        height = (hh.widths[2]-2*ymargin)/2
        width = (hh.widths[1]-2*xmargin)/2
        IRect(xmargin, ymargin, width, height)
    end
    area3 = map(pixelarea(scene)) do hh
        xmargin = margins[][1]
        ymargin = margins[][2]
        height = (hh.widths[2]-2*ymargin)/2
        width = (hh.widths[1]-2*xmargin)/2
        IRect(xmargin+width, ymargin, width, height)
    end

    scene1 = Scene(scene, area1)
    scene2 = Scene(scene, area2)
    scene3 = Scene(scene, area3)
    x = range(0.0, stop=4*pi,length=100)
    y = sin.(x)
    lines!(scene1, x, y)
    lines!(scene2, x[1:50], y[1:50])
    lines!(scene3, x[51:end], y[51:end])
    scene
end

plot_figure()

One question I have is why are the widths of the two rows not the same? My idea was to leave a 5% margin on all sides, and then have each plot fill out the rest according to it area specification. My suspicion is that the axis itself takes up some of that area, which is probably why the areas don't match. Is there anyway to amend this example to get a good alignment?

Yes it looks like the box aligns along the axis but the margins have different sizes. I think that's because the bottom two subplots don't know that they are subplots.
I guess an easy fix would be to have the fonts of all subplots inherit from the font settings of the total layout. That's the preferred default anyway - all fonts in the same layout should be the same by default - and would fix the axis problems in this case.
I guess something a little more explicit would be needed to make it possible to align axis ticks across x and y axes among the subplots.
A different issue is what to do for aligning axes when some of the subplots have legends outside the plot area, so that the plot area differs among subplots.

Aren't font sizes generally in data coordinates?

I hope not?

I know that, as Simon has stated before, every element of a scene can be scaled, rotated and translated at will, so in principle it should be possible to align everything perfectly, albeit with some manual work. I don't mind doing this manual work for now. In fact, even with the excellent matplotlib package for Python, I frequently find myself manually tweaking things like axes.position, etc. I have, however, not been able to decipher how I can do something similar in Makie. Transforming a scene is fairly easy, of course, and can usually be achieved by something like scale!(scene, scale_factor), but how do I transform individual elements within a scene, e.g. just the left axis, or just the text? Thanks again!

Not sure if this warrants a separate issue, so I'll just add it here for now. I was trying (yet again) to align some plots and I came across an apparent bug where scenes would not fill out the entire area allotted to them. The following example illustrates the point. Notice that the height in pixels of the scene in the second column is equal to the height of the two scenes in the first column, plus a padding value between them, but in the resulting plot, the scatter plot in the second column has a smaller height than the two scatter plots in the first column.
using Makie
import AbstractPlotting: pixelarea
using Test

main_scene = Scene(resolution=(800,600))
_padding = 0.05f0
padding = map(pixelarea(main_scene)) do hh
    round(Int64, _padding*maximum(hh.widths))
end
area1 = map(pixelarea(main_scene)) do hh
    pad = padding[]
    w = 2*div(hh.widths[1]-3*pad,3)
    h = div(hh.widths[2]-3*pad,2)
    FRect(Point2f0(pad, pad), Point2f0(w,h))
end

area2 = map(pixelarea(main_scene)) do hh
    pad = padding[]
    w = 2*div(hh.widths[1]-3*pad,3)
    h = div(hh.widths[2]-3*pad,2)
    FRect(Point2f0(pad, h+2*pad), Point2f0(w,h))
end

area3 = map(pixelarea(main_scene)) do hh
    pad = padding[]
    w = div(hh.widths[1]-3*pad,3)
    h = hh.widths[2] - 2*pad
    FRect(Point2f0(2*w+2*pad, pad), Point2f0(w,h))
end
@test area1[].widths[2] + area2[].widths[2] + padding[] ≈ area3[].widths[2]
scene1 = Scene(main_scene, area1)
scene2 = Scene(main_scene, area2)
scene3 = Scene(main_scene, area3)
scatter!(scene1, rand(10), rand(10),color="red")[end]
scatter!(scene2, rand(10), rand(10), color="blue")[end]
scatter!(scene3, rand(10), rand(10), color="orange")[end]
for scene in [scene1, scene2, scene3]
    AbstractPlotting.update_limits!(scene, FRect(Point2f0(-1.0, -1.0), Point2f0(2.0, 2.0)))
end
main_scene

@grero you could try to fix the areas of the Scenes through the resolution keyword?

About the transformation of individual things in the Axis - I don't think that level of granular control is possible because of how the axes are drawn - it's all one text plot.

all text is linked to one "plot".

How?

Textbuffer right?

Ah, but each axis has their own textbuffer!

Right, but I can't translate the left label individually, for example - that would require a refactor.

Just an update on my previous attempts. I did manage to scale the panels the way I wanted to, but I had to go down a pretty deep rabbit hole to get there. The code for the figure is here.
include("src/test1.jl")
scene = test2()

Is there a way to achieve the same thing using higher level functions? Specifically, I ended up manually adjusting the camera for the tall panel, using the ratio of the heights of the pixelarea for the tall and short panels. This still didn't quite get me there, which is why there is a fudge factor of 0.98 that I needed to include.

Not yet, we don't have quite that level of axis control.  Part of the problem is that the axes are baked into dataspace.  @SimonDanisch, could we explore the idea of the axis as a special subscene, which exists at the pixel level (i.e., is a "pixel child" of the parent Scene, and just draw to that canvas?  It would allow precise bounding boxes and positions to be calculated so as to align axes, and we could link the tick optimization code to that, possibly leading up to an implementation of the link kwarg.

We have high level layouting working in https://github.com/jkrumbiegel/MakieLayout!

Implemented by: https://github.com/JuliaPlots/AbstractPlotting.jl/pull/449

we can do stuff like this now:


It should be easy to configure an audit log

Expected Behavior
I think a core part of an authorization service nowadays is to keep track of an audit log:
Geir logged in successfully from his samsung galaxy 42
Geir removed samsung galaxy 40 as a valid device for logging in to his account
Geir failed login from device A
Geir added device A as a new client
Geir was logged out on device A because the authorization code was reused
Geir was logged out from all existing sessions because a new password was set
This log would be accessible to the user (database accessed by a service in the authorization server, for preference), along with being shipped offsite to write-only storage.
Current Behavior
There is an AuthenticationSuccessHandler and AuthenticationFailureHandler. These are awkward/impossible to use to build the above kind of audit log because the FailureHandler in particular does not keep enough information about the failure cases to be able to make a machine-parsable audit log.
I think some more provisions need to be made in the code to be able to capture this kind of logging.
I don't think it should/can live in a filter - this kind of logging needs detailed contextual information about the things that go on in the authentication providers in order to be able to gather the actionable information and send it on to some kind of audit service.
My feeling after having read through the code is that the authentication providers should be instrumented to call an abstract auditing service that users of SAS can then implement. I would like to provide a basic JDBC-based implementation of the service along with some documentation to help users make use of this feature.
Context
Being able to present an audit log to a security auditor is a core need for assessing an authentication service, see e.g. https://owasp.org/Top10/A09_2021-Security_Logging_and_Monitoring_Failures/ where missing logging of login and failed login is explicitly mentioned.

Somewhat related ticket: https://github.com/spring-projects/spring-authorization-server/issues/1240

@geirhede

I think a core part of an authorization service nowadays is to keep track of an audit log

I totally agree and this is critical information that should be provided from an authorization server product/service. However, Spring Authorization Server is a framework that enables these products to be built from with all the product-specific features, e.g. auditing.
Spring Authorization Server's sole focus is providing implementations of the various OAuth2/OIDC protocols. Product features are the responsibility of the consuming application/product. Some examples of product features are: UI for managing clients and authorizations, UI for removing existing consents, plugin integration with IdP's for federation, UI for access token mapping using client/user identities, logging and auditing, etc.

the authentication providers should be instrumented to call an abstract auditing service that users of SAS can then implement

There are no plans to add an Audit Service, especially because there is no standard OAuth2/OIDC specification that details this. Auditing/logging is usually very different across applications as the requirements will vary.

this kind of logging needs detailed contextual information about the things that go on in the authentication providers in order to be able to gather the actionable information and send it on to some kind of audit service

The description in this issue is very general and cannot be actioned upon. We require very specific details on the enhancement request. Having said, I'm going to close this issue. But if you are having challenges with a specific logging/auditing requirement in one of the Filter's or AuthenticationProvider's, then please log a detailed issue and  we can address each one separately.


Spelling mistake in tensorflow.org

https://www.tensorflow.org/versions/master/resources/index.html
In the white paper section:
"...can be found in out white paper"

Thanks for reporting, fix is on the way.
On Wed, Dec 16, 2015 at 5:04 PM mac craig<EMAIL_ADDRESS>wrote:

https://www.tensorflow.org/versions/master/resources/index.html
In the white paper section:
"...can be found in out white paper"
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/529.

No problem!


Mix mode tabs and spaces

Hi,
I have found something strange here. When I set the editor to use spaces for tabs and afterwards paste in code from an external editor where tabs are used, the calculation of spaces to insert when tab is pressed seems to be wrong. The problem seems to be, that the inserted tabs are counted as characters. Here is an example:

Set the editor to use 4 spaces for tabs, set the whitespaces to be displayed
Go to Notepad++ or similar, ensure that tabs are used instead of spaces, create these two lines:

a(tab)aa
aa(tab)(tab)a

Copy them back to the avalon editor
Go to the end of each line, and try to get the line ends on the same imaginary tab raster by pressing tab only

This is not possible. Compare the use case to the Notepad++ handling.

I did steps 1-3 and everything looked correct, the editor expanded each tab to four spaces.
What do you mean by "try to get the line ends on the same imaginary tab raster by pressing tab only"?

OK, I wanted to demonstrate the problem by working with the displayed column the caret is curently on, but even this is not correct. I have installed SharpDevelop 5.1 to have no influence from our code.  If the caret is behind the b, SD displays me Column 17. If I now press return and fill the next line with some character, so that the caret is again behind the b, SD displays Column 14, which I have also expected for the first line.

I finally understand the problem:

OK, I wanted to demonstrate the problem by working with the displayed column the caret is curently on, but even this is not correct. I have installed SharpDevelop 5.1 to have no influence from our code.

AvalonEdit by itself does not calculate something like a "column". Even the "visual column" concept is not what you are looking for. The visual length of a tab character in AvalonEdit is always 2 (it consists of a "tab" glyph character and a space). The visual length of a space is always 1.
But, the column calculation you are referring to has to take the width of a tab character into account, which is customizable. As an example you provide SharpDevelop. If we take a look at how SharpDevelop calculates the line, column and offset numbers in the status bar, we have the following code:
https://github.com/icsharpcode/SharpDevelop/blob/8a1a71cc801b4bed1668a72638d244ba47637434/src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/CodeEditor.cs#L389-L399
389	var document = this.Document;
390	int lineOffset = document.GetLineByNumber(this.Line).Offset;
391	int chOffset = this.Column;
392	int col = 1;
393	for (int i = 1; i < chOffset; i++) {
394		if (document.GetCharAt(lineOffset + i - 1) == '\t')
395			col += CodeEditorOptions.Instance.IndentationSize;
396		else
397			col += 1;
398	}
399	SD.StatusBar.SetCaretPosition(col, this.Line, chOffset);

The line and offset numbers are taken straight from AvalonEdit's caret position. The column is calculated by counting each character as 1 except for tabs, which are counted as 4 (or any other number you configure). So an input like "(space)(space)(tab)" is visually on column 4, However SharpDevelop calculates 1 + 1 + tabSize (which is 1 + 1 + 4 = 6).
You are free to create your own way of calculating the (visual) column. As the code above is not part of AvalonEdit and the "bug" is somewhere else, I am going to close this issue.


Hyperlinks?

Checked the documentation so I apologize if I missed this but is it possible to hyperlink the individual states?

@mattortega did you ever figure out how to add hyperlinks to individual states?

Any update on whether this is possible? Would love to use it for a project that needs each state to be an anchor!

I used a different map plugin called jqvmap, which allows for hyperlinking.
https://jqvmap.com/
Sent from my iPhone

On Sep 13, 2016, at 6:07 PM, cfxd<EMAIL_ADDRESS>wrote:
Any update on whether this is possible? Would love to use it for a project that needs each state to be an anchor!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I actually ended up making an SVG and using anchors.


[FIX] Delete cla.yml

Https://cla-assistant.io/ will now handle the CLA agreement.

I have read the CLA Document and I hereby sign the CLA


Unable to switch applications when focus is on VS Code

Issue Type
Bug
Description

Connect to the Ubuntu 14.04.5 LTS (Gnome Classic 3.8.4) remotely using the TurboVNC server
Open the VS Code and an arbitrary application (e.g. terminal)
Put the focus on the VS Code window
Use Alt+Tab shortcut to switch to the other application window or alternatively, click on the other application in the taskbar
Actual result:
The focus is still on the VS Code window
Expected result:
The focus is switched to the other application window

VS Code Info
VS Code version: Code 1.20.1 (f88bbf9137d24d36d968ea6b2911786bfe103002, 2018-02-13T15:31:21.019Z)
OS version: Linux x64 4.4.0-112-generic

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz (32 x 1328)

Load (avg)
2, 2, 1

Memory (System)
251.80GB (246.24GB free)

Process Argv
/usr/share/code/code --unity-launch

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

Bookmarks
ale
0.18.1

project-manager
ale
0.24.0

path-intellisense
chr
1.4.2

githistory
don
0.4.0

vscode-auto-open-markdown-preview
hnw
0.0.4

vscode-cudacpp
kri
0.1.1

vscode-todo-parser
min
1.9.1

python
ms-
2018.1.0

cpptools
ms-
0.15.0

vscode-code-outline
pat
0.0.13

Reproduces without extensions

Duplicate https://github.com/Microsoft/vscode/issues/3451

The workaround provided in #3451 is not working for me. When I start the VS code from terminal with --verbose. the output starts with:
[22771:0228/164210.811464:ERROR:gl_surface_glx.cc(406)] glxQueryVersion failed [22771:0228/164210.811523:ERROR:gl_initializer_x11.cc(148)] GLSurfaceGLX::InitializeOneOff failed. [22771:0228/164210.813764:ERROR:gpu_child_thread.cc(324)] Exiting GPU process due to errors during initialization [main 4:42:11 PM] Starting VS Code ...

@rvavrik we don't really support remoting software at the moment. These issues typically have their roots in Chromium, not VS Code, and are too difficult to diagnose and resolve unfortunately.


Is the Kontent Management SDK thread safe?

Motivation
I am wondering if this .NET library is thread-safe? I instantiated it as a singleton using .NET Core's out of the box DI registration mechanism and was wondering if that is OK or not.
FYI, this is how I am registering the client in .NET Core. Let me know if this is incorrect:
        var managementOptions = new ManagementOptions();
        Configuration.GetSection("ManagementOptions").Bind(managementOptions);

        services.AddSingleton<ManagementClient>(new ManagementClient(managementOptions));

Hi @xantari ,
the SDK itself does not contain any static state. It also doesn't violate any of Microsoft's managed threading best practices. I think it's actually a good idea to use it as a singleton in order to reuse the HttpClient. As the MS docs say:

HttpClient is intended to be instantiated once and reused throughout the life of an application.

It could be even better to use the HttpClientFactory as suggested in the other conversation of ours.


Keyboard does not push up the widgets shown at the bottom since v3.10 in CustomScrollView with SliverToBoxAdapter & SliverFillRemaining

Steps to reproduce
Before Flutter 3.10 (on v3.7.12 to be exact) I was always using the system of CustomScrollView with SliverToBoxAdapter & SliverFillRemaining in many of my screens, including login screen with 2 fields, to be able to push the button, placed in the bottom of the screen, to top with keyboard opening.
Since v3.10 including the latest 3.16.6 the behaviour has changed and I can't find what exactly.
Expected results
When opening a keyboard the widgets placed in SliverFillRemaining should be pushed up to be visible on the screen
Actual results
The keyboard shows up over the widgets and the screen in not scrollable
Code sample
Code sample
return Scaffold(
      appBar: AppBar(
        leading: const CustomBackButton(),
        elevation: 0,
      ),
      body: CustomScrollView(
        slivers: [
          SliverToBoxAdapter(
            child: Padding(
              padding: const EdgeInsets.all(16),
              child: Column(
                children: [
                  Text(
                    "Ravis de vous revoir !",
                    textAlign: TextAlign.center,
                    style: Theme.of(context).textTheme.headlineSmall,
                  ),
                  const SizedBox(height: 30),
                  FormBuilder(
                    key: formKey,
                    child: Column(
                      children: [
                        ShopperField(
                          child: FormBuilderTextField(
                            name: emailFieldName,
                            autofocus: true,
                            autofillHints: const [AutofillHints.email],
                            textInputAction: TextInputAction.next,
                            keyboardType: TextInputType.emailAddress,
                            decoration: const InputDecoration(
                              labelText: emailFieldLabel,
                            ),
                            validator: FormBuilderValidators.compose([
                              FormBuilderValidators.required(
                                errorText: "Veuillez remplir ce champ",
                              ),
                            ]),
                          ),
                        ),
                        const SizedBox(height: 16),
                        ShopperField(
                          child: FormBuilderPasswordField(
                            name: LoginScreen.passwordFieldName,
                            textInputAction: TextInputAction.done,
                            autofocus: false,
                            decoration: const InputDecoration(
                              labelText: LoginScreen.passwordFieldLabel,
                            ),
                            onSubmitted: (string) {
                              _ValidateButton._onSubmitPressed(ref, formKey);
                            },
                            validator: FormBuilderValidators.compose([
                              FormBuilderValidators.required(
                                errorText: "Veuillez remplir ce champ",
                              ),
                            ]),
                          ),
                        ),
                      ],
                    ),
                  ),
                ],
              ),
            ),
          ),
          SliverFillRemaining(
            hasScrollBody: false,
            child: SafeArea(
              child: Padding(
                padding: const EdgeInsets.all(16),
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.end, // <= This places my widgets at the bottom on SliverFillRemaining
                  children: [
                    _ValidateButton(formKey),
                    const SizedBox(height: 16),
                    TextButton(
                      onPressed: () => context.router.push(
                        PasswordResetRoute(
                          currentEmail: formKey.currentState
                                      ?.value[LoginScreen.emailFieldName]
                                  as String? ??
                              '',
                        ),
                      ),
                      child: GradientText(
                        "Mot de passe oublié ?",
                        style: Theme.of(context)
                            .textTheme
                            .labelMedium
                            ?.copyWith(fontWeight: FontWeight.w600),
                        colors: GetIt.I.get<YperTheme>().primaryGradient.colors,
                      ),
                    ),
                  ],
                ),
              ),
            ),
          ),
        ],
      ),
    );

Screenshots or Video
Current behaviour
https://github.com/flutter/flutter/assets/3662505/1c02c07c-2548-454e-b739-d069f21798fd

Past behaviour
https://github.com/flutter/flutter/assets/3662505/dab772f2-e433-48fd-b102-9f6d22ad0cce

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Flutter 3.16.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 46787ee49c (il y a 2 jours) • 2024-01-09 14:36:07 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.6, on macOS 13.6.3 22G436 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.85.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

I think Git has added the same link for both videos. Here is the behaviour I had before v3.10 :
https://github.com/flutter/flutter/assets/3662505/dab772f2-e433-48fd-b102-9f6d22ad0cce

Thanks for the report @PollyGlot
The code sample seems to have lot of custom implementation with third party package such as get. Does the reported behavior occur without third party packages. Also, is it possible to provide complete runnable but reproducible code sample without custom implementation, so as to properly address the issue ?

Hello @darshankawar,
Thanks for the advice, I just created the basic app without external lib and I can confirm that it works as expected. I will try to investigate the cause of my problem.
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: false,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: CustomScrollView(
        slivers: [
          SliverToBoxAdapter(
            child: Padding(
              padding: const EdgeInsets.all(16),
              child: Column(
                children: [
                  Text(
                    "Hello everyone !",
                    textAlign: TextAlign.center,
                    style: Theme.of(context).textTheme.headlineSmall,
                  ),
                  const SizedBox(height: 16),
                  const Column(
                    children: [
                      TextField(
                        decoration: InputDecoration(
                          border: OutlineInputBorder(),
                          hintText: 'Enter a search term',
                        ),
                      ),
                      SizedBox(height: 16),
                      TextField(
                        decoration: InputDecoration(
                          border: OutlineInputBorder(),
                          hintText: 'Enter a search term',
                        ),
                      ),
                    ],
                  ),
                ],
              ),
            ),
          ),
          SliverFillRemaining(
            hasScrollBody: false,
            child: SafeArea(
              child: Padding(
                padding: const EdgeInsets.all(16),
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.end,
                  children: [
                    ElevatedButton(
                      onPressed: () => {},
                      child: const Text('Login'),
                    ),
                    const SizedBox(height: 16),
                    TextButton(
                      onPressed: () => {},
                      child: const Text("Forgot password ?"),
                    ),
                  ],
                ),
              ),
            ),
          ),
        ],
      ),
    );
  }
}

Finally the problem was fixed with removing MediaQuery widget with MediaQueryData.fromView(View.of(context)) that was used as a parent for MaterialApp.router.

Closing as resolved based on above comment.


S controllers compatibility

Right now, using S controllers works for basic input, but has a number of issues:

When 2 triggers are pressed at the same time (this may also apply to buttons), the board stops receiving input and requires a disconnect/reconnect to work again.
No vibration is present.

Can confirm no vibration is present on s controllers as well, and when using a vibration test program i had to disconnect/reconnect the device.  I did not have the same issues with analogue triggers or pressing multiple buttons at the same time however.

Would be happy to accept a patch for s controller compatibility, but as I don't have one myself I can't test it!

Would be happy to accept a patch for s controller compatibility, but as I don't have one myself I can't test it!

You have a Patreon?  Can send you the funds for one.

Am having the same rumble issue with my S controller. It locks up identically to the way the duke controller does in the video.
Also I am not having the lockup from pressing both triggers either. I played through the entirety of Splinter Cell Pandora Tomorrow on PC with this mod (pc version has no rumble).
Furthermore, it seems any rumble input locks up the controller. Have tried both Dolphin and XEMU emulators and rumble from both locks up the controller. Additionally, native Xinput games on PC lock up the controller with rumble input.
I would be happy to send one of my S controllers as they have already been converted to USB!
Alternatively if you could show how you patched the duke controller rumble I could work on a fix myself.

Also it warms my heart that someone else (two people even!) actually made one of these silly things <3


Skip checks

@mellenburg can I get a review please?

This can be closed as the work was moved to here: https://github.com/mesosphere/advanced-tests


Feature request: Passing store to have it configured

Hi,
I have a feature request that might be useful for people who don't want to change how createStore or configureStore is used. I found it a bit confusing that I had to import createStore from this lib instead of Redux, and the params were in different order, and TBH I never got it to work with enhancers and redux-first-router.
How about this: We create the store as we've always done it before, but we'd simply pass the store to the library. And the library would simply add the reducer injection and other things it needs to make it a dynamic store.
So for example: const dynamicStore = reduxDynamicConfigure(store) or something.
What do you think?

Hey again. I had to take a pause on this task but I'm still trying to figure this out.
This is what I've got so far:
    // Configure Redux-First-Router (RFR), which gives back a RFR reducer, middleware and enhancer.
    const {
        reducer: rfrReducer,
        middleware: rfrMiddleware,
        enhancer: rfrEnhancer,
    } = connectRoutes(history, routesMap, options)

    // Here are my middlewares
    const middlewares = [
        userMiddleware,
        rfrMiddleware,
        thunk,
    ]

   // I want to have everything in my startup module to begin with
    const startupModule = {
        id: 'startup-module',
        reducerMap: {
            user,
            payments,
            location: rfrReducer,
        },
        middlewares: [...middlewares],
    }

    const store = createStore(
        preloadedState,
        [rfrEnhancer],
        [],
        startupModule,
    )

The solution above makes something crash inside Redux-First-Router, like something is not composed or configured properly. From the RFR documentations I need to compose the middlewares with the rfrEnhancer, like so:
    const middleware = applyMiddleware(...middlewares)
    const enhancers = compose(rfrEnhancer, middleware)

Should I pass enhancers instead of rfrEnhancer to the second parameter in createStore? It all feels a bit strange since I've already passed the middlewares to the startup module.
Thank you!

I believe the issue is that the RFR enhancer expects rfrReducer's default state to be loaded into the store. But that doesn't happen until after @@Internal/ModuleManager/ModuleAdded.

Is it possible to add reducers to the internal createStore?


flutter version constraints in pubspec.yaml allows versions newer than the specified range

Steps to Reproduce

add a flutter version constraint like this to pubspec.yaml: environment:
   sdk: ">=2.16.1 <3.0.0"
   flutter: "<=2.10.5"

upgrade to the latest flutter version (flutter upgrade)
run flutter pub get

Expected results:
error because the installed flutter version doesn't match the constraint
Actual results:
no error
>flutter pub get
Running "flutter pub get" in project...                           6.0s

>

flutter doctor
>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.4, on Microsoft Windows [Version 10.0.19044.1766], locale en-AU)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.8.3)
[!] Android Studio (not installed)
[√] IntelliJ IDEA Community Edition (version 2019.2)
[√] IntelliJ IDEA Ultimate Edition (version 2022.1)
[√] VS Code, 64-bit edition (version 1.65.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

Hi @DetachHead, Thanks for filing the issue.
There is a similar issue describing this case https://github.com/flutter/flutter/issues/95472, Please follow up there for further updates, Closing this issue as a duplicate. If you disagree feel free to write in the comments and we will reopen it.
Thank you.


fix(versions): update Activiti/activiti-cloud-full-chart-security versions into master

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.54

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.54


Add prereg button

You can specify what subjects to add prefilled to your prereg using a URL search query (eg. https://student.mit.edu/cgi-bin/sfprwtrm.sh?6.1020,11.001 would add 6.1020 and 11.001 to your preregistration). Maybe adding a button to add all the classes in your schedule to your prereg would be nice

That's incredible, I didn't know student.mit.edu had that feature. The implementation could look very similar to the matrix class chats button since it also constructs a URL.

Maybe we can move the "maintained by SIPB" to somewhere in the header and place a "prereg here" button there?

wait this is such an awesome feature


Send to Saved button in full preview mode

Hi,
Id love a send to saved or mark as favorite button while in full screen preview. I just want to flip through images without having to leave full sized preview mode. I know there is a right click menu, but that doesn't work in full sized mode, when I'm browsing on my tablet I have to exit full size mode, right click (or hold tap on mobile), and I  menu is a little hard to use, since it often leads to mistaps. There is already a zoom and rotate icons on the top right of full size preview, that would be a great spot to add this button.
Thank you!

Thanks for your suggestion! I'll optimize the app for tablet devices and enable opening the context menu with a finger tap. Regarding the new button, unfortunately, I won't be able to place it together with the zoom button since that is a third-party component that I can't modify. However, I'll find a suitable location for it and make it easy to use. Thank you again for your feedback!

No, thank YOU for making such an awesome extension!
Another thing I noticed while on tablet, if I hold tap on an image to save, it saves as "file.jpg" instead of the actual image name. I spent an hour the other day saving images into my tablet only to find out I was overwriting the same image over and over. I don't have this issue with the other image browser extension (but that one isnt nearly as fast and easy to use as yours). I'm using Firefox Nightly Build on an Android tablet if that info has any use.

Update to the latest version and do not save directly. Instead, use the download option from the context menu. I tried it on my phone and didn't find any issues.
https://github.com/zanllp/sd-webui-infinite-image-browsing/assets/25872019/7997984b-5616-4c9d-aedc-70127f880efb

Update to the latest version and do not save directly. Instead, use the download option from the context menu. I tried it on my phone and didn't find any issues.
5DC94FE0C0439E9ACA29F375F296FAF1.mp4

Thanks for looking into this. While this works, it is not a useful solution for what I'm looking for. I'm looking for a quick way to flip through images and to save the actual file and retaining the original image filename onto my tablet (tap next, hold tap, save). The context menu requires 7 taps per image (select image, tap the expand info icon, tap context menu, tap save to drive (which opens a new tab), tap close new browser tab, tap collapse info window (so I can see the image since it blocks a quarter of the view, it also this often gets stuck and does not collapse), tap next image, repeat.

I found another method that you can update the extension with. Now you can save it like any other image in other extensions. However, implementing this feature was difficult due to the extension's more granular control over caching.


Incremented version to 2.1.1.

Coming from https://github.com/opensearch-project/opensearch-build/issues/1818 post release activities.

Alerting depends on Notificaitons, so this PR will need to be resolved and merged before this one.
https://github.com/opensearch-project/notifications/pull/478

@AWSHurney the above PR is merged. So you need to snapshot for this to pass?
If yes we might need to add notifications to 2.1.1 manifest.
Lmk
Thanks!

@AWSHurney the above PR is merged. So you need to snapshot for this to pass? If yes we might need to add notifications to 2.1.1 manifest. Lmk Thanks!

@gaiksaya yes, we'll need a snapshot for the build and tests to execute.

Created a PR https://github.com/opensearch-project/opensearch-build/pull/2449 to add notifications

Closing this as 2.2.0 is released and this version will not be out now.
Thanks!


Update travis-CI to use up-to-date version of JDK

Travis is currently building Gaffer against JDK 8u31 which was released in Jan 2015. The latest version is 8u112.

Merged into develop.


Every site_url is used as redirect_to param for auth/v1/verify

Bug report
Describe the bug
Every site_url is used as redirect_to param for auth/v1/verify when resetting a password.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

use below.. we are going to reset the password

const supabase = createClient(
  'https://rsnibhkhsbfnncjmwnkj.supabase.co',
  'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxNTIxNDE1MywiZXhwIjoxOTMwNzkwMTUzfQ.OQEbAaTfgDdLCCht251P2JRD3QDnui6nsU8N-tZA_Mc'
)

const { error } = await supabaseClient.auth.resetPasswordForEmail(email, {
  'http://localhost:3000',
})

gotrue route auth/v1/verify looks like this
notice the comma seperated string for redirect_to
https://rsnibhkhsbfnncjmwnkj.supabase.co/auth/v1/verify?token=ab9b60c82d4aa0269e71ec75cd3138fb0c2f354045f7ea99ddffafbf&type=recovery&redirect_to=http://localhost:3000,https://ui.supabase.com,https://supabase.com

Expected behavior
For the actual correct redirect url to be used
Screenshots

System information
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>node v16.16.0
Additional context
It is quite hard to understand the difference between 'redirect urls' and 'site urls' in gotrue config, it feels like it should just be 1 set of urls under 'allowed domains' like firebase does it.
maybe this is just a frontend thing though, and we need to make a better distinction or perhaps maybe phase one of them out in favour of the other.

Hey @MildTomato,
The SITE_URL is meant to take in only a single URL. After discussion with the team, we decided the best fix for this is probably validating that users only enter one URL on the frontend.
Going to close for now but feel free to reach out if there are further queries.
Thanks!


fix very long name user del buttons

Hi, someone can check this changes.
@xm74 @vorons
Thanks
Regards

@dignajar Looks clear. We can accept it.

Thanks


Missing dashboard id export

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
https://github.com/apache/incubator-superset/issues/8199
REVIEWERS

Sorry wrong base code


Tabs move with marquee effect to the left [Regression]

I had this reported previously here, it disappeared but seems to be back now.

VSCode Version: 1.50.1
OS Version: macOS 10.15.7

Steps to Reproduce:

Have VSCode split into 2 editors (left + right)
Have a couple of Tabs open on the right half so that the tab list at the top is longer than the available space at the top
Click on the right most tab (or any tab that is NOT 100% visible with its width), it will start to move with a marquee effect slowly to the left until the start

Does this issue occur when all extensions are disabled?: Yes

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

@bpasero I have a hard time reproducing it with the production build, it's not occuring after a restart. I get the feeling it might have to do with an extension, will report back.

Ok thanks.


Error when opening a file (v1.4.0)

Hi, I was testing the 1.4.1 release branch and sometimes I'm getting this error when opening a file.

Sorry for reporting issues on a unreleased version, but some of the bug fix included in that are really useful for me!

Thanks for reporting this: I can see where the issue is and will fix as soon as I have some time to get back to stay. If you need a quick fix no,  you can change this line to:
if get(l:, did_load_view, 0) isnot 1 && exists('l:stay_loaded_view')

if anyone watching this, the quick fix should be
if get(l:, 'did_load_view', 0) isnot 1 && exists('l:stay_loaded_view')


provide error documentation in the codeDescription field

Motivation

We currently provide a link to the error documentation via Diagnostic.relatedInformation.location, which requires us to provide a useless location within the "file" and a message directing the user to click for more information.  Since LSP 3.16, there's Diagnostic.codeDescription which is just the URI to the documentation.  This latter method is smaller in the over-the-wire protocol (less repeated/useless information) and displays slightly more nicely in the UI.
Before:

After:

Test plan

See included automated tests.

This is great!!


Factory improvements

Draining of requests
Lifecycle hooks
Worker startup custom arguments which can be thread through the factory's worker builder
Discarding reasoning

Potentially to come in the future, dynamic worker pool management and queueing management.
This is an API break, and therefore requires a major revision change to 0.10.0
The signature of the basic actor primatives, etc hasn't changed, but given we're adding new arguments and functionality to factories that isn't default-extendible this must be considered as an api break as users can't upgrade-in-place here.

Closed for another branch without a merge operation in it


Support Grafana 3.0

I'd like to use this module to install and run Grafana 3.0.

I've tried to just change the package version from 2.5.0 to 3.0.1 in params.pp and rolled it out successfully. Try this so you know if your config works but it should.

No problems on CentOS 6 except datasource.
The puppet run shows OK
Notice: /Stage[main]/Grafana_config::Config/Grafana_datasource[elasticsearch]/ensure: created

for the code
 grafana_datasource { 'elasticsearch':
    grafana_url       => "${grafana_url}",
    grafana_user      => "$grafana_user",
    grafana_password  => "$grafana_password",
    type              => 'elasticsearch',
    url               => 'http://localhost:9200',
    access_mode       => 'proxy',
    is_default        => true,
    database          => 'logstash-*',
    json_data         => {
        "timeField" => "@timestamp",
        "esVersion" => 1
    }
  }

But the GUI shows no datasources.

On rhel7, i used this in my hierafile:
grafana::install_method: 'repo'
grafana::repo_name: 'stable'
It installed the latest 3.0.4 version. Works like a charm

On centos7 it works for us, too:
install_method  => 'package',
version         => '3.1.1',
rpm_iteration   => '1470047149',


Comments in cjsx

Can i use comments in html part of cjsx?
Thanks!

It would be really nice to have some way of doing this — could we make {# foo } work?

That wouldn't really make sense.  Hash-comments go to the end of the line, so how would we differentiate a curly bracket which is just part of the comment from one which closes a coffeescript expression in JSX markup?

I would add a special case for when the curly brace is at the end of the line. At the moment it's a syntax error, so it won't break anyone's existing code.

  {# blah'di'blah}

+1

I've sent a pull request that implements my suggestion above, would love to get some feedback :).

I'm not sure since when, but JSX does seem to support comments:
http://facebook.github.io/react/docs/jsx-in-depth.html#comments

Interesting. I'm in favour of implementing comments with the same semantics as JSX

Would love to see JavaScript comments added /* comment */

@chasedeanda you can now use {# comment }, which does the same thing :)

Thanks!

Was hoping this would work for commenting multi-line JSX in CoffeeScript 2:

JSX HERE

but I get this error:


Better Files Issue

I'm not sure why, but upgrading sbt-tzdb from 0.3.2 to 0.4.0 causes BetterFiles issues on my Play App. This is the only change I did on my build. I'm also using BetterFiles 0.3.8 so I can't think why there would be any conflict (not to mention this is a plug-in). Just reporting in case others sees it as well. I'm rolling back to 0.3.2 in the mean time.
This is the error I've seen:
Uncaught error from thread [play-dev-mode-akka.actor.default-dispatcher-2]: better.files.package$.FileOps(Ljava/io/File;)Lbetter/files/Implicits$FileOps;, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[play-dev-mode]
java.lang.NoSuchMethodError: better.files.package$.FileOps(Ljava/io/File;)Lbetter/files/Implicits$FileOps;
        at play.runsupport.Reloader.$anonfun$reload$3(Reloader.scala:513)
        at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:484)
        at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:490)
        at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:458)
        at scala.collection.Iterator.foreach(Iterator.scala:941)
        at scala.collection.Iterator.foreach$(Iterator.scala:941)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
        at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:162)
        at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:160)
        at scala.collection.AbstractIterator.foldLeft(Iterator.scala:1429)
        at play.runsupport.Reloader.$anonfun$reload$1(Reloader.scala:515)
        at play.runsupport.Reloader$$anon$1.run(Reloader.scala:58)
        at java.security.AccessController.doPrivileged(Native Method)
        at play.runsupport.Reloader$.play$runsupport$Reloader$$withReloaderContextClassLoader(Reloader.scala:64)
        at play.runsupport.Reloader.reload(Reloader.scala:501)
        at play.core.server.DevServerStart$$anon$1.get(DevServerStart.scala:143)
        at play.core.server.DevServerStart$.$anonfun$mainDev$2(DevServerStart.scala:258)
        at akka.actor.CoordinatedShutdown.$anonfun$run$3(CoordinatedShutdown.scala:487)
        at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
        at scala.collection.Iterator.foreach(Iterator.scala:941)
        at scala.collection.Iterator.foreach$(Iterator.scala:941)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
        at scala.collection.IterableLike.foreach(IterableLike.scala:74)
        at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
        at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
        at scala.collection.TraversableLike.map(TraversableLike.scala:238)
        at scala.collection.TraversableLike.map$(TraversableLike.scala:231)
        at scala.collection.AbstractTraversable.map(Traversable.scala:108)
        at akka.actor.CoordinatedShutdown.loop$1(CoordinatedShutdown.scala:484)
        at akka.actor.CoordinatedShutdown.$anonfun$run$6(CoordinatedShutdown.scala:530)
        at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
        at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
        at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
        at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92)
        at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
        at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)
        at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92)
        at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:49)
        at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

I thought plugins' classloader were isolated from the project.
Maybe I should consider removing these dependencies

I thought so as well. I tried two versions of SBT 1.2.8 and 1.3.8, but I got the same results.

So plugins live on the same classloader than sbt
https://gitter.im/sbt/sbt?at=5e78eb3466919c3b2f840bc6
I always upgrade to the latest version and I'd expect other plugins to do the same
As an alternative you could split your tzdb generatioun to a separate project e.g:
https://github.com/gemini-hlsw/gemini-locales/
I'm going to close this one but I'd take PRs if somebody wants to do it

I've reproduced this issue on https://github.com/mlvn23/gemini-locales by adding the Play Framework SBT plugin.
've tried version 2.7.3, 2.7.4, and even with 2.8.1.
It fails at the Reloader.scala around line 510 in all cases. I see that they are using better.files around that line.

Does it make sense to ask play to upgrade?

They don't appear to have direct dependency using GitHub search. It might easier to roll back BetterFiles to 3.7.0 like in version 0.3.2?

That is certainly an approach that would work but I have other dependencies that can collide with n other plugins
The only rational logic for me is to use always the latest version and hope other plugins do the same

BTW the idea on gemini-locales is that I export that package as a binary and import it on my actual apps
that approach not only would solve this but the build is a lot faster

Shading is another option. Or you can release note it that this is not compatible with certain Play versions.

Thanks, I'll give that a try.

Using it as an external lib solves this problem as well as another issue I saw wherein some directory in the generated files are getting locked and the only way to delete it is to shutdown sbt.

Sorry, the issue is still there:
[info] Generating tzdb from db at D:\extradash\code\src\jvm-lib\pathfinder-locale\target\scala-2.12\resource_managed\main\tzdb to D:\extradash\code\src\jvm-lib\pathfinder-locale\target\scala-2.12\src_managed\main
[error] java.lang.RuntimeException: Could not create directory D:\extradash\code\src\jvm-lib\pathfinder-locale\target\scala-2.12\resource_managed\main\locales\common\main
[error]         at scala.sys.package$.error(package.scala:26)
[error]         at sbt.io.IO$.createDirectory(IO.scala:326)
[error]         at sbt.io.IO$.next$1(IO.scala:400)
[error]         at sbt.io.IO$.extract(IO.scala:416)
[error]         at sbt.io.IO$.$anonfun$unzipStream$1(IO.scala:380)
[error]         at sbt.io.Using.apply(Using.scala:22)
[error]         at sbt.io.IO$.unzipStream(IO.scala:380)
[error]         at sbt.io.IO$.$anonfun$unzipURL$1(IO.scala:371)
[error]         at sbt.io.Using.apply(Using.scala:22)
[error]         at sbt.io.IO$.unzipURL(IO.scala:371)
[error]         at locales.IOTasks$.$anonfun$downloadCLDR$12(IOTasks.scala:32)
[error]         at cats.effect.internals.IORunLoop$.step(IORunLoop.scala:190)
[error]         at cats.effect.IO.unsafeRunTimed(IO.scala:321)
[error]         at cats.effect.IO.unsafeRunSync(IO.scala:240)
[error]         at locales.LocalesPlugin$.localesCodeGenImpl(LocalesPlugin.scala:89)
[error]         at locales.LocalesPlugin$autoImport$.$anonfun$baseLocalesSettings$4(LocalesPlugin.scala:55)
[error]         at sbt.util.FileFunction$.$anonfun$cached$1(FileFunction.scala:73)
[error]         at sbt.util.FileFunction$.$anonfun$cached$4(FileFunction.scala:147)
[error]         at sbt.util.Difference.apply(Tracked.scala:313)
[error]         at sbt.util.Difference.apply(Tracked.scala:293)
[error]         at sbt.util.FileFunction$.$anonfun$cached$3(FileFunction.scala:143)
[error]         at sbt.util.Difference.apply(Tracked.scala:313)
[error]         at sbt.util.Difference.apply(Tracked.scala:288)
[error]         at sbt.util.FileFunction$.$anonfun$cached$2(FileFunction.scala:142)
[error]         at locales.LocalesPlugin$autoImport$.$anonfun$baseLocalesSettings$3(LocalesPlugin.scala:58)
[error]         at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error]         at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
[error]         at sbt.std.Transform$$anon$4.work(System.scala:67)
[error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:269)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]         at sbt.Execute.work(Execute.scala:278)
[error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:269)
[error]         at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error]         at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error]         at java.lang.Thread.run(Thread.java:748)
[error] (Compile / localesCodeGen) Could not create directory D:\extradash\code\src\jvm-lib\pathfinder-locale\target\scala-2.12\resource_managed\main\locales\common\main


Add types to some comprehensions

Currently the correctness of this depends on the exact typejoin logic for comprehensions. That's probably reasonably safe, but it can break when developing Base, and since this is a stdlib, let's be a good citizen and annotate the types.

Looks good, thanks Keno!


Small improvement: make it more efficient by using os.kill

Running a shell just to run a single "kill" command is pretty
inefficient, especially for an app which is supposed to be saving your
battery life.  Just use Python's native OS library instead.

Thanks dagbrown!


Add tests to in place flag

Codecov Report

Merging #2 (1fbbe4a) into main (30284e1) will increase coverage by 0.39%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   87.69%   88.09%   +0.39%
==========================================
  Files          16       16
  Lines         252      252
==========================================
+ Hits          221      222       +1
+ Misses         31       30       -1

Impacted Files
Coverage Δ

Sources/BumpCore/Bump.swift
100.00% <0.00%> (+0.91%)
:arrow_up:

Continue to review full report at Codecov.

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


Cockos.ReaPlugs version 2.36

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @amoisis,
Automatic Validation ended with:

Is there an installer switch to accept this message and silently complete the install?

@microsoft-github-policy-service agree

Unsure how to get around this the silent switch is still popping that box up. i cant find any other switches


Bug fix/volume/update

Description
Updated volume resource module to fix the update operation error
Issues Resolved
Check List

[ ] New functionality includes testing.

[x] All tests pass. ($ ./build.sh).

[ ] New functionality has been documented in the README if applicable.

[ ] New functionality has been thoroughly documented in the examples (please include helpful comments).

closed this. Raised new PR - https://github.com/HewlettPackard/oneview-ansible/pull/527


signature verification failure w/ 'Content-Transfer-Encoding: binary'

probably shouldnt' merge this. just wanted to note what i found when trying to figure this out.

For any signed messages, the MIC to be returned is calculated on the  RFC1767 /RFC3023 MIME header and content. Canonicalization on the MIME headers MUST be performed before the MIC is calculated, since the sender requesting the signed receipt was also REQUIRED to canonicalize.

https://datatracker.ietf.org/doc/html/rfc4130#section-7.3.1
Seems like it's a good chance this is the issue. If so, we should be doing an equivalent canonicalization, and using the result for both signature verification and MIC calculation.

possibly relevant: https://github.com/abhishek-ram/pyas2-lib/pull/55

from OpenAS2 documentation:

14.1. Canonicalization For MIC Algorithm
Some systems (including OpenAS2 prior to V1.3.7) do not canonicalize the MimeBodyPart as specified in the RFC when content transfer encoding is not “binary” (the OpenAS2 default is “binary” but can be set to other values using the “content_transfer_encoding” attribute on the partnership). This manifests as errors that cause signature authentication failure that may specifically mention a mismatched MIC. To cater for this, set the following attribute on the partnership:
<attribute name="prevent_canonicalization_for_mic" value="true"/>

Later in the troubleshooting section, the Mendelson server is specifically mentioned as needing this option

So, it may be worth digging into how this OpenAS2 feature is implemented and whether we should do something similar.

this seems to indicate i wasn't as far off as i thought about how to solve this problem. (it is valid to compute the signature on a modified version of the body we receive.)

text-based content types present
a unique problem.  In particular, the line delimiter used for a
text-based content type is specific to a local environment; different
environments use the single character carriage-return (), the
single character line-feed (), or the two character sequence
"carriage-return line-feed ()".
The application of the digital signature service requires that the
same line delimiter be used by both the originator and the recipient.
This document specifies that the two character sequence ""
must be used as the line delimiter.  Thus, the second step of the
canonicalization transformation includes the conversion of the local
line delimiter to the two character sequence "".
The conversion to the canonical line delimiter is only required for
the purposes of computing the digital signature.  Thus, originators
must apply the line delimiter conversion before computing the digital
signature but must transfer the data without the line delimiter
conversion.  Similarly, recipients must apply the line delimiter
conversion before computing the digital signature.

https://www.rfc-editor.org/rfc/rfc1848#section-2.1.1


Add tvOS support

This is unfortunately not possible currently as spawn.h for tvOS and watchOS make it impossible to execute a child process as APIs are unavailable.
Adding the wontfix label to this ticket because of this.

Removing the wontfix label since there's now since changing things up to provide non-executable resources.


Swift 6 Compatibility and class property warning

Problem Statement
I'm using your SDK with Xcode 15.3, and I'm getting a warning about a static property not being concurrency-safe. Can you please update the SDK to make it Swift 6 compatible and fix the warning?
Here's the warning I'm getting in PostHogSDK.swift:54:
Class property 'shared' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
Thanks!
Solution Brainstorm
No response

@adilrc thanks for reporting, did you change any configuration to get this warning? I am also using Xcode 15.3 but I don't get this warning.

Yes I do have strict concurrency checks enabled in my package along with Swift 5.10.
.target(
  ...
  swiftSettings: [
    .enableUpcomingFeature("StrictConcurrency")
  ]
)

I believe @adilrc  made a small typo. The SPM setting is:
.enableExperimentalFeature("StrictConcurrency"),

You can control the type of strict concurrency by following the attribute with = and then the level; i.e. minimal, targeted, complete. The absence of any mean complete. For example:
.enableExperimentalFeature("StrictConcurrency=targeted"),

If I may offer some advice in how to go about removing the concurrency warnings and making PostHogSDK safer:

Ideally you would make PostHogSDK Sendable. This way the SDK can cross thread boundaries. I already see you are using locks when setting up some functions; therefore you could mark the whole class PostHogSDK as @unchecked Sendable. However, I think you are forwarding mutations on places unprotected by locks (e.g. getDistinctId() calls isEnabled() which relies in the unprotected enabled private variable).
Since making PostHogSDK sendable is probably too much work. You could mark the static PostHog.shared constant as nonisolated(unsafe). This will remove the warning for users including the SDK as a static library while not making any untrue promises to the compiler. By the way, you don't need the self-executing closure there.

public class PostHogSDK: NSObject {
  @objc public nonisolated(unsafe) static let shared = PostHogSDK(PostHogConfig(apiKey: ""))
}

enabled is only mutated in the setup method which is manually locked with setupLock so it's not racing.
Reading enabled won't be an issue.

Yep makes sense, I'm checking how to remove all the warnings without breaking changes, see PR.
At some point, we will migrate to Sendable everywhere + async-await approach but we need to be sure that back compatibility won't be a problem anymore, likely when dropping older versions of Swift.

Hey @dehesa, good points.
The @MainActor annotations will be reverted, I wanted to get a feeling of how much work would be to fix (or silence) all the warnings in the SDK as well.
Some things will need to be marked as @MainActor but not for this patch, reasons are that some iOS classes are marked as @MainActor, for example, UIDevice and UIScreen, and they are used to enrich the events with device context.
I was not aware of the performance boost by marking them as final, thanks for sharing.
It's just a draft PR that I am using to learn more about the new strict concurrency since I have not played with it before, no intention to merge it as it is but thanks for calling it out.

@dehesa the problem is that nonisolated(unsafe) is only available in Swift 5.10 right

You are correct! I believe you can do the following:
#if swift(>=5.10)
@objc public nonisolated(unsafe) static let shared = PostHogSDK(PostHogConfig(apiKey: ""))
#else
@objc public static let shared = PostHogSDK(PostHogConfig(apiKey: ""))
#endif

Hey @marandaneto. Any chance you can do a hotfix or minor release to remove the warning from our CI?


Nested Functions

Nested functions don't work.

Fixed by https://github.com/ImpossibleReality/Siffra/commit/72adc9ddfcc0d9e1569590a761b55ebbcb90441c


scrapy_zyte_smartproxy in version 2.2.0 issue with request

When deploying to our server with scrapy_zyte_smartproxy version 2.2.0 encountered an issue when trying to do a request and it keeps on retrying until it gave up.
What I did was downgrade to version 2.1.0 and it all works again.
Can you check on this, please?
Thank you.

Which version of Scrapy was this server using? Also, is the issue reproducible with https://github.com/scrapy/scrapy/pull/5626 ?

Closing due to a lack of feedback.


Error with MariaDB ODBC driver with Windows Authentication

System information:

Operating system (distribution) and version: Windows Server 2016
DBeaver version:  <IP_ADDRESS>106012023
Additional extensions

Connection specification:

Database name and version: SingleStore 7.3.11 (wire compatible with MariaDB/MySQL)
Driver name: MariaDB ODBC 3.1 Driver 64-bit
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
MariaDB ODBC Driver configured and tested with integrated authentication:

All default options.
Connection created in DBeaver, using ODBC, all default options:

Test Connection returns:

Exception Stack Trace:
java.lang.NullPointerException
	at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:453)
	at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$0(JDBCDataSource.java:176)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:195)
	at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.openConnection(GenericDataSource.java:135)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:101)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance.java:100)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.<init>(JDBCRemoteInstance.java:59)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeRemoteInstance(JDBCDataSource.java:109)
	at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.<init>(GenericDataSource.java:107)
	at org.jkiss.dbeaver.ext.generic.model.meta.GenericMetaModel.createDataSourceImpl(GenericMetaModel.java:90)
	at org.jkiss.dbeaver.ext.generic.GenericDataSourceProvider.openDataSource(GenericDataSourceProvider.java:106)
	at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:914)
	at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
	at org.jkiss.dbeaver.runtime.jobs.ConnectionTestJob.run(ConnectionTestJob.java:103)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

eclipse.buildId=unknown
java.version=11.0.11
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Thanks!
JB

Thank you for the report. ODBC driver is outdated. Could you please change it on JDBC or use a commercial one?

Good day, is there any workaround for this, while we wait for the fix to make it to a release? :)

@esanumIT Unfortunately the only workaround right now is to use a commercial ODBC driver. It is the only way until the newer community one is written.

Just force the driver class name to: sun.jdbc.odbc.JdbcOdbcDriver

Here source code of driver: https://github.com/eagle518/jdk-source-code/blob/master/jdk5.0_src/j2se/src/share/classes/sun/jdbc/odbc/JdbcOdbcDriver.java

Hello @brazune
Could you please try to use the modern ODBC driver available in PRO products? https://dbeaver.com/download/
Does the issue still persist there?

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


Putting the MovieCast Editor on a second tab.

Having trouble when trying to put the MovieCast Editor on a second tab.  Id like the initial dialog when clicking on a movie to edit have two tabs, one for info, and one for cast.  Id like the cast tab to display the MovieCastEditor, fully populated with the cast for the selected movie.  Ive gotten that far.  The problem is that when trying to modify or edit a cast entry using the MovieCastEditDialog on the second tab, the movie Id does not get set implicitly as if the MovieCastEditor was in the main form.
Any ways around this problem?

First, need to understand what are you trying to do. Are you trying to make it behave same, after moving it to a tab, meaning grid data loaded / saved along the main form and dialog save button, or work independently, like it works in customer orders tab?

I trying to make the behavior the same, with the grid data loaded and saved along with the main form.

Ok, than just move grid into tab with jQuery, in dialog constructor, like
this:
this.ById("CastList").Closest(".field").Hide(); // this is to hide field
containing grid and its label
this.ById("CastList").AppendTo(this.ById("IdOfYourPlaceHolderDivInTab")) //
move grid with id ~_CastList to div with ID ~_IdOfYourPlaceHolderDivInTab
2015-12-11 21:13 GMT+02:00 SirSpam<EMAIL_ADDRESS>
I trying to make the behavior the same, with the grid data loaded and
saved along with the main form.
—
Reply to this email directly or view it on GitHub
https://github.com/volkanceylan/Serenity/issues/71#issuecomment-164023215
.

Did you resolve your issue @SirSpam?

Nope, still working on it.  What would the dialog look like?