Issue 2508: __NSCFBoolean private API

This pull request attempts to hide the use of __NSCFBoolean that apparently is not being digested well by Apple #2508
I know it looks ugly, but as far as I understand, this shouldn't change the behaviour of what was in place previously.
It uses what has been suggested by @mkujalowicz.
Note: that RKValueTransformer is using the same private API (https://github.com/RestKit/RKValueTransformers/blob/master/Code/RKValueTransformers.m#L131-L132) so I don't exclude we may have to modify that too.
@honkmaster, @Shyam-Pgmr @mkujalowicz it would be great if you could try and submit your app with the version of RestKit on this branch, so we can see what Apple thinks about it, as I don't have any automated way of verifying the fix.
@blakewatters @segiddins I know it's a bit of a stretch, but it would be great if you could review it.

Will submit an app update with this fix now.

Apple accepted my update after fixing another issue unrelated to Rest.Kit.

thanks @segiddins 👍
I have replaced it with a macro, but I am still not sure why / when __NSCFBoolean was needed instead of NSCFBoolean:
https://github.com/RestKit/RestKit/pull/2510/files#diff-2a2e29e281a875b2e70528eca5b32cb8L53
If you think these changes won't break anything I will merge.

👍
I think both were used because Foundation changed the name of the NSNumber subclass used for booleans


Driver.Options attributes information

I'm currently developing the CLI tools for CppSharp and I'm trying to understand the difference between these two Driver.Options attributes: Driver.Options.LibraryName and Driver.Options.SharedLibraryName.
Could you please explain the difference so I can give the end user informations about these properties?

LIbraryName is the name of the generated binding. SharedLibraryName is the fallback for the native library to P/Invoke if Libraries and LibraryDirs are not used.

Thank you very much.
Also, Libraries is a list but, as far as I have seen, the generated bindings P/Invoke from only one library, so why is Libraries a list and not simply a String?

This way one binding can wrap more than one native library. It's almost always better to have one binding per native library but we have decided to leave it more flexible.

A good question, I really forgot mentioning something important. When SharedLibraryName is not used, the CheckSymbols option must be enabled so that the correct symbol from the correct library is found.

So in this case I should have SharedLibraryName unset, add a.dll and b.dll to Libraries and set CheckSymbols to true if I understood correctly.
Oh, and since we are in the mood, what does the UnityBuild flag means? :)

For some of the options, UnityBuild in particular, you can see their description in the source code as XML code comments. Still, I do hear you, we should definitely add some documentation for the options.

Yeah, I've noticed only now the UnityBuild description. Sorry about all my questions but I wanted to understand these options in particular so that I can provide the best help I can to the CLI tools.

No need to apologise at all, on the opposite, I am happy with your interest. Besides, you are touching an important point here, our documentation need some serious improvement.

Well, I must admit that the first time I saw CppSharp I couldn't understand how it worked so I had to find examples from other users. The link to the CppParser bindings you sent me was a great help since it covered almost all I needed, but without asking you I would have never been able to catch the difference between the use of SharedLibraryName and Libraries.

I agree. The problem is that we still lack important features such as templates and cannot get to the documentation and examples. Anyway, if you're done with your questions for now, please close this issue.

Yes of course.


Manual Installation

CocoaPods and Carthage are awesome tools and make our life really easier, but there are some devs who still don't know how to use them.
It would be cool to add the Manual installation guide in your README.md. You can take a look at my iOS Readme Template to see how you can do it.

Thank you for your feedback!
I will pack the update recently README.md

https://github.com/roycms/RCalendarPicker/issues/2


Adding missing licenses for Dynamics 365 Business Central 2024 W1

New versions of existing packages.

Sorry I didn't get any notifications about the PR getting updated or your comment. I reviewed the PR and had one additional change but I'll just fix it after merging.
In<EMAIL_ADDRESS>the wrong component name was listed. It has 'styles' instead of client-side-row-model.


[Bug]: there comes a scroll bar in the container for fixed mode even though the content is not overflowing

Is there an existing issue for this?

[X] I have searched the existing issues

Description
there comes a scroll bar in the container for fixed mode even though the content is not overflowing
Steps To Reproduce

Dnd A container
change height to fixed mode
notice there is a scroll in EDIT MODE
https://www.loom.com/share/8960a9f4f90e4250988b5df34738b22c

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud/Self-hosted

this is a non-issue on anvil layout system hence closing it


Need a changelog

Maybe something like: https://github.com/skywinder/github-changelog-generator
will probably require some organizing of issue labels.
also would be great to be able to write some custom message for each new release. ie "In this release we focused on ... blah blah"

Note: should probably just do this on major/minor releases.
That tool looks good though, can hook that into Circle.

Before we can think about producing a changelog for a release we need official releases.  It would be great if we could produce weekly stable builds that we recommend for users followed by official releases on a regular schedule.  Each time we do a hands on lab it's Russian roulette as to whether all the components in a daily build are working and able to communicate.

yea we need a release cadence and can make a changelog from that. auto-gen changelogs kind of suck. not gonna start the 'release manager' finger pointing...
every 6 months? ;)
at this point i'm not sure it's worth tagging and doing rigorous testing to make 'known good' builds on a weekly basis, that's a full time job. it seems like we should wait for dust to settle and API to lock in on a v1 before we make any 'official' releases (even if beta) at all. we could maybe make one now just to carve out but as far as establishing regular cycle it doesn't seem like we're 'there' yet.

Ya. Don't disagree with you guys. But we need to aim to be "there" in the next 1-2 months... at which point this will be important. Happy to hold off but want to at least identify the system soon.

linking to #159 dupe

time to bring this back to life


Crash on iOS for setBadgeNumber

What version of RN and react-native-fcm are you running? 0.44.2 & 7.0.0
What device are you using? (e.g iOS9 emulator, Android 6 device)? iPhone 5S
Is your app running in foreground, background or not running? Foreground
I'm getting the following crash on iOS when calling setBadgeNumber.
Crashed: com.facebook.react.RNFIRMessagingQueue
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000004

0  MyAppName                         0x1001e7ff4 -[RNFIRMessaging setBadgeNumber:]
1  CoreFoundation                 0x181c50a60 __invoking___ + 144
2  CoreFoundation                 0x181b48488 -[NSInvocation invoke] + 284
3  CoreFoundation                 0x181b4cdb0 -[NSInvocation invokeWithTarget:] + 60
4  MyAppName                         0x100215cb8 -[RCTModuleMethod invokeWithBridge:module:arguments:]
5  MyAppName                         0x10023af28 -[RCTBatchedBridge callNativeModule:method:params:]
6  MyAppName                         0x10023a8d0 __33-[RCTBatchedBridge handleBuffer:]_block_invoke.352
7  libdispatch.dylib              0x1816954bc _dispatch_call_block_and_release + 24
8  libdispatch.dylib              0x18169547c _dispatch_client_callout + 16
9  libdispatch.dylib              0x1816a14c0 _dispatch_queue_drain + 864
10 libdispatch.dylib              0x181698f80 _dispatch_queue_invoke + 464
11 libdispatch.dylib              0x18169547c _dispatch_client_callout + 16
12 libdispatch.dylib              0x1816a3914 _dispatch_root_queue_drain + 2140
13 libdispatch.dylib              0x1816a30b0 _dispatch_worker_thread3 + 112
14 libsystem_pthread.dylib        0x1818ad470 _pthread_wqthread + 1092
15 libsystem_pthread.dylib        0x1818ad020 start_wqthread + 4

