Clean requires flyway.table to be explicitly configured

Which version and edition of Flyway are you using?
5.2.4
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
In newer version fallback to old flyway.table is removed
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using (type & version)?
Postgres 9.4
Which operating system are you using?
Windows 10
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
When executing Flyway.clean() with default settings on shema that uses old

flyway.table=schema_version

it appears that flyway.table has to be explicitly specified when not default value is used.
What did you expect to see?
Clean is agnostic to the table where flyway migrations are stored.
What did you see instead?
Warning that
[WARNING] Could not find schema history table "public"."flyway_schema_history", but found "public"."schema_version" instead. You are seeing this message because Flyway changed its default for flyway.table in version 5.0.0 to flyway_schema_history and you are still relying on the old default (schema_version). Set flyway.table=schema_version in your configuration to fix this. This fallback mechanism will be removed in Flyway 6.0.0.

This warning will automatically be removed when the fallback mechanism is removed as part of 6.0.0.


Make commit message inputs monospaced

Make input and textarea when writing a commit message monospaced
Limit input to about 50 chars so you see when you are close to the warning
Limit textarea to about 80 chars and turn off wrapping.

This simulates the behaviour of Vim when writing a Git commit message.
Unfortunately implementing autowrapping like Vim is harder and quite more opinionated.
Before:

After:

Limint textarea to about 80 chars and turn off wrapping.

:-1: I don't see the point in limiting this. I don't want to have to manually wrap my lines. This isn't the 80's. Soft-wrapping is thing.

@sindresorhus What do you think about not adding the white-space: nowrap change to the textarea and keep the rest of it? This way you would still have visual soft-wrapping, but people would still know where the 50 and 80 character limits are.

I'm good with that.

Also anyone is welcome to suggest a nicer monospaced font which is available by default.

@sindresorhus amended commit, updated description and screenshot.

Looks good :)


Broken Images in Latest Released CHs

Source information
Drake Scans 1.4.41
Source language
English
Steps to reproduce

Open Drake Scans in Mihon.
Go to the Latest tab.
Open the most recent CH they released.

Expected behavior
The chapter should load properly.
Actual behavior
The chapter has bunch of broken images mixed with some working images.
Mihon/Tachiyomi version
0.16.5
Android version
Android 12
Other details
When attempting to download the chapter, it throws an HTTP error 429. This issue seems to occur only with recently released chapters. After some time, they start loading properly again. For instance, some chapters that I encountered issues with hours ago are now loading fine. However, the latest CH site released displays broken images, while it works perfectly on the browser. I'll provide some screenshots below. By the time you look into it, the specific title's CH may be loading fine. I suggest checking the most recent chapter they've released.

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Yeah I just came to report this its happening to each and every latest chapter plz fix it

Yeah same happening with for 10000 years manhwa from this site. I think the site owners are putting it knowingly to break the flow for app readers just like asura scans did previously


Fix broken docs and examples when some rusqlite features are used

WIP PR to fix the problem raised in https://github.com/cljoly/rusqlite_migration/issues/15#issuecomment-1868524798:

Hi there, first of all thanks for your work!
I just stumbled across this line on the top level documentation of the crate:
conn.pragma_update(None, "journal_mode", &"WAL").unwrap();
This panics for me with ExecuteReturnedResults. According to this issue in rusqlite we have to use pragma_update_and_check instead.
So probably the easiest way to fix the documentation would be to change that line to:
conn.pragma_update_and_check(None, "journal_mode", &"WAL", |_| Ok(())).unwrap();

coverage: 95.796%. remained the same
when pulling 98de9628343eadaf3b9d23180a9786155b441dcf on fix-docs
into abc79919d8eeefd2c2620610586bb2c539b6d943 on master.


JS should allow merging/expando properties on imports

// Filename: mod.js
export const Ns = function () { }

// @Filename: use.js
import { Ns } from './mod'
Ns.expando = 1

Expected behavior:
No error, and Ns has property 'expando'
Actual behavior:
Error, 'expando' not found on 'Ns'.
This merge shouldn't be allowed in Typescript, but it will work in Javascript, so it should be allowed there.

Of note: This "works in javascript" in CJS and similar runtimes. However a real es6 namespace object would be immutable and it wouldn't work. So.... eh? Kinda depends on the output target.


Create an NPM package that USES styled-components . References to the package in a project that USES styled-components will cause errors

`
index.js:2178 Error: Trying to insert a new style tag, but the given Node is unmounted!

Are you using a custom target that isn't mounted?
Does your document not have a valid head element?
Have you accidentally removed a style tag manually?
`

https://www.styled-components.com/docs/faqs#duplicated-module-in-node_modules


graphqlparser:x64-windows-static fails to install

vcpkg install graphqlparser:x64-windows-static fails to install.
Reason behind this is that cmake script tries to copy graphqlparser.pdb alltough it's not generated during build.

Attaching also a patch file to fix this issue.
Add following line to portfile.cmake
PATCHES static-compile-fix.patch
static-compile-fix.patch.txt

Hi @anluoma
Seeing as you've already solve the issue locally, would you be able to submit a pull request to fix this in vcpkg?

Hi @anluoma , thanks for reporting this issue!
I've fixed this issue by #6359.
Thanks.


net-cygwin crashes in examples/bigsim/sdag

Original issue: https://charm.cs.illinois.edu/redmine/issues/1291

No body.

Original date: 2017-03-03 17:37:11

net-cygwin is deprecated


Second attempt to use class fixtures in TestCase (bug 1142943)

r+

Looks like some infinite recursion happening in the test suite?

for reference: see https://github.com/mozilla/zamboni/pull/2979 and https://github.com/mozilla/zamboni/pull/3001 for previous pull and revert

The tests are failing as expected now, after moving some of the initialisation in ESTestCase to setUpTestData from setUpClass and putting both fixture and test data setup in a try.  Just need to fix the (purposely) broken code in indexers.py before merging.

r+


Add a method to get a Translation

