change location where we store nightlies docs

It might be useful to change the directory structure we store the docs in when rsync to nightlies - so that URLs more closely match those traditionally used in the docs.akka.io site.
The URL will start https://nightlies.apache.org/pekko but the rest of the path is under our control.
https://nightlies.apache.org/pekko/pekko-docs-main/docs/typed/actors.html -- could be changed to https://nightlies.apache.org/pekko/docs/pekko/current/typed/actors.html
After docs, the path elements are pekko (this is pekko-http for http docs, etc.) and current for the version.

@jrudolph @mdedetrich would this change make sense? We could then redirect pekko.apache.org to the https://nightlies.apache.org/pekko site using a .htaccess file.

I am fine with this but I may be missing something.

First of all, let's not optimize paths on the nightly server for public consumption. If we have to serve using redirects from this domain, it's just a bandaid we should try to get rid of. In any case, we should never point any public links to it (but we might be required to use .htaccess to serve documentation).
That said, we should just choose a folder layout that helps organizing all the bits in the best way. I assumed we would get a top-level folder for all subprojects but I might have misunderstood that. The current layout is modeled after what flink does but they don't have many subprojects so deviating from that makes sense.
The current folder (or symlink) in Akka does not point to the latest snapshot but to the latest released public version, so if we are for consistency we shouldn't be using current for snapshots. Maybe we could organize it like this:

pekko/docs/pekko/snapshot-main/{docs,api,japi}: published from main branch of pekko
pekko/docs/pekko-http/snapshot-main/{docs,api,japi}: published from main branch of pekko-http
etc
pekko/docs/pekko/snapshot-release-1.0/{docs,api,japi}: published from release 1.0 branch of pekko
(if necessary) pekko/docs/pekko/1.0.0/{docs,api,japi}: released version of docs for public 1.0.0 version
(if necessary) pekko/docs/pekko/current/: link to the latest released version of docs

We should still strive to serve public release docs from the proper domain and it's probably totally possible to use the git based infra for that.

We have one https://nightlies.apache.org/pekko site for our whole project. The pekko, pekko-http, etc. docs would all be uploaded there.

I'm happy with all of @jrudolph's suggestions. pekko.apache.org could be pointed at the snapshot-main docs on nightlies site as a short term convenience. When we do a 1.0.0 release, we will probably change so that pekko.apache.org site does not use the artifacts on the nightlies site (Flink do use the nightlies site, even to serve their release docs -- but I think this is untidy - and Incubator PMC might also think is untidy if we went this route for the post-release pekko site).

(if necessary) pekko/docs/pekko/current/: link to the latest released version of docs

I would classify this as necessary because its very useful to have a consistent reference to the latest released versions.

Yes, sure, but not necessarily on the nightlies domain.

pekko/docs/pekko/snapshot-release-1.0/{docs,api,japi}: published from release 1.0 branch of pekko

Is this necessary? To me just having snapshots from main should be enough because I don't see how useful granular release branch snapshots docs would be to users.

True, depends a bit on how long we will be supporting release branches.


How do I migrate the 'Rank' of issues in backlog in Jira to Order or 'StackRank' in Azure DevOps

Hi,
I have been testing export from Jira server to Azure Dev Ops and even if I rank the issues in the JQL query used in the config file when exported the issues seem to appear in random order in the backlog in Azure Boards.
Is there some known way of keeping the rank of issues between the two systems? I have tried googling but can not find any information on this so I feel that I am either missing something obvious or this is not possible.
I have tried mapping between
{
"source": "Rank",
"target": "Microsoft.VSTS.Common.StackRank",
"for": "User Story, Issue, Epic, Feature"
}
but StackRank field was empty in the tickets imported to Azure dev ops.
Any help on this would be greatly appriciated.
Best, Jónheiður
AB#5013

Hi,
Jira and AzureDevops use different ranking systems.
You have to convert the Jira strings (like: "1|dfla1xx") into a double number.
Jira ranking system: https://tmcalm.nl/blog/lexorank-jira-ranking-system-explained/
DevOps: https://docs.microsoft.com/en-us/azure/devops/boards/queries/planning-ranking-priorities?view=azure-devops
Use a scripting language (e.g. Python) between export and import.

Export all IDs and Jira ranks from the ticket files.
(The ticket KA-666 is prioritised higher than KA-667 in Jira !!)

JiraID
Jira Rank

KA-667
1aaabbb3

KA-666
1aaabbb2

Sort all IDs according to their Jira rank.

JiraID
Jira Rank

KA-666
1aaabbb2

KA-667
1aaabbb3

Assign a number to the Ids (DevOps StackRank).
(Like:<PHONE_NUMBER> +(index*666) )

index
JiraID
Jira Rank
DevOps StackRank

1
KA-666
1aaabbb2
1750000666

2
KA-667
1aaabbb3
1750001332

Replace the Jira strings with the new StackRank numbers in all ticket files.

Example for the KA-666.json file:
From:
{           "ReferenceName": "Microsoft.VSTS.Common.StackRank",           "Value": "1aaabbb2"         }
To:
{           "ReferenceName": "Microsoft.VSTS.Common.StackRank",           "Value":<PHONE_NUMBER>         }

Is there a phyton scrip available for doing this? (I do not know phyton...)


EWAHCompressedBitmap: iterators returning incorrect values

Minimal example I could find:
EWAHCompressedBitmap main = new EWAHCompressedBitmap();
EWAHCompressedBitmap other = new EWAHCompressedBitmap();
main.clear(70583);
other = other.xor(main);
other.set(43013);
other = other.xor(main);
System.out.println(other.reverseIntIterator().next())

Output:
42885

Another example. This time using the forward iterator. Might be something else or related:
EWAHCompressedBitmap main = new EWAHCompressedBitmap();
EWAHCompressedBitmap other = new EWAHCompressedBitmap();
main.set(33209);
other = other.and(main);
other = other.xor(main);
System.out.println(other.iterator().next());

Output
33273

Another maybe related issue:
        EWAHCompressedBitmap main = new EWAHCompressedBitmap();
        EWAHCompressedBitmap other = new EWAHCompressedBitmap();
        main = main.and(other);
        other.clear(96836);
        main = main.andNot(other);
        main = main.and(other);
        main.set(96118);
        other = other.and(main);
        other = other.or(main);
        IntIterator intIterator = other.reverseIntIterator();
        System.out.println(intIterator.next());

output:
96054

Bug created by my bad fix of issue 70.

This is a regression caused by a bad bug fix.


Flag away react UI

Closes: #4668
What's Changed

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

Looks reasonable. Any changes needed to the dev environment and/or development/nautobot_config.py to handle this?

I don't think so, since there is no plan on developing React UI for now it should be False, except i'm wrong

Looks reasonable. Any changes needed to the dev environment and/or development/nautobot_config.py to handle this?

I don't think so, since there is no plan on developing React UI for now it should be False, except i'm wrong

Right, so I'd expect:

dev environment should not build react UI or start the nodejs container by default for now
it should be straightforward to enable the above when desired, though

Looks reasonable. Any changes needed to the dev environment and/or development/nautobot_config.py to handle this?