I've narrowed it down to the following code:
RCT_EXPORT_METHOD(setBadgeNumber: (NSInteger*) number)
{
  [RCTSharedApplication() setApplicationIconBadgeNumber:*number];
}

If I change that to the following, the method works correctly and I don't have any further issues (remove the * in front of number).
RCT_EXPORT_METHOD(setBadgeNumber: (NSInteger*) number)
{
  [RCTSharedApplication() setApplicationIconBadgeNumber:number];
}

Happy to shoot across a PR, but not sure what the implications are or why the code was like this in the first place. I've only experienced an issue since updating to the latest React Native and react-native-fcm libraries.
Edited to include the symbolicated stack trace and fix.

@evollu updated with more detail and a potential fix.

Possibly caused by https://github.com/evollu/react-native-fcm/commit/60d941f6fa2676d59c6e96f61a6fb4b7eb424cf4

I will fix it


Message class subclass cannot be serialized

Related to https://github.com/yiisoft/yii2-symfonymailer/issues/58 and https://github.com/yiisoft/yii2-symfonymailer/pull/59
    private Email $email;
    private string $charset = 'utf-8';

properties are private again so subclasses cannot be serialized using current master.

@karelvasicek See comments raise by @SamMousa: https://github.com/yiisoft/yii2-symfonymailer/commit/c656520acd1d98669d28f35f5ab740a3cd2e1935#commitcomment-137621946
Why do you want to extend the class? Can you provide a use case of where extending class is the best way?

All properties have getters right? You could implement a serializer that uses those.

@mtangoo

Why do you want to extend the class?

I posted an example in https://github.com/yiisoft/yii2-symfonymailer/issues/58#issuecomment-1685753610 . We extend the Message class and put corresponding (serialized) objects to the queue where messages are handled.

It makes them part of the public API. So any change to them then becomes a break in backwards compatibility.

So any change to them then becomes a break in backwards compatibility.

Is the recently added __sleep() needed then? It looks like a major BC break to me.

We extend the Message class and put corresponding (serialized) objects to the queue where messages are handled.

As a hack you can copy the two properties and __sleep() to your class to make it working. But as a long term solution you need to change the logic.
Permanent solution would be not to abuse the class. For example taking a second look at your example I wonder why do you need invoiceId in the message class. I think it is not a good design. Can you explain the use of invoiceId in your context?

I agree; it's not a good thing to add at all. Unfortuantely I cant follow every commit in every repo where I contribute; so bad things are bound to happen.
In my opinion you should not be serializing objects you do not own. What happens if any of the libraries get updated while  serialized in the queue?
What I do for mail, for example, is create my own value object with just the stuff my code uses and that is serializable. Then I serialize that and the task runner uses the library code to create a message object and sends it using the mailer.
Serialization is risky and with Yii2 comes with extra caveats because the message object also has a reference to the mailer component which cannot / should not be serialized; upon deserialization it tries to "magically" retrieve the mailer from the application, but your console application might be configured differently.

I wonder what's wrong with protected properties in framework libraries.

It prevents library developers from changing or removing the fields without breaking things since someone might have overriden. But if they are private then you are sure that no one is affected if you decided to remove it and replace with a different design

Thanks guys!

abuse the class

Different approaches could be used, of course, but extending a class and putting into the queue does not look like an abuse to me.

Can you explain the use of invoiceId in your context?

It was a simple example. We use more properties. But as for the invoiceId, after the message is put into the queue (and serialized by Yii queue), it is handled by queue worker and PDF invoice is created (and attached) according to that invoiceId.

It was a simple example. We use more properties. But as for the invoiceId, after the message is put into the queue (and serialized by Yii queue), it is handled by queue worker and PDF invoice is created (and attached) according to that invoiceId.

Well, that sounds like, again "abusing" this class for what it should not do. The class is for Message. I suggest you serialize the class then use some ways to add metadata. One example would be storing JSON version, with message property representing serialized message, invoice_id representing invoice and so on. The send the JSON string to message Queue
or other similar ways, which will avoid changing the class internals while doing the job

not look like an abuse to me.

It is. You're misusing fundamental OO concepts. You should not be extending 3rd party classes (I realize the irony since Yii2 often forces you to extend it's base classes). Use composition over inheritance.
In this scenario however even composition does not solve your serialization problem.
You're applying all kind of hacks to fix this "problem", but you're going about it wrong.
Instead of trying to make some other object do what you need, why not create a new DTO (Data Transfer Object) that does just what you need:
final class PdfInvoiceMail {
    public function __construct(
        private readonly string $toEmail,
        private readonly string $body,
        private readonly int $invoiceId
    );
}

Put that in the queue, as you can see your frontend code doesn't even need to know what kind of mailer implementation you use.
Then in the task handler use that object to interact with whatever API you use to send emails, so there you can use mailer->compose(..)->send() etc.

Closing since what @SamMousa proposed makes perfect sense to me. @karelvasicek please check if the approach is good for you.


www.armadaproject.io does not exist

It's general convention (whether it should be or not) that a website works with www prepended. However, http://armadaproject.io works while http://www.armadaproject.io does not.
We should ensure the www. url is in DNS, and redirecting users to the correct, non-www URL.
┆Issue is synchronized with this Jira Task by Unito

Hi @jayofdoom @richscott. Not sure how i can help here. Looks like you have everything configured, except a CNAME record with your domain provider.           IN      A

;; AUTHORITY SECTION:
armadaproject.io.       3601    IN      SOA     dns1.registrar-servers.com. hostmaster.registrar-servers.com.<PHONE_NUMBER> 43200 3600<PHONE_NUMBER>

;; Query time: 72 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Oct 13 09:54:36 CEST 2023
;; MSG SIZE  rcvd: 122

so all configuration should exist in your domain provider. Am i missing something?

I'm not sure we know who the name provider is, or where to configure it. Ideally we'd just have the www. (or any subdomain) do a redirect. Can you do the detective work and help get it configured?

Let's start with who and how created and configured the domain armadaproject.io. Do you have those details?

HI all. Please check the links now, redirect should be working as expected

Amazing! LGTM


player hand ui

Pull Request Test Coverage Report for Build 992457382

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.896%

Totals

Change from base Build 991525438:
0.0%

Covered Lines:
501

Relevant Lines:
506

💛  - Coveralls


Add targeted device family calculation

Current dependencies on/for this PR:

main

PR #32

PR #33   (this PR)

This comment was auto-generated by Graphite.


zig 0.13.0-dev.30+6fd09f8d2

Don't merge this yet.
The following is panicking, I don't really know how to debug this @SnowballSH ?
Avalanche Compiled at 2024-04-25-13:52 by Yinuo Huang (SnowballSH)
go
info depth 1 seldepth 1 nodes 24 time 17 score cp 37 pv d2d4
info string thread 0 nodes 83
info depth 2 seldepth 2 nodes 83 time 54 score cp 29 pv d2d4 g8f6
info string thread 0 nodes 184
info depth 3 seldepth 3 nodes 184 time 93 score cp 35 pv d2d4 g8f6 g1f3
Bus error at address 0x16d328000
Panicked during a panic. Aborting.
[1]    562 abort      zig-out/bin/Avalanche

