Hive not working when trying to fetch data from work manager or foreground app

So I tried to get the saved data from hive but i am getting error
this happens when trying to use Hive.openbox
Unhandled Exception: HiveError: You need to initialize Hive or provide a path to store the box. #0      BackendManager.open package:hive/…/vm/backend_manager.dart:21 #1      HiveImpl._openBox package:hive/src/hive_impl.dart:101 #2      HiveImpl.openBox package:hive/src/hive_impl.dart:142 #3      MyTaskHandler.onEvent package:motivationapp/main.dart:286 #4      FlutterForegroundTask.setTaskHandler.<anonymous closure> package:flutter_foreground_task/flutter_foreground_task.dart:355 #5      FlutterForegroundTask.setTaskHandler.<anonymous closure> package:flutter_foreground_task/flutter_foreground_task.dart:346 #6      MethodChannel._handleAsMethodCall package:flutter/…/services/platform_channel.dart:404 #7      MethodChannel.setMethodCallHandler.<anonymous closure> package:flutter/…/services/platform_channel.dart:397 #8      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/bi<…>

how did you solve this


If any subcommand of pseudo source fails - exit with error

Pseudo source consists of multiple CL commands in a stream file.
When

Perhaps we should update  bob-recursive-example/QBNDSRC/SAMPLE.BNDDIR to have an example of this usage.

Perhaps we should update bob-recursive-example/QBNDSRC/SAMPLE.BNDDIR to have an example of this usage.

Perhaps we should update bob-recursive-example/QBNDSRC/SAMPLE.BNDDIR to have an example of this usage.

I agree we should do that, but not before we release this in a new version of Bob, because it will break everyone out there
What I will do is release it on a branch that we can merge at that time

@irfanshar please resolve the conflicts and merge?

Actually hold off, let;s do this with Marius


Efficiency of profile-serializer

Stop using "getIndexOrAdd", which is O(n).
Address other comments from after #11 was merged.

Fixed by #25


Bug / feature: response to image/file

User case:

user send image (or file)
bot no-response / no-handler / no-fallback

Posible solution:

add file input (download),
and support for file handlers

Duplicate of #169


Add a data providers CRUD page to basic crud app example

[ ] After adding a record, the Add Record button goes into a disabled state. To be fixed.

https://github.com/mui/mui-toolpad/assets/92228082/a29690a8-c5eb-4b28-ab4e-9547175ae92d

After adding a record, the Add Record button goes into a disabled state.
https://github.com/mui/mui-toolpad/assets/92228082/bc3c581c-9ea4-4866-96dc-c7b7393f99bf

Does https://github.com/mui/mui-toolpad/pull/3215 fix the issue in the video above?

Does https://github.com/mui/mui-toolpad/pull/3215 fix the issue in the video above?

No, I'm looking into it

@Janpot In v0.1.50, the experience is the same as in the video above. Should I still merge this one for now?

@prakhargupta1 I found the problem, you were not returning a new record from createRecord and the grid didn't give good feedback. I'm adding a few tweaks to the grid to improve this  behavior

@prakhargupta1 I found the problem, you were not returning a new record from createRecord and the grid didn't give good feedback. I'm adding a few tweaks to the grid to improve this behavior

Ah! Thanks, Looks perfect now.

@prakhargupta1 fixed


Auto Publish

Beaker version: v0.8 pre-release.2
It would be nice if there was a way to "auto-publish" file changes, similar to how dat normally functions. You could technically do this right now by creating the dat outside of Beaker Browser and using dat normally, but I would have to know what the dat protocol is first. I could see this feature manifest in several ways but I think the ultimate desire is this: I want to have a folder somewhere on my system, that Beaker rehosts as a normal dat, that I can then quickly point friends to. A folder for sharing screenshots might be a good example.

Do you mean like a way to toggle the workspace publishing flow on/off?
On Thu, Mar 15, 2018 at 23:48 Michael Mullins<EMAIL_ADDRESS>wrote:

Beaker version: v0.8 pre-release.2
It would be nice if there was a way to "auto-publish" file changes,
similar to how dat normally functions. You could technically do this right
now by creating the dat outside of Beaker Browser and using dat normally,
but I would have to know what the dat protocol is first. I could see this
feature manifest in several ways but I think the ultimate desire is this: I
want to have a folder somewhere on my system, that Beaker rehosts as a
normal dat, that I can then quickly point friends to. A folder for sharing
screenshots might be a good example.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/873, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHO8QVhMwILtqBMt-N7Y0F7XYCg2oEe-ks5te0QWgaJpZM4StPky
.

@taravancil maybe, the problem there is that if we toggled off the worspace workflow, you would still not be able to edit/remove/move files at will on the "Files" tab. What I'm really asking for is a way for people to use dat as it was originally inteded, as a p2p "dropbox". I think this brings up some questions of scope, but I think that as Beaker continues to improve, users will hear about Beaker first, and dat second (or maybe dat will just be an implementation detail).
Only a select few people can take advantage of Beaker's ability to quickly publish a website. However, everyone I know could take advantage of the ability to quickly publish a folder. The dat project does have their own "Dat" app that does this, but there's no tie in with Beaker. Beaker has the "share files" command, but it's more of a "one and done" share because it operates seperately from the user's file system and consiquentially loses all of its advantages.
This mostly concerns me because even if you had use the "Dat" app to publish, I would probably use Beaker to browse and download those files. Browsing those "dat folders" through Beaker allows me to take a sneek peek without permantantly downloading those files to my system. It would also allow me to grab the one specific file that I need. If I'm already using Beaker to browse those folders, why not also use beaker to publish them as well?
I would love to see something along the lines of a "Publish folder" or "create Public Folder" command that allows users to select a folder on their system and publish it, just like they could via the Dat app. This could manfest as a "tie-in" with the Dat app where clicking the link opens the Dat app or prompts you to download it. Though I think the Dat app is small enough that I'd also consider the possibility of Beaker having an equivilant built in. I'm sure the dat team would have some opinions here.
This could become confusing however with workspaces being "fake dats" and these published folders being "real dats" that both live on your system. You could also argue that both of these use cases could take advantage of "paused syncing" like we have with workspaces. This conversation could also open up the can of worms of what's the long term vision of Beaker's relationship with the native FS. Is Beaker going to build on top of the native fs or replace it? Where do we draw the line? etc.. etc..

If I'm understanding what you're asking for, we actually do have that!
Dropdown menu -> Create new -> From folder

Dropdown menu -> Create new -> From folder

Yeah I don't think it's too much of a stretch to have that do auto-publishing from the workspace, so the question is really just how we build the UI and flows around it.

Yeah if any of the flows were to do auto-publishing from the workspace, I think we'd want that to be a toggeable option for every workspace. Otherwise the user would need to keep track of which flows auto publish and which ones don't.

@taravancil @pfrazee Ahh! I missed, that. But right, it doesn't auto-publish automatically, so it's not quite there. This seems heavily related to https://github.com/beakerbrowser/beaker/issues/883

Yeah, we'll have to think about how to handle auto-publishing of workspaces. I'm starting to think it could be pretty useful.

I think "Create New From Folder" is a bit confusing. Maybe "Create New Public Folder" or "Create New Shared Folder"?

I think I'm mostly excited for the possibility of ~/Public folders actually being useful for once.

Eh, public and shared aren't accurate though. Public might make me think "The whole can see this" and shared would make me ask "Who is this shared with? The whole world?"

"Create New Dropbox" 🙃
You're right though, the naming is a bit difficult. You could say "Share Folder", but that doesn't imply that you're sharing a "live view" of that folder and we already have "Share Files". You could say "Shareable Folder", but ugh. It seems like this is a reacurring issue really. It would be nice if it could fit in the current naming scheme:

web app
web site
web ________

But yeah "web folder" is also a little ugh as well. It would be nice if we could just do:

web app
web site

Where "web app" is anything that has an index.html and a "web site" is anything that just has files, but Zeldman would probably burn me alive in my sleep for recommending that.

Sky Drive -> Google Drive ->  Web Drive 🤔?

Maybe something like autoshare or autopublish. Im not worried. We’ll figure it out.

On Mar 18, 2018, at 2:47 PM, Michael Mullins<EMAIL_ADDRESS>wrote:
Sky Drive -> Google Drive -> Web Drive 🤔?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@webdesserts Is this issue (OP) still valid? The mechanism has changed quite a bit.

Yeah, the current implementation pretty much resolves all my concerns. I'll close this unless y'all can think of any other reason to leave this open.
cc @pfrazee @taravancil


"C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: -1073741819.

Type: Feature Request
"C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: -1073741819.
VS Code version: Code 1.90.1 (611f9bfce64f25108829dd295f54a6894e87339d, 2024-06-11T21:01:24.262Z)
OS version: Windows_NT x64 10.0.22000
Modes:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

The exit code -1073741819 typically indicates a segmentation fault or access violation error in Windows. This can happen due to various reasons such as:
Dereferencing a null or invalid pointer.
Buffer overflow.
Stack overflow.
Accessing memory out of bounds.


feat: Bump aws-sdk-go to v1.44.334

Description of your changes
This bumps the AWS SDK to v1.44.334. It adds some new properties. However, all new resources are ignored in the respective generator-config.yaml.
Superseedes #1852
Required for #1886
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

@MisterMX thank you!!!!!!!


[ci] build optimization

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
build optimization
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@wuchunfu   Thank you for your feedback, can you introduce the idea of optimization?

@wuchunfu Thank you for your feedback, can you introduce the idea of optimization?

@xinzhuxiansheng At present, the effect does not seem to be too obvious. I will do this later when I need it. I will close this issue first.


Hack for Option_L to Option_L (+ Command+Space)

Added hack to force the Command key to the DOWN position after the combination has been invoked.

Thanks!


Fix setup.py encoding issue.

README.rst is encoded as UTF-8 and is readable as-is on a system which
has UTF-8 as the default encoding.  However, on ascii-default systems we
get a traceback so we need to treat the content explicitly as bytes and
then explicitly decode them.

thanks!

anytime!  :)


Repeated Messages from OrchestratorAgent

Description:
I am experiencing an issue with an OrchestratorAgent that inherits from Agent where it sends repeated messages to the user. This seems to occur when the agent processes responses from the OpenAI API, leading to the same output being sent multiple times.
Steps to Reproduce:

Initialize the OrchestratorAgent.
Send a message to create a process.
Observe the output in the logs.

