[macOS] Add MacOS Big Sur for Azure Pipelines Hosted agents

Hi!
I wanted to ask, do you have any plans to add macOS 11 support on your hosted agents ?
GHA have it in preview, and we would like too.

Hello, Thank you for raising feature request!
We definitely have a plan to add MacOS 11.0 to Azure DevOps but unfortunately can't provide ETA right now.
Let's keep this issue opened and we will post update as soon as we have

Hi @Jon889 , unfortunately, we still have no ETA on providing Big Sur in Azure DevOps, we are still investigating capacity and infrastructure updates required for it.
Azure DevOps and GitHub Actions are different services and not sharing images, you can find the list of agents available for Azure DevOps on Microsoft-hosted agents page.
We will keep you posted with updates, thank you for your patience.

Thanks, ok I thought there were similar because the Included Software links in the table in that doc link to this repo.

Images that we provide for GitHub Actions and Azure DevOps are the same for the same OS versions, but the set of provided images are different due to different infrastructure.

Beyond 11.1 or 11.0 images running on x86_64 hardware, do you plan to add support for 11.1 or 11.0 images running on arm64 hardware (e.g. Apple Silicon M1) or will we have to rely on cross-compilation to build macos/arm64 software artifacts without being able to run the tests on the CI machine?

Beyond 11.1 or 11.0 images running on x86_64 hardware, do you plan to add support for 11.1 or 11.0 images running on arm64 hardware (e.g. Apple Silicon M1) or will we have to rely on cross-compilation to build macos/arm64 software artifacts without being able to run the tests on the CI machine?

@ogrisel see #2187

@ogrisel see #2187

Is there any plans for Big Sur on Azure DevOps? Xcode 12.5 beta says it requires Big Sur, and there are some changes like the improved compilation that SPM caching that would be great to have.

@AlenaSviridenko can you update us on this?

@AlenaSviridenko Is there any update now that we know iOS 14.5 and Xcode 12.5 will be coming out next week?

Hi 👋,
we're working on a plan to get Big Sur added to the hosted pool sometime in June/July, we are still working on hardware infrastructure to be ready. We are aware about stable Xcode 12.5 coming soon and doing everything possible to make macOS 11 ready as soon as possible.

Thanks @AlenaSviridenko for the update! It’s possible to run the agent on Big Sur on our own hardware right?

Correct, you can use self-hosted runner with Big Sur

Any update on this? We need this for Xcode 12.5.

requesting an update on this issue too please.

Slightly off topic but also another reason for wanting this sooner (and an update); is anyone else experiencing a massively increased number of UITest failures caused by bad simulator startup since the beginning of this week (macOS 10.15, XC 12)?

Hey!
Looping in @vijayma for ADO timelines as they are slightly different from the GitHub Actions.

@ahdbilal is working on a plan to make Bug Sur available to internal customers. We will gradually ramp up the capacity for Big Sur as we reclaim the machines from older versions (10.13 and 10.14). The plan is to have at least a few 10s of machines running with Big Sur by the end of this month. The rollout to all internal accounts may take another week after that.

@vijayma what about public customers? I believe it is mostly them who is asking any timeline on macOS 11, because we have other channels for communication with internal customers

At this time, we do not have a good ETA for external customers on Azure Pipelines. We are waiting for some licensing aspects to be sorted out first.

Can’t it be the same as GitHub Actions?

GitHub Actions is getting macOS 11.0 agents soon (https://github.com/actions/virtual-environments/issues/2486#issuecomment-854422862)
Can we get an update for AZDO or at least a timeline? We are buildless for quite a while now 😕

We are working on the logistics for private preview in Azure DevOps. If you are interested in pre-registering for the private preview, please send me an email with the name of your Azure DevOps organization and the # of concurrent jobs you expect to run on macOS-11. We expect this to be available sometime in June.

We are working on the logistics for private preview in Azure DevOps. If you are interested in pre-registering for the private preview, please send me an email with the name of your Azure DevOps organization and the # of concurrent jobs you expect to run on macOS-11. We expect this to be available sometime in June.

@vijayma Any update on this ? We've requested via email as mentioned, but not received any response. Could you let us know the status pls.

We are working on the logistics for private preview in Azure DevOps. If you are interested in pre-registering for the private preview, please send me an email with the name of your Azure DevOps organization and the # of concurrent jobs you expect to run on macOS-11. We expect this to be available sometime in June.

@vijayma It's now been 10 days since the last update. I sent an email to you around that time and haven't heard a reply. Do you have a more concrete timeline as to when Azure DevOps customers will have access to macOS 11 pipelines? Or at least when the private preview will open up?

The private preview will open up by the end of this month.  We have received a number of requests than what we can safely support during the first phase of the preview. We will go through the requests received so far and respond in the next few days. Thank you for your patience.

Xcode 12.5 was release 2 months ago, I'm starting to see failures in my pipelines:
MTOUCH : error MT0180: This version of Xamarin.iOS requires the iOS 14.5 SDK (shipped with Xcode 12.5).
Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs).

What is the eta for public release?

Please start planning for macos 12 infrastructure now, it's not like the annual release cycle is unpredictable... It's a little crazy we're all waiting for 11 images when 12 preview will be out soon

Here's to Xcode Cloud, coming soon.....

The question is what will be first, Azure getting Big Sur installed or Xcode Cloud getting released...

Think its safe to say I will be moving all my company's builds onto Xcode cloud instead of azure, its pretty poor that this is lagging so far behind for a major release that has been out plenty of time now, very disappointing

And the first MacOS 12 public beta is now available...
It'll be in full public release inside 3 or 4 months if history is any indication. Please can we not be still waiting for 11 build agents by then 🙏

macOS 11 has changes in some APIs and I'm not able to test those changes within Azure Pipelines due to no the image. I'm on Windows and it's pretty inconvenient to use virtual machines or so to test my code. You wrote

we're working on a plan to get Big Sur added to the hosted pool sometime in June/July

Well, it's July now. Maybe it's finally the time to get your users what they need and what they ask you for?

For registering for the private preview usage, please, send email to @vijayma with the name of your Azure DevOps organization and the # of concurrent jobs you expect to run on macOS-11. These requests are regularly reviewed and new users are included when capacity allows that.
Thanks.

For registering for the private preview usage, please, send email to @vijayma with the name of your Azure DevOps organization and the # of concurrent jobs you expect to run on macOS-11. These requests are regularly reviewed and new users are included when capacity allows that.
Thanks.

How regularly? I sent a request last Friday and no response as yet...

For registering for the private preview usage, please, send email to @vijayma with the name of your Azure DevOps organization and the # of concurrent jobs you expect to run on macOS-11. These requests are regularly reviewed and new users are included when capacity allows that.
Thanks.

Are the users notified in any way when they are included, or should we just try running the pipeline on macos-11 to check if we got the access?

How regularly? I sent a request last Friday and no response as yet...
currently, it is 2 times a month for now, when capacity is ready for the new load.

@praneetrohida, unfortunately, there is no automatic notifications about it yet. So I suppose you should run your pipelines to check it.

So we're still begging for table scraps...

I send the email requesting access to macOS-11 image to @vijayma a month ago, so far no response nor access to the images, I just tested.
Can I have a status or forecast of when my organization will have access?
Thanks

I also send a request to @vijayma today. We need access to Xcode 12.5, which is only available for Big Sur.

Can we use Apple Silicon (M1) self-hosted agent?

@metaine looks like it's not yet implemented https://github.com/microsoft/azure-pipelines-agent/issues/3184

@miketimofeev it's not clear if it's about microsoft-hosted agents or self-hosted or both

I also need this https://github.com/actions/virtual-environments/issues/3709

@metaine both.

grrrrrr this very bad, it's unacceptable how slow this has been

Do you have ETA for public release of Big Sur images on Azure Pipelines? End of this month, next month, Q4? Also can we get a breakdown of how this happened and how you'll prevent it happening for future MacOS releases? It is of course a pain for me to migrate my companies pipelines to other providers so I would prefer not to, but if this is going to keep happening then what choice do I have but to look into it.

All project in my company has deployment target of iOS 14.5. I am amazed that Big Sur + Xcode 12.5 are not the default images s macos-latest. It's not like this software was released a couple of days ago.

This ticket is open since November 2020 and it was no surprise that Big Sure will be released. It is very annoying that there is still no public agent after more than 6 month, but it is unacceptable that there is not even an ETA yet.
So please give us at least a ETA. We all have to communicate to customers/partners/chiefs etc. why we are still not able to target iOS 14.5. Please understand that transparency is important and "unfortunately, we still have no ETA" is unacceptable when you had already 6 month time

I moved to a self-hosted agent back in May.  Cannot imagine that I would ever return to reliance on Azure supporting the latest mac builds.   Sticking with Azure because that's where my code and backlogs are living, but looking at alternatives and would move as soon as time permits.

The problem is I guess that users of mac hosted agents make up a small percentage of users, so MS wouldn’t really care if everyone left it. Especially with Xcode Cloud coming and GitHub actions being the main focus.

I believe MS should care about different platforms since they have focus on cross-platform solutions. .NET developers, for example, want to be able to run their CI builds for cross-platform products on different operating systems. As for macOS 11, as I said, there are some API changes in it, so it would be great to have ability to check products compatibility via Azure Pipelines.

Hello all, we understand the sentiment on this thread and are sorry that we do not have a generally available offering yet for Big Sur builds in Azure Pipelines. The main reason for us to be in this state is not technical. It is related to licensing. We are still working through the licensing terms to understand whether we can offer Big Sur the same way we offer previous versions of macOS.  We do not want to offer this in a certain model and then realize that we have to change it again.
Regarding the preview request process, we get a huge number of requests every day. We review these requests regularly and process them once every two weeks. That gives us enough time to monitor the usage and ramp up the capacity for supporting more customers. Once your organization is approved, you will receive an email from us. We sincerely appreciate your patience once you send us a request.

If you can grant Big Sur for GitHub Actions by filling up a form. Why not AppCenter?

We cannot do that technically, due to the different nature of account creation for GitHub Actions, Azure DevOps and App Center. App Center uses a dynamically created account name in Azure DevOps underneath your username, which complicates the process of enabling an image for a certain account.

So this more of a technical issue instead of licensing right?

So this more of a technical issue instead of licensing right?

@cquanu I think they mean adding people to the preview for AppCenter is a technical issue; creating/provisioning enough Virtual Machines as a whole is a licensing issue.

Surely any licensing issues would also prevent the closed preview that you can get by emailing?

We do understand, that apple changed the license of mac os and that this affects the doability of providing virtual developing environments.
But the license is public (at least) for 7 month now and it's still a blocker? We are paying, not less, to get a managed and up to date CD platform. And be able to build up to date iOS Apps and Frameworks is an important part of it.  And Microsoft stuff (e.g. Visual Studio on Mac, Xamarin) are also already requiring Xcode 12.5. Don't get us wrong, these are not sensitivities. These are just facts and business.

We are still working through the licensing terms to understand whether we can offer Big Sur the same way we offer previous versions of macOS. We do not want to offer this in a certain model and then realize that we have to change it again.

Anyway, I don't understand why you're arguing to have licensing issues, but you are able to run private previews. But just not in this strong demand. And also the registration process (request per email and (no) response) is somehow Microsoft unworthy...
What does these private preview (if we get accepted) means for production use cases? Are the production ready? Do we have to expect breaking changes?
@vijayma @AlenaSviridenko  A lot of users already asked for an ETA. So please tell us, when do you expect to solve this... August? September? End of the year? Never?

We should really just deprecate azure pipelines, in my opinion, it's inadequate, my experience with GitHub actions is better.

@L6Echo The servers that are offered in preview will be the same images when we make this generally available. There is no change technically in what we do. By offering it as a preview, we retain some flexibility to change how we license this to our customers or charge for it. Unfortunately, we do not have an ETA yet. I will share another update in the middle of August.

@vijayma So the question is, are you able to offer it as a preview? - Since you said it's "flexible". You don't have an ETA for the preview, or when it will be generally available?

@cquanu In my comments, I am referring to our limitations in making Big Sur publicly and generally available for Azure Pipelines. I am not referring to App Center.
Your comments, I believe, are related to AppCenter. With AppCenter, as @AlenaSviridenko mentioned, we do not have a preview either because of the way AppCenter uses Azure Pipelines.

You are not referring to AppCenter but AppCenter uses Azure Pipelines. 😕

@vijayma presumably this is going to continue to be an issue in two months time when Monterey is released? Because if we can't build with Monterey by April next year then Azure pipelines will become dead in the water for iOS development as we won't be able to release builds to Apple app store from that point. I'm making some assumptions based on apple's release history and previous SDK deprecation dates, but I think they're quite safe ones.

@vijayma can you explain the licensing issues in more detail and why they're so hard to overcome? How have other providers done it?
What is the likelihood of positive news in mid-August?

@simonbuerger @vijayma Big Sur was announced more than a year ago including the license changes. I can understand if it takes so long for a small company without trademarks, licenses and patent attorneys to solve the problems but not for a big company like Microsoft.
Although we currently have access to the beta and it works well (thanks for that) we will be looking for an alternative soon. I personally don't expect positive news in August.
We were really disappointed by Microsoft this year.... App Center had no iOS 14 devices for testing till April / May and now this "little problem" as well. It is really a pity.

I am looking for alternatives. What are some good ones?

@cquanu I use a self hosted build agent .  I cannot imagine I would ever go back to using a Azure DevOps provided agent after this debacle

@ramtechjoe have you been successful with self-host build agents on Big Sur?
That is probably what I’ll be attempting next. I’m trying to decide between buying Mac Minis or using cloud infrastructure.

@ataylorme I have been running self hosted agent since back in May on Big Sur.  I just use my normal development machine, but we only have a couple Xamarin applications and never run more then a single build at a time.  I cannot say how it would scale.

@ramtechjoe Yeah I'm managing active deployment pipelines across 5 other tenants, and then 6 other active app deployment pipelines (all multi environment 🙈) within our own tenant so self hosting is not much of an option for us.

@vijayma we sent the email to ask access to the previews for macOS 11 for azure pipelines, 2 weeks ago already and we still don't have access :(. Why is all of this so painfully slow :(

@ataylorme we use self-hosted Big Sur for Unity builds (still using Microsoft-hosted agents for our Xcode builds though, but looking to switch to self-hosted soon) and the agent works fine. I'd imagine it would work just fine for building Xcode projects

@vijayma

The main reason for us to be in this state is not technical. It is related to licensing.

Can you at least support Bug Sur for Microsoft App Center then?

Maybe it's time to ask for a feature in Azure DevOps to allow agents to be crowdsourced...  I'm sure many folks have already gone out and used some hosting provider like Macstadium or their own machines...

It appears that the latest macOS build agent available on DevOps is not capable of building enterprise distribution iOS apps due to an outdated code signing library. Currently, apps built with the Catalina latest agent do not launch on iOS 15 at all and we are about a month away from public release.
Other than hosting a machine on-prem, does anyone know of a way around this Microsoft delay in offering required build agents for iOS 15?

@ryanmendoza we have access to the Big Sur preview now, but prior to that I was re-signing our ad hoc IPAs as described in https://developer.apple.com/forums/thread/682775?answerId=681899022#681899022. This is the script I used (you'll need to set SOURCE to the path of your IPA and SIGNING_IDENTITY to the name of your signing identity).

Hi,
We are also having the issue @ryanmendoza mentioned as we are also under the apple enterprise programme.
One user just upgraded to ios 15 and the app does not open on the device as it was built using XCODE 12.4 on the Dev Ops pipeline.
@gredman Thanks for the workaround mate, highly appreciate it !... going to try it in my pipeline.
When you say SIGNING_IDENTITY, I assume that I need to point to the Private key file or the certificate (public key) file?

@ryanmendoza we have access to the Big Sur preview now, but prior to that I was re-signing our ad hoc IPAs as described in https://developer.apple.com/forums/thread/682775?answerId=681899022#681899022. This is the script I used (you'll need to set SOURCE to the path of your IPA and SIGNING_IDENTITY to the name of your signing identity).

What's the progress now @vijayma? Can we have some updates?

Hi,
Good morning !
As we are gettign very close to the iOS 15 release, can we please have an ETA on when MacOS BigSur is available on MS hosted agents? Appreciate your assistance.
Best Regards,
M

We are happy to announce that macOS-11 is out of preview and now generally available for all the GitHub customers 🥳
The docs will be updated later this week.

https://github.com/actions/virtual-environments/issues/2486#issuecomment-899752373
@maxim-lobanov @AlenaSviridenko
Please tell me that the Xcode 12.5 option will be available later today 🙏

@yvbeek unfortunately, we can't provide ETA for now. Please send an e-mail to @vijayma with justification if you need access

@miketimofeev is this message from you the "official" update that @vijayma said he would give 3 weeks ago in mid August?

Unfortunately, we do not have an ETA yet. I will share another update in the middle of August.

So the update on ETA is that there is still no update on ETA?
As a paying customer I don't think it's too much to ask for more of a detailed update than "we have no update"

So I assume the licensing is sorted out now that GitHub actions has macOS 11?
https://github.com/actions/virtual-environments/issues/2486#issuecomment-899752373

I don't understand, the fact that the issues tab is opened for this repository and we can submit our issue. But thought the team of the virtual environment is not transparent about it but has decided to silo￼ information from us and think that they have given a reasonable answer.

Please tell me that the Xcode 12.5 option is resolved or not with macos-11 ????🙏

Hi @miketimofeev ,
Could you please provide the email of @vijayma for requesting the Preview of macos-11 on Azure DevOps Pipelines for company?
Thank you

Hi @miketimofeev ,
Could you please provide the email of @vijayma for requesting the Preview of macos-11 on Azure DevOps Pipelines for company?
Thank you

Hi,
Can we use the preview of macos-11 on Azure DEVOps for Production builds? Please let me know how to request macos 11 preview to be available on Azure DevOPS?
Thanks

@philipdvo @github.com — this will be his address

@miketimofeev Can we use MacOS 11 Preview on Azure DevOPS to run PRoduction builds?

@maluthbadugecara you can once you have access to macos-11.

@vijayma and @miketimofeev  Hope your hump day is going well.  I wanted to ask if your able to  give any new updates that we can pass on to our bosses?
Anything you share is greatly appreciated.
🙏🏻

Any updates?

FYI, The Big Sur pool is available for all customers starting today. So, one can start using it in YAML pipelines using the label macos-11.

@vijayma and @miketimofeev Hope your hump day is going well. I wanted to ask if your able to give any new updates that we can pass on to our bosses?
Anything you can share is greatly appreciated.
🙏🏻

FYI, The Big Sur pool is available for all customers starting today. So, one can start using it in YAML pipelines using the label macos-11.

FYI, The Big Sur pool is available for all customers starting today. So, one can start using it in YAML pipelines using the label macos-11.

Thanks. But I was asking about AppCenter.

@vijayma and @miketimofeev Hope your hump day is going well. I wanted to ask if your able to give any new updates that we can pass on to our bosses?
Anything you can share is greatly appreciated.
🙏🏻

FYI, The Big Sur pool is available for all starting today. So, one can start using it in YAML pipelines using the label macos-11.
With respect to Azure DevOps.

Thanks a lot for the update

@vijayma and @miketimofeev Hope your hump day is going well. I wanted to ask if your able to give any new updates that we can pass on to our bosses?
Anything you can share is greatly appreciated.
🙏🏻

FYI, The Big Sur pool is available for all starting today. So, one can start using it in YAML pipelines using the label macos-11.
With respect to Azure DevOps.

will macOS-latest work as well?

Hello everyone!
Just an update on this thread. Starting from today, macOS 11 is publicly available for all Azure DevOps users 🚀
You should specify macos-11 image spec to use the new image.
macos-latest image spec still points to the macos-10.15. We will notify about switching macos-latest later this year.
Thank you for everyone for your patience. We will work to make sure that MacOS 12 is available faster.
Note: Availability of macOS 11 in Azure DevOps doesn't mean that the new image will be available in App Center immediately. App Center team has to perform some work on their side to make sure that new Xcode versions are available in App Center Build.

Hi,
When will macOS 11.6 host agent be made available on Azure DevOps Pipeline?

Hi,
When will macOS 11.6 host agent be made available on Azure DevOps Pipeline?

macOS 11 is  already available on Azure DevOps Pipeline.

Hi,
When will macOS 11.6 host agent be made available on Azure DevOps Pipeline?

macOS 11 is publicly available for all Azure DevOps users - https://github.com/actions/virtual-environments/issues/2072#issuecomment-904371992

Hi,
When will macOS 11.6 host agent be made available on Azure DevOps Pipeline?

macOS 11 is publicly available for all Azure DevOps users - #2072 (comment)

I was wondering when macOS 11.6 will be available as this will support Xcode 13

Hi,
When will macOS 11.6 host agent be made available on Azure DevOps Pipeline?

macOS 11 is publicly available for all Azure DevOps users - #2072 (comment)

I was wondering when macOS 11.6 will be available as this will support Xcode 13
Already available:
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
System Version: macOS 11.6 (20G165)

Looking to use XCode 12.5 with Azure Devops, pipeline is not setup via YML, but via the UI. How does one choose an image that support XCode 12.5?

@thomthom make sure you specify macos-11 as vm image, it is enough

For the record, the source of my confusion was due to me having an old setup. My builds were still using the `Hosted macOS" agents.

Once I switched to Azure Pipelines I got the list of images:


future: { compatibilityVersion: 4 } Messes up some types

Environment
Working directory: /Users/stephenjasonwang/Development/test123
Nuxt project info: (copied to clipboard)

Operating System: Darwin
Node Version:     v22.6.0
Nuxt Version:     3.13.0
CLI Version:      3.13.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      compatibilityDate, future, modules, devtools
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

👉 Report an issue: https://github.com/nuxt/nuxt/issues/new?template=bug-report.yml
👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new
👉 Read documentation: https://nuxt.com
Reproduction
https://stackblitz.com/edit/nuxt-3-vueuse-motion-pmteh2?file=client%2Fapp.vue
Describe the bug
Without compatibility 4

With compatibility 4

Additional context
No response
Logs
No response

With v4, the types are slightly stricter and you need to check that it exists before destructuring.


Manual resize option

Widget refuses to be resizable on Galaxy SII.  It would be great if there was some kind of "advanced" option to manually set the size.  Alternatively, an option so that it would size itself as full pane by default.

I guess this issue is heavily outdated.
Apart from that i haven't had any issues with resizing the widget over years on multiple devices.
@allanlaal  & @mamandell:
Is that issue still valid for you?

I agree with @yafp. Closing the issue for now.

No longer needed for me.   Thanks for being open source! I resized it for my phone by recompiling with the minimum size set larger   I still use this.  .Great app!


More syntax for adding serial numbers #1519

PR for #1519

[x] documentation
[x] maybe extra syntax

Simple clean change, thanks for the addition :

@SchrodingersGat I left out a 'all remaining' symbol as it would see virtual no usage. Also in my testing / writing the docs it made the options more difficult to explain.

Sure, understood. I think the additions you have made here are sufficient!


RedissonSetMultiMap throws error "too many results to unpack" when there are more than 8000 arguments

Expected behavior
I was using RedissonSetMultiMap to update the fiends set of a person in a group, it should be able to successfully update it.
Actual behavior
Got following error:
ERR Error running script (call to f_7c3b3f3f21cf881e4d180f655f0a0dd38e
10881b): @user_script:1: user_script:1: too many results to unpack. channel: [id: 0x21366dcc, L:/<IP_ADDRESS>:35870 - R:redis/<IP_ADDRESS>:6379] command: (EVAL), promise: java.util.concurrent.CompletableFuture@dd940cb1[Not
completed], params: [redis.call('hset', KEYS[1], ARGV[1], ARGV[2]); return redis.call('sadd', KEYS[2], unpack(ARGV, 3, #ARGV)); , 2, group:{a}:personToFriends, group:{a}:personToFriends:yO7EjZZWa519SNHOx8mbBw, PooledUnsafeDirectByteBuf(ridx: 0, widx: 8, cap: 256), yO7EjZZWa519SNHOx8mbBw, PooledUnsafeDirectByteBuf(ridx: 0, widx: 16, cap: 256), PooledUnsafeDirectByteBuf(ridx: 0, widx: 16, cap: 256), PooledUnsaf
eDirectByteBuf(ridx: 0, widx: 16, cap: 256), PooledUnsafeDirectByteBuf(ridx: 0, widx: 16, cap: 256), ...]

I also found this https://stackoverflow.com/questions/19202367/how-to-avoid-redis-calls-in-lua-script-limitations
Steps to reproduce or test case
Following code should produce the error
        RSetMultimap<Long, Long> setMultimap = redissonClient.getSetMultimap(
                "group:{a}:personToFriends");
        setMultimap.putAll(1L, LongStream.rangeClosed(1, 8001).boxed().collect(Collectors.toSet()));

Redis version
6.x
Redisson version
3.26.0
Redisson configuration
single node

Maybe simply process with multiple batches of size < 8k.

@leoxiao2012 Thanks for your reply! Is there a way to know this 8000 limit programmatically? Should Redisson library handle this or at least document it in the method?

Fixed. Thanks for report


log only relative paths

When e.g. running as a batch tool, result lines should be comparable across even when originiating from different base dirs.

Maybe a command line switch --full-path to enable output of full dirs?
Or connecting to -q / --quit?

File pathes in diff structure are inherently relativ to root dir.


Tokenary support on all platforms

Checklist

[ ] The version field in package.json is incremented following semantic versioning
[x] The box that allows repo maintainers to update this PR is checked
[x] I tested locally to make sure this feature/fix works
[x] I have run yarn type-check & yarn build to confirm there are not any associated errors
[x] This PR passes the Circle CI checks

@grachyov Thank you for the PR! We will have a production release of this change shortly


build(docker): Change default provisioner port to 3000

Closes #851
On MacOs, port 5000 is used by AirPlay receiver which will make the 'make up' command described in CONTRIBUTING.md fail for Mac users
Description of change
All occurrences of using port 5000 for the provisioner were changed to use port 3000 instead.
How Has This Been Tested (if applicable)?
Tested by activating the AirPort receiver (on port 5000) and running 'make up' - works. docker ps shows that the provisioner is running on 3000.

I've rebased my branch on the newest main and added the requested change. I amended the original commit (thought that was cleaner) so there's no new commit to see but the original hash has changed.


Cannot run :-(

Hello folks
Pytorch installed, no problem, and verified on python shell
GPU is present and enabled
I ran python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 as an end user
and the error i get at the end is
  File "/data/anaconda/envs/ptca/lib/python3.8/site-packages/vllm/worker/worker.py", line 189, in _check_if_gpu_supports_dtype     raise ValueError( ValueError: Bfloat16 is only supported on GPUs with compute capability of at least 8.0. Your Tesla T4 GPU has compute capability 7.5.
Please help. Thanks in advance and have several nice days ahead!

added --dtype float16 as mentioned in a readme file
Get a different error> will open a new issue. Closing this one
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 --dtype float16


Variable '$user' of type 'AddUserInput' used in position expecting type 'AddUserInput!

code
from datetime import datetime
from typing import List

import strawberry
from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession
from sqlalchemy.orm import sessionmaker

engine = create_async_engine(
    "mysql+aiomysql://root:123456@localhost:3306/sqlmap?charset=utf8mb4",
    echo=True,
)

async_session = sessionmaker(
    engine, expire_on_commit=True, class_=AsyncSession
)

session = async_session()

# 查询模型
@strawberry.type
class User:
    id: int = strawberry.field(description='用户id')
    username: str = strawberry.field(description='用户名')
    created: datetime = strawberry.field(description='创建时间')

@strawberry.type
class Message:
    errmsg: str = 'ok'

# 输入参数模型
@strawberry.input
class AddUserInput:
    username: str = strawberry.field(description='用户名')
    password: str = strawberry.field(description='密码')

# resolver
async def resolver_get_user():
    """获取用户列表"""
    results = await session.execute('select id, created, username from user;')
    return [User(**dict(zip(result.keys(), result))) for result in results]

@strawberry.type
class Query:
    users: List[User] = strawberry.field(resolver=resolver_get_user)

@strawberry.type
class Mutation:

    @strawberry.field
    async def add_user_input(self, user: AddUserInput) -> User:
        sql = 'insert into user (username, password) values ( "%s", "%s")' % (user.username, user.password)
        await session.execute(sql)
        await session.commit()
        sql = 'select id,username,created from user order by id desc limit 1'
        results = await session.execute(sql)
        return [User(**dict(zip(result.keys(), result))) for result in results][0]

schema = strawberry.Schema(query=Query, mutation=Mutation)

error:  Variable '$user' of type 'AddUserInput' used in position expecting type 'AddUserInput!

suceess

I don't know what's wrong

In your Python code, you annotated the function as being non-nullable (or rather, you didn't use Optional), but in your query you made it nullable (by not using !).
That's what the error message is complaining about.

In your Python code, you annotated the function as being non-nullable (or rather, you didn't use Optional), but in your query you made it nullable (by not using !).
That's what the error message is complaining about. Because the actual resolver is stricter than the function in your query, GraphQL doesn't allow it.
This can be a bit tricky, as the patterns that GraphQL schemas/queries use are a bit backwards from the way you define them in Strawberry.

Thank you. It has been modified and the result I expected is normal
mutation addUserInput($user: AddUserInput!){
  addUserInput(user:$user){
    id
  }
}


Feat/transactions

This pull request includes significant changes to the apps/product package, including renaming files and updating package names, as well as adding a new Transaction entity in the apps/transaction package. Additionally, it updates the main API initialization to reflect these changes.
Product Package Refactoring:

Renamed and updated package names for multiple files from products to product:

apps/product/entity.go
apps/product/entity_test.go
apps/product/handler.go
apps/product/repository.go
apps/product/request.go
apps/product/response.go
apps/product/service.go
apps/product/service_test.go

Added Init function to set up routing for product-related endpoints in apps/product/base.go.

Removed the old Init function and related imports in apps/products/base.go.

Transaction Entity Addition:

Added a new Transaction entity in apps/transaction/entity.go to define the structure of transactions.

Main API Initialization Update:

Updated import and initialization in cmd/api/main.go to use the new product package:

Changed import from products to product
Updated initialization call from products.Init to product.Init


Doesn't work anymore with VS Code 1.0

Hello there,
I love your extension since it just worked without any special setup steps. Unfortunately I don't get javascripts hints anymore with VS Code 1.0 (or at least I think that standardjs stopped working with release 1.0). Could you please take a look at this? I have my solution in github, if it helps please look at https://github.com/jp7677/hellocoreclr. I used to have standard hints when editing all my js files, but not anymore. Thanks in advance!

Hi, it's because there is no package.json file under your project root, just add one with an empty object:
{}

Since global standard works without a package.json, So I think it's a bug in the extension. I'll push a fix when I have some time.

Fixed in https://github.com/chenxsan/vscode-standardjs/commit/a4dd61003c5f536632ca7960ec3024c93b786cb3.

Indeed, confirmed on my setup. Thanks a lot!


Fix deprecation warning when running with Ember 3.6

In Ember 3.6 the off() function must be given the specific handler function to remove.

Any plans on when a new release will be made? :)

May have missed a depreciation here, am seeing this now: DEPRECATION: You attempted to remove a function listener which did not exist on the instance, which means it was an inherited prototype listener, or you attempted to remove it before it was added. Prototype function listeners have been deprecated, and attempting to remove a non-existent function listener this will error in the future. [deprecation id: events.inherited-function-listeners] See https://emberjs.com/deprecations/v3.x#toc_events-inherited-function-listeners for more details.
Will do another small fix for this.

#1725


STYLE: Remove ITKv3 Registration examples

Remove redundancy for ITKv3 examples with respect to ITKv4.
As ITKv5 does not support ITKv3 registration any longer, completely remove the examples.
PR Checklist

No Makes breaking changes
No Makes design changes
No Adds the License notice to new files.
No Adds Python wrapping.
No Adds tests and baseline comparison (quantitative).
No Adds test data.
[x] Removes outdated ITKv3 Registration Examples to ITKExamples
No Adds Documentation.

Based on comments in #809 we wanted to keep ITKv3 registration frameworks there for testing.  After a considerable effort to minimize the duplication between ITKv3 and ITKv4 examples, I identified that the ITKv3 registration code was NOT USED FOR TESTING, and had been turned off and inaccessible since early in the ITKv5 conversion (as evidenced by lack of support for new spatial objects, and many C++11 warning oversights, or refactoring skips).
In the end I think that removing the directory is the best option, but the intermediate path to getting there will provide granular restore points if it becomes necessary to restore these outdated examples.  I'd rather not squash them (which would be cleaner), but less granular for restore points.

I got most of them working here #814

likely c++11 warnings
many of the RegistrationITKv3 examples are duplicated in the RegistrationITKv4 directory.
many of the RegistrationITKv4 examples still use the old registration frame work

not sure what the path forward is here.

Nice work cleaning up the duplicates! I'm totally for merging that ASAP.
As for removing the reminder, I'm not on that page yet.

@blowekamp Give me an hour or two.  I think I have a good solution. When "BUILD_EXAMPLES" is turned on, the non-duplicated code will be built and tested (i.e. improve code coverage, and exercise old code in a way that was at one point our best practices suggestions).
I'm working through a linking issues now.

@blowekamp @dzenanz @thewtex  This took a bit longer than expected to move the code around.  I'd love to have this merged in soon so that the content in the Examples directory is only demonstrating modern best practices, and so that the long-dormant untested code starts to be tested again (at least when Examples are built).

Looks great!
Could we enable the examples and the legacy testing, just to test how the CI does with these examples?

I will add examples and ITKFEMRegistration to this build.


CalculateBackVisibility Exception

Not sure if this is a duplicate:
Exception:
System.UnauthorizedAccessException: Access is denied. (Excep_FromHResult 0x80070005)
at SharedLibrary!+0x375c4d
at SharedLibrary!+0x3b9f09
at SharedLibrary!+0x3fc879
at SharedLibrary!+0x3fc7fb
at SharedLibrary!+0x3fc7b7
at SharedLibrary!+0x3fccb1
at SharedLibrary!+0x3fcc9d
at Template10.Behaviors.NavButtonBehavior.CalculateBackVisibility(UI.Xaml.Controls.Frame frame)
at Template10.Behaviors.NavButtonBehavior.Calculate(Boolean allow)
at Template10.Behaviors.NavButtonBehavior.Attach(UI.Xaml.DependencyObject associatedObject)
at Microsoft.Xaml.Interactivity.BehaviorCollection.Attach(UI.Xaml.DependencyObject associatedObject)
at Microsoft.Xaml.Interactivity.Interaction.FrameworkElement_Loaded(Object sender, UI.Xaml.RoutedEventArgs e)
at SharedLibrary!+0x7e475b
at SharedLibrary!+0xadf933
at SharedLibrary!+0x7e1e39
at SharedLibrary!+0x7e224d
at SharedLibrary!+0x7e21a1
at SharedLibrary!+0x89a7ab
at SharedLibrary!+0x89a795
at RadarRabbit.App.CoreApplication_UnhandledErrorDetected(Object sender, ApplicationModel.Core.UnhandledErrorDetectedEventArgs e)
Stack Trace:
at SharedLibrary!+0x375c4d
at SharedLibrary!+0x3b9f09
at SharedLibrary!+0x3fc879
at SharedLibrary!+0x3fc7fb
at SharedLibrary!+0x3fc7b7
at SharedLibrary!+0x3fccb1
at SharedLibrary!+0x3fcc9d
at Template10.Behaviors.NavButtonBehavior.CalculateBackVisibility(UI.Xaml.Controls.Frame frame)
at Template10.Behaviors.NavButtonBehavior.Calculate(Boolean allow)
at Template10.Behaviors.NavButtonBehavior.Attach(UI.Xaml.DependencyObject associatedObject)
at Microsoft.Xaml.Interactivity.BehaviorCollection.Attach(UI.Xaml.DependencyObject associatedObject)
at Microsoft.Xaml.Interactivity.Interaction.FrameworkElement_Loaded(Object sender, UI.Xaml.RoutedEventArgs e)
at SharedLibrary!+0x7e475b
at SharedLibrary!+0xadf933
at SharedLibrary!+0x7e1e39
at SharedLibrary!+0x7e224d
at SharedLibrary!+0x7e21a1
at SharedLibrary!+0x89a7ab
at SharedLibrary!+0x89a795
at RadarRabbit.App.CoreApplication_UnhandledErrorDetected(Object sender, ApplicationModel.Core.UnhandledErrorDetectedEventArgs e)

Looks like this may be getting called on a non-UI thread.

I have never seen this. Please provide a repro.

I never see it either, but I get it from apps in the field fairly often. Pretty hard to fix if we can't duplicate it.

This looks like a potential null reference exception when f == null:
private static void FrameChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
        var b = (d as NavButtonBehavior);
        var f = e.NewValue as Frame;
        if (f == null)
        {
            b._goBackReg = f.RegisterPropertyChangedCallback(Frame.CanGoBackProperty, (s, args) => b.Calculate(true));
            b._goForwardReg = f.RegisterPropertyChangedCallback(Frame.CanGoForwardProperty, (s, args) => b.Calculate(true));
            f.SizeChanged += b.SizeChanged;
            f.LayoutUpdated += b.LayoutUpdated;
        }
        b.Calculate(true);
    }

Code looks correct. What's the issue?

If f is null, isn't a null reference exception thrown?

No.

@ozzy1873, sorry for the confusion. Daren just pointed out to me that I read the code backwards. :) No kidding. Sorry for the confusion.

The problem is still appearing in 1.1.2. I can't reproduce it by myself, but there are many crash reports.
Here is the stack trace:
   at SharedLibrary!<BaseAddress>+0x375c4d
   at SharedLibrary!<BaseAddress>+0x3b9f09
   at SharedLibrary!<BaseAddress>+0x3fc879
   at SharedLibrary!<BaseAddress>+0x3fc7fb
   at SharedLibrary!<BaseAddress>+0x3fc7b7
   at SharedLibrary!<BaseAddress>+0x3fccb1
   at SharedLibrary!<BaseAddress>+0x3fcc9d
   at Template10.Behaviors.NavButtonBehavior.CalculateBackVisibility(UI.Xaml.Controls.Frame frame)
   at Template10.Behaviors.NavButtonBehavior.Calculate(Boolean allow)
   at Template10.Behaviors.NavButtonBehavior.LayoutUpdated(Object sender, Object e)
   at SharedLibrary!<BaseAddress>+0x3af68d

Same thing here!
Access is denied. (Excep_FromHResult 0x80070005)


Add xml tests

Hello, sometimes it needs to test XML API. I added some tests to check that XML does work too

Outdated PR 👴, I'm closing it.


Enable JS functions

Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Yes ✅: please list the AWS provider version which introduced this functionality

Is your request related to a problem?
Yes, the module currently does not support creating functions using the JS runtime.
Describe the solution you'd like.
Adjust this module to accept runtime and code parameters to be forwarded to the internal aws_appsync_function resources.
Describe alternatives you've considered.
Using VTL. Really a no-go from my perspective.
Additional context
JS support for resolvers was recently added. This would nicely complement that new functionality.
I would be happy to submit a PR.

https://github.com/terraform-aws-modules/terraform-aws-appsync/pull/49 :)


test: add resource check test and fix a typo error in cli

Signed-off-by: letty<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did

fix issue #820
add tests for resource
depress the output of make build

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #821 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #821   +/-   ##
=======================================
  Coverage   13.95%   13.95%
=======================================
  Files         111      111
  Lines        6644     6644
=======================================
  Hits          927      927
  Misses       5655     5655
  Partials       62       62

Impacted Files
Coverage Δ

cli/common_flags.go
0% <0%> (ø)
:arrow_up:

cli/update.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM, let's kick the ball first and enjoy the test cases for the coming PRs.


Feature request: Custom pin colors

First of all thanks for the plugin, really amazing work!
My request is to add custom color codes (based on hex/rgb), since the default list of colors doesn't cover my use-case.
In my workflow I'd like to have a list of places for each category (e.g. food), and mark them with a tag #visited or #notvisited, to see at a glance which I still plan to visit.
The way I want to differentiate is to have slightly lighter/darker tones of the same color.
So for example the map would have:

Food places - marked with light/dark green
Museums - marked with light/dark red
Clothes stores - marked with light/dark blue

I know that there are already some shades of colors available, like "green", "green-dark", and "green-light", but for me they are not visually distinct enough from each other, and can blend-in together.
Thank you!

The need is very viable, I'll see what I can do.

If I recall, this actually used to work with SVG pins enabled (requires editing some JSON), but has unfortunately broken in one of the more recent builds (#143).
@esm7, do you know if the base marker colours (without SVG enabled) are bound by what Leaflet.ExtraMarkers supports by default?

Hi, sorry for the late reply.
You are completely correct in pointing out the problem and the related issue. Quick recap: in Map View 3.0.0 I did a major overhaul to how the plugin uses Leaflet.ExtraMarkers, overriding some of that library's code, because it proved to be extremely slow when scaled to thousands of markers like many users (including myself) have.
However, this broke some of the library's features. In some cases I was able to recreate these features, but in some cases not yet.
I worked on this a bit and wasn't yet able to get this to work, but I assume that a bit more persistence and I'll crack it.
The real problem is that in the past 2 months I haven't been able to spend time on this project, but as soon as I will, this is one of the prioritized issues to work on.


Add Gaia DR3

Adds a HF dataset for the subset of Gaia DR3 for which mean BP/RP spectra are available (~220 million stars). Includes astrometry, photometry, spectral coefficients, and photometrically-derived stellar parameters.
Related to https://github.com/AstroPile/FlatironMeeting2024/issues/12 and https://github.com/AstroPile/FlatironMeeting2024/issues/19.

currently doesn't include a download script for the main data file, I am not sure if there is a nice way to do the download but you can use a web interface here and it has been slightly modified by me but it is on ceph on rusty. also not sure whether we will eventually like to include all of Gaia (i.e., both more rows and more columns)
might want to think about including some default transform function to turn the spectral coefficients into wavelength/flux format, although the interface to do this with GaiaXPy is quite clunky

For reference the data format looks something like this:

Can these columns be added for the following reason? ruwe for general quality cut; nu_eff_used_in_astrometry, pseudocolour, ect_lat, astrometric_params_solved for Gaia zero-point correction (whose are the columns required by gaiadr3-zeropoint); rv_template_teff, grvs_mag for radial velocity correction (see: https://ui.adsabs.harvard.edu/abs/2023A%26A...674A...7B/abstract, https://ui.adsabs.harvard.edu/abs/2023A%26A...674A...5K/abstract).

We could think about adding a selection function accordng to the recommended cuts, e.g. ruwe<1.4, 5 params solved etc.

@henrysky ecl_lon and ecl_lat added into the astrometry category. Also added a separate corrections category with all the info you requested. ruwe has been added to a flags category. I also separated out radial velocity info.

We could think about adding a selection function according to the recommended cuts, e.g., ruwe<1.4, 5 params solved etc. Maybe even apply some corrections ourselves - the end user shouldn't be bothered by diving into some Gaia's caveats

I'm not so sure that it would be good to impose particular cuts given that we expect this dataset to be used for a broad variety of potential downstream tasks because the selections/cuts that one makes is very dependent on the task. For example selecting ruwe < 1.4 (probably good for most people) could cut out unresolved binaries, maybe someone out there is interested in. Some very broad cuts might be a good idea, but like you said we'd have to think very carefully about them.

Someone could think about adding globus download to create the parent sample. The raw DR3 data are available at Flatiron here https://app.globus.org/file-manager/collections/90f5713a-e74d-11ec-9bd2-2d2219dcc1fa/overview. At the moment the parent sample is a massive HDF5 I built (and the build_parent_sample.py script just healpix-ifies it), but that could actually be fairly easily constructed from the files available here.

We could think about adding a selection function according to the recommended cuts, e.g., ruwe<1.4, 5 params solved etc. Maybe even apply some corrections ourselves - the end user shouldn't be bothered by diving into some Gaia's caveats

I'm not so sure that it would be good to impose particular cuts given that we expect this dataset to be used for a broad variety of potential downstream tasks because the selections/cuts that one makes is very dependent on the task. For example selecting ruwe < 1.4 (probably good for most people) could cut out unresolved binaries, maybe someone out there is interested in. Some very broad cuts might be a good idea, but like you said we'd have to think very carefully about them.

Yes, maybe ruwe is not the best example. But sometimes you can filter sources with poor astrometric solution.

Added some scripts to download and prepare the appropriate data files to build the parent sample, and then prepare everything for the HF dataset.
Added a test.sh script which downloads a small amount of data, prepares it, and loads it.


Error when edit Group modules

Hi
I tested to open Group modules , there was a instant error , see pictures

Sometimes something good happens when finding an error like this. So now FREMO-names will also work for group owned modules. This will be fixed in release 1.1.5.


SpeechToText Memory Leaks

Summary
Remove reference cycles that were in SpeechToText. Partially addresses #213

Codecov Report

Merging #618 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #618      +/-   ##
==========================================
- Coverage   11.05%   11.05%   -0.01%
==========================================
  Files         236      236
  Lines       18232    18234       +2
==========================================
  Hits         2016     2016
- Misses      16216    16218       +2

Impacted Files
Coverage Δ

Source/SpeechToTextV1/SpeechToTextSession.swift
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Investigate Adding social semantics

I have not incorporated social semantics in this yet, but I'm sure there's some signal there.  I'd bet reddit, bitcointalk, and twitter would be good places to start

Yes, I was referring, more directly, to starting with screening the chatrooms available through the exchanges API's.
Poloniex has this available; and, taking advantage of how many times something is shared and where it is referenced might be an indicator of it's importance, or it's 'popularity' for another reason - finding the reason; or even taking advantage of pumps. Even vetting influencers.

@NDuma noodling on this a bit more.  the first step would simply be to start collecting the data.
i'm thinking that each currency pair has a set of keywords (ETH, Etherueum, vitalik buterin) for ETH as an example.  One could plausibly hit the API of a set of online chat rooms (polo trollbox, bitcointalk, r/ethtrader, etc), and simply store the text of any keyword matches in a time stamped model to start.
Once the data is stored in the model, we could think about feeding this into a classifier or a NN, and could maybe do some sentiment analysis of the comments to provide additional signal.
I wonder if this should be a priority over another strategy, say, for example, trying to minimize the impact of fees on the trading bot.

Agreed; a synonym and keyword list with associations would be needed; and, fairly easy to produce an initial set (Andrew in the room invited has one made already; but, not yet shared). Later, other words might be found to have -/+ correlations when used in context or by author (ie: bank, acquired, start-up, new platform - semantic data analysis might show something interesting).
Signal is the highest priority; as, it seems, without having actually looked at anything other than the description given (1 BTC traded w/ 2.5 in fees), the bot is over trading with not enough profit in each trade; meaning, it needs stronger signals for larger % gains in each trade to make up for the 0.15 - 0.25% fee. Is a list of all trades made available?
The reason I suggest actual chat boxes (PoloniBox.com keeps a public record available; but, has experienced some technical issues lately - the feed is available through the API anyhow) is because of the time relevant information being updated in a stream. StockTwits has been around for a while and the question is how much social is needed to push any particular amount of volume.
More sources would include lists of all the Official feeds from blogs to the organizations users / devs feeds to be monitored for updates. Back-testing for semantic correlations & other media outlets: ie: NYT / theMerkle.
Before bots, the market's all about psychology; anything can go to 1 billion if the people buying believe it should or could.

Also reference #13 in regards to indicators people use and mention.

Also #20

This may be a more appropriate place for my comment on #20

Have you looked at all into using Social Mention or Google Alerts for social sentiment analysis?
Sifting and reacting to viral bursts of social approval could provide large gains with minimal trading.
Update:
I wrote a simple HTML scraper in python that grabs the top four scores from Social Mention

Here’s a link to the code, at minimum it’s a proof of concept

Hey @jeff-hykin that's certainly an interesting idea.  I wasn't planning to have this repo be used to react to current events ( under the assumption that anything real time would require much more of a focus on performance ), but it's worth giving it a try.  I wish this was active this week when the NYTimes Ethereum article came out, that would have been a great test case.

Also, we have reditt/ and specifc Crypto channels and web sites like
Whaclub, Stakepool and the Telegrams. They have important feed for the Bots.
At Crypto Market, the info that rules came from the Devs... This is very
important!!
2016-03-30 10:28 GMT-03:00 Kevin Owocki<EMAIL_ADDRESS>
Hey @jeff-hykin https://github.com/jeff-hykin that's certainly an
interesting idea. I wasn't planning to have this repo be used to react to
current events ( under the assumption that anything real time would require
much more of a focus on performance ), but it's worth giving it a try. I
wish this was active this week when the NYTimes Ethereum article came out,
that would have been a great test case.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/owocki/pytrader/issues/8#issuecomment-203432381

Okay @owocki
So you’re saying pytrader operates in significantly less than real time? I apologize if this has a fairly obvious answer, I have a background in machine learning and AI but relative to this project I am inexperienced.
Do you think the information would be useful for non-real time projections? Ex: TSLA stock has risen from ~$170 gradually up to ~$230 (with a cap ~$280) since their mention of the model 3. This is likely in correlation with public option and media coverage. In fact their stock is likely to rocket tomorrow with the actual model 3 event.
What did you have in mind for adding social semantics?

@jeff-hykin Hi Jeff, currently, pytrader operates by using classifiers and NNs to predict price movements based upon the last n price movements of granularity g.  The trade.py loop sleeps for 95% of the time until it has an opportunity to make another evaluation like this.
I suppose what I'm saying is that no effort has been put into detecting trends on social media.  If we were to add trend detection into the system, I think we'd have to find a way to make the trade.py engine responsive to rapidly incoming information from social media.  There is certainly a role for social data to play, I just won't know what until we come up with some theory and successfully backtest it!
TLDR - Nothing social added to system yet, but it seems like it could have some promise.

@owocki Got it!
TLDR - I’ll start theorizing / testing independently and let you know if I find something interesting/practical
I’m personally interested in the social media aspect (even before PyTrader) so I may try to work on creating a successful way to integrate it. Currently my approach would be to have an external module sorting and finding patterns in social media. When it thinks it found something significant it would notify or startup the trade.py loop with some given parameters. It’ll have some method for combining its confidence with that of PyTrader. This is all (obviously) pretty theoretical, but let me know if this is blatantly incompatible with PyTrader.
Last night I ordered a Raspberry Pi 3 so I can run some Python scrapers 24/7 and build up a database (something I’ve been meaning to do for awhile). This should be a good first step for any direction with social semantics.

TLDR - I’ll start theorizing / testing independently and let you know if I find something interesting/practical

Awesome.  I'm putting in some cycles this weekend so maybe I'll catch you on slack and we can have a jam session (I'm in MST)

I’m personally interested in the social media aspect (even before PyTrader) so I may try to work on creating a successful way to integrate it. Currently my approach would be to have an external module sorting and finding patterns in social media. When it thinks it found something significant it would notify or startup the trade.py loop with some given parameters. It’ll have some method for combining its confidence with that of PyTrader. This is all (obviously) pretty theoretical, but let me know if this is blatantly incompatible with PyTrader.

You might try creating a separate django app ( ./manage.py startapp) with the models/logic.  Once the basic structure / social data is available, you and I can work together on how it integrates into the NN/trader engine.

Last night I ordered a Raspberry Pi 3 so I can run some Python scrapers 24/7 and build up a database (something I’ve been meaning to do for awhile). This should be a good first step for any direction with social semantics.

Coolio - The Pi 3 seems really powerful :) I have some Pi's around my house for various home automation projects, but I'm mostly a cloud guy when it comes to this kind of project.  A few of us on the pytrader slack have set up servers at digitalocean.  I was thinking of setting up a shared reference implenetation ( https://github.com/owocki/pytrader/issues/24 ) that will always have up to date prices (and social data if we get there ) that we can all pull into our individual trading instances.

TLDR: I’m still learning
Been busy with school the past week, but it ends in 3 weeks so that’ll help
I got the Pi but haven’t done much with it other than get the OS running.
I downloaded Two Scoops of Django which looked really helpful and correctly referred me to "Writing your first Django app, part 1” because I know nothing about it haha, so it might be a bit before I’m setting up a separate Django app on my own.
I also recently realized I don’t even know many of the basics of Python, despite writing many Python files. I never took the time to learn it from the ground up so I’ve been missing a lot of the most basic details. (I had no idea what  pep8 was or CPython or anything similar) Currently I found a great app by SoloLearn called “Learn Python” and have been moving through it quickly. I’ll likely be done with it in a few weeks and will then be programming stuff for the Pi 3 as well as learning Django.

v0.1 of this, containing twitter data => https://github.com/owocki/pytrader/pull/75

@owocki I noticed reddit as well.
Should we make a list and prioritize them somehow?
I think weightings might be relevant per individual on something like StockTwits pending their historical & follower size etc...
Also, the exchanges have API's which tie into their chat.
Analyzing news outlets might be a bit more challenging in discerning the content of the sentiment.

Should we make a list and prioritize them somehow?

Yeah, Im thinking that we got the main ones, but I'd be happy to shown wrong.

I think weightings might be relevant per individual on something like StockTwits pending their historical & follower size etc...

Thats a good point.  I'll noodle on how that gets added to the model.  Maybe adding a amplifier column to the model added in the work in #75.

Also, the exchanges have API's which tie into their chat.

I'd be curious if/how trollboxes provide any signal.  Its certainly worth testing.

Analyzing news outlets might be a bit more challenging in discerning the content of the sentiment.

Yeah, agree.  More objective.  But could be some signal in the volume.

More objective. But could be some signal in the volume.

or even the Alexa traffic ratings of the site; or, if the site has view / share #'s published

if/how trollboxes provide any signal.

We'd had someone analyzing polo's; although I'm not sure what else they were doing with it.
Might be good to find which BTCTalk articles are actually circulating & being cited (other places as well) - so they're not all weighted the same. ++ Pumps in those boxes do happen; even with mods.

Maybe adding a amplifier column to the model added in the work in #75.

Think that's a great idea; must've skipped over that issue thread.
There'll be more to add; copula of multivariate correlated distributions / covariate matrices ...
...
Apologies; in advance - 'citation' is condensed:
Following some of ICITE's work and In-Q-Tel programs with IARPA like Open Source Indicators Program and the "Good Judgement Project" via the ACE program - Social indicators to commodity prices can predict events ahead of time across the globe if done correctly; social sentiments might have negative correlations in specific scenarios / contexts.

@gitcoinbot test

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 0.1 ETH (69.21 USD @ $692.1/ETH) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$0 more funded OSS Work available on the Gitcoin Issue Explorer

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 0.1 ETH (69.21 USD @ $692.1/ETH) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$0 more funded OSS Work available on the Gitcoin Issue Explorer

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 0.1 ETH (69.21 USD @ $692.1/ETH) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$0 more funded OSS Work available on the Gitcoin Issue Explorer

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 0.1 ETH (69.21 USD @ $692.1/ETH) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$0 more funded OSS Work available on the Gitcoin Issue Explorer

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 0.03 ETH (20.76 USD @ $692.1/ETH) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$0 more funded OSS Work available on the Gitcoin Issue Explorer

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 0.03 ETH (20.76 USD @ $692.1/ETH) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$0 more funded OSS Work available on the Gitcoin Issue Explorer

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

This issue now has a funding of 0.03 ETH (20.76 USD @ $692.1/ETH) attached to it.

If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
Questions? Checkout Gitcoin Help or the Gitcoin Slack
$0 more funded OSS Work available on the Gitcoin Issue Explorer


config opt out not working

Bug Report
Current Behavior
As I understand it this project absorbed the probot-config functionality. The documentation on that project says that the lack of a file such as repo1:.github/stale.yml should result in the file .github:.github/stale.yml being substituted in-- i.e. it is opt out if you do not want this behavior.
See this issue as an example.
I realize that Stale is a different project, but the behavior I'm seeing seems to stem from probot-config and hence probot-core.

Yes that should work out of the box, it does in fact work for my WIP app: https://github.com/wip/app
Not sure where the problem lies 🤷♂


Monthly payment worksheet links

Update worksheet links
Changes

New monthly payment worksheet with fixed links
Updated changelog

Review

@amymok
@huetingj

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

push it!

looks great!


Update to include 22H2 build info

AS HCI 22H2 went GA the other day at Ignite. Can this page please be updated to include build numbers and release info?

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

ID: 22ce0662-cc07-34bc-1d9c-de7fd075bdee
Version Independent ID: fc01822a-5d78-b4e0-eb1a-ccd8d9c7bdf0
Content: Azure Stack HCI release information - Azure Stack HCI
Content Source: azure-stack/hci/release-information.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

@eponerine
Thanks for your feedback! We will investigate and update as appropriate.

@eponerine
Thank you for your time and patience!
Unfortunately, we don't provide product release updates through our GitHub channels. For this, I'd recommend referring to our Azure Updates or Microsoft 365 Roadmap pages for this info.

@AjayBathini-MSFT I'm sorry, but did you even bother checking the link I sent?
The Azure Stack HCI official docs literally link here for release notes. Ever build is included here.

@eponerine
I'm going to assign this to the document author so they can take a look at it accordingly.

@eponerine: Thanks for your feedback. The release info article is updated to include Azure Stack HCI, version 22H2 details. Thanks!
#please-close


sensor icons' color should be same with level class

level0: perfect, 0 to 50;
level1: good, 50 to 100;
level2: normal, 100 to 150;
level3: warning, 150 to 250;
level4: bad, 250 to 300;
level5: >= 300

notice it's reverse value order with field6 snr/noise/thrpt


inlining sfmt

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1375 of 1540 (89.29%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+6.1%) to 84.345%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sfmt/sfmt11213/sfmt.go
139
154
90.26%

sfmt/sfmt19937/sfmt.go
139
154
90.26%

sfmt/sfmt216091/sfmt.go
139
154
90.26%

sfmt/sfmt2281/sfmt.go
139
154
90.26%

sfmt/sfmt44497/sfmt.go
139
154
90.26%

sfmt/sfmt1279/sfmt.go
136
154
88.31%

sfmt/sfmt132049/sfmt.go
136
154
88.31%

sfmt/sfmt4253/sfmt.go
136
154
88.31%

sfmt/sfmt607/sfmt.go
136
154
88.31%

sfmt/sfmt86243/sfmt.go
136
154
88.31%

Totals

Change from base Build<PHONE_NUMBER>:
6.1%

Covered Lines:
2349

Relevant Lines:
2785

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1375 of 1540 (89.29%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+6.1%) to 84.345%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sfmt/sfmt11213/sfmt.go
139
154
90.26%

sfmt/sfmt19937/sfmt.go
139
154
90.26%

sfmt/sfmt216091/sfmt.go
139
154
90.26%

sfmt/sfmt2281/sfmt.go
139
154
90.26%

sfmt/sfmt44497/sfmt.go
139
154
90.26%

sfmt/sfmt1279/sfmt.go
136
154
88.31%

sfmt/sfmt132049/sfmt.go
136
154
88.31%

sfmt/sfmt4253/sfmt.go
136
154
88.31%

sfmt/sfmt607/sfmt.go
136
154
88.31%

sfmt/sfmt86243/sfmt.go
136
154
88.31%

Totals

Change from base Build<PHONE_NUMBER>:
6.1%

Covered Lines:
2349

Relevant Lines:
2785

💛  - Coveralls


Which part of code is the one directly commanding drone?

Hi, i've been analyzing the code, is it correct that this part of the code is the one directly commanding the movements of the cx-10?
## Serial comms - write to Arduino
throttle=clamp(throttle, 1000, 2000)
 rudder=clamp(rudder, 1000, 2000)
command="%i,%i,%i,%i"% (throttle, aileron, elevator, rudder)
 print "[PC]: "+command
 arduino.write(command+"\n")
cheers

Yes, that is essentially it.  The "arduino.write(command+"\n") line is the one that actually sends the command string to the Arduino.  The rest of it just constructs the string and the prints it out to the terminal for debug purposes.


Copying tasks – the easiest way?

Sorry for posting this as an issue, and feel free to mark it complete if you don't have time to look into it.
I'm basically trying to copy a task to another project, if the due date is today. This is what I have so far:
def copy_due(inp, outp):
    #Setup projects
    output_id = user.get_project(outp).id
    due_tasks = user.get_project(inp).get_uncompleted_tasks()

    for task in due_tasks:
        if task.due_date is not None:
            date_object = datetime.strptime(task.due_date, '%a %d %b %Y %H:%M:%S %z').date()

            if today_object == date_object:
                notes = task.get_notes() #I have yet to implement notes

                label_ids = task.labels

                response = api.add_item(user_api_token, task.content, project_id=output_id, date_string=task.due_date, priority=task.priority, labels=label_ids)

                task.complete()

            else:
                print("Dates don't match :(")

copy_due("Test", "Inbox")

Is there an easier way of doing this?
Also, the labels don't work yet, but I've added an issue for that separately.
Regards!
Martin

You can simplify this by using the search_tasks and move functions.
For example:
#!/usr/bin/env python

from pytodoist import todoist

def copy_due(user, inp, outp):
    from_project = user.get_project(inp)
    to_project = user.get_project(outp)
    tasks_due_today = user.search_tasks(todoist.Query.TODAY)
    tasks = filter(lambda t: t.project_id == from_project.id, tasks_due_today)
    for task in tasks:
        task.move(to_project)

if __name__ == "__main__":
    username =<EMAIL_ADDRESS>    password = "pas55W0rd"
    user = todoist.login(username, password)
    copy_due(user, "From", "To")

As this moves the entire task, the notes should also move over and the labels should no longer be an issue.

If you don't want to move the task, your approach looks fine as I don't think there is a shorter way to copy. However, I would still use search_tasks.

Your method is way more elegant! However, seeing as I have a working prototype and I'm a tinkerer at best with not much time on my hands, is there any reason I should modify it? 😊

You don't need to change your code if does what you want it to. It could be simpler but if it works, it works!

Awesome! I was wondering whether it might hit the todoist servers with an excessive amount of requests, but as I see it it gets the tasks I need and nothing more.
Thanks a lot for your help! Programmers like you empower noobs like me :)

No problem! If you have any more questions feel free to re-open this issue.


Clarification of mixed size atomic accesses

The A extension's documentation doesn't make clear whether mixed size atomic accesses are legal, illegal or explicitly states that it's unspecified.
Especially considering software in production (like wine for example) is already using mixed size atomic accesses this seems particularly problematic.
Mixed size atomic accesses are atomic accesses/operations on a single memory location that vary in size from different harts e.g one hart accesses the memory location with atomic instructions that operate on full words and another hart accesses the same memory location using atomic instructions that operate on less than a full word.

I think it follows from the axioms in the memory model that mixed-size
atomics are legal and do what you’d like. I don’t think any new normative
text is required here.
On Tue, Dec 13, 2022 at 4:05 AM terrarier2111 @.***>
wrote:

The A extension's documentation doesn't make clear whether mixed size
atomic accesses are legal, illegal or explicitly states that it's
unspecified.
Mixed size atomic accesses are atomic accesses/operations on a single
memory location that vary in size from different harts e.g one hart
accesses the memory location with atomic instructions that operate on full
words and another hart accesses the same memory location using atomic
instructions that operate on less than a full word.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/937, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH3XQREUMNP75PDWIBICPLWNBRA5ANCNFSM6AAAAAAS5D765E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for the clarification, I can wasn't able to deduce this from the rules layed out by the spec but maybe that's just a personal problem. You can close this if you deem it unnecessary.


Cloning Win* toolchains unstable in CI

Cloning Win* toolchains unstable in CI seems to be unstalbe on GHA. Perhaps the size of the repo is a hindrance. Look into submods as suggested here in the hope that smaller chunks of submods restore CI stability.

See also the option to cache, as is described here.

Consider caching

Consider an image for Ubuntu builds having ARM or AVR target(s). This could also be helpful for some other target builds such as V850/RL78/RX, as these GCC compiler(s) might be available as packages in older states of the compiler (which would be OK if they are old).

This remains unstable when cloning such large archives. Images or caches have not yet been implemented. Consider removing the nightly build until this gets improved.


Merge cli options with config file options?

Currently, the rules provided via the cli and the rules provided via a config file are merged where the cli options have higher priority. Should we do that or should we implement that if cli options are provided, the config file options are dropped?

Merge. That's how I do it in AVA and XO. The benefit is that it let's you define a base config in package.json and then override with CLI flags. You should recommend people use the config whenever possible for maintainability and to make it easier for eventual other tools to read the config.


always resolve workspaces, even if data serialized from outside pluto

Thanks for the package, nice hack to solve pluto serialization issues!
I noticed that it still cannot deserialize objects that were serialized from a script. Scenario like this:
# script
module M
include("M.jl")
end

serialize("file", M.MyStruct())

# notebook
module M
include("M.jl")
end

deserialize("file")

But there's nothing fundamental prohibiting this! The maybe_defined_in_workspace function is clever enough already, so that extra is_workspace conditions don't seem necessary.
At least, everything in such an example works fine when I do PlutoSerialization.is_workspace(::Module) = true in the notebook.

I'm fine with this, in principle, some tests of the expected changed behaviour to handle externally serialized data would be ideal.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.42%. Comparing base (3abad39) to head (32e6654).
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #11       +/-   ##
===========================================
- Coverage   78.57%   68.42%   -10.16%
===========================================
  Files           1        1
  Lines          98       95        -3
===========================================
- Hits           77       65       -12
- Misses         21       30        +9

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


improve some minor, but noticeable spelling issues

harmonises some punctuation & product names
corrects some typos

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks! I don't have merge rights, though. Maybe @TeodorTaushanov, @mak-elena or @Tanbari?


Update format-transact-sql.md

align code for readability

@markingmyname
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks for your contribution, but this formatting doesn't follow our formatting and style guidelines. We'll refresh this article in the meantime to make sure it's up to date.


Integrate Google Analytics to see which buttons users are clicking

@almonds0166, thoughts?

I think we could just have an endpoint to update this in the database directly.
There are multiple ways in which we could take ownership of our own analytics, and if we run one it would be worth it for other projects: https://github.com/awesome-selfhosted/awesome-selfhosted#analytics


Scores that aren't for the current song/difficulty can show anyway

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
Version Info
Latest available release
What operating system are you seeing the problem on?
Windows
Bug Behavior
On songs with nine or fewer scores, it is possible to go through the Score tab and reset it only to find there are now either more scores than there were before (which are scores from different songs/difficulties), or there will be white spaces where scores would go. Switching the song, the difficulty, or scrolling on the board will temporarily fix this.
Expected Behavior
No response
Reproduction Steps

Look for any song that is either unranked, unscored, or that has nine or fewer scores (using Top Scores might help).
Switch to the Scores tab.
Switch to the Online section.
Right-click to open the Scores in the General tab.

Anything else?
This video demonstrates the bug in action. Seems like whoever this "Lucky" is might be the one to get in touch with if you ever want to have four or more personalities.

fixed 6a2a963470018741a21b12c2da8ac6cc5bb7586f


Makefile: remove -it/-ti flags from docker calls

These control whether to run docker in interactive mode and attach the tty,
but may prohibit to run the build in CI environments where no tty is available
(e.g. Jenkins).

Thanks!


Merging start.cooking token - CosmusCartol

Looking to learn more about what triggered this PR. It will cause problems on some systems


Error 'The file was not found in the server.' with library component and use of locale strings

I have created two SPFx projects and use spfx-fast-serve in both.

spfx-lib => library component
spfx-web => web part

Without the inclusion of locale strings, it works very well. I have used these instructions.
Procedure

Create production build of the spfx-web project
gulp clean && gulp bundle --ship && gulp package-solution --ship

Deploy sppkg file to app catalog

Start npm run serve in library folder

Start npm run serve in web part folder

Add web part to page

Add URL parameter to load the local files
?loadSPFX=true&debugManifestsFile=https%3A%2F%2Flocalhost%3A4321%2Ftemp%2Fmanifests.js

Reload the page

The web part is displayed

A change to the library and web part code is immediately displayed in the web part.

If I now use the commented out code in the library component with the locale strings I get errors.

I have also noticed the following.
After a production build of the library component there are these files in the dist folder.

After npm run serve the LibraryComponentLibraryStrings.... is no longer present.

If I add the file manually and rename it, the web part works with the locale string value.

Thank you Markus for the detailed explanation! I was able to repro it on my end as well. That's again one of the multiple things which were changed in 1.12 release. I missed this kind of testing when we use localization strings inside the library component. I will work on it asap.

I've published a fixed 2.0.1 version.
To update:

Run npm i spfx-fast-serve -g
Check that you have 2.0.1 - by running npm list spfx-fast-serve -g
Inside library component project run spfx-fast-serve - it will add copy webpack plugin dependency and will update your ./fast-serve/webpack.js file content
run npm i inside library component (since one dependency was added on step 3)
Test your solution. Now inside library component project under /dist you should see resource files as well.

Works very well. Many thanks for the quick implementation.


TernaryOperatorSpacesFixer incompatible with nullable constructor property promotion

Bug report
After upgrading to PHP8 I have problems with CS Fixer. TernaryOperatorSpacesFixer inserts space after ? that marks nullable arguments in constructors with property promotion:
--- Original
+++ New
@@ -7,7 +7,7 @@
 class Foo
 {
     public function __construct(
-        private ?string $foo = null,
+        private ? string $foo = null,
     ) {
         is_null(true ? '...' : null);
     }

Code snippet that reproduces the problem
<?php

class Foo
{
    public function __construct(
        private ?string $foo = null,
    ) {
        is_null(true ? '...' : null);
    }
}

NOTE: Ternary operator used anywhere in the class triggers this invalid change. Without actual ternary in the code, constructor is not touched. Without property promotion it works properly too.

The difference between nullable argument with and without promotion is that tokenizer recognizes ? differently in nullable type.
Without property promotion:
28 => PhpCsFixer\Tokenizer\Token^ {#1485
    -content: "?"
    -id: 10022 // PhpCsFixer\Tokenizer\CT::T_NULLABLE_TYPE
    -isArray: true
    -changed: false
  }

With promotion:
30 => PhpCsFixer\Tokenizer\Token^ {#753
    -content: "?"
    -id: null
    -isArray: false
    -changed: false
  }

In the end that ? from nullable type exists or not in $ternaryOperatorIndices which is processed in TernaryOperatorSpacesFixer::applyFix().


Uncheck and disable http checkbox when Mutual SSL is enabled

Purpose

Fix https://github.com/wso2/api-manager/issues/2202

Description

According to the expected behaviour of the APIM if a user enable Mutual SSL in transport level security for an API, they could not use HTTP for that API. However in the publisher portal UI, users were able to select http even though Mutual SSL is enabled.
In this PR HTTP checkbox will be unchecked and disabled if an user decided to enable Mutual SSL.

Merging the PR since failed 2 cypress tests are not related to the fix.
Failed tests:

publisher/003-run-time-configs/04-enable-mutual-ssl-and-upload-certificate.spec.js
publisher/019-read-only-user/00-verify-that-read-only-user-cannot-create-update-api.spec.js

These tests have failed for several other PRs as well


jsPsych.startTime(); is undefined

Hi,
I am trying to add a timestamp to the experiment's data, but the function "jsPsych.startTime();" returns "undefined".
Date(); is working however.

Hi @mrzdcmps, is it possible that jsPsych.startTime() is being called before the experiment starts, i.e. when the page first loads? This would happen if it's in the main script rather than inside of a function (like a dynamic parameter or callback function). I've just tried this and it works for me:
var trial = {
    type: 'html-keyboard-response',
    stimulus: function() {
        return "Start time is: " + jsPsych.startTime();
    }
}

jsPsych.init({
    timeline: [trial]
});

I don't have any other ideas about why you're getting "undefined", but feel free to post the relevant bit of code if you want more help figuring it out.

@becky-gilbert That's it - thanks!


Remove ".git" at the end of the project URL

If the Git Repo URL contains ".git", we get the following error
Gitlab::Error::NotFound: Server responded with code 404, message: 404 Project Not Found.
As the URL should not contain ".git" at the end.

Cool, this look good 👍


Docker Environment Setup

This sets up the docker environment correctly using:
docker run --rm --volume="$PWD:/srv/jekyll" -it -p 4000:4000 jekyll/jekyll:3 jekyll serve
from the root folder.

Probably need to change the check-url workflow, as that is using a newer version of ruby.

I also cannot see how it is set up to work with GH Pages. I think the cleaner thing to do would be to create the gh-pages branch and have the actions push to that branch.

Yes, that's the course of action. We can start following this recipe via .asf.yaml file: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-GitHubPages
Also, we have a similar setup here: https://github.com/apache/incubator-kie-kogito-docs/tree/main/.github/workflows

https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml
Looks like a great place for us to start.


Transparency value of 0 defaults to 0.6

When trying to set the transparency property to 0, instead of being fully transparent it seems to default to 0.6.

Can see this is being addressed by #6. Will close and hope for it to be merged.


User adjustments to allow half days

Got an email from customer:
in the adjustments, It won't let me enter half days adjustment?

Can you help?
When entering, for example, 1.5 in adjustment, it shows the message
"you must enter a valid value"

Update CW about progress.


Replace NetworkHandle with network-api traits in RPC Handler impls

Describe the feature
atm rpc impls rely on the NetworkHandle type, for example:
https://github.com/paradigmxyz/reth/blob/c4bafe809b8689a2332d7d98902dd2e15c1d5adc/crates/net/rpc/src/net/mod.rs#L10-L12
As part of #683 the network-api crate was introduced:
https://github.com/paradigmxyz/reth/pull/838
This will allow us to replace NetworkHandle with the corresponding traits.
Additional context
No response

Aight, will handle this as #852 will benefit from this work as well!

Aight, so will get on this early on next week, as some PRs that concern this issue have been merged. Just wanted to ask for some pointers:

This will allow us to replace NetworkHandle with the corresponding traits.

We'll need to add more traits right? As the current traits do not cover the whole impl for NetworkHandle.
With phasing out NetworkHandle, I suppose we'll build many smaller Handles that are specialized for these traits? Happy to get a bit more info on this!

We'll need to add more traits right? As the current traits do not cover the whole impl for NetworkHandle.

yes, functions and traits, there's PeersInfo for readonly peer-related stuff, we def need something that allows us to add peers, ref admin namespace, which should be separate.

With phasing out NetworkHandle, I suppose we'll build many smaller Handles that are specialized for these traits?

the main motivation for this is, that making it dependent on traits rather than the NetworkHandle, makes improves testability so we can write custom implementations of the traits, and we don't need to launch the actual network in order to test rpc stuff.


Problem with string resource output [core]

As you can see in the above picture, jadx adds something 10,1010\ to the strings file. I'm not sure why it was showing like that.

@redmi111 thanks. Fixed, this must be a new line char (\n).


Create a new pull request by comparing changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 95.637%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
1978

Relevant Lines:
2029

💛  - Coveralls


Missing docu for Event LoginWithInstanceSecret

Hi,
in BTP Audit Logging we found a log with Event
LoginWithInstanceSecret
in
{
message_uuid: "c621e53d-cef0-4a83-9de1-85303776a480",
time: "2022-05-02T08:09:03.177Z",
tenant: "19f17b61-41ab-465b-9c85-d4870aaec4b7",
org_id: "92f1da92-e5b3-4cc5-8c90-964165af11c8",
space_id: "92f1da92-e5b3-4cc5-8c90-964165af11c8",
app_or_service_id: "92f1da92-e5b3-4cc5-8c90-964165af11c8",
als_service_id: "47dc5776-73b2-4358-b62b-2693d59ad522",
user: "sb-auditlog-viewer!t6316",
category: "audit.security-events",
format_version: "",
message: {
uuid: "c621e53d-cef0-4a83-9de1-85303776a480",
user: "sb-auditlog-viewer!t6316",
time: "2022-05-02T08:09:03.177261Z",
ip: "<IP_ADDRESS>",
data: "{"level":"INFO","origin":"sb-auditlog-viewer!t6316","msgNo":1,"msgId":"f213e9b7-30bc-4f44-babe-80dafc860f2e","message":"LoginWithInstanceSecret: Client 'sb-auditlog-viewer!t6316' used an instance secret in the request body for login.","user":"sb-auditlog-viewer!t6316","version":"1.0"}",
attributes: [ ],
id: "572c8b53-6604-4fc6-8698-28e2cec139df",
category: "audit.security-events",
tenant: "19f17b61-41ab-465b-9c85-d4870aaec4b7",
customDetails: { }
}
}
Could you add a documentation for this event on
https://docs.cloudfoundry.org/running/managing-cf/uaa-audit-requirements.html
please?

Hi,
this here is the OSS UAA, I know it from @torsten-sap what you found is SAPs UAA (aka XSUAA) but the code for this is not available for public


Update to latest cfn spec

Hey mate, just an update to the CFN spec.
Not sure where I am suppose to be bumping the nuget version? Just in the Project file for each project?
Let me know if anything else is needed.
Chur

Yeah have a look in the VersionPrefix of the package.csproj for Humidifier and Humidifier.Json projects. Just bump that. I'll push a new tag which wall cause a package to be published

Like this commit: https://github.com/jakejscott/Humidifier/commit/dd50f7344c16d1e918eb8b16a242c026a5953f68

@jakejscott bumped the patch version, if that's all good, otherwise I can change the minor.
Cheers

🍻 🍻 🍻


Error on Crash after running for two days

Task was destroyed but it is pending! task: <Task pending coro=<VoiceClient.keep_alive_handler() running at /usr/local/lib/python3.5/dist-packages/discord/voice_client.py:194> wait_for=<Future pending cb=[Task._wakeup()]>> Task was destroyed but it is pending! task: <Task pending coro=<WebSocketCommonProtocol.run() running at /usr/local/lib/python3.5/dist-packages/websockets/protocol.py:302> wait_for=<Future pending cb=[Task._wakeup()]>>
I get this error printed to my console, first time I noticed it crash entirely. I don't know who was doing what to the bot at the time but when I got home from work, this was the error and it was offline. If you need more info I can try to find it!
Running  Ubuntu 14.04.4 x64 512 MB Memory / 20 GB Disk Digital Ocean server

Discord went down earlier today, when that happens usually all the bots disconnect and crash.  There's no reconnect code in discord.py yet and the one I wrote is still in review.

Alright i thought it was a bot issue, thank you!


[Fix] test to check various user group access

The existing test checks that users from different groups have different
access and that this access can be setup via RHOAI User settings.
What this test does:

creates a custom-admins-group with ldap-admin2 user
creates a custom-users-group with ldap-user2 user
configures first group as admins in RHOAI User settings
configures second group as users in RHOAI User settings

Once this was applied it tried to perform operations with three
different users:

ldap-admin1 - expected no privileges and simple Access permissions needed page presented
ldap-admin2 - all privileges
ldap-user2 - no Administration page shown

Problem in this approach is that the ldap-admin1 is part of the
dedicated-admins group, which has a cluster-admin role in our
default cluster settings. Per this [1], such user is an admin by
default.
So my changes incorporates usage of the ldap-user9 (TEST_USER4)
instead of ldap-admin1.
Also, unnecessary check for the product version is removed with this
commit.
[1] https://access.redhat.com/documentation/en-us/red_hat_openshift_data_science/1/html-single/managing_users_and_user_resources/index#defining-openshift-data-science-admin-and-user-groups_user-mgmt
By default, users with cluster admin permissions and users in the
dedicated-admins administrator group are OpenShift Data Science
administrators, but all users authenticated in OpenShift can access
OpenShift Data Science. A cluster admin is a superuser that can perform
any action in any project in the OpenShift cluster.

@jstourac

htpasswd-cluster-admin - expected no privileges and simple Access permissions needed page presented

I think this is not correct, because the test uses TEST_USER who is not htpasswd-cluster-admin

@jstourac

htpasswd-cluster-admin - expected no privileges and simple Access permissions needed page presented

I think this is not correct, because the test uses TEST_USER who is not htpasswd-cluster-admin

Uf, you're right, Berto; good catch:
TEST_USER:
  AUTH_TYPE: ldap-provider-qe
  USERNAME: ldap-admin1

I have it modified in my local properties settings, damn.
Anyway, I've checked the cluster config for the ldap-admin1 and the situation is same - it is part of the dedicated-admins group, which has a role of cluster-admin assigned. I'll update the description.
Not sure for how long this test been failing in which release this got changed.

yeah, this is actually an environement issue rather than test issue, because the script our CI uses to create IDPs assignes wrong permissions to ldap-admin users. We should fix it there, I haven't done it yet because I was working on a new script for IDPs (which is completed and used by interop team).
In the meantime I'm okay with fixing the test. You can have a look at how it's been done in ods_ci/tests/Tests/400__ods_dashboard/415__ods_dashboard_projects/415__ods_dashboard_projects_permissions_mgmt.robot where there is a test setup which ensure the users have the right permissions: Set User Groups For Testing kw.