Hey,
I have encountered the same issue when trying to migrate zig to self hosted stages of zig. I have consulted zig experts and it seems like it's simply an issue of compatibility and is difficult to fix or debug without a full rewrite. In the meanwhile, please compile with zig 0.10.1 and it should work.
Thanks!

Btw, the project is mostly paused now and I plan to do a rewrite when zig 1.0 comes out, as current versions of zig are way too unstable and subject to significant language changes. But still thanks for trying to make Avalanche compile in recent versions of zig... I will try again to look for solutions with Zig people.

I just remembered that I was able to make it run to around depth 9 in debug mode, but it takes way too much time compared to stage1 compile. Then after that I hit the same bus error.

I guess the slow down was due to the debug mode.
Hard to help on this error since I more than unfamiliar with the implementation. I'm not sure a full rewrite is necessary though.
Unrealted question: did you come up with the BitBoard idea? What a neat trick :)

Not like I know my code any better as I haven't read my move generation code for so long 😅
I didn't come up with the bit board idea, as it has been commonly used for a long time. See https://www.chessprogramming.org/Bitboards it seems like it has been invented since the late 20th century. Although I believe I was one of the first to implement it in Zig, lol.

I wanted to do a rewrite simply because I learned a lot about practices in Zig and chess programming since I started this project, and there are so many things I could improve everywhere that would be difficult to partially rewrite.


api/nomad: Add Nomad Scaling Support

This change introduces additional support structures required to make scaling decisions for a Nomad cluster.
New functionality provides the ability to:

Calculate the percentage of overall cluster capacity consumed
Calculate and track per-node consumption of overall cluster capacity
Determine the most-utilized resource across the cluster
Determine the least-allocated worker node
Initiate allocation draining for a worker node

In addition to new functionality, this change reduces the three allocation structs (totalAllocationCapacity, taskAllocation and usedAllocationCapacity) to a single object AllocationResources as these structs were tracking the same type of data with the same field names.
Finally, in order to implement tracking of per-node consumption of overall cluster capacity, the ClusterAssignedAllocation method was refactored to determine consumed resources by gathering allocations from each worker node instead of hitting the overall allocations API endpoint.
Closes TIOCE-98

Moved generic functions to helper package as you rightly pointed out @jrasell


[Enhancement] Custom Error response handling (NodeError Registry)

Context
Gateway operators want to punish node operators dependent on specific error messages (i.e., rate limiting) and the time to punish is opinionated.
Currently, there is a default behavior of a punishment (stop sending requests) of ~15 seconds whenever a node operator returns an unrelated POKT error/RPC error. The code can be found here.
Proposal
We can extend the gateway server error capabilities by allowing gateway operators to supply specific error substrings and a corresponding punishment duration for the node operator.
This information should be pulled from the PostgreSQL database table, along the lines of a NodeErrorRegistry, and periodically updated. Whenever a node operator returns an error response, we can iterate over the rows returned from the NodeErrorRegistry and if there is a match, punish for the specified interval.
Suggested Schema:

error_substring (varchar) -> parsed as a string
punish_interval (varchar) -> parsed as time.Duration

Benefits
Gateway operators can now flexibly punish node operators on a per-need basis without debating what constitutes a "good" or "bad" error, and the appropriate punishment duration.
The gateway server principles is engrained to provide an opinionated for getting started, allowing gateway operators to fine-tune based on their clients' needs. Long term, we can then add databases migrations to include specific error messages where gateway operators agree that these errors provide unanimous benefits for operations. This is aligned with the "future" roadmap
Excerpt below

Over time, as more gateways enter the network, there will be re-occurring patterns on what is needed on the foundational level and developers can create RFPs to have them included. For example, while rate limiting and multi-tenancy endpoints feel too opinionated right now, there is a future where we can create a service that distributes these endpoints natively in the GW server. The use cases are limitless and we expect that over time, community contributions into the gateway server will enable some of the aforementioned use cases natively.

Andy from Liquify also mentions people can return these errors with a response 200. So this functionality should be extended to 2xx responses as well.

Thanks Blade, I can look into this


[Feature Request] Timeout in Workflow definition not in execution

Is your feature request related to a problem? Please describe.
I’m trying to set a timeout for a Workflow, but I’m unsure if I’m missing documentation or if this might be a feature request.
I know it’s possible to set a timeout when executing a workflow directly, like this:
result = await client.execute_workflow(
    YourWorkflow.run,
    "your timeout argument",
    id="your-workflow-id",
    task_queue="your-task-queue",
    # Set Workflow Timeout duration
    execution_timeout=timedelta(seconds=2),
    # run_timeout=timedelta(seconds=2),
    # task_timeout=timedelta(seconds=2),
)

However, I’m running into an issue: I can’t set execution_timeout when the workflow is triggered by a Schedule, as my workflows are executed by a worker:
worker = Worker(
    self.client,
    task_queue=TASK_QUEUE,
    workflows=[
        Workflow1,
        Workflow2,
        Workflow3,
    ],
    activities=[
        activity_1,
        activity_2,
        activity_3,
    ],
)

I’ve reviewed the documentation and examples, but haven’t found a way to configure a workflow timeout outside of the direct execution method.
Describe the solution you'd like
Or the workflow has a timeout parameter in the definition or the worker, both of them would solve my issue.
Additional context
N/A

Hello @cretz!
Thanks for answering.
We are creating the schedule via de UI by passing the Workflow definition which does not provide an execution timeout as far as I can see from the available parameters.

I'm implementing workflow timeouts due to an issue where, occasionally, our workflow remains in a "Running" status indefinitely, with zero pending activities. This occurs despite having timeouts set at the activity level, and I haven’t yet identified the root cause.
This is how I'm defining the workflows:
with workflow.unsafe.imports_passed_through():
    from app.module import activity_1

@workflow.defn
class Workflow1:
    @workflow.run
    async def run(self) -> Any:
        return await workflow.execute_activity(
            activity_1_activity,
            start_to_close_timeout=timedelta(minutes=5),
        )

@activity.defn
async def activity_1_activity() -> Any:
    return activity_1()

Am I missing something?

Hello @cretz.
Thanks for answering! Regarding the UI team, do I have to open a request there (if so can you provide a link) or do we keep this issue open?

you could consider creating the schedule via the CLI or programmatically in the Python SDK to get the extra options you need.

Maybe I'm wrong but as far as I know creating a Workflow does not provide the option to set a timeout or at least in the documentation that's not specified, the only references are at Activity level.
The other option for Workflow timeouts are in the Failure detection section, but I think this (got from the official docs) would not work:
# ...
    result = await client.execute_workflow(
        YourWorkflow.run,
        "your timeout argument",
        id="your-workflow-id",
        task_queue="your-task-queue",
        # Set Workflow Timeout duration
        execution_timeout=timedelta(seconds=2),
        # run_timeout=timedelta(seconds=2),
        # task_timeout=timedelta(seconds=2),
    )

