Migrate deprecated symfony AbstractCache to AbstractAdapter

A couple of community members noted that colymba/gridfield-bulk-editing-tools 3.0.0 was throwing (unrelated) symfony deprecation warnings with framework 4.7.3 that was breaking the bulk upload field.
I replicated this locally with SS_ENVIRONMENT_TYPE="live"
Deprecated: The "Symfony\Component\Cache\Simple\AbstractCache" class is deprecated since Symfony 4.3, use "Symfony\Component\Cache\Adapter\AbstractAdapter" and type-hint for "Symfony\Contracts\Cache\CacheInterface" instead. in /var/www/vendor/symfony/cache/Simple/AbstractCache.php on line 23

https://github.com/silverstripe/silverstripe-framework/issues/9955
https://github.com/colymba/GridFieldBulkEditingTools/issues/214

The reason there was that colymba/gridfield-bulk-editing-tools was making so much of a fuss about deprecated classes that it caused itself to break
However we still need to migrate the symfony AbstractCache to AbstractAdapter for the rest of framework

Can this be closed now?

Nope.  We still need to migrate off the deprecated Symfony class at some point.


Question: please explain the score more in depth

I love this gem!
To sell this to my team I need to understand how the scores are calculated, and I have problems with that.
<number of offences> * <cop weight> * <number of file updates> * <update weight>
Some of the values are self-explanatory. For example: the more often the file is updated - the higher score.
Default cop weights are 1, so we can ignore those (and they are subjectively set for each project).
<number of offences>  - why does the number of offenses for a particular cop should increase the score of a specific file? Or did I get it all wrong?
<update weight> - what is that?

Hey! Sounds like I'll need to update docs after we discuss it and maybe make formula more granular.
<number of offences> is how many times we see a particular cop offence in the file, more offences — more weight (but we can influence the importance of the cop by <cop weight>)
<update weight> is used to influence the importance of how many times the file was updated
Example
We have two files:

app/models/user.rb (Rails/SomeCop once and Rails/AnotherCop once) updated 5 times
app/controller/user_controller.rb (Rails/SomeCop twice) updated 2 times

Config:
"default_cop_weight" => 1,
"update_weight" => 1,
"weights" => {
  "Rails/SomeCop" => 1,
  "Rails/AnotherCop" => 1
}

Result:
{:path=>"app/models/user.rb", :updates_count=>5, :offense_counts=>{"Rails/SomeCop"=>1, "Rails/AnotherCop"=>1}, :value=>10.0}
{:path=>"app/controller/user_controller.rb", :updates_count=>2, :offense_counts=>{"Rails/SomeCop"=>2}, :value=>4.0}

Let's say we care less about AnotherCop (0.5)
{:path=>"app/models/user.rb", :updates_count=>5, :offense_counts=>{"Rails/SomeCop"=>1, "Rails/AnotherCop"=>1}, :value=>7.5}
{:path=>"app/controller/user_controller.rb", :updates_count=>2, :offense_counts=>{"Rails/SomeCop"=>2}, :value=>4.0}

Let's say we care less about updates (0.1):
{:path=>"app/models/user.rb", :updates_count=>5, :offense_counts=>{"Rails/SomeCop"=>1, "Rails/AnotherCop"=>1}, :value=>1.0}
{:path=>"app/controller/user_controller.rb", :updates_count=>2, :offense_counts=>{"Rails/SomeCop"=>2}, :value=>0.4}

Maybe we shoud sum instead of multiply? (i.e. for_each_cop(<number of offences> * <cop weight>) + <number of file updates> * <update weight>) Otherwise we cannot say we don't care about updates by using 0, it will make total weighth 0 🤔

I love this gem!
To sell this to my team I need to understand how the scores are calculated, and I have problems with that.
<number of offences> * <cop weight> * <number of file updates> * <update weight>
Some of the values are self-explanatory. For example: the more often the file is updated - the higher score. Default cop weights are 1, so we can ignore those (and they are subjectively set for each project).
<number of offences> - why does the number of offenses for a particular cop should increase the score of a specific file? Or did I get it all wrong?
<update weight> - what is that?

I don't know about that. Maybe you're right.
What I was looking for is a conceptual approach:

the more a file is updated - the more beneficial it is to fix its offenses
the more offenses it has in total - the more beneficial it is to fix its offenses

Is this how you think about it?

I've just rewritten the algorithm https://github.com/DmitryTsepelev/rubocop_director/pull/13

the more offenses it has in total - the more beneficial it is to fix its offenses

This is how it worked and this is how it still works: more offences give more weight (multiplied by importance — for instance wrong indent is less terrifying than nested transactions).

the more offenses it has in total - the more beneficial it is to fix its offenses

I did something similar. First of all we find how many updates we had for all files. After that, for each file we do:

calculate sum of offences multiplied by weights ()
find how often the file was relatively updated ( / )
get the power of  for the value above ()
result value is  *

It should allow us to configure the importance of updates. For instance, imagine two files with the cop value 100, first one was updated 5 times and second — 15 times.
With update weight = 1.5 (we do care about updates):

Fantastic! Thanks a lot for detailed explanation :bow:


Category Sort fix

Filtering by category is not saved when moving from one page to the next.

All filters are reset when the page is changed, and changing sort order also resets them.


vendor: update github.com/go-openapi/loads

This will pull in memory usage improvements from go-openapi/analysis#54
Updates #10056
Signed-off-by: Tobias Klauser<EMAIL_ADDRESS>

This change is

test-me-please

Shouldn't we pin this version somewhere by importing the dependency directly?

I tried that, but since the version pinned in github.com/go-openapi/loads is currently the latest version github.com/go-openapi/analysis (due to go-openapi/loads#26) it didn't make any difference.

Coverage decreased (-0.02%) to 45.532% when pulling a4f621598a418e790d996376ef2a78b3f2af268c on pr/tklauser/bump-openapi-loads into 0c67ebf581caf2dd6650e690dc71f42291865e6f on master.

Shouldn't we pin this version somewhere by importing the dependency directly?

I tried that, but since the version pinned in github.com/go-openapi/loads is currently the latest version github.com/go-openapi/analysis (due to go-openapi/loads#26) it didn't make any difference.

great, perfect!


Wallet/task/332

Two changes to the app code itself:
src/js/controllers/preferencesLanguage.js
src/js/services/uxLanguage.js

The automated script is now working again.


Some invocations of swift run can hang on Windows

Description
Here is an example of an invocation that never completed.
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
Swift 5.9
Swift & OS version (output of swift --version ; uname -a)
No response

Full log archive attached: logs_4296.zip


Priority 1 accessibility issue: Visual styling section labels

What

Sections of the text have distinct purposes which are conveyed by visual styling. A bold font indicates that text acts as a section label. However, this distinction is not programmatically determinable.

Solution:
Where visual styling is used to provide additional context or convey the purpose of information, please ensure that this context is programmatically determinable via the appropriate semantic mark-up. Screen reading software is reliant on correct semantic mark- up to determine structure and associations within the page in order to present this full context to users. For more information, please refer to F2: Failure of Success Criterion 1.3.1 due to using changes in text presentation to convey information without using the appropriate markup or text. In this case, a description list would be appropriate.
Current code ref:

Where

URL: https://wellcomecollection.org/works/hz43r7re
Page title: Francis Crick (1916-2004): archives | Wellcome Collection

N.B. This html comes from the catalogue api

Next step: Gareth to talk to Toni Hardy

Not possible to create semantic headings based on the source data. This will need to be caveated in an accessibility statement for the site.
No further action.


[core] Export everything from the second level

[x] I have followed (at least) the PR section of the contributing guide.

Export everything from the second level
Closes #17375

@merceyz Let me know if you need any assistance with this effort.

Yes please, I don't know what to do about the codemod.
As for the import/export, the idea was to just disable that eslint rule

@merceyz I will look at it after diner :)

@merceyz Updated, let me know what you think about the approach.

@merceyz Thank you


Changes: add new component (hero section)

@Jabirmussa I don't understand the idea of the hero, it seems to have repeated information from the component below but without wrapper formatting.


ZeroLit bugfix; public SubstType

public SubstType
ZeroLit: fix func() zeroLit

Codecov Report

Merging #169 (501e2d5) into main (164024d) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
- Coverage   94.84%   94.83%   -0.01%
==========================================
  Files          15       15
  Lines        5956     5948       -8
==========================================
- Hits         5649     5641       -8
  Misses        236      236
  Partials       71       71

Impacted Files
Coverage Δ

codebuild.go
95.79% <100.00%> (-0.02%)
:arrow_down:

type_var_and_const.go
98.63% <100.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 164024d...501e2d5. Read the comment docs.


Could you add a automatic tools requirement

it would be very useful and help me a lot because i do other stuff and i wanted to replace project mmo
but the thing is it doens't automatically add req to tools and weapon
in the config file of project mmo there is an option that i love called "autoGenerateToolReq"
and the mods is incredible so keep it alive and if it's too difficult you can try to make an option that import the req created by pmmo

or is any potential mods that can give me the id of every item and block so i can easily add it to the config file

I won't be adding that because I don't know how. I have been doing it the same way as with Reskillable in 1.12.2 - adding every single item manually.
What makes it a little bit easier is using Visual Studio Code and the Even Better TOML extension, then right click on the text in the configuration file and press format document, it should format the list of locks vertically instead of as a big wall of text.

thank


How can I know that the accuracy is good or not using RMSE for regression tasks?

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Windows 10 x64
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):binary
TensorFlow version (use command below):1.13.1
Python version:3.4.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:9.0/7.4
GPU model and memory:Nvidia Geforce 840m