Expected Behavior:
The agent should send a single, complete response to the user without repeating the same message multiple times.
Actual Behavior:
The agent sends the same message repeatedly, which appears to be a result of how streaming responses are handled.

Hey @AMGMNPLK! Thank you for reporting the issue. Could you send us your code, Python version, framework version, the model you’re using, and any additional information that might help us reproduce the issue?

Versions
Python.                         3.11.9
agency-swarm             0.4.2
openai                           1.56.2
Models: gpt-4o-mini and gpt-4o
Steps to reproduce
I you ask something that can take some lines, the terminal
Main code
class OrchestratorMessageSchema(BaseModel):
    """Schema for orchestrator messages."""
    message: str = Field(..., description="Content of the message.")

class OrchestratorAgent(Agent):
    """
    Core agent responsible for orchestrating the sales conversation flow using NEPQ methodology.
    Makes structured decisions about which agents to involve and when, while maintaining
    conversation context and prospect profiles.
    """

    def __init__(self):
        logger.info("Initializing OrchestratorAgent")
        self._profile_coordinator_lock = Lock()
        super().__init__(
            name="OrchestratorAgent",
            description="Orchestrates the sales process and coordinates between agents",
            instructions="./instructions.md",
            tools_folder="./tools",
            max_prompt_tokens=16000,
            max_completion_tokens=4000,
            temperature=0.7
        )
        logger.debug("OrchestratorAgent initialized successfully")
        self._locks = {}  # Initialize locks dictionary

        # Initialize lock for solution suggestions
        self._solutions_lock = Lock()

    def _get_profile_lock(self, profile_id: str) -> Lock:
        """Get a lock for a specific profile."""
        if profile_id not in self._locks:
            self._locks[profile_id] = Lock()
        return self._locks[profile_id]

    def _execute_tool(self, tool_name: str, args: Dict[str, Any]) -> Optional[Any]:
        """Execute a specific tool with locking for ProfileCoordinator."""
        logger.info(f"Executing tool: {tool_name}", extra={'emoji': '🔧'})

        try:
            tool_class = self.tools.get(tool_name)
            if not tool_class:
                raise ValueError(f"Tool {tool_name} not found")

            # Use lock for ProfileCoordinator
            if tool_name == "ProfileCoordinator":
                with self._profile_coordinator_lock:
                    tool_instance = tool_class(**args)
                    return tool_instance.run()
            else:
                tool_instance = tool_class(**args)
                return tool_instance.run()

        except Exception as e:
            logger.error(f"Tool execution failed: {str(e)}")
            raise

    def _log_tool_usage(self, tool_name: str, args: dict):
        """Enhanced tool usage logging"""
        logger.info(f"Tool: {tool_name}", extra={'emoji': '🔧'})
        logger.debug(f"Arguments:\n{json.dumps(args, indent=2)}", extra={'emoji': '📊'})

    def _log_agent_communication(self, from_agent: str, to_agent: str, message: str):
        """Enhanced inter-agent communication logging"""
        logger.info(f"{from_agent} -> {to_agent}", extra={'emoji': '💬'})
        logger.debug(f"Message content:\n{message}", extra={'emoji': '📊'})

    @retry(stop=stop_after_attempt(3), wait=wait_exponential(multiplier=1, min=4, max=10))
    def get_completion(self, message: str) -> str:
        """Get completion from the agent with retry logic."""
        try:
            response = super().get_completion(
                message,
                timeout=180  # Increase timeout to 3 minutes
            )
            return response
        except Exception as e:
            logger.error(f"Error in get_completion: {str(e)}")
            raise

    @retry(stop=stop_after_attempt(3), wait=wait_exponential(multiplier=1, min=4, max=10))
    def send_message(self, recipient: str, message: str, **kwargs):
        """Send message to another agent with retry logic."""
        try:
            return super().send_message(recipient, message, **kwargs)
        except Exception as e:
            logger.error(f"Error sending message to {recipient}: {str(e)}")
            raise

    def process_message(self, message: str) -> Dict:
        """Process incoming messages."""
        try:
            if "create a profile" in message.lower():
                name = self._extract_profile_data(message)

                # Validate just the name
                validation_result = ProfileValidator(name=name).run()

                if validation_result.get("valid"):
                    # Create profile with just the name
                    profile_agent = ProfileAgent()
                    return profile_agent.run("create", name)

                return {"error": validation_result.get("message", "Invalid name")}

        except Exception as e:
            return {"error": str(e)}

    def _extract_profile_data(self, message: str) -> str:
        """Extract just the name from the message."""
        try:
            # Look for patterns like "create profile for John" or "profile about John"
            name_match = re.search(r'(?:profile for|about)\s+([^\n.,]+)', message, re.IGNORECASE)
            if name_match:
                return name_match.group(1).strip()
            return "Unknown"
        except Exception as e:
            logger.error(f"Error extracting name: {str(e)}")
            return "Unknown"

    def suggest_potential_solutions(self, profile_id: str) -> Dict:
        """Suggest potential solutions based on the prospect's profile."""
        with self._get_profile_lock(profile_id):
            # Send request to InsightExtractorAgent
            response = self.send_message(
                "InsightExtractorAgent",
                {
                    "action": "suggest_solutions",
                    "profile_id": profile_id
                }
            )

            return response

    def delete_discarded_solutions(self, profile_id: str, discarded_solution_ids: List[str]) -> Dict:
        """Delete discarded solutions from the prospect's profile."""
        with self._get_profile_lock(profile_id):
            profile = self.get_profile(profile_id)
            if not profile:
                return {"error": "Profile not found"}

            confirmed_solutions = profile.get("confirmed_solutions", [])
            updated_confirmed = [sol for sol in confirmed_solutions if sol not in discarded_solution_ids]

            profile["confirmed_solutions"] = updated_confirmed

            self.update_profile(profile_id, profile)

            return {
                "status": "success",
                "updated_confirmed_solutions": profile["confirmed_solutions"]
            }

    def validate_profile(self, profile_data):
        """Validate the provided profile data."""
        try:
            # Ensure profile_data is not empty and contains required fields
            if not profile_data or 'basic_info' not in profile_data:
                raise ValueError("Profile data is missing required fields.")

            # Call the ProfileValidator function with the actual profile data
            validation_result = ProfileValidator(profile_data=profile_data).run()

            return validation_result
        except Exception as e:
            logger.error(f"Error validating profile: {str(e)}")
            return {"error": str(e)}

@AMGMNPLK Thank for providing the code. Your code appears to be non-standard, which might be causing the issue. Have you tried using our Cursor Rules with Cursor IDE (or just any advanced LLM) or following the examples in the Documentation?
It would be helpful to rule out custom error handling and retries, as they could be the root cause.

Yes, I'm working with .cursorrules. Knowing this I'll try to fix it asking it to keep attached to them.

It still happens, even creating a new OrchestratorAgent from zero. I tried to use other terminal/shell, with no success.


issue while creating Vue app via cli

$ unite configure --packageName=abc --profile=VueJavaScript --unitTestRunner="None" --e2eTestRunner="None" --documenter="None" --title="sample app"
For the above command i am getting following response.
`UniteJS CLI
Engine v1.7.11
command: configure
profile: VueJavaScript
packageName: abc
sourceLanguage: JavaScript
moduleType: CommonJs
bundler: Webpack
ERROR: unitTestFramework is not valid if unitTestRunner is None`
not generating the application

There is an issue with setting the unitTestRunner to none when the profile has it set, the only way round this at the moment is to configure all of the options manually and not use the profile.

Fixed in 1.7.12


adding missing ms.topic value

You're also missing two other required metadata values for this:

ms.author: alias of an individual or team who's responsible for this docset
ms.prod or ms.service: for internal BI reporting on specific docsets

I can add those to this PR if you can let me know which values to use. If you have any questions, just let me know!

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dotnet/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dotnet/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks @mairaw. You can use my alias for the author (nikolame). Not sure what value should go in ms.service or ms.prod, @mattwojo, do you know?

Yes, ms.prod: windows.  I've also set this globally for the content in the docfx file, so you can also just leave it out of the individual file's yml block and it will automatically be inserted (or not, you're choice). :)

*However, note that if you do enter a metadata value (like ms.prod) in the individual file's yml block, it WILL overwrite the metadata that's set in the global docfx file.... this is useful for things like author, where I can have Nikola set as the default author for all of the files, unless someone else authors a file and wants their name on it, in which case they can just set this metadata in the individual file. Hope that all makes sense. :)

ms.prod windows seems to require a ms.technology value as well. Are any of these good or would you like me to request a new one to be created? (The last column indicates the ms.technology values)

ms.technology: uwp toolkit
This is also something that is set globally by default in the docfx file.

is it posible to change that to windows toolkit?

uwp toolkit is also not a valid value. That's the entire list for windows above. So I'll ask them to create a ms.technology value of windows-toolkit, ok?

It should be fine to merge even though the value is not created yet. Once it's created, those entries will clear from our metadata health report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dotnet/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dotnet/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

windows-toolkit for the value sounds great. I'll go ahead and merge

Sounds good. Thanks @mairaw. If you haven't already discovered it, you can file a request for that ms.technology metadata field to be added here: https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR7kDJasi-tZBncPBmSOPZZ9UOUcwS1ZTVTlOWElNNUhESU04S0lBVVFUTS4u


Missing UI element for Recurring Schedules

The recurring schedule functionality exists, however, there's no UI elements to inject the necessary values into the database.  I was able to get recurring schedules working by manually injecting values into the openduty.schedule_rule table with values that I was able to glean from this page: https://github.com/schacon/django-schedule/blob/master/schedule/models.py.  It would be nice to be able to manage this via the UI to avoid having to inject values into the database directly.

Just as an aside for anyone looking to be able to do what I was trying to do.  If you're trying to create a recurring schedule that happens once every 4 weeks, you would setup an entry in the database under openduty.schedule_occurrence with the following fields:
name: Every 4 weeks
description: Every 4 weeks
frequency: WEEKLY
params: byweekday:0;interval:4

Which part of the configuration are you referring to? I remember it took me some time(i think i had to run some script which came with the library which provided basic recurring rules, like daily, weekly, etc.), but i now have some rules that work.

@sofixa Exactly my point, you had to run some script to make it work.  This should be an element within the UI, and it's not quite there yet.

I think I'm having the same issue, what are the values you added to the db? I'm trying to make it recurring so that each user is on call every other week.