As it forces to execute the workflow in your code and my workflows are executed via a schedule. And in the schedule documentation there are no references about workflow timeouts.

This is worth identifying instead of just setting workflow execution timeouts. Your activity timeout is only set for each attempt (as opposed to schedule to close timeout), so a failing activity will retry indefinitely there any look like it's hanging (see the UI to see if the pending activity is performing many attempts).

Indeed, but it's a very strange issue, as sometimes the workflow executes correctly but from now and then it just loops in Running without any pending activity, if we terminate the workflow and we wait for the next workflow execution it succeeds. So it's a non-deterministic behavior. For this reason as a fast solution would be nice to have a Workflow timeout with Schedules.
For sure I may missed something and it's a mistake from my side, but it would be nice if you could help me!
Thanks!

And in the schedule documentation there are no references about workflow timeouts.

The schedule documentation doesn't mention every workflow option since many are the same as regular workflow start. The documentation at https://docs.temporal.io/develop/python/schedules#create shows an example of creating a schedule, you can add workflow options to ScheduleActionStartWorkflow as needed, including execution_timeout (see API documentation at https://python.temporal.io/temporalio.client.ScheduleActionStartWorkflow.html).

Thanks @cretz.
Some final questions:

Do you have an ETA for when the timeout schedule parameter will be implemented in the UI? If not, can you provide a ticket to follow up on this?
I understand that timeouts can be specified via the CLI at the schedule level, but is there a way to define them at the Workflow level without using this option:

    result = await client.execute_workflow(
        YourWorkflow.run,
        "your timeout argument",
        id="your-workflow-id",
        task_queue="your-task-queue",
        # Set Workflow Timeout duration
        execution_timeout=timedelta(seconds=2),
        # run_timeout=timedelta(seconds=2),
        # task_timeout=timedelta(seconds=2),
    )

Thanks!

Do you have an ETA for when the timeout schedule parameter will be implemented in the UI? If not, can you provide a ticket to follow up on this?

I do not have an ETA and there may be discussions on use cases the UI team would want to have with you and confirm whether it's something they want to expose. Instead of in the Python GitHub issue, I would recommend starting a UI discussion in a more general setting, e.g. at https://community.temporal.io/ or in Slack (https://t.mp/slack) or, if you're a cloud customer, open a ticket.

I understand that timeouts can be specified via the CLI at the schedule level, but is there a way to define them at the Workflow level without using this option:

Can you clarify the question a bit? The execution_timeout option is available both for create schedule in Python (when you use the workflow action I mentioned above) and for just starting a workflow directly in Python. What is the issue with using the execution_timeout option?

Yes for sure, I have requested it in the #web-ui channel. Thanks!

Well, my point if we could have something like this:

from datetime import timedelta
from typing import Any
from temporalio import workflow, activity

with workflow.unsafe.imports_passed_through():
    from app.module import activity_1

@workflow.defn
class Workflow1:
    def __init__(self, timeout: timedelta = timedelta(minutes=5)): # <- HERE
        self.timeout = timeout

    @workflow.run
    async def run(self) -> Any:
        return await workflow.execute_activity(
            activity_1_activity,
            start_to_close_timeout=timedelta(minutes=5),
        )

@activity.defn
async def activity_1_activity() -> Any:
    return activity_1()

When the scheduler executes the workflow, it knows what is the timeout for each one, and this timeout it's defined at Workflow level, this would also simplify this code as you won't need to specify it in the client.
    result = await client.execute_workflow(
        YourWorkflow.run,
        "your timeout argument",
        id="your-workflow-id",
        task_queue="your-task-queue",
        # Set Workflow Timeout duration
        execution_timeout=timedelta(seconds=2), # <- HERE
        # run_timeout=timedelta(seconds=2),
        # task_timeout=timedelta(seconds=2),
    )

Still not following exactly. If you want timeout inside workflow code, you can have:
@dataclass
class Workflow1Args:
    timeout: int

@workflow.defn
class Workflow1:
    async def run(self, args: Workflow1Args) -> None:
        try:
            with asyncio.timeout(args.timeout):
                # This will get canceled on timeout
                my_other_code
        except TimeoutError: # Note, may be something else depending on how cancel handled
            raise ApplicationError('timeout')

We recommend this approach over execution_timeout because execution_timeout is server side and you can't react to it. But if you must have server side timeout (e.g. you may not have a worker running), then no amount of in-workflow timeout will help because the workflow may never be reached.
If you just want to create a schedule with an execution timeout, just:
    await client.create_schedule(
        "workflow-schedule-id",
        Schedule(
            action=ScheduleActionStartWorkflow(
                YourSchedulesWorkflow.run,
                "my schedule arg",
                id="schedules-workflow-id",
                task_queue="schedules-task-queue",
                execution_timeout=timedelta(seconds=2)
            ),
            spec=ScheduleSpec(
                intervals=[ScheduleIntervalSpec(every=timedelta(minutes=2))]
            ),
            state=ScheduleState(note="Here's a note on my Schedule."),
        ),
    )

(though a 2-second timeout may be a bit aggressive)

Thanks! I think this solves my question, now I will be following on the UI problem.

Folloup issue: https://github.com/temporalio/ui/issues/2460


Fix: Doc on custom config file

Hi,
I have try the new feature to add a custom file.
The doc indicate
ValidateEnv({ envFile: 'config/env' }
when it is actually
ValidateEnv({ configFile: 'config/env' }).
Plus when the config file is not found, we get this error :
$ vite dev
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
error when starting dev server:
Error: Failed to validate environment variables :

[configFile]:
  validator is not a function

Which state that configFIle is an expected env variable, not an options for the env path.
I would expect something like this instead :
Error : `config/env` file not found

Hey! I rushed this feature a bit. Happy to accept a PR
I fixed the readme

I had issues with the plugin trying to validate debug and configFile as env vars when passed as options — this PR takes care to remove the keys when normalizing the options: https://github.com/Julien-R44/vite-plugin-validate-env/pull/24/files
I'm not sure what the best way is to handle missing configFiles, so I've left it out, but maybe something along the lines of this?
diff --git a/src/index.ts b/src/index.ts
index 4cbabdb..9884038 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -30,27 +30,37 @@ async function loadOptions(rootDir: string, inlineConfig?: PluginOptions) {
   const result = await loader.load()
   const config = result.config

+  if (source !== 'env' && !result.sources.length) {
+    throw new Error(`Missing configuration for vite-plugin-validate-env: ${source}`)
+  }
+
   if (!config) throw new Error('Missing configuration for vite-plugin-validate-env')

   return config
 }

I have the same issue. How did you workaround it?


Fix talk time formatting when minutes is a single digit

Thanks for creating a great theme! (our usage)
We noticed a bug when the number of minutes is a single digit. This is a hacky workaround that ought to fix the problem.
Of course, I feel required to say that the ideal solution would be to use ICU -- the industry standard i18n library -- to handle formatting datetimes and many other such operations. And if you're in an international context, it's indispensable. :-) I don't know too much about Ruby and Jekyll, and whether there is an ICU wrapper there.
FYI @sffc

Thanks for the fix @echeran!
I also notice that you are hard coding the ':' character for the time separator. However, the time separator varies by language, script, and region. It would be better to use an i18n library designed for localized time formating in many locales.