Describe the current behavior
Hello,
My question is very simple, I have trained a model for regression task ( detect eye region with landmarks ) using training dataset of 160000 images and evaluate it after 50000 steps using eval_mse that based on tf.metrics.root_mean_squared_error.
I would like to know how can I know that the accuracy is good by viewing the value of the RMSE using the Eval_mode and Tensorboard
That was some screenshots:

How can I understand the value of the eval_mse and the scalar of the RMSE?

@abdou31 Please refer to the following link to understand what RMSE values are good for your problem.
Also please post questions like these in stack overflow as github is only meant for bug/performance, build/install and docs related issues. Thanks!


Appium update from 1.11.0 to any version with appium-desktop version available

Describe the solution you'd like
Update appium to ANY version with desktop version available.
https://github.com/appium/appium-desktop
Describe alternatives you've considered
As an alternative: provide a fixed appium-desktop v1.11.0 for all platrforms
Additional context
Appium desktop 1.11.0 binaries removed due to some major bug
Reference: https://github.com/appium/appium-desktop/releases/tag/v1.11.0
This means you can't just take a desktop version and use it, you have to get appium elsewhere.
Usability is seriously damaged by this situation.
P.S.
in my case, instructions of "how to compile webDriver for appium on MAC" did not work and took a lot of time.

@zhappa Thanks for adding this feature request. We will review it with the team and consider it for future prioritization.

@zhappa To be sure I understand you correctly, version 1.11 which App Center Test is running is not compatible with Appium Desktop? And you're looking for a workaround?

@Zhappa To be sure I understand you correctly, version 1.11 which App Center Test is running is not compatible with Appium Desktop? And you're looking for a workaround?

Hi! No, the problem is: there is no binary (exe, dmg) of appium-desktop v1.11.0 available.
I can't just take a well compiled binary for my platform (PC, MAC) and use it. I have to download appium from, lets say, npm package manager.
This is not a big deal for windows, but for mac it generates a ton of unnecessary movements (from installing brew to recompiling the webDriver) and not guarantee the success.
In the other hand Appium-desktop binaries do not expect any configuration, you just download it and run. Everything is work out of the box.
Example:
https://github.com/appium/appium-desktop/releases/tag/v1.13.0 - binaries is here.
https://github.com/appium/appium-desktop/releases/tag/v1.11.0 - no binaries
To prevent your next question like "why don't use appium-desktop v1.13.0?" - they works differently. I spend a lot of time trying to understand why are my tests keep failing on appcenter, but works locally previously. It was because of the difference in versions on Appcenter vs local env.
So i definitely need Appium with version == Appcenter's Appium version. Wich is not the case for appium-desktop 1.11.0, since its not available:(

@Zhappa Thank you for the explanation, I'm hoping to get an Appium update into our backlog in the near future. Sorry for the inconvenience.

related to #1203 & #1038 which are also requests for Appium upgrades.

We're internally testing the latest Appium upgrade and would like your help. If you want to test Appium in version 1.16 in App Center Test, all you have to do is add a --test-parameter pipeline=appium-v1.16.0 switch when submitting your test. If you have problems, please don't hold back and let our support know.

We're internally testing the latest Appium upgrade and would like your help. If you want to test Appium in version 1.16 in App Center Test, all you have to do is add a --test-parameter pipeline=appium-v1.16.0 switch when submitting your test. If you have problems, please don't hold back and let our support know.

This is a great news!!
Awesome! I will bring my results asap (probably in monday).
Thank you for info!!

This is works! https://appcenter.ms/orgs/Wontok/apps/Android_3440_WontokGa_Release/test/runs/735b8c2c-2d21-4c2e-b27a-6c95922e1d8e/2-0-10/9e5a2f9b-8577-4ab0-a8a7-5a1e709704c8
I can now contunue with my Android Q devices, thank you!
I will close this ticket when 1.16.0 will be fully on board.

We're internally testing the latest Appium upgrade and would like your help. If you want to test Appium in version 1.16 in App Center Test, all you have to do is add a --test-parameter pipeline=appium-v1.16.0 switch when submitting your test. If you have problems, please don't hold back and let our support know.

@Oddj0b it will be nice if you add this information to https://docs.microsoft.com/ru-ru/appcenter/test-cloud/preparing-for-upload/appium
i spended some time to finding proper solution for this :)

Appium 1.16 is the default version for all Appium Test runs and the --test-parameter pipeline=appium-v1.16.0 is no longer required.


TextLayer text too blurry

Render 'AAAAAAA' text using TextLayer, default parameters, COORDINATE_SYSTEM.LNGLAT_OFFSETS.
Actual Result
Text has artifacts.
Expected Result
Text is clear.
Reproduce Steps
Use layer browser.
To Do List

[x] Add label and assign to milestone

[ ] Coding

[ ] Test

Too little space between the icons in the icon atlas?

is useDevicePixels prop set to true ?

@1chandu not setting it, shouldn't it be true by default?

@georgios-uber , yes default should be true.

@1chandu Can you try to reproduce on MacBook Pro Retina display?

I think the problem is in experimental-layers/src/text-layer/font-atlas.js
The atlas generates is too "tight".
I managed to get a screenshot:

I had:
depthTest: false
blend: false

When I took the screenshot above, but the problem still happens to much less degree when you don't set depthTest & blend.

I am not able to reproduce this issue, I am using LNGLAT_OFFSETS , tried various sizes, zoom levels and different characters for text. Looks good on my screen.

The vertical lines between the characters could be related to padding and/or text-coords setup, but the blurring looks like a different issue, that I couldn't reproduce.  @georgios-uber can you share the props you are setting for TextLayer.

@1chandu The issue does reproduce on your screen. Circled the issue on screenshot.

@1chandu changed the title to make it more clear "TextLayer text has artifacts"


Bug: FastStream global context set is not access in pytest

Describe the bug
only run with faststream run main:app can avoid this bug , i think this cause by the pytest is not access the app . so there is no Context is injected. is there any way in pytest to access the Global Context ?
How to reproduce
Include source code:
app = FastStream(broker)

@app.on_startup
async def set_global(context: ContextRepo):
    context.set_global("secret_str", "my-perfect-secret")

@broker.subscriber("test")
async def vaea(
    msg: dict,
    secret_str: Annotated[str, Context("secret_str")],
):
    assert secret_str == "my-perfect-secret"

@pytest.mark.asyncio
async def test_dependency():
    async with TestRabbitBroker(broker, with_real=True) as br:
        # message can not be None
        await br.publish({}, queue="test")
        await vaea.wait_call(timeout=3)
        vaea.mock.assert_called_once_with({})

And/Or steps to reproduce the behavior:

...

Expected behavior
In pytest , the global context should accessable
Observed behavior
can not access the global context  variable , and cause missing field error
Screenshots

Environment
Running FastStream 0.5.3 with CPython 3.11.0 on Windows
Additional context

Please, take a look at this documentation section
It talks about how you can run and test your application lifespan hooks


Unable to specify MWSAuthToken

Hi,
This looks like a fantastic library, however on usage i can't seem to specify or set MWSAuthToken.
Is this available ?

I was completely unaware of this feature, but it seems like an important one to have. It should definitely be added in the next version. Unfortunately, I am unable to do anything about it myself at this time.
Thank you for bringing this missing feature to my attention.

Hi,
First of all thanks a lot for the great effort and for sharing.
Can you please tell us where can we add "MWSAuthToken"? In the AmazonClient they add it into "parameters[] " array, in your code is "options[]" or "param[]" i'm not sure?

If MWSAuthToken is a standard parameter like SellerId, then it should go in $this->options[], yes. I have not yet been able to look into this issue, so I may be wrong on this.

Support for the MWSAuthToken has been added to the master branch and will be part of the next release.

Thanks a lot Peardian. when is the next release, if i may ask :)

There is no specific date for the release, just whenever I finish getting all of the classes up to date with the current documentation and adding support for the new APIs.


[SETL-112] feat: add StructuredStreamingConnector

Added StructuredStreamingConnector.
Example:
val spark: SparkSession = new SparkSessionBuilder().setEnv("local").build().get()

val inputConf: Map[String, String] = Map(
  "format" -> "text",
  "path" -> "input/directiroy"
)

val consoleOutputConf: Map[String, String] = Map(
  "format" -> "console",
  "outputMode" -> "append"
)

val connector = new StructuredStreamingConnector(inputConf)
val outputConnector = new StructuredStreamingConnector(consoleOutputConf)

val input = connector.read()
outputConnector.write(input)
outputConnector.awaitTermination()

Added support in ConnectorBuilder and SparkRepositoryBuilder as well. We can instantiate a structured streaming connector with the following example configuration:
example_configuration {
  storage = "STRUCTURED_STREAMING"
  format = "csv"
  header = "false"
  outputMode = "append"
  checkpointLocation = "output/checkpoint_dir"
  path = "output/dir"
}

close #112

changed to WIP.
I will add more tests

ready to be merged.
@maroil @JorisTruong can you review the code plz?


Add ignoregamemoderestriction config (adds option to ignore gamemode restriction globally)

Hi, thanks for the PR, but this will be implemented in MV5, you can track the progress here https://github.com/Multiverse/Multiverse-Core/pull/2824


Accessing /login in a logged in state should redirect to the dashboard

Steps to reproduce

Login
Access http://localhost:9292/login

Expected result: Redirect to dashboard
Actual result: Login is shown

How can one reproduce this, I don't think there is a way to register as a new user via the UI or is there an email and password that can be used for testing?

Hey @kevinsamoei, see our comments on https://github.com/fastlane/ci/issues/924#issuecomment-393209605, right now the onboarding isn't implemented on the new frontend yet :)


Updates and changes to match Ultra96-V2 board

I created a new "Ultra96-V2" branch and put my file changes and additions in there.  Please let me know if there is anything else I need to do.
Thanks!
--Tom

can you merge the changes to a single patch instead of editing the license file in individual patches

OK, I edited the files in my local repo instead of via github web.  Did a fresh commit and push.  Is this better?

can you squash and force push to your tree, it should be a single commit patch in your tree on top of master. It now looks like it does have multiple commits along with a merge

Sorry Manju, this task and process of doing a git pull request is still new to me.  I think I see what you mean about the "multiple commits along with a merge".  I will see what I can do to clean this up and send it back to you.

OK, you should see a squashed commit now?

Can you get rid of  "Merge branch 'Ultra96-V2' of https://github.com/narrucmot/ultra96-sta…  …
e41b01e"
Its easier if you have a rebase tree on master with a single patch.

I don't know how to do that.
Sent with BlackBerry Work (www.blackberry.com)

From: mharth<EMAIL_ADDRESS>Sent: Jun 24, 2019 6:34 PM
To: Xilinx/ultra96-startup-pages<EMAIL_ADDRESS>Cc: "Curran, Tom (EM)"<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Xilinx/ultra96-startup-pages] Updates and changes to match Ultra96-V2 board (#1)
Can you get rid of "Merge branch 'Ultra96-V2' of https://github.com/narrucmot/ultra96-sta…https://github.com/narrucmot/ultra96-sta… …
e41b01ehttps://github.com/Xilinx/ultra96-startup-pages/commit/e41b01e343f5e8987a95c3eecdb5e47a89eb7b46"
Its easier if you have a rebase tree on master with a single patch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Xilinx/ultra96-startup-pages/pull/1?email_source=notifications&email_token=ADCNSOHB7NJSGYTGVTNXLTLP4FDXZA5CNFSM4H3BPQD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYONPWI#issuecomment-505206745, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADCNSOEWDYHI6E3CUUYAJ7LP4FDXZANCNFSM4H3BPQDQ.


Raise an error when users try to print a non-existent stack

Description
Expected behavior
When we try to print a stack that isn't in the cloudfile we shout about it‼
Observed behavior
Silent failure outputting null to the command line.

Closing due to issue age.


Test case failure: ntsu_socketutil.t case 17

[ F ][ 24MAR2023_03:37:58.106 ][ main ][ ntsu_socketutil.t.cpp:5613 ]: Assertion true: context.softwareTimestamp().isNull()
Aborted (core dumped)

Fixed in https://github.com/bloomberg/ntf-core/pull/12


Correct namespace when getting the secret

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks good. Thank you for fixing it!


Fix chunked soft fonts not working

This changeset fixes an issue caused by #15991 where "chunked" escape
sequences would get corrupted. The fix is to simply not flush eagerly
anymore. I tried my best to keep the input lag reduction from #15991,
but unfortunately this isn't possible for console APIs.
Closes #16079
Validation Steps Performed

type ascii.com produces soft font ASCII characters ✅

No, I believe this is about as (un)safe to use as it was before. Previously, the buffer would get flushed implicitly due to VtIo calling PaintFrame and calling VtEngine::Cork would've broken this design. Now it's still about the same, maybe even a bit safer.


Use maven based submission by default for samples

Description

This PR has a few improvements:

Use Maven jar version 0.6.2 for submission
delete all the feathr_runtime_location in the samples so that users don't use them in the future. By removing the feathr_runtime_location config, Feathr will automatically using jars from maven.
Format the notebook to JSON to make it easier for future review

How was this PR tested?

Does this PR introduce any user-facing changes?

[ ] No. You can skip the rest of this section.
[ ] Yes. Make sure to clarify your proposed changes.

How does the notebook get the jar from maven?

2. By removing the feathr_runtime_location config, Feathr will automatically using jars from maven.

Yeah if the feathr_runtime_location config is not set, Feathr will automatically using jars from maven.


Random 204 HTTP status

I am seeing random 204 HTTP status codes, instead of 200, when requesting some images.
Here's an example URL that shows this: https://images.weserv.nl/?url=//i.imgur.com/aLTeBxL.jpg
It doesn't seem to be related to the target image's host; I've seen it happen with multiple hosts.
Another example: https://images.weserv.nl/?url=https://image.tmdb.org/t/p/w500/jutsxphSGbnpxpGr23xzbf2ziQZ.jpg
Changing the url param in any way (ex adding a ? character at the end) will show the image, so not sure what is wrong with the broken URLs...
$ curl -v 'https://images.weserv.nl/?url=//i.imgur.com/5lTZGrj.jpg'
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to images.weserv.nl (<IP_ADDRESS>) port 443 (#0)
...
> GET /?url=//i.imgur.com/5lTZGrj.jpg HTTP/2
> Host: images.weserv.nl
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 204
< date: Tue, 08 Dec 2020 22:18:59 GMT
< set-cookie: __cfduid=dc0622dd864387c64bc2466130d4bdc661607465939; expires=Thu, 07-Jan-21 22:18:59 GMT; path=/; domain=.weserv.nl; HttpOnly; SameSite=Lax
< access-control-allow-origin: *
< x-images-api: 5
< cf-cache-status: HIT
< age: 4649
< cf-request-id: 06e608cbc60000f12ad486a000000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=Vz9d%2B31VOooHKRiJE8byA2qPKvBWZEnG16AkjaR1w0t9azR7f0fFLwNNrk21nlkqJEyHPBlRXmwCUIzC7sneh2IszHMmhCcgAtZc6WKWP8%2Fy"}],"group":"cf-nel","max_age":604800}
< nel: {"report_to":"cf-nel","max_age":604800}
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< server: cloudflare
< cf-ray: 5fe9dd8c6fc7f12a-IAD
<
* Connection #0 to host images.weserv.nl left intact
* Closing connection 0

Some sites overload our servers, in order to protect the service, it will send 204's when it detects huge amounts (100+/sec) of requests originating from the same sites. It is the quickest way to close a connection. However, it looks like Cloudflare cached the 204 in your case. I will take a look on how to solve this.

Update: Cloudflare is caching a bit aggressive, monitored this for a few days, and I see what you mean. I tried changing a few parameters, but Cloudflare ain't listening to the "do not cache" headers I tried to sent. Interesting problem..

Setting the Cache-Control: no-store, must-revalidate header to 204 responses fixed this issue. This fix went live on December 21, 2020, I'll close.


docs: update integration tests

Remove CMMN tests
Add Forms tests

Closes #2180

Looks good but I want to know @philippfromme's opinion.


Add searching of vouchers in the voucher screen

By name or voucher ID

All complete on branch voucher-search ready to create PR when appropriate.


Add Kong nginx_worker_processes option

What kind of change does this PR introduce?
This PR adds the ability to configure Kong's nginx_worker_processes value via the below TOML config:
[kong]
# Number of Nginx workers. Set this to 1 to minimize memory usage.
nginx_worker_processes = 1

What is the current behavior?
When running in memory-constrained environments, Kong/Nginx may spawn an excessive number of workers, drastically increasing memory usage.
What is the new behavior?
This PR allows users to fine-tune the number of Kong/Nginx worker processes when desired. If no configuration is provided, the previous behavior (auto) is used.
Additional context
For my use case, this allowed me to cut memory usage of the entire Supabase Docker compose by 79%! (1487 MiB -> 312 MiB) by setting it to just 1 (I'm not especially concerned about the reduced routing performance).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 16 (87.5%)  changed or added relevant lines in 1 file are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 61.988%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/start/start.go
14
16
87.5%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
7
7.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
4672

Relevant Lines:
7537

💛  - Coveralls


Revise basic ScalarDB sample

Description
This PR revises the basic sample tutorial that shows users how to create an application that uses ScalarDB.

Note
Many of the formatting and editorial changes in this sample tutorial are similar to the changes I recently made to the "Getting Started with ScalarDB" doc in https://github.com/scalar-labs/scalardb/pull/1028.

Related issues and/or PRs
N/A
Changes made

Revised the tutorial, adding headings and providing additional context to the instructions.

Branches this PR applies to

master

Testing done
I ran our docs site locally and confirmed that this sample tutorial, including headings and notice blocks, appeared as expected.
Checklist

[x] I have commented my code, particularly in hard-to-understand areas.
[x] The documentation has been updated to reflect the changes.
[x] Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
[x] Tests (unit, integration, etc.) have been added for the changes.
[x] My changes generate no new warnings.
[x] Any dependent changes in other PRs have been merged and published.

Additional notes (optional)
Please see my comments in the doc.

LGTM, while I left a minor comment.
Besides the PR, it would be great if we could review the PR of the docs with the rendered website under a temporal URL. Do you think it's possible with a reasonable cost?

@choplin (cc: @feeblefakie) Good question! I completely understand the desire to see things like notices, which don't render in GitHub. There is a way, but I worry setting up the temporary site for each PR would take a bit of time and I also worry about the site being indexed by Google, which may cause confusion in their search results.
When I check the rendered site locally on my machine, I could include a screenshot or PDF of rendered page in my PRs. Would that be helpful and/or do you have any concerns?

@josh-wong Thank you for your consideration!

When I check the rendered site locally on my machine, I could include a screenshot or PDF of rendered page in my PRs. Would that be helpful and/or do you have any concerns?

Yes. That would be helpful for sure. If it's possible, attaching the set of rendered static files (html, js, css etc.) would also be good.

Yes. That would be helpful for sure. If it's possible, attaching the set of rendered static files (html, js, css etc.) would also be good.

@choplin I tried opening the static site based on the files that are output when building the docs site locally. But unfortunately, the HTML files don't render properly. I believe this is because the Jekyll-based site uses a Gemfile to call the remote Jekyll theme and plugins that we use.
For now, I'll start including screenshots in my PRs.

Note
On a related note, as I briefly mentioned today, if we move our product docs to dedicated docs repositories in the future, you would be able to build the docs sites locally.

Okay! Thank you for trying it! Screenshots must be helpful!


For Classic Upload it is not possible to use a folder within a bucket

Local file local_file.txt
Specify remote path like: gs://my-bucket/my-folder
The file gets added under my-bucket with filename "my-folder\local_file.txt" and not added to my-folder as intended.
Folders do work with Build Log Upload

Migrated from: https://issues.jenkins-ci.org/browse/JENKINS-23669

Closing because this was originally filed in 2014 and the files I've created in testing have been working with folders.


pull request for e2e test at 02/03/2017 06:45:07

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


Hard-to-diagnose failure when deploying Framework MSBuild assemblies but intending to target Core

Steps to reproduce

Build MSBuild

(.\build.cmd /p:CreateBootstrap=true)

Deploy it

In an admin command prompt, run powershell.exe, then scripts\Deploy-MSBuild.ps1
Specify the location to the folder used by dotnet build (typically under Program Files\dotnet\sdk).

Run dotnet build on anything.

Expected behavior
Some indicator that you built targeting Framework but tried to run MSBuild as if you'd targeted Core.
Actual behavior
Build Failed
0 Warning(s)
0 Error(s)
msbuild.log
msbuild.txt
(Change the latter to a binlog)
Since this won't affect external customers, we shouldn't make it run every time someone builds. It might be reasonable to take the location and output a warning if running Deploy-MSBuild without specifying Core to a folder under sdk.

One other idea I had is to beef up Deploy-MSBuild.ps1 so that it detects core/full based on heuristics and picks itself. Maybe your "folder under sdk" is sufficient for that?


Won’t let me go into Ubuntu for a second time

Black screen with text when reboot

Fixed it nevermind

How did you fix it ?

yes, please explain how you fixed it. The same exact thing happened to me.


potential source of overrate measurement

I have observed BandwidthRate enforcement does not take effect immediately when utilization reaches the threshold even when BandwidthBurst is set to the same value, that actual bandwidth can exceed the threshold for several seconds before it does.  In addition BandwidthBurst create additional room for bandwidth in excess of BandwidthRate.
Seems possible that relays--exit relays in particular--relying on BandwidthRate  to limit traffic could measure too high and be overrated in the consensus as a consequence of the above.   Adding this note in case the information is helpful.

sbws targets a measurement time of 6 seconds and accepts measurements that took between 5 and 10 seconds. It also makes many measurements one right after another over the same stream.
With this in mind, do you still believe this might be a problem?

Not really sure.  If you mean the first six seconds of measurement are deemphasized that certainly will help, though I think it takes more than that before the daemon rate limit takes effect.  Back-to-back series of measurements will help too as long as the duration is not short.
Seems to me it might be worth minor investigation as part of other testing work.  Your call of course.

If you mean the first six seconds of measurement are deemphasized that certainly will help

Nope. I mean the number of bytes to download is calculated such that it will probably take 6 seconds to download them all. Measurements between 5s and 10s are accepted. Measurements outside this range cause the calculation to be redone. Measurement is repeated over a single stream with no delay until there are 5 measurements that are acceptable.
If someone wants to test how {,Relay}Bandwidth{Rate,Burst} settings interact with measurements, I'd suggest

starting with the simple-ipv4 or simple-ipv6 test network and making a copy of it
modify the config generation such that relays have {,Relay}Bandwidth{Rate,Burst} set in some way that will make result verification easy
run the network and the scanner and verify results

the number of bytes to download is calculated such that it will probably take 6 seconds to download them all

Biased heavily toward measuring latency rather than residual bandwidth.   Will have a strong tendency to bypass BandWidthRate/BandWidthBurst based on what I have observed, though the last time I looked was 2.6 or 2.9 and the logic could have changed since then.
I see the value in measuring latency but it's an incomplete picture of the state of relay's ability to forward traffic.  Suggestion:  take both the 6-second latency measurement and something like a 40 second measurement that biases to pure residual bandwidth and combine the two when arriving at consensus votes.
With respect to investigation, what I meant was examining measurements of individual relays with known characteristics in the live network during the phase where logic for final vote generate is under development and seeing how different rate-limit types interact with the scanner.

We are working on this in PR #191 and issue #155.
Thanks for your suggestion.


Register Scotch.jl

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/108969
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" 4b7a87577083a02d9abe61f1d21f65690fe5eb55
git push origin v1.0.0


Prevents packing *.razor files

Prevents BECanvas.razor from being published in the Nuget package.

Thanks!

Great, can you release a new version on NuGet?


Process Error: copy_thread failed to pop pages, bailing

Memory stress test
Command: stressapptest -s 40000 -M 100 -m 40 -W
Process Error: copy_thread failed to pop pages, bailing
...
Process Error: Thread 16 failed with status 0 at 25713.01 seconds
Stats: Found 0 hardware incidents
Stats: Completed: 5160194.00M in 39999.55s 129.01MB/s, with 0 hardware incidents, 0 errors
Stats: Memory Copy: 5160194.00M at 130.16MB/s
Stats: File Copy: 0.00M at 0.00MB/s
Stats: Net Copy: 0.00M at 0.00MB/s
Stats: Data Check: 0.00M at 0.00MB/s
Stats: Invert Data: 0.00M at 0.00MB/s
Stats: Disk: 0.00M at 0.00MB/s

Status: FAIL - test encountered procedural errors

Process Error: Fatal issue encountered. See above logs for details.

Hardware incidents is 0.  What does this mean？
Hope you reply, thanks.

Thank you for your reply.
---Original---
From: @.>
Date: Wed, Jul 3, 2024 04:30 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [stressapptest/stressapptest] Process Error: copy_thread failedto pop pages, bailing (Issue #117)
This error means you ran out of either full or empty pages. Each of your 40
threads (-m 40) must hold one filled source and one empty target page, each
1MB. But you have only 100 MB of memory allocated, and therefore only 100
pages, most of which are filled.
If you increase the amount of memory allocated (-M 1000) this issue
should be resolved.
On Mon, Jul 1, 2024 at 9:44 PM belleangelina @.***>
wrote:
> Memory stress test
>
> Command: stressapptest -s 40000 -M 100 -m 40 -W
>
> Process Error: copy_thread failed to pop pages, bailing
> ...
> Process Error: Thread 16 failed with status 0 at 25713.01 seconds
> Stats: Found 0 hardware incidents
> Stats: Completed: 5160194.00M in 39999.55s 129.01MB/s, with 0 hardware incidents, 0 errors
> Stats: Memory Copy: 5160194.00M at 130.16MB/s
> Stats: File Copy: 0.00M at 0.00MB/s
> Stats: Net Copy: 0.00M at 0.00MB/s
> Stats: Data Check: 0.00M at 0.00MB/s
> Stats: Invert Data: 0.00M at 0.00MB/s
> Stats: Disk: 0.00M at 0.00MB/s
>
> Status: FAIL - test encountered procedural errors
>
> Process Error: Fatal issue encountered. See above logs for details.
>
> Hardware incidents is 0. What does this mean？
> Hope you reply, thanks.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/stressapptest/stressapptest/issues/117>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADMRIIMYYVQUFTO7OPDE35TZKIV33AVCNFSM6AAAAABKGXYN2KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DKMRQG43DONA>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: @.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


why did this occured SessionNOtCreatedException?

public class Setup
{
    public static WindowsDriver ExplorerSession = null;
    public static WindowsDriver<WindowsElement> WindowSession = null;
    public static WebElement Result = null;
    public static ChromeDriver Chrome = null;
    public static Modules modules;
    public static Actions actions ;
    public static Session session;

	   @BeforeClass
	    public static void setup() {
	        try {
	        	 DesiredCapabilities appCapabilities = new DesiredCapabilities();
	             appCapabilities.setCapability("platformName", "Windows");
	             appCapabilities.setCapability("deviceName", "WindowsPC");
	             appCapabilities.setCapability("app", "Root");
	             WindowSession = new WindowsDriver<WindowsElement>(new URL("http://<IP_ADDRESS>:4723/wd/hub"), appCapabilities);
	            actions = new Actions(WindowSession);
	            modules = new Modules(WindowSession);
	            session = new Session(WindowSession);

	        }catch(Exception e){
	            e.printStackTrace();
	        } finally {
	        }
	    }

	    @AfterClass
	    public static void TearDown()
	    {
	    	Result = null;
	        if (WindowSession != null) {
	        	WindowSession.quit();
	        }
	        WindowSession = null;
	    }
}

error
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=Root, platformName=Windows, deviceName=WindowsPC}], required capabilities = Capabilities [{}]
Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 09:10:29 +0000'
console log
{"desiredCapabilities":{"app":"Root","platformName":"Windows","deviceName":"WindowsPC"},"requiredCapabilities":{}}
HTTP/1.1 404 Not Found
error line code is
WindowSession = new WindowsDriver<WindowsElement>(new URL("http://<IP_ADDRESS>:4723/wd/hub"), appCapabilities);
what happened?
Isn't there only one session(new URL("http://<IP_ADDRESS>:4723/wd/hub") that can be created?
Separately, this code worked normally.
public class Setup
{
    public static WindowsDriver ExplorerSession = null;
    public static WebElement ExplorerResult = null;
    public static ChromeDriver Chrome = null;
    public static Modules modules;
    public static Actions actions ;
	   @BeforeClass
	    public static void setup() {
	        try {
	            DesiredCapabilities capabilities = new DesiredCapabilities();
	            capabilities.setCapability("app", "C:\\Windows\\explorer.exe");
	            ExplorerSession = new WindowsDriver(new URL("http://<IP_ADDRESS>:4723"), capabilities);
	            ExplorerSession.manage().timeouts().implicitlyWait(2, TimeUnit.SECONDS);
	            actions = new Actions(ExplorerSession);
	            modules = new Modules(ExplorerSession);
	        }catch(Exception e){
	            e.printStackTrace();
	        } finally {
	        }
	    }

	    @AfterClass
	    public static void TearDown()
	    {
	    	ExplorerResult = null;
	        if (ExplorerSession != null) {
	            ExplorerSession.quit();
	        }
	        ExplorerSession = null;
	    }
}

I guess your URL in Java doesn't match the command you launch WinAppDriver.
Typically there three ways to start WinAppDriver, you may cd C:\Program Files (x86)\Windows Application Driver, then

WinAppDriver.exe 4727
WinAppDriver.exe <IP_ADDRESS> 4725
WinAppDriver.exe <IP_ADDRESS> 4723/wd/hub

By default, it's <IP_ADDRESS>:4723, so you need to use new URL("http://<IP_ADDRESS>:4723") in Java.
wd/hub is specific to the connection with Appium, and I don't expect you to use it unless your solution is Java WebDriver + Appium + WinAppDriver.
If you launched WinAppDriver with WinAppDriver.exe <IP_ADDRESS> 4723/wd/hub, your URL should be new URL("http://<IP_ADDRESS>:4723/wd/hub") too.
WebDriver + Appium + WinAppDriver is a little different, and you should launch WinAppDriver with /wd/hub, but new URL without /wd/hub
I didn't do the testing, but I guess WinAppDriver supports multiple sessions. Because 'keyboard/mouse focus' problem, multiple session should be controlled in on test case and it doesn't support two test cases are running at the same time.

I guess your URL in Java doesn't match the command you launch WinAppDriver.
Typically there three ways to start WinAppDriver, you may cd C:\Program Files (x86)\Windows Application Driver, then

WinAppDriver.exe 4727
WinAppDriver.exe <IP_ADDRESS> 4725
WinAppDriver.exe <IP_ADDRESS> 4723/wd/hub

By default, it's <IP_ADDRESS>:4723, so you need to use new URL("http://<IP_ADDRESS>:4723") in Java.
wd/hub is specific to the connection with Appium, and I don't expect you to use it unless your solution is Java WebDriver + Appium + WinAppDriver.
If you launched WinAppDriver with WinAppDriver.exe <IP_ADDRESS> 4723/wd/hub, your URL should be new URL("http://<IP_ADDRESS>:4723/wd/hub") too.
WebDriver + Appium + WinAppDriver is a little different, and you should launch WinAppDriver with /wd/hub, but new URL without /wd/hub
I didn't do the testing, but I guess WinAppDriver supports multiple sessions. Because 'keyboard/mouse focus' problem, multiple session should be controlled in on test case and it doesn't support two test cases are running at the same time.

I tried to this URL("http://<IP_ADDRESS>:4723"). so operate normally
so now I can try to other work. you save my day!!


Openness and outreach

Great project—I suspect you will all learn and build some excellent things. I just wanted to respond, in the most sincere way, with a few resources for everyone here to check out:

http://github.com/tc39/agendas is the repo where all meeting agendas are posted and created over the 2 months between each meeting. Here is the agenda for next week: https://github.com/tc39/agendas/blob/master/2017/01.md
https://github.com/tc39/test262 is the open source repo containing all of the spec conformance tests—these are also written in JS. Contribution only requires signing a CLA (very much like most large open source projects)
https://github.com/tc39/process-document is home to the source of the TC39 Process Document which concretely defines the steps taken to bring features/fixes/changes etc from proposal to published specification.
Here is a list of all proposals, both active and inactive:

https://github.com/tc39/proposal-async-iteration
https://github.com/tc39/proposal-bind-operator
https://github.com/tc39/proposal-cancelable-promises
https://github.com/tc39/proposal-class-public-fields
https://github.com/tc39/proposal-decorators
https://github.com/tc39/proposal-dynamic-import
https://github.com/tc39/proposal-dynamic-modules
https://github.com/tc39/proposal-global
https://github.com/tc39/proposal-intl-plural-rules
https://github.com/tc39/proposal-intl-segmenter
https://github.com/tc39/proposal-module-get
https://github.com/tc39/proposal-object-getownpropertydescriptors
https://github.com/tc39/proposal-object-values-entries
https://github.com/tc39/proposal-observable
https://github.com/tc39/proposal-private-fields
https://github.com/tc39/proposal-promise-finally
https://github.com/tc39/proposal-ptc-syntax
https://github.com/tc39/proposal-realms
https://github.com/tc39/proposal-regexp-legacy-features
https://github.com/tc39/proposal-regexp-lookbehind
https://github.com/tc39/proposal-regexp-named-groups
https://github.com/tc39/proposal-regexp-unicode-property-escapes
https://github.com/tc39/proposal-string-pad-start-end
https://github.com/tc39/proposal-template-literal-revision
https://github.com/tc39/proposal-trailing-function-commas
https://github.com/tc39/proposal-weakrefs

https://github.com/tc39/proposals is where you'd look if you want to see the progress of the proposals "at a glance" (ie. stage, activity, etc).
https://github.com/tc39/tc39-notes is sync-ed fork of my own meeting notes dating back to May 2012. This material is a bit dense, but I hope it accurately captures the discussions, motivations, reasons and rationales. It's also a good place to track the history of specific features as they evolved from proposal to specification. This is so open that it contains the Ecma legal stuff from every meeting, as well as the names of every person in attendance.
https://github.com/tc39/ecma262 is the big one! That's the actual spec source itself, contributions are subject only to CLA signature.

Ok, that's all! I hope you find the resources helpful :)

Heya thanks for the info - that's a rather large list you have there haha.
I'll be happy to link to this issue from the Readme once I'm back behind my
laptop (:
On Thu, Jan 19, 2017, 22:15 Rick Waldron<EMAIL_ADDRESS>wrote:

Great project—I suspect you will all learn and build some excellent
things. I just wanted to respond, in the most sincere way, with a few
resources for everyone here to check out:

http://github.com/tc39/agendas https://github.com/tc39/agendas is
the repo where all meeting agendas are posted and created over the 2 months
between each meeting. Here is the agenda for next week:
https://github.com/tc39/agendas/blob/master/2017/01.md
https://github.com/tc39/test262 is the open source repo containing
all of the spec conformance tests—these are also written in JS.
Contribution only requires signing a CLA (very much like most large open
source projects)
https://github.com/tc39/process-document is home to the source of
the TC39 Process Document https://tc39.github.io/process-document/
which concretely defines the steps taken to bring features/fixes/changes
etc from proposal to published specification. Here is a list of all
proposals, both active and inactive:

https://github.com/tc39/proposal-async-iteration
https://github.com/tc39/proposal-bind-operator
https://github.com/tc39/proposal-cancelable-promises
https://github.com/tc39/proposal-class-public-fields
https://github.com/tc39/proposal-decorators
https://github.com/tc39/proposal-dynamic-import
https://github.com/tc39/proposal-dynamic-modules
https://github.com/tc39/proposal-global
https://github.com/tc39/proposal-intl-plural-rules
https://github.com/tc39/proposal-intl-segmenter
https://github.com/tc39/proposal-module-get
https://github.com/tc39/proposal-object-getownpropertydescriptors
https://github.com/tc39/proposal-object-values-entries
https://github.com/tc39/proposal-observable
https://github.com/tc39/proposal-private-fields
https://github.com/tc39/proposal-promise-finally
https://github.com/tc39/proposal-ptc-syntax
https://github.com/tc39/proposal-realms
https://github.com/tc39/proposal-regexp-legacy-features
https://github.com/tc39/proposal-regexp-lookbehind
https://github.com/tc39/proposal-regexp-named-groups
https://github.com/tc39/proposal-regexp-unicode-property-escapes
https://github.com/tc39/proposal-string-pad-start-end
https://github.com/tc39/proposal-template-literal-revision
https://github.com/tc39/proposal-trailing-function-commas
https://github.com/tc39/proposal-weakrefs

https://github.com/tc39/proposals is where you'd look if you want to
see the progress of the proposals "at a glance" (ie. stage, activity, etc).
https://github.com/tc39/tc39-notes is sync-ed fork of my own meeting
notes dating back to May 2012. This material is a bit dense, but I hope it
accurately captures the discussions, motivations, reasons and rationales.
It's also a good place to track the history of specific features as they
evolved from proposal to specification. This is so open that it contains
the Ecma legal stuff from every meeting, as well as the names of every
person in attendance.
https://github.com/tc39/ecma262 is the big one! That's the actual
spec source itself, contributions are subject only to CLA signature.

Ok, that's all! I hope you find the resources helpful :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/es2020/issues/23, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlejM7Fx9o2vGxMivIoSo_tlPOPctiks5rT9JcgaJpZM4LonOO
.


flutter error is slightly confused when xcode needs EULA

%flutter run
Error executing simctl: 69

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

No connected devices.

To run on a simulator, launch it first:
open -a Simulator.app

It's fine.  Just not exactly what you'd expect.  Feel free to close.  @danrubel

I believe this is fixed... see https://github.com/flutter/flutter/issues/1905


Move legacy implementations to v1 packages

In order to simplify the PR #49 , we are going to separate it to some sub-task.
This PR intends to move all legacy implementations to v1 package to remove noise in PR #49.
@hanahmily

https://github.com/apache/skywalking-banyandb/pull/52 might fix test issues, would you sync it to check?

#52 might fix test issues, would you sync it to check?

I would sync after merge

@hanahmily Merge #52 . Now all tests have passed.


package name gnome keyring service in Greetd.nix.

Describe the bug
https://github.com/NixOS/nixpkgs/blob/a02e85f85ffcd4d7e8c93f78b3bedbd0d8ead942/nixos/modules/services/display-managers/greetd.nix#L68
From what I know gnome.gnome-keyring is renamed to gnome-keyring.
Noticed since my gnome-keyring service is not starting
Steps To Reproduce
Build nixos config with greetd and gnome-keyring
Expected behavior
Gnome-keyring auto starts

Now that I've searched the repo, quite number of places require changes from gnome.gnome-keyring to gnome-keyring


show message instead of throwing when can't find hackmud folder

Couldn't find your hackmud folder. If your hackmud folder is not in the standard
place you can set its path with the environment variable HSM_HACKMUD_PATH or the
--hackmud-path=<path> option.

maybe push() and watch() should throw but hsm catches it and shows the appropriate message


[DEFECT] RFE scoring (avg and std scoring) should be computed for each realization

Thank you for the defect report

[X] I am using the latest version of RAVEN.
[X] I have read the Wiki.
[X] I have created a minimum, reproducible example
that demonstrates the defect.

Defect Description
RFE scoring (avg and std scoring) should be computed for each realization.
This causes an inconsistency between the RFE-DMDc and the GA-DMDc approach documented in the Feature Selection algorithm presented in the IES report released in July 2023.
Steps to Reproduce
N/A
Expected Behavior
RFE scoring (avg and std scoring) should be computed for each realization.
Screenshots and Input Files
N/A
OS
MacOS
OS Version
No response
Dependency Manager
CONDA
For Change Control Board: Issue Review

[X] Is it tagged with a type: defect or task?
[X] Is it tagged with a priority: critical, normal or minor?
[X] If it will impact requirements or requirements tests, is it tagged with requirements?
[X] If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[X] Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure

[x] If the issue is a defect, is the defect fixed?
[x] If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[ ] If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

checklist are good with PR#2231


Error building atom-shell from source

Steps to reproduce:

Fresh clone of atom-shell. When I did it, the commit was 2ed7d58ac443
Follow the Linux build instructions here: https://github.com/atom/atom-shell/blob/master/docs/development/build-instructions-linux.md
(I'm using 64-bit Ubuntu 13.10)
./script/bootstrap.py works, however
./script/build.py -c Debug throws errors

Here's the compile output up to the first error. There were a bunch more similar errors.
$ ./script/build.py -c Debug
ninja: Entering directory `out/Debug'
[8/994] CXX obj/vendor/breakpad/src/client/linux/handler/breakpad_client.minidump_descriptor.o
FAILED: /usr/bin/clang++ -MMD -MF obj/vendor/breakpad/src/client/linux/handler/breakpad_client.minidump_descriptor.o.d -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DTOOLKIT_VIEWS -DUSE_AURA -DVIEWS_IMPLEMENTATION -DWEBVIEW_IMPLEMENTATION -DUSE_X11 -I../../vendor/breakpad/src -I../../vendor/breakpad/src/client -I../../vendor/breakpad/src/third_party/linux/include -I../../vendor -I../../vendor/breakpad -g -Wno-empty-body -std=c++11 -std=gnu++11 -fno-rtti -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz  -c ../../vendor/breakpad/src/client/linux/handler/minidump_descriptor.cc -o obj/vendor/breakpad/src/client/linux/handler/breakpad_client.minidump_descriptor.o
In file included from ../../vendor/breakpad/src/client/linux/handler/minidump_descriptor.cc:32:
In file included from ../../vendor/breakpad/src/client/linux/handler/minidump_descriptor.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/string:39:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/char_traits.h:38:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algobase.h:64:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_pair.h:59:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:57:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/type_traits:268:39: error: use of undeclared identifier '__float128'
    struct __is_floating_point_helper<__float128>
                                      ^
1 error generated.

I think it's this issue: http://stackoverflow.com/questions/13525774/clang-and-float128-bug-error
I "fixed" it by changing one line in out/Debug/build.ninja
Before:
 command = $cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc $cflags_pch_cc -c $in -o $out

After:
command = $cxx -MMD -MF $out.d $defines $includes -D__STRICT_ANSI__ $cflags $cflags_cc $cflags_pch_cc -c $in -o $out
After that it compiles without complaints.

@dcposch Thanks for the solution, can you move your fix from brightray to common.gypi#L128 and see if it works? This error seems to only happen in breakpad, in this way we can limit the fix in breakpad instead of the whole project.

I tried it out, but it didn't work. The errors are happening outside of breakpad too. Example below:
[6/237] CXX brightray/browser/brightray.inspectable_web_contents_delegate.o
FAILED: /usr/bin/clang++ -MMD -MF brightray/browser/brightray.inspectable_web_contents_delegate.o.d -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DTOOLKIT_VIEWS -DUSE_AURA -DVIEWS_IMPLEMENTATION -DWEBVIEW_IMPLEMENTATION -DUSE_X11 -I../../../brightray -I../../../brightray/vendor/download/libchromiumcontent/src -I../../../brightray/vendor/download/libchromiumcontent/src/skia/config -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -I../../../brightray/vendor/download/libchromiumcontent/Release/gen -g -std=c++11 -std=gnu++11 -fno-rtti -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -std=gnu++11 -fno-rtti -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -Wno-deprecated-register -fno-rtti  -c ../../../brightray/browser/inspectable_web_contents_delegate.cc -o brightray/browser/brightray.inspectable_web_contents_delegate.o
clang: warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'?
warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option]
In file included from ../../../brightray/browser/inspectable_web_contents_delegate.cc:1:
In file included from ../../../brightray/browser/inspectable_web_contents_delegate.h:4:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/string:39:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/char_traits.h:38:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algobase.h:64:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_pair.h:59:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:57:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/type_traits:268:39: error: use of undeclared identifier '__float128'
    struct __is_floating_point_helper<__float128>
                                  ^

Here's what I've tried so far. It gets past a bunch of other compile errors it ran into before.
https://github.com/atom/atom-shell/commit/8628646487530a21cb9b831805d2f36b7a07f52c

OK, now it builds!
Same changes in atom-shell. I additionally had to update vendor/brightray: https://github.com/brightray/brightray/pull/92

@dcposch I didn't realize it also happens outside breakpad, if so your original PR should be enough to fix this, sorry for the trouble, I'll merge brightray/brightray#91.

Fixed with https://github.com/brightray/brightray/pull/91.


Prettify error message from Oracle

Current:

sending json message failed: got non-200 response '500' and message: {"status":307,"message":"dropping database failed: Unable to drop database:\n\u003e stdout:\n'DROP USER CHORUS44 CASCADE\r\n*\r\nERROR at line 1:\r\nORA-01940: cannot drop a user that is currently connected\r\n\r\n\r'\n\u003e stderr:\n''\n\u003e exitCode: 1940"}

The one I'd expect:

Dropping database failed: cannot drop a user that is currently connected

Or something along that line.

Migrated to new repository


prev/next post not linking to correct post

Fixed: https://github.com/Jinksi/gatsbro/commit/be427a5e22ac47d50c07d0de91d1caae789d6f6b


PreReq checks are wrong

AzureAD module is installed instead of Az.ResourceGraph module.
https://github.com/azsk/AzTS-docs/blob/97e9ffb53537e7de9a1fee1a8be3738ef25a8a67/Scripts/RemediationScripts/Remediate-InvalidAADObjectRoleAssignments.ps1#L83-L87
Moreover, the check for the AzureAD module doesn't check if one has the AzureADPreview module. If one has AzureADPreview module installed, the install-package cmd will fail.
https://github.com/azsk/AzTS-docs/blob/97e9ffb53537e7de9a1fee1a8be3738ef25a8a67/Scripts/RemediationScripts/Remediate-InvalidAADObjectRoleAssignments.ps1#L94-L98

Hi @fume,
Thanks for bringing this to our notice. We have fixed the issue where AzureAD module was getting installed instead of Az.ResourceGraph module. We are not adding support for both AzureAD and AzureADPreview because some of the commands which are there in AzureAD module but are not available in AzureADPreview.
Thanks once again for your contribution.
Thanks!


staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber (AuthenticationTests) failing with "Expectation 'subscriber received a location update' unfulfilled."

Seems to pass on the majority (over 50%) of test runs, therefore looks like it's flakey.
Failing from our Android emulation workflow. These links will only survive as long as GitHub keeps the test run logs, so I'll also quote from the output...
At API Level 29 (https://github.com/ably/ably-asset-tracking-android/pull/841):
com.ably.tracking.tests.AuthenticationTests > staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber[test(AVD) - 10] FAILED
	java.lang.AssertionError: Expectation 'subscriber received a location update' unfulfilled.
	at com.ably.tracking.test.android.common.Expectation.assertFulfilled(Expectations.kt:55)
Tests on test(AVD) - 10 failed: There was 1 failure(s).

> Task :integration-testing-app:connectedDebugAndroidTest FAILED

At API Level 24 (https://github.com/ably/ably-asset-tracking-android/pull/842):
com.ably.tracking.tests.AuthenticationTests > staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber[test(AVD) - 7.0] FAILED
	java.lang.AssertionError: Expectation 'subscriber received a location update' unfulfilled.
	at com.ably.tracking.test.android.common.Expectation.assertFulfilled(Expectations.kt:55)

At API Level 29 (https://github.com/ably/ably-asset-tracking-android/pull/843):
com.ably.tracking.tests.AuthenticationTests > staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber[test(AVD) - 10] FAILED
	java.lang.AssertionError: Expectation 'subscriber received a location update' unfulfilled.
	at com.ably.tracking.test.android.common.Expectation.assertFulfilled(Expectations.kt:55)
Tests on test(AVD) - 10 failed: There was 1 failure(s).

At API Level 24 (https://github.com/ably/ably-asset-tracking-android/pull/855):
com.ably.tracking.tests.AuthenticationTests > staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber[test(AVD) - 7.0] FAILED
	java.lang.AssertionError: Expectation 'subscriber received a location update' unfulfilled.
	at com.ably.tracking.test.android.common.Expectation.assertFulfilled(Expectations.kt:55)

At API Level 29 (https://github.com/ably/ably-asset-tracking-android/pull/855):
com.ably.tracking.tests.AuthenticationTests > staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber[test(AVD) - 10] FAILED
	java.lang.AssertionError: Expectation 'subscriber received a location update' unfulfilled.
	at com.ably.tracking.test.android.common.Expectation.assertFulfilled(Expectations.kt:55)

I'm not going to link to the failure runs again as this issue is already noisy enough with commentary, but I just had this test fail 2 (out of 2!) CI check job re-runs. This test is a major blocker to PR velocity.


[BEAM-6944] Add MeanByteCountMonitoringInfoToCounterUpdateTransformer

BEAM-6944
This is last PR that adds MonitoringInfo transformers to Java DF Worker in near time. I keep some of tech debt in for now to simplify review.
I will do cleanup and refactoring that can be done across all MonitoringInfo transformers in following PRs.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@ajamato @pabloem @kennknowles

@pabloem (committer)

@kennknowles
That's a good point regarding usernames. :)
Added jira assigned to myself.


chore(jest): use local InstantSearch.js

Summary
mapping all files (widgets, connectors, utils) allows us to run jest --watch without ever needing to build to see updates

Result

you can run yarn jest --watch without needing to build InstantSearch.js, even for Vue InstantSearch or React InstantSearch Hooks

bleh, I didn't expect this to have an impact on the babel tests. I can either use a different package that we won't have a moduleNameMapper for, or use Jest Projects to isolate the babel tests out?


Move to synchronous mode when the first body are in ordered mode

Move to synchronous mode when the first body are in ordered mode, it's needed to recognize the holes.

Got it.  Thank you!


Audiobook time tracking

Description
New tables IdentifierPlaytimeEntries and IdentifierPlaytimes have been added.
The time tracking API has been added as POST /playtimes/<type>/<identifier>/ .
A new environment variable SIMPLIFIED_REPORTING_EMAIL has been added for the temporary requirement of emailing reports via a cron job, this will require a deployment change.
Playtime aggregations run every 12 hours.
Playtime reporting occurs on the 2nd of every month.
Cannot add the api spec for now since HTTP 207 is not supported by flask_pydantic_spec. Bug ticket here.

Motivation and Context
We need to track the total amount of time an audiobook is playing on a user’s device. The apps should send this information to a remote server every 1 minute.
JIRA

How Has This Been Tested?
Manually run the APIs and summation jobs.
Emailed a local smtp server with the CSV report.

Checklist

[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Just throwing a note on here to remind us that since https://github.com/ThePalaceProject/circulation/pull/1281 went in, and also had a DB migration, that we will need to fix the DB migration here before merging.

I did originally use collection id, but found that every other collection
based route on the CM, which are a lot, uses collection name. To keep it
consistent I also used the name.
I'm not privy as to why that's the standard though.
On Thu, Aug 3, 2023, 10:03 Tim DiLauro @.***> wrote:

@.**** commented on this pull request.
In api/opds.py
https://github.com/ThePalaceProject/circulation/pull/1288#discussion_r1282626832
:

           href=self.url_for(

               "track_playtime_events",

               identifier_type=identifier.type,

               identifier=identifier.identifier,

               library_short_name=self.library.short_name,

               _external=True,

The route we're getting the URL for here is
"/playtimes/<collection_name>/<identifier_type>/path:identifier", so
the href should be something like:
            href=self.url_for(
                "track_playtime_events",
                collection_name=active_license_pool.collection.name,
                identifier_type=identifier.type,
                identifier=identifier.identifier,
                _external=True,
            ),

But I think it might be better -- for a couple of reasons -- if we used
the id of the collection, rather than the name:

A collection name can have spaces, which add to the messiness of the
URLs (though, this is also the case with identifiers, especially the id
type, as well).
A collection name can be changed at any time (for example, when we
notice a typo or extra spaces in the name).

In api/routes.py
https://github.com/ThePalaceProject/circulation/pull/1288#discussion_r1282628027
:

@@ -672,6 +672,18 @@ def track_analytics_event(identifier_type, identifier, event_type):
)

@.***_route(

"/playtimes/<collection_name>/<identifier_type>/path:identifier", methods=["POST"]

I might be better to use collection_id, rather than collection_name, for
the first component of the path, since it is less likely to change.
—
Reply to this email directly, view it on GitHub
https://github.com/ThePalaceProject/circulation/pull/1288#pullrequestreview-1560209270,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVRR5S7DJHJHG6D2EVLIPUDXTMSZRANCNFSM6AAAAAA2SURIFY
.
You are receiving this because you were assigned.Message ID:
@.***>

I did originally use collection id, but found that every other collection based route on the CM, which are a lot, uses collection name. To keep it consistent I also used the name. I'm not privy as to why that's the standard though.

I'd still suggest using the id here, since these URLs might be cached for a long time on the client apps and a name change might cause all of them to break. That said, the client apps should update these links in their registries whenever they fetch the loans feed, so maybe that's good enough.

@RishiDiwanTT I'm going to go ahead and merge this, so that we can get it deployed out for testing. Thanks for all your work on this!


Closing of music player

Acceptance Criteria

[ ] can't quit song from bottom of screen when navigating in the app (it does allow you to pause)

@IsaacHardy / @FrankGrand this was reported by Michael. I don't believe this is possible in the current app either? but ideas on how best to implement it? Simple might be to put like a X second timeout that if you stop playing music, after so many seconds, the player closes.

@conrad-vanl This is current functionality.  You swipe right on the music player banner on bottom and it stops the audio.

Woah. I don't think I would've ever figured that out. Ok.

@conrad-vanl This is our fault for not communicating this to you guys sooner. I do agree that it is functionality that isn't exactly intuitive.
I'm going to relabel this PR to a bug for now.

Let me think on it. It's struck me before as being not quite right UX wise.

@conrad-vanl @burkeshartsis We will need this functionality to work for sermon audio. I would assume the sermon audio and audio playback for music is using the same component, but I just wanted to communicate this anyways.

Yup! Planning to work on it this week.
On Sun, Mar 11, 2018, 9:24 AM Isaac Hardy<EMAIL_ADDRESS>wrote:

@conrad-vanl https://github.com/conrad-vanl @burkeshartsis
https://github.com/burkeshartsis We will need this functionality to
work for sermon audio. I would assume the sermon audio and audio playback
for music is using the same component, but I just wanted to communicate
this anyways.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NewSpring/Apollos/issues/312#issuecomment-372115344,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB9Vq8yIpEEPp4wNdLkiDHTIMkQp7ARBks5tdSWIgaJpZM4SCUV3
.


[BUG] - REMIX cannot display blur in iphone bowser

NextUI Version
2.2.9
Describe the bug
Hi
I am using Remix to build my new project with NextUI
I have added navbar for the layout , the desktop is displaying correctly , but it don't have blur in my iphone's bowser
Operating System Version
IPHONE 11
Browser
Safari
Desktop pic:

Iphone Pic :

It was finally fixed by adding  autoprefixer , please see attahed article , thx!
https://remix.run/docs/en/main/styling/postcss


impl blocks for structs and enums

impl blocks for structs and enums
Recently I have been thinking about impl blocks for structs and enums. Fe doesn't have structs or enums yet but it seems we are in favor of them and I was wondering if a.) we would allow to declare methods on those and if yes would we b.) use impl blocks to define such methods outside of the actual struct/enum definition or inside.
I was thinking if there was a good reason for us to define methods outside of the struct/enum definiton in an impl block other than the blunt "I want Fe to be like Rust" kind of argument.
I think I have a compelling reason for it and I wanted to lay it out here.
Suppose we are building a system with multiple contracts. Let's say that these contracts share a common struct Rectangle.
struct Rectangle:
    with: u256
    height: u256

Now let's imagine that we would like to define a can_hold method for Rectangle to check whether another Rectangle instance would fit inter ours.
Using an impl block that might look like this:
impl Rectangle:

    def can_hold(self, other: Rectangle) -> bool:
        self.width > other.width && self.height > other.height

Now imagine that contract a uses code such as rect_foo.can_hold(rect_bar) but all the other contracts in the system do still use the Rectangle struct but they don't use any of such methods.
I would argue that with the impl block being something separate (potentially even in a separate file) it becomes much easier to ensure that all contracts hold code to work with Rectangle but only contract a holds that extra code of the can_hold method.
If we instead mangle fields and methods together as seen in the following example code, it may become much harder to separate it from the generated code.
struct Rectangle:
    with: u256
    height: u256

    def can_hold(self, other: Rectangle) -> bool:
        self.width > other.width && self.height > other.height

The counter argument would be that the YUL optimizer probably would ensure to remove can_hold from all contracts that doesn't actually use it so my whole point may be moot. :joy:

The Yul optimizer should get rid of any functions that aren't called, so I don't think we need to worry about contract sizes. Also, Rust disallows implementations on external types for design reasons, so I think we should follow suit.

But we can’t implement external traits on external types. For example, we can’t implement the Display trait on Vec within our aggregator crate, because Display and Vec are defined in the standard library and aren’t local to our aggregator crate. This restriction is part of a property of programs called coherence, and more specifically the orphan rule, so named because the parent type is not present. This rule ensures that other people’s code can’t break your code and vice versa. Without the rule, two crates could implement the same trait for the same type, and Rust wouldn’t know which implementation to use.

from: https://doc.rust-lang.org/book/ch10-02-traits.html#implementing-a-trait-on-a-type
I personally like the look of the last example you've provided
struct Rectangle:
    with: u256
    height: u256

    def can_hold(self, other: Rectangle) -> bool:
        self.width > other.width && self.height > other.height

since it's consistent with the syntax of contracts and compact.
If we decide, however, that we should provided support for traits or something like traits, then I'd be for impl blocks.

Support for struct functions was added in #577


User request: show a number on the interactive lesson hint link to show how many possible moves there are from the position

Implemented in v2.3.112


Changes for pixi-compressed-textures

newer version of resource-loader
pass the metadata to images
export WebGLManager

@englercj please reupload resource-loader 1.6.3 to npm.

It Works!
Please publish resource-loader and merge this thing.

Publihed 1.6.3, and travis is rebuilding. I'll look to merge tomorrow.

How about bumping pixi version?

There are other changes in dev that we are not ready to release yet, and a few more things we want to get in first.
You can see all the things waiting for release here:
https://github.com/pixijs/pixi.js/compare/master...dev