Pagekit on shared server

I've been trying to install pagekit on a Siteground shared server and after a couple of actions in the settings I get this error:
Fatal error: Call to undefined method Pagekit\Component\Config\Config::__set_state() in /home/lucasvan/public_html/antsent/tracent/config.php on line 12
Now Siteground does not allow the APCu extension on the shared server so I guess this has to do with the caching.
Is there a way around this.
I would be heartbroken to have to go back to Wordpress :)

Please post your PHP version and Pagekit version.

We released the Pagekit Beta today. I close this issue because the code base completely changed. Please open a new issue if it still exists.


How to use custom environment variable in nginx_kong.lua script?

I want to customize the nginx_kong.lua script by passing custom environment variables like API_HOST, API_URL.
I am setting the same environment variable as shown below.
export KONG_API_HOST=localhost:8443
export API_HOST=localhost:8443

And then trying to use it in nginx_kong.lua as shown below.
proxy_set_header      Host               '${{api_host}}';

But it is rendering as shown below.
proxy_set_header      Host               '';

How to use custom environment variables in nginx_kong.lua?

Hello, you seem to be doing the correct thing. How are you starting kong?
Also, what version of kong are you using, and what environment (Linux distro, Docker/Kubernetes...)

@kikito do we support setting variables directly in the template? Doesn't the template get the output from the configuration parser, and hence not the custom environment variables?

@Tieske Also encountered this issue, is there any way to forward environment variables to nginx_kong.lua and ultimately to generated nginx-kong.conf ?

see https://github.com/Kong/kong/pull/6872


gpg-agent support

Would be great to either support gpg-agent or allow the native one to run simultaneously.
Tested with GPG 2.40.0 and Gpg4Win 4.1.0 using a Yubikey on Windows 10, and the either Omni agent will work (specifically 1password proxy mode only) or gpg-agent but not both at the same time.
gpg-agent.conf
enable-putty-support
enable-ssh-support

Use case: authenticating using ssh keys both in 1password and on Yubikey via gpg

Thank you very much.
I finally received the yubikey I ordered and I would like to test it based on the advice you gave me.

wouod be pretty simple, make it listen on another named pipe, adjust your env var. Good to go.  I wrote an app just like this down to using wails.   It supports multiple authproviders  I was finally going to release it but this is much further along.


[clkmgr] clkmgr markdown creation

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@lenary would be good if you can give this a read through to see if it seems right to you.


minimum crop size

I've looked into code and I didn't find a way to set minimum crop size. Is there any way to set it?

Sorry, there is no support for setting the minimum size for cropping at this time


Ditching the project for Golang? Is the project dead?

This is a really tough one for me to swallow, the project started off going quite well, we got a lot of the initial foundation done and the API layer was proving quite promising.
That was until I started using the same API layer for another bespoke project at work and developing it much further than pyramidcms ever had, we added support for nesting objects in the API, using nested Colander schemas... we could even do nested updates and inserts which was awesome, it all looked great at first but over time we ended up finding some serious and deeply engrained problems with the API design:

Nested updates were really complex to handle and we were doing this partially in nested Colander schemas making this quite difficult, it turned into a bit of a nightmare to debug when things went wrong.
We were having constant issues with SQLAlchemy's design where objects are "bound" to the dbsession after just querying them from the db and sometimes you get "magic" unexpected INSERTs and UPDATEs going into the DB simply by looping over a many 2 many list, this can get really really frustrating, especially if you get database saves happening even when validation failed for an API.
So we then tried to remove (expunge) the object from the dbsession first (to avoid the magic saves) but then we also found that we couldn't update relationships on objects that are not in the dbsession, once again, this was quite frustrating, SQLAlchemy just says it can't do this.
Nested API design is not that great, it can make API responses for lists really massive as nested objects are repeated over and over which can be quite wasteful, json-api solves this much better.
Python became far too slow for the kind of complex API's we wanted to produce, we managed to speed it up a bit over time, but Golang will beat Python any day when it comes to performance.
Colander is not that great for serializing and deserializing to JSON. They say it was not originally designed to produce JSON (I think it is more for form validation), so we needed to subclass just about every Colander field to produce valid JSON, see: https://github.com/Pylons/colander/issues/80
Cornice itself is great, but far too low level, meaning we had to implement our own API from scratch, I want to make a CMS, not an API library first then a CMS.  There isn't really another API library for Pyramid either, because Pyramid is "not as popular as Django", this annoyed me.
Cornice does not yet support Marshmallow validation (only Colander and formencode), though it's on their list of things to do, this would have made serializing to JSON a whole lot easier than Colander.
Background tasks like generating Gallery thumbnails: I don't need Celery with Golang as I can just send background work to a Goroutine in the same process and have it run in the background with ease. With Python I have to use Celery and RabbitMQ or Redis just for background tasks because Python's multithreading sucks, enough said.

I still like Python, but it's speed and lack of proper threading is making it really hard to stick to Python, especially for modern web apps that use websockets and push notifications, so maybe it's time to move to Golang.

Lets not forget how annoying Python deployments are, Debian packages are always out of date, virtualenvs on servers are considered a no-no if you have to open up ports, wheels make life a bit easier but still...


Default Behavior to get all properties has performance issues

I just installed and tried a very simple test case
Get-Process | otv
I thought something was wrong until 20+ seconds later a browser window popped up and even then took a bit for it to render.
I did some quick measurement tests of Get-Process, then outputting to Out-GridView, then to Out-TabularView and here are the results (edited for seconds only):
C:\Users\derek.price> Measure-Command { get-process }
TotalSeconds      : 0.0116812

C:\Users\derek.price> Measure-Command { get-process | ogv }
TotalSeconds      : 0.3069469

C:\Users\derek.price> Measure-Command { get-process | otv }
TotalSeconds      : 19.7969857

It seems that Get-Process dumps a very small subset of the entire property set while Out-TabularView expands everything which is why it took so long. I'm not sure what to suggest here other than it was very unexpected.
Other than that the module is great - kudos and thanks!

Yeah, I grab all the properties from the incoming object. That's why it takes longer. Next, I'll add getting the defaults so this should be faster.

@AikenBM up for doing a PR?


fix(duplication): fix slog gc crash

What problem does this PR solve?
#1596
What is changed and how does it work?
Add a parameter to protect a plog avoid from gc when it's been checking by duplication.
Tests

Unit test
-cluster test

@ninsmiracle Thanks for the contribution!
This pull request mention "slog" but I didn't see how does slog been operated in the patch, could you please describe the relationship? Thanks!

@ninsmiracle Thanks for the contribution!
This pull request mention "slog" but I didn't see how does slog been operated in the patch, could you please describe the relationship? Thanks!

I think this PR should called "plog gc crash",however in our inside gitlab repository,this commit called this name.I guess it's may be related to old version Slog ? But I'm not familiar with old version pegasus.

@ninsmiracle Thanks for the contribution!
This pull request mention "slog" but I didn't see how does slog been operated in the patch, could you please describe the relationship? Thanks!

In my opinion, this PR should called "plog gc crash",however in our inside gitlab repository,this commit called this name.I guess it's may be related to old version Slog ? But I'm not familiar with old version pegasus. So could I change the PR's name?

Feel free to rename.


liblttng-ust0 missing in Ubuntu 22.04

Hello!
When i try to deploy using CDK the deployment fails because of package liblttng-ust0 missing in Ubuntu 22.04 repos.
As a workaround i changed the release version in the Dockerfile to 20.04 and it works fine. You should probably switch to a static tag (like 20.04) for the base image version.
PS: nice work, it's really cool 😁

Thanks for pointing this out @andrea-pusineri!
I changed the Docker image to use ubuntu:20.04 which you proposed as a workaround and added a reference to the issue in the actions/runner project.


Lintian sometimes doesn't recognize valid build package file name

Tests fail because of:
  warning: the authors of lintian do not recommend running it with root privileges!
  bad package file name  (neither .deb, .udeb, .ddeb, .changes, .dsc or .buildinfo file)

Before https://github.com/pi-top/action-debian-package/pull/8, this wasn't an issue because the actual error wasn't propagated, but now we need to look into this.

  /usr/bin/docker exec netcat-openbsd find /home/runner/work/action-debian-package/action-debian-package -maxdepth 1 -name *amd64.changes -type f -print -exec lintian  {} +
  /home/runner/work/action-debian-package/action-debian-package/netcat-openbsd_1.206-1ubuntu1_amd64.changes
  warning: the authors of lintian do not recommend running it with root privileges!
  bad package file name  (neither .deb, .udeb, .ddeb, .changes, .dsc or .buildinfo file)

seems as though it finds the .changes file:
/home/runner/work/action-debian-package/action-debian-package/netcat-openbsd_1.206-1ubuntu1_amd64.changes

latest master:
Run static analysis for architecture: amd64
  /usr/bin/docker exec monitoring-plugins-cyconet find /home/runner/work/monitoring-plugins-cyconet -maxdepth 1 -name *amd64.changes -type f -print -exec lintian  {} +
  /home/runner/work/monitoring-plugins-cyconet/monitoring-plugins-cyconet_18.20201029+1_amd64.changes
  warning: the authors of lintian do not recommend running it with root privileges!
  bad package file name  (neither .deb, .udeb, .changes .dsc or .buildinfo file)
  Error: The process '/usr/bin/docker' failed with exit code 1
``


Adding support for recognizing F* files  ... no syntax highlighting yet

F* is an ML-like functional programming language aimed at program verification:
https://en.wikipedia.org/wiki/F*_(programming_language)
https://www.fstar-lang.org/
Here is a PR adding support for recognizing F* files based on their extension (.fst and .fsti). These extensions are not currently in languages.yml.
Here is a GitHub search result showing in-the-wild usage:
https://github.com/search?l=&q=module+extension%3Afst&ref=advsearch&type=Code&utf8=✓
This PR only provides support for recognizing F* files based on extension. We're also working on contributing F* syntax highlighting back to ace editor:
https://github.com/FStarLang/FStar/issues/333
https://www.fstar-lang.org/ace/mode-fstar.js
and we also have an Atom grammar we could contribute:
https://github.com/FStarLang/atom-fstar/blob/master/grammars/fstar.cson