Spam email

Your company has been cold emailing people based on their GitHub activity (I didn't even star one of your repos). You have no unsubscribe link in your email. Either add an unsubscribe link or better yet stop spamming people based on vaguely related GitHub activity.

Must be hit or miss. In terms of cold emails I found it to be top percentile in terms of quality. They listed three repos within financial data science for me.

@hoestlund They emailed back and assured me I'm not on a list or part of some automated campaign and if they listed different projects for you I guess it's more sincere then I initially thought (that I'd been signed up to some automated drip-feed campaign).

Hey Theo, thanks for getting back to us. I'm part of lemon.markets and we obviously did not want to bother you with our email - we just a contacted a number of users that we thought might be interested in our product to get their feedback. No automated campaign, no spam emails - happy if you take a look, but we'll definitely make sure to not send you any more emails that might be misconstrued as spam :)


[stdlib] Use broader fast-path for Unicode.Scalar.Properties.canonicalCombiningClass

We can add the U+0300 fast-path to Unicode.Scalar.Properties.canonicalCombiningClass. The reason we use that fast-path in other places is because, even though it gives us inaccurate NFD_QC values, we don't care about that if all we need is the CCC (and/or NFC_QC value).
Since the scalar property now includes all the fast-paths, there is no reason not to use it in GraphemeBreaking when all we need is the CCC. It's nicer and clearer if we can reduce the number of places where we hard-code magic numbers.

@swift-ci please test

@swift-ci please benchmark

@milseman Can you review?
Tiny change, actually motivated by cleanup rather than performance. I was taking a look at _NormData because of the compatibility forms when I noticed they were referenced here just to get the CCC.


jekyll-twitter-plugin works locally but not with Github Pages

Just got an email from Github with the following message:
The tag `twitter` in `_posts/xxxx-xxxx-xxxxx/#excerpt` is not a recognized Liquid tag.

Bummer.

Yeah I think Github runs Jekyll in "safe-mode", that is without any plugins that could execute arbitrary code when they build the site. The last time I checked the work-around was to build the HTML locally and then merge that generated content into the gh-pages branch but there may be something better now.


Request: Refresh schema ability when selecting source container

When importing data using Dbeaver's import data feature I often find myself using source data that is from a newly created container.
This is a little frustrating as I'm unable to right-click and select refresh while in the import data wizard. This requires me to exit the wizard, scroll to the database in the database navigator, right-click & refresh, then scroll back to the table I want to import data to and re-enter the wizard.
Is it possible to add the ability to right-click & refresh for source containers during the import data wizard?

Thank you for the suggestion.

seems feature request is outdated for now


" AS " column name assignment not usable in WHERE

https://groups.google.com/forum/#!topic/orient-database/EI2CEkDV4RI
select announcementNumber, count(*) as total from Announcement  group by announcementNumber

I get a list of announcementNumber s and another column named total with values ranging from 1 to 5
select announcementNumber, count(*) as total from Announcement where total > 1 group by announcementNumber

returns nothing. , but should return something. Problem is "total > 1" is not being evaluated with the value from column "total"
Workaround I used :
select *
from (
 select announcementNumber, count(*) as total from Announcement group by announcementNumber
)
where total > 1

using 2.0

You can also use the LET to assign a variable and reuse it in WHERE: in OrientDB projections are computed after the where.

In standard SQL you cannot use aliases for aggregate operations in the WHERE condition. To work around this limitations, relational databases provide HAVING keyword.
OrientDB does not support HAVING, so you have to use a subquery for this.
V 2.2 does not support aliases even in ORDER BY, but this limitation was fixed in v 3.0
Closing as invalid
Thanks
Luigi


Temporary source reopens only every other time

New unsaved source code reopens in the app only every other time.  Watch this video for a demonstration.
This may be related to issue #231, #232, #235, and #236.

Duplicate of #231

Verified fixed via the same steps described in the demo video.


Request: Add Public Function for Finding Referrers and Filtering by Artifact Type

User Story
As a user of oras-go I would like to discover referrers of a manifest and filter by ArtifactType. I have a GraphStorage which only gives me access to Predecessors. I'd like to take advantage of the referrers API for optimization.
Limits of Current Functionality
The FilterArtifactType option for ExtendedCopyGraph provides this filtering, but the condition of copying limits its use.
As the GraphStorage I have is originally a registry.Repository, I have the option of elevating my GraphStorage to a registry.Repository giving me access to repository.Referrers. However, this has a side effect on my unit tests which use a memory.Store; a PredecessorFinder not a registry.ReferrerLister.
The implementation of func (opts *ExendedCopyGraphOptions) FilterArtifactType(regex) provides a "fallback" mechanism, where a non registry.ReferrerLister uses Predecessors instead, which seems useful to both the memory.Store in my unit tests as well as my GraphStorage.

Perhaps a duplicate of issue 392

Hi @nathan-joslin , thanks for opening the issue.
We would like to gain a better understanding of your use cases. Are there any other scenarios where Referrers and FilterArtifactType are required, besides in unit testing?

@Wwwsylvia Apologies for the confusion. My use case is not within a unit test. I have a GraphStorage where I'd like to fetch manifests of a particular ArtifactType. As I only have access to Predecessors with a GraphStorage, I have to filter by ArtifactType myself, which does not take advantage of the referrers API.
I noticed similar existing implementations of using the referrers API with ReadOnlyGraphStorages. For instance the Referrers function in oras (also referenced in issue 392), and the FilterArtifactType option in oras-go. The first implementation does not apply to my use case as it's not oras-go and internal. The second implementation must be used by ExtendedCopyGraph, which does not apply to my use case as I do not wish to copy to a destination GraphStorage.
The related issue 392 proposes letting content.Stores implement registry.ReferrerLister because they have access to Predecessors. I believe a similar proposal should be made for GraphStorages as they also have access to Predecessors.

I think this issue can be potentially resolved by #659 as per https://github.com/oras-project/oras-go/pull/659#discussion_r1429535685.

I agree with your comment.


Minor Graphical Issue with "Military Calculator" Button

The "Military Calculator" button tries to finish it's text underneath the button.

Thanks for this, should be fixed when #21 is merged.

@ArcherSagittarius this should be resolved, please re-open if it isn't


React: Pressing enter in a form input fails to submit the form

Describe the bug
When using a plain input type="submit", hitting enter in a form field submits the form. When using a cds-button with type="submit", it does not.
How to reproduce
I believe this is a react only issue, as the form is submitted with a plain web component
react: https://stackblitz.com/edit/clarity-react-demo-wkfrre?file=src%2FApp.tsx
vanilla js: https://stackblitz.com/edit/clarity-react-demo-wkfrre?file=src/App.tsx
Steps to reproduce the behavior:

Focus in an input element
Click enter
Note that the on submit event is not called

Expected behavior
The form should submit
Versions
Clarity Core version:

[x] v5.x
[x] v6.x

Framework:

[ ] Angular
[x] React
[ ] Vue
[ ] Other:

I am observing the same issue in an Angular app.
This works: <button type="submit">Submit</button>
This does not: <cds-button type="submit">Login</cds-button>
I wonder if I miss something obvious here are as this is rather basic behavior.

This looks like a regression as it was previously fixed here https://github.com/vmware/clarity/issues/6263 but the code in button.base.ts has changed significantly since that.
If it's any help, I've a Stackblitz of an Angular demo https://stackblitz.com/edit/cds-button-submit?file=src/app/app.component.ts


Made backtraces optional.

At the moment the dotenv crate forces the feature backtrace of error-chain on. This PR makes it optional, allowing users to opt out from backtrace-including errors when they are using dotenv.
The backtraces are still, as of the default, on, like they used to be.

Thank you! Could you release that as the version 0.10.1 so that I could depend on that instead of my git fork?

@golddranks Done! #67 https://crates.io/crates/dotenv


Update google-cloud-redis to 1.1.9

Updates com.google.cloud:google-cloud-redis from 1.0.0 to 1.1.9.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.0.0).
You might want to review and update them manually.
build.sbt

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-redis" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #185.


Fix fennel syntax highlighting

Fennel examples aren't styled properly https://cxong.github.io/tic-80-examples/starfield
This is because https://highlightjs.org/ doesn't yet support fennel - see if we can add support

See https://highlightjs.readthedocs.io/en/latest/language-requests.html - need to implement it and then request it be hosted by highlightjs


Code View of API calls does not update

Upon updating a parameter or the code view type, the request view should re-render and show the updated request it is making.  However, due to changes in the way react has been updated, this now does not work.
I suspect that this is due to the fact that when the parent re-renders upon state change, it was previously recreating the react components instead of reusing them like it does today.  The recreation was what was updating them in the past and therefore the parent updating needs to be passed down to the children now.

Thanks for reporting this Brad.

#26


Order of rows changes on Networth/XP table

This is the table you get on hover for the graphs of networth and XP. Seems like they should be consistent.

I think this is due to the sorting logic used on the tooltip for the gold/xp/lh graphs.  Should probably disable for this graph.


Design for Linking Tables

Hilde de Weerdt asked about browser crashing when trying to link too many tables together. I don't know yet if this is really a problem of too many links or if it might be a problem of direction of links.
Future design for "extending" tables gives feedback by only allowing one extending in one direction.

Thanks for creating the issue. Regardless, we shouldn't be crashing. Any chance we can ask for a walk-through recreation of the problem?


Fix undefined get_sample_permalink

Even after https://github.com/Automattic/wordpress-activitypub/commit/12cb73bcd678f3d2bde3c92f46a7dcb500e6e4f7 we are seeing fatal errors when saving drafts.
This is also exposing an unintended problem with sending Update Activities for new drafts introduced in #780. I think we should only be sending those for previously-published posts?
Proposed changes:

Include wp-admin/includes/post.php when needed

Other information:

[ ] Have you written new tests for your changes, if applicable?

Testing instructions:

Go to '..'

This is also exposing an unintended problem with sending Update Activities for new drafts introduced in #780. I think we should only be sending those for previously-published posts?

Addressed in #833


Create authentication-over-http.php

simple authentication over http using php

huss daju looking for it

dai mailey abo pahila ko jastai folder banayera commit garchu haitw yeslai delete garchu


Installing microk8s enable openebs -> jivavolume-controller: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"

Summary
Installing OpenEBS Jiva with microk8s enable openebs seems to work but pods created with mounted JivaVolumes will hang forever in ContainerCreating state.
Investigating further shows that an old PodDisruptionBudget apiVersion is in use:
$ kubectl describe JivaVolumes -A | grep PodDisr
  Warning  Bootstrap  4m46s (x1750 over 4h49m)  jivavolume-controller  failed to bootstrap volume, due to error: failed to get the pod disruption budget details: pvc-e85d22c7-8a0d-4660-a47f-faf5eb4ec880-pdb: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"

Installing OpenEBS Jiva with their official Helm charts from here works: https://github.com/openebs/jiva-operator/blob/develop/docs/quickstart.md
What Should Happen Instead?
The OpenEBS Jiva volumes should be mounted successfully.
Reproduction Steps
$ microk8s version
MicroK8s v1.25.4 revision 4221

microk8s enable community
microk8s enable openebs
Install these resources:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  finalizers:
  - kubernetes.io/pvc-protection
  labels:
  name: jivaclaim
  namespace: jivatest
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
  storageClassName: openebs-jiva-csi-default
  volumeMode: Filesystem
---
apiVersion: v1
kind: Pod
metadata:
  name: jivatest
  namespace: jivatest
spec:
  volumes:
  - name: jiva
    persistentVolumeClaim:
      claimName: jiva-claim
  containers:
  - name: datacopy
    image: ubuntu
    command:
    - "sleep"
    - "360000000"
    volumeMounts:
    - mountPath: "/mnt/jiva"
      name: jiva

Note that the pod never successfully comes up.
Introspection Report
inspection-report-20221223_070816.tar.gz
Can you suggest a fix?
Update the chart from upstream.
Are you interested in contributing with a fix?
Not right now.

This relates to this previous bug in upstream: https://github.com/kyverno/kyverno/issues/2983

I believe a backport of https://github.com/canonical/microk8s-community-addons/pull/103 is needed to the 1.25 branch for this.

Thank you for reporting this @keskival we have backported the fix to 1.25 and it will be available with the next 1.25 patch release (make sure you microk8s repo update community to get the this fix).

Hi,
When will it be usable? Is there an estimation?
Thank you in advance


Scala native support

I know there's a scala-native port of utest out there (https://github.com/scala-native-ports/utest). Are there plans to support it from here? So that it can be published along the official JARs in particular.
cc @MasseGuillaume

@Duhemm will add testing framework support. (sbt test interface)
utest compiles and link: https://github.com/scala-native/scala-native/issues/435

FYI https://github.com/scalaprops/scalaprops/issues/30

If a PR appears that works 100%, I'll be happy to merge and maintain it.
If support is partial then I'd prefer including it to hold off until it's stable (at as in terms of being on master and being published)

Closing, as 0.4.8 supports native.


banner: focus state on x icon is messy

Bug
Expected behavior
Looks nice, also nice color contrast
Actual behavior
Has padding included, is faint,
https://pluralsight.slack.com/archives/C70HPSJPP/p1566252569076600
Steps to repro

Open banner
Focus close button

Related packages

banner

Triage: imo, this needs a quick design decision, then should likely be easy dev.


feat: sdk avatar attach component

Implemented AvatarAttach SDK component support.
Implemented based on current working functionality in unity-renderer explorer, the entity's transform position and rotation is overriden by the chosen anchor point transform values, but its scale is free to be manipulated.
In the future we may want to allow offsetting the position and rotation as well, I didn't want to dive into that potential divergence problem (with the existent functionality in unity-renderer) in this implementation.
https://github.com/decentraland/unity-explorer/assets/1031741/783a25a3-079a-428e-b362-f118b1a95dde