The way I found the settings was to look through the requirements that actually provided the functionality (django-scheduler.)  Unfortunately, the documentation isn't great, but it's a start.  The way I found it was to search the django-scheduler project for how it set it's rules.  Turns out, it uses python-dateutil to define the recurrence settings.  You can find the documentation here:
http://labix.org/python-dateutil#head-470fa22b2db72000d7abe698a5783a46b0731b57
So, you can either set the rules in the /admin portal (using a super user) or you can make the changes in the database directly (it's in the schedule_rule table.)
Unfortunately, when you set the frequency, you have to be careful in how you do it.  The django-scheduler sets the recurrence based on the beginning day of the recurrence, not the entire set.  So if you set a single day, and set every other week, it'll show up in the calendar as the entire week but the actual recurrence will only WORK on the first day of the recurrence.
Just for posterity sake, here's a couple of examples (including yours):
The Name/Description can be anything.
EXAMPLE 1
Example for having someone to be on-call for 7 days every other week:
The recurrence rule would look like this:
Name: Every other week
Description: Every other week
Frequency: WEEKLY
Params: interval:2;byweekday:0,1,2,3,4,5,6;
In the calendar in OpenDuty, set the calendar entry only for a single day (at the beginning of the 7 day shift and set the recurrence to the "Every other week" rule.
The result will be a schedule that repeats every other week and consumes 7 days each time it recurs.
EXAMPLE 1
EXAMPLE 2
Example for weekdays every week.
The recurrence rule would look like this:
Name: Weekdays only
Description: Weekdays only
Frequency: DAILY
Params: byweekday:0,1,2,3,4;
In the calendar in OpenDuty, set the calendar entry only for a single day (on a Monday and set the recurrence to the "Weekdays only" rule.
The result will be a schedule that repeats on weekdays only, leaving the weekends free.
EXAMPLE 2


"Cerăt" , "Malaica" is listed in the drop-down menu

Description:
When user writes "Cerăt" , "Malaica" the location appears in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Cerăt"

Expected results
The location appears in the drop-down menu as "Sat Cerăt, DOLJ, (Cerăt)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Malaica"

Expected results
The location appears in the drop-down menu as "Sat Malaica, DOLJ, (Cerăt)"


Token Authentication Required for Exposing Service Endpoint to Mobile Apps

Hello Volkanceylan,
I would like to expose Services from Serenity App for Android / iOS App
I would like to implement token authentication instead of cookie based authentication
what code needs to be changed to achieve this?

AFAIK token authentication and cookie is same thing. Forms authentication cookie is also a token. I don't understand what people mean when talk about token authentication. Serenity services already usable from such mobile apps as is.

Thanks for your input


Come help us!

Hey, so I'm currently working on adding an escape function to the language at https://github.com/benjamingr/RexExp.escape
There is discussion tag for issues https://github.com/benjamingr/RexExp.escape/labels/discussion appreciated
As a library that does this - I'd appreciate your opinion and take on what characters need to be escaped (we're currently debating / but I can definitely see - around the corner).

Late reply, as I'm only just returning from a holiday - but I'd love to @benjamingr!

Will take a look too :)


Migrate from Request to Needle

Needle callback functions are similar to request, so it was straightforward.
An issue with needle is that it doesn't handle relative paths, and this requires design decisions from your side.
Setting this as draft till we figure out how to set base URLs for relative paths.

@NicolasMassart I did start work on this in here, if you feel like closing it and focusing on your PR that's fine by me.

@NicolasMassart I did start work on this in here, if you feel like closing it and focusing on your PR that's fine by me.

We could just merge both PRs I think. I did not remember you created a draft when I created mine.

We could just merge both PRs I think. I did not remember you created a draft when I created mine.

Closed in favor of working together on #43


Add image texture

Hello,
Is there any example or code to show how to somehow spawn entiti/marker with image texture in gazebo? For example spawn flat marker with specific image. It can be then used to implement https://github.com/gazebosim/gz-sensors/issues/427 this task.

Thanks for the issue, but this is a type of question that is best asked on https://robotics.stackexchange.com/. I encourage you to post your question there and if you find that there's a specific bug or feature request, come back and create a new issue here. In the mean time, I'll go ahead and close this.


'Image Pull Policy: Always' docs state that kubelet uses cached images but it doesn't

This is a Bug Report

Problem:
The kubernetes documentation for ImagePullPolicy: Always states:
"every time the kubelet launches a container, the kubelet queries the container image registry to resolve the name to an image digest. If the kubelet has a container image with that exact digest cached locally, the kubelet uses its cached image; otherwise, the kubelet pulls the image with the resolved digest, and uses that image to launch the container."
But it is not true that kubelet will used a cached image. Looking at the source code the Always policy pulls the image every time.
Proposed Solution:
Udpdate the documentation to reflect what the source code actually does.
Created PR 37927
Page to Update:
https://kubernetes.io/...

Created PR 37927

/language en

/sig node

I'm not sure that the fix you're advocating is strictly accurate either @adamkgray. I think the container runtime has a big say in what image layers do or don't get fetched.

every time the kubelet launches a container, the kubelet queries the container image registry to resolve the name to an image digest. If the kubelet has a container image with that exact digest cached locally, the kubelet uses its cached image; otherwise, the kubelet pulls the image with the resolved digest, and uses that image to launch the container.

This broadly matches what I've observed in actual Kubernetes clusters. I think it blurs the lines a bit between what the kubelet does and what the container runtime does.
https://www.ianlewis.org/en/container-runtimes-part-4-kubernetes-container-run explains the process and shared responsibilities in some more detail.

Docker Hub may treat validating that an image is fresh against its rate limit. On its own, reaching a rate limit at Docker Hub is not evidence that the docs are wrong.
I can see three options here:

the docs are right, Kubernetes is working as designed
the docs are right, Kubernetes has a bug (we'd want to know which kubelet version is affected)
the docs are wrong, Kubernetes does not behave as documented

My baseline assumption is that the docs are right: these have been reviewed by contributors already. However, if the facts change, then of course we as Kubernetes contributors (SIG Docs) are willing to change our opinion to match.
If the docs are accurate but readers are getting confused, we still want to know - maybe we can improve the docs so that readers work out the true situation and have enough context to understand any surprising details.

My baseline assumption is that the docs are right

Well you're not entirely wrong because they say:

If you would like to always force a pull, you can do one of the following:
Set the imagePullPolicy of the container to Always.

Which is both expected and actual behavior, and contradicts the section on Image pull policy.

So after some debugging with the Docker rate limit REST API it looks like images are indeed cached, even with Always.
(In which case I'm baffled as to what caused me to go over the quota as I did not download 100 different images)
In the end, it seems to be a terminology issue, since "forcing a pull" doesn't actually force anything but just calls crictl pull (in the same sense, kubelet simply delegates to crictl instead of the rather more involved procedure described in the docs). It might be better to make the wording a bit less ambiguous, but I do not insist on it. Not sure if @adamkgray agrees.

/triage accepted

Probably this page here: docs/concepts/containers/images.md

Gathering some of the above facts, since this is assigned to me so I have to make sense of this.  This comment is not a verdict on the question:
kubeadm

the above code links can be confusing when presented like this, but they are links to kubeadm code, and the discussion seems to be about kubelet.

The below comment is about kubeadm:

kubeadm appears to run crictl in the background. crictl pull in turn appears to indeed skip downloading the image if it is already present on a node. Nevertheless, when setting the policy to Always in a Pod, Deployment etc. an image is seemingly pulled every time a pod is restarted (evidence: my running out of free Docker Hub pulls). Is there an easy way to debug this?

The comment below is describing kubeadm behaviour and attributing it to kubelet. It looks like kubelet uses the cri-api to talk to the container-runtime, and does not exec crictl.  It is a bit challenging to find the source code for this.

kubelet simply delegates to crictl

The below seems to be about pod-restarts so is clearly about kubelet (or what is running behind kubelet), and ** seems to be the primary complaint.**:

an image is seemingly pulled every time a pod is restarted

However, the evidence presented is not conclusive:

evidence: my running out of free Docker Hub pulls

docs

section on Image pull policy

the docs linked for ImagePullPolicy for Always do not indicate it always pulls, but that it uses the cache:

... with that exact digest cached locally, the kubelet uses its cached image; otherwise, ...

but the doc for Required Image Pull does conflict with that:

If you would like to always force a pull, you can do one of the following:
* Set the imagePullPolicy of the container to Always.

So there is at least a conflict in the docs on this subject.
Regarding the question where  kubelet ... pulls the image every time

what container runtime is being used?
what kubernetes version?
@adamkgray can you please get some data from crictl queries showing something conclusive, or from some other source like a tcpdump or log lines that clearly indicate cri calls to pull for each pod-restart, and even. better would be log lines from the container runtime showing the actual pulls.

/help

/remove-help

needs-info: @adamkgray
needs doc change: @xmcqueen


fix rosbag_topic_filter.py args

In the documentation for using rosbag_topic_filter.py there are examples like this:
rosrun bag_processing rosbag_topic_filter.py in.bag -a accept1 -a accept2 -o out.bag

But the argument parsing was (unintentionally?) changed so you would need to do this instead:
rosrun bag_processing rosbag_topic_filter.py in.bag -a accept1 accept2 -o out.bag

Unfortunately, when you run the example from the documentation with the modified argument parsing, it doesn't complain but it does something different! (Instead of applying both accept1 and accept2, it overwrites accept1 with accept2.) As a result, I just spent a while tracking down why some messages were missing in a filtered bag.
I would like to revert to stay consistent with the documentation and avoid this bad subtle failure mode. I also think the previous syntax was a bit better in terms of clarity of what the arguments mean.
(Note the linter forced me to make some other insignificant changes because the previous version of the file was not 100% black formatted.)

Wow, glad you noticed this bug!


2 - vagrant username hardcoded in pipeline_init.conf

env APPUSER="vagrant"
Environment variable APPUSER is currently hardcoded to vagrant. Pipeline init fails when installing on a system different box image and should be updated with the username provided when installing the system.

Currently addressed in telemetry-staging-ansible/roles/environment/tasks/main.yml  but failing

name: Personalize username in Pipeline init configuration
replace:
# replaced with name, path supported in Ansible 2.3
#path: environment/pipeline_init.conf
name: environment/pipeline_init.conf
regexp: 'env APPUSER='
replace: 'env APPUSER="{{ ansible_ssh_user }}"'
become: false
tags: always

Addressed in f8b8c512f7fa358262fe268997e18f038c3dd2d3
Vagrant leaked in environment/pipeline_init.conf instead of expected  for APPUSER


Remove background location access or document in a video why it is needed

According to Google the app requires background location access, which is maybe not needed. Google states:

To help prevent unnecessary access to background location, the policy will allow access only if it’s critical to the app’s core functionality and provides clear user benefit. We found that many apps that requested background location don’t actually need it. Removing or changing it to foreground can help apps be battery-efficient and avoid poor app ratings when users don’t want to share their location.

If your app uses background location data, you must remove access to location in the background or get approval for the requests by March 29, 2021 so your app can stay on Google Play.

If your apps aren’t eligible to access location in the background or don’t meet requirements for accessing location in the background, please remove the permission from your manifest and in-app functionality.

If the feature is needed we need to explain to Google why and where it is needed and get approval by explaining it and making a video as follows.

Tips for getting approval
• If your app has multiple features that use background location, choose the one that provides the most user benefit. Describe in detail why background (and not foreground) location is needed and how it is used. Learn more•You must include a short video that shows how users will encounter your location-based feature and enable it in-app. If your video doesn’t show this or we can’t access the link, your request won’t be approved. We recommend that you upload it to YouTube or Google Drive. | •If your app has multiple features that use background location, choose the one that provides the most user benefit. Describe in detail why background (and not foreground) location is needed and how it is used. Learn more | • | If your app has multiple features that use background location, choose the one that provides the most user benefit. Describe in detail why background (and not foreground) location is needed and how it is used. Learn more | •You must include a short video that shows how users will encounter your location-based feature and enable it in-app. If your video doesn’t show this or we can’t access the link, your request won’t be approved. We recommend that you upload it to YouTube or Google Drive. | • | You must include a short video that shows how users will encounter your location-based feature and enable it in-app. If your video doesn’t show this or we can’t access the link, your request won’t be approved. We recommend that you upload it to YouTube or Google Drive.
•If your app has multiple features that use background location, choose the one that provides the most user benefit. Describe in detail why background (and not foreground) location is needed and how it is used. Learn more | • | If your app has multiple features that use background location, choose the one that provides the most user benefit. Describe in detail why background (and not foreground) location is needed and how it is used. Learn more
• | If your app has multiple features that use background location, choose the one that provides the most user benefit. Describe in detail why background (and not foreground) location is needed and how it is used. Learn more
•You must include a short video that shows how users will encounter your location-based feature and enable it in-app. If your video doesn’t show this or we can’t access the link, your request won’t be approved. We recommend that you upload it to YouTube or Google Drive. | • | You must include a short video that shows how users will encounter your location-based feature and enable it in-app. If your video doesn’t show this or we can’t access the link, your request won’t be approved. We recommend that you upload it to YouTube or Google Drive.
• | You must include a short video that shows how users will encounter your location-based feature and enable it in-app. If your video doesn’t show this or we can’t access the link, your request won’t be approved. We recommend that you upload it to YouTube or Google Drive.

We don't really need background location access. We can remove and use the new permission in manifest.

We don't really need background location access. We can remove and use the new permission in manifest.

Hi @mariobehling, I would like to work on this issue. Kindly assign it to me.

Hi @mariobehling, I would like to work on this issue. Kindly assign it to me.

Go ahead

Since there was no recent activity on this issue, Can I work on this issue?

Since there was no recent activity on this issue, Can I work on this issue?

Sure go ahead

We don't really need background location access. We can remove and use the new permission in manifest.

What new permission, do you require?


Update README.MD

Added steps as discussed in #1

I've updated the README.MD from a separate branch by copying and updating your code.


Wrong Steps I think

The compatibility matrix specifies that BC14 Spring 2019 can be upgraded to BC18.0 (2021 release wave 1).
In task 7 it specifies that the BC14 Administration Shell should be used to publish the Microsoft extensions "Microsoft_System Application.app", "Microsoft_Base Application.app" and "Microsoft_Application.app", the latter introduced in version 15.3.
When I try to publish the 18.0 extensions from the 14.0 shell it fails as normal. If I publish from the Shell of 18.0 it gives an error in the command "Start-NAVDataUpgrade -ServerInstance  -Tenant  -FunctionExecutionMode Serial -SkipAppVersionCheck" of task 10 because the table of "Permission Set" is missing the 4 fields of "System Created At", "System created By", "System modified by" and "System modifiedAt".

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

ID: 05a03500-5e14-08ad-8fe0-f1bd752312b9
Version Independent ID: 543729ab-ec13-3e2a-dc1d-73a9567b9802
Content: Upgrading Unmodified C/AL Application to Version 18 - Business Central
Content Source: dev-itpro/upgrade/upgrade-unmodified-application-v14-v18.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello, Thanks for the feedback!
There's an error in Task 7 of the article. You should use the version 18.0 Admin shell.
I'm not sure what's causing the error you're getting on Start-NAVDataUpgrade. I just tried this scenario, following the steps in the article, and it succeeded. Can you tell me what version of 14 and 18 you're working with?

Hello!,
Thank you for answering so quickly! I give you the details:

Upgrade Dynamics Nav 2016 CU14 to BC 14 CU03
Upgrade BC 14 CU03 to BC18.0
Task 5.3 Set-NavServerConfiguration -ServerInstance  -KeyName "UsePermissionSetsFromExtensions" -KeyValue false
Attached event viewer error.

If in that step you use the "UsePermissionSetsFromExtensions" = true everything works correctly.
`ProcessId: 11016
Tag: 00001WB
ThreadId: 33
CounterInformation:
CustomParameters: {
}
GatewayCorrelationId: ErrorInformaciónClásico7012330x8000000000000030442895ApplicationCORE-SSD.ekamat.esServer instance: BC180_0
Category: Sql
ClientSessionId: e46511e8-052e-4e37-a31a-aaeac0a0c06e
ClientActivityId: 332288f8-0eab-40b8-9300-92b6ecbebe86
ServerSessionUniqueId: 4e90c3a3-dfae-4a00-9040-faf5c4f23137
ServerActivityId: 4bafde4e-0db9-4ff8-96e5-5496d5dacea5
EventTime: 06/28/2021 09:38:03
Message (NavSqlException): This message had personal data removed. The original may still be in transient telemetry. Find it using the transientTelemetryId.
Exception happened during execution of a threshold action.
Exception type: NavSqlException,
Threshold tag: 000007L,
Execution time over threshold: False,
Execution time: 91 ms,
Threshold: 750 ms
Message: Long running SQL statement
Task ID: 3
Connection ID: 4
SQL server session ID: 63
Client Type: Background
Database Server Name: CORE-SSD\SQL2017
Database Name: BC(18-0)
Current Company Name:
Statement: SELECT "2000000004"."timestamp","2000000004"."Role ID","2000000004"."Name","2000000004"."Hash","2000000004"."$systemId","2000000004"."$systemCreatedAt","2000000004"."$systemCreatedBy","2000000004"."$systemModifiedAt","2000000004"."$systemModifiedBy" FROM "SQLDATABASE".dbo."Permission Set" "2000000004"  WITH(READUNCOMMITTED)  WHERE ("2000000004"."Role ID"=@0)
AppObjectType: CodeUnit
AppObjectId: 104030
AL CallStack: "Upgrade Plan Permissions"(CodeUnit 104030).TryInsertPermissionSet line 10 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).AddBackupRestorePermissionSet line 5 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).SetBackupRestorePermissions line 8 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).OnUpgradePerDatabase line 2 - Base Application by Microsoft
"Upgrade Triggers"(CodeUnit<PHONE_NUMBER>).OnUpgradePerDatabase line 2
ParentException: NavSqlException
Message not shown because the NavBaseException(string, Exception, bool) constructor was used.
ExceptionStackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ThrowNavSqlException(SqlExceptionAdapter exceptionAdapter, Boolean transactionNoLongerValid, String commandText, Boolean isLastExceptionARollbackCause, Boolean logExceptions, NavCancellationToken cancellationToken)
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.MapException(SqlExceptionAdapter exceptionAdapter, String commandText, Boolean isRollbackAction, Nullable1 timeout, NavCancellationToken cancellationToken)    at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.<>c__DisplayClass130_01.<ExecuteFunction>b__0()
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteFunctionWithTrace[T](EventTask task, Func1 function, String commandText, SqlCommand sqlCommand, Boolean isAdoCommand, NavCancellationToken cancellationToken) InnerException: RootException: SqlException El nombre de columna '$systemCreatedAt' no es válido. El nombre de columna '$systemCreatedBy' no es válido. El nombre de columna '$systemModifiedAt' no es válido. El nombre de columna '$systemModifiedBy' no es válido. No se puede preparar la instrucción o instrucciones. ExceptionStackTrace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)    at Microsoft.Dynamics.Nav.Runtime.NavSqlCommand.<ExecuteReader>b__63_0()    at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.<>c__DisplayClass130_01.<ExecuteFunction>b__0()
CallerStackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.FailedSqlOperationExceptionFilter(Exception e, EventTask task, String commandText, Int64 startMilliSeconds, Boolean& recursionDetected)
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteFunctionWithTrace[T](EventTask task, Func1 function, String commandText, SqlCommand sqlCommand, Boolean isAdoCommand, NavCancellationToken cancellationToken)    at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ThrowNavSqlException(SqlExceptionAdapter exceptionAdapter, Boolean transactionNoLongerValid, String commandText, Boolean isLastExceptionARollbackCause, Boolean logExceptions, NavCancellationToken cancellationToken)    at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.MapException(SqlExceptionAdapter exceptionAdapter, String commandText, Boolean isRollbackAction, Nullable1 timeout, NavCancellationToken cancellationToken)
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.<>c__DisplayClass130_01.<ExecuteFunction>b__0()    at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteFunctionWithTrace[T](EventTask task, Func1 function, String commandText, SqlCommand sqlCommand, Boolean isAdoCommand, NavCancellationToken cancellationToken)
at Microsoft.Dynamics.Nav.Runtime.NavSqlCommand.ExecuteReader(NavCancellationToken cancellationToken)
at Microsoft.Dynamics.Nav.Runtime.NavSqlIsamQueryCommand.ExecuteFindEqualCommand(FilterExpression filter, NavDatabase database, Int32 companyIndex, Nullable1 companyId)    at Microsoft.Dynamics.Nav.Runtime.NavSqlIsamQueryCommand.<>c__DisplayClass40_0.<InternalFindEqual>b__1(NavSqlCommand command)    at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteCommandAndCacheOnSuccess[T](NavSqlCommandCacheKey commandKey, Func1 newCommandFunc, Func2 executeFunc)    at Microsoft.Dynamics.Nav.Runtime.NavSqlIsamQueryCommand.InternalFindEqual(NavDatabase database, DataProviderRequest request)    at Microsoft.Dynamics.Nav.Runtime.SqlTableDataProvider.TryGetOnUniqueId(DataProviderRequest request, ReadOnlyRecordBuffer& recordBuffer)    at Microsoft.Dynamics.Nav.Runtime.DataAccess.InternalTryGetByPrimaryKey(PrimaryKeyCacheRequest request, MutableRecordBuffer& recordBuffer)    at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.InternalFindRecordWithoutCheckingValues(DataError errorLevel, PrimaryKeyCacheRequest request, Boolean useRecord, Boolean calcAutoCalcFields)    at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.GetRecord(DataError errorLevel, NavValue[] values)    at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALGet(DataError errorLevel, NavValue[] values)    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.TryInsertPermissionSet_Scope__802109793.OnRun()    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.TryInsertPermissionSet(NavCode permissionSetID, NavText permissionSetName)    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.AddBackupRestorePermissionSet_Scope_1286930995.OnRun()    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.AddBackupRestorePermissionSet()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.SetBackupRestorePermissions_Scope_2121045765.OnRun()    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.SetBackupRestorePermissions()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.OnUpgradePerDatabase_Scope.OnRun()    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.OnUpgradePerDatabase()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104030.OnInvoke(Int32 memberId, Object[] args)    at Microsoft.Dynamics.Nav.EventSubscription.NavEventScope.CallEventSubscriberInternal(NavEventSubscription subscriber, NavApplicationObjectBase subscriberInstance, Object[] parameters)    at Microsoft.Dynamics.Nav.EventSubscription.NavEventScope.CallEventSubscriber(NavApplicationObjectBase callingApplicationObject, NavEventSubscription subscriber, NavApplicationObjectBase subscriberInstance, Object[] parameters)    at Microsoft.Dynamics.Nav.EventSubscription.NavEventScope.ProcessCallToTypeAndManualSubscriptions(NavApplicationObjectBase callerApplicationObject, NavEventSubscription[] subscriptions, PrepareParametersCallBack prepareParameters)    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.RunEvent()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit2000000008.OnUpgradePerDatabase()    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit2000000008.OnInvoke(Int32 memberId, Object[] args)    at Microsoft.Dynamics.Nav.Runtime.NavSystemCodeunit.Invoke(Int32 methodId, Object[] arguments)    at Microsoft.Dynamics.Nav.Runtime.SessionTransactionManager.TransactionScope(Action code)    at Microsoft.Dynamics.Nav.Runtime.NavSystemCodeunitUpgradeTriggers.InvokeUpgradeEvent(NavUpgradeEvent upgradeEvent)    at Microsoft.Dynamics.Nav.Runtime.RetryManager.<>c__DisplayClass11_0.<PerformOperationWithRetries>b__0()    at Microsoft.Dynamics.Nav.Runtime.RetryManager.PerformOperationWithRetries[T](Func1 operation, Action resetAction, String operationName)
at Microsoft.Dynamics.Nav.Runtime.Apps.NavAppUpgradeManager.RaisePerDatabaseUpgradeEvent(NavUpgradeEvent upgradeEvent)
at Microsoft.Dynamics.Nav.Runtime.Apps.NavAppUpgradeManager.SetupSessionAndExecuteAction(NavSession upgradeSession, Action1 sessionAction, Boolean setupDebugging)    at Microsoft.Dynamics.Nav.Runtime.Apps.NavAppOperationProcessor1.RunActionInSession(Boolean runInNewSystemSession, Action1 sessionAction, LanguageSetting language, Boolean enableDebugging)    at Microsoft.Dynamics.Nav.Runtime.Apps.NavAppUpgradeManager.RunNavAppUpgradeEvent(String companyName, Boolean runInSystemSession, NavUpgradeEvent upgradeEvent)    at Microsoft.Dynamics.Nav.Runtime.ExecuteNavEventActivity.NavExecute(NativeActivityContext context, NavSession session)    at Microsoft.Dynamics.Nav.Runtime.NavWorkflowTenantSessionManager.Microsoft.Dynamics.Nav.Runtime.INavWorkflowTenantSessionManager.RunActionInSystemSession(Action1 action)
at Microsoft.Dynamics.Nav.Runtime.Workflow.NavBaseActivity.Execute(NativeActivityContext context)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
at System.Activities.Runtime.ActivityExecutor.TryExecuteNonEmptyWorkItem(WorkItem workItem)
at System.Activities.Runtime.ActivityExecutor.OnExecuteWorkItem(WorkItem workItem)
at System.Activities.Runtime.Scheduler.Callbacks.ExecuteWorkItem(WorkItem workItem)
at System.Activities.Runtime.Scheduler.OnScheduledWork(Object state)
at System.Runtime.Fx.SendOrPostThunk.UnhandledExceptionFrame(Object state)
at System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)`

Hello, I spoke with the dev team, and this is a bug, which they've fixed. The fix is either in 18.2, which is out now, https://support.microsoft.com/en-us/topic/update-18-2-for-microsoft-dynamics-365-business-central-2021-release-wave-1-application-build-18-2-26490-platform-build-18-0-26464-358d71d0-29b2-4b82-aa62-f0601161ceff
or the upcoming 18.3. I'm looking for verification.

Thanks!
Could you (since we are) add a note or something in the documentation of the technical upgrade steps so that another person who performs these steps does not lose their minds? (I lost almost 10 hours ...)

Hello, we've added an issue about this to our Known Issues article. The update has not yet been published, but it will be soon. Thanks for the feedback!


add missing 'SwifterSwift/UIKit' to README.md

add missing 'SwifterSwift/UIKit'

Checklist

[ ] I checked the Contributing Guidelines before creating this request.
[ ] New extensions are written in Swift 5.0.
[ ] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+, or use @available if not.
[ ] I have added tests for new extensions, and they passed.
[ ] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[ ] All extensions are declared as public.
[ ] I have added a changelog entry describing my changes.

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
iOS: Executed 578 tests, with 0 failures (0 unexpected) in 10.348 (12.123) seconds

:book:
tvOS: Executed 553 tests, with 0 failures (0 unexpected) in 2.109 (2.631) seconds

:book:
macOS: Executed 418 tests, with 0 failures (0 unexpected) in 0.970 (1.277) seconds

  Generated by :no_entry_sign: Danger

Thank you for contributing to SwifterSwift! I've invited you to join the SwifterSwift GitHub organization - no pressure to accept! If you'd like more information on what that means, check out our contributing guidelines. Feel free to reach out if you have any questions! 😃


Unhandled Exception: Bad state: Stream has been disposed.

Steps to reproduce

Get latest version of wonderous app (This is the log when this issue was created - commit 8a29d6709668980340b1b59c3d3588f123edd4d8 (HEAD -> main, origin/main, origin/HEAD)

Merge: a38f564 6523ec3
Author: Shawn<EMAIL_ADDRESS>Date:   Mon Sep 11 10:01:33 2023 -0600
Merge pull request #115 from jonahwilliams/combine_advanced_blends

Reduce SaveLayer count of advanced blends.)

flutter run (target: iPhone 14 Pro / iOS 16.6.1)
Navigate to the Great Wall (Navigate to: /wonder/greatWall?t=0)
Go to timeline
Scroll to bottom
Add the image to your collection
View collection
Check error log:

2023-09-17 16:58:55.186230-0300 Runner[549:35925] [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Stream has been disposed.
An ImageStream is considered disposed once at least one listener has been added and subsequently all listeners have been removed and no handles are outstanding from the keepAlive method.
To resolve this error, maintain at least one listener on the stream, or create an ImageStreamCompleterHandle from the keepAlive method, or create a new stream for the image.
#0      ImageStreamCompleter._checkDisposed (package:flutter/src/painting/image_stream.dart:667:7)
#1      ImageStreamCompleter.removeListener (package:flutter/src/painting/image_stream.dart:634:5)
#2      MultiFrameImageStreamCompleter.removeListener (package:flutter/src/painting/image_stream.dart:1079:11)
#3      RetryImage.loadImage.<anonymous closure> (package:wonders/logic/common/retry_image.dart:82:23)
#4      ImageStreamCompleter.removeListener (package:flutter/src/painting/image_stream.dart:644:17)
#5      _PendingImage.removeListener (package:flutter/src/painting/image_cache.dart:664:15)
#6      ImageCache.evict (package:flutter/src/painting/image_cache.dart:257:20)
#7      ResizeImage._configureErrorListener.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:1354:45)
#8      _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#9      _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

Expected results
None exceptions should be returned
Actual results
The unhandled exception described above is logged after adding the great wall timeline element to your collection of objects
Screenshots or Video

https://drive.google.com/file/d/10i46YXNsua2Tqmz-UXPMqooJs7Ib6tpw/view?usp=sharing
Flutter Doctor output
[✓] Flutter (Channel master, 3.14.0-14.0.pre.332, on macOS 13.5 22G74
darwin-arm64, locale en-US)
• Flutter version 3.14.0-14.0.pre.332 on channel master at
/Users/diegogawenda/fvm/versions/master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 1b18b1327a (9 hours ago), 2023-09-17 04:07:02 -0400
• Engine revision 57a4ff3c7f
• Dart version 3.2.0 (build 3.2.0-171.0.dev)
• DevTools version 2.28.0-dev.8
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/diegogawenda/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/diegogawenda/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/diegogawenda/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.80.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.72.0
[✓] Connected device (3 available)
• Somnio’s iPhone (mobile) • 00008120-001168D83C87C01E • ios            •
iOS 16.6.1 20G81
• macOS (desktop)          • macos                     • darwin-arm64   •
macOS 13.5 22G74 darwin-arm64
• Chrome (web)             • chrome                    • web-javascript •
Google Chrome 117.0.5938.88
[✓] Network resources
• All expected network resources are available.

Validated in Wonderous that with latest commit this doesn't happen anymore:
commit https://github.com/gskinnerTeam/flutter-wonderous-app/commit/8ac60d46a8bed6c54bcf2df44cccce90a182882f (HEAD -> main, origin/main, origin/HEAD)
Author: Shawn<EMAIL_ADDRESS>Date: Thu Oct 5 09:13:02 2023 -0600
Re-ran native_splash generator

Validated in Wonderous that with latest commit this doesn't happen anymore:
commit https://github.com/gskinnerTeam/flutter-wonderous-app/commit/8ac60d46a8bed6c54bcf2df44cccce90a182882f (HEAD -> main, origin/main, origin/HEAD)
Author: Shawn<EMAIL_ADDRESS>Date: Thu Oct 5 09:13:02 2023 -0600
Re-ran native_splash generator


DDC "strong mode" failures need better messages

DDC currently throws on is and as checks where the result would differ from non-strong Dart - primarily to avoid silently different behavior.
The error message is confusing though and doesn't indicate the intent:
Strong mode is-check failure: () -> int does not soundly subtype G(() -> String)

going to close this as obsolete, since the feature is going away soon!


Add support for specifying the MAC address to use in the dog config file

For some workloads it is useful to be able to hard-code the MAC address to use - this is possible using --mac-address on docker run.

This has now been implemented by @marqvart's change in MR #17.


feat: add labctl to tools

Description

Adds https://github.com/iximiuz/labctl to tools
Adds tests covering the currently provided binaries:
labctl_darwin_amd64.tar.gz
labctl_darwin_arm64.tar.gz
labctl_linux_amd64.tar.gz
Updates tools table in readme pushing number from 153 to 155
adds test.out to .gitignore to aid provision of testing detail in similar PRs (make e2e >> test.out)

Motivation and Context

[x] I have raised an issue to propose this change, which has been given a label of design/approved by a maintainer (required)
Closes #1120

How Has This Been Tested?
Functional
➜  arkade git:(addLabctl) ✗ ./arkade get labctl
Downloading: labctl
2024/09/29 08:09:51 Looking up version for labctl
2024/09/29 08:09:51 Found: v0.1.8
Downloading: https://github.com/iximiuz/labctl/releases/download/v0.1.8/labctl_darwin_arm64.tar.gz
3.75 MiB / 3.75 MiB [------------------------------------------------------------------------] 100.00%
/var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-3122922133/labctl_darwin_arm64.tar.gz written.
2024/09/29 08:09:52 Extracted: /var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-3122922133/labctl
2024/09/29 08:09:52 Copying /var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-3122922133/labctl to /Users/rgee0/.arkade/bin/labctl

Wrote: /Users/rgee0/.arkade/bin/labctl (10.04MB)

# Add arkade binary directory to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/Users/rgee0/.arkade/bin/labctl

# Or install with:
sudo mv /Users/rgee0/.arkade/bin/labctl /usr/local/bin/

👏 Say thanks for arkade and sponsor Alex via GitHub: https://github.com/sponsors/alexellis

make e2e
➜  arkade git:(addLabctl) make e2e
CGO_ENABLED=0 go test github.com/alexellis/arkade/pkg/get -cover --tags e2e -v
...
PASS
coverage: 61.4% of statements
ok  	github.com/alexellis/arkade/pkg/get	11.499s	coverage: 61.4% of statements

test-tool
404 for arm64/linux and windows is to be expected as only three binaries are provided by the project
➜  arkade git:(addLabctl) ✗ ./hack/test-tool.sh labctl
+ ./arkade get labctl --arch arm64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/labctl
/Users/rgee0/.arkade/bin/labctl: Mach-O 64-bit executable arm64
+ rm /Users/rgee0/.arkade/bin/labctl
+ echo

+ ./arkade get labctl --arch x86_64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/labctl
/Users/rgee0/.arkade/bin/labctl: Mach-O 64-bit executable x86_64
+ rm /Users/rgee0/.arkade/bin/labctl
+ echo

+ ./arkade get labctl --arch x86_64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/labctl
/Users/rgee0/.arkade/bin/labctl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=N-wCX2ZCOQodVI3nE40b/fGBBClGPVWk-HCFn6UjQ/ClrZeruPWUht1VtkinxR/I-KQk-e8MG2W4qu1Dnf8, stripped
+ rm /Users/rgee0/.arkade/bin/labctl
+ echo

+ ./arkade get labctl --arch aarch64 --os linux --quiet

The requested version of labctl is not available or configured in arkade for linux/aarch64

* Check if a binary is available from the project for your Operating System
* View the labctl releases page: https://github.com/iximiuz/labctl/releases
* Feel free to raise an issue at https://github.com/alexellis/arkade/issues for help

Error: server returned status: 404

+ ./arkade get labctl --arch x86_64 --os mingw --quiet

The requested version of labctl is not available or configured in arkade for mingw/x86_64

* Check if a binary is available from the project for your Operating System
* View the labctl releases page: https://github.com/iximiuz/labctl/releases
* Feel free to raise an issue at https://github.com/alexellis/arkade/issues for help

Error: server returned status: 404

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Documentation

[x] I have updated the list of tools in README.md if (required) with ./arkade get --format markdown
[ ] I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s

[ ] I have tested this on arm, or have added code to prevent deployment

Thank you for adding this Richard

Thanks a lot for making it happen, @rgee0! 🙌


Could not find children for parent

What exactly does this mean!
[PLEXDRIVE] [2017-05-16 22:47] WARNING: Could not find children for parent 0B1k3_iS8GXVBZXZGaTJ2SjNQaDA in cache
[PLEXDRIVE] [2017-05-16 22:47] WARNING: Could not find children for parent 0BxYemFFjZ8ptOHBlOTNvYWw0Zms in cache
[PLEXDRIVE] [2017-05-16 22:47] WARNING: Could not find children for parent 0BxYemFFjZ8ptNHgtMl82ckNsZGc in cache
^@[PLEXDRIVE] [2017-05-16 22:49] WARNING: Could not find children for parent 0BxYemFFjZ8ptamtzSnozWUc4NUU in cache
[PLEXDRIVE] [2017-05-16 22:49] WARNING: Could not find children for parent 0BxYemFFjZ8ptbnlCREZLS0doZzQ in cache
^@[PLEXDRIVE] [2017-05-16 22:50] WARNING: Could not find children for parent 0BxYemFFjZ8ptVERoOUsyM1hKcFU in cache
^@[PLEXDRIVE] [2017-05-16 22:51] WARNING: Could not find children for parent 0BxYemFFjZ8ptZmlvaDdCc1lqbTQ in cache
^@[PLEXDRIVE] [2017-05-16 22:52] WARNING: Could not find children for parent 0BxYemFFjZ8ptRFg0WjVUNGpwalk in cache
[PLEXDRIVE] [2017-05-16 22:52] WARNING: Could not find children for parent 0BxYemFFjZ8pteGtzaWg3SWZSSlU in cache
[PLEXDRIVE] [2017-05-16 22:52] WARNING: Could not find children for parent 0BxYemFFjZ8ptZ3ZNY0pTcGk1cEE in cache
[PLEXDRIVE] [2017-05-16 22:52] WARNING: Could not find children for parent 0BxYemFFjZ8ptV3Z4SXo3aUxtWUU in cache

zen, I had this, its when files are moved / duplicates.

This could also happen if a folder doesn't have child elements (empty directories).
I will decrease the log level for this warning because it should not be a "warning".


⚠ Syncthing-KA-TM has degraded performance

In 1436c33, Syncthing-KA-TM ($URL_SYNCTHING_MERZ_NIMBUS_TM) experienced degraded performance:

HTTP code: 200
Response time: 20476 ms

Resolved: Syncthing-KA-TM performance has improved in 4c35376 after 7 minutes.


Error loading JSON with numbers in the fields

Im trying to load a JSON (test.json) file with dates and numbers in the data structure. This is the content of the JSON file:

{"status":"OK","statuscode":200,"payload":{"data":{"324163":{"20170317190000":{"dd":187,"var_01":0,"var_02":0,"var_03":0,"var_04":0,"var_05":5,"var_06":5.8,"var_07":62,"e":0,"var_08":8,"var_09":0,"var_10":0,"var_02_max":0},"20170316180000":{"dd":8,"var_01":0,"var_02":0,"var_03":0,"var_04":0,"var_05":4,"var_06":7.8,"var_07":53,"e":0,"var_08":13,"var_09":0,"var_10":0,"var_02_max":0},"20170316234500":{"dd":18,"var_01":0,"var_02":0,"var_03":0,"var_04":0,"var_05":1,"var_06":4.2,"var_07":68,"e":0,"var_08":13,"var_09":0,"var_10":0,"var_02_max":0},"20170316013000":{"dd":14,"var_01":0,"var_02":0,"var_03":0,"var_04":0,"var_05":2,"var_06":3.8,"var_07":77,"e":0,"var_08":10,"var_09":0,"var_10":0,"var_02_max":0},"20170316044500":{"dd":91,"var_01":0,"var_02":1,"var_03":0,"var_04":0,"var_05":4,"var_06":2.1,"var_07":85,"e":0,"var_08":6,"var_09":0,"var_10":0,"var_02_max":2},"20170316184500":{"dd":13,"var_01":0,"var_02":0,"var_03":0,"var_04":0,"var_05":4,"var_06":7.2,"var_07":55,"e":0,"var_08":13,"var_09":0,"var_10":0,"var_02_max":0},"20170316221500":{"dd":16,"var_01":0,"var_02":0,"var_03":0,"var_04":0,"var_05":2,"var_06":5.1,"var_07":64,"e":0,"var_08":13,"var_09":0,"var_10":0,"var_02_max":0}}}}}

After loading the data with Matlab with:

data = loadjson('test.json');

the ID='' and the dates (in format yyyymmddHHMMSS) from the file appears as follows:
ID = '324163'' (in file)                    --> ID =  'x0x33_24163' (in the object)
date = '20170317190000'  (in file) --> date = 'x0x32_0170317190000' (in the object)
It looks like the function is unable to parse the field named formed by numbers. Is there any workaround to retrieve these numbers just as they appear in the file?
Thanks

@maurice1979, loadjson converts a JSON file into a matlab struct. Unfortunately, matlab forbids using all digits as fieldname or variable name. Please see
http://www.mathworks.com/help/matlab/ref/isvarname.html
http://www.mathworks.com/help/matlab/matlab_prog/variable-names.html
https://www.mathworks.com/help/matlab/ref/genvarname.html
or this book chapter.
so, loadjson converts an invalid ID into a valid struct field name so that you can access its value inside matlab. When you save this struct back to a JSON file using savejson, these converted fields are automatically converted back to the original ID string.
For this reason, I marked this issue as "wontfix", and close the issue. If you find other issues related to this, feel free to reopen.


Compiled PDF shows garbled images on certain viewers (Adobe)

Description
Certain PNG images get corrupted when shown in certain PDF viewers like Adobe Reader. I only have Evince and Okular on my machine which show the images just fine. The way I found this bug is because a client of mine showed me how it looks on his computer.
I'm using the last commit typst-cli on Linux. I managed to reproduce the bug on my machine using the following ghostscript command:
gs -o main2.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress main.pdf

Attached are one of the PNGs that get corrupted (not every PNG gets corrupted), The main.pdf is the Typst output of #image("my-image.png") which looks fine on Linux. The main2.pdf is the "repaired" PDF which look exactly as bad as main.pdf looks on Adobe.
Ghostscript shows the following error:
Error: ICCbased space /N value does not match the ICC profile.
                 Using the number of channels from the profile.
                 Output may be incorrect.

main2.pdf
main.pdf

Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

Using pdftocairo -pdf main.pdf main-repaired.pdf fixes the PDF on every viewer I tested.

Issue seems to be that we always embed the srgb icc profile, even with grayscale image.


Add a simple page for project list.

Coverage decreased (-1.8%) to 58.209% when pulling 6187dddff5cca7187d39819fe75285aa5144ee45 on feature-add-project-to-controller into f4ab64847e3fc92fbd80c004e2f24541c7db8ddf on master.


Allow using the same splits when re-running experiments

When re-running learning curve experiments and changing parameters like window sizes or filter sizes we should allow using the same data splits of the original replicates.
Currently, these are saved in the 'results' sub-folders as .csv's that are easy to access and use.

working on this now
my initial thought was to just make it so that csv_path can point either to the csv representing the entire dataset, or point to a path from a previous run
but after attempting this I realize I need the original dataset still, e.g. to make sure I have the right timebin duration
better I think to add an optional previous_run_path parameter to core.learncurve, and a corresponding optional previous_run_path option to the LEARNCURVE section of config files. Maintains backward compatibility, more readable

working on this now
my initial thought was to just make it so that csv_path can point either to the csv representing the entire dataset, or point to a path from a previous run
but after attempting this I realize I need the original dataset still, e.g. to make sure I have the right timebin duration
better I think to add an optional previous_run_path parameter to core.learncurve, and a corresponding optional previous_run_path option to the LEARNCURVE section of config files. Maintains backward compatibility, more readable


🌱 Refactor cluster permission

Summary
This is to use lister for permission to avoid too frequent get calls.
For all legacy k8s resource managed by registration, we add a cluster label and informer will use label selector to filter.
Related issue(s)
Fixes #

/hold

LGTM

/unhold


`loop.subprocess_shell() and loop.subprocess_exec() may block

Hi,
Subprocess creation is handled by loop.subprocess_exec() and loop.subprocess_shell(). Both uses subprocess.Popen(), but the later performs at least one blocking read on a pipe (on unix at least), used to detect the outcome of exec() in the  new child process (see: https://github.com/python/cpython/blob/master/Lib/subprocess.py#L1538).
This cause the loop to block if the fork/exec takes time in the subprocess, for instance because the system is under high IO pressure, or if preexec_fn is doing a slow operation.
I am not sure of how this issue should be fixed.
There is a quick-and-dirty fix : invoke subprocess.Popen() in an executor thread, but we probably want to address the original issue (the blocking read).
In this later case, can we update subprocess.Popen() or should we try to subclass it in asyncio without modifying cpython?
I can try to work on a patch, but suggestions are more than welcome about where to start (especially my previous question !).

Definitely better to fix Popen by, say, adding a flag for disabling read.
Honestly I doubt if anybody pass preexec_fn to asyncio subprocess calls.
Under high IO pressure the whole OS works slow and event loop is most likely also affected, isn't it?

I use preexec_fn to set resources limits (rlimit) and set the uid/gid/supplementary groups of the new process.
When the system is under IO pressure because of slow disk operations, if the loop doesn't block, I can mitigate the pressure (by telling my clients to wait and retry later for instance). Otherwise, when the process is ready to work again, I have to face a thundering herd of pending requests, which makes things worse. Also, high IO on one device doesn't mean it affects the whole system (for instance, the system disk may be slow, but the data disk may be fine).
Anyway, I feel like this should be fixed, even if this is an uncommon issue.

Ok, but most likely it affects Popen also. Overriding the whole _execute_child scares me.

People do use 'preexec_fn`, and yes, it blocks.  I have the same bug in uvloop, although it doesn't use Python's subprocesses.  Once I fix that, you can use uvloop to avoid the problem.
And yes, we should use asyncio somehow.


Publish dual CJS and ESM version of react-error-overlay

Discussion started here: https://github.com/react-cosmos/react-cosmos/pull/484#issuecomment-340512878
@Timer's comment on this

We can dual publish a CJS and ESM version (based on package.json toggle). Can you open an issue on CRA for this please?

I've never done this before, but I think this means defining two different entry points in package.json:

main pointing to CJS
module pointing to ESM

Correct me if I'm wrong.
Let me know if you have any other pointers for how to structure the build script and if you think it's feasible for a first time contributor to CRA I'm happy to give it a shot!

@skidding hi!
You are correct, essentially we need a CJS version pointed to by main and a ESM version pointed to by module.
You can find the build.js script inside the react-error-overlay package and tune it to output both versions 😄.

I checked out master and it seems like this is already fixed in<EMAIL_ADDRESS>The published lib is an umd module.
Is there any reason to not use REO@3 here? I didn't find anything about this major upgrade in the CHANGELOG. Thanks!

Nope, you're correct! I forgot about our 3.0.0 timeline and it just so happened to come quickly. 😄


AssimpNET lastest version

Hi Acgessler, am looking foward to the lastest version of assimpNet, but i found source files in google code, sourgeforce, github and i dont know what is the lastest.
I want to make an aplication with the assimpNet Lib.
Hope you help me.

I think google code is currently the one and only AssimpNet, so please take it from there.
https://code.google.com/p/assimp-net/

Thanks!


Finish Simple line and status CGPath APIs.

Fill out status APIs such as equals and contains path while adding new tests.
Fixes #1071
Fixes #1073

This change is

}

switch the validity checks to use the macros in result.h.
RETURN_NULL_IF(!path);

Refers to: Frameworks/CoreGraphics/CGPath.mm:167 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

FAIL_FAST_IF_FAILED(path->_impl.pathGeometry->Stream(mutableRet->_impl.geometrySink.Get()));

I feel as this should be returning NULL, rather than failing fast.
Given how it's a public function that attempts to obtain something, it makes it valid to return NULL. Also the user may/may not have the code to handle the null case.

Refers to: Frameworks/CoreGraphics/CGPath.mm:187 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

}

RETURN_IF(!path)

Refers to: Frameworks/CoreGraphics/CGPath.mm:201 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

@Notes transform property not supported

is this still true?

Refers to: Frameworks/CoreGraphics/CGPath.mm:224 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

:clock1:

FAIL_FAST_IF_FAILED(path->_impl.pathGeometry->Stream(mutableRet->_impl.geometrySink.Get()));

Actually we should be releasing any resources we made before leaking them when we return NULL.

In reply to: 256970578 [](ancestors = 256970578)

Refers to: Frameworks/CoreGraphics/CGPath.mm:187 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

}

That doesn't exist, even if it did I don't think reducing a null check+return to a macro would be very useful.

In reply to: 256970753 [](ancestors = 256970753)

Refers to: Frameworks/CoreGraphics/CGPath.mm:201 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

@Notes transform property not supported

Well, nothing about this function is particularly true... We haven't gotten to arcs yet. ;)

In reply to: 256971251 [](ancestors = 256971251)

Refers to: Frameworks/CoreGraphics/CGPath.mm:224 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

@Notes transform property not supported

gotcha.

In reply to: 256985573 [](ancestors = 256985573,256971251)

Refers to: Frameworks/CoreGraphics/CGPath.mm:224 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

}

