Routes not register on<EMAIL_ADDRESS>

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

At the release v4.11.7

[core:strapi] Return routes once only (https://github.com/strapi/strapi/pull/17290) listRoutes() is fixed.
Fix command not mounting the routes correctly (https://github.com/strapi/strapi/pull/17396) It's already changed.

Here is the diff that solved my problem:
diff --git a/node_modules/strapi-plugin-rest-cache/server/utils/config/routeExists.js b/node_modules/strapi-plugin-rest-cache/server/utils/config/routeExists.js
index 9f4da8c..8eeb51e 100644
--- a/node_modules/strapi-plugin-rest-cache/server/utils/config/routeExists.js
+++ b/node_modules/strapi-plugin-rest-cache/server/utils/config/routeExists.js
@@ -13,7 +13,7 @@
  */
 function routeExists(strapi, route) {
   // check api routes
-  const match = strapi.server.listRoutes().find(
+  const match = strapi.server.mount().listRoutes().find(
     (routeLayer) =>
       routeLayer.methods.includes(route.method) &&
       routeLayer.path.match(new RegExp(`^${route.path}/?`)) // match with optional leading slash

This issue body was partially generated by patch-package.

Yeah we will need to find a way to make sure this works on 4.11.7+ and previous versions so we can't do the hard swap but I'll chat with @alexandrebodin tomorrow and see if this was even intended as it's a bit of a breaking change from our side (unless there is a better way to grab the routes)

It's not ideal but the best way (for now until I rewrite some core pieces about how we actually register the middlewares) is being worked on here:
https://github.com/strapi-community/strapi-plugin-rest-cache/blob/cf39ac0defa754feca235f8dc1dc47339d284b08/packages/strapi-plugin-rest-cache/server/utils/config/routeExists.js#L14-L28


[5.8] Bumped monolog 2.0

Changelog
https://github.com/Seldaek/monolog/blob/2.0.0/CHANGELOG.md#200-2019-08-30
Upgrage
https://github.com/Seldaek/monolog/blob/2.0.0/UPGRADE.md

This can't go to the 5.8 branch as Monolog 2 requires PHP 7.2 while Laravel 5.8 should work with PHP 7.1.3+.
The constraint should also be bumped here: https://github.com/laravel/framework/blob/6.0/src/Illuminate/Log/composer.json#L20


Warning: MemcachePool::set(): The lowest two bytes of the flags array is reserved for pecl/memcache internal use

Hello,
i'm running a server on ubuntu 14.04, with the 3.0.8 memcache extension and i get this :
An exception has been thrown during the rendering of a template ("Warning: MemcachePool::set(): The lowest two bytes of the flags array is reserved for pecl/memcache internal use")
The only trail i found was here :
http://stackoverflow.com/questions/3740317/php-memcached-error
but i didn't find a way to solve that at the moment.
Thanks in advance for any help you could provide.

Can you show the code that calls the "set" method?

Ok my bad, i only now realised that by changing the extension, the syntax of the set / get have changed.
Will refactor my code according to the new parameters for those functions.
Thanks for the help :)

Hi,
i also have this warning. No mather what do i use: set , or setAdp. My declaration is:
for 'set' in controller:
$this->get('memcache.default')->set($key, $value, 0, 7200);
for 'setAdp' in controller:
$this->get('memcache.default')->setAdp($key, $value, 7200);
I use default bundle configuration:
lsw_memcache:
    doctrine:
        metadata_cache:
            pool: default
            entity_manager: default
            document_manager: default
        result_cache:
            pool: default
            entity_manager: [default, read]
            prefix: "result_"
        query_cache:
            pool: default
            entity_manager: default
    session:
        pool: sessions
        auto_load: true
        prefix: "session_"
        ttl: 7200
        locking: true
        spin_lock_wait: 150000
    pools:
        default:
            servers:
                - { host: localhost, tcp_port: 11211, weight: 15 }
            options:
                allow_failover: true
                max_failover_attempts: 20
                default_port: 11211
                chunk_size: 32768
                protocol: ascii
                hash_strategy: consistent
                hash_function: crc32
                redundancy: true
                session_redundancy: 2
                compress_threshold: 20000
                lock_timeout: 15

Might it be any server memcached configuration problem?

Hey andrzejdziekonski,
Did you check if you didn't change the memcache extension used by php ?
The previous versions of the bundles were using memcached <-- the d is important, and the newest versions uses memcache (<- no d).
If so, the problem is that the memcache extension 'set' syntax is not the same than the memcached one :
http://php.net/manual/fr/memcached.set.php -> public bool Memcached::set ( string $key , mixed $value [, int $expiration ] )
http://php.net/manual/fr/memcache.set.php -> bool Memcache::set ( string $key , mixed $var [, int $flag [, int $expire ]] )
i had this problem coz i didn't change the parameters accordingly.
are you sure that : $this->get('memcache.default')->setAdp($key, $value, 7200); don't need the flag as 3rd parameter ?

It does need flags as third parameter, see: https://github.com/LeaseWeb/LswMemcacheBundle/blob/master/Cache/AntiDogPileMemcache.php#L53

Hi Tanariel,
thanks for your reply. I am pretty sure i am using 'memcache' extension. My phpinfo() says:
memcache
memcache support	enabled
Version	3.0.8
Revision	$Revision: 329835 $

Does or does not?
in your setAdp() declaration u have
setAdp($key, $value, $ttl=0)

so the third argument is ttl, and no $flag in there. Anyway i have the warning when i use 'set' function too so its not the case.

@andrzejdziekonski does NOT, sorry for the confusion

@mevdschee Do u know what might cause the problem?
My server configuration:
PHP 5.6.14
Apache/2.4.17 (FreeBSD)

$ pkg info *memcache* says:
memcached-1.4.24_2
pecl-memcache-3.0.8

Am i missing something ?
I experimentaly changed third argument for 'set' and error said "expects parameter 3 to be long, string given" if it rings any bell.

Ok, nevermind. My warnings disappeared after i restarted server (before i had both pecl-memcached and pecl-memcache extensions).

OK, glad it is solved. Thanks for reporting back.


Rename share/chruby/dev.sh to share/chruby/testing.sh (or other)

@k0kubun @eregon do you have any objections to renaming dev.sh to testing.sh. I feel like dev.sh is a little too vague of a name. Other ideas include minimal.sh or no_gems.sh. I can rename it now before releasing 0.4.0, or hold off on renaming until 1.0.0.

I have no problem with it :+1:

Thank you for asking.
I think testing.sh is rather vague too, and in fact that setting is for sure not limited to testing but useful for many other situations. If the default gem home is writable, it's actually the most robust setting to avoid mixing gems, and it also works fine when e.g. running /path/to/other/ruby/bin/ruby which is very convenient for benchmarking, trying different Rubies, being able to use multiple Rubies from a script without needing to know which Ruby switcher is used, etc.
minimal.sh seems better although since chruby is already minimal it's kind of "twice" minimal. It seems fine, but it's not really telling what it does.
no_gems.sh sounds like no RubyGems, which is not what it does.
I would suggest no_gem_vars.sh/no_gem_env.sh, that seems clear and IMO avoids confusion the best.
(BTW my original branch doing something similar but always is named do-no-set-gem-home)

For 1.0 I would suggest that to be the default behavior and then have a set_gem_vars.sh/set_gem_home.sh/set_gem_env.sh file to opt-in to set GEM_HOME (and maybe GEM_PATH too).

@eregon as for the default behavior in 1.0.0, how would it handle rubies installed in /opt/rubies (or elsewhere) where the ruby's gem installation directory is not writable by the user? Remember that /opt/rubies is the standard and registered /opt directory for additional rubies (there isn't really a standard for installing additional software into your home directory), is mentioned in the README, and I even use it, so it will have to also be supported by default and chruby would still need to ensure gem separation between other rubies (even with the same RUBY_VERSION but different installation directories).
Letting rubygems fallback to a --user-install gem-home does not ensure 100% gem separation between rubies. Also, rubygems still generates executable files with absolute #!/path/to/the/ruby which could lead to confusion if multiple rubies share a gem home. Having bifurcating logic to test whether the ruby's gem installation directory is writable or falling back to setting an explicit GEM_HOME is the next best option, but then the location of the gem home becomes dependent on where the ruby was installed, which could lead to confusion or make it difficult to write other utilities for managing/migrating chruby's ~/.gem/rubies/ directories.
My thought is that if the user does not want GEM_HOME set, that means the user has intentionally decided to install all rubies into ~/.rubies/ such that their gem directories are writable. This is an intentional choice on the part of the user, thus more suited as an opt-in configuration file that the user can intentionally enable, as opposed to a default configuration which is forced upon all users (even casual or novice users).

I would suggest no_gem_vars.sh/no_gem_env.sh, that seems clear and IMO avoids confusion the best.

@eregon I like no_gem_env.sh, or no_gem_home.sh, or even no_user_gem.sh.

@eregon I like no_gem_env.sh, or no_gem_home.sh, or even no_user_gem.sh.

no_gem_home.sh sounds not ideal since there is still a gem home, just it's the default gem home.
That gives me another idea: default_gem_home.sh since it's effectively "use the default gem home as decided by RubyGems". And there is no no_ which sounds like it removes something when instead it just doesn't override/set GEM_*.
I prefer default_gem_home.sh, and then second no_gem_env.sh.

Re /opt and non-writable, I think one way would be to do the same as RubyGems, i.e., use the --user-install directory if the default gem home is not writable. And because chruby needs to deal with older RubyGems which doesn't have that, it would need to set GEM_HOME for that case.
Then it's like chruby "backporting" a usability fix from RubyGems, that seems quite nice and robust to me.
It would be nice to then call out to RubyGems to tell us the "user install dir" so then it's RubyGems' responsibility to separate gems as good as it can. But that has the problem below, though.

Letting rubygems fallback to a --user-install gem-home does not ensure 100% gem separation between rubies.

What do you mean specifically? Is there something else besides the executable files with absolute #!/path/to/the/ruby?
That situation is indeed unfortunate but also only affects CRuby, I think it should be fixed in either CRuby (change ABI per patch version since effectively sharing gems between 3.1.2 and 3.1.3 doesn't work in practice) or in RubyGems (default to --env-shebang).
Maybe setting --env-shebang in ~/.gemrc is the easiest workaround until it's fixed?
Using RUBY_ENGINE_VERSION instead of RbConfig::CONFIG['ruby_version'] (the ABI version) is a way to avoid that problem on CRuby. On non-CRuby they are the same. That's what https://github.com/postmodern/chruby/pull/410 did.
In fact I now think this is better than https://github.com/postmodern/chruby/pull/419 because that doesn't deal correctly with -dev Rubies installed again in the same directory (e.g., ~/.rubies/myruby-dev).
It could also be more explicit and use RUBY_ENGINE_VERSION only on CRuby, the ABI version on the others.
The big advantage of this whole apporach is it would not change the gem home for CRuby, it would only change it for TruffleRuby (where it's already badly broken on latest chruby release so doesn't matter) and for JRuby (it's also broken, the JRuby ABI/extension API changes on potentially every commit since it's "every public Java method", although it fails more rarely, still worth it too IMO).


Problems updating tags.xml from Danbooru

I've been a couple of weeks being practically unable to update tags.xml from Danbooru. After page 150 (they are like 320 now or so) I get error 500 from the server. There's no limit in the API for reading, only for updating posts and such things, so I don't know what could be happening on DD side. I've tried logging in with the cookies data, long pauses between retries (10 minutes), pauses between page downloads (8 seconds and it still happens).
Sometimes after a pause it continues for 10 pages before getting error 500 again, making the process pause for at least 10 minutes more. Of course at the end there are enough timeouts or I just get tired, and I have to wait like 30 minutes to retry, or I get error 500 immediately.
I don't know what exact method does DD use to retrieve the tag pages; if it's using the deprecated API, maybe the lack of restrictions only applies to using the new API. I don't know how hard is to update to the modern API, but sooner or later Danbooru will pull the plug for the old one again.
Anyone else is having this issue?
Note: sometimes it happens too during a normal batch download.

Have you tried to post this issue on their forum?


Revert monospace font

Discord changed the monospace font used in code blocks.
https://twitter.com/DiscordPreviews/status/1777736370900844822

nvm my snippet already does that LMAOOO


Add automate engine support for array elements containing text values.

Automate supports passing an array of objects on the URL to the engine.  This PR modifies that logic to allow strings to be passed as well.  This functionality supports the multi-select drop-down being added to the Service Dialogs in PR #10270.
Links

Backend support for PR #10270

Steps for Testing/QA
Test using the multi-select control from the service dialog wired to a custom button.  Configure the button to call the System/Request/InspectMe method.  Logging will show the array containing each selected key passed from the dialog field.

@mkanoor @Fryguy Please review
cc @eclarizio @d-m-u

@gmcculloug @tinaafitz
We can use this format which is support by the engine to have an array of integers
"Array::my_values" => "integer::1,integer::2,integer::3"
this would get stored as my_values = [1,2,3]
This is already supported in https://github.com/ManageIQ/manageiq/blob/master/lib/miq_automation_engine/engine/miq_ae_object.rb#L524
But there is a bug in this line which only seems to honor  vmdb objects
https://github.com/ManageIQ/manageiq/blob/master/lib/miq_automation_engine/engine/miq_ae_object.rb#L285
If we remove this line we can pass in integer, float, bool and all the basic types.
Another bug that exists is we cannot have spaces between values after the ,
e.g.
integer::1, integer::2, integer::3 won't work
but
integer::1,integer::2,integer::3 will work
We just need to add a trim after we get the elements one by one
https://github.com/ManageIQ/manageiq/blob/master/lib/miq_automation_engine/engine/miq_ae_object.rb#L283

@mkanoor - Regarding the bug referenced in

but there is a bug in this line which only seems to honor vmdb objects
https://github.com/ManageIQ/manageiq/blob/master/lib/miq_automation_engine/engine/miq_ae_object.rb#L285

Is there any known reason why that check took place?

@mkanoor - I modified the test you commented on and added a new one to handle the empty values.

@mkanoor Please review

@gmcculloug Is there a BZ for this (or any related PRs)?  Can you please create one if it doesn't already exist?

@simaishi BZ https://bugzilla.redhat.com/show_bug.cgi?id=1428552 opened to track this feature.
Also requires https://github.com/ManageIQ/manageiq/pull/10270 and https://github.com/ManageIQ/manageiq-ui-classic/pull/114

@gmcculloug lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_object.rb doesn't exist in Euwe. Please create an Euwe-specific PR (referencing this one) or suggest other PRs to backport.

Backported to Euwe via https://github.com/ManageIQ/manageiq/pull/14394

@mkanoor @mkanoor @syncrou I suspect I'm seeing an error related to this on euwe:
https://bugzilla.redhat.com/show_bug.cgi?id=1437128
We might be using the automate wrong, but anyway this change exposed the error.
Also might also be happening for vm_or_template.check_policy_prevent since those also aren't exposed in SM_LOOKUP


[Discussion] inheritFromWidgetOfExactType should not add a dependency if called outside of build/didChangeDependencies

Consider the following Foo widget:
class Foo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return RaisedButton(
      onPressed: () {
        MyInherited.of(context).doSomething();
      }
    );
  }
}

In that code snippet, for most implementations of MyInherited.of, pressing the RaisedButton will make Foo depend on MyInherited.
Which means after the button is clicked once, updating MyInherited will force Foo to rebuild, for no reason.

It is technically possible to prevent that from happening, using ancestorInheritedElementForWidgetOfExactType instead of inheritFromWidgetOfExactType.
But the fact that inheritFromWidgetOfExactType add the dependency when used outside of build/didChangeDependencies is probably more of a bug than the desired behavior.

There are multiple solutions:

do a breaking change on inheritFromWidgetOfExactType, to not add a dependency when used outside of build/didChangeDependencies.

Add a new method on BuildContext/Element that wraps inheritFromWidgetOfExactType and ancestorInheritedElementForWidgetOfExactType into something that switch between them depending on if used inside build/didChangeDependencies or not.

I can't think of a legitimate use-case where we'd want the current behavior. So although breaking, the first solution would probably a minimal impact.
Adding a new method on BuildContext for the .of pattern, although non-breaking, will likely have a much more significant impact.
Because that would implicitly require nearly all existing .of methods to be updated to use the new life-cycle.
cc @Hixie

Just add a registerDependency boolean named argument that defaults to true to the of method, and when it's false use the other way to look up the widget.

(making code act differently based on where it's being called from is the kind of magic that we will never add to Flutter. It makes things very hard to debug.)

That's not something the of pattern can do

(making code act differently based on where it's being called from is the kind of magic that we will never add to Flutter. It makes things very hard to debug.)

There are many, many instance of such thing in Flutter.
inheritFromWidgetOfExactType itself cannot be called within initState and dispose.

Just add a registerDependency boolean named argument that defaults to true to the of method, and when it's false use the other way to look up the widget.

That's what provider does.
But that's still unexpected to most peoples. And there are many widgets in Flutter that do not even have that boolean.such as:

Theme.of
Scrollable.of
MediaQuery.of
...

On top of this, using “of” in event handlers is risky and might cause bugs.
Just consider asynchronous event handlers that wait for something and then use “of”. Meanwhile the BuildContext might be gone. That’s the root cause for the dreaded “unstable widget hierarchy” warnings.
I would hence propose to disallow any usage of “of” outside of well defined BuildContext contexts, i.e. only from build and widget lifecycle functions.


django-simple-history dependency

readme
Use dollar sign
Ignore Pipfile.lock
Add some dependencies
Uncommit pipfile lock
app
Some base files stuff
Correct readme
Imported Bootstrap
Configure some oauth settings
oauth views
Templates
Starting on setting up Celery
Imported celery into init
Fixed typos
Currently blocked on Google OAuth
Added a comma because tuple
Make template directories more standard
Fix Django Admin (somehow)
Update README.md
SITE ID WAAHHH
Try to set up petite vue
We don't need a counter
chmod 755 (linux qol)
django debugging
bodge command
The command works
Some more functionality
Rename command
Login redirect to root
Model database
Migrations
Add name to reservation
Update README.md
WRONG LINK
Made navbar
Bodgey attempt at only using google auth
comment
Implement component
name
name the logout url
login button component
More work on the login/logout buttons
Remove login button
Switched navbar to a list
Aligned navbar items to right
Used login and logout components in navbar
Start working on the schedule form
margin on button
Schedule link
Schedule form complete
Basic scheduling card
Make sure user is authed
Improve dropdown
Standardize title tags
Adjustments
Removed card from base.html
Shadow
Collapsing checkbox
aria (dont wanna get sued)
commnet
Fix tabbing, link Index for home
Correct spelling
text
Display some stuff if user is staff
Its SPAN not SPAM
Schedule submitting is now a thing
Remove collapsable div due to it desyncing alot
index filter
Schedule card now directly takes the schedule object
Try out fontawesome
Use stylesheet link
Use SVG
Fixed sizing inconsistency with profile dropdown
Witness: One of the largetst battles with CSS ever
Remove width (damian why)
Display schedules on index
Margins
Make timezone aware
Make schedule card link to schedule page
Schedule page start
Started on timeslot_card
things
EXTERNAL SCREAMING
Day delta
this is a debug feature
Dictionary Expressions?
Fight with CSS 2: Electric Boogaloo
More featueres to the schedule page
contanner
text for when there are no timeslots
Prompt the user to create timeslots if there aren't any
generate dummy slots with different times
desc
Comment
Referencing wrong user
Use bootstrap class for nowrap
Timeslot object in timeslot card
what
Implement timeslot card
Improved timeslot card
Add a timeslot date path
Make the name make more sense
Fix schedule redirect
timeslot_date component
Card is now link
Basic logic for the new schedule UI
Fixed "simple" error
timeslot_time implemented
Implemented timeslot_date
Make schedule pages extend base template
Move all converters to a seperate module
Lets start prototyping!
more work
Renaming spree
god
hopeless bodgery
Attempt to generate the timeslots
Actually create the timeslots
Link to add timeslots page
Good luck
Remove the +1
stuff
"Why not create some?" button now works
Disable buttons based on what is checked
Added time range to timeslot_date component
smol thing change
asdf
Add client functionality for timeslot management
Start implementing lock and delete paths
Implemenet timeslot deletion
Make formaction go to schedule-lock
Rough implementation (dunno if works)
back button
Extended checkbox hitbox
Multi checking logic
Timeslot fix
Get metadata about timeslots instead of the timeslots directly
Time typo
Improve the checking logic
funky border
this is honestly
Checkbox does not appear if the user is not the owner
lock toggle
Optimize schedule locking
Admin registry
Move timeslot_date to template
Fix warning spam
Simplified timeslot_time component
Added reserve button
Check box component nice
Redirection logic
Empty condition
Add scss
More gitignore
Import bootstrap scss
Move imports
screw
Finish fiddling with scss file placement
Disable links for locked timeslots
Add locked indicators to schedules
Schedule unlock
Lets reduce this code duplication
Finish schedule editing refactor
Dont show add timeslots button on unowned schedule
Raise PermissionDenied on users that are not an owner of the schedule
rough implemetation
Implement the link for the page
bodgery
Reservaiton logic
Schedule layout refactor
Use get to avoid key error
Hapless attempt at tyring to make the list comprehension more readable
Touches on the UI
wiidth
Display timeslots taken and available
stuff
Mount PetiteVue when the page loads instead of immediately
Account for the fact that Chrome restores the state of forms
shift click selecting :O
God
Frontend UI changes.
UI changes and FullCalendar implementation.
Added date range feature.
Calendar does stuff now, yayyy
Calendar changes
Interface changes and calendar saving started
Save changes for new finished
Event changes again
reverted
reverted 2
reverted 2
Designated script block
Schedule form model
Don't hide date field anymore
Form edit
Make and implement schedule edit form
todo: learn how the heck boolean field works
We are going to need a custom field
Revert "Make and implement schedule edit form"
Revert "todo: learn how the heck boolean field works"
god i am a mess
cant use this
cant use this either
EMAIL CONSOLE BACKEND
email task
nothing is working
Try to get celery to work
Celery does not want to work. Maybe using Calendar API would  be easier
Add calendar as a scope
Build function now works
Start working on calendar event insertion
fix
tooltip fix
Helper functions for creating calendar element IDs
get_calendar function
Change access type to offline
Modify ids to adhere to base32
More work on calendar integeration
Remove try/catch. We don't need it.

THESE STATS ARE ALREADY IMPLEMENTED
People should be properly invited to the event
times
Handle calendar management on models
Delete events when timeslot is deleted
Rename method to be more clear
Added require_http_methods and minor UI changes where absolutely neccesary (I couldn't even open schedules). Some file reformatting in PEP standards.
Small UI tweak, url and link fixes.
Minor UI tweak for timeslot form.
Pull request revisions.
Create timeslot form UI changes.
Timeslot creation styling and single timeslot switch.
Single timeslot creation
Make reservation optional
Minor changes to create_timeslots logic and view
Starting reservation viewing page & UI changes to center things (I'm sorry but it was really bothering me)
View reservations for each slot and email the person.
Can now cancel reservations from each timeslot, fixed small bug with changes
Bug in schedules page
Schedule reservation viewing started
schedule sorting
Final changes for calendar reservation viewing support
Use signals
Rename time_slot field to timeslot for consistency
Experimentation with converters
Fixed merge conflict
Add converter classes
utilize new converters
Raise 404 if object does not exist
Message hello world (=
Use _set relation instead of filtery query where possible
Cleanup Jack's code
Reduce code even more
Use correct value for parent
Format
Changed header of toast
Calendar delete method
Invoke delete on calendar on schedule delete
Dont delete an event that doesn't exist
Account for timeslots with no reservations
Somehow account for Daylight Savings Time government, pls abolish
High effort comment
Typos
Pop up messages after the completion of certain actions
Fixed success toast
Fixed create schedule issue
Rename delete signal handler
Fix calendar events not being deleted
First iteration of timeslot form refactor
Another iteration...
Final iteration
NOT
cenges
Subttile
Fix ID conflicts
Fixed a ton of padding and margins, and some sizing to make it better for mobile screens.
Oops forgot to fix this
Moved templates directory (?)
Reservation confirmation started and added some scheduling logic to prevent past dates from appearing
Confirmation logic started.
Fixed negative reservation counts and other calculations causing problems.
Fixed templates as much as possible. Not easy to test without emails
Change suffix to actually use debug
Fail at threading the api
Try Queue singleton
Wow it actually works
Actually assign it
API Singleton now works (hopefully)
Requested changes
remove print
async the damn thing
god why are there spaces here
404 handler
Make reservations use UUIDs
404 error page created
red text because why not
400 error page
urls for 400 page
403 error page great
500 error page great
migration?
Email rearangements
removed exception from error500
Basic footer WIP
Github and school links in footer working
email confirmation functionality
Edit email templates
More work
Correct Links
Backup footer
Correct names, send email
Separatorssssss
Icons!!!!!
Calendar link
Rename
UI tweaks for small device sizes and descriptions for schedule. Consolidated timeslot changing logic to one function.
Fixed small issue with editing schedules by day
Added description to schedule card and added plurality to timeslot alerts.
New find reservation and help pages. More clearly defined how to email schedule owner. Fixed To Date issue in timeslot form.
Fixed changes requested.
Changed comments to textarea
Added confirmation email resending and fixed links.
Removed unneccesary files.
Made URLs more consistent
Fixed error page titles.
Copy timeslot UI finished. Not yet functional
Timeslots weren't being sorted by time
Timeslots weren't being sorted by time 2
Functionality for copying and moving timeslots...mostly
Fully functional yayy
Minor mobile UI changed
Added TinyMCE support for schedule descriptions!
 in footer brings you to contact page
Finishing touches on contact page
Clicking on "github issues" opens new tab instead of redirecting
Opens new tab when clicking on github page button in footer
Running away from the bad line break
Header for stuff like that ig
Schedule deletion added. Schedule creation form disabled while waiting now. Meeting time is in reservation confirmation email now.
Send email when confirmed or cancelled reservations. Next, send email to person with reservation when cancelled.
Did that too
Started schedule subscribing.
Improvements to subscribing feature.
Remembering to fix testing case...
Forgot to undo this.
More subscribing stuff
Subscription changes to simplify it all.
Added schedule visibility and improved some small bugs and UI tweaks
Turns out this was resolved
Subscription changes again.
Fixed ACL rules for Calendar objects.
New help page templates
Started a dark mode thing :)
add threadpool decorator
Improve readability
Add description to public schedules
remove the F
Switched the about page with the index and shlunked the old index
Updated the buttons on navbar
multithreading
Send different emails for subscribers
release the limit!!!
THIS WORD IS hARD TO SPELL OK?
2 many bar
Only allow those in domain to login
Alternative values for students
cleanup
messages stuff
use @login_required where possible
Trying something new for home page
the most wildest reverse engineering chase
the spanish inqisition!? in my source code!?
asdf
sdfsdf
Actions improvements
License href
Create LICENSE
No more nav shadow
license
Updated contact page
comment
Gridding!
COORDINATES
make clearer
move scripts to script block
Basic hero
dont  use format string
cloak style
We actually like shadow nvm
Added the hero underneath the main title
Start refactoring schedule editing
are you sure
More progress on the new schedule edit
Remove schedule edit
Formatting
god
asdf
Round button for arrow button on home page
Added alternating heroes
LOREM IPSUM
Message form
Redirect to schedule owners page
Contact form actually works now
Feed
stiff
share link
update?
make clearer
ugh
Visibility on schedule page
Replace links with buttons beacuse usability issue
fix copy button
Improve accessability
Fix button changing size on mobile
Main hero improvements
Use api_pool here
apply acl asynchronously
Remove comment
Remove the test view
Dripdown Form
Form Inlinification
More Improvements
Center the form
Mobile navbar improvements
Size
Use a bootstrpa check
Dont show on mobile
Add are you sure to save changes
help page styles
yaet
More navbar improvements
Dropdown tweening animations
fornt page
Put entire body in a v-scope to prevent random breakage idk why this happens, we made no changes
ITS HIDDEN
Dark mode, oooohhh
Bizarre UI fixes
Made styles more consistent
More UI changes
User testing
Historical tracking with the new dashboard
Dashboard improvements and history implementation
Finished dashboard, yayy
Dashboard added to base.html
Added get started info to home page.
Added content to help page
Update help.html
django-simple-history dependency

wow i did not expect that output from using the github cli. well, this fixes the missing dependency


created a guide for searching logs

Purpose
I created a little guide on searching the logs, with a few handy filter snippets
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage remained the same at 80.468% when pulling d51b12ab8eefa89a84d22ba29264ed7f0e8a5d93 on UML-How-to-search-logs-guide into 4fd4b1d8295f98a4c4ab22379084cb9f7af5533a on master.

@andrewpearce-digital I've made the changes other than specifying the syntax for the code blocks as I too dont know what to set it as - is it necessary to specify a syntax in this case where I just want the snippets formatted as a code block so that users can copy them?

@andrewpearce-digital I've made the changes other than specifying the syntax for the code blocks as I too don't know what to set it as - is it necessary to specify a syntax in this case where I just want the snippets formatted as a code block so that users can copy them?

Yeah, I had a look and couldn't find it either. In the markdown files AWS uses for their docs pages it's also not specified.
It's not absolutely necessary, just advice from a linter.

I tend to use "shell script"
As thats what my linter recommended.
    ```shell script
        $ #stuff on a shell
    ```


Add support for setting slice values from environment variables

Fixes #31 by adding support for populating slices from comma separated environment variables.
type Specification struct {
	AdminUsers                   []string
	MagicNumbers                 []int

To support this, I split out the switch statement from Process() into Parse() and Set() functions which deal with deserializing values from a specific type and setting the values using reflection (respectively). This was done primarily to allow for reuse of the existing string conversion logic for each type with slices containing those types.
Tests included

@kelseyhightower Hope you had a great holiday! Do you have any feedback on this PR? I'd love to get started on changes if you have any. :smile:

Hi everyone,
Any chance I could get a review and merge on this PR? Thanks!

:+1:

I think we can do without a fieldParser type, and without separating Parse from Set.
Parse and Set are already called together in every case except inside the slices. In that case however, a function that did both the parse and set (and thus took a string and *reflect.Value as source and destination arguments) could still work. So could we have a function like that for each atomic type (maybe promote all ints to int64 and float32s to float64), and the slice handling calls into the appropriate one?
Final nit: the type codes are wrong in the tests' Errorf calls (they aren't string and int, they are []string and []int). %q should work for all of them.

@mark-adams can you rebase this? @teepark Can you make those changes after we merge this after the rebase?

sounds good to me.

LGTM
@teepark Feel free to submit a follow up PR to clean things up.


Unable to update macOS Monterey 12.0.1 to 12.2

@chris1111 Thanks for this excellent package. I have successfully installed macOS Monterey 12.0.1 on my HP ProBook 4540s. But unable to update to the latest version which is 12.2. Do you have any suggestions on this, please?

Click advance thème sait and see

Tried more than 15 times but after checking for updates it is still the same.

it is strange
try to reset nvram OpenCore boot menue

I tried that too before... Let me try again in few minutes

You can try disable Auto Update ?

Tried both resetting NVRam and disabling auto-update but no luck...

Try to delete /Library/ Updates/index.plist /ProductMetadata.plist
Take backup of the file before
delete them then reboot / retry

Unfortunately, still the same. Should I try updating the Open Core Legacy Patcher?

I tried to get update from the AppStore and getting this error:

@chris1111 Oops, sorry my bad. I had changed the SMBIOS info thus no update was available... Thanks for supporting me in diagnosing this issue

OCLP as nothing to do here
Probably why thaïs issue

Solved ☞  (Never use OpenCore Legacy Patcher with this Program)


spec: fix userns with less than 5 gids

when the container is running in a user namespace, check if gid=5 is
available, otherwise drop the option gid=5 for /dev/pts.
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

LGTM
On Fri, Jul 12, 2019, 03:20 OpenShift CI Robot<EMAIL_ADDRESS>wrote:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: giuseppe
https://github.com/containers/libpod/pull/3563#
The full list of commands accepted by this bot can be found here
https://go.k8s.io/bot-commands?repo=containers%2Flibpod.
The pull request process is described here
https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process
Needs approval from an approver in each of these files:

OWNERS https://github.com/containers/libpod/blob/master/OWNERS
[giuseppe]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/pull/3563?email_source=notifications&email_token=AB3AOCD53ICHZUWJPTGZ6R3P7AWCZA5CNFSM4ICDPRX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZY5TZI#issuecomment-510777829,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3AOCAW37PQI6BBXBN7HMDP7AWCZANCNFSM4ICDPRXQ
.

Nice catch
/lgtm


tests: deduplicate sst_importer and resolved_ts test code

What is changed and how it works?

Issue Number: ref https://github.com/tikv/tikv/issues/16533

What's Changed:
* Remove duplicated sst importer test utility functions.
* Remove duplicated resolved ts endpoint initialization code.

This is a prerequisite change of implementation sst lease check.
Check List
Tests

[x] Unit test
[x] Integration test

Release note

None

/merge


Review of time series code during development

About 📈
This PR is to show the current progress in the development of the proposed astropy.timeseries package based on the (still in progress) Astropy Proposal for Enhancements 9.
If you are interested in time series, please feel free to take a look at this PR, read the proposed documentation and try out the code - please do feel free to open pull requests against this branch if you would like to contribute any fixes/improvements!
Once there is a general consensus that this is on the right track, and has been polished up, a PR will be opened to the core astropy repository for a wider review.
Current status 🕐
The two main base classes (for sampled and binned time series) are in place, and we have some basic functionality such as stacking, resampling, and folding working already. The documentation is in reasonably good shape and is ready for some reviews.
Documentation 📖
If you are interested in reading the documentation, here is a preview - we could really do with some reviews to make sure we are on the right track!
The documentation is actually the most important aspect to review at the moment since the details of the implementation shouldn't matter (we can always optimize performance issues later). The documentation also acts as tests, so the functionality shown in the documentation works.
Things that are missing/incomplete currently 🚧
If you'd like to help with these, please leave a comment!

[ ] Some kind of interpolation/upsample functionality - it's not clear to me exactly how this should work, so it would be good to hear from people who actually need this.
[ ] Documentation about masking - this can be short, since it's basically the same as for Table, so we can just link to that.
[ ] Functionality for the binned time series - at the moment the folding and resampling are for the SampledTimeSeries class - the BinnedTimeSeries class doesn't really have any analysis functionality available
[ ] We should make the periodogram functionality in astropy.stats aware of the time series classes, and possibly even consider moving that functionality to astropy.timeseries
[ ] We should add support for more time series file formats, if there are any other standard ones
[ ] The Kepler/TESS readers may be able to share some code since the files are similar, and the readers as they are written may be incomplete, so it'd be good to get input from experts
[ ] Better integration with Matplotlib, specifically the ability to show times on one of the axes
[ ] Consider writing a Time sub-class that lazily evaluates evenly spaced times - this is maybe a longer term optimization and not needed immediately
[ ] Rename base TimeSeries class to BaseTimeSeries and consider whether SampledTimeSeries should simply be TimeSeries.
[x] Implement proper support for to_pandas()/from_pandas()
[ ] Investigate whether we can write a generic reader that can be told which column is the time and what format it is in
[ ] For binned time series, determine how loc should work
[ ] Make it possible to use loc with strings and without having to pass a Time object

Codecov Report

Merging #2 into master will decrease coverage by <.01%.
The diff coverage is 87.34%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
- Coverage   86.92%   86.91%   -0.01%
==========================================
  Files         383      383
  Lines       57823    57855      +32
  Branches     1056     1056
==========================================
+ Hits        50264    50287      +23
- Misses       6945     6954       +9
  Partials      614      614

Impacted Files
Coverage Δ

astropy/table/table.py
92.93% <ø> (ø)
:arrow_up:

astropy/nddata/ccddata.py
93.67% <ø> (ø)
:arrow_up:

astropy/stats/bls/core.py
90.99% <ø> (ø)
:arrow_up:

astropy/wcs/src/wcslib_wrap.c
65.67% <ø> (ø)
:arrow_up:

astropy/convolution/kernels.py
97.38% <100%> (ø)
:arrow_up:

astropy/visualization/hist.py
100% <100%> (ø)
:arrow_up:

astropy/stats/bls/methods.py
100% <100%> (ø)
:arrow_up:

astropy/utils/xml/src/iterparse.c
62.25% <100%> (ø)
:arrow_up:

astropy/io/votable/src/tablewriter.c
60.6% <100%> (ø)
:arrow_up:

astropy/stats/bls/bls.c
85.88% <100%> (+0.69%)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

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


Needs more information regarding drivers and detection

Default APO doesn't have documentation about whether it only applies to stereo ONLY output i.e. if I listen to 5.1 output with speaker fill, does the speaker fill matrix also work on that? What if I'm listening to multiple sources, from mono to stereo to 5.1? Since most consumer PCs use Realtek drivers, prerequisite software links would helpful, as well as backwards support for older motherboard manufacturers who have since out-of-life old drivers. This is also (as far as I know, tested 14/04/2019 build 17763.437) inaccessible directly from the new settings panel and only through legacy control panel and device manager (which is linked in related settings).  OS doesn't auto-detect 5.1 setup and query user to check/run setup, resulting in content all running in 2.1 with speaker fill off.

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

ID: 62f1e240-524c-5cf3-0172-daa57ba2bf65
Version Independent ID: 44e9d17d-03ca-f4ee-9f49-1a86379b849f
Content: Speaker Fill - Windows drivers
Content Source: windows-driver-docs-pr/audio/speaker-fill.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@metalpizza123 - The docs team is limited in size, so at this point we do not have the resources to describe more detail about the default APO that is shipped in the different versions of Windows.
If you have product feedback on the changes to the audio UI, use the product feedback tool ("Feedback Hub" in apps) in Windows to provide input there.
Thank you for your interest in the Windows audio driver development documentation and good luck with your work.


fix: background color when indicator set

Fixes an issue where styling was not applied if the column has an indicator set

:tada: This PR is included in version 1.1.0-alpha.98 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


drivers: gpio: add "gpio_reserved_ranges" property support

Added missing support of DT gpio's "gpio_reserved_ranges" property. The array of pin range pairs as shown below now works. The implementation constraint is inherited from common DT stuff: a maximum of 64 pairs can be used, i.e. no more than 128-bit gpio ports are supported.
Usage example:
The reserved mask , defined in the device tree as:
gpio0: gpio0 {
....
ngpios=<32>;
gpio-reserved-ranges = <0 8>, <9 5>, <15 17>;
....
};
and used in driver configuration as:
{
...
.gpio_reserved_ranges = GPIO_RESERVED_PIN_MASK_FROM_DT_NODE(
DT_NODELABEL(gpio0)),
...
}
correctly converts to 0x80004100 (0b10000000000000000100000100000000)

@avolkov-1221 Thank you for your proposal. You only submitted it yesterday, but we will get to it.
Please see our documentation for more details on what to expect time wise when submitting a PR: https://docs.zephyrproject.org/latest/contribute/contributor_expectations.html#pr-review-escalation

@avolkov-1221 Thank you for your proposal. You only submitted it yesterday, but we will get to it.
Please see our documentation for more details on what to expect time wise when submitting a PR: https://docs.zephyrproject.org/latest/contribute/contributor_expectations.html#pr-review-escalation

Ok, thank you, I'll be less impatient from now on :).

nice, work!
I think we should change the meaning of the macro:
#define GPIO_PORT_PIN_MASK_FROM_DT_NODE() to your implementation that excludes the reserved ranges.
Then my PR (https://github.com/zephyrproject-rtos/zephyr/pull/55435), wouldn't have to do any changes once your PR gets merged.
gpio_nxp_s32.c and gpio_mcux_igpio.c should benefit from your compile time implementation.

and used in driver configuration as: { ... .gpio_reserved_ranges = GPIO_RESERVED_PIN_MASK_FROM_DT_NODE( DT_NODELABEL(gpio0)), ... }
correctly converts to 0x80004100 (0b10000000000000000100000100000000)

Shouldn't this be 0x4100?

and used in driver configuration as: { ... .gpio_reserved_ranges = GPIO_RESERVED_PIN_MASK_FROM_DT_NODE( DT_NODELABEL(gpio0)), ... }
correctly converts to 0x80004100 (0b10000000000000000100000100000000)

Shouldn't this be 0x4100?

Ah yes, thank you, it's a copy paste bug, actually my commit's example should be .gpio-reserved-ranges = <0 8>, <9 5>, <15 16>;

Looks reasonable enough to me - there is some minor coding style issue though.

Looks reasonable enough to me - there is some minor coding style issue though.

I hope this is fixed in the last patch series.
IMHO it was 'false positive' of checkpatch.pl

@henrikbrixandersen Hello Brix,
Did you have any objections vs merge?
Or should I wait one week more before raising the PR status?

@avolkov-1221, thank you for spending time to document the macros.
I still have the same comment: I think the default behavior of
GPIO_PORT_PIN_MASK_FROM_DT_INST() should be changed so that the reserved ranges are removed by default. At the end of the day, gpio drivers just care about properly computing the pin_mask so that the driver can error out if an invalid pin is used.
Also, I'm not sure if gpio.h is the right place for the macros. Wouldn't  gpio_utils.h be a better place where the current mask macros are defined? (as you had in your origin pr)

@avolkov-1221, thank you for spending time to document the macros.
I still have the same comment: I think the default behavior of GPIO_PORT_PIN_MASK_FROM_DT_INST() should be changed so that the reserved ranges are removed by default. At the end of the day, gpio drivers just care about properly computing the pin_mask so that the driver can error out if an invalid pin is used.

I agree and also I think that GPIO_PORT_PIN_MASK_FROM_DT_INST is useless and obsoleted now. But as well I'm not sure that this simple modification will not bring some side effects in some module. The problem is further aggravated by the fact that there is not even a single formal test for these macros, I suspect because they were added too long ago.
@galak @mbolivar-nordic @carlescufi Could you please comment on this?
So probably it will be better to mark GPIO_PORT_PIN_MASK_FROM_xxxx macro as deprecated, and replace it everywhere by the new GPIO_DT_PORT_PIN_MASK_EXC (or DT_GPIO_PORT_PIN_MASK_EXC). The latter, I suspect, will cause a very large and long discussion/review (almost all files in drivers/gpio are affected), so IMHO it would be better to make it as a separate PR, with integration, probably, in the next release. Not sure if a month will be  enough (3.4 is planned for June).

@avolkov-1221, thank you for spending time to document the macros.
I still have the same comment: I think the default behavior of GPIO_PORT_PIN_MASK_FROM_DT_INST() should be changed so that the reserved ranges are removed by default. At the end of the day, gpio drivers just care about properly computing the pin_mask so that the driver can error out if an invalid pin is used.

I agree and also I think that GPIO_PORT_PIN_MASK_FROM_DT_INST is useless and obsoleted now. But as well I'm not sure that this simple modification will not bring some side effects in some module. The problem is further aggravated by the fact that there is not even a single formal test for these macros, I suspect because they were added too long ago. @galak @mbolivar-nordic @carlescufi Could you please comment on this?

It should be safe because the output is equivalent if the user does not specify a reserved range in the device tree.

On Wed, Apr 12 2023, Andrey VOLKOV wrote:

@avolkov-1221 commented on this pull request.

  .ngpios = 32,

  .gpios_reserved = 0xdeadbeef,

                 // 0b1101 1110 1010 1101 1011 1110 1110 1111

static const struct some_config dev_cfg_b = {

  .ngpios = 18,

  .gpios_reserved = 0xfffc0418,

                 // 0b1111 1111 1111 1100 0000 0100 0001 1000

                 // unused MSBs were marked as reserved too

};

@endcode

@param node_id GPIO controller node identifier.

@return the bitmask of reserved gpios

*/
+#define DT_GPIO_RESERVED_RANGES(node_id)	((gpio_port_pins_t)	       \

Hmm, no, I'm sorry to jump in late here but this is not acceptable to go into the devicetree API. I did not receive a review request until recently for some reason.

You are welcome, however somehow I have a feeling that my pebble
caused an avalanche...

The dependency layering is that gpio.h can depend on devicetree.h, but not the other way around. Please rework the PR so that anything which need to know anything about the Zephyr GPIO API is not in devicetree.h or any of its sub-headers like this one.

Ah, I got it, but then where would it be better to put this things:
into the drivers/gpio.h or return it back into
drivers/gpio/gpio_utils.h ?

I am only a devicetree maintainer, so the GPIO API is not my area of
responsibility. But FWIW I think the decision you have made in the
latest push makes good sense.

@mbolivar-nordic should I also change the macro prefix from DT_GPIO_xx
to GPIO_DT_xx, as is common in "drivers/gpio.h"? BTW it looks a bit
confusing that we have two unrelated sets (DT_GPIO_ and GPIO_DT_) to
describe parts of a whole.

This is intentional: the DT_ namespace is reserved for
<zephyr/devicetree.h>. So DT_GPIO_ is the namespace of macros in the
devicetree API that are somehow related to GPIOs. Defining a macro that
begins with DT_ outside of this header and its sub-headers is improper
use of the DT namespace.
The GPIO_ namespace belongs to <zephyr/drivers/gpio.h>. So GPIO_DT_ is a
namespace for GPIO APIs that are somehow related to devicetree.
The latest push uses the namespaces correctly.

And as a consequence, is it acceptable to keep my tests in
tests/lib/devicetree/api, or they have to relocated into the
tests/drivers/gpio/ ?

In the latest push, nothing is touching the devicetree API, so I agree
that tests/drivers/gpio is the correct location.
I suggest changing the title of the last commit from:
tests: devicetree: ...

to:
tests: gpio: ...

accordingly, but this is is not a blocking request.

@henrikbrixandersen please revisit

@avolkov-1221 I see that @henrikbrixandersen and @cfriedt have replied to you describing their concerns. If you'd like to bring this to the Architecture WG meeting to have it discussed there please let me know on Discord.


please add a funktion to auto bump the value in scriptbuildnum and scriptbuilddate

please add a funktion to auto bump the value in scriptbuildnum and scriptbuilddate

I will consider this in the future.


v0.11.0 release checklist

Issues:

#17
#129
#164
#189
#190
#359
#376
#378
#379
#398
#404
#414
#419
#420
#421
#422
#424
#425
#426
#427
#429
#431
#432
#433
#436
#437
#445

Merges:

#406
#407
#408
#409
#411
#412
#415
#417
#430
#434
#435
#443

Testing:

txt2img

256x256 with SD v1.5

[x] should work
[x] has automation

512x512 with SD v1.5

DEIS Multi

[x] should work
[x] has automation

DPM Multi

[x] should work
[x] has automation

Euler A

[x] should work

Heun

[x] should work
[x] has automation

UniPC Multi

[x] should work
[x] has automation

512x512 with SD v2.1

[x] should work
[x] has automation

768x768 with SD v2.1

[x] should work, given sufficient memory
[x] has automation

1024x1024 with SDXL

[x] should work, given sufficient memory
[x] has automation

512x512 with SDXL Turbo

[x] should work, given sufficient memory
[x] has automation

extra models

512x512 with Knollingcase

[x] should work
[x] has automation

512x512 with OpenJourney

[x] should work
[x] has automation

256x256 with OpenJourney

[x] should work
[x] has automation

textual inversion

512x512 with SD v1.5 + Autumn (embeddings)

[x] should work
[x] has automation

512x512 with SD v1.5 + Minecraft (concept)

[x] should work
[x] has automation

LoRA weights

512x512 with SD v1.5 + Taters

[x] should work
[x] has automation

img2img

256x256 input

[x] should work: expanded into valid image
[x] has automation

512x512 input

[x] should work
[x] has automation

1024x768 input

[x] should work
[x] has automation

inpaint

regular inpaint

black mask

[x] should keep all pixels, same image
[x] has automation

white mask

[x] should replace all pixels, different image
[x] has automation

outpaint

0 all sides

[x] should work, run 1 tile
primarily a client-side test

256 all sides

[x] should work, run 8 tiles
[x] has automation

512 top and bottom, 0 left and right

[x] should work, run 3 tiles
[x] has automation

512 left and right, 0 top and bottom

[x] should work, run 3 tiles
[x] has automation

upscale

Real ESRGAN

x4 with CodeFormer

[x] should work
[x] has automation

x4 with GFPGAN

[x] should work
[x] has automation

x4 without face correction

[x] should work
[x] has automation

x2 without face correction

[x] should work
[x] has automation

x2 model and x4 scale

[x] should sort of work: ignores scale and uses x2

x4 model and x2 scale

[x] should fail: tiles worked, seemes to ignore scale

v3 model and x4 scale

[x] should work

Stable Diffusion

using x2 scale

[x] should fail: tiles

using x4 scale

[x] should work
[x] has automation

with CodeFormer

[x] should work
[x] has automation

with GFPGAN

[x] should work
[x] has automation

blend

two 512x512 inputs

[x] should work
[x] has automation

two 1024x1024 inputs

[x] should work

two different size inputs

256x256 and 512x512

[x] should work

512x512 and 1024x1024

[x] should work

interactions

generate a new image

[x] should request and then load an image from the server

delete a pending image

[x] should remove a single image and leave the rest

delete a finished image

[x] should remove a single image and leave the rest

copy an image to img2img

[x] should switch to the img2img tab
[x] should populate the image source
[x] the generate button should be enabled

copy an image to inpaint

[x] should switch to the inpaint tab
[x] should populate the image source
[x] the generate button should be enabled

copy an image to upscale

[x] should switch to the upscale tab
[x] should populate the image source
[x] the generate button should be enabled

copy two images to blend

[x] should switch to the blend tab
[x] should populate the image sources
[x] the generate button should be enabled once both sources have been populated

state should persist on refresh

[x] loading images
[x] switching tabs
[x] images sources do not

schedulers

[x] DDIM
[x] DDPM
[x] DEIS Multi
[x] DPM Multi
[x] DPM SDE (Turbo)
[x] DPM Single
[x] Euler
[x] Euler A
[x] Heun
[x] iPNDM #297
[x] KDPM2 A
[x] KDPM2
[x] LCM
[x] LMS
[x] PNDM
[x] UniPC Multi

providers

[x] CUDA 11.7
[x] CPU
[x] DirectML
[x] ROCm 5.4

conversion

SD v1.5

[x] fp32
[x] onnx-fp16

SD v2.1

[x] fp32
[x] onnx-fp16 broken: https://github.com/ssube/onnx-web/issues/364

SD upscaling

[x] fp32
[x] onnx-fp16

SDXL

[x] fp32
[x] onnx-fp16

custom VAE

[ ] SD v1.5
[ ] SDXL

Release:

[x] update readme features
[x] update user guide
[x] update release tests
[x] fix any late arrival bugs
[x] check and fix lint
[x] update readme screenshot
[ ] update package versions and stage files
[ ] run commit-and-tag-version --sign --git-tag-fallback --commit-all --release-as=minor to make VERSION
[ ] make sure packages and images have been built

[ ] build ROCm container
[ ] build Windows bundle

[ ] update GH pages bundle and default version
[ ] post release on GH
[ ] make follow up tickets
[ ] close milestone and checklist

The first RC for v0.11 has been built:

Windows bundle: https://f349bba2d0da1e24be3a08642dead2d7.r2.cloudflarestorage.com/onnx-web-dist/onnx-web-v0.11.0-rc-0b31ad0a.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=040cfef0274b8d8a98aeca8f48dbf1ac%2F20231202%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231202T174016Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=83c89d514a90e8ec75baf93b5a7a1056247f15d0dd6998d8af9392699fda6aa3

Release tests are currently passing with --mse 10.0, which should be reduced before release.
New tests need to be added to the test plan for SDXL and LCM.

New release tests have been added, along with a getting started guide for new users. Most new features have been documented except for some parameters in the user guide.
Release tests are still passing at mse 10.0, although that can be reduced if you skip non-deterministic schedulers.

manual interactions QA:

generating a new image

[x] requests and then loads a new image from the server

canceling a pending image

[x] removes the pending image and leaves the resst

deleting a finished image

[x] removes the deleted image and leaves the rest

copying a finished image to img2img

[x] switches to the img2img tab
[x] populates the image source with the correct image
[x] the generate button is enabled

copy an image to inpaint

switches to the inpaint tab, but then the page crashes
related console error:
this does not happen when copying the image to inpaint while already on the inpaint tab

main.js:36221 Uncaught Error: value not found
  at mustExist (main.js:36221:13)
  at getContext (main.js:76838:20)
  at getClearContext (main.js:76844:17)
  at MaskCanvas (main.js:76755:9)
  at renderWithHooks (main.js:14786:28)
  at mountIndeterminateComponent (main.js:17642:23)
  at beginWork (main.js:18658:24)
  at HTMLUnknownElement.callCallback (main.js:5821:24)
  at Object.invokeGuardedCallbackDev (main.js:5848:26)
  at invokeGuardedCallback (main.js:5882:41)

copy an image to upscale

switches to the upscale tab, but then the page crashes
the upscale tab in general crashes when manually navigating to it
related console error (happens in both instances)

Uncaught TypeError: Cannot read properties of undefined (reading 'matchAll')
  at extractNetworks (main.js:82363:33)
  at main.js:82277:24
  at mountMemo (main.js:15472:29)
  at Object.useMemo (main.js:15815:26)
  at useMemo (main.js:1179:31)
  at PromptTextBlock (main.js:82276:20)
  at renderWithHooks (main.js:14786:28)
  at mountIndeterminateComponent (main.js:17642:23)
  at beginWork (main.js:18658:24)
  at HTMLUnknownElement.callCallback (main.js:5821:24)

copy two images to blend

switches to the blend tab, but then the page crashes
this does not happen when copying the images to blend while already on the blend tab
related console error:

Uncaught Error: value not found
  at mustExist (main.js:36221:13)
  at getContext (main.js:76838:20)
  at getClearContext (main.js:76844:17)
  at MaskCanvas (main.js:76755:9)
  at renderWithHooks (main.js:14786:28)
  at mountIndeterminateComponent (main.js:17642:23)
  at beginWork (main.js:18658:24)
  at beginWork$1 (main.js:22635:24)
  at performUnitOfWork (main.js:22061:23)
  at workLoopSync (main.js:21994:15)

states after refresh:

[x] loading images persist
[x] tab location persists
[x] image sources do not persist

Thank you for helping with the UI testing. I was able to reproduce 2 of those 3 bugs, but I was not able to find the crash on the upscale tab. I know where that is in the code and put some defensive checks in place, but I wasn't able to reproduce it, so I'm not able to verify that it is fixed. The MaskCanvas crash was easy to reproduce, so I'm pretty sure I was able to fix that one.

Most of the release tests have passed, but there are two remaining errors that I'm aware of:

converting upscaling models using the Windows bundle fails with a deprecated import error
running the SD v2.1 release tests against the Windows bundle fails with a tensor shape error while parsing the prompt

The first one will block the release until I can fix it, but the second might be related to the lack of negative prompt in the test data, and SD v2.1 is not enabled/converted by default.
I have gone through some of Civitai's most popular models and checked the licenses, and it looks like most of them allow redistribution under the same terms, so I will be preparing pre-converted archives for them. I may replace the Windows bundle's extras file with one that downloads the pre-converted archives to make things faster/easier for new users.

Both of the remaining errors have been resolved:

the conversion error was fixed with a monkeypatch in basicsr to use the newer import
the SD v2.1 and inpainting/outpainting test errors were caused by badly converted models, converted again resolved them

The latest RC bundle is https://pub-3c28d2c7c34e41c6a9189ffe0abd7d0b.r2.dev/onnx-web-v0.11.0-rc-3d245a66.zip.

Most of the conversion bugs have been squashed, although #446 is still lingering for a few models (Cetus, Faetastic, maybe others). So far, using the "pipeline": "txt2img-legacy" flag seems to be working, and the release bundle comes with pre-converted models anyways.


Consider upgrading to simdjson 0.2.0

The library simdjson has a new major release (0.2.0). Major changes:

Support for 64-bit ARM processors, can run under iOS (iPhone).
Runtime dispatching on x64 processors (switches to SSE on older x64 processors, uses AVX2 when available). Supports processors as far back as the Intel Westmere.
More accurate number parsing.
Fixes most warnings under Visual Studio.
Several small bugs have been fixed.
Better performance in some cases.
Introduces a JSON Pointer interface https://tools.ietf.org/html/rfc6901
Better and more specific error messages (with optional textual descriptions).
valgrind clean.
Unified code style (LLVM).

Thanks Daniel. Will recently start working on it!

Done. Please refer to #12


fltk: support cross-compilation

Disabling building tests when cross-compiling, since it gives a build fail.
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux (cross-compiled)
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Mainly because line 140 said 'examples & tests', but maybe I should extract it to a separate option indeed

We don't generally have options for tests, but also these aren't being run as part of the checkPhase anyway... Is there any reason to even build these? Do they even get installed to $out?

Good question! The advantage of building them may be that the API (headers) is slightly tested to be correct, but otherwise it doesn't add much if they aren't executed. Not sure if they're installed, but normally I wouldn't expect tests in $out..?

Actually, looking at the derivation, we're explicitly packaging examples and tests:
    mv bin/{test,examples}/* $bin/bin/

That's a very curious choice. I wonder what motivated this in the first place, I can't really think of a reason why this would be useful... but maybe I'm just lacking imagination :) Need to dig up history at some point...
I don't particularly like it, but given that the rest of the derivation makes this assumption that "examples and tests go together", I'm OK with your current approach. I suspect this derivation needs a lot of love and care, but we don't need to address all issues now, and I don't believe this makes anything worse.

Yeah, I think this derivation could indeed use some love. Thanks for the comments!


[Question] Reprojection capabilties

Hi,
I wonder what are the reprojection capabilties of shapefile-js. Is it capable to reproject from EPSG:2154 to EPSG:4326 for example ?
Thanks for your great work.

it just uses proj4js under the hood, so it should work fine


Dependent Fields in v6

How should one handle dependent field errors in v6?
Imagine two fields whose errors depend on the value of both fields like a password creation.
The validate gathers all the errors but the Field only rerenders if I touch it again.
Is this on purpose or a bug?

If you were able to hook up a component to two fields this would be trivial again (what I'm proposing here). The Field component is great and it forces developers to write components that only need to re-render when the field they care about is changed in the store, but there are edge cases like this where IMO it makes sense to hook up a component to multiple fields.

Fields component did that - check #1554


[v3] SubDocs are not working as expected with type: "page" and display: "hidden"

Hello.
My setup looks like this.
Index page

Subdocs1 (page1, page2)
Subdocs2 (page1, page2)

In _meta.js, subdoc1 and subdoc2 are marked with display: 'hidden' and type: 'page', because I don't want two separate pages to be shown on the top navbar, rather having a Menu with Subdoc1 and Subdoc2 inside.
Actual behaviour:
When entering Subdoc1 or Subdoc2 pages, sidebar is missing.
Expected behaviour:
The Subdoc1 page has its own sidebar with its children only.

Please share a reproduction repo

Here is the repo with reproduction: https://github.com/davitp/nextra-repro-v3
Please look at file pages/_meta.ts
Without display: 'hidden', the behaviour is as expected, which is, the sidebars are properly shown on every subdoc folder (and the pages are shown in the navbar).

With display: 'hidden', pages are hidden from navbar, but when accessing the pages directly (or via navbar sub-menu) the sidebars are missing.

With display: 'hidden', pages are hidden from navbar, but when accessing the pages directly (or via navbar sub-menu) the sidebars are missing.

this is expected behaviour

But if I want to hide a page, but keep its sub-pages, isn't that possible?

hidden pages and their subpages doesn't add to the page map, so they will always be missing in the sidebar

The ultimate goal is to have all the "subdoc" pages grouped under a menu.
So, it's enforcing the navbar link when the type is page.
IMHO, it would be natural to group links the way It works best (via menu), so is it possible to hide it from Navbar only?

This used to work with .json
The behaviour is as @davitp described in the issue description with .json.
If you change to .js/.ts then the sidebars do not show for sub docs accessed through menu

Running into this issue as well when upgrading to v3. Is this the new desired behavior? Has someone figured out a workaround? We have a number of subsections of our docs that should have sidebars but need to be excluded from our main menu.
Related #2909

Fixed this for us via css override (desktop menu only)
Global overrides.css (source)
/* Hide guides and faq from main menu */
.nextra-nav-container>nav>a[href="/guides"] {
    display: none;
}

_meta.tsx
export default {
  ...
  guides: {
    type: "page",
    title: "Guides",
  },
  ...
}

this was fixed by https://github.com/shuding/nextra/issues/3331 in stable v3


[SIDELINE] Monitor and manage sideline spouts in the SpoutCoordinator

Specifically we need to make sure we always have a firehose, when it's not there we restart it.  Additionally we should check the sideline requests and use our existing resume logic to pick them back up.

It may be better to figure out how to have SpoutMonitor restart failed spout instances itself.
Or we could push it down to the lifecycle handler.  On VirtualSpout abnormal termination/error -> call a hook method?

Is the monitor always going to know enough to restart them? That’s the part I’m concerned about. The identifiers are the only thing the monitor pays attention to today. Part of me thinks we should just provide spout handlers a clean interface for watching and tracking their spouts. I’m on the fence about this right now.


It doesn't render image even loadingIndicator:false in Android Listview item template.

This is a great module! Thanks!
It works on iOS perfectly, even in Listview item template.
But Android, it doesn't.
I followed your guide. I red a know issue related Android Listview.
(loadingIndicator : false)
But AvListview renders nothing on Android list view. (Just blank)
Is there another issue?
alloy.js
var AvImageview = require('av.imageview');
Alloy.Globals.AvImageview = require('av.imageview');

myController.js
". itemImg":{
  height: 121,
  width: 100,
  top: 0,
  backgroundColor: "transparent",
  left: 2,
  right: 2,
  contentMode : Alloy.Globals.AvImageview.CONTENT_MODE_ASPECT_FILL,
  loadingIndicator : false
}

myController.css
...
<Templates>
    <ItemTemplate name="meetupItem" class="meetupItem">
        <View class="itemWrap">
            <ImageView ns="AvImageview" class="itemImg" bindId="img0"></ImageView>
        <View>
    </ItemTemplate>
</Templates>
...

Same here, it works great on ios
For Android, it show error
Uncaught ReferenceError: AvImageview is not defined

@imobicloud  You can remove Uncaught ReferenceError: AvImageview is not defined error. Add below code in alloy.js.  But it render notthing it works as just View.
var AvImageview = require('av.imageview');

If you find a way to use this module in Android Listview, please let me know~ 👍
@AndreaVitale , Do you know this issue? 😄

Yeah I know that on Android it doesn't work but at the moment I'm unable to fix this.
Anyway if you need a workaround you can declare a ScrollableView inside your ItemTemplate and, for example if you are using a model-view binding, in your dataTransform function you can do something like this:
yourmodel.cover = [require('av.imageview').createImageView({ --- })];
and bind your cover to the views property of the ScrollableView.
Here is a working example made on my app:
inside controller.xml
<ListView id="EventList" defaultItemTemplate="event">
	<Templates>
		<ItemTemplate id="Template" name="event">
			<View id="Container">
				<ScrollableView id="Landing" bindId="landing"></ScrollableView>
				<!-- Other views -->
			</View>
		</ItemTemplate>
	</Templates>

	<ListSection dataCollection="event" dataTransform="transformEvent" dataFilter="filterEvents">
		<ListItem itemId="{id}" landing:views="{cover}" />
	</ListSection>
</ListView>

inside controller.js
function transformEvent(model) {
	var event = model.toJSON();

	event.cover = [require("helper").createImageView({
		width: Ti.UI.FILL,
		height: 150,
		image: event.image,
		defaultImage: '/template/event.png'
	})];

	return event;
}

@AndreaVitale  Thanks for your answer!  👍
When I have a free time, I'll try to fix this too.
If you have any clue to fix this, please let me know about that.
I don't know how listview work with ImageView. 😄


Rewritten memory management of GpPath objects

Fixes issues #223, #224 and #225.
Introduces out of memory checks for the path APIs.
Optimises lot of the APIs to prevent unnecessary allocations, frees and copying.

@filipnavara is there a particular reason for "Remove G[Byte]Array code from GpPath objects and optimize the code"? It is touching a lot of code that I'm not familiar with :)

There's actually a couple of reasons, some of them objective, other subjective:

The G[Byte]Array have no way of handling out-of-memory situation gracefully. They just enter an infinite loop and freeze the application.
The g_array_append_val makes it easy to do a lot of reallocations resulting in an suboptimal code.
Old code actually did a LOT of unnecessary allocations/reallocations/copying.
I was fed up with glib dependency on Win32 / OS X and have a glib-free version of the code.

Admittedly the only objective reason is number 1. Number 2 and 3 could be solved while keeping the g_array_*, but it would result in a similarly big patch. Number 4 is moot for now, but maybe there would be some interest in that eventually.

I tested the code with libgdiplus test, Mono tests and KeePass running on OS X.

Ok makes sense. Could you please rebase/squash the commits so we only have these:

Remove G[Byte]Array code from GpPath objects and optimize the code
Check for out-of-memory errors. Add missing copying in GdipCreatePath2.
Fix memory leak in GdipFlattenPath and out-of-memory handling.
Initial unit test for path functions.

This is a great progress!
@filipnavara, is it towards dropping the dependency on glib?

@kasper3 I am no longer sure whether dropping GLib dependency is worth it. Yes, this patch goes a long way towards it. The remaining stuff is easy to rewrite too. Then again, if we decide to make use of Pango text rendering there will be an indirect dependency anyway.

I will do another rebase after https://github.com/mono/mono/pull/7943 is merged. Otherwise this is ready to be merged.

Rebased.


With Client/Secret Authentication the API compute:InstanceView does not return power status.

Dear team,
I am currently using the Azure Compute Go SDK package, version v68.0.0+incompatible.
With this package, I am making the VirtualMachinesClient.InstanceView API call to retrieve the instance power state.
When I use Azure CLI for authentication, the results are as expected. However, when using Client/Secret authentication, I do not receive any status information for the instances.
I would greatly appreciate any insights or suggestions you might have on this matter.
Here is the standalone Go code I am using.
With Azure CLI authentication(Working fine and returning the result as expected):
package main

import (
	"context"
	"fmt"
	"strings"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	compute "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6"
)

func main() {
	ctx := context.Background()

	subscriptionID := "YOUR-SUBSCRIPTION-ID"

	// Configure the environment (using Azure Public Cloud as an example)
	cred, err := azidentity.NewAzureCLICredential(nil)

	if err != nil {
		fmt.Errorf("Failed to create authorizer: %v", err)
	}

	// List Virtual Machines
	vms, err := listComputeVirtualMachines(ctx, subscriptionID, cred)
	if err != nil {
		fmt.Printf("Error listing VMs: %v\n", err)
	}

	for _, vm := range vms {

		vmId := *vm.Id
		resourceGroupName := strings.Split(string(vmId), "/")[4]
		// Get a specific Virtual Machine
		result, err := getComputeVirtualMachineInstanceView(ctx, subscriptionID, resourceGroupName, *vm.Name, cred)
		if err != nil {
			fmt.Printf("Error getting VM: %v\n", err)
		}

		if result.Statuses != nil {
			fmt.Printf("\n\nVM Name: %s\n====\n", *vm.Name)
			for _, st := range result.Statuses {
				// fmt.Printf("Status : %+v", st)

				if st.Code != nil {
					fmt.Printf("Status Code: %s\n", *st.Code)
				}
				if st.Level != nil {
					fmt.Printf("Status Level: %s\n", *st.Level)
				}
				if st.DisplayStatus != nil {
					fmt.Printf("DisplayStatus: %s\n", *st.DisplayStatus)
				}
				if st.Message != nil {
					fmt.Printf("Message: %s\n", *st.Message)
				}
				fmt.Println("\n----\n")
			}
		}
	}

}

type vm struct {
	Id   *string
	Name *string
}

func listComputeVirtualMachines(ctx context.Context, subscriptionID string, auth azcore.TokenCredential) ([]vm, error) {

	client, err := compute.NewVirtualMachinesClient(subscriptionID, auth, nil)

	result := client.NewListAllPager(nil)
	if err != nil {
		return []vm{}, fmt.Errorf("failed to list virtual machines: %v", err)
	}
	var vms []vm
	for result.More() {
		page, err := result.NextPage(ctx)
		if err != nil {
			return []vm{}, fmt.Errorf("failed to list virtual machines page: %v", err)
		}
		for _, vmt := range page.Value {
			v := vm{
				Id:   vmt.ID,
				Name: vmt.Name,
			}
			vms = append(vms, v)
			// fmt.Printf("VM Name: %s\n", *vmt.Name)
		}
	}

	return vms, nil
}

func getComputeVirtualMachineInstanceView(ctx context.Context, subscriptionID, resourceGroup, vmName string, auth azcore.TokenCredential) (compute.VirtualMachinesClientInstanceViewResponse, error) {

	client, err := compute.NewVirtualMachinesClient(subscriptionID, auth, nil)

	if err != nil {
		return compute.VirtualMachinesClientInstanceViewResponse{}, err
	}

	vm, err := client.InstanceView(ctx, resourceGroup, vmName, nil)
	if err != nil {
		return compute.VirtualMachinesClientInstanceViewResponse{}, fmt.Errorf("failed to get virtual machine: %v", err)
	}

	return vm, nil
}

With Client/Secret authentication(Didn't work as expected):
package main

import (
	"context"
	"fmt"
	"strings"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	compute "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6"
)

func main() {
	ctx := context.Background()

	clientID := "your-client-id"
	clientSecret := "your-client-secret"
	tenantID := "your-tenant-id"
	subscriptionID := "your-subscription-id"

	// Configure the environment (using Azure Public Cloud as an example)
	cred, err := azidentity.NewClientSecretCredential(
		tenantID,
		clientID,
		clientSecret,
		nil,
	)

	if err != nil {
		fmt.Errorf("Failed to create authorizer: %v", err)
	}

	vms, err := listComputeVirtualMachines(ctx, subscriptionID, cred)
	if err != nil {
		fmt.Printf("Error listing VMs: %v\n", err)
	}

	for _, vm := range vms {

		vmId := *vm.Id
		resourceGroupName := strings.Split(string(vmId), "/")[4]
		// Get a specific Virtual Machine
		result, err := getComputeVirtualMachineInstanceView(ctx, subscriptionID, resourceGroupName, *vm.Name, cred)
		if err != nil {
			fmt.Printf("Error getting VM: %v\n", err)
		}

		if result.Statuses != nil {
			fmt.Printf("\n\nVM Name: %s\n====\n", *vm.Name)
			for _, st := range result.Statuses {
				// fmt.Printf("Status : %+v", st)

				if st.Code != nil {
					fmt.Printf("Status Code: %s\n", *st.Code)
				}
				if st.Level != nil {
					fmt.Printf("Status Level: %s\n", *st.Level)
				}
				if st.DisplayStatus != nil {
					fmt.Printf("DisplayStatus: %s\n", *st.DisplayStatus)
				}
				if st.Message != nil {
					fmt.Printf("Message: %s\n", *st.Message)
				}
				fmt.Println("\n----\n")
			}
		}
	}

}

type vm struct {
	Id   *string
	Name *string
}

func listComputeVirtualMachines(ctx context.Context, subscriptionID string, auth azcore.TokenCredential) ([]vm, error) {

	client, err := compute.NewVirtualMachinesClient(subscriptionID, auth, nil)

	result := client.NewListAllPager(nil)
	if err != nil {
		return []vm{}, fmt.Errorf("failed to list virtual machines: %v", err)
	}
	var vms []vm
	for result.More() {
		page, err := result.NextPage(ctx)
		if err != nil {
			return []vm{}, fmt.Errorf("failed to list virtual machines page: %v", err)
		}
		for _, vmt := range page.Value {
			v := vm{
				Id:   vmt.ID,
				Name: vmt.Name,
			}
			vms = append(vms, v)
			// fmt.Printf("VM Name: %s\n", *vmt.Name)
		}
	}

	return vms, nil
}

func getComputeVirtualMachineInstanceView(ctx context.Context, subscriptionID, resourceGroup, vmName string, auth *azidentity.ClientSecretCredential) (compute.VirtualMachinesClientInstanceViewResponse, error) {

	client, err := compute.NewVirtualMachinesClient(subscriptionID, auth, nil)

	vm, err := client.InstanceView(ctx, resourceGroup, vmName, nil)
	if err != nil {
		return compute.VirtualMachinesClientInstanceViewResponse{}, fmt.Errorf("failed to get virtual machine: %v", err)
	}

	return vm, nil
}

Note: The App has the appropriate permission to make the API call.
Could you please assist with what is going wrong with client/secret authentication?
@halit-c4c, Please include the details if I missed anything.
Thanks!

What is the failure you are receiving and on which call does it fail. Can you share the exception message? Please ensure you don't share on this thread any sensitive information such as tokens.

Your comment states you're using v68 which is the old mgmt libraries, however the code you shared is using the latest library versions. I've updated the details of the issue.

Hello, @RickWinter. Thank you for your quick response.
In our project, we're using the v68.0.0+incompatible package. I've created two separate standalone codes with the resourcemanager package, each using different authentication modules, to verify whether the latest version of resourcemanager provides the necessary details.
However, I'm unable to retrieve the VM statuses when using client/secret authentication with any of the packages. In contrast, when using CLI authentication, I'm getting the expected results for all the packages.

What is the failure you are receiving and on which call does it fail. Can you share the exception message? Please ensure you don't share on this thread any sensitive information such as tokens.

I’m not encountering any errors, but I'm receiving an empty response for the statuses property.
Note: Additionally, with client/secret authentication, I'm only receiving an EMPTY statuses value for a specific subscription, not for all subscriptions.
Thanks!

The v68.0.0+incompatible package you are using is deprecated.
The current library you should use is:
https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute
We strongly encourage you to upgrade to continue receiving updates.

Thank you for the suggestion. We'll give it a try and let you know if the package helps us.

Hey there,
Having the same issues with latest github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 version of the module.
The VirtualMachineInstanceView is nil for all VMs.


XML extension: use -> required

Align XML extension on OCCI lexical:
In attributeSpecType, use -> required

It is aligned with XSD from which it is inspired


HELP who can help me out with the error ?

I'm now here and cant install Atom-beautify! below is my error, what should I do  ?
Error: Cannot find module '/Users/mac/.atom/packages/atom-beautify/node_modules/event-kit/dist/event-kit'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:240:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:378:18)
at Module._resolveFilename (internal/modules/cjs/loader.js:670:27)
at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:43:12)
at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/static/:11:155482)
at Module.require (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:61:43)
at require (/Applications/Atom.app/Contents/Resources/app/static/:11:146814)
at Object. (/Users/mac/.atom/packages/atom-beautify/src/beautify.coffee:7:25)
at Object. (/Users/mac/.atom/packages/atom-beautify/src/beautify.coffee:2:1)
at Object. (/Users/mac/.atom/packages/atom-beautify/src/beautify.coffee:2:1)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/:11:147498)
at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/:11:151046)
at Module.load (internal/modules/cjs/loader.js:701:32)
at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
at Function.Module._load (internal/modules/cjs/loader.js:625:3)
at Module.require (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:14:16)
at customRequire (/Applications/Atom.app/Contents/Resources/app/static/:1:695414)
at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/:11:3204227)
at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/:11:3192211)
at /Applications/Atom.app/Contents/Resources/app/static/:14:2607
at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/:11:1201500)
at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/:11:1202941)
at /Applications/Atom.app/Contents/Resources/app/static/:11:383233
at Set.forEach ()
at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/:11:383195)
at /Applications/Atom.app/Contents/Resources/app/static/:11:926825
at r (/Applications/Atom.app/Contents/Resources/app/static/:11:921431)
at n (/Applications/Atom.app/Contents/Resources/app/static/:14:1063432)
at /Applications/Atom.app/Contents/Resources/app/static/:14:1063586
at Socket. (/Applications/Atom.app/Contents/Resources/app/static/:14:1062188)
at Socket.emit (events.js:199:15)
at Pipe. (net.js:593:12)