If I update with main latest changes and resolve those merge conflicts, now the editor crashes just by starting the world connected to a local scene (realm http://<IP_ADDRESS>:8000) 🤷♂

After merging main to this branch, this query makes the editor crash as soon as the world loads.
Stacktrace from Editor.log
=================================================================
	Managed Stacktrace:
=================================================================
	  at Arch.Core.Chunk:GetArray <0x00183>
	  at Arch.Core.Chunk:GetSpan <0x000ca>
	  at Arch.Core.Chunk:Get <0x000d2>
	  at Arch.Core.Archetype:Get <0x0012a>
	  at Arch.Core.World:Get <0x0022a>
	  at DCL.SDKComponents.AvatarAttach.Systems.AvatarAttachHandlerSystem:.ctor <0x010ba>
	  at DCL.SDKComponents.AvatarAttach.Systems.AvatarAttachHandlerSystem:InjectToWorld <0x00112>
	  at DCL.PluginSystem.World.AvatarAttachPlugin:InjectToWorld <0x000f2>
	  at DCL.PluginSystem.World.AvatarAttachPlugin:DCL.PluginSystem.World.IDCLWorldPlugin.InjectToWorld <0x00072>
	  at SceneRunner.ECSWorld.ECSWorldFactory:CreateWorld <0x00ac2>
	  at SceneRunner.ECSWorld.ECSWorldFactory:SceneRunner.ECSWorld.IECSWorldFactory.CreateWorld <0x00062>
	  at <CreateSceneAsync>d__12:MoveNext <0x00e91>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder`1:Start <0x00096>
	  at SceneRunner.SceneFactory:CreateSceneAsync <0x0032a>
	  at SceneRunner.SceneFactory:CreateSceneFromSceneDefinition <0x000b2>
	  at <FlowAsync>d__3:MoveNext <0x01b17>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`2:Run <0x00096>
	  at Cysharp.Threading.Tasks.AwaiterActions:Continuation <0x000a7>
	  at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetResult <0x0028c>
	  at WhenAllPromise`3:TryInvokeContinuationT1 <0x00432>
	  at <>c:<.ctor>b__5_0 <0x00112>
	  at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetResult <0x00228>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`2:SetResult <0x000ca>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder`1:SetResult <0x00178>
	  at <LoadAssetBundleManifestAsync>d__5:MoveNext <0x0186a>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`2:Run <0x00096>
	  at Cysharp.Threading.Tasks.AwaiterActions:Continuation <0x000a7>
	  at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetResult <0x0024a>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`2:SetResult <0x000b2>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder`1:SetResult <0x00187>
	  at <SendAsync>d__17`2:MoveNext <0x01b52>
	  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`2:Run <0x0009a>
	  at Cysharp.Threading.Tasks.AwaiterActions:Continuation <0x000a7>
	  at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetResult <0x00228>
	  at UnityWebRequestAsyncOperationConfiguredSource:MoveNext <0x005da>
	  at Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore <0x004ee>
	  at Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update <0x00072>
	  at Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run <0x003a2>
	  at System.Object:runtime_invoke_void__this__ <0x0017f>
=================================================================

On futher debugging I discovered that globalWorld.GetWorld()?.Get<AvatarBase>(globalWorld.GetMainPlayerEntity().Value); crashes the editor because Arch is not finding the AvatarBase component on the entity.
Most likely some commit in main changed the order in which the global plugins/systems are started and the staticContainer (scene-level) stuff is started...

https://github.com/decentraland/unity-explorer/pull/267/commits/92f66ee85757bb53fb0b59d0c7d2729befec8967 fixes the editor crash when Arch fails to find the queried component.
It's an ugly workaround but it's the only way I found to:

Have the main player AvatarBase component queried only once and shared between all of the AvatarAttachHandlerSystem instances (as there's one per scene...)
Avoid crashing the application by running a Get<>() with a component not found by Arch.

Otherwise something like the following could also be used but it's a lot more boilerplate:
if (mainPlayerAvatarBase == null)
            {
                globalWorld.GetWorld()
                          ?.Query(new QueryDescription().WithAll<AvatarBase, PlayerComponent>(),
                                (ref AvatarBase avatarBase) =>
                                {
                                    mainPlayerAvatarBase = avatarBase;
                                });
            }

NOTE: We can't make the AvatarBase global world query in the AvatarAttachHandlerSystem constructor, because at that point in time, the global world Avatar rendering systems haven't ran yet for the main player since they run some frames later.
Due to that, the global globalWorld.GetWorld().Get<AvatarBase>() fails to find the component on the main player entity and the whole application crashes with a memory access fatal error as mentioned here.


Is there any schema there in pinecone index. How to access the schema of the pinecone index

Is this your first time submitting a feature request?

[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing client functionality

Describe the feature
Is there any schema there in pinecone index. How to access the schema of the pinecone index
Describe alternatives you've considered
Is there any schema there in pinecone index. How to access the schema of the pinecone index
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

@pradeepdev-1995 Can you please highlight a bit more around the issue reported, Thanks!

Hi @pradeepdev-1995 , can you please provide the following information:

What motivated you to submit this feature request/what problem this would solve?
A clear and concise description of what you want to happen.
Any alternatives you've considered?


PromCon 2017

Done:

Update all dependencies
Upgrade to nanoc4
Clean up layouts (reduce duplication of layout code)
Prepare some code paths for multiple PromCon conferences
Add first stub of PromCon 2017

TODO:

[ ] Re-implement cache buster
[x] Replace dummy munich banner image (can't really browse flickr with the slow connection here)
[x] Update register page (form URL and admission price range)
[ ] Update sponsor page

[x] form URL
[ ] sponsorship table
[ ] ecosystem numbers
[ ] ToS

[ ] Update CfP page

[x] form URL
[ ] dates
[ ] topics

[x] Link back to 2016 page (from the footer?)

@juliusv @brian-brazil

There should be some link somewhere to the old 2016 conference site (for looking at talks etc.), otherwise you can only get to it if you already have an old link.

Is it intentional that speaker and talk pages now also have the banner on top? (the original intention for them having no banner is to not annoy people who just want to quickly look at a talk's details on their phone)

Great otherwise :)

I added a TODO for the link back to 2016. The change was kind of intentional, it looked so boring on my laptop screen. It's an issue on mobile though, I agree.

I changed the behavior back to the original behavior (no more banner on talk/speaker pages). This would be better solved with device-dependent css though.

All sounds agreeable to me :)

@grobie just since is needed for CfP and sponsorship acquisition, what's your rough time plan for this? I'm happy to finish updating the sponsors and CfP page contents for 2017 if you just leave them disabled from the nav for now.

I have a new cache buster ready and can publish today. I was waiting for
all the missing content.
On Mon, Mar 13, 2017, 12:05 Julius Volz<EMAIL_ADDRESS>wrote:

@grobie https://github.com/grobie just since is needed for CfP and
sponsorship acquisition, what's your rough time plan for this? I'm happy to
finish updating the sponsors and CfP page contents for 2017 if you just
leave them disabled from the nav for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/promcon/website/pull/6#issuecomment-286134866, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAANaF7tAWJVqoJv3CE6In5DW78iUP5Gks5rlVsfgaJpZM4MTUNT
.

Awesome. Yeah, I can update the content pages (CfP + sponsors) later this week.

Alright, I merged the current state and removed CfP and sponsors pages from the menu. Feel free to update and uncomment in lib/helpers/navigation.rb.

@juliusv For the ecosystem numbers you could take a look at Brian's keynote slides. I saw some numbers in there.


nixos/swraid: enable it by default

It is detected automatically now according to https://github.com/NixOS/nixpkgs/pull/343760#issuecomment-2366875162, so enable it by default
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] Tested, as applicable:

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

24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

The swraid module was pretty broken last time I checked. It shipped with a bunch of systemd services that try to call things in /usr and /opt etc. Has this since been fixed?

Yes still seems to pollute the host witch a bunch of systemd units that are downright broken.
This needs to be fixed IMO.
[arian@utm:/etc/systemd/system]$ systemctl cat mdmonitor.service
# /etc/systemd/system/mdmonitor.service
#  This file is part of mdadm.
#
#  mdadm is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.

[Unit]
Description=MD array monitor
DefaultDependencies=no
Documentation=man:mdadm(8)

[Service]
Environment=  MDADM_MONITOR_ARGS=--scan
EnvironmentFile=-/run/sysconfig/mdadm
ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
ExecStart=/nix/store/2hh5ld6cglkr59rx6h8w3z20qb0pbyvg-mdadm-4.3/sbin/mdadm --monitor $MDADM_MONITOR_ARGS

$ systemctl cat mdcheck_continue.service
# /etc/systemd/system/mdcheck_continue.service
#  This file is part of mdadm.
#
#  mdadm is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.

[Unit]
Description=MD array scrubbing - continuation
ConditionPathExistsGlob=/var/lib/mdcheck/MD_UUID_*
Documentation=man:mdadm(8)

[Service]
Type=oneshot
Environment="MDADM_CHECK_DURATION=6 hours"
ExecStart=/usr/share/mdadm/mdcheck --continue --duration ${MDADM_CHECK_DURATION}

@JohnRTitor Huh, I think I've made a mistake. I thought that this was only disabled by default for systemd stage 1, but in fact it's disabled across the board by default since 23.11 (scripted and systemd stage 1 and even stage 2). Given that it's already been disabled by default for two releases, I think we can just leave it as is and close this. Do you agree? I apologize for the confusion.
@arianvp Yes it seems there are a number of problems with our swraid module.

https://github.com/NixOS/nixpkgs/issues/332096 (fixed by https://github.com/NixOS/nixpkgs/pull/204713)
https://github.com/NixOS/nixpkgs/issues/210210
https://github.com/NixOS/nixpkgs/issues/196800

We probably need someone to go through and do some serious fixing up on the module, including the PR in that first bullet point. But that's unrelated to this PR.


How to convert a stack of images into a point cloud?

I am curious to know if you have any code for the conversion of a stack of images into 3d point clouds. To use your code I first need to convert images into point clouds.

The code you mentioned is included in S3_network_testing.py  Line 53-86.
Yecheng

@YechengLyu Thanks for your comments. Based on line 68 I think we need a trained model for this. But I want to use my own .PNG image data. Hence, do you have any code for converting PNGs to Point Cloud?

There is no way to convert "PNG" image data to point cloud without the 3D-to-2D mapping. Please see function GPGL2_seg in S1_network_dataset_preparation.py how to generate the 3D-to-2D mapping.

Hi monjoybme,
Is your problem solved? Thanks.

Hi, Thanks for your suggestion. It helped me a lot. I am closing this issue.


Fix time zone parser bug, github #1417

Fixes time zone bug reported in #1417.  Does not resolve the request to add time zones in ncdump -t printed output.
Also fixes #1864 (duplicate).

Thank you for the PR @Dave-Allured! Are similar changes also needed in ncdump/nctime0.c?

+1 thanks @Dave-Allured !

@Ward, thanks for the tip on how to make a proper PR.  @lesserwhirls, I will look into nctime0.c and report shortly.
Meanwhile, please merge this PR when you are satisfied.  I think that nctime0.c should be done separately, if something is needed.

I looked at ncdump/nctime0.c.  There is some related and slightly convoluted parser logic that is effectively ignored in all cases.  Therefore no fix is needed.  But let me know if you want more details.

Thanks so much, @Dave-Allured.I'm going to merge this into a local branch so that I can update the release notes to accompany this.  This will be merged in short order.


Vendor prometheus 2.12.0

All was green :) I hijacked merged as I needed this somewhere.

No problem Ganesh!


Question: sending mails from host

Hi,
May be a strange question, but I'll try it anyway:

before this docker image, I had postfix directly on my host and every mail (mailx or linux internal mail like hdd failures and cron-errors) got delivered to a mail-address.
Now postfix is within docker and mailx or system internal mails on host are not forwarded (I know that this is obvious)
Is there a way to accomplish this easily to get mails (at least the system internal) forwarded to docker-container? postfix on host wouldn't work, since it uses the same ports as within docker and I also want to avoid a large difficult setup on host-side.
Perhaps someone had a similar problem

Thanks for any ideas!
Cyber1000

I personally have created a mail account for cron (root) to send emails.  (within the dockers)
Then I use msmtp to handle the delivery for root emails.
So technically it's SMTP'ing into the docker with a real account to send emails.  a bit different than how cron/root emails normally is set up, but it's working great for me!

#162

Ah seems that's the thing I was searching for. Thanks a lot, I' ll test within the next few days, report here and then close this issue.
Thanks again for your fast answers!

works as expected and was very easy to setup. I use msmtp, my setup:
having 2 domains:

a "private" internal, not known outside, only used for system-messages, I wanted to deliver here
a real public domain, where docker listens to, I use for "real" mail
Both domains must have an entry in this docker postfix

Installed msmtp and msmtp-mta and created /etc/msmtprc:

account default
host [docker mailserver] # MX-Record-name, for example mail.domain.com
auto_from on
maildomain [private domain] # from address get's created for example as root@[private domain]
aliases /etc/aliases #useful to relay messages to another address
syslog LOG_MAIL

/etc/aliases simple relays everything to a single private domain:

default: root@[private domain]

You may have a more complex setup here.
private domain can have a own mailbox on docker postfix or relay to another address. I have relayed everything from private domain (with *) to a single address on my public domain. So every system message goes there.
Thanks again, was a very fast and effective solution!


fix: transform policy to contract offer

What this PR changes/adds
Map the new policy field to ContractOffer
Why it does that
avoid null pointer exceptions, because ContractOffer cannot be missing in a ContractRequest object.
Further notes

make all the test use the new fields defined (policy, counterPartyAddress) instead of the deprecated ones

Linked Issue(s)
Closes #3624
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (fa978df) 71.78% compared to head (3bc9150) 71.80%.

Files
Patch %
Lines

...nsform/JsonObjectToContractRequestTransformer.java
88.23%
1 Missing and 1 partial :warning:

...ontract/spi/types/negotiation/ContractRequest.java
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3626      +/-   ##
==========================================
+ Coverage   71.78%   71.80%   +0.01%
==========================================
  Files         909      909
  Lines       18134    18133       -1
  Branches     1033     1031       -2
==========================================
+ Hits        13018    13020       +2
+ Misses       4672     4667       -5
- Partials      444      446       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


hope this change makes the framework truly open sourced

everyone on the planet can use this framework for free
everyone in the universe can send pull requests freely without prior written permission

+1

+1

+1

+1

+1

+1

+1

Just now,changed MIT License.