It exists now after my merge into CGD2D. Agree, but given we are having this defacto standard of using MACROS to deal with these .
You can leave it as is for now.

In reply to: 256985291 [](ancestors = 256985291,256970753)

Refers to: Frameworks/CoreGraphics/CGPath.mm:201 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

}

Well I agree that the standard we're using is for the macros to handle them but the macros do a bit more than just returning. I'll change it since that's the standard we're following but I don't think in a case like this it's terribly important.

In reply to: 256986759 [](ancestors = 256986759,256985291,256970753)

Refers to: Frameworks/CoreGraphics/CGPath.mm:201 in ac21011. [](commit_id = ac21011e1d5cf7909c64ecb5cc0cb05ee2f313aa, deletion_comment = False)

:clock1:

// CGPathMoveToPoint does not update the geometry in any way. CGPaths do not consider these actions to be

This comment is now a lie, as it closes the geometry's existing figure.

Refers to: Frameworks/CoreGraphics/CGPath.mm:402 in 5267579. [](commit_id =<PHONE_NUMBER>892ebf3b7ccbd2922aafeaa7782e1d, deletion_comment = False)

Unrelated to this PR:
It would be nice to see a test similar to
Line 0, 0 -> 100, 100
Rect 100,100 +100,+100

Except where the rectangle does not touch the line.
I'd like to know whether the reference platform adds a connector, and whether we do with D2D.

UNIMPLEMENTED();

A clever implementation would be to make a rect geometry of the path's bounding box, and then do the Contains-Contained relationship!

Refers to: Frameworks/CoreGraphics/CGPath.mm:739 in a12387b. [](commit_id = a12387bd4985a53e27223dafba9c515ad06b9b5d, deletion_comment = False)

UNIMPLEMENTED();

Not for this CR. Sorry. :)

In reply to: 257421985 [](ancestors = 257421985)

Refers to: Frameworks/CoreGraphics/CGPath.mm:739 in a12387b. [](commit_id = a12387bd4985a53e27223dafba9c515ad06b9b5d, deletion_comment = False)

UNIMPLEMENTED();

hmm, perhaps that would not be as good as I'd thought

In reply to: 257421985 [](ancestors = 257421985)

Refers to: Frameworks/CoreGraphics/CGPath.mm:739 in a12387b. [](commit_id = a12387bd4985a53e27223dafba9c515ad06b9b5d, deletion_comment = False)

UNIMPLEMENTED();

I think that would work. return CGPathEqualsPath(path, CGPathCreateWithRect(CGPathGetBoundingBox(path))).
If it's logically equal to the path created by its bounding box.

In reply to: 257422149 [](ancestors = 257422149,257421985)

Refers to: Frameworks/CoreGraphics/CGPath.mm:739 in a12387b. [](commit_id = a12387bd4985a53e27223dafba9c515ad06b9b5d, deletion_comment = False)

CGDrawView* cgView = [[CGDrawView alloc] initWithFrame:self.view.bounds drawOptions:self.options];

do we need to release this or is it managed by the View somehow?

Refers to: tests/testapps/CGCatalog/CGCatalog/CGPathApplyViewController.m:30 in 3c21e8f. [](commit_id = 3c21e8fa7033a0c736f6e1b9865c261ff987bf3a, deletion_comment = False)

CGDrawView* cgView = [[CGDrawView alloc] initWithFrame:self.view.bounds drawOptions:self.options];

Ignore this file, I never meant to edit this, it was merely a quick validation check on null paths and what the return value is for some APIs.

In reply to: 257435345 [](ancestors = 257435345)

Refers to: tests/testapps/CGCatalog/CGCatalog/CGPathApplyViewController.m:30 in 3c21e8f. [](commit_id = 3c21e8fa7033a0c736f6e1b9865c261ff987bf3a, deletion_comment = False)

:shipit:


Data is not persistent across Steps

Hi @srdjan.  I noticed that state data is not been saved between steps. I know this works fine in your demo page but If follow these steps you will be able to see what I am talking about

Clone this repo
npm install
npm run build
upload build to a webserver

Do you have any idea what might be wrong?
Regards
Ivan

this is the same as #36 - I encourage you to see the answer there, by @stevenmunro
essentially, you need external state, like has done:
"each component for StepOne, StepTwo, StepThree, and StepFour has its own state (this.state) that is wiped clean when the component is replaced by another.
I fixed this myself by declaring state on the app component, and passing functions via props to each of the (child component) steps."


Improve message about required firewall openings

According to netstat (and some other observations) only port 9943 is listened during headset discovery.

Port 9944 is used between the HMD and the alvr_server (driver) running in SteamVR.
While its technically correct that only port 9943 is used to discover the headset, its good to assume that if one port is not available, the other might be closed as well.

In case port 9944 is opened in firewall (but 9943 is not opened) the headset isn't discovered, and existing message ("check the firewall settings (permit UDP/9944)") is very misleading.
Hence the idea to include both ports in the message (this PR contains message where both ports are mentioned).

 I misread read the diff on my mobile phone.


chore: Merge chore_release-7.2.0 into edge

Overview
This is an incremental merge of the in-progress chore_release-7.2.0 branch into edge.
We had to make a synchronized change between this repo's chore_release-7.2.0 branch and Opentrons/oe-core's main branch. (PRs #14480 and Opentrons/oe-core#134.)
So, we also need to synchronize this repo's edge branch. Otherwise, builds with this repo's edge and Opentrons/oe-core's main — which is most of them — will be broken because this repo's edge branch is missing the change.
Test Plan
Changelog
Resolve one merge conflict in the top-level Makefile, between #14464 (added pip install --upgrade pip and bumped the Pipenv version) and #14469 (moved that Makefile bit to a separate recipe).
Review requests
Is my premise about our automatic builds correct?
Risk assessment
Low.

Reminder to self to normal-merge this, not squash.


1.20 Fabric?

Is there a way to make a version for Fabric on Minecraft 1.20?

Yeah, are there any plans for later versions or even a port to fabric?

Yeah, sorry for not updating this mod in a while, I've been busy with work and school.
Since there is interest for this mod to be updated, I do have plans to update this mod for later versions.
On top of that, I do plan to port this mod into Fabric because I see that mod users are using Fabric more than ever (including me), so I think it would benefit the users and the mod for a port to be made.

Fabric port of this mod for Minecraft 1.20.4 is under way!
MC1.20.4 Fabric Branch

Love you guys

I am happy to announce that this mod is now officially available for Minecraft Fabric 1.20.4! You may download it from:

CurseForge
Modrinth
GitHub


Allow calling of functions within a dictionary

Description
Currently, if you have a dictionary let foo = (bar: "baz"), you can use #foo.bar to retrieve the result baz. However, we cannot have let foo = (bar: () => "baz") and use #foo.bar(). We are required to use #(foo.bar)().
I request being able to call #foo.bar().
Use Case
My use case is that I wanted to implement some ad-hoc "objects".
To demonstrate, consider someone wanting to make a library for complex numbers.
#let new-complex(re, im) = {
  return (
    re: re,
    im: im,
    add: z => new-complex(re + z.re, im + z.im),
  )
}

#let z = new-complex(1, 2)
#let w = new-complex(3, 4)
#let x = (z.add)(w) // Would be nice to have z.add(w)
#repr(x) // result: (re: 4, im: 6, add: (..) => ..)

In my case, I would like to build a library to do some more advanced mathematics. Unfortunately, my ideal vision is not currently possible due to this limitation.
There are more advanced use cases, too. I realised this issue when I was attempting to implement a builder pattern. I was expecting to have something like:
#let builder = builder()
#builder.add_method("hello", () => "Hello, world!")
#let obj = builder.build()
#obj.hello()

This would be an interesting idea to play with, but without a flexible language, it is not really worth pursuing.

Duplicate of https://github.com/typst/typst/issues/976


Updated free-courses-en.md

What does this PR do?
Removed all the | in titles.

This sort of work will cause too many conflicts for us to merge it during Hacktoberfest


Benchmarks, why is Ozzo the worst?

Can I ask you why is Ozzo the worst in these benchmarks?
https://github.com/frederikhors/bench-golang-validators
goos: windows
goarch: amd64
pkg: benchGolangValidators
BenchmarkAsaskevich-8              94460             12505 ns/op            5439 B/op         72 allocs/op
BenchmarkPlayground-8             704642              1784 ns/op             227 B/op         14 allocs/op
BenchmarkSaddam-8                  97534             12125 ns/op            1858 B/op         68 allocs/op
BenchmarkBuffalo-8                235267              5033 ns/op             756 B/op         15 allocs/op
BenchmarkOzzo-8                    14416             81325 ns/op            5653 B/op        112 allocs/op
PASS
ok      benchGolangValidators   7.300s

Maybe because of https://github.com/asaskevich/govalidator/issues/413?

@qiangxue can I ask you if I wrote a wrong benchmark?

#104 @frederikhors

@rizzi37 yes, thanks, I read that. But I'm using the latest version (where is fixed) and I'm not using email. How can you explain it? For this I am asking.

@frederikhors your test repo seems to use is.Email, which also checks if the MX record exists for the email domain. You could try replacing it with just is.EmailFormat, which only checks the string format.

@ganigeorgiev You're right, but it's still high:
BenchmarkAsaskevich-8   	   82749	     13119 ns/op	    5452 B/op	      72 allocs/op
BenchmarkPlayground-8   	  705242	      1808 ns/op	     228 B/op	      14 allocs/op
BenchmarkSaddam-8       	   93002	     13140 ns/op	    1854 B/op	      68 allocs/op
BenchmarkBuffalo-8      	  203504	      5042 ns/op	     760 B/op	      15 allocs/op
BenchmarkOzzo-8         	  176402	      6674 ns/op	    5093 B/op	      99 allocs/op


FF Nightly fault

[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICookieManager2.remove]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://extensions/content/ext-cookies.js :: getAPI/remove/< :: line 353"  data: no]
Apparently your extension does not really remove anything (but it tries) in firefox nightly :)
Not trying to discourage or anything but even from experience (with addons like e.g. Self-Destruction Cookies) firefox breaks things completely every few major versions.

Did you enable Containers Mode by any chance?

I dont use container tabs, so I have just disabled them and restarted the browser -- I can see the same message in the browser console every time I click on "cookie cleanup" in the addon's menu.
NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICookieManager2.remove]

Nothing seems wrong on my version of Nightly. Possibly an extension conflict.

Closing for inactivity. Please reopen or file a new issue if you still have problems.


chore: trigger some module again.

cc @Peefy
1. Please confirm that you have read the document before PR submitted

[ ] Yes, I have read THIS NOTE DOC.

2. Contact Information(Optional)
If it is convenient, please provide your contact information so we can reach you when processing the PR:

Email:
HomePage:

You can set the export OCI_REG_PLAIN_HTTP=off env. Later we will support the --plain-http flag in the kcl mod push command like helm.

=$ export OCI_REG_PLAIN_HTTP=off
=$ kpm push
package 'cilium' will be pushed
failed to access 'localhost:5001/test/cilium'
Get "https://localhost:5001/v2/test/cilium/tags/list": http: server gave HTTP response to HTTPS client

still not working and i open other PR  https://github.com/kcl-lang/modules/pull/182 is working for it.

thanks you!


Added the kubernetes logo

Added the Kubernetes official logo for the katacoda avatar. The logo has been taken from https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png

it's fine to use the logo this way.  It's a kubernetes community thing, working on kubernetes.
/approve
/lgtm

/remove hold

/remove-hold


Error 503 shows on load

https://staging.reportstream.cdc.gov/static/media/montserrat-light-webfont.47314ef8.woff

@sean-usds Can we get steps on this? I suspect it's fixed?

This looks like a bug from one of the original React bug hunts. I cannot repro any more!


Throw exception on send excessive parameters to constructor

Together we've decided not to do it because one may use func_get_args().


M Series (TimeoutError) and (ConnectionRefusedError)

Hello,
I have the M Series Smart TV and I'm trying to use the library you have on your Github. I'm fairly new to understanding how its done so please bear with me. I have gone through almost all of the issues that are pertaining to this lib and have not found one similar to my issue.
Here's the script I'm running:
import samsungctl
import time
import websocket
config = {
"name": "samsungctl",
"description": "PC",
"id": "",
"host": "192.168.XX.XX",
"port": 55000,
"method": "websocket",
"timeout": 0,
}
with samsungctl.Remote(config) as remote:
remote.control("KEY_MUTE")
time.sleep(0.5)
I'm currently trying to run this program in python and I'm getting a TimeoutError. Before I was getting a ConnectionRefusedError but changed a few things but I don't think it honestly made a difference.
Are there any glaring issues that you see that I'm currently doing wrong?
Can this be ran on a linux os?
I can't seem to get the simple command line to run either.
Thank you!

UA78KU6900 can support?