So users can get position of 2D and 3D widgets
(or, if it's possible through widget.getModifiers(), tell me how)

fixed in this dev build
https://github.com/StarChasers/OCGlasses/releases/tag/inb4release

2.1.1 is on curseForge now (which includes the changes)
https://minecraft.curseforge.com/projects/openglasses2/files/2729855


Update FBSnapshotTestCase Library

Description
LEARNER-7218
Add a description of your changes here.
Notes
Testing

[ ] Screenshot tests should execute on each PR commit.
[ ] Tests should fail if some changes have been made to a view and screenshots not updated for that view.

@saeedbashir can you please mention how to test this PR.

@saeedbashir can you please mention how to test this PR.

@salman2013 I have added testing section in the PR description.


cleanup splash:wait_for_resume

this seems to work fine in qt5

Current coverage is 85.64%

Merging #336 into master will increase coverage by +0.17% as of 57ba224

@@            master    #336   diff @@
======================================
  Files           40      40
  Stmts         4655    4655
  Branches       631     632     +1
  Methods          0       0
======================================
+ Hit           3979    3987     +8
+ Partial        151     150     -1
+ Missed         525     518     -7

Review entire Coverage Diff as of 57ba224

Powered by Codecov. Updated on successful CI builds.

I've tried it with examples from https://github.com/TeamHG-Memex/scrash-lua-examples and it was not crashing => merge, but keep an eye on it.


[Question] Pub/Sub Message TimeSpan Expiration and General Pub/Sub Performance

What is the purpose of the default topic expiration, or message level expiration?
Can I safely use TimeSpan.MinValue or Zero for messages to have them not persist, and only be sent to all current subscribers at that very moment?
Furthermore, I have yet to encounter when the actual message expiration is used -- merely subscribing to a topic doesn't automatically get all messages from what I've seen -- does it perhaps only get used on a temporary disconnect/reconnect event?
Currently I am using the following logic to publish a message;
public void PublishPubSubMessage(String topicName, Object message)
{
    ITopic topic = _cache.MessagingService.GetTopic(topicName) ?? _cache.MessagingService.CreateTopic(topicName);
    Metrics.Count("Cache Operation", "PubSub Request");

    topic.Publish(new Message(message, TimeSpan.FromSeconds(10)), DeliveryOption.All);
}

The use case is a very dynamic PubSub system where clients subscribe to adhoc topics and messages are sent to all subscribers, but there is no need to store these messages for new connections, as the objects are also persisted in normal cache and accessible by another Get method.

Also, how are topics maintained if there are no subscribers?  Should this be a concern, since it's a guarantee that adhoc topics will be used and eventually not be needed anymore -- will NCache automatically close and delete topics when there are no subscribers?  If not, is there a way I can get the total number of subscribers on an unsubscribe action, and then delete it if there are none?

The topics are definitely not being evicted, I see we've gone from 0 to over 100,000 topics overnight, with the vast majority of those undoubtedly being vacant.

@NCacheDev @Brad-NCache, Also, what would cause the ResponseQueueCount for the PubSub cache to increase and remain?  Could this be due to dynamically scaling clients (servers) that were added and then removed when load decreased?
It seems the bigger issue is topic count persisting.
Something is also causing the CPU utilization to spike and remain higher after starting usage of the PubSub cache, which has grown over the past 2 days.
Originally we would see spikes up to about 10% CPU utilization when just using regular cache operations, dropping to 2% during low transaction volumes; After introducing the PubSub cache we saw spikes up to 50% on day 1, but during low transaction volume or connections it would drop back to 10% or so.  On day 2 the spike went to 80%, and dropped no lower than 50% during the same low transaction volume.  Today (day 3) we see spikes up to 95% and it has yet to settle below 70%.
All of these days see nearly the same traffic patterns.

So, another bit of information -- I am now also seeing the amount of time for a client to publish data to the PubSub cache taking in excess of 6,000ms

Today I have logs of the PublishPubSubMessage command taking over 30,000ms to complete...
Similar to yesterday, below are the activity charts.
Another anomaly from yesterday, the CPU did actually drop down to an average of 20%.
CPU Graph for cluster:

PubSub Cache Requests/sec for cluster (monitored every 1 minute):

Other (non PubSub) Cache Requests/sec

AWS ELB Active Connections to ELB Serving PubSub:

Here is another interesting graph that shows the Message Count data (sampled every 1 minute, not sure why one of the nodes is missing).

I almost feel like I need to create a key for each topic that tracks presence, and if it ever drops, remove the topic, and then re-create the topic the next time a user joins.
We're using topics like keyed tokens that represent message channels for user 1:1 chat or other object updates to sync with web clients.

Hi Killemth,
Below are answers to your questions which I am stating on a per question basis in the order in which they put forward:

What is the purpose of the default topic expiration, or message level expiration?

Please note that  expiration is always on message level and default topic expiration again applies to topic messages as their  default expiration value of TimeSpan.MaxValue for cases when you don't specify an expiration on messages individually. Please note that any expiration does not remove topics that are created and is applied on messages only.
Moreover, as far as message behavior is concerned, If one or more subscribers consume the message, the message will be removed from the cache immediately without regards to its expiration time. In case no subscriber consumes the message, only then the massage is removed due to expiration after the expiration time is elapsed and message was still in the cache.
Topics are removed/unregistered by calling the DeleteTopic method explicitly.  More information on NCache pub/sub messages and topics can be found at the following links:
Pub/Sub Messages:
http://www.alachisoft.com/resources/docs/ncache/prog-guide/publish-subscribe-messages.html
Pub/Sub Topics:
http://www.alachisoft.com/resources/docs/ncache/prog-guide/publish-subscribe-messages.html

Can I safely use TimeSpan.MinValue or Zero for messages to have them not persist, and only be sent to all current subscribers at that very moment?

A TimeSpan.MinValue set as an expiration period value on a message will throw an exception as TimeSpan.MinValue is a negative number which doesn't make sense for an expiration period value. Setting a TimeSpan.Zero value, on the other hand, marks the message for expiration almost immediately and might be removed right away on next cleanup interval. This can raise a situation where messages are removed before being sent to subscriber(s).
A Quick test that you can perform to test message expiration is by using an expiration value of 1-2 minutes and publish messages without any subscriber and you will notice that all messages in a topic are automatically removed after the expiration time is elapsed. If there are subscribers connected then messages are delivered and are removed immediately without waiting for expiration time.
As mentioned in answer to question 1, messages will be removed from cache as soon as they are consumed by current subscribers, and will not wait for end of expiration period. This behavior is same whether your DeliveryOption enum set on the message is All or Any in the ITopic Publish method parameter.

Furthermore, I have yet to encounter when the actual message expiration is used -- merely subscribing to a topic doesn't automatically get all messages from what I've seen -- does it perhaps only get used on a temporary disconnect/reconnect event?

Please note that standard Pub/Sub platform is loosely coupled in nature and messages are always sent to current subscribers and are removed from the cache immediately. New subscribers may not get messages that are already delivered and removed from the cache.
You also setup DeliveryOption enum for message and if the DeliveryOption is set to Any in which case messages are sent to any connected subscriber and it is not guaranteed to be received  by others. Thus, messages may be removed by cache without reaching all the subscribers even if those subscribers are connected and listening.
If the DeliveryOption is set to All, currently connected subscribers receive all the messages being published whereas a later subscriber comes and only gets the messages most recently put forward. The older messages, having already been consumed by current subscribers before the new subscriber came along would already be removed from cache on successful delivery to current subscribers.
In either case, if the message is expired because its expiration period is too short, then it could be removed before being delivered to any subscriber. This is why I have suggested to run a test with 1-2 minutes of expiration time to understand message expiration more.

Also, how are topics maintained if there are no subscribers?

Topics don't have an expiration period of their own on them and they can persist for as long as the cache is up and running. If the cache is stopped or the topic is explicitly removed by calling the DeleteTopic method, only then will the topic be removed. The number of subscribers currently listening to the topic has no bearing on the topic lifetime.

will NCache automatically close and delete topics when there are no subscribers?

As mentioned above, NCache does not automatically close and delete topics. Topics are only removed by stopping the cache or calling the DeleteTopic method on the topic explicitly.

If not, is there a way I can get the total number of subscribers on an unsubscribe action, and then delete it if there are none?

Pub/Sub messaging is built with the characteristic that publishers and subscribers can exchange messages but it is always a loosely coupled setup where subscriber or publisher don't have any knowledge of each other. Further, users can not delete subscribers directly because subscribers are registered against auto-generated ids which are kept private.
There is, however, a PowerShell cmdlet Get-Topics that details all the topics registered on a specific cache along with the number of publishes and subscribers each of the topics has. This tool is the only means of viewing the topics state of the cache. More information about the tool can be found at the following link:
http://www.alachisoft.com/resources/docs/ncache/powershell-ref/get-topics.html
High CPU and High Response Times Issue:
As for the resource utilization you are seeing in terms of CPU bursts and topic counts increasing, please integrate topic deletion strategies into your code and see if that resolves the matter. To really solidify the concepts related to Pub/Sub, I would suggest going through our detailed discussion on the various moving parts of this NCache feature that can be found at the following link:
http://www.alachisoft.com/resources/docs/ncache/prog-guide/publish-subscribe-ncache.html
Once you are reasonably familiar with the terminology used, please run the sample located at %NCHOME%\NCache\samples\dotnet\PubSub. This will prove most helpful in making clear Pub/Sub concepts such as Topic creation/ deletion, message creation and setting properties, subscribing and publishing events, raising event and registering for event notifications etc.
Please let me know if there are any questions.

@Brad-NCache thanks again for your response, the information is greatly appreciated.
I have implemented the following to manage topics and subscriptions and will post back results tomorrow and later in the week.
There has also been a change to publishing messages, as previously when publishing I was creating the topic if it didn't exist -- which would also better explain why the Message Count was higher than zero at times (and perhaps response queue).
I will be adding a new CacheItem keyed on the topic name and client socket ID (GUID I generate on connection), and tagging with the topic name.  This will be used on Subscribe and Unsubscribe actions, and when unsubscribing, if the count of subscribers is zero, the topic will be deleted.  The topic will then be re-created when the next subscriber comes in if it doesn't already exist.
        private const String TopicSubscriberTokenName = "PubSubTopicSubscriber";

        /////////////////////////////////////////////////

        private static String TagTopicName(String topicName)
        {
            return String.Format("PUBSUB-TPC-{0}", topicName);
        }

        /////////////////////////////////////////////////

        private static void AddTopicSubscriber(String topicName, String clientSocketId)
        {
            LowCache.Insert(
                BuildCacheKey(TopicSubscriberTokenName, topicName, clientSocketId),
                new CacheItem(true)
                {
                    Tags = new[]
                    {
                        new Tag(TagTopicName(topicName))
                    },
                    AbsoluteExpiration = DateTime.UtcNow.AddHours(3)
                });
        }

        private static void RemoveTopicSubscriber(String topicName, String clientSocketId)
        {
            LowCache.Delete(BuildCacheKey(TopicSubscriberTokenName, topicName, clientSocketId));
        }

        private static Int32 CountTopicSubscribers(String topicName)
        {
            return LowCache.GetKeysByTag(new Tag(TagTopicName(topicName))).Count;
        }

        /////////////////////////////////////////////////

        public static ITopicSubscription Subscribe(String topicName, String clientSocketId, Action<String, Object> messageCallback, Action<String> topicClosedCallback)
        {
            if (String.IsNullOrEmpty(topicName))
            {
                return null;
            }

            AddTopicSubscriber(topicName, clientSocketId);

            return PubSubCache.Subscribe(topicName, messageCallback, topicClosedCallback);
        }

        public static void Unsubscribe(ITopicSubscription subscription, String clientSocketId)
        {
            String topicName = subscription.Topic.Name;
            RemoveTopicSubscriber(topicName, clientSocketId);

            Boolean deleteTopic = (CountTopicSubscribers(topicName) == 0);
           PubSubCache.Unsubscribe(subscription, deleteTopic);
        }

        public static void Publish(String topicName, Object message)
        {
            try
            {
                if (String.IsNullOrEmpty(topicName) || message == null)
                {
                    return;
                }

                PubSubCache.PublishPubSubMessage(topicName, message);
            }
            catch (Exception ex)
            {
                LoggingHelper.Write(ex);
            }
        }

The PubSubCache is a wrapper for the Alachisoft Cache class, in-part containing;
        public ITopicSubscription Subscribe(String topicName, Action<String, Object> messageCallback, Action<String> topicClosedCallback)
        {
            ITopicSubscription subscription = null;
            ProfileTracer tracer = ProfileTracer.CreateAsTrackedFunction("Cache : PubSub Subscribe");
            ProfileTracer.TraceString("Topic = " + topicName);
            Metrics.Count("Cache Operation", "PubSub Request");
            Metrics.Count("Cache Operation", "Request");

            tracer.Exec(() =>
            {
                ITopic topic = _cache.MessagingService.GetTopic(topicName);
                if (topic == null)
                {
                    topic = _cache.MessagingService.CreateTopic(topicName);
                    Metrics.Count("Cache Operation", "PubSub Topic Create");
                }

                subscription = topic.CreateSubscription(
                    (sender, args) =>
                    {
                        messageCallback(args.Topic.Name, args.Message.Payload);
                    });

                subscription.Topic.OnTopicDeleted = (sender, args) =>
                {
                    topicClosedCallback(args.TopicName);
                };
            });

            return subscription;
        }

        public void Unsubscribe(ITopicSubscription subscription, Boolean removeTopic)
        {
            ProfileTracer tracer = ProfileTracer.CreateAsTrackedFunction("Cache : PubSub Unsubscribe");
            ProfileTracer.TraceString("Topic = " + subscription.Topic);
            Metrics.Count("Cache Operation", "PubSub Request");
            Metrics.Count("Cache Operation", "Request");

            String topicName = subscription.Topic.Name;

            tracer.Exec(
                () =>
                {
                    subscription.UnSubscribe();

                    if (removeTopic)
                    {
                        _cache.MessagingService.DeleteTopic(topicName);
                        Metrics.Count("Cache Operation", "PubSub Topic Delete");
                    }
                });
        }

        public void PublishPubSubMessage(String topicName, Object message)
        {
            ProfileTracer tracer = ProfileTracer.CreateAsTrackedFunction("Cache : PubSub Publish");
            ProfileTracer.TraceString("Topic = " + topicName);
            Metrics.Count("Cache Operation", "PubSub Request");
            Metrics.Count("Cache Operation", "Request");

            tracer.Exec(
                () =>
                {
                    // ITopic topic = _cache.MessagingService.GetTopic(topicName) ?? _cache.MessagingService.CreateTopic(topicName);
                    ITopic topic = _cache.MessagingService.GetTopic(topicName);
                    if (topic == null || topic.IsClosed)
                    {
                        return;
                    }

                    topic.Publish(new Message(message, TimeSpan.FromSeconds(60)), DeliveryOption.All);
                });
        }

Using PowerShell to Stop-Cache and then Start-Cache did in-fact "restart" the PubSub cache as expected, however, after Start-Cache the Topics Count counter surged back to over 100,000.
I have logic within the web socket class that will re-create a topic if it is deleted while a subscriber is still active, however, I have no logs of that happening.
Is the cache dumping a copy of all topics and then reloading them after start?  I also reloaded the AppPool serving the web socket on all servers, so it should have been a completely new connection to NCache after the cache was started.

Using PowerShell to Stop-Cache and then Start-Cache did in-fact "restart" the PubSub cache as expected, however, after Start-Cache the Topics Count counter surged back to over 100,000.
I issued the Stop-Cache command on all cluster nodes, and then did a rolling Start-Cache -- so there shouldn't have been any state transfer, right?
I have logic within the web socket class that will re-create a topic if it is deleted while a subscriber is still active, however, I have no logs of that happening.
Is the cache dumping a copy of all topics and then reloading them after start?  I also reloaded the AppPool serving the web socket on all servers, so it should have been a completely new connection to NCache after the cache was started.

Using PowerShell to Stop-Cache and then Start-Cache did in-fact "restart" the PubSub cache as expected, however, after Start-Cache the Topics Count counter surged back to over 100,000.
I issued the Stop-Cache command on all cluster nodes, and then did a rolling Start-Cache -- so there shouldn't have been any state transfer, right?
I have logic within the web socket class that will re-create a topic if it is deleted while a subscriber is still active, however, I have no logs of that happening. In addition to this, I am inserting a CacheItem in another Cache for every topic that is created, and then adding a Tag so that I can perform a GetKeysByAllTags to see all active topics (since the PowerShell tool you referenced isn't available). I am only seeing 400 topics, which is very far from 100,000 from the performance counter.
Is the cache dumping a copy of all topics and then reloading them after start? I also reloaded the AppPool serving the web socket on all servers, so it should have been a completely new connection to NCache after the cache was started.
Update: That was really strange -- I performed that Stop-Cache process a few different times, and each time I would Start-Cache the topic count would go down.

Killemth,
I believe you are now seeing expected behavior where topic count goes to zero after cache is stopped based on the update that you have posted on this thread.
If you are still seeing this issue then please let us know and I can have this reviewed. We will need complete steps that you have performed along with a simple console sample app that helps us reproduce this situation.
Moreover, I will highly recommend that you create separate posts for different issues as it is going to be more readable for everyone.
Regards,
Ron Hussain

@Brad-NCache and @Ron-Hussain so far things have been performing better, with the exception of publishing times.
I'm logging when the PublishMessage request takes longer than 5-seconds; there are quite a few logs in here where it takes in excess of 10-seconds.
I'm not logging the number of topic-specific subscribers, however, the total unique connections with at least one subscription are logged and charted; at the time of the increased latency, there were only 300 connections.
During a period of about 5-hours, the publish latency averaged 10-seconds for JSON string objects that were about 800 bytes in size.
The CPU utilization for all of caching nodes and all of the "client" servers never spiked above 80%.

@Brad-NCache and @Ron-Hussain so far things have been performing better, with the exception of publishing times.
[Ron] Thanks for letting us know that this is working better now, I will review issue with publishing times in detail. Please see my comments below.
I'm logging when the PublishMessage request takes longer than 5-seconds; there are quite a few logs in here where it takes in excess of 10-seconds.
I'm not logging the number of topic-specific subscribers, however, the total unique connections with at least one subscription are logged and charted; at the time of the increased latency, there were only 300 connections. During a period of about 5-hours, the publish latency averaged 10-seconds for JSON string objects that were about 800 bytes in size. The CPU utilization for all of caching nodes and all of the "client" servers never spiked above 80%.
[Ron] This could be a capacity issue. Please share below details with us.
1.	What is total number of caching servers and client servers used here?
2.	What are hardware specs on these servers ?
3.	Please share NCache version and edition details.
4.	Share complete NCache cache logs from all NCache Servers ().
5.	Also share your log snippets where it is taking 10 seconds or more to publish messages
We may have to setup some performance counters to review influx of data and number of client connections but will wait for above information to be shared first.


docs: fix typo in string.md

Hi,
I was going through the docs and found a small typo in the string generator page. This PR simply fixes the typo and improves the related sentence (as well as a missing newline character in the last line 😅).

Thanks for this! Looks great.
Would you mind updating the faker link to https://github.com/cksac/fake-rs and then I'll merge it in :)

Done =)


Allowing excluding packages with a variable

Can probably be made with adding an exclude={{  variable }} line in https://github.com/CSC-IT-Center-for-Science/ansible-role-yum/blob/master/templates/yum.conf.j2
But one should be careful so that things that are excluded can be updated by specifying a variable. Like
ansible-playbook -e disable_exclude=True
or something like that. Because if we exclude a  package in yum.conf - then it will not be possible to even install it if yum.conf is templated in before the package is installed by some role.

https://github.com/jeffwidman/ansible-yum-cron/pull/4
Allows disabling it with yum-cron autoupdates
Not perfect but good enough for my use cases.


development vs production documentation is bleak and shadow-databases also.

please make it more comprehensive with examples...

Hey @mnffaisy1, thanks a lot for opening this issue! Can you maybe share a few concrete questions you have that we can address in the docs?

i saw the video on youtube whats new in prisma 2.13.0 which was comprehensive but docs are not. i think maybe u should make development and production clear with examples in docs. docs made me confused... and write more on shadow databases.
Thank you

working flow is missing in docs.


Incorrect signature index accessed

Describe the bug
The _validSignatures function in the ForceMove contract does not access the correct signature when supplying signatures/states that do not start with participant 0. e.g. whoSignedWhat = [1, 0]
Here the state hash is correctly accessed as stateHashes[whoSignedWhat[i]] whereas sigs is accessed simply using sigs[i]. Is this an intentional design because of some security/state limitation?
Changing the above line to the following resolves the bug for me and doesn't intuitively break anything:
address signer = _recoverSigner(stateHashes[whoSignedWhat[i]], sigs[whoSignedWhat[i]]);

To Reproduce
Steps to reproduce the behavior:

Create a simple state channel with two participants (User A and User B).
Fund the channel (turnNum should be 3)
Apply a checkpoint after two state transitions (turnNum should be 5) (User A should be next to make a move)
Submit a checkpoint using the previous state/sig from User B and a new state/sig from User A

The new turnNum should be 6. whoSignedWhat should be [1, 0].

Transaction reverted Invalid signatures

Expected behavior
Transaction succeeds.
Additional context
Here is a test case that triggers the bug.

I think this is probably a case of underspecified / badly documented, rather than incorrect behaviour.
Implicit in the code at the moment is the requirement for signatures to conform to [signature of participant 0, signature of participant 1, ...]. It's this way to emphasize the importance of one signature per participant, rather than one signature per state.
Have you tried switching the order of the signatures on L610 ?
If this make sense to you, I'd be happy to try and improve our documentation around this.
We also have some helper functions which aren't well advertised in the docs but may have saved you some pain here  -- for example createCheckpointTransaction https://github.com/statechannels/statechannels/blob/2a30056ca78fa3d76b11a036a891f52814846e40/packages/nitro-protocol/src/transactions.ts#L46-L55
You can access this under the Transactions namespace:
const {
  Transactions
} = require('@statechannels/nitro-protocol');

    const acceptTxRq = Transactions.createCheckpointTransaction([sig2, acceptSig])
    const acceptTx = await sender.sendTransaction({to: adjudicator.address, ...acceptTxRq})

(this passes for me when I checked out your repo).

Thanks @geoknee, yes reordering the signatures fixes the problem.

I think this is probably a case of underspecified / badly documented, rather than incorrect behaviour.

Yes, the whoSignedWhat array is a bit difficult to understand, though it makes sense that it only applies to state and not signatures themselves. A note or example around how to create a whoSignedWhat array for different cases might help.
More generally the docs around the JS api could definitely be improved. Samples are helpful but api docs listing what functions exist and what they do would be as helpful (otherwise you've got noobs like me trying to recreate the wheel :smiley: ).
Thanks again for the help.

Thanks for this feedback @JChanceHud. I've filed #3767 and #3766 to try address it.


Sketch guided constrained deciding for black box LLMs

https://twitter.com/SaiboGeng/status/1749490603111387643?t=MRfYngCpJRB7zfZCpW43MA&s=19
Any thoughts about adding that?

This sounds very interesting. You can already implement the low-level logic with the current sglang.
When this method becomes stable and mainstream, we can provide it as a default option in sglang.


Changed wording at the end

Article is awesome, but three 'methodologies' in a row made me tick a bit. Hope you'll like my edits or do your own here. =)

👍  Nice! Thanks.
Except I might remove the "shiny" part. To not make it sound negative to switch.

(ᵔᴥᵔ)


"503 Maintenance" error handling

refs TryGhost/Ghost#6976

adds custom MaintenanceError and associated error checking functions
updates app route and notifications service to handle 503 errors via the upgrade-status service

@kevinansfield do you want all of these to get merged at the same time?

If possible as they do all build on each other. I would normally squash them down into 1 PR but I think in this case having the separated commits with their already large commit messages will be better?

ok, I will get them looked at today/this weekend (still stuck deep in validations refactoring 😄)

LGTM!


Support dynamic non batch dimensions

Dynamc dimensions besides he batch dimension are currently not supported

implemented in v1.1.0


Add support for diagsession packaging

Add the ability to package dumps into diagsession files. For Linux, add the ability to include dac/dbi as part of the diagsession.
TODO:

dac/dbi packaging should ideally only happen on non-sidecar scenarios.

Closing for now, until the nuget package for diagsession is ready.


Can this be installed on win server 2k19?

Windows Terminal version
No response
Windows build number
0.0.17763.0 Microsoft Windows NT 10.0.17763.0
Other Software
No response
Steps to reproduce
I am trying to install windows terminal on win2k19 with choco, I get
choco install microsoft-windows-terminal
I get

This package requires at least Windows 10 version 1903/OS build 18362.x

What is this OS build 18362.x, and to which windoes it is refering? is it refering to win server 2022 or 20H!!!
Thanks for your help
Expected Behavior
Install windows terminal on win2k19
Actual Behavior
No going thrugh with Choco

Please read the FAQ.
This chart might be useful: https://en.wikipedia.org/wiki/Windows_10_version_history, or this one: https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
I'm under the impression that the next Server Release after Server 2019 was Server 2022, which should support the Terminal.

I upgraded to win 2022 and setup went through. Thanks


[QUESTION] - Collect the results of tests running on sharding and send them to one message to slack

I run the tests on 5 machines using the Shard feature, and as expected, the results are messaged 5 times. Is it possible to send the results running in separate shards to Slack as a single Slack message?

hey @hasangurhan, currently this is not supported.  I would need to implement.
This is what I'm thinking of implementing.

You will need to merge your results using merge-reports as a json file and redirect output to json file

npx playwright merge-reports --reporter json .\shard-results > merged.json

Run the playwright slack reporter separately and passing in required stuff. e.g. SLACK_BOT_USER_OAUTH_TOKEN, config file, path to the merged.json file

SLACK_BOT_USER_OAUTH_TOKEN=xoxb-28794905334...  npx playwright-slack-reporter --config <CONFIG_FILE_FOR_SLACK_REPORTER> --json-results merged.json
So in total, you will need 2 additional steps in your CI
Please let me know if this feasible in your current environment so that I can start work on the cli for step 2 above.

hey @chrisotto6 , yes it will need to be removed from playwright.config.ts, I will most likely introduce a new config for this e.g. pw_slack_report.config.json or something.

howdy @andiberisha-e2x, I will be working on this shortly.  Currently waiting for Playwright v1.40 to drop since it has a feature that is blocking me.
https://github.com/microsoft/playwright/issues/27498 < this feature specifically

Implemented in v1.1.54


Pin static_cell

static_cell 1.3 was released yesterday dropping atomic-polyfill in favour of portable-atomic. Unfortunately, portable-atomic isn't compatible with something in RISC-V atomic emulation. This PR pins the old version as a band-aid so CI can stay blissfully ignorant.
Xtensa targets should be fine without this PR but I've pinned those to stay consistent with RV.

In the future can we please add comments when we do this? I don't like pinning dependencies, and if there isn't a rationale given there is a good chance I will remove the = without thinking about it at some point.

Sure, sorry about that. In this case, if you accidentally remove it, CI will either scream at you for it or we will live in a happier future where portable-atomic works and we won't need pinning static_cell anyway.

ah true .... but you will quickly remember when you do and CI starts to build 🤣


Change Job discovery to use most recent launched job

Context
I would like to revive this PR from @hmitnflx to use the last launched job state instead of the last submitted to avoid downstream consumer jobs being stuck with a new submission at an error state or too long time to allocate resources.

Replace discovery subject source from last submitted to last launched.
Fixed and added UT.

Checklist

[ ] ./gradlew build compiles code correctly
[ ] Added new tests where applicable
[ ] ./gradlew test passes all tests
[ ] Extended README or added javadocs where applicable

hi @crioux-stripe this is a behavior change on job discovery, so please lmk if you have any concerns.

Is there any scenario where semantics of jobSubmittedSubject are of importance? like for SLA min/max! It might be safer to expose this in the endpoint only possibly conditional on a requestParam...

I searched around the usages, and I don't think I see anything that fits better with last-submitted (since this is impacting clients, I think it shouldn't hurt to switch the full behavior to only start connecting after the new job instance becomes connectable).

Amazing!! We have wanted this change but figured it might be painful for such a big behavior shift at Netflix where there are thousands of jobs.
We're enthusiastically in support of this.


Implement CSvHelper

In order to handle csv-files more efficiently as a cheep database, I can implement the csvHelper library.

Remember to designate acceptance criteria, and which type of issue it is


Example from readme.md is broken

import dotenv from 'dotenv';
import dotenvParseVariables from 'dotenv-parse-variables';

let env = dotenv.config({});
env = dotenvParseVariables(env);

➜ gulp --tasks
[10:13:58] Requiring external module babel-register
/Users/…/Sites/…/node_modules/dotenv-parse-variables/lib/index.js:39
  if (value.toLowerCase() === 'true' || value.toLowerCase() === 'false') {
            ^

TypeError: value.toLowerCase is not a function
    at parseKey (/Users/…/Sites/…/node_modules/dotenv-parse-variables/src/index.js:30:13)
    at /Users/…/Sites/…/node_modules/dotenv-parse-variables/src/index.js:10:35
    at Array.forEach (native)
    at exports.default (/Users/…/Sites/…/node_modules/dotenv-parse-variables/src/index.js:8:20)
    at Object.<anonymous> (/Users/…/Sites/…/gulp-config.js:5:7)
    at Module._compile (module.js:569:30)
    at loader (/Users/…/Sites/…/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/…/Sites/…/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)

I've reproduced this and working on a fix now.

The reason why this happens is because you do not have a .env file in the directory you're running your script from.  I'll update the documentation for this to catch the error, but you should definitely have a .env file...
const dotenv = require('dotenv');
const dotenvParseVariables = require('dotenv-parse-variables');

let env = dotenv.config({})
if (env.error) throw env.error;
env = dotenvParseVariables(env);

const dotenv = require('dotenv');
const dotenvParseVariables = require('dotenv-parse-variables');

let env = dotenv.config({})
+if (env.error) throw env.error;
env = dotenvParseVariables(env);

I had the same issue with the example. The solution for me was to pass env.parsed instead of env to dotenvParseVariables. Like:
const dotenv = require('dotenv');
const dotenvParseVariables = require('dotenv-parse-variables');

let env = dotenv.config({})
if (env.error) throw env.error;
env = dotenvParseVariables(env.parsed);

@rodw1995 this is because you're missing a .env file, no??

@niftylettuce No, I have .env file. The variables of the file are PORT and ENABLE_HTTPS. When I load it with dotenv.config({}); the result is:
{ parsed:
   { PORT: '3000',
     ENABLE_HTTPS: '1'} }

So I need to pass env.parsed to dotenvParseVariables and then it's working!

whats your environment / operating system btw?  any other info? I can't
reproduce this (on OS X)
On Mon, Aug 7, 2017 at 11:13 AM, Robbie op de Weegh <
<EMAIL_ADDRESS>wrote:

@niftylettuce https://github.com/niftylettuce No, I have .env file. The
variables of the file are PORT and ENABLE_HTTPS. When I load it with
dotenv.config({}); the result is:
{ parsed:
{ PORT: '3000',
ENABLE_HTTPS: '1'} }
So I need to pass env.parsed to dotenvParseVariables and then it's working!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/niftylettuce/dotenv-parse-variables/issues/2#issuecomment-320691725,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAf7hTbyp82OqQ3lDGPggwTcU41sNX7tks5sVymEgaJpZM4Oqc4K
.

--
@niftylettuce

I'am working on a Windows 10 operating system. The .ENV file is in the root of the project and it's loaded from src/server.js
But it's in the dotenv docs that the result of the loaded content is in result.parsed. So I get the expected result, right?

@rodw1995 thx for lmk, just updated the Readme + tests. I was on v2.x of dotenv with the tests, and the latest version of dotenv is v4.x, so that's why it wasn't working properly (v4.x uses env.parsed, not just env like older versions do).


Update briar.md

Briar's messaging system is distributed for group chats, forums and blog posts and it doesn't require a phone number.
Work is also currently being done to let users allow other devices to host messages for them, for scenarios where they aren't available.

@HughIsaacs2 thanks for your input. Merged!


Help me, please. I can't download any game

What am I supposed to do?

I need to add your download sources
You can join the community discord server, they have tutorials for that
https://discord.gg/hydralaunchercommunity


100.8 final

@GuillaumeBelz please review. This is merging v.next to master once 100.8 is finalized.
As we discussed, there were some merges to master that were not migrated to v.next which caused a minor merge conflict. I've addressed that and we'll be in sync again once this is merged.


[Bug] Not rebuild automatically

Is this a regression?
Yes
Description
Not rebuild a page automatically
I creating the page and create the documentation page
if i was edit the page, page don't reloading an me need restart the dev server by stopping batch job and run ng serve again
and ng g @ng-doc/builder:standalone-pages-migration doesn't work
Please provide the exception or error you saw
No response
OS
Windows
Browser
Other
Node version
latest
Anything else?
No response

Hello, I work on Windows and in my case changes in .md files are not caught either

@fil0157 yep this is the windows problem with minimatch library, I need to use a bit different pattern to make it work on Windows machines, I'll fix it today.

@0xc0000007b sry but few questions:

what is the difference between "page" and "documentation page"? do you mean just a simple page with a markdown file?
do you have any errors or output in the console after running the migration?

I think maybe it doesn't work only on Windows, I'll check it, but that's weird because the last few major versions have no changes related to the rebuilding process.

migration was not generate for me. And if i edit my md page page builder was not recompile them for me.. How fix this?

@0xc0000007b I'll release a new version with the fix soon, just want to check the migration on Windows before it

@0xc0000007b I'll release a new version with the fix soon, just want to check the migration on Windows before it

Thank you

@0xc0000007b new version is releasing, should work now in the 16.3.5 version.
I also tried to reproduce the issue with migration but it worked well for me, even on Windows, so if it's an issue for you then please share some repo where I can reproduce it.

:tada: This issue has been resolved in version 16.3.5 :tada:
The release is available on:

v16.3.5
GitHub release

Your semantic-release bot :package::rocket:

🎉 This issue has been resolved in version 16.3.5 🎉
The release is available on:

v16.3.5
GitHub release

Your semantic-release bot 📦🚀

i download latels version of tour library and getting this on starting serving
NgDoc error: (0 , minimatch_1.minimatch) is not a function TypeError: (0 , minimatch_1.minimatch) is not a function     at C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\@ng-doc\builder\engine\watcher.js:34:131     at Array.some (<anonymous>)     at C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\@ng-doc\builder\engine\watcher.js:34:93     at C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\rxjs\dist\cjs\internal\operators\filter.js:9:120     at OperatorSubscriber._this._next (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\rxjs\dist\cjs\internal\operators\OperatorSubscriber.js:33:21)         at Subscriber.next (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\rxjs\dist\cjs\internal\Subscriber.js:51:18)     at C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\rxjs\dist\cjs\internal\Subject.js:69:34     at Object.errorContext (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\rxjs\dist\cjs\internal\util\errorContext.js:22:9)     at Subject.next (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\rxjs\dist\cjs\internal\Subject.js:59:24)     at FSWatcher.<anonymous> (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\@ng-doc\builder\engine\watcher.js:21:44)     at FSWatcher.emit (node:events:513:28)     at FSWatcher.emitWithAll (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\chokidar\index.js:540:8)     at FSWatcher._emit (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\chokidar\index.js:632:8)     at NodeFsHandler._handleFile (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\chokidar\lib\nodefs-handler.js:400:14)     at NodeFsHandler._addToNodeFs (C:\Users\AngularDev\Desktop\blog\untitled16\node_modules\chokidar\lib\nodefs-handler.js:637:21)

@0xc0000007b sorry I forgot to update minimatch version in the dependencies section of the library, new version will be released in 10 minutes


[SPARK-7626][SQL] Consider the columns in Hive table but not in partition when filling values

JIRA: https://issues.apache.org/jira/browse/SPARK-7626

Merged build triggered.

Merged build started.

Test build #32707 has started for   PR 6146 at commit 4dec469.

Test build #32707 has finished for   PR 6146 at commit 4dec469.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32707/
Test PASSed.

Please explain your change.  Neither the JIRA nor the PR description describe why you the original code is incorrect.

Merged build triggered.

Merged build started.

Test build #35281 has started for   PR 6146 at commit 21e3c2c.

Test build #35281 has finished for   PR 6146 at commit 21e3c2c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #35292 has started for   PR 6146 at commit eed7c8b.

Test build #35292 has finished for   PR 6146 at commit eed7c8b.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SerializableConfiguration(@transient var value: Configuration) extends Serializable
class SerializableJobConf(@transient var value: JobConf) extends Serializable

Merged build finished. Test PASSed.

What about a test case?

@marmbrus Although the code looks problematic, I mentioned on the JIRA that I can't reproduce the problem. By more testing, I found that in your PR #5876 (https://github.com/apache/spark/pull/5876/files#diff-ee66e11b56c21364760a5ed2b783f863R620) you modified how to produce hive partition objects where you populate partition's schema from table schema.
So any newly added columns in hive table will appear in its partitions' schema too. That is why I can't produce this problem. Thus, all non-partition key attributions will always exist in table partitions. And this reported bug is solved by the PR #5876. Because of that, I think I can close this PR now.

Thanks for following up!


Provide ESM version

Would you be able to compile an ES modules version and specify it in the module field of package.json? (Or specify it in the main field along with `"type": "module" and drop the old CJS version)
This library currently cannot be used with Vite since an ES module version is not provided

@benmccann, I‘m closing this issue. Please, open a new issue if you have another request.
Regards!


feat(str-1630): add slot for more info content in button of accordion

Pull request type
Jira Link: STR-1630

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Other (please describe):

How to test this PR
This PR adds an optional slot to the Accordion component:

Other information

Hey @thomas-storyblok, it would be nice to have an example in Storybook for it. Also, a unit test. If you need some help on this, let me know 👋

I agree with Emanuel, @thomas-storyblok in fact I was looking at the preview to check it there but I couldn't find it 😂 Let me know if you need help with Storybook, I can help!


Deploying ViewComponent storybook

Does anyone have any good approaches to deploying storybook as a static site?
My understanding is that when I click on a story, it will go to the rails server defined in preview.js to load that component. What I'd really love to do is have build-storybook make those requests against a running rails server during build time. That way we can publish storybook to a place like github pages or s3 without depending on a rails server running.
Any suggestions? I found this issue https://github.com/jonspalmer/view_component_storybook/pull/27#issuecomment-795484980 but it seems their strategy was to be deployed as part of the rails app, instead of living independently.

@hjhart That is an interesting idea it would likely need to be added as a feature on the Storybook side. It would need some very careful surgery to the way Storybook Server loads the html.
However, one of the most popular addons to Storybook is Controls. This allows you to adjust the parameters passed to the 'component'. In the server case those control values are passed as query params to the running Rails app. That isn't compatible with static compilation.
If you like to work on this I'd be happy to consider PRs on the Storybook project.

@dlupu Can you provide some details as to how you deployed your static storybook to staging? Did you omit any sort of control add-ons?

@hjhart I've just written an article which covers deployment: https://finnian.io/blog/view-components-storybook-tailwind-the-holy-trinity/
Essentially:

setup a CORS policy
enable_stories = true in production
run build-storybook -o public/storybook

The other day I came across with this post which helped me a lot. Maybe you find it useful, too
https://orbit.love/blog/building-a-component-library-in-rails-with-storybook


Font parsing fails if it doesn't contain cmap for platform ID 3 (Windows)

I'm trying to debug the failure of this font, which outputs "Error: No valid cmap sub-tables found" in the font-inspector and fails in our js code.
Any idea why this is failing to parse ?
The relevant data  (I think) from the file follows (full xml here).

Hi @dhowe is that xml coming from SynalizeIt?
Also, it would be easier to debug if you could send a link to the font file :)

Yes, correct. And the font is linked in the first line of the ticket...

Got it! 😅
I tried to validate it through Microsoft's Font Validator and there are a lot of red flags...!
For the cmap table there is indeed something weird "The table does not contain any Microsoft subtables"

It looks like this font only contains information for the platform ID 0

And OpenType.js as of today only reads platform ID 3 as it's present in all fonts normally

Also, I don't know where's the font from but an updated version should be available somewhere. You could try to find that updated version and try again.

Closing as we don't support fonts without platform ID 3 (PR welcome!)

thanks for checking

Interesting to note that the above font is included in the default set for OS X (High) Sierra

I also think we should support it considering the scale.
Until now all fonts even distributed by Apple had the platform ID for Windows, I guess we can call that a breaking change from them...!

Should be fixed in 0.9.0 thanks to @moyogo 😉


Add sitemap

This builds a proper sitemap.xml file at the root of the website. It
aids in SEO, telling search engines about the organization of the site's
content.
https://support.google.com/webmasters/answer/156184
The URL environment variable gives us an easy global way of accessing
the site's URL, for use in the sitemap and anywhere else. Netlify
provides some pre-defined variables, including URL, which "represents
the main address to your site". Using this means we won't need to set
the variable manually in the Netlify settings.
https://www.netlify.com/docs/continuous-deployment/#build-environment-variables

@tysongach the code looks fine, but I am not familiar with how this works, so I can't make any comment to the efficacy of the code.

Thanks for taking a look. Basically, it leverages Middleman's sitemap (a feature of Middleman, not the end product) to loop through all pages of the website and generate the XML sitemap. It's how Middleman's own website does it: https://github.com/middleman/middlemanapp.com/blob/master/source/sitemap.xml.builder
Given that this code is also successfully working on AccessLint's website, as well as Bourbon's, I'm going to go ahead and merge.


Production build hangs indefinitely

$ ember -v
version: 0.2.7
node: 1.8.1
npm: 2.11.0

Repro steps:
$ ember new whatever
$ cd whatever
$ ember install ember-ckeditor
$ ember build -e production

The last command hangs with 100% CPU consumption.

It will eventually finish (I've seen it take 20-30 mins), but this seems to be caused by the uglify stage + the plugins js files (I suspect the language files). We use a whitelist for including files which isn't a very good option for a generic addon.
ckAssets = new Funnel('bower_components/ckeditor', {
    srcDir: '/',
    include: [
        'ckeditor.js',
        'adapters/jquery.js',
        'styles.js',
        'config.js',
        'contents.css',
        'lang/en.js',
        'plugins/widget/plugin.js',
        'plugins/widget/lang/en.js',
        'plugins/autogrow/plugin.js',
        'plugins/**/*.png',
        'plugins/**/*.gif'],
    destDir: '/assets/ckeditor'
});

@dustyjewett sorry to be a pain, what is your complete setup for doing it your way? I've done this but now I just get 'CKEDITOR is not defined', so clearly I have to attach it to the window somewhere, but not sure where.

That's the base (we do more because we have our own plugins and skin).
Make sure you include the tree at the bottom of the brocfile:
module.exports = app.toTree([ckAssets]);

I was bitten by this one today as well. I've used @dustyjewett's solution with slight modifications. Still takes a while though.

Found it to be fingerprinting... Updated ember-cli-build.js to include:
  var app = new EmberApp(defaults, {
    // Add options here
    fingerprint: {
      exclude: ['ckeditor'],
      ignore: ['ckeditor']
    }
  });

Found it to be fingerprinting... Updated ember-cli-build.js to include:
  var app = new EmberApp(defaults, {
    // Add options here
    fingerprint: {
      exclude: ['ckeditor'],
      ignore: ['ckeditor']
    }
  });

Using these settings allows for you to revert back to the included:

treeForPublic: function(tree) {
return new Funnel(this.project.bowerDirectory + '/ckeditor', {
srcDir: '/',
destDir: '/assets/ckeditor'
});
},

and build times are back to normal. The updates are in my fork with some additional alterations that I've made for my specific situation. You can check them out here and if you want them I can submit a pull request.

+1 on this issue...Still having it too after trying the fixes... What can I do to solve this problem correctly? I need fast build times for production..

+100 on this issue, took ages to see why my heroku build was failing

Using:
  var app = new EmberApp(defaults, {
    // Add options here
    fingerprint: {
      exclude: ['ckeditor'],
      ignore: ['ckeditor']
    }
  });

I'm currently running my fork of this repo and build times are normal.

Yes @ChrisHonniball this solves the issue thanks.. if we think of looking at this thread.

👍  I've added a comment about it to my repo file however I've branched off quite a bit from this repo so I'm not sure if the updates will be needed/wanted in this repo.


Upgrade prometheus/client_golang module and golang versions to latest

Upgrading prometheus/client_golang to the latest release. Since that requires at least Go 1.19, I took the opportunity to also upgrade golang to latest release as well.
This is intended to resolve the CVE with the prometheus/client_golang version currently used.

@dylan-tock Thank you for updating the versions!


[Enhancement] Add config to disable wolf armor damage

Describe the solution you'd like
ElectroBot:
Could you add an option to not have durability loss on the armor?

Will implement after config refactor


https://github.com/grafbase/grafbase/pull/1994

Description
Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context.
Type of change

[ ] 💔 Breaking
[ ] 🚀 Feature
[ ] 🐛 Fix
[ ] 🛠 Tooling
[ ] 🔨 Refactoring
[ ] 🧪 Test
[ ] 📦 Dependency
[ ] 📖 Requires documentation update

@callstackai review

@callstackai review

@callstackai review

@callstackai review

@callstackai review

@callstackai review

@callstackai review


🐛 BUG: wranglerjs-compat-webpack-plugin Cannot find module './impl/format'

Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
2.2.4 [Wrangler], 0.0.8 [wranglerjs-compat-webpack-plugin] 4.46.0 [Webpack], 4.10.0 [Webpack CLI]
What version of Node are you using?
16.10.2
What operating system are you using?
Mac
Describe the Bug
I'm currently following the guide to migrate a project using wrangler v1 to v2, specifically the webpack section.
However, when running npm run build, I get the following error logs which you can find below.
I've tried looking for this specific error, but couldn't find anything relevant. From reading the error it seems like there could be a missing module that is being imported 🤔
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
$ npm run build

><EMAIL_ADDRESS>build
> webpack

[webpack-cli] Failed to load '/XXX/webpack.config.js' config
[webpack-cli] Error: Cannot find module './impl/format'
Require stack:
- /XXX/node_modules/wranglerjs-compat-webpack-plugin/lib/index.js
- /XXX/webpack.config.js
- XXX/node_modules/webpack-cli/lib/webpack-cli.js
- XXX/node_modules/webpack-cli/lib/bootstrap.js
- XXX/node_modules/webpack-cli/bin/cli.js
- XXX/node_modules/webpack/bin/webpack.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
    at Function.Module._load (node:internal/modules/cjs/loader:866:27)
    at Module.require (node:internal/modules/cjs/loader:1093:19)
    at require (node:internal/modules/cjs/helpers:108:18)
    at XXX/node_modules/wranglerjs-compat-webpack-plugin/lib/index.js:5425:25
    at XXX/node_modules/wranglerjs-compat-webpack-plugin/lib/index.js:5415:17
    at ../../node_modules/jsonc-parser/lib/umd/main.js (XXX/node_modules/wranglerjs-compat-webpack-plugin/lib/index.js:5421:7)
    at __require (XXX/node_modules/wranglerjs-compat-webpack-plugin/lib/index.js:8:50)
    at Object.<anonymous> (XXX/node_modules/wranglerjs-compat-webpack-plugin/lib/index.js:28146:35)
    at Module._compile (node:internal/modules/cjs/loader:1191:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'XXX/node_modules/wranglerjs-compat-webpack-plugin/lib/index.js',
    'XXX/webpack.config.js',
    'XXX/node_modules/webpack-cli/lib/webpack-cli.js',
    'XXX/node_modules/webpack-cli/lib/bootstrap.js',
    'XXX/node_modules/webpack-cli/bin/cli.js',
    'XXX/node_modules/webpack/bin/webpack.js'
  ]
}

Any update on this? I'm getting the same error.
I also got an error Error: Cannot find module 'esbuild' which was solved by installing esbuild which wranglerjs-compat-webpack-plugin apparently relies on, but doesn't have as a dependency.

From a discussion on discord it seems that wranglerjs-compat-webpack-plugin doesn't work with wrangler v3 :disappointed:.

wranglerjs-compat-webpack-plugin was a stopgap solution to help with migrating between Wrangler 1 and 2, but it's no longer something that receives a lot of attention. Usually we'd recommend using Wrangler's built-in bundling, and if that doesn't work for some reason using a Custom Build (which can call out to Webpack if necessary in your setup)


Plugin not unregistered when uninstalled and  trying to install again

when uninstalling  plugin and installing from market place without restarting  logseq I am getting this error

Not sure if this is logseq error how it handle uninstalled plugins unregistering of  processes or  this plugin specific, this plugin is the first time I am  getting this error
plugin 3.10.2 logseq 0.6.5

Hi, for plugins with shortcuts, this tends to happen if Logseq is not restarted first.
It is good practice to restart Logseq each time you uninstall a plugin so as to remove these artefacts.


changename command enhancement

"if you try to correct the capitalization of a name (with the exact same letters), it doesnt let you. You have to switch the name to something else, then swap it back."

Use removename rather than addorchangename to replace a name with a different capitalization.  Further fixing would require logic changes to how we compare names when adding, removing, etc. from database.


is it possible to use crouton offline with no internet connection?

I love crouton.   I do scientific fieldwork in remote places, and crouton allows me to get a powerful data collecting and data analysis machine for very cheap, so thanks!
Is there any way I could restore a crouton backup to a machine that has been powerwashed and that isn't connected to the internet?  It seems that the crouton script throws errors immediately in the absence of a network connection....is there any workaround?
Thanks!

@wabarr,
If you're just restoring a crouton chroot from a backup tarball I don't understand why it would be throwing errors since it's just uncompressing & untarring it.  If you are trying to update it then it will definitely complain about the absence of a network connection.
Hope this helps,
-DennisLfromGA

@DennisLfromGA I am new to crouton but this is helping me understand how the different moving parts connect.  The non-networked powerwashed chromebook won't have crouton installed, so I downloaded the crouton install shell script https://goo.gl/fd3zc. The error I was referring to comes from that install script.
So maybe a better question is: how do I get crouton installed in the absence of a network connection because the typical install script relies on a network. Assume I have an SD card that can be preloaded with whatever files I need.

@wabarr,

so I downloaded the crouton install shell script https://goo.gl/fd3zc. The error I was referring to comes from that install script.

I get it now, you're not literally restoring a crouton chroot, you're trying to install a new one, that won't work without an internet connection.

how do I get crouton installed in the absence of a network connection because the typical install script relies on a network. Assume I have an SD card that can be preloaded with whatever files I need.

If you have a working crouton chroot on a system you can perform a backup and store it on external media for restoral and/or portablitity.  Here's a snippet of the edit-chroot script usage that pertains to backups and restorals -
    -b          Backs up the chroot to a tarball. Compression format is chosen
                based on the tarball extension. Backups always take place before
                other actions on a given chroot.

    -f TARBALL  When used with -b, overrides the default tarball to back up to.
                If unspecified, assumes NAME-yyyymmdd-hhmm.tar[.gz], where .gz
                is included for unencrypted chroots, and not for encrypted ones.
                When used with -r, specifies the tarball to restore from.
                If TARBALL is a directory, automatic naming is still used.

    -r          Restores a chroot from a tarball. The tarball path can be
                specified with -f or detected from name. If both are specified,
                restores to that name instead of the one in the tarball.
                Will not overwrite a chroot when restoring unless -r is
                specified twice.

You can back it up with something like this:

sudo edit-chroot -b -f /media/removable/usbstick xenial

Change the external media location 'usbstick' to the mountpoint name when it's inserted and replace the chrootname if it's different than 'xenial'.
Hope this helps,
-DennisLfromGA

And to add, one other alternative I didn't mention but should have is copying or moving your chroot from internal storage to external storage.  You can use edit-chroot's '-m' or '-C' options to accomplish that, see below -
edit-chroot [options] name [...]

    -m DEST     Moves a chroot. Specify a new name to keep it in the same
                directory, or an absolute path to move it entirely.
                DEST can be a directory, in which case it must end in a slash.
                If multiple chroots are specified, DEST must be a directory.
                If you are moving a chroot to a SD card/USB drive, make sure the
                storage is formatted to ext2/3/4.

    -C DEST     Like -m, but copies instead of moves.

And adding to @icecream95's comment, you can also use crouton's '-b' option to restore all the host-bin files after a powerwash, etc.
   -b          Restore crouton scripts in PREFIX/bin, as required by the
                chroots currently installed in PREFIX/chroots.

Hope this helps,
-DennisLfromGA


Asynchronous Email delivery using sidekiq workers / redis

Based on #441 we decided to leverage sidekiq workers (DelayedMailer) to deliver emails. This requires to add a worker for heroku ($25 / month) and a redis service (RedisCloud with 30MB memory limit for free).
The actual delivery code can remain the same but emails should be delivered from the worker in a scalable way.

Signed, sealed and delivered to all envs - AWESOMENESS by @phillipoertel


AggregatorFactory.getComparator() must be null-safe

Specify this in the Javadoc of this method.
Fix for all implementations in the repository. It's currently not null-safe at least in DoublesSketchAggregatorFactory.

@AlexanderSaydakov

it might be much better to handle nullability centralized, not to require for each implementer of AggregatorFactory to remember about nullability. E. g. wrap with Comparator.nullsFirst(aggFactory.getComparator()) at the usage sites of getComparator().

I like this idea. @nishantmonu51 any thoughts?

Does this need to be a release blocker for 0.14.0?


tests: Ensure coverage data files get cleaned up at the end.

From commit message:

Without calling cov.erase() the data file seems to persist and even
pollute future test runs if not removed. Registering an atexit handler
seems like a good, and reasonably clean way to ensure the cleanup
happens.
Fixes #13933.

I think this is cleaner than a more hacky cleanup inserted at the beginning of test-backend? And should be reliable enough, as according to atexit doc:
Note: The functions registered via this module are not called when the program is killed by a signal not handled by Python, when a Python fatal internal error is detected, or when os._exit() is called.

Which should be sufficiently unlikely to happen between the moment these files come into existence (at the first cov.save() call) and exit.
I'm wondering about whether we should add these .coverage.* files to .gitignore, since they normally only exist for short periods of time, and I wouldn't have spotted this bug so easily if I hadn't had these files listed at the top in my VSCode source control bar - so it seems actually useful to have them annoyingly listed :sweat_smile:

hmm, I think maybe the right approach here is probably to just make coverage not write to that path.
Looking at https://coverage.readthedocs.io/en/v4.5.x/config.html, maybe this just means setting the data_file attribute there?
We could even put it under var/ to avoid clutter in the root directory.

I feel like we had coverage data going to var at some point?

The HTML coverage report goes to var/coverage; this is about the intermediate database files created by Coverage.py with names like .coverage.916b410afe1a.2469.024280.

Yeah by “coverage data” I meant the intermediate data file, not the reports themselves.  But I think you are correct that my memory here is probably faulty, and we probably only redirected the reports to var.

Pushed a commit  with the config change instead of .gitignore.

Pushed a commit  with the config change instead of .gitignore.

Lgtm

Nice, merged, thanks folks!


Addressing issue #6 / Cleaning code and fix issues based on new lint configuration

Closes #6

@romulogoncalves Ready for your review.


Various changes (unit tests, scripts from private repositories)

This PR contains several changes:

Unit tests for esmvaltool.diag_scripts.shared.io and esmvaltool.diag_scripts.shared.iris_helpers
Fix and derivation scripts from the private repositories which should be available in the public repo
Various smaller optimizations
Update of recipe_flato13ipcc with recent CMIP6 models.

I addressed all comments, added units tests for the preprocessor and fix files and removed the fixes for the CMIP6 models (see discussion in #983).


Unable to check if ActiveRecord own properties isset or empty using array access notation

What steps will reproduce the problem?
Created a ActiveRecord model class, for example:
class FinancialTransaction extends \yii\db\ActiveRecord
{
    /**
     * Custom property to be set manually
     */
    public $annotation;

    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%account}}';
    }

    // ...
}

And run code like this:
$model = new FinancialTransaction();
$model->annotation = 'Some annotation';

var_dump($model['annotation']);
var_dump(isset($model['annotation']));
var_dump(empty($model['annotation']));

What is the expected result?
string(15) "Some annotation"
bool(true)
bool(false)

What do you get instead?
string(15) "Some annotation"
bool(false)
bool(true)

Suggestion:
Change implementation of BaseActiveRecor::offsetExists from:
public function offsetExists($offset)
{
    return $this->__isset($offset);
}

to:
public function offsetExists($offset)
{
    return isset($this->$offset);
}

So it will cover own ActiveRecord properties and fallback to __isset when needed.
Additional info

Q
A

Yii version
2.0.28, 2.0.30

PHP version
7.3, 7.4

Operating system
Mac OSX 10.15.1

BaseActiveRecord extends yii\base\Model which implements the suggested the solution. We can just remove offsetExists method from the BaseActiveRecord class and rely on the Model classes implementation.
yii\base\Model::offsetExists
    public function offsetExists($offset)     {         return isset($this->$offset);     }

Potentially that may break things. @yiisoft/core-developers, @yiisoft/reviewers what do you think? Any breaks that may happen?

If you need to check properties, please check from $model->attributes ($model->attributes['name'].
You can't check any indexes from object. By default it will throw an exception.

The fact that ActiveRecord "hides" this exception is very frustrating.
It would be nice to remove this strange behavior.

Since recent versions yii starts to check isset on attribute when loading relations in \yii\db\ActiveRelationTrait::filterByModels
    private function filterByModels($models)
    {
            ...
            foreach ($models as $model) {
                $value = isset($model[$attribute]) ? $model[$attribute] : null;

Until recent versions, relations of this kind worked
class FinancialTransaction extends \yii\db\ActiveRecord
{
    /**
     * Custom property to be set manually
     */
    public $annotationId;

    /**
     * @inheritdoc
     */
    public static function getAnnotation()
    {
        return $this->hasOne(className, ['id' => 'annotationId']);
    }
}

Now they don't .

\yii\db\BaseActiveRecord::offsetUnset() method checks for the existence of the property:
    public function offsetUnset($offset)
    {
        if (property_exists($this, $offset)) {
            $this->$offset = null;
        } else {
            unset($this->$offset);
        }
    }

Maybe just add the same check to \yii\db\BaseActiveRecord::offsetExists() method?
    public function offsetExists($offset)
    {
        return property_exists($this, $offset) || $this->__isset($offset);
    }

@samdark Was this issue sorted or how do we debunk this problem?

The original one descibed in the initla post? No.


Add support for Azure Kubernetes Load Balancer and HTTP Application Routing

The azurerm_kubernetes_cluster, which Infracost supports, has a load_balancer_sku param. Once we support the Azure LB resource is merged, we can update the AKS resource to include costs of the LB if that param is used.

I've added some details for the load balancer and DNS pricing for AKS here: https://github.com/infracost/infracost/issues/591#issuecomment-829163605.
The DNS pricing applies if http_application_routing.enabled == true. This page contains a bit more detail, but basically when this option creates a new DNS Zone, so any pricing we have for DNS Zones should apply here.

@alikhajeh1, Hey, I want to work on it!

Released in v0.9.2 today.


Correct docker file to pull architecture specific version of tini

Dockerfile currently pulls the amd64 for all builds; pull the correct one, and remove the workaround of calling node direct

No longer required as built into docker runtime


ReLoad Widget after changing structure

When i change the structure of the dashboard, the widget is reloading, there is any way to skip it?

+1
Also reloading after drag'n'drop a widget from one column to another would be nice. I have widgets with heavy data loading requests and it is kind of annoying, that they reload every time I adjust the layout.

+1
100%.. however, I think this is more a function of ui-sortable?
moving a widget around and watching it reload is painful enough.. then say you cancel the structure changes.. you have to wait through it again...


Roll Flutter Engine from 0cebd8d7f32c to 0738285e9f9f (1 revision)

https://github.com/flutter/engine/compare/0cebd8d7f32c...0738285e9f9f
2022-09-01<EMAIL_ADDRESS>[Impeller] Implement ui.Picture.toImage() (flutter/engine#35633)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


How to update scroll height when update total count?

Hi,
I'm using this control in a project with one section and changeable ItemsForSection, because I consume an API with a TotalCount dinamic. I already made some changes and the VirtualListView working fine, but the vertical scroll size remains the same as on the loading, and I need to change the ItemsForSection and the VirtualListView needs to update the vertical size of the scroll to reach new items or decrease its height to avoid scroll to empty lines.
Do you have any idea how to accomplish that?
Thank you,
Daniel Ancines

Hi @Redth , I need to think about it, because I don't use it Virtual List in my project, we made a port from WinUI DataGrid.

Sure thing @Redth , thank you!


WIP: Add a types bundler package

What this PR does / why we need it:
Wip - part of the PoC for bundling plugin types.
To bundle plugin types we need a way to treeshake and bundle all the imported types into a single file as we believe relying on the consuming plugins npm package versions to create mismatched type checking.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Closing in favour of #1092 due to package-lock.json issues that I cannot figure out and are blocking CI.


ModuleNotFoundError: No module named 'ConfigParser'

Collecting whisper (from -r requirements.txt (line 7))
Collecting carbon (from -r requirements.txt (line 8))
Collecting configparser (from -r requirements.txt (line 9))
  Using cached configparser-3.5.0.tar.gz
Collecting graphite-web (from -r requirements.txt (line 11))
  Using cached graphite-web-0.9.15.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/hw/sj17hcqn2zg0wrlq73fnpvs40000gn/T/pip-build-i_ejqz4a/graphite-web/setup.py", line 4, in <module>
        import ConfigParser
    ModuleNotFoundError: No module named 'ConfigParser'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/hw/sj17hcqn2zg0wrlq73fnpvs40000gn/T/pip-build-i_ejqz4a/graphite-web/

installed configparser, but not working.
how can i slove it?

Are you trying to install Graphite on python 3 ? It will not work, only python 2.7 is supported now

Hello @zhangsm,
Was it really python 3 or other issue?

same issue here...install Graphite also failed.
pip install Graphite
Collecting Graphite
Downloading graphite-0.71.tar.gz (56kB)
100% |████████████████████████████████| 61kB 221kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/mn/fyndsss93cvcj14gjgc81g5w0000gn/T/pip-build-n0rhcr3p/Graphite/setup.py", line 23
print "EZ_setup"
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/mn/fyndsss93cvcj14gjgc81g5w0000gn/T/pip-build-n0rhcr3p/Graphite/

@ElsaHuang you're trying to install Graphite with Python 3, which isn't supported. Can you try with Python 2.7?

It's even worse. @ElsaHuang trying to install https://pypi.python.org/pypi/graphite/0.71 - I do not even know what it is.
@ElsaHuang - please follow install instruction from https://graphite.readthedocs.io/en/latest/install.html

Does it help, @ElsaHuang ?
@zhangsm ?

still no python3 support?

@JZO no-one has had time to port it, if you want to make a start PRs are gladly accepted

Python 3.x is now supported


add hierarchical synthesis in yosys

Adds:

this is an initial implementation of hierarchical synthesis for yosys.

Idea:

break the synthesis step and look for modules below a specific size, those can be flattened and the rest kept and then try again.

@maliberty FYI, adding this so it's available as a starting point


return SelectionMarkState

Type of issue
Typo
Description
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/api/azure.ai.formrecognizer.models.selectionmarkstate?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Azure.AI.FormRecognizer.Models/SelectionMarkState.xml
Document Version Independent Id
f809162b-827b-face-4313-31e27d70fcf8
Article author
@azure-sdk
Metadata

ID: 8e1743ba-6e1e-22d7-bbbf-7373ed18af5d
Service: azure

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hello @nczimmerman,
Could you tell us exactly where the typo is and what would be the expected text?

Thank you for your response. Please close the issue.
From: github-actions[bot] @.>
Sent: Tuesday, January 30, 2024 8:32 PM
To: Azure/azure-sdk-for-net @.>
Cc: nczimmerman @.>; Mention @.>
Subject: Re: [Azure/azure-sdk-for-net] return SelectionMarkState (Issue #40913)
Hi @nczimmerman https://github.com/nczimmerman , we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
—
Reply to this email directly, view it on GitHub https://github.com/Azure/azure-sdk-for-net/issues/40913#issuecomment-1918318770 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO4LG4YTGVME7D5Y4WEU2A3YRG3LFAVCNFSM6AAAAABBF37QEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGMYTQNZXGA .
You are receiving this because you were mentioned.Message ID: @.***>


Update JsonExperimentsSummaryController.java

added the following accessions that are both in Atlas and the HCA:
E-GEOD-106540
E-MTAB-6701
E-MTAB-6678
E-GEOD-81547
E-GEOD-93593
E-MTAB-5061
E-ENAD-15
These should all be linked to from the HCA logo.

We now have Tabula Muris as a featured experiment under the CZ Biohub logo. Should we keep it separate or is it better to remove it?


Implement configurable engine options

cc @ehazlett @sthulb @hairyhenderson @ibuildthecloud PTAL
Implementation of feature spec'd out in https://github.com/docker/machine/issues/974
I have been testing with labels, storage drivers, and insecure registry and it seems to be working pretty well.  The generated configuration files aren't great looking but that's the name of the game.
Signed-off-by: Nathan LeClaire<EMAIL_ADDRESS>

Still to go: Docs and integration tests, maybe a --engine-arbitrary-flag flag as an "escape hatch" when the user wants flags which are not supported directly, e.g.:
$ docker-machine create -d virtualbox --engine-arbitrary-flag icc=false foobar

What is the expected behavior when a provisioner doesn't support an option.  Should provisioners return an error, log a warn, or ignore?

Nice. This seems pretty good to me.
--engine-arbitrary-flag seems a little non-intuititive... Would it be possible instead to just (eventually) support all of the engine options?
Not sure if codegangsta/cli supports it, but if we could just take any unknown option that starts with --engine-* and pass it through to the engine, that might fill that need.

Should provisioners return an error, log a warn, or ignore?

With the current implementation, an error.  Then the user will have to re-create without specifying the option.

@hairyhenderson codegangsta/cli doesn't support that unfortunately, but I like @nathanleclaire's solution.

@sthulb - Ah. In that case @nathanleclaire's solution is OK.
However, what about something a little shorter - --engine-flag or --engine-opt or something?

Nice -- I'm going to test this out!  Thanks!
+1 to @hairyhenderson -- i think something perhaps --engine-flag or --engine-opt is a little more friendly than arbitrary-flag.

Just a few minor comments / nitpicks -- overall looking awesome!  Can't wait to get this :+1:

Updated some stylistic things, added --engine-flag, and updated some documentation.  Getting pretty close, just want to write a few integration tests now.

:+1:

Does this feature only work at create time? I want to be able to change the dns server used on an existing machine (--engine-arbitrary-flag dns=<IP_ADDRESS> --engine-arbitrary-flag dns-search=.).
A machine restart is okay. I do this now by editing EXTRA_ARGS manually and restarting.

Does this feature only work at create time?

Yes -- for now at least.  I think eventually we would like to support mutating machine options "in flight", but that's probably a long way off.

A machine restart is okay. I do this now by editing EXTRA_ARGS manually and restarting.

Yep, that's the gist of how I would do that with an existing machine.

much +1 from here

Update: I've added a few integration tests to test this functionality.  I've run into some occasional issues running them on cloud providers but after fixing a race condition related to daemon start they mostly seem to be related to other code.

nice -- ready to get this in -- i will test it today :D

LGTM

Ideally it would be nice to have this fix, work out what is needed when I provision the standard boot2docker image and I specify:
--engine-storage-driver devicemapper
and if the lvm2 packaged needs to be installed (like for Ubuntu) or other things just do it for me.
Thanks


Mouse teleporting when trying adjust values on blender

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)

System Information:
System name: Linux
Node name: archlinux
Release: 6.9.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:38 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
Issue occurs when clicking to the same areas as #3270, but draging works fine.
Just single click to define new value on number fields teleports the cursor to the center of the window.
All the other UI elements don't teleport the cursor to the center of the screen.
How to reproduce
Click on a number field
Crash reports, logs, images, videos
No response

exact dupe of #6035


how to change pressed style ?

How to change the menu pressed style i.e when user holds clicking menu item the design changes.

We’ve just released a major new version with significant changes and improvements. If you’re still experiencing this issue after upgrading, please open a new issue with updated details. We're closing all the very old issues to get on top of things. Thanks for your patience!


PhantomJS 2.0, CSS text-rendering assertion failed in OSX 10.11.2

OS: OSX 10.11.2
Phantom JS 2.0
Test case
<html>
<head>
    <title>CSS text-rendering/PhantomJS failure</title>
    <style>
        body {
          text-rendering:optimizeLegibility;
        }
    </style>
</head>
<body>
<EMAIL_ADDRESS></body>
</html>

results in:
Assertion failed: (_consumed <= scratch_size), function _hb_coretext_shape, file src/hb-coretext.cc, line 764.
Abort trap: 6

The failure also occurs in PhantomJS 1.9.8 on OSX 10.11.2.

I have same issue on Mac OSX 10.12.2, Phantom JS 2.1.14 (install with NPM) and Node.JS.


Fullscreen

Is it possible to set window fullscreen using ngx-electron?

I would be tempted to send an asynchronous message through ngx-electron up to the main process, and in its event handler call win.maximize() on the browser window. https://electronjs.org/docs/api/browser-window#winmaximize
Would that work for you?

@walkingriver How can I send async msg to main proc to get BrowserWindow API? I think BrowserWindow API is not available in ngx-electron at this time. Thanks for your reply!

@miloshavlicek, Unfortunately, I don't have any code I am permitted to share with you, so I'll try to sum up. In your angular code, you'll want to inject the ElectronService from ngx-electron. Then you'll need to do something like this.
this.electron.ipcRenderer.send('goFullScreen'); // this.electron is injected as an ElectronService
On the electron side, you'll need to import ipcMain from electron. Then to respond to the sent message above, you can do something like this...
ipcMain.on('goFullScreen', (event) => {
   win.maximize(); // (Or whatever your browser window is named)
}

I'm assuming that you only have one window. If you have more than one, I think (but have not confirmed) that you can get to the window that sent the event through the event.sender object. Good luck!

@miloshavlicek I think the thing to understand is you can get access to the BrowserWindow Api via ngx-electron from firing events through the ipcRenderer. You can register an event to fullscreen the browserWindow which is fired from your client-side code.
if you're using newer versions of electron you can use win.setFullScreen(true);
Much like @walkingriver example it would look something like
ipcMain.on('goFullscreen', (event, arg) => {
  win.setFullScreen(true);
});

and your clientside code could look something like this
goFullScreen() {
  this.electronService.ipcRenderer.send('goFullscreen');
}


arch/arm64:Suppot tickless mode

Summary
1 Similar to Linux and zephyr, all implementations are in arm64_arch_timer.c
2 Arm64 tickless is turned off by default. If it needs to be turned on, you need to configure the switch CONFIG_SCHED_TICKLESS ON
3 The implementation strategy for tick/tickless is to use the timer inside the CPU and implement the timer driver based on the ARCH_TIMER framework.
4 We implemented tick_* Callback functions to adapt to the driven interface to avoid time format conversion overhead
5 In arm64_tick_cancel func，The remaining time that is not used, so this value can be ignored without reading the corresponding register to obtain the remaining cycles
6 Currently, tick/tickless can takes effect in SMP and non SMP mode, ostest can pass.
Impact
arm64 suppot tickless mode
Testing
ostest pass

@xiaoxiang781216

@hujun260
Can you add qemu-armv8a:tickless configuration to test this PR?

@hujun260
====================================================================================
Configuration/Tool: qemu-armv8a/nsh_smp_tickless
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
Error: chip/qemu_serial.c:743:21: error: 'CONFIG_UART1_BAUD' undeclared here (not in a function); did you mean 'CONFIG_ARCH_BOARD'?
  743 |       .baud_rate  = CONFIG_UART1_BAUD,
      |                     ^~~~~~~~~~~~~~~~~
      |                     CONFIG_ARCH_BOARD
chip/qemu_serial.c: In function 'arm64_serialinit':
Error: chip/qemu_serial.c:843:40: error: 'CONSOLE_DEV' undeclared (first use in this function)
  843 |   ret = uart_register("/dev/console", &CONSOLE_DEV);
      |                                        ^~~~~~~~~~~
chip/qemu_serial.c:843:40: note: each undeclared identifier is reported only once for each function it appears in
Error: chip/qemu_serial.c:849:38: error: 'TTYS0_DEV' undeclared (first use in this function)
  849 |   ret = uart_register("/dev/ttyS0", &TTYS0_DEV);
      |                                      ^~~~~~~~~
At top level:
Error: chip/qemu_serial.c:739:33: error: 'g_uart1priv' defined but not used [-Werror=unused-variable]
  739 | static struct pl011_uart_port_s g_uart1priv =
      |                                 ^~~~~~~~~~~
Error: chip/qemu_serial.c:718:32: error: 'g_uart_ops' defined but not used [-Werror=unused-const-variable=]
  718 | static const struct uart_ops_s g_uart_ops =
      |                                ^~~~~~~~~~

@hujun260
====================================================================================
Configuration/Tool: qemu-armv8a/nsh_smp_tickless
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
Error: chip/qemu_serial.c:743:21: error: 'CONFIG_UART1_BAUD' undeclared here (not in a function); did you mean 'CONFIG_ARCH_BOARD'?
  743 |       .baud_rate  = CONFIG_UART1_BAUD,
      |                     ^~~~~~~~~~~~~~~~~
      |                     CONFIG_ARCH_BOARD
chip/qemu_serial.c: In function 'arm64_serialinit':
Error: chip/qemu_serial.c:843:40: error: 'CONSOLE_DEV' undeclared (first use in this function)
  843 |   ret = uart_register("/dev/console", &CONSOLE_DEV);
      |                                        ^~~~~~~~~~~
chip/qemu_serial.c:843:40: note: each undeclared identifier is reported only once for each function it appears in
Error: chip/qemu_serial.c:849:38: error: 'TTYS0_DEV' undeclared (first use in this function)
  849 |   ret = uart_register("/dev/ttyS0", &TTYS0_DEV);
      |                                      ^~~~~~~~~
At top level:
Error: chip/qemu_serial.c:739:33: error: 'g_uart1priv' defined but not used [-Werror=unused-variable]
  739 | static struct pl011_uart_port_s g_uart1priv =
      |                                 ^~~~~~~~~~~
Error: chip/qemu_serial.c:718:32: error: 'g_uart_ops' defined but not used [-Werror=unused-const-variable=]
  718 | static const struct uart_ops_s g_uart_ops =
      |                                ^~~~~~~~~~

sorry , i update the patch and revalidation.


TabView workaround for Issues #2455 and #2457

Fixes #2455
Fixes #2457
Instead of having apps like the XamlControlsGallery implement a workaround described in https://github.com/microsoft/Xaml-Controls-Gallery/pull/457, we can put in a workaround in the TabView control as follows:
When the TabView.TabItemsSource property is set, and the underlying ListView can be reordered (i.e. CanReorderItems and AllowDrop are True), we replace the ItemContainerTransitions collection with a clone that does not include AddDeleteThemeTransition / ContentThemeTransition instances.
This is done regardless of the nature of the new TabView.TabItemsSource, and we never try to revert the collection changes.
Adding a new regression test that reorders tab items.

/azp run

/azp run

/azp run