I don't think so, since there is no plan on developing React UI for now it should be False, except i'm wrong

Right, so I'd expect:

dev environment should not build react UI or start the nodejs container by default for now
it should be straightforward to enable the above when desired, though

💯


Incorrect port registered when using management.port

In some instances it makes sense to run the spring boot management server on a different port from the primary application server. This can be accomplished by setting 'management.port'.
Documented in 41.3 here: http://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-monitoring.html
When management.port is set, spring-cloud-consul registers two NewService's with consul, one for the primary application and one for the management. It is helpful to have both services registered in consul separately. However, both services are registered with a port equal to the management.port, making the application service entry in the consul catalog incorrect.

I'm unable to duplicate.  Do you have a project you can share?

I made a slimmed down project that demonstrates the same behavior:
link to repo
The application context runs on port 8080 and the management context runs on port 8081

Both the application and management context are registered with consul on port 8081, rather than their respective ports.
The consul service ids for both services contain '8080' in their string, rather than their respective ports.
For the application health check, the url contains port 8081. I'd actually like this health check to be on port 8080, but understand this might be a bit atypcial and can address by overriding the healthCheckUrl with an application.yml entry.

@bpgray thanks for the repo, very helpful!

Thank you for the very fast response! Tested out great on my end.


#348: no-cache flag implementation

Signed-off-by: Eugen Cristea<EMAIL_ADDRESS>

Thanks for the PR. I added it to branch integration at it will be available in the next version.

No, no, no, I have to say Thank you for sharing your great work.
eugen

On January 20, 2016 at 9:08 AM Roland Huß<EMAIL_ADDRESS>wrote:
Thanks for the PR. I added it to branch integration at it will be available
in the next version.

Reply to this email directly or view it on GitHub:
https://github.com/rhuss/docker-maven-plugin/pull/353#issuecomment-173124046


[WIP] Improve dora load job

What changes are proposed in this pull request?

Introduced an iterable UFS status listing interface
Avoid calling getStatus from dora worker. Passing the UfsStatus via grpc request

Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

is metadata sync part of the plan in this?


Add Laravel Backup

This PR adds spatie/laravel-backup which will allow admins to backup their database. Here are some important setting that can be set in the .env:
-BACKUP_ENABLED: true/false (default)
-BACKUP_DISKS: comma-separated, local by default. Create disks in config/filesystems.php.
-BACKUP_ARCHIVE_PASSWORD: AES256 encryption password if set. empty/null = disabled (default)
-BACKUP_FAILED_NOTIFICATIONS_CHANNELS: mail (default), discord, mail,discord, or empty.
-BACKUP_SUCCEED_NOTIFICATIONS_CHANNELS: mail, discord, mail,discord, or empty (default)
-BACKUP_NOTIFICATIONS_MAIL_TO: Email for notifications.
-BACKUP_DISCORD_WEBHOOK_URL: Discord webhook URL.
-BACKUP_DISCORD_USERNAME/BACKUP_DISCORD_AVATAR_URL: Discord customization.

I used to have this in phpvms before but removed it because it was causing issues with storage and slowing things down with the cron on larger backups. Lemme look at your pr in more detail later

no worries. The backups are compressed and start around 1am. I have had it in production since the beginning. I can't really talk about the CPU impact because my production is on a good vps.  Additionally, enabling this feature is optional, disabled by default.

Yeah we can do that. We just need to look at how we want to push to this s3env because I think that depending on how we want to push (ftp, sftp, s3...) we need additional composer packages

@FatihKoz that's a good idea, I think maybe in another PR we can define a disk which can be entirely setup through the env

yeah it would be great, I am just thinking on making things (specially updates and installations) easy :)


[Layout/ExtraSpacing] Using emojis in String changes behaviour

Given this object:
toto = [
  ["Abc",          1],
  ["Bcdef",        10],
  ["Cdef",         100],
  ["Defghijklm",   100],
  ["Efg ⭐",       1000],
  ["Fghij",        1000],
  ["Ghijklmnopqr", 10]
]

I choose to align the numbers using spaces relative to the longest String in the Array, in that case the last one.
I would expect this syntax to be valid, but RuboCop auto-corrects the row containing an emoji like this:
toto = [
  ["Abc",          1],
  ["Bcdef",        10],
  ["Cdef",         100],
  ["Defghijklm",   100],
  ["Efg ⭐", 1000],
  ["Fghij",        1000],
  ["Ghijklmnopqr", 10]
]

If I remove the emoji, the initial syntax is considered valid and is not corrected:
toto = [
  ["Abc",          1],
  ["Bcdef",        10],
  ["Cdef",         100],
  ["Defghijklm",   100],
  ["Efg",          1000],
  ["Fghij",        1000],
  ["Ghijklmnopqr", 10]
]

RuboCop version
$ bundle exec rubocop -V
1.35.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.21.0, running on ruby 3.1.2 arm64-darwin21)
  - rubocop-performance 1.14.3
  - rubocop-rails 2.15.2

With this exact configuration:
require:
  - rubocop-performance
  - rubocop-rails

AllCops:
  NewCops: enable

Layout/LineLength:
  Enabled: false

Lint/MissingSuper:
  Exclude:
    - "**/app/components/**/*"

Metrics/AbcSize:
  Enabled: false

Metrics/BlockLength:
  Enabled: false

Metrics/ClassLength:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: false

Metrics/MethodLength:
  Enabled: false

Metrics/PerceivedComplexity:
  Enabled: false

Naming/VariableNumber:
  EnforcedStyle: snake_case

Rails/I18nLocaleTexts:
  Enabled: false

Rails/BulkChangeTable:
  Enabled: false

Rails/SkipsModelValidations:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/NumericPredicate:
  EnforcedStyle: comparison

Style/StringLiterals:
  EnforcedStyle: double_quotes

It's difficult to tell whether this is a bug or not. In my environment it looked like one space was missing before 1000. And there is no warning when spaces are added.
 toto = [
   ["Abc",          1],
   ["Bcdef",        10],
   ["Cdef",         100],
   ["Defghijklm",   100],
-  ["Efg ⭐",       1000],
+  ["Efg ⭐",        1000],
   ["Fghij",        1000],
   ["Ghijklmnopqr", 10]
 ]

Below are the before and after screen captures.
Before:

After:

Your screenshots are really helpful.
This is a tricky one: emojis are displayed across 2 characters in my editor, but they account for 1 only. So the display I get is the same as the one you can see in my initial message on GitHub:
toto = [
  ["Abc",          1],
  ["Bcdef",        10],
  ["Cdef",         100],
  ["Defghijklm",   100],
  ["Efg ⭐",       1000],
  ["Fghij",        1000],
  ["Ghijklmnopqr", 10]
]

But the truth lies in your screenshot: a space was definitely missing for RuboCop.
toto = [
  ["Abc",          1],
  ["Bcdef",        10],
  ["Cdef",         100],
  ["Defghijklm",   100],
  ["Efg ⭐",        1000],
  ["Fghij",        1000],
  ["Ghijklmnopqr", 10]
]

is the correct approach.
I could have searched this one for a long time, now I am curious if I can render that just like you in VSCode.
Thank you for your help, I am closing the issue.