Thank you for your contribution.
Did you check the contribution guidelines?  Supposedly, a new language should appear in "hundreds of repositories".
Also, 99% of all .fst files appear to be in FASTA.  That would make it harder to do a search and find actual F* results.

@larsbrinkhoff  I guess the only thing we could do about FASTA is change our extension, right? It doesn't matter that FASTA is not a programming language and can be easily distinguished syntactically from F*, does it?
We could consider changing our extension, but it would still not solve the "hundreds of repositories" problem. It's hard for a new research language with a focus on verification to achieve this goal in a reasonable amount of time, still if I look at your list I see a couple such languages there, like Alloy, Idris and Lean.
Anyway, if getting on this list is not an option for F*, is there anything we can do to get language recognition and syntax highlighting to work well for the F* github repository (https://github.com/FStarLang/FStar)? We tried setting linguist-language=FStar in .gitattributes for fst and fsti files, but that only works if we're in FStar was on this global list, right?

I should explain that I'm just a contributor, not part of GitHub staff, so I don't decide what goes into Linguist or not.
Many languages do share file extensions, so that problem is solvable.  However, you're right that research languages usually are not accepted, until they see more widespread use.

I downloaded 962 .fst sample file somewhat randomly, and this is the breakdown into various languages and formats:

Language
Files
Comment

F*
564
Verification

FASTA
230
Bioinformatics

FAST
66
Verification

Binary
43

Unknown
43

OpenFST
16
Speech recognision

@pchaigno  I've removed .fsti from my PR until it gets more popular. Interface files are a relatively new feature of F* and adoption started only recently ... there are 18 files now :)

Any news about this PR?

This seems to be taking really long. Would it be a reasonable compromise to remove even the fst extension from my patch, so that we can at least get language recognition and syntax highlighting to work well for the F* repo (using .gitattributes)? Could this work technically?

I tried your search module+extension:fst and found 12 repositories.  The guideline says "hundreds of repositories".  So my guess would be that F* is not yet popular enough to add to Linguist.

Requiring a language to be used in hundreds of repos just to be able to allow a single project to get syntax highlighting working for its own files seems completely broken. How about freeing up syntax highlighting on github from this tyranny?

Repository-local language highlighting has been suggested: #2627.

So my guess would be that F* is not yet popular enough to add to Linguist.

Yeah I'm afraid this isn't enough to justify an addition to Linguist yet.
@catalin-hritcu - I'm sorry that this is a frustrating situation for you. As @larsbrinkhoff pointed out, custom repository-level highlighting is something that's been requested already (and would be a very nice feature to have).
For now though, F* does not meet our contributor guidelines for GitHub usage. I'd suggest we revisit this in a few months when we can evaluate the adoption levels then.

@arfon @pchaigno @larsbrinkhoff Annual revisit ? ;)
F* is much more used in the industry now and probably more on Github too (for a verification language). Doubled the number of followers (more than Coq now...). Doubled the number of commits. More publications... WDYT ? Thanks for your time ;)

@beurdouche That's not what they count officially though.

we prefer that extensions be in use in hundreds of repositories before supporting them in Linguist.
So how many repositories do we have now? :)

@larsbrinkhoff  How did you get the 12 number last time? I'm quite sure it's a lot more than that now.

I don't recall exactly, but I probably used a script which downloaded all files found by searching for modules extension:fst.  Unfortunately, that script doesn't work any more due to changes at GitHub.  @Alhadis, did you fix your search script yet?

If by "fix" you mean bring it to a point where it can run semi-automatically, yeah.
Usage:

Copy+paste this into developer console
Run harvest("extension:fst", "modules").then(_=> new Notification("Done"))
When done, run copy(silo.reap("extension:fst")); to copy to the system clipboard

That'll give you a sorted list of unique URLs to run through wget or whatever.

I'm not sure if I used it right (how do I know it's done?), but I think I found five repositories:
https://github.com/FStarLang/FStar/
https://github.com/YaccConstructor/YC_FStar/
https://github.com/fstar-spbu-edu/fstar-edu/
https://github.com/mitls/hacl-star/
https://github.com/mitls/mitls-fstar/

It'll display a desktop notification when it's finished. If you leave the dev console open, you can sorta monitor the harvest's progress. Assuming you have Log XMLHttpRequests enabled (and that you're running this from a GitHub-hosted URL).

I should also point out that it's slow on purpose, because GitHub will block access if it detects a perceived abuse attempt.
Which is ironic, because it's stopping us from doing the exact opposite.

@Alhadis  Finally got to trying this out and it works quite well. Thanks a lot!
One change I needed to do is replace a modules to module in the harvest command that should look like this:
harvest("extension:fst", "module").then(_=> new Notification("Done"))

Finally, I pasted the results in a file
https://gist.github.com/catalin-hritcu/aae41bb3e34acb7b34c388c635a8c5d5
and run this command:
cut -f1-5 -d / repos.txt | sed -e 's/raw.githubusercontent.com/github.com/g' | sort | uniq

to obtain the following list of 53 repos:
https://gist.github.com/catalin-hritcu/52c8aac5c8c946fec76f19760ed59aa0
That's a 4x improvement to the 12 repos @larsbrinkhoff reported last year, but it's still not yet "hundreds of repositories".
We have 45 F* contributors though (https://github.com/FStarLang/FStar/graphs/contributors) so we could also get there by asking everyone to fork our repo part of their development process. Would that count? :)

We have 45 F* contributors though (https://github.com/FStarLang/FStar/graphs/contributors) so we could also get there by asking everyone to fork our repo part of their development process. Would that count? :)

I don't think forks are considered, but I could be wrong. @pchaigno, would you know?

Finally, I pasted the results in a file
https://gist.github.com/catalin-hritcu/aae41bb3e34acb7b34c388c635a8c5d5
and run this command:

You'll get sick of doing that, trust me. =) Keep this handy if you find yourself running the harvester often.
(I regret not streamlining the process further, BTW... ideally, the script should just dump the URLs to a text file somewhere on the user's system, but that's not so easy when running in a browser context...)

@Alhadis  We might be nearing 100s of repos using F*, just that your scripts don't seem ready do acknowledge it :)
The outputs I get this time are these:
https://gist.github.com/catalin-hritcu/67003b4d7d17e1fbc557b7d20a1e0572
https://gist.github.com/catalin-hritcu/7d393ec9dab2b3da71d7f193a4c772fb
Implying that we now have only 39 unique repos, which is significantly lower than last time I tried (53). This is simply not right. Looked at the diff between the two, and the repos that are now "gone" from the output are definitely still there.

What's happening here? Could it be because of the capping of the number of search results or is it something else?

Tried to run this once more and I see differences from the previous run

This seems to imply that the script is a bit flaky, but still doesn't explain the much bigger difference I'm seeing compared to November.

@catalin-hritcu The script only collates public search results. So if people have private F* repositories, it won't be able to accommodate them in the usage statistics.
Granted, the script isn't perfect, but it should by no means be an accurate, black-and-white gauge of a language's popularity in-the-wild. It was authored with intent of helping Linguist contributors add new languages and determine whether there's a risk of misclassifications/conflict.

@Alhadis  After a bit more thinking, I'm starting to see that your script does the best job that can be done given the data that GitHub exposes in its search results. The problem with getting a complete list of GitHub projects using our language this way seems to be that GitHub caps the number of search results it exposes to 1000. In the case of F* there are however 3497 hits currently, and even if your script tries the 3 different orders "Best match", "Recently indexed", and "Least recently indexed", it still only manages to gather ~2380 hits, i.e. 68%. I'm not sure what kind of trickery one can play to get a more complete list.

The script only collates public search results. So if people have private F* repositories, it won't be able to accommodate them in the usage statistics.

Don't think this has to do with private repos, and I have already checked that the now missing sites are indeed public and do contain fst files.


[cleanup] Update some f-strings, change checkpoint naming scheme.

Patch Description
THIS DEPENDS ON METASEQ-INTERNAL CHANGES.
Right now our checkpoint files have this format:
checkpoint_7_5500.pt where 7 is the "epoch" number (for our weird definition of epoch). This is rather annoying when you're searching for a particular checkpoint, as I know I want update 5500, but I have no idea what the epoch number should be. This is made worse with Blob store, which can't handle wildcards in the middle of strings.
This patch changes the format to:
checkpoint_5500.pt, stripping the epoch number.
Testing steps
My latest checkpoints trained with this!

Hm.. cpu tests seems to have been broken for a while...

thanks so much


Fix cornerCurve property availability compilation fail

With Xcode 14 Beta 1 library fails to compile with following error
Stored properties cannot be marked potentially unavailable with `@available`

Because CALayerCornerCurve is not marked with any @available annotation it is possible to declare private optional storage of it.
With this change everything compiles.

That makes sense! I didn't know this behavior of @avaialble. I appreciate this PR ☺


Defaulting to TLS and quietly catch initialization error

What does this PR do?
Supports FIPS mode by defaulting to TLS if SSL is not supported and by quietly catching failure to create a trust-all SocketFactory (assuming that in this mode, APM Server certification verification is required).
Context: reported in our forum.
This implementation should not change behaviour of any existing deployment when the agent is upgraded.

Checklist

[x] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix
[ ] The fix was verified by the user who reported it

Codecov Report

Merging #1633 (29ebf7f) into master (9b42253) will decrease coverage by 11.71%.
The diff coverage is 55.00%.

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

Codecov Report

Merging #1633 (29ebf7f) into master (9b42253) will decrease coverage by 11.71%.
The diff coverage is 55.00%.

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

:green_heart: Flaky test report
Tests succeeded.

Expand to view the summary

Test stats :test_tube:

Test
Results

Failed
0

Passed
1697

Skipped
12

Total
1709

:green_heart: Flaky test report
Tests succeeded.

Expand to view the summary

Test stats :test_tube:

Test
Results

Failed
0

Passed
1697

Skipped
12

Total
1709

Just one thing that could be improved a bit after the last comment, we could probably log the warning message in WARN + message from exception, and then log the full exception stack only in DEBUG, thus that would mean just a single WARN message when using in FIPS mode. Otherwise that would leave a confusing stack trace in logs whenever the fallback is used.

Just one thing that could be improved a bit after the last comment, we could probably log the warning message in WARN + message from exception, and then log the full exception stack only in DEBUG, thus that would mean just a single WARN message when using in FIPS mode. Otherwise that would leave a confusing stack trace in logs whenever the fallback is used.

Yes, this is definitely a leftover warning, I intend it to be only info message if there's a failure to create the trust-all factory, as it is only a problem if the user turns off server cert verification. Only if this is the case, we will issue a warning at the first connection attempt.
I will change that and add the stack trace with debug level as you suggest.

Yes, this is definitely a leftover warning, I intend it to be only info message if there's a failure to create the trust-all factory, as it is only a problem if the user turns off server cert verification. Only if this is the case, we will issue a warning at the first connection attempt.
I will change that and add the stack trace with debug level as you suggest.


fix(card): prevent content from overlapping footer

Prevents content from overlapping the md-card-footer component by making the footer position: static.
Uses content projection to ensure that the footer will always be at the bottom of a card.

Fixes #5486.

Addressed the feedback @jelbourn.


HHH-14620 Do not initialize collections just to take a snapshot of their size

https://hibernate.atlassian.net/browse/HHH-14620
As far as I can tell this is safe enough for dirty tracking:

The collection tracker will return a size of -1 for that collection
Which is exactly the behavior we currently get after
$$_hibernane_clearDirtyCollectionNames is called if a collection has
been "retrieved" (getter called) but was not initialized.
This will mainly prevent some optimizations because we will no longer
be able to tell whether a collection is "dirty" or not.

I think we should be able to restore those optimizations: for
PersistentCollection instances, we would store the "initial" size
inside the collection itself upon initialization,
and we would compare THAT size to the current size in implementations
of $$_hibernate_areCollectionFieldsDirty (see
org.hibernate.bytecode.enhance.internal.bytebuddy.CodeTemplates).
Alternatively we could store the CollectionTracker inside the
PersistentCollection so that the collection can update the tracker
upon initialization.
However, that's outside the scope of this bug, that would require
significant testing, and that may cause conflicts with ORM 6, so I won't
do it here.
Relates to https://github.com/quarkusio/quarkus/issues/17291, which will be fixed after we release and upgrade the ORM dependency in Quarkus.

Merged, thanks


Trackball camera problem

When trackball camera is chosen, preview is broken https://jeromeetienne.github.io/threejsboilerplatebuilder/
Chrome console throws:
Uncaught TypeError: undefined is not a function
in line 72 : cameraControls	= new THREE.TrackballControls( camera )
Hope that helps ;-)

thanks for reporting. i will look


User Authentication

Any setup for this will do.  First instinct is to use the same setup as la Floraison with the React Global context and the useContext hook.

JWT is an option, as is the built-in django user auth
creating a new user should require a:
Preferred name,
email,
pw,
join code

The sign up and login forms have already been made

Dummy user:
email<EMAIL_ADDRESS>password : password678!

Vince's user:
<EMAIL_ADDRESS>password900!

Caleb's user:
<EMAIL_ADDRESS>password900!


Inventory scripts

Here are a couple of integration scripts I've written that solve some specific requirements.

AD Group Memberships Inventory: Create an inventory key with the current AD Group memberships of all AD-joined Immy agents.
-Inventory Local Administrators Including Entra: Get-LocalGroupMembers cmdlet doesn't work reliably if the Local Administrators group contains any unresolved Entra SIDs. Leverages Immy's connection to Graph to resolve users, Groups, and Roles and stamp them onto an inventory key.

Looks good, thanks! Definitely useful to have before deploying a removal :)