I have the same issue.  Any resolution?


Wants to update "ssh_key_path" although not configured / not changed

Description
I have imported a datacenter and server. Adapted the main.tf to resemble the current state.
When I run "terraform plan", I get this:

  # ionoscloud_server.Vermont will be updated in-place
  ~ resource "ionoscloud_server" "Vermont" {
        id                = "123-456"
        name              = "Vermont Server"
      + ssh_key_path      = (known after apply)
        # (9 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

It's null in terraform.tfstate:
# grep ssh_key_path terraform.tfstate
            "ssh_key_path": null,
                "ssh_key_path": []

When I change main.tf to include "ssh_key_path = null", terraform still wants to set "ssh_key_path".
Expected behavior
I'm not sure if this is already the expected behaviour, but I think the ionoscloud provider shouldn't want to change "ssh_key_path".
Environment
Terraform version:
Terraform v1.0.0
on linux_amd64

Provider version:
+ provider registry.terraform.io/ionos-cloud/ionoscloud v5.1.6

OS:
Debian GNU/Linux 10 (buster)

Configuration Files
main.tf:
resource "ionoscloud_datacenter" "example" {
  name        = "example"
  location    = "de/fra"
}

resource "ionoscloud_lan" "LAN_1" {
  datacenter_id = ionoscloud_datacenter.example.id
  public        = true
}

resource "ionoscloud_ipblock" "Vermont" {
  location = "${ionoscloud_datacenter.example.location}"
  size     = 1
  name     = "Vermont"
}

resource "ionoscloud_server" "Vermont" {
  name              = "Vermont Server"
  datacenter_id     = "${ionoscloud_datacenter.example.id}"
  cores             = 8
  ram               = 12288
  availability_zone = "AUTO"
  cpu_family        = "INTEL_XEON"

  volume {
    name           = "Vermont SSD-Storage"
    size           = 100
    disk_type      = "SSD Premium"
  }

  nic {
    lan             = "${ionoscloud_lan.LAN_1.id}"
    dhcp            = true
    ip              = "${ionoscloud_ipblock.Vermont.ips[0]}"
  }
}

Fixed in both v5.2.14 and v6.0.0-beta.10


Prevent Collapsing Tabsbar and New Look

Fixes # 1287
Describe the changes you have made in this PR -
To tackle issue of collapsing tabsbar/ simulator:

added new way of circuit's name display (with ellipsis ie, ...)
made max_display_size 7 , eg:
ckt name: 1234567      ckt_name: 12345678
tab_ame : 1234567      tab_name: 123456... which displays full name on
hovering

Screenshots of the changes (If any) -

testing 2

Alternatives
there's another ui possible:

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 84.279% when pulling 37fa635ef9175a200f4cd9cbf8b313e15d351c02 on krishanu-2001:krishanu-2001/collapsing-simulator-1287 into bdd5ed21e9ce29f1980048ab42bb0a052bf51235 on CircuitVerse:master.

@krishanu-2001 This is an issue of merge conflict. Please update your branch with the master branch of CircuitVerse so that you can remove these conflicts. You can do that by either pulling it from upstream or you can do it manually in GitHub.

@Shivansh2407 , thanks , worked wonders

see -> https://github.com/CircuitVerse/CircuitVerse/pull/1290
#1290 for working PR.

@krishanu-2001 you could have removed the merge conflicts by updating the branch locally and then pushing the changes. Now that you have opened a new PR , then you should close this PR.


partial fills orders

Hello,
I have an issue handling the partial fills orders, in my code, I need to make sure that all partial orders are executed to process with next step, I use the remaining function from trade object to check if the remaining is equal 0 or not, below is my code, the issue here is that it give always remaining == 0 even there are some remaining shares
I use this event:
self.ib_client.execDetailsEvent += self.on_exec_details
`     def on_exec_details(self, trade, fill):
    symbol = trade.contract.symbol

    if symbol in self.positions:

        trade_type = trade.order.orderType
        side = fill.execution.side
        order_id = trade.order.orderId
        shares = fill.execution.shares

        while not trade.isDone():
            logger.info(f"{symbol} : Trade type: {trade_type}/{side}, Trade Status {trade.orderStatus.status},"
                        f"remaining shares: {trade.orderStatus.remaining}")
            self.ib_client.sleep(1)

        logger.info(
            f"Execution of {trade_type} order for {symbol}, side = {side}, "
            f"shares = {shares}, order_id = {order_id}, Trade Status = {trade.orderStatus.status}"
            f"remaining shares: {trade.orderStatus.remaining}"
        )

        self.ib_client.sleep(1)

        if trade.remaining() != 0:
            return

`
Could you please help me understand why this is not working properly?

thanks will do that


Flag to change mouse axis, Add mouse wheel

Quick and dirty flag and mouse wheel addition

Hi @hippyau, as part of another change (https://github.com/altschuler/imgui-knobs/commit/f9c519dac84386dd21b0d31b4346b1ce2517360e) I\ve added support for changing the drag direction, so that part is covered now :)

Closing this as stale.


Document how to make tests run faster in IntelliJ

Add some info about setting up IntelliJ to use its internal test runner.

If you have the gradle plugin visibile, you can access it from there too:


Shared With Me and/or Team Drive support

In the v3 API all the framework for shared content should be in place..I'd love to have a shared space for curated content among friends.
FWIW rclone has implemented SharedWithMe support.

rclone now supports Team Drives in its latest betas! Hopefully some of the code is reusable.
https://github.com/ncw/rclone/issues/885

yup, and it works pretty good too!

Theoretically, Team Drive support should be pretty simple. If you changed the files.list and files.get calls to include the parameter "supportsTeamDrives=true", then you could theoretically just specify a root-node-id with Plexdrive as the root of a team drive, and it should work.
I am not entirely familiar with the code base, and especially not with Go in general, but I believe this solution should work for team drives, at least.
This document could prove useful in terms of what would require this new query parameter.
https://developers.google.com/drive/v3/web/enable-teamdrives?authuser=1

Is there progress on this?

Not right now because I've started to work on a new project and have not time for this right now.

Would be appreciated if you could go on with this fix! It would definitely make PlexDrive complete with features. There would be no reason not to recommend this to anyone.

It looks like @TripleFrequency has worked on adding support here. Not sure how much more work is needed.
Are you open to bribes, @dweidenfeld ? :) I'd gladly chip in to a bountysource to see this implemented

Yep, would be really great!

@felixbuenemann The larger issue is Team Drives. You can't add a Team Drive to your main Google Drive, as you suggest for shared files/folders.

Really, this should be two separate issues, team drives and sharedWithMe are very different beasts.

@TripleFrequency That's true, that requires your changes that are being integrated in #297.

Really, this should be two separate issues, team drives and sharedWithMe are very different beasts.

Yepp 😃

Plexdrive 5.1.0 supports Team / Shred Drives, download from: https://github.com/dweidenfeld/plexdrive/releases


Remove remaining usages of arg_check!

This pull request removes the remaining usages of arg_check! and closes #1714.

I'm planning to look into parameter-based arg checking. Any pointers are appreciated!

I've reproduced the CI failure on my machine, will look into it!

Thanks for contributing!


Responsive

I have solved both issues and tried third one by making Nav as different component, but due to this distortion started to occur on home page so I didn't do. It can be solved as different issue #15.
Now it is visible on both dark and light mode...
Double navbar is also removed...

Summary by CodeRabbit

Style

Introduced a new CSS class for improved mobile navigation visibility.
Updated the background color of an existing class for enhanced aesthetic and readability.

This issue is still there for display greater than 768px or 1024px. Working fine for smaller screen and larger screen. Please have a look.

@ank1traj I checked it but it is working fine on my system, you are talking about issue 2 (two navbars).

No, I'm saying about point 1. Point 2 is good.


Failure to apply a patch to a package won't cause a build failure

Describe the bug
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/nsrn33gaji7abzslwypgbigwm9jk0xwa-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
applying patch /nix/store/mnlqwys9dxznjcvq4w3s0435s9ql8qv8-bridge-stp-helper.patch
patching file net/bridge/br_private.h
Hunk #1 succeeded at 51 with fuzz 2 (offset 12 lines).
applying patch /nix/store/mbz5gln1q4swlzmqs2399br98qjif9kn-request-key-helper.patch
patching file security/keys/request_key.c
Hunk #1 succeeded at 117 (offset 3 lines).
>>> applying patch /nix/store/ln4k22d3g8s2yszdkpb7xqcims4rjy5v-work.patch
>>> patching file arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
>>> patch unexpectedly ends in middle of line
>>> applying patch /nix/store/1nsayrjj0rf5hsiqhr4b1ndz1waq6rk4-anx6345-hotfix.patch
(Patch is indented 1 space.)
patching file drivers/clk/sunxi-ng/ccu-sun50i-a64.c
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 180 with fuzz 1 (offset -20 lines).
applying patch /nix/store/23728y7zgh1jb55kpwxv5qnjbq0ykca6-randstruct-provide-seed-5.19.patch
patching file scripts/gen-randstruct-seed.sh
patching script interpreter paths in scripts/ld-version.sh
scripts/ld-version.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/6payx2da66dbjl6vg15csxfb5hpf3df4-bash-5.2-p15/b>
patching script interpreter paths in scripts
...

Steps To Reproduce
# nixos-config
boot.kernelPackages = crossPkgs.linuxPackages_testing;
		boot.kernelPatches = [
			# {
			# 	name = "teres_i-config";
			# 	patch = ./thing.patch;
			# 	# extraConfig = ''
			# 	# 	CMA_SIZE_MBYTES 128
			# 	# 	THERMAL n
			# 	# '';
			# }
			{
				name = "work-patch";
				patch = ./work.patch;
			}
			{
				name = "anx6345-hotfix";
				patch = ./anx6345-hotfix.patch;
			}
		];

Patch:
From 64b9bb446fae4b83f482b2cb43812454e420d4f3 Mon Sep 17 00:00:00 2001
From: itycodes<EMAIL_ADDRESS>Date: Thu, 22 Feb 2024 00:04:10 +0100
Subject: [PATCH] Temporary debug patch (--amend later) for HDMI

---
 .../boot/dts/allwinner/sun50i-a64-teres-i.dts | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
index 1128030e4c25..42b5be01b87d 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
@@ -20,6 +20,18 @@ aliases {
 		serial0 = &uart0;
 	};

+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "c";
+
+		port {
+			hdmi_con_in: endpoint {
+				remote-endpoint = <&hdmi_out_con>;
+			};
+		};
+	};
+
+
 	backlight: backlight {
 		compatible = "pwm-backlight";
 		pwms = <&pwm 0 50000 0>;
@@ -343,6 +355,18 @@ &simplefb_hdmi {
 	vcc-hdmi-supply = <&reg_dldo1>;
 };

+&hdmi {
+	hvcc-supply = <&reg_dldo1>;
+	status = "okay";
+};
+
+&hdmi_out {
+	hdmi_out_con: endpoint {
+		remote-endpoint = <&hdmi_con_in>;
+	};
+};
+
+
 &sound {
 	simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>;
 	simple-audio-card,widgets = "Headphone", "Headphone Jack",
--
2.43.2

Expected behavior
Fail the build instead of taking ~8 hours to build only to be built again
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@pelagus:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.13-xanmod1, NixOS, 24.05 (Uakari), 24.05.20240129.97b17f3`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05"`
 - channels(raptor): `"home-manager-23.05.tar.gz, nixpkgs-23.05, nixpkgs-unstable-23.05"`
 - nixpkgs: `/home/raptor/.nix-defexpr/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

pebcak, the patch was applied but the linux kernel expects different way of including the changes


fix: open cart modal on click item

Objective
What: ClickUp
Type

[x] Bug Fix

Tested
✅

Task linked: CU-31b7gnp Cart fails to open on Trending Carousel