Remove version: eTeks.SweetHome3D version 6.5.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


[Contribution] Chrome Extension Launcher

Type:

[ ] bug
[ ] feature
[ ] enhancement
[ ] question
[x] heads-up

Description:
Hi, thanks for your plugin. It inspired me to code a "companion" plugin, in order to have a even smoother experience developping chrome extensions.
I figured you, Rubens, and the other developpers here, would appreciate it:
https://github.com/jeremyben/webpack-chrome-extension-launcher
Of course, I decided to mention your plugin in my readme.
Keep up the good work !
Jeremy

Hey Jeremy! Awesome, thanks for citing me :)
If you have any questions to apply on your plugin don't mind to ask!
Whenever you see improvements or this plugin too, PRs are very welcome too
All the best!

Thanks ! Yeah I noticed something on contentscript arrays not working for hot reload, I think I got the root cause in your code, so I might do a PR this week or next.


Uncertain Morph Bug

Possible bug where being Morphed prevents player from going through void portal. Unable to reproduce but multiple players have the issue.

Confirmed

Should probably state that morph wasnt the cause at all and the issue wasnt even fixed in that commit, it was caused by me forgetting to stop client side checks on that tick handler... fixed it recently forget what commit oh well.


German language support

I saw that @julien-me added french language support, so i thought that i could add german language support. Hope it is ok for you. And if you don't like "de" for german, i can change it to "ger" or something like that
Also, this is my first PR ever, so please tell me if i did something wrong

Hi, I will be merging this as soon as I get the full picture of how I'm going to handle languages with this project.


Add spanish translation - [closed]

In GitLab by @elfonochasis on Feb 1, 2022, 03:08
Merges elfonochasis-beta-patch-79501 -> beta
Spanish translation by Luvero#5745

In GitLab by @Asacolips on Feb 15, 2022, 13:05
requested review from @Asacolips

In GitLab by @Asacolips on Jul 12, 2022, 09:10
Just wanted to chime in on this one real quick. I'm hoping to release version 0.5.0 of the system this week, and I'll try to include this one once I've had time to test it.

In GitLab by @elfonochasis on Feb 1, 2022, 03:11
added 1 commit
4597d386 - Update src/yaml/system.yml
Compare with previous version

In GitLab by @Asacolips on Nov 11, 2022, 15:52
I was unable to merge this due to conflicts, but I cherry picked the commit into the 0.7.0 release so that the commit history still made it in. This is now available as part of 0.7.0, so I'm going to go ahead and close this MR. Thanks again for this @elfonochasis!


[OPPRO-102] Use Arrow ABI bridge functions in C++ code

Velox's reported leaks were fixed in TPC-H Q1/Q6.

@marin-ma Would you please help verify this?

Verified locally. There's no reported memory leak when the job finishes.

The result mismatch issue still exists, but seems irrelevant to this fix.

@rui-mo Please take a look also. Thanks.


[Android] lateinit property stripe has not been initialized

Steps to produce this error:
Step 1: Make Sofort Payment
Step 2: You will get this error Screen lateinit property stripe has not been initialized
Step 3. Reload the App and try again. It works!
I am getting this error sometimes.
Screenshots

Smartphone:

Device: Realme x
OS: Android 10

How are you initializing Stripe? Are you using StripeProvider or initStripe? Can you please share your code?

oops! I forgot to initialize Stripe. Thanks for your quick response.
Your question solved my issue :p


get toplist not working, len of list is empty

toplist = self.session.get_toplist(type=spotify.ToplistType.TRACKS, region='US')
toplist.load()
print len(toplist.tracks)
-> 0
print len(toplist.artists)
-> 0
Tell me how to fix this issue?
thanks!

Toplists seems to work as expected:
In [1]: import spotify

In [2]: session = spotify.Session()

In [3]: session.login('user', 'secret')

In [4]: loop = spotify.EventLoop(session)

In [5]: loop.start()

In [6]: toplist = session.get_toplist(type=spotify.ToplistType.TRACKS, region='US')

In [7]: toplist.load()
Out[7]: Toplist(type=<ToplistType.TRACKS: 2>, region='US', canonical_username=None)

In [8]: len(toplist.tracks)
Out[8]: 100

In [9]: len(toplist.artists)
Out[9]: 0

Closing, as I assume you haven't been waiting for a solution for 3.5y.


OPS-3584 Add SourceIdentity parameter to assumeRole call

Issue #, if available:
Description of changes:
Call assumeRole with the SourceIdentity parameter set to the Github Actor

Don't forget to rebuild this and update the dist directory


Deploy endpoint validation API in API Gateway