Tweet header is clickable when clickableProfileLink is set to false

Hi, again,
I noticed that when setting clickableProfileLink to false (or leaving it out as the default), the profile image, name, username and Twitter logo still remains clickable, as pictured below. When I click on it, it just opens the same site in another tab. This can be tested here.

I believe it's because even after setting it to false, the elements are still wrapped in the a tag, only without any href.

Thanks!

Hey @ClydeDz, thanks for the catch, I've fixed this and released it in 0.1.9

Thank you, @zorapeteri. I can confirm that it's fixed for the profile image, name, and username. However, the Twitter logo is still clickable. Is that expected?

The Twitter logo will always act as a link to Twitter by design.
If in your use case you don't want anything on the tweet card to be clickable, I advise you set a pointer-events: none CSS rule to .react-tweet-card__container or the className you provide to the component

A link to Twitter or the specific tweet? Because if it's a link to the Twitter site in general, I wouldn't mind it here. In that case, the href should default to Twitter.com? pointer-events: none does the trick, but I want hashtags and mentions to be clickable.

Good point! The Twitter logo was supposed to be a link to the permalink if provided. It seems it was the same issue with the href tag being empty instead of being completely omitted. Both should be fixed in 0.2.0, if you omit the permalink prop the twitter logo will simply be an image and not a link


Added support for updating Cygwin's mintty colours configuration

I sometimes happen to work on a Windows machine with Cygwin, but I still wanted it to look like my usual terminal, including colours, so I've given it a try and made the apply-colors.sh script capable of updating colours used by Cygwin's mintty too - here's what I ended up with.

Great, Thanks


inconsistent types between JoyDeviceEvent.Which and JoystickOpen()

For some reason the type of JoystickOpen() was changed from JoystickID to int. This creates an inconsistency with a very common source of this argument JoyDeviceEvent.Which.
In the future, please do not make changes that breaks client code and makes it WORSE (by requiring casts).

After checking the newest SDL sources it seems that the actual problem is the type of ev.Which. That one should not be JoystickID. In any case ev.Which should be able to be plugged into JoystickOpen without cast.

sigh After an even closer look it seems like the meaning of ev.Which differs for add and remove events, which conflicts with go-sdl2's use of a special JoystickID type. I think the only proper way to fix this is to split JoyDeviceEvent into 2 structs where the AddedEvent has ev.Which as int and the RemovedEvent has ev.Which as JoystickID.

For some reason the type of JoystickOpen() was changed from JoystickID to int.

This is the way it is supposed to work. There two different functions now as they are in SDL2.
// JoystickOpen opens a joystick for use.
// (https://wiki.libsdl.org/SDL_JoystickOpen)
func JoystickOpen(index int) *Joystick {
	return (*Joystick)(C.SDL_JoystickOpen(C.int(index)))
}

// JoystickFromInstanceID returns the Joystick associated with an instance id.
// (https://wiki.libsdl.org/SDL_GameControllerFromInstanceID)
func JoystickFromInstanceID(joyid JoystickID) *Joystick {
	return (*Joystick)(C.SDL_JoystickFromInstanceID(joyid.c()))
}

I think the only proper way to fix this is to split JoyDeviceEvent into 2 structs where the AddedEvent has ev.Which as int and the RemovedEvent has ev.Which as JoystickID.

Ye, I think that's the way we should do it.

I've committed the changes into the master branch.
There are two types of JoyDevice events now:
// JoyDeviceAddedEvent contains joystick device event information.
// (https://wiki.libsdl.org/SDL_JoyDeviceEvent)
type JoyDeviceAddedEvent struct {
	Type      uint32 // JOYDEVICEADDED
	Timestamp uint32 // the timestamp of the event
	Which     int    // the joystick device index
}

// JoyDeviceRemovedEvent contains joystick device event information.
// (https://wiki.libsdl.org/SDL_JoyDeviceEvent)
type JoyDeviceRemovedEvent struct {
	Type      uint32     // JOYDEVICEREMOVED
	Timestamp uint32     // the timestamp of the event
	Which     JoystickID // the instance id
}

Previous behavior:
Type: JOYDEVICEADDED,   Timestamp: 11051, Which: 0(sdl.JoystickID)
Type: JOYDEVICEREMOVED, Timestamp: 12312, Which: 0(sdl.JoystickID)
Type: JOYDEVICEADDED,   Timestamp: 18056, Which: 0(sdl.JoystickID)
Type: JOYDEVICEREMOVED, Timestamp: 19113, Which: 1(sdl.JoystickID)
Type: JOYDEVICEADDED,   Timestamp: 23048, Which: 0(sdl.JoystickID)
Type: JOYDEVICEREMOVED, Timestamp: 24342, Which: 2(sdl.JoystickID)

Current behavior:
Type: JOYDEVICEADDED,   Timestamp: 7671,  Which: 0(int)
Type: JOYDEVICEREMOVED, Timestamp: 9962,  Which: 0(sdl.JoystickID)
Type: JOYDEVICEADDED,   Timestamp: 16704, Which: 0(int)
Type: JOYDEVICEREMOVED, Timestamp: 17811, Which: 1(sdl.JoystickID)
Type: JOYDEVICEADDED,   Timestamp: 21710, Which: 0(int)
Type: JOYDEVICEREMOVED, Timestamp: 23174, Which: 2(sdl.JoystickID)


Added template for Digi Key invoices in Germany

I have created a template for invoices from Digi Key Germany.
It can extract most of the information from the lines and works with multi-page invoices. Unfortunately I have failed to successfully extract the product name (see comments in the template). Also this only works with credit card payments, due to the format of the invoice (and I don't have any invoices that weren't paid by credit card, so I can't test it).

Sorry for the delay.


/get_page timeouts on some sites

./tests/server_tests/sites_test.sh get_page

...

https://myg.ashoo.live/: fail, response:
  {"status":"error","message":"Error: Processing timeout (max_timeout=60.0)","startTimestamp":1733740920.647887,"endTimestamp":1733740980.929597}

https://www.ygg.re/engine/search?do=search&order=desc&sort=publish_date&category=al: fail, response:
  {"status":"error","message":"Error: Processing timeout (max_timeout=60.0)","startTimestamp":1733741044.412416,"endTimestamp":1733741104.691675}

https://1337x.torrentbay.st/cat/Movies/time/desc/1/: fail, response:
  {"status":"error","message":"Error: Processing timeout (max_timeout=60.0)","startTimestamp":1733741104.797894,"endTimestamp":1733741165.074361}

Can not reproduce after this fix


MLKitView typing: Hide overriden on-function

Getting the following error when registering the viewbase using svelte-native:
Types of construct signatures are incompatible.
  Type 'new () => MLKitView' is not assignable to type 'new () => ViewBase'.
    Construct signature return types 'MLKitView' and 'ViewBase' are incompatible.
      The types of 'on' are incompatible between these types.
        Type '(event: "detection", callback: (args: DetectionEvent) => void, thisArg?: any) => any' is not assignable to type '{ (eventNames: string, callback: (data: EventData) => void, thisArg?: any): any; (event: "propertyChange", callback: (data: EventData) => void, thisArg?: any): any; }'.
          Types of parameters 'event' and 'event' are incompatible.
            Type '"propertyChange"' is not assignable to type '"detection"'. ts(2419)

Resolved by adding @hidden directive for the overridden on-function.

@cla-bot check


How to set option being selected?

Hi All and @simonihmig,
I wonder how to set the selected option that been selected by user?
Although the object of the model changed, but the selected option isn't selected and the highlight (blue color) being selected at the first option.
Here is when the data already loaded, the option being selected (grey color):

But; when user changing the option (to other options; Spanish in this case), there is no selected (grey color) (even the object is changing):

Here are my models:
// core-user.js
. . .
export default class CoreUserModel extends Model.extend(Validations) {
  @attr name;

  @belongsTo coreLocale;
}

// core-locale.js
. . .
export default class CoreLocaleModel extends Model.extend(Validations) {
  @attr tag;
  @attr name;

  @hasMany coreUsers;
}

My Component:
// user-profile.hbs
<BsForm @model={{@model}} as |form|>
  ...
  <form.element
    @controlType="power-select"
    @label="Language"
    @options={{this.locales}}
    @property="coreLocale"
    @optionLabelPath="name"
  />
  ...
</BsForm>

// user-profile.js
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
import { tracked } from '@glimmer/tracking';

export default class UserProfileIndexComponent extends Component {
  @service store;

  @tracked locales;

  constructor() {
    super(...arguments);

    this.locales = this.store.query('core-locale', {
      sort: 'name'
    });
  }
}

The JSON API Response:
// core-users
{
  "data": {
    "type": "core-users",
    "id": "1204f808-9128-4c4f-8784-7a119592e9de",
    "attributes": {
      "name": "Rizky Tahara Shita",
    },
    "relationships": {
      "core-locale": {
        "data": {
          "type": "coreLocale",
          "id": "en"
        }
      }
    }
  },
  "included": [
    {
      "type": "coreLocale",
      "id": "en",
      "attributes": {
        "tag": "en-US",
        "name": "English"
      }
    }
  ]
}

// core-locale
{
  "data": [
    {
      "type": "core-locales",
      "id": "id",
      "attributes": {
        "tag": "id-ID",
        "name": "Bahasa Indonesia"
      }
    },
    {
      "type": "core-locales",
      "id": "en",
      "attributes": {
        "tag": "en-US",
        "name": "English"
      }
    },
    {
      "type": "core-locales",
      "id": "de",
      "attributes": {
        "tag": "de-DE",
        "name": "Germany"
      }
    },
    {
      "type": "core-locales",
      "id": "es",
      "attributes": {
        "tag": "es-ES",
        "name": "Spanish"
      }
    }
  ],
  "meta": {
    "pagination": {
      "total": 4,
      "count": 4,
      "per_page": 15,
      "current_page": 1,
      "total_pages": 1
    }
  },
  "links": {
    "self": "http://api.local/core-locales?sort=name&page=1",
    "first": "http://api.local/core-locales?sort=name&page=1",
    "last": "http://api.local/core-locales?sort=name&page=1"
  }
}

Did I missed someting?
Environment:
Ember: 3.20
Ember Bootstrap Power Select: 3.0.1

First, sorry for the late answer. I don't see an obvious mistake.
I was not exactly sure though what the problem is: when the user selects a different option, is the change not applied, or does @model.coreLocale change, and only the power-select's rendering is not correct?

Yes, the model correctly changed; but the rendering is not being selected by the grey color

@wukongrita Did you fixed the issue in the meantime? If not, do you mind creating a reproduction? That would be very helpful to debug.

I quickly checked in dummy app. It is working as expected there. Going to close this issue due to missing reproduction. Please provide a reproduction if you still struggle with it.


Error with react native

I tried to use this package on a react native package but got this error:
In this environment the sources for assign MUST be an object.  This error is a performance optimization and not spec compliant
I did some digging and found what it is complaining about:
src/ext/infestines.js:12
export const protoless0 = I.freeze(protoless(0))
This calls the protoless function which assigns the value 0 to an empty object, which is what throws the error.
I am wondering why as I couldn't find any changes to the object after the 0 is assigned and if I replace protoless(0) with create(null) and run the tests, everything seemed to work.
Maybe there is a reason for this that I am missing?  Thanks in advance for any help

Hmm... I believe Stefan Rimaila (@stuf) ran into this same issue some time ago.
Would you like to make a quick PR with the following diff
-export const protoless0 = I.freeze(protoless(0))
+export const protoless0 = I.freeze(protoless(I.object0))

which should also work around the issue with RN?  I'm hesitant to make more significant workarounds for RN, but if the immediate crash is due to just that one line, then why not just change it.
The root problem is that, for some reason, React Native implements a polyfill (or a replacement?) for the standard Object.assign function that is not spec compliant.  In other words, it doesn't work like the JavaScript standard specifies it should work.
Partial Lenses basically uses Object.assign internally in some object manipulating optics to convert objects with non-trivial prototypes to plain objects that can be iterated over safely using for (const k in o).  It is also possible that Partial Lenses calls Object.assign with arguments that are not objects, which is something that Object.assign should also handle (according to spec it converts null and undefined to (effectively) empty objects and calls ToObject on other inputs).
I mention the above because, even though the change to protoless0 might make Partial Lenses to not immediately crash on React Native, it is still the case that some operations with Partial Lenses might crash on React Native due to the non-spec compliant Object.assign implementation on that particular platform.  This might happen, for example, when you try to access some value x that is not an object with an object manipulating optic.  Normally such an operation would treat the value x in the same way as if it was undefined, but with RN the operation would instead throw an error due to the non-spec compliant Object.assign.

Done
Pull Request

Thanks for reporting this and the PR!  I've now released v13.7.4 that contains the workaround.


[Documentation] update CONTRIBUTING.md to reflect CNTI Test Catalog

Describe the update:

update CONTRIBUTING.md to reflect CNTI Test Catalog
https://wiki.lfnetworking.org/display/LN/Test+Catalog

Describe why update is needed

CNF WG (and CNCF’s related Cloud Native Telco efforts) has moved to LFN (see wiki)
CNF Test Suite is now called CNTI Test Catalog

Tasks:

[ ] replace mentions of CNF Test Suite with CNTI Test Catalog
[ ] replace outdated URL links with up-to-date URLs (ex. replace all mentions of https://github.com/cncf/cnf-testsuite/ ... )
[ ] replace CNCF slack channels with LFN Tech slack channels
[ ] tbd - other updates as needed to reflect CNTI Test Catalog

To do:

review and update this section for accuracy:
`## Submitting a PR:

Once you have implemented the feature or bug fix in your branch, you will open a PR to the upstream cnf-testsuite repo. Before opening the PR ensure you rebased on the latest upstream, have added spec tests, if needed, all spec tests are passing.`


Define SITC objectives for 24.3

Need the environments and some documentation to help them get started. Most of this work will be done through the first 2 objectives of 24.3:

Venue Deployment(s)
Round Trip Algorithm Development

The archive capability, required by ASIPS, will be implemented in 24.3 and tested, updated over the time remaining in 25.x


Closes #160 - Adds People you might know components

Closes #160
PS: Anything common in these below demo profiles. Yup birthday on 4th of august!

@IamManchanda haha, you're in good company then!

@canterberrie Code brevity is the reason!
The code was getting too longer
I think this way it's good !
There is no such manual that row and columns classes should have other classes!

Moreover it was requiring lot of nesting.. I think this way its also ohk

@IamManchanda Sounds good to me! Merging :)


hyprctl instances give an error, if /tmp/hypr/hyprland-share-picker.conf is exist

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit 555afea73c87f8e2bb374d1112431bb3a6f451dd  ().
Date: 2024-03-01
Tag:

flags: (if any)

System Information:
System name: Linux
Node name: theseus
Release: 6.7.6
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:51:59 UTC 2024

GPU information:
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240229.1536926"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

plugins:
  hycov by DreamMaoMao ver 0.3

Bug or Regression?
Bug
Description
hyprctl instances fail if the file /tmp/hypr/hyprland-share-picker.conf exists. Removing the file fixes the problem.
❱ hyprctl instances
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoull
Aborted (core dumped)

Releated to https://github.com/hyprwm/Hyprland/issues/4825 , deletion of file fixes this
How to reproduce

Have an OBS or similar screen sharing tool, on first launch or while selecting source it will create /tmp/hypr/hyprland-share-picker.conf file
Try to hyprctl instances when file exist
Get error:

terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoull
Aborted (core dumped)

Delete /tmp/hypr/hyprland-share-picker.conf
No more errors until OBS opened again and file created

Crash reports, logs, images, videos
No response

I am pretty sure I fixed that a while back. Are you sure your hyprctl also comes from the latest commit?

❱ whereis hyprctl
hyprctl: /nix/store/3pnr5abyn137wgmd7zwvxfg0v6kfrssc-home-manager-path/bin/hyprctl /nix/store/1zmxd8w7xx5bxbsbyy5k2pwhkpk5rj2a-system-path/bin/hyprctl

/nix/store/1zmxd8w7xx5bxbsbyy5k2pwhkpk5rj2a-system-path/bin/hyprctl  is a symlink to /nix/store/8jiv0gz5a4arz5i7p1hcf2sqcj8lr5r9-hyprland-0.36.0+date=2024-03-01_555afea/bin/hyprctl and as you can see by 555afea it comes from 555afea73c87f8e2bb374d1112431bb3a6f451dd , same as my Hyprland version

odd


Restoring multimarkers examples

⚠ All PRs have to be done versus 'dev' branch, so be aware of that, or we'll close your issue ⚠
What kind of change does this PR introduce?

It try to restore multimarkers examples.
Can it be referenced to an Issue? If so what is the issue # ?
There is not a specific issue but it is part of #402
How can we test it?

Test the learner.html and player.html inside three.js/examples/multi-markers/examples/
Summary

This PR not improve the multi-markers examples, it simply fix the url paths for the examples.
Does this PR introduce a breaking change?
No at all.
Please TEST your PR before proposing it. Specify here what device you have used for tests, version of OS and version of Browser
Tested on desktop Ubuntu 20.04, the learner and player seems to work, But i can't assure and i will not work on that feature for now.
Other information
This feature was under development in the old repository by the original creator, we do a minimal restore but i personally i have not time to continue on this.

@nickw1 i merge this soon there is not needs to test (i have tested), as mentioned at the top this was under development and i'm not sure how we can continue. At least we can make this minimal restore but PR's are welcome to improve it!

@kalwalt seems fine to merge in that case. I don't know so much about marker-based so I doubt I can work on it myself, but yes PRs would be welcome!

latest commit should fix https://github.com/AR-js-org/AR.js/pull/411

@nickw1 if you agree i will make a new release soon when i have time. Probably we can make a 3.4.0 release now?

@kalwalt sounds good. I might just add some READMEs to the various location-based APIs, if that's OK - to ensure users are clear what is what. I think I will encourage people to use the new-location-based version if they want to use location-based with A-Frame, and then fall back to the older version if they have problems.

@kalwalt OK have added the READMEs so I'm happy to release now if you are.

@nickw1 i will do it soon!

@kalwalt ok great!


winPB: Change Cygwin checksum

It's changed again.
@sxa555 How'd you feel about taking the checksum off the Cygwin Setup?

@sxa555 How'd you feel about taking the checksum off the Cygwin Setup?

"Somewhat mixed" :-) But them my preference is to try and figure out how to make a cached install work, so in the meantime I'll let this through as-is. Bear in mind we have the same issue with at least one of the Visual Studio installers too

"Somewhat mixed" :-) But them my preference is to try and figure out how to make a cached install work, so in the meantime I'll let this through as-is. Bear in mind we have the same issue with at least one of the Visual Studio installers too

I was worried you'd say that 😂 I checked the MSVS_2017 installer and that's fine- I think it was just a cygwin update


Feature Request: Co-locate Bazel Generated Files with targets

Curious how difficult it might be to co-locate the generated files (i.e genrule or swift_proto_compile sources) under the target's group in Xcode?
For example, in addition to the top-level group Bazel Generated Files there could be a generated files group for a target package.
.
└── Modules/
    ├── Foo/
    │   ├── Sources/
    │   │   └── Baz.swift
    │   └── Bazel Generated/
    │       ├── <config_ios15>/
    │       │   └── File_Genrule_Generated.swift
    │       └── <config_ios16>/
    │           └── File_Genrule_Generated.swift
    └── Proto/
        ├── proto/
        │   └── test.proto
        └── Bazel Generated/
            └── test.pb.swift

I've abbreviated the true output_base paths for brevity (but noted multiple potential configurations for a generated file with the config_ios15 and config_ios16).
Unsure if this is really feasible, but thought I'd ask since it can currently be a bit tricky to find generated files in Xcode to inspect their contents.

@erikkerber Do you want to add to this feature request, since you've personally asked for something similar in the past?
@sebastianv1 this is doable, it just hasn't been a priority since I've only had one other request for it before.

@brentleyjones Makes sense and glad to hear it's doable! Any pointers on where I might get started on a potential implementation?
@erikkerber Would love to hear what y'all would find helpful as well.

I remember mentioning this before, but I don't have anything profound to add to the general idea of putting generated files in an Xcode group that corresponds to the package a generated file shares with a i.e. Swift module.

Thanks for the pointers @brentleyjones ! I'll actually have some time to try implementing this.
I did a superficial pass, and one problem I'm thinking about is how we would know which group the Bazel Generated files should fall under solely based on the path, and not the Bazel package + label.
For instance, let's say we have Modules/Foo:genrule_x and Modules/Foo/Bar:genrule_y. I believe the generated BazelPath instances would just be bazel-out/darwin-<x>/bin/Modules/Foo/GenruleX.swift and bazel-out/darwin-<x>/bin/Modules/Foo/Bar/GenruleY.swift? In my mind it makes sense to add a Bazel Generated files group next to package's group (if it exists) in Xcode. Maybe it's possible to infer this if a BUILD.bazel is present?

The generated files have owner labels, so we can determine their package, pass that info along somehow, and then place these groups there.

Initial draft PR where we could probably continue any implementation specific details: #3047 🙏


TYPO3 v8 requires PHP7+

Hello!
The TYPO3 v8 development cyclus is starting. TYPO3 v8 requires PHP7+, see https://typo3.org/news/article/kicking-off-typo3-v8-development/
TYPO3 v8.0  --  Mar 22nd, 2016  --  Sprint Release
The current dockerfiles support PHP5+
Unfortunately I can't support with this, as I am not experienced in packing docker files.
Kind Regards
\Elmar

PHP 7.x support is already available in develop Branch.

Dockerfile.development: ubuntu-16.04 -> PHP 5.6 and 7.0 (xenial)   LTS
How do you select the PHP version?

The TYPO3 master branch already breaks with:
"This version of TYPO3 CMS requires PHP 7.0 or above"

Look at Dockerfile.development:
You can use eg. webdevops/php-apache:debian-8-php7 or webdevops/php-apache:ubuntu-16.04-php7
But beware that xenial is not stable right now

Thank you. I understand the naming system now. Installed webdevops/php-apache:debian-8-php7.

debian-9 will be currently fixed with new images, found some issues.
Build is running: https://build.webdevops.io/build/45bf7960ea04b1626a45849656dc4d0b
You can join us at slack: https://webdevops.io/slack/

PHP 7 is now available with tag alpine-3-php7, debian-8-php7, debian-9 and ubuntu-16.04.
For TYPO3 please use ubuntu-16.04


500 error on Setup

I am trying to set up Ghost on my server using Plesk Onyx.  I have NodeJS setup and all of the directories are correct and I can go to my domain and the main page loads but when I try to go into setup I get a 500 error and I cant figure out what is causing this to happen.  I have included the console screenshot from Chrome.  Any help would be appreciated.
Thanks

Ghost Version: 0.11.4
Node Version:  6.9.1
Browser/OS: Chrome/Windows 10

Hi @dpawson905, sorry to hear you're having trouble getting set up. Unfortunately we only use GitHub for bug tracking and on-going development rather than support requests. If you need help getting Ghost installed and configured please head over to our slack channel where the community is more than happy to help 😄
As a starting off point I would suggest you look into the cause of the net::ERR_TOO_MANY_REDIRECTS error - it sounds like there may be something in your proxy/ghost setup that isn't configured correctly.


[Slidr] Error adding [horizontal] slides for [testimonials-slider].

Hi! I can't make my slider infinitely. Console shows me warning message "[Slidr] Error adding [horizontal] slides for [testimonials-slider]". What does it mean?
slidr.create('testimonials', {
	breadcrumbs: true,
	overflow: true
}).add('horizontal', ['one', 'two', 'three', 'one']).start();

Hi @Pestov,
It looks like you have data-slidr="tree" set in your html markup instead of data-slidr="three", so the library can't find the slide you're trying to animate.
Let me know if that fixes the issue.

@bchanx thanks man, it works.  I read docs more than hours, checked version and problem in "tree" and "three". Ohhhh =)
Thanks again, slidr is cool!


Broken Link

Scoot's Cameo link seems to be broken.

I updated the links. Let's check next stream to see if it's fixed.

It should be fixed now that I removed all of the periods after links. The cameo issue was a weird one but should also be fixed now.


A few post release fixups on RELEASE.md

I made a few more updates (added some missing steps and fixed some inconsistent formatting).
I made this pr a draft until I finish the bpfman-operator release in case I need to make any more updates.
However, feel free to comment on what I have so far if you want.

Thanks for the review, @Billy99.  I think I addressed all of your comments.


Great library, but size is too big

Hey. I just want to thank you for this really smooth component. I have been searching for a searchbox for a while, and I was going to write my own reanimated searchbox until I stumbled upon this. REALLY GREAT, BUT...
I am really have no experience building out packages, but when I installed the packaged and used it, I saw that the package size is way too big. Here is a picture from an extension I have from vs code:

I have no idea why it is taking so much space, so I really just copied the index.tsx into a local component. I really dont want to do that, and I want to use your library as a dependency, but I hope you can fix the size issue.
As I see i copied your src folder and the component works, but the lib folder is really heavy about 58kb which does not seem to affect the working of library. As I said before I have no idea how packages work, but I just wanted to let you know that because this component really helped, and you should put this in reactnative.directory after fixing the size issue

Thank you for your response. I think this problem because my lib required react-native-vector-icons/dist/Ionicons


Problem with Cyrillic when exporting to pdf

Describe the Bug
When exporting to PDF, instead of Cyrillic, I get the characters "?".
Steps to Reproduce
Go to book|page -> Export -> PDF file
Expected Behaviour
I was expecting to see Cyrillic characters
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v23.08.3

Thanks for raising @antonjuice, but I think this is essentially already covered by #719.
Let me know if this has worked previously, until recently, and I could re-open since it may be something else at play. I'd just need to understand what version of BookStack it worked in.

About the previous version. I can't say. I just installed the current version yesterday.


📊 nasa: ozone layer

Tracking issue
Adds a new datapoint for year 2023, and updates the step code to use the latest available.
Tasks

[x] Snapshot, Meadow, Garden, Grapher
[x] Update charts
[x] Approve charts
[x] Archive old dataset

thanks for your careful review, Pablo! <3


Add a container file to the repo to create a basic test image.

First step to creating a container for test execution. This first piece should align with the InterOp Team's efforts.

What is this for?-)

What is this for?-)

This is a the containerfile needed to add support for execution in the OpenShift CI by the Interop team.

Oh I see. I'm afraid I'm for no use with it:(
@jmtd  You have more insght into this?

I'm afraid I don't know what the interOp team are doing. All I can say is this is a syntactically valid Containerfile, and it looks sensible.


Update README.md

About the PR
added emojis in Readme for increasing engagement and for good  appearance .

missing :trollface:

missing :trollface:
?

pr closed because you didnt use :trollface: :trollface:


Clicking on Magnet links doesn't do anything after 0.10.0

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)
0.11.0 and above
What operating system and version?
Windows 10 Pro
What did you do?
Click a magnet link in any website.
What did you expect to happen?
Open it in Webtorrent Desktop
What actually happened?
Nothing
Until version 0.10.0 I clicked on magnet links and it opened just fine. I have tried:
-ALL versions after 0.10.0 -> <IP_ADDRESS>.1 & 14
-All 3 browsers (Firefox, Chrome, MEdge)
-both without making it the default torrent app and with making it
-3 devices. 2 laptops and a media box. All with windows 10
and none of these combinations opens a magnet link. I am no programmer but since 0.10.0 still works fine clicking on any magnet link I am guessing that there is something going on with 0.11.0 new feature of "New Preference to "Set WebTorrent as default handler for torrents and magnet links"". I am looking through the issues and there is no mention on this. Hey... I cant be the only one :)
Hope you figure this out cause I am stuck to v0.10.0 for ever.

The only solution I found so far is through Firefox to set the default handler for magnet links inside Firefox settings to Webtorrent Desktop.

This is intentional. Some users found it intrusive for WebTorrent to automatically set itself as default magnet and torrent file handler. Try setting WebTorrent as default torrent app in Edit > Preferences menu.  See #771.

As I mentioned above, I already did. I tried every combination with settings, browsers and WTD versions. Any version above 0.10.0 doesnt grab the magnet links. I have also checked all the issues. Am I the only one with this problem? Strange cause I tried the same things on 2 laptops, 1 tablet and one Media Box all on windows 10. If there is any more info logs etc I can provide, let me know.

Same issue as #791 I assume.

Yes. I also confirm that the problem exists in all versions after 0.10.0. Both fresh installs (after uninstallation) and upgrades from previous versions.

@djgenesis thanks for being so thorough. We'll try to fix this in the next release

Happy to help guys. Keep up the great work.

Installed v0.15 on one of my laptops and now the problem is fixed on all browsers (Chrome, Edge, Firefox) !!!  So the problem was in versions between 0.10 and 0.15. I will try it on all the devices once again to see if all are grabing the magnet links

@djgenesis wow, sweet. I didn't think we had fixed it yet.
There were def other bugfixes in 0.15, so maybe one of them indirectly made the magnet link handler work again.

I'm at 0.16 and still does not work :/


How to perform forecasting on a data for which we only have the index?

What if I have only the time index of the data and I want to forecast the y value. I see that your model depends on the ground truth y values to update the state for the next forecasting. Is it possible to do forecasting without having the y ?

Have a look at examples/hw.py. The forecast() function lets your run a Holt-Winters model forward without additional observations. Coupla things here:

the seasonal package is not a H-W implementation, though it uses the same representation for seasonality. hw.py shows how one might generally use seasonal when writing a forecaster, we just chose H-W because it is so simple to code.

H-W forecasts are rather dull -- they simply play back the most recent observation (this is the most-likely next observation), offset by current trend and seasonal estimates.


Exclude certain folder names in watch folder

First of all thanks for the image!
I'm currently having an issue with the auto-convert functionality. The tool that I use (Sabnzbd) converts its files during download in this folder and prefixes the folder name with UNPACK. During this time, handbrake already starts to convert the file, even though it isn't complete yet.
It would be nice to pass some kind of REGEX to the auto converter for ignoring this kind of folders.
I tried to run a pre hook and exit with 1, but this doesn't influence the auto converter it self.

The best way to fix this is to prevent Sabnzbd to use the watch folder as its download/extract directory.  I guess that Sabnzbd has a way to run custom commands/script once the download is finished?  This can be used to copy/move the files to the HandBrake's watch folder.
Also, a file in the watch folder is not processed if it is not "stable" for at least 5 seconds.  Maybe this is not enough for your scenario?  You can try to increase this time via the AUTOMATED_CONVERSION_SOURCE_STABLE_TIME environment variable.

The best way to fix this is to prevent Sabnzbd to use the watch folder as its download/extract directory. I guess that Sabnzbd has a way to run custom commands/script once the download is finished? This can be used to copy/move the files to the HandBrake's watch folder.
Also, a file in the watch folder is not processed if it is not "stable" for at least 5 seconds. Maybe this is not enough for your scenario? You can try to increase this time via the AUTOMATED_CONVERSION_SOURCE_STABLE_TIME environment variable.

I am having the same issue as Raphael. I have a 9900K CPU but sometimes it takes 4 minutes to unpack. So I have configured the stable time to 300 sec and this solved the issue.
However there is one downside, info, sub, txt, idx get picked up as well and some folders contain a few of them. This means that it can take up to 30 min before the actual movie file is picked up.
Now I am happy it actually works so not that bothered about this but having what Raphael suggested would be nice.

@LaurensBot I solved it for me, by writing a custom app, that can watch multiple folders and ignore certain patterns (like for example UNPACK) of Folders/Files before moving them.
I later also plan to compare the input and the output file of handbrake and take the smaller one into my library.
If there is any interest in this kind of package, I will try to make it publicly available at some point.

I think that disabling Direct Unpack in Sabnzbd could also be a solution?

@jlesage , that does indeed help for most but there are still some cases where it starts before the unpack is done.
@RaphaelJenni I am sure there is an interest in this :)


CU115 nightly torchvision 0.13.0 for Linux stopped updating since 20220422

🐛 Describe the bug
CU115 nightly torchvision 0.13.0 for Linux stopped updating since 20220422
Can we have an update for torchvision 0.13.0 for Linux cu115? https://download.pytorch.org/whl/nightly/cu115/torch_nightly.html
Thanks
Versions
cuda==11.5
torchvision==0.13.0.dev

They stopped after #5862. We now only provide binaries compiled against
https://github.com/pytorch/vision/blob/62740807c18e68bb0acd85895dca527f9a655bd5/.circleci/regenerate.py#L35-L37
The same is true for PyTorch core. The latest nightly release build against CUDA 11.5 is from 20220423.

Do you mind reconsidering the removal of the Linux on Cuda 11.5 ?
Cuda 11.5 is the default on Ubuntu 22.04 LTS and having a torch/torch2/torchvision build would come very handy.

Do you mind reconsidering the removal of the Linux 11.5 build ?

Nope. We just recently also removed CUDA 11.6 builds and are not going back.

Cuda 11.5 is the default on Ubuntu 22.04 LTS and having a torch/torch2/torchvision build would come very handy.

There is probably a misunderstanding here: you don't need CUDA installed to utilize a GPU from PyTorch. You only need the Nvidia driver. You only need CUDA installed if you want to build from source.
As for the Nvidia driver version, you can refer to Table 2 in https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html. For CUDA 11.5 (as for most 11.X versions) you only need version >=450.80.02. I don't know what the version of driver in the official Ubuntu repos is, but it should suffice for CUDA 11.5, given that the required driver version is quite old.
To find out what driver version you have, run nvidia-smi and look at the table header. This conveniently also displays the maximum CUDA version that is supported. Everything below that is supported as well.
In case you install from pip, I recommend light-the-torch (note that I'm the author), since that takes care of all the stuff and simply gives you a compatible PyTorch / TorchVision / ... version for your system.


Fix match_data decoding

Nasty little bug with incorrect message property being passed.
Thanks for the port to NE :+1:

Thanks @uncleNight !

Thanks @uncleNight !


Add documentation example for dynamically hiding widgets

First, thank you very much for your work on this project! I'm grateful for the work that's gone into the project to date.
Reasons for making this change
This PR updates the "Hidden Widget" documentation to include an example for dynamically hiding / filtering aspects of large forms. This new documentation would answer #598. The change I've proposed does not illustrate using a search box and the component's React state, but could be expanded to.
Is this a change that you think would be useful for others in the community to have available as an example?
Checklist

[X] I'm updating documentation

[X] I've checked the rendering of the Markdown text I've added

[ ] I'm adding or updating code

[ ] I've added and/or updated tests
[ ] I've updated docs if needed
[ ] I've run npm run cs-format on my branch to conform my code to prettier coding style

[ ] I'm adding a new feature

[ ] I've updated the playground with an example use of the feature

Thanks for the PR -- perhaps it would be more appropriate to add this as a codesandbox example instead of being its own section in the docs?

Sure, I can re-jig it to follow that approach!

@epicfaace, is 2aba7a6 in line with what you had in mind?
(prettier also automatically removed a few errant spaces in that commit; I can revert those if you prefer.)

Explaining my force-push just now: I rebased onto current master, so that my commits are on top of all of the latest changes.


Custom time input needs 2 clicks to focus

Describe the bug
The time input does not focus when you click on it the first time. It needs 2 clicks to focus.
To Reproduce

Go to the "Custom time input" example.
Click on the datepicker input to open the picker.
Click on the time input.
The time input is not focused.
Click on the time input again.
The time input is focused.

Expected behavior
The time input should be focused the first time you click on it.
Desktop

OS: Windows 11
Browser: Firefox Developer Edition 128.0b7 and Chrome 126.0.6478.127

Additional context
Upgraded from react-datepicker 4.17.0 to 7.2.0. It was working fine before.

Hi @martijnrusschen,
Please assign this issue to me. I'll work on this.

When I analyzed this issue, it's not related to the example of the custom time input we use.  But also with the default time input.
We can reproduce the double click time input issue mentioned using one of the following code

Default Time Input

() => {
  const [startDate, setStartDate] = useState(new Date());
  return (
    <DatePicker
      selected={startDate}
      onChange={(date) => setStartDate(date)}
      timeInputLabel="Time:"
      dateFormat="MM/dd/yyyy h:mm aa"
      showTimeInput
    />
  );
};

Custom Time Input

() => {
  const [startDate, setStartDate] = useState(new Date());
  const ExampleCustomInput = forwardRef(
    ({ value, onClick, className }, ref) => (
      <button className={className} onClick={onClick} ref={ref}>
        {value}
      </button>
    ),
  );
  return (
    <DatePicker
      selected={startDate}
      onChange={(date) => setStartDate(date)}
      customInput={<ExampleCustomInput className="example-custom-input" />}
    />
  );
};

@martijnrusschen, can you please assign this issue to me.  I fixed the issue, will raise a PR in sometime.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 582

Questions ?
Please refer to the Backport tool documentation


SCRCPY not responding to touchscreen input

I have a triple boot system, between Windows 10, Ubuntu (the OS I'm using right now) 19.04, and Zorin OS 15. When I'm using SCRCPY on Windows, I can use my touchscreen for input, in addition to the keyboard, and mouse, but not in Ubuntu; [in Ubuntu] it works, as regular, elsewhere, just not with SCRCPY. I'm currently using the SNAP package; I tried building it from source, but that didn't work; I tried for 15 hours, and failed, each time, and finally opted for the preconfigured SNAP package.

@sisco311 any idea?

I tried building it from source, but that didn't work; I tried for 15 hours, and failed, each time

:scream:
Where did it fail?
Did you use the prebuilt server?
Did you follow BUILD.md?
# runtime dependencies
sudo apt install ffmpeg libsdl2-2.0-0

# client build dependencies
sudo apt install make gcc git pkg-config meson ninja-build \
                 libavcodec-dev libavformat-dev libavutil-dev \
                 libsdl2-dev

git clone https://github.com/Genymobile/scrcpy
cd scrcpy

meson x --buildtype release --strip -Db_lto=true \
    -Dprebuilt_server=/path/to/scrcpy-server.jar # edit the path!
cd x
ninja
sudo ninja install

You can use snappy-debug to parse the log file(s) for errors in real time.
sudo snap install snappy-debug
Run it in a terminal:
sudo snappy-debug
then start scrcpy in another terminal window.
Post the output of snappy-debug here.

I have NO idea where it failed; that's why I posted; yes I used the prebuilt server, and I (as best as possible) tried to follow build.md; "MAN, that thing is "as clear as pea soup", to understand.".
Get Outlook for Androidhttps://aka.ms/ghei36
From: Romain Vimont
Sent: Tuesday, July 9, 4:17 AM
Subject: Re: [Genymobile/scrcpy] SCRCPY not responding to touchscreen input (#636)
To: Genymobile/scrcpy
Cc: BigDogBoy, Author
I tried building it from source, but that didn't work; I tried for 15 hours, and failed, each time
😱
Where did it fail?
Did you use the prebuilt serverhttps://github.com/Genymobile/scrcpy/blob/master/BUILD.md#prebuilt-server?
Did you follow BUILD.mdhttps://github.com/Genymobile/scrcpy/blob/master/BUILD.md?
runtime dependencies sudo apt install ffmpeg libsdl2-2.0-0 # client build dependencies sudo apt install make gcc git pkg-config meson ninja-build \ libavcodec-dev libavformat-dev libavutil-dev \ libsdl2-dev git clone https://github.com/Genymobile/scrcpy cd scrcpy meson x --buildtype release --strip -Db_lto=true \ -Dprebuilt_server=/path/to/scrcpy-server.jar # edit the path! cd x ninja sudo ninja install
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Genymobile/scrcpy/issues/636?email_source=notifications&email_token=AMR5ORNTIEZY5KZXIPA7I6LP6RQSVA5CNFSM4H7AC4FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZP2BUI#issuecomment-509583569, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMR5ORP3V6XQYADUQX3JQT3P6RQSVANCNFSM4H7AC4FA.

Was just told it is implemented on development branch and will be in the next release.  Same issue as well.

Hello, If anybody still has issues with scrcpy touch, try to lower the resolution at which your phone is being displayed. I ran into this problem, because, I have a newer phone, with a relatively older laptop. The laptop graphics were able to support the high res display of my phone, but the touch didn't work.
To mitigate this issue I used the following command.

    scrcpy -m 768  #This 768 number is the resolution you can set. You can go lower for older phones.

Thank you for your feedbacks.

The laptop graphics were able to support the high res display of my phone, but the touch didn't work.

This is weird. If you switch to fullscreen, does it work?
If you try to click anywhere in the window, does it sometimes click somewhere at a wrong position on the device?

I just tested it out. And I could not see any visible touches.
So i thought I'd test it thoroughly. I went into developer settings and turned on the following options

Show touches
Show pointer location
Show surface updates

Then I launched scrcpy and switched to full screen.
I tried touching, tapping, scrolling. But I didn't get any feedback.
I went back to using scrcpy -m 1080 and it worked fine.

OK, that's very surprising to me.
When you click, do you see any error in the output of adb logcat?
What if you keep the full definition, but use a lower bitrate?
scrcpy -b2M

First of all, I'm not very versatile in reading adb logcat.
So I'll post it in a gist for you to look at.
Still did not get any touch input even at a lower bitrate.

OK, nothing special on the Android side when you start scrcpy. Maybe the computer is so busy that it may not process input touch correctly… If you could try another device on this computer, and this device on another computer, that could be interesting…

That could be very interesting indeed. However, I have one computer and one device at my disposal currently. When I get more devices, I'll respond back, in this comment itself.

Does it still happen?

The issue is resolved; I've got a whole different computer, and installation.


ListResponse is mapping to Object instead of model

https://github.com/halkeye/digitalocean-java-client-gen/blob/0f158364c581e112d9b98043b2431b3f4b0c9a8e/src/main/java/com/digitalocean/api/models/RegionsListResponse.java
I'm pretty sure that should be mapping to List<Region> not Object
Generated via
npm run autorest -- client_gen_config.md \
		--generate-samples \
		--generate-tests \
		--use:@autorest/modelerfour@$(MODELERFOUR_VERSION) \
		--use:/home/halkeye/go/src/github.com/jenkinsci/autorest.java \
		--package-version=$(PACKAGE_VERSION) \
		--input-file=$(SPEC_FILE)

turns out i was raeding the yaml wrong
    ¦ ¦ ¦ ¦ schema:                                                                                ¦ ¦ ¦ ¦ ¦ allOf:                                                                                ¦ ¦ ¦ ¦ ¦ ¦ - type: object                                                                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ properties:                                                                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ regions:                                                                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ type: array                                                                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ items:                                                                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ $ref: '#/components/schemas/region'                                                                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ required:                                                                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ - regions

Its an object with a key of regions which is a list
The fact that its a bare object might be a bug, but totally something completely different

Not intuative, but works!
        GeneratedClient client = new GeneratedClientBuilder()
            .credential(tokenRequestContext -> {
                return Mono.fromCallable(() -> new AccessToken(System.getenv("DIGITALOCEAN_TOKEN"), OffsetDateTime.MAX));
            })
            .buildClient();
        Object all_regions = client.getRegions().listAsync(25, 1).block();
        ((HashMap) all_regions).get("regions")

It might be caused by the way swagger (YAML) list the error codes, and the way MS (hence the autorest.java) treats error codes.
MS would annotate error response e.g. 400+ as x-ms-error-response. Else they are treated as success as 200+.

this change in YAML would work
    unauthorized:
      x-ms-error-response: true
      description: Unauthorized
      headers:
        ratelimit-limit:
          $ref: '#/components/headers/ratelimit-limit'
        ratelimit-remaining:
          $ref: '#/components/headers/ratelimit-remaining'
        ratelimit-reset:
          $ref: '#/components/headers/ratelimit-reset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            id: unauthorized
            message: Unable to authenticate you.
    too_many_requests:
      x-ms-error-response: true
      description: API Rate limit exceeded
      headers:
        ratelimit-limit:
          $ref: '#/components/headers/ratelimit-limit'
        ratelimit-remaining:
          $ref: '#/components/headers/ratelimit-remaining'
        ratelimit-reset:
          $ref: '#/components/headers/ratelimit-reset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            id: too_many_requests
            message: API Rate limit exceeded.
    server_error:
      x-ms-error-response: true
      description: Server error.
      headers:
        ratelimit-limit:
          $ref: '#/components/headers/ratelimit-limit'
        ratelimit-remaining:
          $ref: '#/components/headers/ratelimit-remaining'
        ratelimit-reset:
          $ref: '#/components/headers/ratelimit-reset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            id: server_error
            message: Unexpected server-side error

Oh wow, Thanks so much, when I realized the spec file was having issues, not generated, i closed it not expecting help. Again thanks for going above and beyond.
So much cleaner now, and I see the @UnexpectedResponseExceptionType annotation in the code. Some of the class names are ugly, but those are totally fixable on the spec side. This is very exciting
List<Region> allRegions = client.getRegions().listAsync(25, 1).block().getRegions();

Thats a lot nicer than having to cast objects to maps


Fixed QA issues for verse check (selection mode)

This change is

Reviewed 7 of 7 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Spring data jpa and lombok

can we do a directory on spring data jpa and a separate one on Lombok

Spring data (Java Persistence Api) jpa is a framework used to interact with data sources from spring boot application context

lombok is a java package that leverages the trouble of creating getters, setters and all the related class methods including the tostring, hashcode and equals. It reduces the amount of boiler plate code to be written

Please add this section


Adventures: more styling and UX

Sort projects on Browse page by last updated, and style the project links a bit
Style markdown components (mostly spacing/positioning tweaks)
For create/edit, validate all fields on save
(Unrelated fix) Make navbar logo link to the home URL, not just the app title

Maybe don't merge this till I look into why the success alert failed to appear while I was demoing today..


The resource cannot be found.

Hi,
In the pages I used this component after uploading to the host, the following error occurs:
Server Error in '/' Application.
**The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.
Requested URL: /WebForm1.aspx**
Technology used: Asp.net Web Forms C#
Can you guide me?
Thanks

Could not load file or assembly 'MTApiService, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=fe39c8c11cabcd1e' or one of its dependencies. The system cannot find the file specified.


Disable nav on about modal

solves #1043

When you open "about" or "support" modal, the Menu and Notifications are disabled. Modal is cleaned up on a route change.

The nav shouldn't be disabled when the about modal is opened.
The issue is the modal appears in front of the nav, when it should be behind. I'll put in a PR for that.


Terminal exited without user interaction

Windows Terminal version (or Windows build number)
WT 1.8.1444.0, Win 10 19042.985
Other Software
No response
Steps to reproduce
Terminal was left running a tool in Powershell. Returning to the computer showed Terminal closed. Trying to reopen it, the process exits after a few seconds without opening a window.
From around the time that Terminal exited, this is found in event log (unlocalized from German):
The access history in hive "\??\C:\Users\Username\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\Settings\settings.dat" was cleared updating 3 keys and creating 1 modified pages.
Expected Behavior
Terminal should not exit unless it is told to.
Actual Behavior
Terminal went bye-bye without telling anyone.

The not-starting-part seems to be related to: https://github.com/microsoft/terminal/issues/10211
The part about closing without being told to close still stands.

Can confirm the same, able to replicate it

The same for me happened at both of my machines. Restart didn't helped

Well the registry lookup sure is weird. Best way to get to the bottom of this is with a Feedback Hub trace: /feedback

Created a crash report: https://aka.ms/AAcslt1

I created a report in the Hub, hopefully it has everything that could help:
https://aka.ms/AAcsm3k

Thanks! This is /dup #10211


Invalid link on Bug Bounty to missing program

Description:
Within '@drift-labs/protocol-v2' there is a bug-bounty page that summarizes severity, payouts, and a link to the program on ImmuneFi. That link leads to a "not found" page, and the bug bounty for Drift Protocol is not publicly searchable on ImmuneFi.
Exact location of error:

You can see more information about the bug bounty at immunefi here : 👉 https://www.immunefi.com/bounty/driftprotocol

Steps to reproduce:

Click on this deeplink to the Bug Bounty README
Scroll down to the More Info header
Follow the link to https://www.immunefi.com/bounty/driftprotocol

thanks, this looks like it was from v1
updated readme with "coming soon"


Allowed dash in Instance and Account name in DeviceUpdate

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[x] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[x] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

The scope of the changes: relaxed the regex to allow dash in the name, e.g. contosoprodwus2 -> contoso-prod-wus2.

No API change, removing WaitForARMFeedback label. But please follow up with breaking changes review board to get the breaking changes reviewed and approved.

Breaking change review policy is out of scope since this service isn't GAed yet.


lib/theme: disable THEME_CHECK_SUDO

Description
Move $THEME_CHECK_SUDO to lib/theme, and set it to false instead of true.
Motivation and Context
This closes #835 and closes #1643. In both cases, the constant invocation of sudo just slows down the prompt uselessly. If the user wants this feature, they can turn it on. I've added an example to the template for the user to uncomment.
This should be added to documentation, but prose is not my strength. Suggestions welcomed and appreciated for where and how to phrase!
How Has This Been Tested?
Ain't no testing here.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[ ] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

I hope this can be an uncontroversial change to @bash-it behavior as it's already been discussed in the linked issue and I've added the setting to the template for new users to discover. 😃


/tmp/airpods_battery.out no such file or directory

Installed/configured as a zsh plugin and updated shell. There's no battery status available and the following message is printed:
cat: /tmp/airpods_battery.out: No such file or directory
Environment
OS: Mac OS 14.1.1
Terminal: Warp v0.2<IP_ADDRESS>.02
Shell: zsh/ohmyzsh
Steps Taken

clone repository in zsh custom plugins location
update zshrc with plugins=(... airpods-battery)
restart/reload shell
observe message about missing airpods_battery.out

Hello, you may need to create the file by hand the first time touch /tmp/airpods_battery.out.

Also check that the service is running as expected: systemctl --user status airpods-battery-fetcher.service
The service installation seems absent from your steps taken


Add dmi2svg as a function that returns css in a string

I'm using this to make /datum/asset/spritesheet_svg, see this for an example of usage.
tl;dr
fcopy(icon_you_want_svgs_of, "icon.dmi");
// first argument is source file, second argument is target css
// third is an associative map of names.
// if you want to, for example, change "icon-state-a" to "statea", you would do `json_encode(list("icon-state-a" = "statea"))`
rustg_dmi_convert_to_svg("icon.dmi", "icon.css", json_encode(list()))
// If you want the actual CSS text in memory:
var/css = file2text("icon.css")
// Otherwise if you're just sending it to a client:
fcopy_rsc("icon.css")

Basically, this uses my new library, dmi2svg, to take a dmi file and convert all of the sprites within into svg paths using the contour_tracing library.
Known limitations right now:

Animated icons are not supported
Directional icons have to be split into separate states if you want to render each direction.

If you provide a DMI with either of these, it just grabs the first frame facing SOUTH and discards the rest. This is already good enough for my usecase, but I'm open to supporting these if people would like them.
Cargo.lock got updated because of a conflict in thiserror version requirements.

This seems unnecessary now that 516 has Edge and we can just nearest neighbor upscale stuff.


KC-1603: CVE fixes for 5.2.x

Fixes some of the CVE issues reported in https://confluentinc.atlassian.net/browse/KC-1603

@confluentinc It looks like @omkreddy just signed our Contributor License Agreement. :+1:
Always at your service,
clabot


duplicate library name

Renamed FloatToString to FloatToAscii to avoid collision with https://github.com/tedtoal/floatToString

@ArduinoBot


Ensure nodeSelector logic is consistent for all operators

nodeSelectors are not currently applied consistently across all operators.
Some do not support nodeSelectors at all - will be implemented in this series of pull requests.
Some do not apply them to every pod (jobs/cronjobs esp) - will be resolved in this series of pull requests.
Some do not apply a node selector update correctly, only when not initially set.
Some support nodeSelectors but do not inherit the default nodeSelector from the OpenstackControlPlane CR.
Jira: OSPRH-10734

/hold until the first PR has been reviewed https://github.com/openstack-k8s-operators/nova-operator/pull/894

/remove-hold

/cherry-pick 18.0-fr1


"Onboarding training program" for Pankaj Koti

Watch

[ ] Astronomer Origin story

Watch team sessions

[ ] Vision & Strategic Plan / AMA with Joe (30 min monthly live session)
[ ] Product Overview (1 hr async content, 30 min monthly live session)
[ ] FinOps Overview (1 hr async content, 30 min monthly live session)
[ ] GTM Overview (1 hr async content, 30 min monthly live session)
[ ] Customer Experience Overview (1 hr async content, 30 min monthly live session)

Some more helpful videos/docs for Airflow

[ ] The Newcomer’s guide to Airflow Architecture - Talk from Andrew Godwin
[ ] Deep dive into the Airflow scheduler by Ash Berlin-Taylor
[ ] Contributing to Apache Airflow by Kaxil Naik
[ ] Async Deferrable Operators & Triggers

Additionally,

[ ] Understand the separation of Core Airflow and Providers
[ ] Session on understanding on Async operators
[ ] Dev environment setup
[ ] Explore Airflow documentation and code repositories

Duplicate issue created due to some Zenhub error. Duplicate issue id: https://github.com/astronomer/astronomer-providers/issues/198


Url prefix

To make deployment independent of nginx, the openeo-grassgis-driver is - with this PR - able to add the API version prefix itself. As this is an api breaking change when used without nginx, a major release will be necessary afterwards.

I moved the definition of API_VERSION to the WellKnown class. Please re-review @metzm

Two questions:

In these lines in src/openeo_grass_gis_driver/well_known.py you define one URL_PREFIX. Does this mean that one instance of this driver will only ever be able to support one version of the API at the same time? I would have imagined that we may be supporting different versions from one server.
In app.py I read that CORS-support from flask may be shaky, and we therefore use an NGINX before the flask app. Has this been resolved? Dealing in an expected way with CORS is crucial from my understanding of interfaces

Two questions:

In these lines in src/openeo_grass_gis_driver/well_known.py you define one URL_PREFIX. Does this mean that one instance of this driver will only ever be able to support one version of the API at the same time? I would have imagined that we may be supporting different versions from one server.

Yes that is the case but it has never been different. One state of the backend can only serve one version at a time. When we had multiple versions deployed, we did this by using different branches and let nginx do the reverse proxy. So this change is not a step towards more restriction but towards more transparency in my view. If we ever want to deploy multiple versions again, I would stick to the git branching approach.

In app.py I read that CORS-support from flask may be shaky, and we therefore use an NGINX before the flask app. Has this been resolved? Dealing in an expected way with CORS is crucial from my understanding of interfaces

The shaky appearance only appeared in combination with nginx and the case that 'Access-Control-Allow-Origin' '*' was forbidden by the API specification but more restrictive to the requesting client, e.g. Access-Control-Allow-Origin: http://client.org:8080. During that time we moved CORS from app.py to nginx because nginx would always add 'Access-Control-Allow-Origin' '*' unless explicitly hidden, but then also the header from python CORS was hidden. As now 'Access-Control-Allow-Origin' '*' is fine for a response and we want to get totally rid of nginx, it should be fine but will be tested of course.

@mmacata sounds all reasonable, thanks. Good to go fdrom my limited point of view.


Make Pager only consume fling on the corresponding axis

Currently, when using either HorizontalPager or VerticalPager, the pager itself consumes all fling and scroll in both axis, which breaks nested scrolling hierarchy, for example, when using a LazyColumn inside a HorizontalPager within a vertically scrollable Column, like:
Column(Modifier.verticalScroll(scrollState)){
    HorizontalPager(pagerState) {
        LazyColumn {
            /*List content*/
        }
    }
}

In this case, when the user scrolls up from the LazyColumn, the fling will be consumed by the pager, making the content "stick" instead of continuing to scroll as expected.
Proposal
Transform ConsumeFlingNestedScrollConnection object into a class, or otherwise specify the axis in which the fling and scroll are to be consumed.

Unfortunately there's no way to know a fling direction from NestedScrollConnection. Raised https://issuetracker.google.com/issues/201438778

Thanks for the clarification, I'll look for a workaround in the meantime.

@chrisbanes Thanks for the response, however I looked at the source code of the Velocity class passed as a parameter to onPostFling and it does have a value for each axis. Am I looking at the wrong code?

Woops, right you are. 🙈
Either way, the sample you provided above won't work anyway. Modifier.scrollable() (which verticalScroll() and LazyColumn use) do not support nested scrolls in the same axis. You'll get the following exception:

Nesting scrollable in the same direction layouts like LazyColumn and Column(Modifier.verticalScroll()) is not allowed. If you want to add a header before the list of items please take a look on LazyColumn component which has a DSL api which allows to first add a header via item() function and then the list of items via items().

I'll add a PR to stop blocking scrolls in the cross-axis, but you'll still hit the above issue.

@chrisbanes No worries, nested scrollables are allowed as long as they define a fixed size (which I am already doing, and it works great). So thanks in advance for the improvement!