Describe your problem(s)
Currently, the API endpoint validation (https://localhost:9443/api/am/publisher/v1.0/apis/validate-endpoint?endpointUrl='') in the Publisher portal is happening via direct HTTP Head call initiated from the Publisher node. This is less secure when the Publisher node has direct access to other services in the same private network layer.
Describe your solution
Make endpoint validation request goes through WSO2 API Gateway.
How will you implement it
Deploy the API "ValidateEndpoint" by default for each tenant in API Gateway. If needed, provide admin users with the capability to set rate-limiting as well, so that request bursting will be prevented.

This has now assigned CVE-2020-13226.


Migrate to .ci.yaml

Issues
https://github.com/flutter/flutter/issues/82303
Pre-launch Checklist

[X] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[X] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[X] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[X] I signed the [CLA].
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[X] All existing and new tests are passing.

analysis failling:
/tmp/flutter sdk/.ci.yaml:1503: trailing blank line
/tmp/flutter sdk/dev/README.md:8: trailing blank line

@CaseyHillers Can you update https://github.com/flutter/flutter/wiki/Adding-a-new-Test-Shard accordingly?

Good catch @Hixie, I updated the documentation with the .ci.yaml workflow

Thanks!


Login form allows for user enumeration

Describe the bug
Attempt to login with an address that isn't registered will indicate that the account is not registered (i.e. "there is no user with this address").
To Reproduce
Input<EMAIL_ADDRESS>or some other address that isn't registered in the login form and try to login.
Expected behavior
The login form should show the same message regardless of if the user is registered or not.
Screenshots

Additional context
User enumeration has a negative effect on a users' privacy. It can also be used in social engineering where someone can for example try to increase their legitimacy by pretending to be a representative of a site that the target is registered on.

This was reported in the past, and at that time and for this precise point, we fell it was more important to give that feedback to the user, versus not giving that information.
A lot of websites are telling you the exact same information through the "Sign Up" / "Register" form. How is that different?

A lot of websites are telling you the exact same information through the "Sign Up" / "Register" form. How is that different?

It's not. They either make an active decision on whether the risk and privacy of their users is worth the inconvenience or do it without considering if it is.
Can you link the previous discussion? I'm unable to find it.
In my mind It's understandable that big services like Facebook and Google does it - everyone is assumed to have an account anyways and especially with Google it's probably a 1:1 mapping with the e-mail you are testing for anyways. My rule of thumb would be: the more niche your service is, the higher the potential for abuse.

I'm unable to find the previous discussion now. Not sure what was the medium at the time :-/
I just tested with GitHub, Patreon and Spotify, and they're all disclosing this information in their Signup form. Looks like a widespread practice, not saying we should not do anything about it.

Related, rate limiting the endpoint: https://github.com/opencollective/opencollective/issues/1455


Update supporting Kubernetes (1.27)

Update Procedure

Read this document.

Before Check List
There is a check list to confirm depending libraries or tools are released.
Must Update Dependencies
Must update Kubernetes with each new version of Kubernetes.

[x] k8s.io/api

https://github.com/kubernetes/api/tags

The supported Kubernetes version is written in the description of each tag.

[x] k8s.io/apimachinery

https://github.com/kubernetes/apimachinery/tags

The supported Kubernetes version is written in the description of each tag.

[x] k8s.io/client-go

https://github.com/kubernetes/client-go/tags

The supported Kubernetes version is written in the description of each tag.

[x] sigs.k8s.io/controller-runtime

https://github.com/kubernetes-sigs/controller-runtime/releases

[x] sigs.k8s.io/controller-tools

https://github.com/kubernetes-sigs/controller-tools/releases

[ ] topolvm

https://github.com/topolvm/topolvm/blob/main/CHANGELOG.md

Checklist

[ ] Finish implementation of the issue
[ ] Test all functions

kubebuilder 3.11.0 seems to deprecate v3. we may need to migrate it to v4.
https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v3.11.0

https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.0

Upgrade to Kubernetes 1.28 libraries (https://github.com/kubernetes-sigs/controller-runtime/pull/2393, https://github.com/kubernetes-sigs/controller-runtime/pull/2405, https://github.com/kubernetes-sigs/controller-runtime/pull/2449)

controller-runtime v0.16.0 should not be used because Kubernetes 1.25 support may be out of support.


Arithmetic coded JPEG support

Arithmetic coding is a part of the JPEG standard. Initially, it wasn't implemented by encoders and decoders due patents. But now there is no such limitation, all patents are expired several years ago. libjpeg supports arithmetic coding since version 7.x (2009), libjpeg-turbo and mozjpeg also support arithmetic coding. It significantly improves compression ratio.
Currently, Chromium doesn't support it. There is a ticket about it, so it may be changed in the future. You can star the ticket to support it if you think that arithmetic coded JPEG support is a good idea.

We aim to produce images that will not surprisingly not display on some browsers, when a JPEG produced by more "conventional" tools would. This sadly rules out arithmetically coded JPEGs: many browsers handle them poorly or not at all and even if the situation improves, there'll be a lot of legacy browsers remaining for years to come.

there'll be a lot of legacy browsers remaining for years to come.

They too won't stay forever though.
Also it's possible to test support in browser (through some headers like accept-encoding, or just trying to decompress a small test image) and use them conditionally.
If nobody does anything to make it happen, it won't happen.
I think it would be better if there's at least an option to make AC'd jpegs (marked as experimental, etc).
Also, do not forget that it's possible to losslessly transform from AC'd jpeg to plain jpeg and vice versa, so even if somebody accidentally converts their jpeg file to AC'd form and suddenly their buddy can't open it, that's no problem, they can always convert it back with no loss. In other words, unlike introducing some completely new lossy formats like WebP, this optimization is non-destructive.
Updating decoder software is not that hard too, because AFAIK it's mostly a matter of upgrading libjpeg in system and/or recompiling with updated libjpeg.

The effort required to support arithmetically encoded JPEGs in a browser seems to be of the same sort of magnitude as effort required to get something like Lepton supported. Lepton would give significantly larger gains than arithmetically encoded JPEGs (e.g. due to its exploitation of cross-block correlations). Additionally, there's no separate MIME type for different versions of JPEG, which makes any capability discovery very hard.
We think that, if we are to do something that requires all the effort on the compatibility and fallbacks front, we should rather invest it in something that would give us a bigger advantage than arithmetically coded JPEG.
Personally, I'd be curious to see how Guetzli would perform if it were to create AC JPEGs, use their size for feedback in its optimization loop, and have relevant parts of it tuned for them. Unfortunately, I don't have time to work on that. I encourage you to fork Guetzli and do that, if you are so inclined.

can always use jpegtran --arithmetic to losslessly recompress with arithmetic coding without any loss


remove defaultTailRecM

Per typelevel/cats/1444

Thank you for the pull request. Can you please give a little more context on what this change is about?


GitHub Login Error The redirect_uri is not associated with this application

Issue Description
When logging in via GitHub, the following error occurs:
The redirect_uri is not associated with this application

Steps to Reproduce

Set up a Laravel app with GitHub OAuth.
Attempt to log in using GitHub.
Encounter the error.

Possible Cause
The redirect URI may be misconfigured.
Current Configuration
GitHub Developer Settings

Authorization callback URL:http://devdojo.test/sign-in/github/redirect

Laravel .env File

APP_URL:APP_URL=http://devdojo.test

Troubleshooting

Verified GitHub's Authorization callback URL matches Laravel's redirect URI.
Confirmed APP_URL in the .env file is correct.
Checked redirect URI configuration in Laravel settings.

Additional Information

Error persists despite configuration checks and clearing Laravel’s cache.

Request for Assistance
Could you help identify any potential misconfigurations or missing steps? Guidance on resolving the redirect URI mismatch would be appreciated.

I think the issue might be with your Authorization callback URL. It needs to be http://devdojo.test/auth/github/callback instead.

@dayas-kr-coder Let us know if this issue has been resolved. Closing for now ;)
Thanks!


20220622 polybase configure csv doc

New doc, showing how to virtualize csv doc with SQL Server 2022, the only example we had previously was exclusive to BDC and it was only using GUI.

Hi @HugoMSFT  - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. Would you make this content update in the private repo instead? Thank you! We'll close this PR.

@HugoMSFT I'll take care of it.


[Question]: Self hosted agent fills up server storage

Describe your question
We have two azure self hosted agents running on a single server.
Everything works fine for a few days then suddenly we get the following error during builds: ENOSPC: no space left on device
The _work directories for each agent have grown to a size that completely filled up the server's storage.
We have the build pipeline configured to clean up before starting a build. And we have a maintenance schedule set up for the agent pool.
The only instant solution is to SSH into the server and rm -rf the two _work agent directories.
Is there any way to automate this? What are we doing wrong?
Versions
Azure agent 2.213.2
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
Ubuntu 20.04
Version controll system
git
Azure DevOps Server Version (if applicable)
No response

Hi @edgariscoding, so, you are using self-hosted Ubuntu 20.04 agent version 2.213.2. Is it right that each time you run your pipeline, the agent creates a new _work/X folder (where X is some number)? If so, could you share a pipeline yml file example to reproduce this issue?

@DenisRumyantsev im using classic pipelines so i don’t have a yaml file

@edgariscoding I was not able to reproduce this issue.
Could you check if your self-hosted agent creates a new _work/X directory each time you run the same pipeline?

I am also seeing this issue on our ADO pipeline container servers (high disk usage, and cleanup not appearing to work correctly).
It has been difficult to pinpoint exactly what is triggering the behaviour in each repo as it's not always the work directory. One theory was it was due to failed/testing pipelines or ageing artefacts. We regularly see high usage in /var/tmp which I believe is artefact related and temporary, and also under _work/s/.git with large numbers of packfiles, even when we attempt to limit the fetchDepth configuration in the pipeline.
I am interested to know if the .git directories are unreasonably large (ie. much larger than the expectations based on repo size) in your experience too @edgariscoding?
The part that was surprising to me moving to self hosted agents was the persistence of the working directory across pipeline runs by default which is different default behaviour to the Microsoft hosted cloud/container agents as they are truly ephemeral and destroyed. This was an unexpected behaviour to me coming from other tools, as one of the major benefits of using containers for builds is that they are ephemeral and build environment is clean/consistent, but in ADO the volume is mounted in from the host and re-used. This workspace behaviour is also inconsistent for the end user as the job may be executed on a different ADO agent/runner, so it has limited utility and I do question its configuration as the default behaviour.
The only way I have found to ease (not resolve) the workspace filling up due to the default persistence configuration is to ensure pipelines are configured to clean up the workspace in the yaml pipeline configuration (I believe classic also has an option to clean workspace but I don't use classic). You mentioned you were doing this @edgariscoding, are you using the same configuration that I am using for self hosted pipelines?:
- job: MyJob
  workspace:
    clean: all

The documentation on workspace cleanup doesn't make all of this very clear..
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#workspace
Noting the following comment from the above page:
The workspace clean options are applicable only for self-hosted agents. Jobs are always run on a new agent with Microsoft-hosted agents.
As a side note, I really believe that workspace cleaning configuration should be an ADO agent option, as currently we depend on the owners of pipelines to specify this configuration, and if they don't specify the configuration they get inconsistent behaviour between cloud hosted and private hosted agents.

This problem still exist in the self hosted agent on Amazon Linux EC2,
it's not getting cleaned up after each run, and it's building up the storage now.
I can confirm it will create new _work/X for running same/different pipeline, it doesn't create one per run, but it will eventually create one.


Request: run in background

in jupyter notebook we can only run single action, can you add feature to run it in background?
so after I run this command
!zrok share public localhost:7860

it will print the URL and continue run in backgrounf

I need that feature.
I don't want to install docker on windows for front door (great feature for server linux act as client)
Also it would be great if can take as return the process id. Because we detect if still running.

Will be addressed in v0.5 with #463 (daemon mode).


chore(scripts): move bump

to script folder

I think you need to update writeFileSync as well

thanks


Understand update.channel set to none

This fixes #2520
There are some users which would like to prevent automatic updates. These users either set the update channel to none in the storage.json or the settings.json.
I want to drop storage.json and will explain it in the release notes/blog post. But we still need to respect disablement via the settings.
This PR brings back the setting and disables updates if the value is set to none.
@bpasero please review the code flow in update-manager.ts. Thanks.

@joaomoreno Can you please explain how this works. Now with version 1.3 which has broken ts(x) highlight i switch back to 1.2.1 and want to disable automatic updates but cant figure it out.
Updating file %APPDATA%\code and adding "update.channel": "none" did not help. So is this feature still enabled to be able to disable automatic updates ?

@psulek You should change it in your user settings and restart after the change.

@joaomoreno this works fine. Thanks.


MovieClip.addFrameScript not supported on Android

Haven't tried other native targets, but calling addFrameScript on Android platform seems to be completely ignored. It does work correctly in HTML5 target.
If I do my own makeshift function by checking 'if ( anim.currentFrame == # ) anim.stop();' it works that way, so am thinking this was just left out somewhere instead of something hard to do on native.
This is lime 2.9.0 and openfl 3.6.0 (can confirm it is also not working with lime 2.9.1 and openfl 3.6.1)

Is it possible this is legacy? OpenFL (not legacy) should support it. Thanks :smile:

Doesn't work on Android OpenFL develop + Lime 7.6.3


Error in make dataset

hi,
when I run the  mmediting/tools/preprocess_comp1k_dataset.py  script,it report "Process finished with exit code 137 (interrupted by signal 9: SIGKILL)". It seems due to the out of memory error in https://github.com/open-mmlab/mmediting/blob/941e79b02f1860c2925cc6b84f802b1d94b816de/tools/preprocess_comp1k_dataset.py#L169 . Have you encountered it?Isearched the issues, but found nobody reported it ,or something wrong with my operation ? I wonder how to solve it   @hejm37

Hi, what kind of machine did you run the code on? Have you tried to reduce the number of processes (set the --nproc=4)?

no, ubuntu 18, titan 1080 , gpu memory 11G

What's size of the cpu memory? It seems that your memery could not hold the whole set of foreground images.

Closing due to lack of activity

16G memory

it seems the code loads all image into memory at one time, could your PC cound do this ?@innerlee

Yes servers will have 500g memory.
One way to solve the memory issue is to read images in the working processes.

Remove the pre-fetched fg and alpha images at https://github.com/open-mmlab/mmediting/blob/master/tools/data/matting/comp1k/preprocess_comp1k_dataset.py#L195-L198
Read them at working process, like near https://github.com/open-mmlab/mmediting/blob/master/tools/data/matting/comp1k/preprocess_comp1k_dataset.py#L92

Do you want to make a pull request?


Any plan for App Store release?

Really good work on UI/UX, I really enjoy this app! I tried running Glider on iOS and everything is working perfectly fine. Any plans for releasing on iOS App Store?

There's two reasons I haven't released on the App Store yet:

My main development machine is not a Mac, which makes proper testing tricky.
Apple's annual fee is quite steep for what is essentially a side project just for fun.

Expressing interest does help persuade me though. Thanks for the compliments, and I'll follow Hacki's development with interest as well. :)


Install script fails due to space in filepath

Describe the bug
When cross-compiling libunbound for x64 Windows from Ubuntu 20.04, line 619 of Makefile.in causes make install to fail with error:
if test ! -e C:\Program Files\Unbound\service.conf; then /bin/bash ./install-sh -d `dirname C:\Program Files\Unbound\service.conf`; /bin/bash ./install-sh -c -m 644 doc/example.conf C:\Program Files\Unbound\service.conf; fi
/bin/bash: line 0: test: C:Program: binary operator expected

Because the string "Program Files" contains a space without being wrapped in quotes.
To reproduce
Build libunbound like:
#!/bin/bash

export SCRIPTDIR="$(pwd)"
export WORKDIR=${SCRIPTDIR}/build
export TYPES_OF_BUILD="x86_64"
export PREFIX=$WORKDIR/prefix_${TYPES_OF_BUILD}
export HOST=x86_64-w64-mingw32

UNBOUND_VERSION=release-1.17.0
UNBOUND_HASH="d25e0cd9b0545ff13120430c94326ceaf14b074f"
UNBOUND_SRC_DIR=$WORKDIR/unbound-1.17.0

cd $WORKDIR
rm -rf $UNBOUND_SRC_DIR
git clone https://github.com/NLnetLabs/unbound.git -b ${UNBOUND_VERSION} ${UNBOUND_SRC_DIR}
cd $UNBOUND_SRC_DIR
test `git rev-parse HEAD` = ${UNBOUND_HASH} || exit 1

./configure \
	CFLAGS=-fPIC \
	CXXFLAGS=-fPIC \
	--prefix=${PREFIX} \
	--host=${HOST} \
	--target=${HOST} \
	--enable-static \
	--disable-shared \
	--disable-flto \
	--with-pic \
	--with-ssl=${PREFIX} \
	--with-libexpat=${PREFIX}
make CROSS=x86_64-w64-mingw32.static- -j$THREADS
make install

Expected behavior
make install should not fail due to an error
System:

Unbound version: 1.17.0
OS: Unbunt 20.04
unbound -V output:

Command 'unbound' not found, but can be installed with:

sudo apt install unbound

Additional information
This issue may be resolved by editing line 619 of Makefile.in to reflect the following changes:
	if test ! -e "$(DESTDIR)$(configfile)"; then $(INSTALL) -d `dirname "$(DESTDIR)$(configfile)"`; $(INSTALL) -c -m 644 doc/example.conf "$(DESTDIR)$(configfile)"; fi

Merged the fix into the code repository. That should fix the issue.


Documentation on IdentityServer4 UserInteraction options

Refers to Documentation on UserInteraction
The UserInteraction options should be better documented.
Example:
    options.UserInteraction.LoginUrl = "login";

Sets the route to scheme://hostname:port/connect/login, while
    options.UserInteraction.LoginUrl = "/login";

sets the route to scheme://hostname:port/login. Also it is not possible to write ErrorUrl as a clean route. Ie.
.AddIdentityServer(options =>
{
    options.UserInteraction.ErrorUrl = "/error";
    options.UserInteraction.ErrorIdParameter = "/errorId";
})

will create the route scheme://hostname:port/error?errorId={errorid}, while a route like scheme://hostname:port/error/{errorid} is apparently not possible.

I am also wondering how to reconfigure those routes since I found no suitable documentation:
Account/ExternalLogin
Account/ExternalLogin (callback)
Account/AccessDenied
Home

For the above suggestions - good catch. Please PR.
All UI routes are under your control and are not an IS concern.

i think the error route could be implemented in IdentityServer4.Endpoints.Results.AuthorizeResult.RedirectToErrorPageAsync() like the following:
var errorIdParameter = _options.UserInteraction.ErrorIdParameter;
var url = errorIdParameter.StartsWith("/")
                ? (errorIdParameter.EndsWith("/") ? errorUrl + id : errorUrl + "/" + id)
                : errorUrl.AddQueryString(_options.UserInteraction.ErrorIdParameter, id);

I ran into this as well  @MovGP0. If EnsureLeadingSlash() still exists then it would be  cleaner to use that method else you're duplicating that logic

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.


Seems to break sites

Hey, awesome work on the worker, I've been using your plugin with great success! I'm having some issues when trying to use the worker, I can see that the worker is running, and verified on the CF side the logs are seeing requests, when I view the code on any of the pages on my site I can see the rewrite is happening, but it seems to break all images. I've enabled the worker, set the mode to production, made it run unbound, and then set the correct worker rules when to execute.
Any thoughts or ideas about what I might be doing wrong?

Oh, and I disabled the plugin when I enabled the worker.

Hi,
You cannot use the worker and the plugin at the same time. I have added some exclusions in the latest version, but it's still not recommended.
Regards


Update to latest dream

The current pointed commit curiously doesn't belong to the dream repo, but rather to a fork?
https://github.com/aantron/dream/commit/74efe19b8890fd5880a5b2e24c4cafcac8d1840c
Hopefully the latest version works for us.

@novemberkilo's OCaml 5 PR got merged. We should be keeping an eye on the Dream master for changes and a potential new alpha release.


root.returnExports into returnExports

While this points to the global object (window in browsers and Global in WSH), it doesn't work in ASP. So, by removing the root. from root.returnExports it works as its intended to.

Could you attach this to a bug request so we have actual evidence of what environment and situation causes the error?


[ALLUXIO-2336] Fixed specifier character handling in LsCommand

https://alluxio.atlassian.net/browse/ALLUXIO-2336

Specifier characters used by String.format cause an error in the ls
shell command
Fixed this and the ls shell command can now handle specifier
characters in a file name
Added test for this behavior

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12008/
Test PASSed.

Thanks for looking into this @HorizonNet! I think the problem is that filenames containing % fail because we use them as format strings in the ls method when we do
System.out.format(formatLsString(...

This line double-formats the input for no reason (format is called with no arguments except the format string). Instead of System.out.format it should be
System.out.print(formatLsString(...

@aaudiber Thanks for the comment. I would suggest something in between. Instead of using format we should use print, but we should stay with the URL encoding, because without it localhost,61764,1476207067267..meta would be localhost%2C61764%2C1476207067267..meta, which I think is not the intended behavior.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12016/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12020/
Test PASSed.

Merged build finished. Test PASSed.

@HorizonNet I think we want to actually show the %20 since it's part of the file name. @apc999 is this what you meant in the ticket?

@aaudiber Ok, sounds good to me too. Decoding it causes some additional problems in the web UI. Just let me know the direction of the ticket.

@HorizonNet thanks for the PR. I was thinking to have "%2" as part of the file name in both webUI (already achieved) and alluxio fs ls (exception thrown before your PR). That is my intention in the ticket

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12034/
Test PASSed.

@apc999 Thanks for the clarification. I updated the PR accordingly.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12038/
Test PASSed.

Merged build finished. Test PASSed.

@aaudiber Thanks for the comment. I updated the PR.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12042/
Test PASSed.


refactor endpoints to have consistent return values

some endpoints return the resources directly, some wrap them like
return {'folder': folder}

Outdated.


移除企业微信废弃的永久素材接口

Ref #539

Codecov Report

Merging #548 into master will decrease coverage by 0.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #548      +/-   ##
==========================================
- Coverage   72.23%   71.84%   -0.39%
==========================================
  Files          79       79
  Lines        3043     3062      +19
==========================================
+ Hits         2198     2200       +2
- Misses        845      862      +17

Flag
Coverage Δ

#unittests
71.84% <ø> (-0.39%)
:arrow_down:

Impacted Files
Coverage Δ

wechatpy/work/client/__init__.py
100.00% <ø> (ø)

wechatpy/work/client/api/__init__.py
100.00% <ø> (ø)

wechatpy/client/api/material.py
40.00% <0.00%> (ø)

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 5e3b0f1...4aaa024. Read the comment docs.


Phase 1: Membership (implement sign-up on universal login)

What is it and who's it for?
We currently have a pre-registration form on https://catalogue.wellcomelibrary.org/selfreg which captures limited information on users applying for library membership. This was designed to enable users to pre-register before coming to the building and allow them to access functionality such as Requesting in advance to being a full library member.
We would like to migrate this sign up process to wellcomecollection.org to sit alongside the new login/requesting flows for existing members and to minimise the disruption and change in experience between signing up/registering and logging in/requesting.
An example of how this could work in the background is here.
This could incorporate this ticket, but in the design options that show the expanded membership copy. https://github.com/wellcomecollection/wellcomecollection.org/issues/7812
It is likely membership will be formed of multiple phases:

Phase 1 will migrate the existing form
Phase 2 will look at how to capture additional data fields (e.g. address)
Phase 3 will tackle how to align the offline experience.

User story
As a non-library member
I want to create an account
So that I can request materials to see on my library visit
We need to implement the link/flow to sign-up on the universal login page. This will start with just taking the email address and password, before progressing to a full form represented by the original ticket https://github.com/wellcomecollection/wellcomecollection.org/issues/7808
This ticket represents the work needed to implement the process of sign up. It will involve putting a post-login action in place where we redirect to the full sign up form after we take the initial email and password.
Measurement

Visits to page

All Phase 1 stories
#7808 - Replicate existing form
#7809 - Confirmation of application
#7811 - Verification of email
#7812 - Update sign in
#7814 - Update editorial content
#7815 - Reporting
#7848 - Temporary member messaging - account

Slight side step that blocks David and l, I need to make a jwt handler to encode the formData (in weco identity app) to send it back to the auth0 action.

Once the above PR (feat:jwt hanlders to recode and encode formData for auth0 action) is merged, it can be used in David's form on https://github.com/wellcomecollection/wellcomecollection.org/pull/7902

David integrated 7905 into his membership form PR 7902 🎉  - so i've closed 7905

Liz from Library Support Services has opened a ticket with D&T as there’s a problem with setting up an API key in the Sierra test environment as the process is reliant on email verification and there's issue with this involving the mail server that requires D&T to help.

There's been a delay in getting things sorted for the Sierra Test account, I've opted to test in production and based on that I've opened a PR to add createPatron method to sierra-http-client on Identity. This will link up with David's UI work, and ultimately the PR which adds the Identity API endpoint

It is worth noting that at this point, due to limitations of redirecting to auth0 action directly from the submission of the full form in weco identity, we are now creating an endpoint in the Identity API to add firstname and Surname to an auth0 user.

We'll need to slightly change what the auth0 action does as we are adding the formData (firstname, lastname) to auth0 using the endpoint mentioned above.

user starts registrations, fills out email and password
auth0 action redirects to full registration form
formData posts to new identity endpoint
endpoint makes use of createPatron sierra-http-client method to create patron in sierra
we send user to auth0 '/continue' endpoint with state to complete the redirect process

I'll create a ticket to more specifically address this change to the action.

user starts registration going to library sign up
user fills out email and password
create script on auth0 creates a patron with this email and pin, then assigns them a password based on their barcode
auth0 action redirects to full registration form with email address
user fills out firstname, lastname and accepts terms
form PUTs to /registration in Identity API with firstname and lastname
Identity API, /registration updateUserAfterRegistration - in this function, updateUser will update auth0 user with names and then updatePatron will update Sierra
on successful put and running of updateUserAfterRegistration in Identity API, the user will be sent to /continue with state and jwt token and the onContinuePostLogin part of the action runs
At the moment onContinuePostLogin will set appMetadata to show the user has accepted terms, and will send the users then to a success page on Identity weco frontend

David and I got stuck at point 6 above as Identity API was not authorizing a PUT to change user data. This meant we could not validate that the rest of the flow would work. It is at this point that Alex stepped in to work on authorizing the /registration endpoint https://github.com/wellcomecollection/identity/pull/342 - there are further more in-depth explanations available on slack, and in the Identity API PR. A good explanation is also here https://github.com/wellcomecollection/identity/pull/341

David has put a toggle and things in place to keep 'sign up' hidden in prod auth0 and weco production. This is so we could safely test the user flow.

I have requested an api key for the test sierra account so that I can test making POST requests to Sierra to create patrons. We could use this in our testing process. I found mention of the sierra test account on slack https://wellcome.slack.com/archives/C0198JT4GTG/p1602596552059000 https://wellcome.slack.com/archives/C0198JT4GTG/p1602595866053000

I chased this again and got not reply as of yet. Our networks team needed to do something to enable a mail server for test sierra, we need a mail server to assign api keys

Please also see https://github.com/wellcomecollection/wellcomecollection.org/issues/7812

@melanierogan can I chase this whilst you're away? If you have a D&T ticket number I can pick it up.

We've implemented sign-up for universal login! Well, kinda – the flow works in staging, but there's a bunch of rough edges we'll need to fix before it goes live.

Make sure we're happy with the story around CloudFront server access logs, especially PII in JWTs
Review the copy on the pages, in particular "enter your name and password" and "success"
Double-check we're putting names in Sierra correctly; I think we're missing some punctuation
Document the sign-up process


unable to print the images inside html

any option to print html with images in ios.
Thanks in advance.

works fine here.  what console errors are you getting?

I am not getting any console errors
I am using HTML5, anguarJs
images are specified in images folder and gave the path b using image tag.

Are you providing relative paths to the images, or are you accidentally prefixing the src with / ?  Are the images part of the app or are you trying to access them via http/https uri's?

Yes i am providing relative paths and the images are part of my application.

Works here too
demo

I'm having issues as well. I'm attempting to print some generated html that contains an image, but I can't get the image to render/resolve on the pdf. I've tried the following:
printThis.doc = '

';
Only the LoremPixel image works. I don't want to have to host this single image for printing purposes, that seems silly.
I'm having similar issues with stylesheets, only able to use inline styling.
Appreciate any help with this.

http://stackoverflow.com/questions/9073953/phonegap-on-ios-with-absolute-path-urls-for-assets
See top answer. Use the cordova.file.applicationDirectory + [WWW_PATH_TO_YOUR_IMAGE]

A relative path from the www folder works.
I tried  and the image was there.


Try using c++20 throughout catalyst

Context:
Try using c++20 throughout catalyst

What is the motivation, and status, for this pr?


Bring all the changes from fresh_quill_extensions

This pull request is not ready yet, it brings all the changes of migrating to Flutter 3, adding a new embed builder, refactoring the configurations to match the base of flutter_quill
It's not ready yet but it will be very soon before I make any more changes I need @Jon-Salmon thoughts about this
so I started making more changes
I do plan on adding support for more and more embed builders like PDF, web view, tables, add migration guide and improve the README.md and more
also, I do plan on adding support for using inherited widgets and shared configurations so we don't repeat code for different configurations for different buttons
also, there are more things we already discussed in the discussions

This message is just a reminder that we should not use dart:io on the web, we are using it in some places like onImageRemovd
We should add implementation by default for web and desktop for picking images since image_picker already support that so no need to require the developer to implement this for web and desktop
the same applies for all the buttons

@singerdmx I know this is not related to this pull request, but consider removing all the images in the README.md and moving them into the screenshots section
Example
I could have done that in my previous pull request but this is not what we are trying to do for that spesefic pull request
The images as quite annoying as the height of them are quite big and it make it hard to navigate between different sections of the README file and it get the scroll bigger
this way in that example the user still can see the images but not in the README.md, in different tab item
You might don't want this but consider think about it.

Sounds good

Sounds good

Done, I just sent a new pull request to that
About the flutter_quill_extensions I would like to work on new features, changes, and optimizations but I need to know if this pull request will be merged or rejected so I start clean

Hi @Jon-Salmon
This is just a reminder just in case you missed the notification

If this is ready for merge please mark as such (it is currently marked as draft) and I'll give it a quick review

If this is ready for merge please mark as such (it is currently marked as draft) and I'll give it a quick review

It's ready but not for publishing yet, we could but I prefer to do more changes first

Once you are ready please bump to the right version


Goto Definition shown in all files

After updating to the latest version of master, I now see the grey line for Go To Definition support shown in all files, including ones that I know I have no support on my machine for (ie CUDA source files on a machine with no CUDA capability), as well as strings and other things that don't have any definitions.
I can see "No language server registered" and "No grammar found for language: cuda" repeatedly in the dev console window, and if I attempt to use Go to definition I get an error of:
Uncaught (in promise) TypeError: Cannot match against 'undefined' or 'null'.
    at Object.<anonymous> (file:///C:/Program%20Files%20(x86)/Oni/resources/app/lib/browser/bundle.js:5:37957)
    at Generator.next (<anonymous>)
    at file:///C:/Program%20Files%20(x86)/Oni/resources/app/lib/browser/bundle.js:5:37570
    at Promise (<anonymous>)
    at o (file:///C:/Program%20Files%20(x86)/Oni/resources/app/lib/browser/bundle.js:5:37344)
    at Object.t.gotoDefinitionUnderCursor (file:///C:/Program%20Files%20(x86)/Oni/resources/app/lib/browser/bundle.js:5:37853)
    at t.CallbackCommand.y.CallbackCommand [as execute] (file:///C:/Program%20Files%20(x86)/Oni/resources/app/lib/browser/bundle.js:44:158360)
    at i.executeCommand (file:///C:/Program%20Files%20(x86)/Oni/resources/app/lib/browser/bundle.js:1:35120)
    at EventEmitter.R._neovimInstance.onOniCommand.subscribe (file:///C:/Program%20Files%20(x86)/Oni/resources/app/lib/browser/bundle.js:44:108414)
    at emitOne (events.js:115:13)

I'd assume there is a check that is missing or potentially invalid now after LSP changes and what not, so that it checks every single file even if there is no valid server.

Thanks for catching this @CrossR ! (That's cool you're working on CUDA as well.) I'm able to reproduce this easily - happens in markdown files too..
Yes, unfortunately a regression in the LSP changes as you mentioned. The only bright side is after the changes I'm able to more easily add unit tests to exercise this behavior... so hopefully things can be more solid moving forward.


releases contain identical directories data and data_x.y.z

Following the current release process, a release contains always duplicate data and data_x.y.z.  This issue keeps track of removing this duplication in a reasonable way.  @rakanalh pointed this out.

@rakanalh s comment https://github.com/raiden-network/raiden-contracts/pull/614#pullrequestreview-208421445
@pirapira s reply https://github.com/raiden-network/raiden-contracts/pull/614#issuecomment-468183356

Option A: remove data from the PyPI package, but keep data in the git tree

(problem) I'll be testing contract_version == None in the git tree, and that test will use data, but the real users don't use data but something else.  So I'll be testing something not real.

Option B: stop providing the newest option as data_x.y.z, just data.

(problem) whem I release the contract version 0.10.0, I'll be creating data_0.9.0 directory, based on the previous release (like digging up a version from one months ago).  That's an error- prone process.  It's much easier to copy the newest data into data_0.10.0.

Option C: leave the process as it is.

(problem) looks weird.  Why are there always two identical directories?

Option D: use a symbolic link that redirects data into data_x.y.z.

(problem) next time I deploy something, I'll be modifying data_x.y.z by accident.

(mitigation) make every file in data_x.y.z read-only so that I will notice something has gone wrong.  At that moment, I create a new data directory.

@rakanalh so far I like Option D the most.  What do you think?

My comment was mostly about removing redundancy. I would go for option E, which is to remove data folder altogether from git & the pypi package. So each data_X.Y.Z version is explicity there, no need to have the "unversioned" data folder... that is of course, if that's a viable option.

I see.  That's clean.  For that, I'll need to change many things.

[ ] contract_version == None should look into the data_x.y.z (x.y.z is the current contract version) instaed of data.
[ ] raiden_contracts/deploy/__main__.py script should not use data but data_x.y.z (x.y.z is the current contract version, maybe configurable by an option)
[ ] raiden_contracts/deploy/etherscan_verify.py script should not use data but data_x.y.z (x.y.z is the current contract version, maybe configurable by an option)

Moreover, make render_contracts compile_contracts verify_contracts should use raiden_contracts/data_x.y.z/sources instead of raiden_contracts/contracts.

I'll create sub-issues for these.

I start imagining a PR comment "no, that changes the ABI, so it's not data_0.13.4 anymore, it has to be data_0.14.0 now".  That's kind of messy.

Maybe I should look into what other people do.

I don't come up with a good solution here.

I guess removing data from the PyPI package is a good solution.  #1036.


runtime: darwin builders failing on metrics changes

All of the darwin builders are failing on one of the metrics changes that just went in.
The failing commit is one of golang.org/cl/246971, golang.org/cl/246972, golang.org/cl/246973.
I am attempting to repro on a gomote.
cc @mknyszek @aclements @golang/release

https://golang.org/cl/246971 is the specific failing CL.


Make Matt McGregor and Soohyun Pae coordinators for the Maori team on Transifex

We can't publish their 4.0 Maori translation until we get the Maori deed up. I think they need to be coordinators in order to actually add the translation?
Team is here: https://www.transifex.com/projects/p/CC/language/mi/
Thanks!

Added SooHyun, invited Matt.


More recipes.

Sorry brevven, noticed I forgot to include these in the previous PRs when I updated and noticed several recipes in my game got removed :)

Same as https://github.com/brevven/tungsten/pull/19#issuecomment-1455511169


[Tour of Beam] [Task] Main page with table of contents, learning materials section and playground

What needs to happen?
Create Main page with table of contents, learning materials section and playground
Issue Priority
Priority: 3

.take-issue


Color Update: dMaterial or a Tag ?

Hey!
With 1.12 ShulkerBoxes and Beds can have colors. Can support for these maybe be added ?
Maybe directly in the dMaterial name, or as tag ?
I found this in the spigot docs: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/material/Colorable.html#getColor--

I believe .material supports WHITE_SHULKER_BOX, etc. Only beds seem to not have color support.

Closing this and making a more precise issue, for a possible bed color tag.


Add history view

This commit introduces a new view for displaying the user's browsing history.
The attemptRefresh() method now handles loading and displaying stories from the user's history when the adapter.type is set to the history index.
This feature enhances the user experience by providing a convenient way to access previously viewed stories.

Great idea and clean implementation, thank you!


add slide on defensive programming to code managament

also testing of code more generally.

or version-control over datasets (e.g., automated CI pipeline that runs the BIDS validator, with data being retrieved from a DataLad dataset)


chore: release main

:robot: I have created a release beep boop
devcontainer: 1.5.5
1.5.5 (2024-11-18)
Bug Fixes

🐛 fix release CI (#272) (82dd2a4)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

devcontainer-v1.5.5
:sunflower: