EFRS-802: Responsive Design: Choice(Edit/Delete/Test) and icon Copy in "Face collection" disappear when reducing screen expansion

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA

recheckcla

I have read the CLA Document and I hereby sign the CLA

recheckcla


error: missing attribute 'value` when converting

1. System information
mac OS 14.4.1 (23E224) M2
Python3 3.10.11
pip tensorflow 2.16.1
2. Code
Simple conversion of model
  # Load the saved TensorFlow model
  converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_path) # path to the SavedModel directory
  converter.optimizations = [tf.lite.Optimize.DEFAULT]
  tflite_model = converter.convert()

3. Failure after conversion
The  error: missing attribute 'value' error
2024-04-03 20:06:56.393074: E tensorflow/core/framework/node_def_util.cc:676] NodeDef mentions attribute debug_name which is not in the op definition: Op<name=VarHandleOp; signature= -> resource:resource; attr=container:string,default=""; attr=shared_name:string,default=""; attr=dtype:type; attr=shape:shape; attr=allowed_devices:list(string),default=[]; is_stateful=true> This may be expected if your graph generating binary is newer  than this binary. Unknown attributes will be ignored. NodeDef: {{node sequential_4/dense_19/bias}}
2024-04-03 20:06:56.421553: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:364] Ignored output_format.
2024-04-03 20:06:56.421569: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:367] Ignored drop_control_dependency.
2024-04-03 20:06:56.422061: I tensorflow/cc/saved_model/reader.cc:45] Reading SavedModel from: /Users/Me/etc/model
2024-04-03 20:06:56.423458: I tensorflow/cc/saved_model/reader.cc:91] Reading meta graph with tags { serve }
2024-04-03 20:06:56.423473: I tensorflow/cc/saved_model/reader.cc:132] Reading SavedModel debug info (if present) from: /Users/Me/etc/model
2024-04-03 20:06:56.426253: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:375] MLIR V1 optimization pass is not enabled
2024-04-03 20:06:56.428912: I tensorflow/cc/saved_model/loader.cc:231] Restoring SavedModel bundle.
2024-04-03 20:06:56.491848: E tensorflow/core/framework/node_def_util.cc:676] NodeDef mentions attribute debug_name which is not in the op definition: Op<name=VarHandleOp; signature= -> resource:resource; attr=container:string,default=""; attr=shared_name:string,default=""; attr=dtype:type; attr=shape:shape; attr=allowed_devices:list(string),default=[]; is_stateful=true> This may be expected if your graph generating binary is newer  than this binary. Unknown attributes will be ignored. NodeDef: {{node Variable}}
2024-04-03 20:06:56.501951: I tensorflow/cc/saved_model/loader.cc:215] Running initialization op on SavedModel bundle at path: /Users/Me/etc/model
2024-04-03 20:06:56.523353: I tensorflow/cc/saved_model/loader.cc:314] SavedModel load for tags { serve }; Status: success: OK. Took 101287 microseconds.
2024-04-03 20:06:56.540596: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:255] disabling MLIR crash reproducer, set env var `MLIR_CRASH_REPRODUCER_DIRECTORY` to enable.
loc(fused["ReadVariableOp:", "sequential_4_1/conv1d_24_1/Reshape/ReadVariableOp@__inference_serving_default_142497"]): error: missing attribute 'value'
LLVM ERROR: Failed to infer result type(s).

5. (optional) Any other info / logs
Have tried creating fresh venvs, downgrading back to TF 2.13 and I still get same error. Other issues with this same error have had success downgrading to 2.15.0 but am facing the same issue. Pip list output:
absl-py                      2.1.0
astunparse                   1.6.3
cachetools                   5.3.3
certifi                      2024.2.2
charset-normalizer           3.3.2
flatbuffers                  24.3.25
gast                         0.5.4
google-auth                  2.29.0
google-auth-oauthlib         1.2.0
google-pasta                 0.2.0
grpcio                       1.62.1
h5py                         3.10.0
idna                         3.6
keras                        2.15.0
libclang                     18.1.1
Markdown                     3.6
MarkupSafe                   2.1.5
ml-dtypes                    0.2.0
numpy                        1.26.4
oauthlib                     3.2.2
opt-einsum                   3.3.0
packaging                    24.0
pip                          24.0
protobuf                     4.25.3
pyasn1                       0.6.0
pyasn1_modules               0.4.0
requests                     2.31.0
requests-oauthlib            2.0.0
rsa                          4.9
setuptools                   65.5.0
six                          1.16.0
tensorboard                  2.15.2
tensorboard-data-server      0.7.2
tensorflow                   2.15.0
tensorflow-estimator         2.15.0
tensorflow-io-gcs-filesystem 0.36.0
tensorflow-macos             2.15.0
termcolor                    2.4.0
typing_extensions            4.10.0
urllib3                      2.2.1
Werkzeug                     3.0.2
wheel                        0.43.0
wrapt                        1.14.1

Hi @savvn001, can you upload the preconverted model? Also if you have any code which constructed/produced the model that will likely be helpful as well.

Have this same issue in 2.16.1 and I just tried and no issue in 2.14.1.
I reproduced the issue by trying to convert a Keras model DenseNet121.
model = tf.keras.applications.DenseNet121 (
    include_top = True,
    weights = None,
    classes = 3,
    classifier_activation = "softmax"
)

Then just the normal converter:
 cvt = tf.lite.TFLiteConverter.from_keras_model(model)
 cvt.convert()

Didn't matter if I got the model from the saved_model dir or just directly from the Keras model.  2.16.1 fails with the error either way for me.

I had a similar issue with a custom upscaling model.  Exporting with 2.16.1 failed with the missing value error, but 2.14.1 works.
See my complete script here.

Hi @Wheest, can you create a new issue for your case? I don't believe the original author is paying attention to this issue.

Just encountered a similar issue while converting the mnist demo with tf_2.16.1 and py_3.9.19.
Thx to @djmuhlestein, downgrade to tf_2.14.1 is worked


pull request for e2e test at 11/15/2016 21:56:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


Add a wiki: Official Fisch Wiki

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://fisch.fandom.com/
Link to destination (independent) wiki: https://fisch.miraheze.org/
Note from submitter: "Official, non-fandom wiki with generally higher quality pages."

Will be in the v3.11.1 release, pending approval from Chrome and Firefox


Flip button

#399
Button which open like a book is added successfully if there is any changes please let me know

Hi, there seems to be a merge conflict, please resolve it

@PoorviShetty How to resolve this checks . I solve the merge conflict

@shraddha761 Please change your script.js to app.js in 2nd button!


Upgrade serilog to 3.1.1 gives errors

When upgrading to the newest serilog the rawformatting is deleted.
I think this needs to be removed and changed to compactjsonformatter.
see:
https://github.com/serilog/serilog/pull/1808/commits/8c5914d8284c60b54f9fded30f936bd15ca14a55

I see that you already changed it in the #125 . Is there an eta on a new version?

I cannot give an estimate right now. I did some refactoring and I want to make sure everything is working as expected. My best guess would be in about two weeks or so.

That would be great for us. Can u use any help in testing or refactoring if so please let me know so i can help.

I setup the ci build to push packages to the github feed. Feel free to give it try.

@zelda1link3
The first prerelease has been published on nuget.org: https://www.nuget.org/packages/Serilog.Sinks.RabbitMQ/7.0.0-pre.44
Please let us know if you find any issues with it.

Closed as completed and due to lack of feedback.


Missing explicit Privacy Statement

Ladies and Gentlemen,
I would like to use this Extension.
My Company, however, has restrictions that only internally released extensions can be installed. For each extension to be included in the Company-owned Chrome Extension catalog we need a privacy statement confirming which data the application stores in the cloud and when it will be deleted.
This can be a privacy statement on the website of the extension, or a corresponding statement by email from the manufacturer or similar.
The statement must explicitly refer to the extension. Can you please provide this for your extension?
Thank you for your support.
Mit freundlichen Grüßen /Kind regards

Hello,
We will add such notice.
To be clear the UI5 Inspector does not in any way collect or process data but we will make this clear in the repository.
Thanks

Hello,
Privacy statement added to extension's page: https://chrome.google.com/webstore/detail/ui5-inspector/bebecogbafbighhaildooiibipcnbngo
Best regards,
Jordan


[SR-315] Add Address Sanitizer support to Swift

Previous ID
SR-315

Radar
None

Original Reporter
@AnnaZaks

Type
New Feature

Status
Resolved

Resolution
Done

Additional Detail from JIRA

Votes
2

Component/s
Compiler

Labels
New Feature

Assignee
None

Priority
Medium

md5: e9e776bdcc51cd2fd9d09be6b4efde95

Issue Description:
Address Sanitizer (ASan) is a compile time instrumentation + runtime monitoring technique for detecting memory corruption issues such as use-after-free. Even though Swift is much safer than C family of languages, the use of UnsafePointer can lead to memory corruptions.
ASan's compile time instrumentation is done as an llvm transformation pass, and the runtime library is bundled with clang. We need to teach the Swift driver/front end about ASan and add support for issue suppression, similarly to what clang does.

#1434, I suppose.


leaflet

I'm thinking about implementing leaflet on this project.
I'm just writing this issue to discuss the change before I make the pull request.
Does it make sense to support different viewers? So you would choose the one you want (OpenLayers or Leaflet) on the configuration file, similar to what you do with the tiles provider (osm, bing, baidu)?
Or just replace OpenLayers with Leaflet?
My idea is to abstract every map operation like addMarker, addGeonce, updateMarker and have a class implementing it for each provider. It would be like an interface and implementing classes. I don't know if Ext.js supports this but from what I see it looks like it can be done.
What do you think?
Regards

It doesn't make sense unless there are some clear benefits.

Yes, you're right.
OL makes sense if you're building a webbased GIS fronted, which is not the case.
Leaflet is more oriented to this kind of apps. Leaflet is a lot faster, a lot easier to use, has a smaller footprint, more fancy default icons and controls, has more activity on github so I guess its here to last, and has better plugins for marker clustering (which Traccar needs) and better plugins for moving effects (I want to implement the vehicles moving in uber style) and better route drawing.
I was also looking for a more fancy map style, but that can be done with the custom map. I did configure a custom map with the new mapbox style (which is not yet official on the tiles api) and it simply looks great!
Check it you at https://clientes.fleetrack.cl

Sounds like everything is better in leaflet.


Test if the app is on a phone by testing screen.width

Closes 990
📝 Test Instructions:
You will need to test this on various devices to see if it works properly.  Note that this pr does not yet have unit tests.
🧢 Your Project:
Adobe, Inc. Report Builder v2

retest

@michayou Thanks! Behavior looks good. I've updated to fix server side rendering. We can't know the user's screen width on the server, so we always assume it's a desktop, and then update this once the app has been hydrated in the browser.


Push Notifications Queue

NOTE
This would change the functionality of push notifications. It would no longer always return a success or failure. ALL requests would return success since it's going to the queue (unless we have a technical failure). That means the services would need a way to see the status of their push notifications. Setting up that may be a blocker for this ticket.
Value Statement
As VA Notify
I want to Queue up Push notifications
So that Failures to send to VeText (or AWS) in a reasonable amount of time are retried
Acceptance Criteria
The initial processing of a push request only authenticates, validates, and pushes it to a "delivery" queue in the same manner as deliver_email or deliver_sms.
Checklist

[ ] Push notifications kicks off to a deliver_push celery queue task
[ ] Retry functionality similar to SMS/Email

Out of Scope

Notification Objects

No longer relevant.


Support Linux on z as a Swift platform: Part 2

What's in this pull request?
Current code in emitWildcardDispatch() caters only for case statements, the catch statement in a do-catch block can also have wildcard patterns and it can get to the method.
In the case of a catch statement, emitWildcardDispatch() determines that clauses[row].getCaseGuardExpr() is non-null as well, and assumes that clauses[row] refers to a CaseStmt (which is not true; it refers to a CatchStmt instead), and eventually calls usingImplicitVariablesForPattern() to emit the guard branch.
usingImplicitVariablesForPattern() calls getCaseLabelItems() on the CatchStmt object, which returns garbage in a stack-allocated ArrayRef named labelItems.  An assert is thrown when we try to read from labelItems[0]
This is a continuation effort from the previous pull request https://github.com/apple/swift/pull/2541.  Our team encountered this issue during the build of swiftpm for s390x.  However this issue is platform independent and the same assert is reproducible on x86_64 with the new test case added alongside with this commit.
Regression test has been run on both s390x and x86_64 with all the commits proposed here, no new issues found.
There is also a small s390x test enabling change on test/Prototypes/FloatingPoint.swift, test is passing in s390x after the change. (NOTE: This change is in #3240 already)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@slavapestov @rjmccall: could you review, please?

I don't understand the pattern matching stuff at all, so its best @rjmccall or @jckarter review it.

@swift-ci Please test

Thanks a lot for the reviewing @gribozavr.

@garyliu1 I'm just providing guidance with API usage, I don't know if the implementation is actually correct.  @rjmccall or @jckarter know how this code works.

LGTM now, thanks!

@swift-ci Please test and merge


Gradient interoperability between JAX and other autodiff systems (TensorFlow, PyTorch, etc)

There's a nice duality between custom_gradient and jax.jvp/tf.gradients that is exactly what is needed for piping gradients back and forth, e.g.,
# untested!
import jax
import tensorflow as tf

def wrap_tf_in_jax(f):
    @jax.custom_gradient
    def g(x):
        y = f(x)
        return y, lambda g: tf.gradients(y, x, g)
    return g

def wrap_jax_in_tf(f):
    @tf.custom_gradient
    def g(x):
        return jax.vjp(f, x)
    return g

It would be nice to expose user facing functions for this.
Note that defining custom gradients rules isn't quite enough on its own. You also need to define a new JAX "primitive" in order to wrap non-traceable computations.

the same trick of using "custom ops" to wrap entire diffable programs works for e.g. wrapping TF into a PyTorch op. I agree it would be nice to add a clean API for that.

Here's a working version of a prototype for passing gradient between TensorFlow 2 and JAX, which may be a useful point of reference:
https://gist.github.com/shoyer/5f72853c2788e99e785f4737ee8a6ae1

Thanks for the suggestion, but I think we'll leave this to user-defined wrappers rather than adding it to the JAX public API.


Height of histogram series

Hi, how do I control the height of histogram series in overlay mode? scaleMargins doesn't help... Didn't find an answer on stackoverflow and issues lightweight-charts.
When scrolling, it happens that the height of the histogram series overlaps the candlestick series. Is it possible to control this? For example, specify height: 20% for histogram series.
Histogram series options:
{     color: '#385263',     lineWidth: 2,     priceFormat: {       type: 'volume'     },     overlay: true,     scaleMargins: {       top: 0.90,       bottom: 0     }       }

Could you provide a minimal reproduction of this case. I tried to reproduce this problem on this example but everything is fine. Maybe you can change the example with your set of options and data.

Reworked your example with real BTCUSDT data

Thanks, there is definitely a problem here.

Thanks, there is definitely a problem here.

Maybe because of the large interval between volume sizes?

It seems someone has already reported a similar problem https://github.com/tradingview/lightweight-charts/issues/617

I don't know. It can be reproduced even in the vanilla example https://jsfiddle.net/or5g63bq/. I think this is a bug in the lightweight chart

yes, thanks for the feedback!

You should convert values from strings into numbers. It helps.

parseFloat() will help? won't it round the value?

Number("260.140") -> 260.14

Thanks for the help!


Google Maps SDK CoreData crashing issue

@mountainvat
ios version - 9.0
xcode version - 8.2
I am getting below crash when i am implementing Google map in my iOS project. I am using coredata also in my application. Can you plz give me some quick resolution for this? Please find the error and stack trace below:-
[error] error: The current thread is not the recognized owner of this NSManagedObjectContext(0x6080001d86f0).  Illegal access during objectRegisteredForID:
CoreData: error: The current thread is not the recognized owner of this NSManagedObjectContext(0x6080001d86f0).  Illegal access during objectRegisteredForID:
(lldb) bt

thread #17: tid = 0x588886, 0x0000000107e66224 CoreData`+[NSManagedObjectContext Multithreading_Violation_AllThatIsLeftToUsIsHonor] + 4, queue = 'SQLQueue 0x7f8f26d33740 for Objects.sqlite', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

frame #0: 0x0000000107e66224 CoreData+[NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] + 4 frame #1: 0x0000000107e66625 CoreData_PFAssertSafeMultiThreadedAccess_impl + 645
frame #2: 0x0000000107de5388 CoreData-[NSManagedObjectContext objectRegisteredForID:] + 328 frame #3: 0x0000000107ee45ab CoreData-[NSSQLiteConnection updateRow:forRequestContext:] + 171
frame #4: 0x0000000107f8c0fb CoreData_writeChangesForSaveRequest + 2059 frame #5: 0x0000000107f8d963 CoreData_executeSaveChangesRequest + 291
frame #6: 0x0000000107e1a856 CoreData-[NSSQLSaveChangesRequestContext executeRequestUsingConnection:] + 38 frame #7: 0x0000000107f33257 CoreData__52-[NSSQLDefaultConnectionManager handleStoreRequest:]_block_invoke + 215
frame #8: 0x000000010de8b0cd libdispatch.dylib_dispatch_client_callout + 8 frame #9: 0x000000010de682b6 libdispatch.dylib_dispatch_barrier_sync_f_invoke + 340
frame #10: 0x0000000107f3312c CoreData-[NSSQLDefaultConnectionManager handleStoreRequest:] + 236 frame #11: 0x0000000107f3a9bf CoreData-[NSSQLCoreDispatchManager routeStoreRequest:] + 351
frame #12: 0x0000000107ebb5c9 CoreData-[NSSQLCore dispatchRequest:withRetries:] + 233 frame #13: 0x0000000107eb7e7f CoreData-[NSSQLCore processSaveChanges:forContext:] + 191
frame #14: 0x0000000107dad88d CoreData-[NSSQLCore executeRequest:withContext:error:] + 909 frame #15: 0x0000000107ea2be9 CoreData__65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke + 4169
frame #16: 0x0000000107e9ac26 CoreData-[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 390 frame #17: 0x0000000107dad2be CoreData-[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 654
frame #18: 0x0000000107dd75ba CoreData-[NSManagedObjectContext save:] + 3706 frame #19: 0x000000010539a2f8 Owners.com__72-[GMSObjectDataCache storeObjectNamesAndData:version:completionHandler:]_block_invoke + 400
frame #20: 0x000000010de61978 libdispatch.dylib_dispatch_call_block_and_release + 12 frame #21: 0x000000010de8b0cd libdispatch.dylib_dispatch_client_callout + 8
frame #22: 0x000000010de68f64 libdispatch.dylib_dispatch_queue_serial_drain + 569 frame #23: 0x000000010de69b4b libdispatch.dylib_dispatch_queue_invoke + 1073
frame #24: 0x000000010de6a02b libdispatch.dylib_dispatch_queue_override_invoke + 683 frame #25: 0x000000010de6c385 libdispatch.dylib_dispatch_root_queue_drain + 720
frame #26: 0x000000010de6c059 libdispatch.dylib_dispatch_worker_thread3 + 123 frame #27: 0x000000010e235736 libsystem_pthread.dylib_pthread_wqthread + 1299
frame #28: 0x000000010e235211 libsystem_pthread.dylib`start_wqthread + 13
(lldb)

Please raise this issue against the Google Maps SDK issue tracker 👍
https://code.google.com/p/gmaps-api-issues/issues/entry?template=Maps SDK for iOS - Bug

Still doens't work?

The above error is not from this utility library, but instead from the underlying Google Maps SDK for iOS. Please raise an issue regarding this error on the bug tracker mentioned by @mountainvat so we can verify and track a fix. Thanks!


[FLINK-27536][Connectors / Common] Rename method parameter in AsyncSi…

…nkWriter

What is the purpose of the change
Change the abstract method's parameter naming in AsyncSinkWriter and AsyncSinkWriterTest
From Consumer requestResult
to Consumer requestToRetry
This is because the consumer here is supposed to accept a list of requests that need to be retried.
Brief change log
flink-connectors/flink-connector-base/src/main/java/org/apache/flink/connector/base/sink/writer/AsyncSinkWriter.java
flink-connectors/flink-connector-base/src/test/java/org/apache/flink/connector/base/sink/writer/AsyncSinkWriterTest.java
Just rename the parameter of requestResult to requestToRetry
Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)    no
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)    no
The serializers: (yes / no / don't know)    no
The runtime per-record code paths (performance sensitive): (yes / no / don't know)    no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)    no
The S3 file system connector: (yes / no / don't know)    no

Documentation

Does this pull request introduce a new feature? (yes / no)    no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@DavidLiu001 I can see the CI build has already failed.
Before pushing your branch please try to build locally and verify it succeeds.

@dannycranmer Thanks. Built locally with "mvn spotless:apply" and verified this PR with "mvn spotless:check", this PR was updated.

@flinkbot run azure re-run the last Azure build

@flinkbot run azure

BUILD FAILURE: Failed to execute goal on project flink-connector-elasticsearch-base: Could not resolve dependencies for project org.apache.flink:flink-connector-elasticsearch-base:jar:1.16-SNAPSHOT: Failed to collect dependencies at org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:7.10.2 -> org.elasticsearch.plugin:rank-eval-client:jar:7.10.2: Failed to read artifact descriptor for org.elasticsearch.plugin:rank-eval-client:jar:7.10.2: Could not transfer artifact org.elasticsearch.plugin:rank-eval-client:pom:7.10.2 from/to google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/): Read timed out -> [Help 1]
@dannycranmer  It seems it is the environment issue of Azure.

@DavidLiu001 agree. Given this is a non-functional, tech debt PR, merging based on compilation success.


[Public catalog] Grid/List view swapper does not work on mobile

Description
The Grid/List toggle does not work on mobile browsers.
Steps to reproduce

Open the public catalog, either imitate a mobile browser or use a real phone
Attempt to click/touch

Notice that nothing happens

Expected behavior
After clicking the toggle, the catalog swaps between grid/list views
Additional info

iOS 14.8 Safari
Desktop Chrome 93, impersonating a mobile browser

design question to ponder: do we even want grid view on mobile, I feel like we'd just default to list view on that screen size

grid view is a single column with logos but list view has no logos. i kinda like the grid because of that, but i agree having both is excessive.
just a note: i'm unable to recreate this, the buttons work for me on mobile (ios14.8) and chrome (93) mobile impersonation

@LizBaker Thanks for checking this out. It looks like this is something I introduced on my branch for adding categories, since the feature branch is working fine. Could have sworn I tested it on both, but I guess not! @jpvajda  Gonna close this ticket


More manual user agents

3.0.1
Crawlers list update
Add patterns for:

Google WebLight Proxy
HighWinds Content Delivery System
Hydra by addthis
RebelMouse
Scanners: Jorgee Vulnerability, ClamAV Website, Burp Collaborator
Monitoring services: Xymon, AlertSite, Hobbit, updown.io, Monit, Dotcom

Testing
Add some legit browser user-agent strings
Fix periodic tests environment
Add a tester page to check user agents easily (screenshot:)

@gorangajic If you like the page idea, You'll need to enable gh-pages under this repo's settings page:

Great, I like that idea. But first, we will need to have gh-pages branch so I can enable that.

@gorangajic Done. gh-page branch is ready

it works https://gorangajic.github.io/isbot/


Missing Network Plugins API documentation

Problem description
Missing page at https://docs.docker.com/engine/extend/plugins_network/plugin_api.md
Problem location

I saw a problem on the following URL: https://docs.docker.com/engine/extend/plugins_network/#write-a-network-plugin

Suggestions for a fix
Resurrect the documentation for the API and correct the link from the plugins_network page.

Closing. The link on https://docs.docker.com/engine/extend/plugins_network/#write-a-network-plugin is now https://docs.docker.com/engine/extend/plugin_api/ . If there is still an issue, please let us know.


Relax plays do not export properly

Steps to reproduce:
Choose a replay with the relax mod in the config file.
The bug will occur with any relax play.
What happens:
The video shows a 0% accuracy full miss replay, as if no keys had been pressed during the playthrough.
Did this work on a previous version?
No
Additional information:
When the replay is opened in game, the 300s/100s/50s/misses are displayed but they show up as zeroes in the console osr2mp4 is launched in.

why do you play with relax brooo
Jokes aside thanks for testing. I fixed it.


EACCES, permission denied

I get the following error when trying to signup through the browser.
errorMessage: "EACCES, permission denied '/var/task/index.js'", errorType: "Error", stackTrace: Array[7]}

So I don't know if this was necessary, but I added chmod 777 index.js to the Create Lambda Function, deleted the lambda functions through the AWS console and ran the script again, and the error is gone.

you saved my life!


⚠ ClamAV has degraded performance

In d693274, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 681 ms

Resolved: ClamAV performance has improved in 67c2702.


Bug in draw brought up by researcher

https://github.com/py-why/pywhy-graphs/blob/20661f1eadf64bf359a88afc09a8e5fed29123c5/pywhy_graphs/viz/draw.py#L118-L121

This has been resolved.
However, another issue I noticed is we should be able to handle drawing of purely undirected graphs.


Profile picture menu icon isn't updated after changing

Describe the bug

Which site: dev.phanpy.social

To Reproduce
Steps to reproduce the behavior:

Change the profile picture on one of your Mastodon accounts
Open Phanpy
It shows either the old PFP or a grey square.

Expected behavior
Changed PFP in the menu
Screenshots

Desktop (please complete the following information):

OS: openSUSE Tumbleweed
Browser: Firefox
Version: 113

Try open "Accounts…" sheet and double-click on your account's avatar.

That did the trick, thank you.

@LukaszH77 great to know it works! Anyway, this is still kind of a bug; Phanpy cache the account and won't refetch every time - probably I will need to figure this out.
I'm also not sure how you could see the grey square? I assume the old avatar has been deleted from your instance server?

I think I could see the old PFP when it was cached and then the grey square after hard refreshing Phanpy.

Came here to report the same, and the account / double click the icon trick worked.
Tried a hard refresh (Shift + Refresh Icon click) and that didn't work. I'm assuming if I logged all the way out and back in, that would refresh it.

Should be fixed on prod now 🙇♂


Is this data safe to delete?

the Dim/Fact TestResult tables have millions of rows of data that is taking up several gigs of space. We don't really use it and I would like to know the implications of deleting the data in whole or part.
As an aside, much of it is duplicated due to a defect in the vNext build Test task, where it's globbing pattern picks up the same test dll in multiple folders and runs the test assembly multiple times for a build.

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

ID: 3deea0ff-18e2-d8dd-1265-2e09467b1edf
Version Independent ID: df72b337-3167-0c7b-50c0-d58d154ac356
Content: Test Result tables
Content Source: docs/report/sql-reports/test-result-tables.md
Service: unspecified
GitHub Login: @douge
Microsoft Alias: kaelli

@StingyJack - Thank you for your inquiry. Please review this topic - https://docs.microsoft.com/en-us/vsts/manual-test/getting-started/how-long-to-keep-test-results?view=vsts - to learn how to set the retention policy for test results. Meanwhile, I will update the topic you inquired about with this same information.

@KathrynEE  -  I know how to set the retention policy, but that does not seem to affect test results already stored that I wanted to remove.  (That setting also is kind of sucky that its a per project one and not a per-collection one.)
I ended up just recreating a new warehouse and cube recently as it decided to stop updating, so I guess that is how to delete the extra table data


Smart layout API

@nthState Wrote the code below demonstrating using smart layouts with the internal API, so the next step is to figure out what the SketchAPI version should look like...
console.log('Smart Layout Example')

var sketch = require('sketch')
var Rectangle = require('sketch/dom').Rectangle
var Shape = require('sketch/dom').Shape
var SymbolMaster = require('sketch/dom').SymbolMaster
var SymbolInstance = require('sketch/dom').SymbolInstance
var Text = require('sketch/dom').Text;
var Artboard = require('sketch/dom').Artboard
var Page = require('sketch/dom').Page

var document = sketch.getSelectedDocument()
const page = document.selectedPage;

/**
Notes:

Here we need to set Layout:Horizontal & which resize option

MSModelObject
----MSGroupLayout
--------MSInferredGroupLayout
--------MSFreeformGroupLayout

*/
var artboard = new Artboard({
	parent: page,
  name: 'artboard',
  frame: {x: 0, y: 0, width: 100, height: 32},
})

const newLayout = MSInferredGroupLayout.alloc().init()
newLayout.isInferredLayout = true
newLayout.axis = 0
newLayout.layoutAnchor = 1

var rect = new Rectangle(0, 0, 100, 32)

var rectShape = new Shape({
    name: "rectShape",
    parent: artboard,
    frame: rect,
    style: {
      fills: ['#4A90E2']
    }
  });

var textItem = new Text({
            parent: rectShape,
            text: "Hello",
            name: "textItem",
            fixedWidth: 0,
            style:{
              textColor:"#FFFFFF"
            },
            frame: {x: 10, y: 8, width: 80, height: 16},
          });

var symbols = new Page({
  name: 'Symbols',
  parent: document
})

var master = SymbolMaster.fromArtboard(artboard)
master.parent = symbols
master.sketchObject.groupLayout = newLayout

// Create instances

var instance1 = new SymbolInstance({
  name: 'instance',
  symbolId: master.symbolId,
  parent: page
})
instance1.frame = {x: 0, y: 100, width: 100, height: 32}
instance1.setOverrideValue(instance1.overrides[0], 'My really long text goes here')
instance1.sketchObject.resizeToFitContentsIfNeededNoCache()

var instance2 = new SymbolInstance({
  name: 'instance',
  symbolId: master.symbolId,
  parent: page
})
instance2.frame = {x: 0, y: 300, width: 100, height: 32}
instance2.setOverrideValue(instance2.overrides[0], 'My other text should go here something')
instance2.sketchObject.resizeToFitContentsIfNeededNoCache()

Here's my current thinking,

Add a smartLayout getter/setter to SymbolMaster, and enums for the values

master.smartLayout = {
  axis: SmartLayoutAxis.Horizontal,
  anchor: SmartLayoutAnchor.Middle
}

Add a method to symbol instances to trigger the layout

instance.smartLayout()

Thoughts @nthState @christianklotz ?

Keep in mind that Groups inside Symbol Masters can also have Smart Layouts, so the smartLayout getter / setter needs to be available for those too.


Dependency on a non-existent service "sonata.media.admin.media"

Environment
Packages

composer show --latest
Color legend:
- patch or minor release available - update recommended
- major release available - update possible
- up to date version

Direct dependencies required in composer.json:
composer/package-versions-deprecated     <IP_ADDRESS>           <IP_ADDRESS>           Composer plugin that provides efficient querying for installed package versions (no runtime IO)
deployer/deployer                        v7.3.1              v7.3.1              Deployment Tool
doctrine/annotations                     2.0.1               2.0.1               Docblock Annotations Parser
doctrine/doctrine-bundle                 2.9.1               2.10.2              Symfony DoctrineBundle
doctrine/doctrine-fixtures-bundle        3.4.4               3.4.4               Symfony DoctrineFixturesBundle
doctrine/doctrine-migrations-bundle      3.2.2               3.2.4               Symfony DoctrineMigrationsBundle
doctrine/orm                             2.16.1              2.16.2              Object-Relational-Mapper for PHP
dompdf/dompdf                            v1.2.2              v2.0.3              DOMPDF is a CSS 2.1 compliant HTML to PDF converter
excelwebzone/recaptcha-bundle            v1.5.38             v1.5.39             This bundle provides easy reCAPTCHA form field integration
exercise/htmlpurifier-bundle             v3.1.0              4.1.2               HTMLPurifier integration for your Symfony project
friends-of-behat/symfony-extension       v2.4.0              v2.4.1              Integrates Behat with Symfony.
friendsofphp/php-cs-fixer                v3.17.0             v3.26.1             A tool to automatically fix PHP code style
friendsofsymfony/jsrouting-bundle        2.8.0               3.3.0               A pretty nice way to expose your Symfony2 routing to client applications.
hautelook/alice-bundle                   2.12.0              2.12.0              Symfony bundle to manage fixtures with Alice and Faker.
infection/infection                      0.26.21             0.27.0              Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure th...
knplabs/knp-snappy-bundle                v1.9.1              v1.9.2              Easily create PDF and images in Symfony by converting Twig/HTML templates.
liip/test-fixtures-bundle                2.6.0               2.6.0               This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applica...
meritoo/common-bundle                    dev-develop f60b628 dev-develop f60b628 Common & useful classes, resources, extensions. Based on Symfony framework.
mhujer/breadcrumbs-bundle                1.5.8               1.5.8               Breadcrumbs bundle for Symfony
nucleos/sonata-ckeditor-bundle           1.0.0               1.0.0               Symfony Bundle that allows sonata media management for the CKEditor.
pgrimaud/instagram-user-feed             6.16.4              6.16.4              This is a scraper to easily fetch any feed and interact with Instagram (like, follow, etc.) without OAut...
php-coveralls/php-coveralls              v2.5.3              v2.6.0              PHP client library for Coveralls API
phpdocumentor/reflection-docblock        5.3.0               5.3.0               With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve i...
phpoffice/phpspreadsheet                 1.29.0              1.29.0              PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
phpstan/phpdoc-parser                    1.22.0              1.24.0              PHPDoc parser with support for nullable, intersection and generic types
phpstan/phpstan                          1.10.19             1.10.34             PHPStan - PHP Static Analysis Tool
phpunit/phpunit                          9.6.8               10.3.4              The PHP Unit Testing framework.
rector/rector                            0.17.1              0.18.3              Instant Upgrade and Automated Refactoring of any PHP code
sensio/framework-extra-bundle            v6.2.10             v6.2.10             This bundle provides a way to configure your controllers with annotations
Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead.
sonata-project/admin-bundle              4.24.0              4.27.0              The missing Symfony Admin Generator
sonata-project/doctrine-extensions       1.18.1              2.3.0               Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 4.13.0              4.13.0              Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/form-extensions           1.19.1              2.0.0               Symfony form extensions
sonata-project/formatter-bundle          5.2.0               5.3.0               Symfony SonataFormatterBundle
sonata-project/media-bundle              4.9.0               4.10.4              Symfony SonataMediaBundle
sonata-project/translation-bundle        3.2.0               3.3.0               SonataTranslationBundle
sonata-project/twig-extensions           1.12.0              2.3.0               Sonata twig extensions
squizlabs/php_codesniffer                3.7.2               3.7.2               PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of codin...
stof/doctrine-extensions-bundle          v1.7.1              v1.8.0              Integration of the gedmo/doctrine-extensions with Symfony
symfony/apache-pack                      v1.0.1              v1.0.1              A pack for Apache support in Symfony
symfony/asset                            v5.4.21             v6.3.0              Manages URL generation and versioning of web assets such as CSS stylesheets, JavaScript files and image ...
symfony/browser-kit                      v5.4.21             v6.3.2              Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms ...
symfony/console                          v5.4.26             v6.3.4              Eases the creation of beautiful and testable command line interfaces
symfony/css-selector                     v5.4.21             v6.3.2              Converts CSS selectors to XPath expressions
symfony/debug-bundle                     v5.4.21             v6.3.2              Provides a tight integration of the Symfony VarDumper component and the ServerLogCommand from MonologBri...
symfony/doctrine-messenger               v5.4.23             v6.3.1              Symfony Doctrine Messenger Bridge
symfony/dotenv                           v5.4.22             v6.3.0              Registers environment variables from a .env file
symfony/expression-language              v5.4.21             v6.3.0              Provides an engine that can compile and evaluate expressions
symfony/flex                             v2.2.5              v2.3.3              Composer plugin for Symfony
symfony/form                             v5.4.26             v6.3.2              Allows to easily create, process and reuse HTML forms
symfony/framework-bundle                 v5.4.26             v6.3.4              Provides a tight integration between Symfony components and the Symfony full-stack framework
symfony/http-client                      v5.4.23             v6.3.2              Provides powerful methods to fetch HTTP resources synchronously or asynchronously
symfony/intl                             v5.4.23             v6.3.2              Provides a PHP replacement layer for the C intl extension that includes additional data from the ICU lib...
symfony/mailer                           v5.4.22             v6.3.0              Helps sending emails
symfony/maker-bundle                     v1.48.0             v1.51.0             Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forg...
symfony/mime                             v5.4.23             v6.3.3              Allows manipulating MIME messages
symfony/monolog-bundle                   v3.8.0              v3.8.0              Symfony MonologBundle
symfony/notifier                         v5.4.22             v6.3.0              Sends notifications via one or more channels (email, SMS, ...)
symfony/phpunit-bridge                   v6.2.10             v6.3.2              Provides utilities for PHPUnit, especially user deprecation notices management
symfony/process                          v5.4.24             v6.3.4              Executes commands in sub-processes
symfony/property-access                  v5.4.26             v6.3.2              Provides functions to read and write from/to an object or array using a simple string notation
symfony/property-info                    v5.4.24             v6.3.0              Extracts information about PHP class' properties using metadata of popular sources
symfony/proxy-manager-bridge             v5.4.21             v6.3.0              Provides integration for ProxyManager with various Symfony components
symfony/runtime                          v5.4.22             v6.3.2              Enables decoupling PHP applications from global state
symfony/security-bundle                  v5.4.22             v6.3.4              Provides a tight integration of the Security component into the Symfony full-stack framework
symfony/serializer                       v5.4.23             v6.3.4              Handles serializing and deserializing data structures, including object graphs, into array structures or...
symfony/stopwatch                        v5.4.21             v6.3.0              Provides a way to profile code
symfony/string                           v5.4.26             v6.3.2              Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters...
symfony/translation                      v5.4.24             v6.3.3              Provides tools to internationalize your application
symfony/twig-bundle                      v5.4.27             v6.3.0              Provides a tight integration of Twig into the Symfony full-stack framework
symfony/validator                        v5.4.26             v6.3.4              Provides tools to validate values
symfony/var-dumper                       v5.4.26             v6.3.4              Provides mechanisms for walking through any arbitrary PHP variable
symfony/web-link                         v5.4.21             v6.3.0              Manages links between resources
symfony/web-profiler-bundle              v5.4.21             v6.3.2              Provides a development tool that gives detailed information about the execution of any request
symfony/webpack-encore-bundle            v1.16.1             v2.0.1              Integration with your Symfony app & Webpack Encore!
symfony/yaml                             v5.4.23             v6.3.3              Loads and dumps YAML files
twig/extra-bundle                        v3.6.0              v3.7.1              A Symfony bundle for extra Twig extensions
twig/intl-extra                          v3.6.0              v3.7.1              A Twig extension for Intl
twig/string-extra                        v3.6.0              v3.7.1              A Twig extension for Symfony String
twig/twig                                v3.7.0              v3.7.1              Twig, the flexible, fast, and secure template language for PHP
vich/uploader-bundle                     1.23.1              2.2.0               Ease file uploads attached to entities
vimeo/psalm                              4.30.0              5.15.0              A static analysis tool for finding errors in PHP applications

Transitive dependencies not required in composer.json:
amphp/amp                                v2.6.2              v3.0.0              A non-blocking concurrency framework for PHP applications.
amphp/byte-stream                        v1.8.1              v2.0.2              A stream abstraction to make working with non-blocking I/O simple.
behat/behat                              v3.13.0             v3.13.0             Scenario-oriented BDD framework for PHP
behat/gherkin                            v4.9.0              v4.9.0              Gherkin DSL parser for PHP
behat/transliterator                     v1.5.0              v1.5.0              String transliterator
colinodell/json5                         v2.3.0              v2.3.0              UTF-8 compatible JSON5 parser for PHP
composer/pcre                            3.1.0               3.1.0               PCRE wrapping library that offers type-safe preg_* replacements.
composer/semver                          3.3.2               3.4.0               Semver library that offers utilities, version constraint parsing and validation.
composer/xdebug-handler                  3.0.3               3.0.3               Restarts a process without Xdebug.
dnoegel/php-xdg-base-dir                 v0.1.1              v0.1.1              implementation of xdg base directory specification for php
doctrine/cache                           2.2.0               2.2.0               PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such a...
doctrine/collections                     2.1.3               2.1.3               PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
doctrine/common                          3.4.3               3.4.3               PHP Doctrine Common project is a library that provides additional functionality that other Doctrine proj...
doctrine/data-fixtures                   1.6.6               1.6.7               Data Fixtures for all Doctrine Object Managers
doctrine/dbal                            3.6.5               3.6.6               Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and ...
doctrine/deprecations                    v1.1.1              v1.1.1              A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all de...
doctrine/event-manager                   1.2.0               2.0.0               The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctr...
doctrine/inflector                       2.0.8               2.0.8               PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/low...
doctrine/instantiator                    1.5.0               2.0.0               A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                           2.1.0               3.0.0               PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
doctrine/migrations                      3.6.0               3.6.0               PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer ...
doctrine/persistence                     3.2.0               3.2.0               The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doct...
doctrine/sql-formatter                   1.1.3               1.1.3               a PHP SQL highlighting library
egulias/email-validator                  4.0.1               4.0.1               A library for validating emails against several RFCs
ezyang/htmlpurifier                      v4.16.0             v4.16.0             Standards compliant HTML filter written in PHP
fakerphp/faker                           v1.22.0             v1.23.0             Faker is a PHP library that generates fake data for you.
felixfbecker/advanced-json-rpc           v3.2.1              v3.2.1              A more advanced JSONRPC implementation
felixfbecker/language-server-protocol    v1.5.2              v1.5.2              PHP classes for the Language Server Protocol
fidry/cpu-core-counter                   0.4.1               0.5.1               Tiny utility to get the number of CPU cores.
friendsofphp/proxy-manager-lts           v1.0.15             v1.0.16             Adding support for a wider range of PHP versions to ocramius/proxy-manager
friendsofsymfony/ckeditor-bundle         2.4.0               2.4.0               Provides a CKEditor integration for your Symfony project.
gedmo/doctrine-extensions                v3.12.0             v3.13.0             Doctrine behavioral extensions
google/recaptcha                         1.3.0               1.3.0               Client library for reCAPTCHA, a free service that protects websites from spam and abuse.
guzzlehttp/guzzle                        7.7.0               7.8.0               Guzzle is a PHP HTTP client library
guzzlehttp/promises                      2.0.0               2.0.1               Guzzle promises library
guzzlehttp/psr7                          2.5.0               2.6.1               PSR-7 message implementation that also provides common utility methods
imagine/imagine                          1.3.4               1.3.5               Image processing for PHP 5.3
infection/abstract-testframework-adapter 0.5.0               0.5.0               Abstract Test Framework Adapter for Infection
infection/extension-installer            0.1.2               0.1.2               Infection Extension Installer
infection/include-interceptor            0.2.5               0.2.5               Stream Wrapper: Include Interceptor. Allows to replace included (autoloaded) file with another one.
jms/metadata                             2.8.0               2.8.0               Class/method/property metadata management in PHP
jms/serializer                           3.23.0              3.28.0              Library for (de-)serializing data of any complexity; supports XML, and JSON.
justinrainbow/json-schema                5.2.12              5.2.12              A library to validate a json schema.
knplabs/gaufrette                        v0.11.1             v0.11.1             PHP library that provides a filesystem abstraction layer
knplabs/knp-menu                         v3.4.0              v3.4.0              An object oriented menu library
knplabs/knp-menu-bundle                  v3.2.0              v3.2.0              This bundle provides an integration of the KnpMenu library
knplabs/knp-snappy                       v1.4.2              v1.4.4              PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtml...
laminas/laminas-code                     4.11.0              4.12.0              Extensions to the PHP Reflection API, static code scanning, and code generation
maennchen/zipstream-php                  3.1.0               3.1.0               ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk ...
markbaker/complex                        3.0.2               3.0.2               PHP Class for working with complex numbers
markbaker/matrix                         3.0.1               3.0.1               PHP Class for working with matrices
meritoo/common-library                   dev-develop fbbea09 dev-develop fbbea09 Useful classes, methods, extensions etc.
monolog/monolog                          2.9.1               3.4.0               Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy                        1.11.1              1.11.1              Create deep copies (clones) of your objects
nelmio/alice                             3.12.2              3.12.2              Expressive fixtures generator
netresearch/jsonmapper                   v4.2.0              v4.2.0              Map nested JSON structures onto PHP classes
nikic/php-parser                         v4.15.5             v4.17.1             A PHP parser written in PHP
nyholm/psr7                              1.8.0               1.8.0               A fast PHP7 implementation of PSR-7
ondram/ci-detector                       4.1.0               4.1.0               Detect continuous integration environment and provide unified access to properties of current build
openlss/lib-array2xml                    1.0.0               1.0.0               Array2XML conversion library credit to lalit.org
phar-io/manifest                         2.0.3               2.0.3               Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                          3.2.1               3.2.1               Library for handling version information and constraints
phenx/php-font-lib                       0.5.4               0.5.4               A library to read, parse, export and make subsets of different types of font files.
phenx/php-svg-lib                        0.4.1               0.5.0               A library to read, parse and export to PDF SVG files.
phpdocumentor/reflection-common          2.2.0               2.2.0               Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/type-resolver              1.7.2               1.7.3               A PSR-5 based resolver of Class names, Types and Structural Element Names
phpunit/php-code-coverage                9.2.26              10.1.5              Library that provides collection, processing, and rendering functionality for PHP code coverage informat...
phpunit/php-file-iterator                3.0.6               4.1.0               FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                      3.1.1               4.0.0               Invoke callables with a timeout
phpunit/php-text-template                2.0.4               3.0.1               Simple template engine.
phpunit/php-timer                        5.0.3               6.0.0               Utility class for timing
psr/cache                                2.0.0               3.0.0               Common interface for caching libraries
psr/container                            1.1.2               2.0.2               Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher                     1.0.0               1.0.0               Standard interfaces for event handling.
psr/http-client                          1.0.2               1.0.2               Common interface for HTTP clients
psr/http-factory                         1.0.2               1.0.2               Common interfaces for PSR-7 HTTP message factories
psr/http-message                         1.1                 2.0                 Common interface for HTTP messages
psr/link                                 1.1.1               2.0.1               Common interfaces for HTTP links
psr/log                                  2.0.0               3.0.0               Common interface for logging libraries
psr/simple-cache                         3.0.0               3.0.0               Common interfaces for simple caching
ralouphie/getallheaders                  3.0.3               3.0.3               A polyfill for getallheaders.
sabberworm/php-css-parser                8.4.0               8.4.0               Parser for CSS Files written in PHP
sanmai/later                             0.1.2               0.1.2               Later: deferred wrapper object
sanmai/pipeline                          v6.7                v6.8.1              General-purpose collections pipeline
sebastian/cli-parser                     1.0.1               2.0.0               Library for parsing CLI options
sebastian/code-unit                      1.0.8               2.0.0               Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup       2.0.3               3.0.0               Looks up which function or method a line of code belongs to
sebastian/comparator                     4.0.8               5.0.1               Provides the functionality to compare PHP values for equality
sebastian/complexity                     2.0.2               3.0.1               Library for calculating the complexity of PHP code units
sebastian/diff                           4.0.5               5.0.3               Diff implementation
sebastian/environment                    5.1.5               6.0.1               Provides functionality to handle HHVM/PHP environments
sebastian/exporter                       4.0.5               5.0.1               Provides the functionality to export PHP variables for visualization
sebastian/global-state                   5.0.5               6.0.1               Snapshotting of global state
sebastian/lines-of-code                  1.0.3               2.0.1               Library for counting the lines of code in PHP source code
sebastian/object-enumerator              4.0.4               5.0.0               Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector               2.0.4               3.0.0               Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context              4.0.5               5.0.0               Provides functionality to recursively process PHP variables
sebastian/resource-operations            3.0.3               3.0.3               Provides a list of PHP built-in functions that operate on resources
sebastian/type                           3.2.1               4.0.0               Collection of value objects that represent the types of the PHP type system
sebastian/version                        3.0.2               4.0.1               Library that helps with managing the version number of Git-hosted PHP projects
sonata-project/block-bundle              4.21.0              5.0.1               Symfony SonataBlockBundle
sonata-project/cache                     2.2.0               2.2.0               Cache library
Package sonata-project/cache is abandoned, you should avoid using it. No replacement was suggested.
sonata-project/exporter                  3.1.1               3.2.0               Lightweight Exporter library
symfony/amqp-messenger                   v5.4.22             v5.4.28             Symfony AMQP extension Messenger Bridge
symfony/cache                            v5.4.25             v6.3.4              Provides extended PSR-6, PSR-16 (and tags) implementations
symfony/cache-contracts                  v2.5.2              v3.3.0              Generic abstractions related to caching
symfony/config                           v5.4.26             v6.3.2              Helps you find, load, combine, autofill and validate configuration values of any kind
symfony/dependency-injection             v5.4.26             v6.3.4              Allows you to standardize and centralize the way objects are constructed in your application
symfony/deprecation-contracts            v3.3.0              v3.3.0              A generic function and convention to trigger deprecation notices
symfony/doctrine-bridge                  v5.4.23             v6.3.4              Provides integration for Doctrine with various Symfony components
symfony/dom-crawler                      v5.4.23             v6.3.4              Eases DOM navigation for HTML and XML documents
symfony/error-handler                    v5.4.26             v6.3.2              Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher                 v5.4.26             v6.3.2              Provides tools that allow your application components to communicate with each other by dispatching even...
symfony/event-dispatcher-contracts       v3.3.0              v3.3.0              Generic abstractions related to dispatching event
symfony/filesystem                       v5.4.25             v6.3.1              Provides basic utilities for the filesystem
symfony/finder                           v5.4.27             v6.3.3              Finds files and directories via an intuitive fluent interface
symfony/http-client-contracts            v2.5.2              v3.3.0              Generic abstractions related to HTTP clients
symfony/http-foundation                  v5.4.26             v6.3.4              Defines an object-oriented layer for the HTTP specification
symfony/http-kernel                      v5.4.27             v6.3.4              Provides a structured process for converting a Request into a Response
symfony/messenger                        v5.4.23             v6.3.4              Helps applications send and receive messages to/from other applications or via message queues
symfony/monolog-bridge                   v5.4.22             v6.3.1              Provides integration for Monolog with various Symfony components
symfony/options-resolver                 v5.4.21             v6.3.0              Provides an improved replacement for the array_replace PHP function
symfony/password-hasher                  v5.4.21             v6.3.0              Provides password hashing utilities
symfony/polyfill-intl-grapheme           v1.27.0             v1.28.0             Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-icu                v1.27.0             v1.28.0             Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-intl-idn                v1.27.0             v1.28.0             Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer         v1.27.0             v1.28.0             Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring                v1.27.0             v1.28.0             Symfony polyfill for the Mbstring extension
symfony/polyfill-php72                   v1.27.0             v1.28.0             Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73                   v1.27.0             v1.28.0             Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-php80                   v1.27.0             v1.28.0             Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81                   v1.27.0             v1.28.0             Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/redis-messenger                  v5.4.23             v5.4.26             Symfony Redis extension Messenger Bridge
symfony/routing                          v5.4.26             v6.3.3              Maps an HTTP request to a set of configuration variables
symfony/security-acl                     v3.3.2              v3.3.2              Symfony Security Component - ACL (Access Control List)
symfony/security-core                    v5.4.22             v6.3.3              Symfony Security Component - Core Library
symfony/security-csrf                    v5.4.21             v6.3.2              Symfony Security Component - CSRF Library
symfony/security-guard                   v5.4.22             v5.4.27             Symfony Security Component - Guard
symfony/security-http                    v5.4.23             v6.3.4              Symfony Security Component - HTTP Integration
symfony/service-contracts                v2.5.2              v3.3.0              Generic abstractions related to writing services
symfony/translation-contracts            v2.5.2              v3.3.0              Generic abstractions related to translation
symfony/twig-bridge                      v5.4.26             v6.3.2              Provides integration for Twig with various Symfony components
symfony/var-exporter                     v6.3.2              v6.3.4              Allows exporting any serializable PHP data structure to plain PHP code
thecodingmachine/safe                    v2.5.0              v2.5.0              PHP core functions that throw exceptions instead of returning FALSE on error
theofidry/alice-data-fixtures            1.6.0               1.6.0               Nelmio alice extension to persist the loaded fixtures.
theseer/tokenizer                        1.2.1               1.2.1               A small library for converting tokenized PHP source code into XML and potentially other formats
webmozart/assert                         1.11.0              1.11.0              Assertions to validate method input/output with nice error messages.
webmozart/path-util                      2.3.0               2.3.0               A robust cross-platform utility for normalizing, comparing and modifying file paths.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
willdurand/jsonp-callback-validator      v1.1.0              v2.0.0              JSONP callback validator.

PHP version
$ php -v
PHP 8.2.10 (cli) (built: Sep  2 2023 06:45:36) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.10, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.10, Copyright (c), by Zend Technologies
    with Xdebug v3.2.2, Copyright (c) 2002-2023, by Derick Rethans

Subject
I get an error just after running composer require nucleos/sonata-ckeditor-bundle command. Cannot install the package without an error.
Steps to reproduce

Run composer require nucleos/sonata-ckeditor-bundle command
Run bin/console cache:clear command
See the following error:

In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:

  The service "Nucleos\SonataCKEditorBundle\Action\BrowseMediaAction" has a dependency on a non-existent service "sonata.media.admin.media". Did you mean one of these: "sonata.media.cdn.
  server", "sonata.media.form.type.media", "sonata.media.block.media", "sonata.media.manager.media"?

Create the following configuration file:

# config/packages/sonata_ck_editor.yaml

sonata_ck_editor:
    templates:
        browser<EMAIL_ADDRESS>        upload<EMAIL_ADDRESS>    autoconfig: # Can be disabled
        contexts: [ default ]
        browseRoute: admin_app_media_media_ckeditor_browse
        uploadRoute: admin_app_media_media_ckeditor_upload
        fileProvider: sonata.media.provider.file
        imageProvider: sonata.media.provider.image
        imageContext: default
        imageFormat: null

Run bin/console cache:clear command
See the following error:

In ArrayNode.php line 322:

  Unrecognized option "browser" under "sonata_ck_editor.templates". Did you mean "browse"?

Expected results
Install and configure the package without errors

Did you activate the media bundle?

Ah, found a typo in the README:
sonata_ck_editor:
    templates:
        browse<EMAIL_ADDRESS>```

All right, the Unrecognized option "browser" under "sonata_ck_editor.templates". Did you mean "browse"? error is gone. Thank you.
What about the dependency on a non-existent service error that appears when clearing the cache? 👇
$ bin/console cache:clear

In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:

  The service "Nucleos\SonataCKEditorBundle\Action\BrowseMediaAction" has a dependency on a non-existent service "sonata.media.admin.media". Did you mean one of these: "sonata.media.cdn.
  server", "sonata.media.form.type.media", "sonata.media.block.media", "sonata.media.manager.media"?

What about the dependency on a non-existent service error that appears when clearing the cache? 👇

Did you activate the sonata admin bundle?

Did you activate the sonata admin bundle?

Yes 👇
Sonata\AdminBundle\SonataAdminBundle::class => ['all' => true],

It's active all the time because working on a project that requires it.

Did you activate the media bundle?

What about this?

Yes. The sonata-project/media-bundle package is installed:
❯ composer why sonata-project/media-bundle
xxxxxxxxxxxx          dev-develop requires  sonata-project/media-bundle (^4.9)
nucleos/sonata-ckeditor-bundle  1.0.0       requires  sonata-project/media-bundle (^4.1.1)
sonata-project/formatter-bundle 5.2.0       conflicts sonata-project/media-bundle (<4.2)

❯ composer show sonata-project/media-bundle|grep vers
versions : * 4.9.0

and is active:
Sonata\MediaBundle\SonataMediaBundle::class => ['all' => true],


5,00 parses as 500 for decimal format #,##0.### (version 1.1.1)

While testing globalized validation, found out that 5,00 (dutch 5) validates for the en-US culture that uses #,##0.### as the decimal number format. Debugging shows the parser incorrectly returns the string value "5,00" as 500 thus validating the value as a number where it should not.
Thanks.

Thanks for filing this issue. The fix for such issue depends on #353.

Closing this in favor of the former.


feat: update emails to use html

Description

changes the name of the email receipt to oak national academy
changes teh email from being a pre tag to html

:tada: This PR is included in version 1.14.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add Update data capability

What Changed

Added Wextractor as a dependency for data processing
Added file upload capability at /explore/upload_new
AJAX file processing

Issues

Fixes #18

Screencap

TODO:

[ ] Rename company contacts to contact information
[ ] Try to link to either .pdfs or the govbids search


Kinetics 400 dataset: duplicated files?

Hi, thank you for providing excellent code and also the dataset!
I'm trying to use the k400 dataset from the following instructions.
https://github.com/kennymckormick/pyskl/blob/main/tools/data/data_doc.md
However, when I try to extract the zip file(kpfiles.zip), the extractor warns that there are 2,652 pkl files that have the same name.
Is it ok to replace the files which have the same name? Is it expected behavior?
Thank you in advance!

Oh, maybe you have noticed that you can only extract these annotation files on a linux machine. Since Windows doesn't differentiate upper and lower case, there will be fewer extracted files.


refactor: allow linting with cli parameters

Merge activity

Jan 24, 1:51 PM: @pevisscher started a stack merge that includes this pull request via Graphite.


feat: Tekton Onboarding Task

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mimotej for approval by writing /assign @mimotej in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tssala23: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

pre-commit
de7ab48154115f56ffd9640a6a0eb2e087645215
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@tssala23: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

pre-commit
2f75600a92d5c8492ba5c8c9191b1037af9da264
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mimotej
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mimotej]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


ESPurna image

Hi
I think it can be interesting to have the option to flash a basic ESPurna image without having to first download it from the release assets and copy it to the files folder.
This PR adds some documentation on how to do it and recommended steps after flashing it. The approach is the same as with the Tasmota image: a generic image you will then have to upgrade to a device-specific one.
If you think it's interesting, let me know how can I send you the binary to add to the repo.
Thank you.

Hi @xoseperez, I think this is a great idea. Big fan of your work. You can include the binary in the PR.

Let's rename thirdparty.bin back to sonoff.bin and make thirdparty.bin a symlink again. I think this was inadvertently changed in #277, but more important now if we are including multiple options.

Would be cool to have a little menu driven type thing for people in the script with confirmations.  Have a few bins and let them pick out of things.  There are the purists that still want a Tasmota built bin and understand the risks of the one time WiFi password shot so I would say to keep that one.

Would be cool to have a little menu driven type thing for people in the script with confirmations. Have a few bins and let them pick out of things.

This is in the works :smile:

There are the purists that still want a Tasmota built bin and understand the risks of the one time WiFi password shot so I would say to keep that one.

Good points

Thanks @xoseperez LGTM


Cyclical Dependencies in JS modules

Found few cyclical dependencies in the source code.
Example:
features/announcements/index.js -> exports ANNOUNCEMENTS_ROUTES and also imports AnnouncementsStore from features/announcements/store.js
features/announcements/store.js -> imports ANNOUNCEMENTS_ROUTES from index.js resulting in cyclical dependency.
There are few more modules where the same issue is present.

Thanks for the contribution @markandan . As you mentioned, for the other instances of the same problem - please go ahead and raise PRs.

Closing this issue - since all the cyclic dependencies are now fixed (as of this point)


Extraneous message printed to stdout during analysis

Currently explainaboard prints an extraneous message "Your request has been sent." to stdout during (some) analysis:
$ explainaboard --task summarization --system_outputs ./data/system_outputs/cnndm/cnndm_mini.bart > report.json
$ head -n 1 report.json
Your request has been sent.

I see. This is printed by another library eaas that ExplainaBoard for summarization tasks has used.  Maybe need some modifications there.

This should be solved (don't forget to re-install the newst eaas library)

Confirmed!


Configure using TryLink + MD5-Timestamp decider fails sometimes throwing exceptions

With SCons 3.0.2 - 3.0.4 Using a SConscript as follows:
env = Environment()
env.Decider('MD5-timestamp')
conf = Configure(env)
conf.TryLink('int main(){return 0;}','.c')
env = conf.Finish()

Then run:
scons --config=force
scons --config=force

Will yield the following in config.log (but not always stop scons execution and sometimes thrown an exception and stop scons)
file /private/var/folders/lq/rv6t78m16tl956sgcx0gkg440000gn/T/testcmd.1133.dE20vQ/SConstruct,line 3:
	Configure(confdir = .sconf_temp)
.sconf_temp/conftest_0.c <-
  |int main(){return 0;}
scons: Configure: Caught exception while building ".sconf_temp/conftest_0.o":

Traceback (most recent call last):
  File "/Users/bdbaddog/devel/scons/git/as_scons/src/script/../engine/SCons/Job.py", line 201, in start
    task.execute()
  File "/Users/bdbaddog/devel/scons/git/as_scons/src/script/../engine/SCons/SConf.py", line 367, in execute
    raise e
TypeError: 'NoneType' object is not callable

Fixed in master.


Merge CV's list-objects prefix optimization + Add key length limit [JIRA: RCS-275]

@angrycub 's awesome branch is for 1.5, this is a rebased version (although I updated some flavor for 2.1).  Note that max key length of S3 is 1024 .

Just a note for self, AWS S3 response for too long key:
HTTP/1.1 400 Bad Request
x-amz-request-id: 7A0D868D37BA08C9
x-amz-id-2: 4vRTdtZV6GAms5oAd0W95d08/KkjBjlLPXSus5fIcb7QzpLqlyuUJYqjiCz73WVdi4B5AMhtHVU=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 02 Sep 2015 05:51:29 GMT
Connection: close
Server: AmazonS3

133
<?xml version="1.0" encoding="UTF-8"?>
<Error>KeyTooLongError<Message>Your key is too long</Message><Size>1029</Size><MaxSizeAllowed>1024</MaxSizeAllowed><RequestId>7A0D868D37BA08C9</RequestId><HostId>4vRTdtZV6GAms5oAd0W95d08/KkjBjlLPXSus5fIcb7QzpLqlyuUJYqjiCz73WVdi4B5AMhtHVU=</HostId></Error>
0

I've got two error when prefix is longer than 1024. One is expected (does not mean good):
15:11:09.453 [error] gen_fsm <0.984.0> in state prepare terminated with reason: bad argument in call to binary:copy(<<"ÿ">>, -1) in riak_cs_utils:big_end_key/1 line 447

but another is unexpected:
15:11:09.454 [error] FORMAT ERROR: [67,82,65,83,72,32,82,69,80,79,82,84,32,80,114,111,99,101,115,115,32,"<0.984.0>",32,119,105,116,104,32,"1",32,110,101,105,103,104,98,111,117,114,115,32,"exited",32,119,105,116,104,32,114,101,97,115,111,110,58,32,["bad argument in call to ",["binary",58,"copy",40,["<<","\"ÿ\"",">>"],44,32,"-1",41]," in ",[["riak_cs_utils",58,"big_end_key",47,"1"],[32,108,105,110,101,32,"447"]]]] []

Looks like I'd better add some guard both there and malformed_request/2 .

Include max key length check into this PR? If so, There has to be an option max_key_length like max_buckets_per_user for compatibility, isn't it?

No, it's already defined in this pull request as macro in riak_cs.hrl. Have we supported key length longer than 1024? If yes, I'll update some in this pull request as well as safe guards. At least we need this optimization, don't we?

I was just caremad because previous versions of riak cs supports keys
which are more than 1024 bytes, probably because such limit was just
not considered.  In max_buckets_per_user case, the limit is made
configurable for users who don't care strict AWS S3 compatibility.
Then, whether it should be in this case, max key length.  My current
feeling is 1024 is sufficiently long and it has not be configurable.
So, if you are going to add validation to key length, I agree with you.
I'm afraid a little it will be scope creep because almost all WM handlers are affected :see_no_evil:

P.S. For GET Object, AWS S3 responds with 400 KeyTooLongError

Will add some r_ts tomorrow.

PR for lager https://github.com/basho/lager/pull/292

It seems that list objects with prefix with >1024 bytes is still failing with 7c4aa3b

Memo: AWS S3 GET Bucket responds OK for >1024 bytes prefix
https://gist.github.com/shino/4b5400ace3ba1c8f4279

I think it's ready again.

updated

Cool optimization! Great collaboration work @angrycub & @kuenishi :+1:

@borshop merge

Release note: GET Bucket API (aka listing objects in a bucket) with prefix specified had a room for optimization, that had been specifying too loose end key for folding objects in Riak. With this change more tight end key is being specified as end key for folding objects in Riak to omit unnecessary fold in vnodes. Limitation to max length of keys has been also introduced, which can be specified as 1024 by default. This means keys no longer than 1024 bytes could be PUT, GET nor DELETED any more unless max_key_length explicitly specified as more than 1024 in riak-cs.conf. Operators who want to preserve old behaviour about key length may also use unlimited for max_key_length.
[posted via JIRA by Kota Uenishi]

@borshop: retry


Manipulate REQUEST_URI and REQUEST_HEADER data directly from ModSec

the STREAM_INPUT_BODY variable does not currently allow you to manipulate REQUEST_URI or REQUEST_HEADER data. While you can use mod_headers for cookie manipulation there is no way to manipulate GET parameters. Can this functionality be added directly to ModSecurity?

Due to limitation to support such feature in different webservers, the @rsub is no longer an option in v3.0. Therefore, closing this issue.


fix: unable to use askar with in memory db

Signed-off-by: Daniel Bluhm<EMAIL_ADDRESS>

Codecov Report

Merging #1878 (6d0c27b) into main (4b1fa13) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1878   +/-   ##
=======================================
  Coverage   93.79%   93.79%
=======================================
  Files         539      539
  Lines       34079    34079
=======================================
  Hits        31965    31965
  Misses       2114     2114


Split torch ops into separate files

Fixes #29
Bonus additions:

Add torch.multinomial [RandomSamplingOps]
Add torch.randint [RandomSamplingOps]
Add torch.gradient [PointwiseOps]
Add torch.nn.functional.oneHot

Thanks so much @davoclavo! No worries, I'll just rebase and resolve any conflicts.


fix: add placeholder support for export

Fixes: #1592
This matches the user experience on the angular side.

wdyt?


Proposal: either.catching should be a boundary operator

One of the least pleasant surprises when working with direct style scala using Ox is that we're back to exception throwing and lying signatures. I found out the hard way that one of the nicest things one gets from monadic effects is that they capture exceptions pervasively so in 99% of cases if a function gets you an IO[A], you will get an IO[A] and not an exception. This is not true with ox either combinators as either does not naturally capture (and hence why maybe the idea to have Result[A] that has a Throwable error channel is not that bad idea? in a different discussion we could debate if Try catching on all combinators is still bad, given that IO monads also do that? maybe Ox should have combinators for Try?). Either way (pun not intended), given that either {} block does not catch exceptions but returns an Either[E, A] there seems to be no nice, useful way to work with both structured either and exceptions in one go. Let me visualize this:
import ox.*, either.*
import scala.util.*
import java.io.IOException

def niceSafeFunc(): Either[IOException, String] = Right("something")
def thisFuncCanThrow(str: String): String = throw Exception("lying signature")

def safeFunc: Either[Exception, Int] = either {
  val first = niceSafeFunc().ok()
  // do things
  val output = thisFuncCanThrow(first)
  // do stuff
  output.toInt // this can also throw and one can easily forget about it when used to IO monads always catching
}

this obviously crashes:
scala> safeFunc
java.lang.Exception: lying signature
  at rs$line$2$.thisFuncCanThrow(rs$line$2:5)
  at rs$line$2$.safeFunc(rs$line$2:10)
  ... 30 elided

because exceptions subvert the type of safeFunc. With current state of ox when one is facing such unsafe APIs one can only do:
import ox.*, either.*
import scala.util.*
import java.io.IOException

def niceSafeFunc(): Either[IOException, String] = Right("something")
def thisFuncCanThrow(str: String): String = throw Exception("lying signature")

def safeFunc: Either[Throwable, Int] = catching {
  either {
    val first = niceSafeFunc().ok()
    // do things
    val output = thisFuncCanThrow(first)
    // do stuff
    output.toInt // this can also throw and one can easily forget about it when used to IO monads always catching
  }
}.flatten

which does the job at the cost of changing the return type of safeFunc to Either[Throwable, Int] but it's also quite redundant - I want to use nice boundary-based combinators, I want to be able to use .ok() but to do that I have to have a nested either scope. Proposal is to turn catching into a boundary operator too:
from this:
inline def catching[T](inline t: => T): Either[Throwable, T] =
  try Right(t)
  catch case NonFatal(e) => Left(e)

to this:
inline def catching[T](inline t: Label[Either[Throwable, T]] ?=> T): Either[Throwable, T] =
 try boundary(Right(t))
 catch case NonFatal(e) => Left(e)

so that in the end we get:
import ox.*, either.*
import scala.util.*
import java.io.IOException

def niceSafeFunc(): Either[IOException, String] = Right("something")
def thisFuncCanThrow(str: String): String = throw Exception("lying signature")

def safeFunc: Either[Throwable, Int] = either.catching {
  val first = niceSafeFunc().ok()
  // do things
  val output = thisFuncCanThrow(first)
  // do stuff
  output.toInt // this can also throw and one can easily forget about it when used to IO monads always catching
}

Your thoughts?

Alternative is to have and use two control structures, as stdlib has it right now - Try and Either, a functor and bifunctor, and allow users to use whatever fits their needs the most? Given their differences in implementation, maybe a Result that doesn't catch on combinators but is just an either with Throwable channel instead of generic Left would fit better than Try? I actually doubt that - monadic effects went from "your monad is shitty if it captures exceptions" to "yeah, we capture exceptions on all IO combinators" and this seems to be the correct, unsurprising way of doing things in the end.

This is also an option:
  import scala.util.{Try, Failure, Success}

  extension [A](inline t: Try[A])
    @targetName("ok_try")
    transparent inline def ok(): A =
      summonFrom {
        case given boundary.Label[Either[Throwable, Nothing]] =>
          t match
            case Failure(t) => break(Left(t))
            case Success(a) => a
        case given boundary.Label[Either[Nothing, Nothing]] =>
          error(
            "The enclosing `either` call uses a different error type.\nIf it's explicitly typed, is the error type correct? For `Try` error type has to be `Throwable`."
          )
        case _ => error("`.ok()` can only be used within an `either` call.\nIs it present?")
      }

   import ox.*, either.*
   import scala.util.*
   import java.io.IOException
   case class CaseEx(msg: String) extends Exception(msg)

   def niceSafeFunc(): Try[String] = Try("something")

   def thisFuncCanThrow(str: String): String = throw CaseEx("lying signature")

   def safeFunc: Either[Throwable, Int] = either[Throwable, Int] {
     val first = niceSafeFunc().ok()
     // do things
     val output: String = Try(thisFuncCanThrow(first)).ok()
     // do stuff
     output.toInt // this can also throw and one can easily forget about it when used to IO monads always catching
   }

   safeFunc shouldEqual Left(CaseEx("lying signature"))

Haha, before we get into a very deep discussion about error channels, modeling of error channels (only exceptions are built-in, Try or Either require special handling and syntax) and whether exceptions should be used (I'm firmly in the no, they shouldn't team btw), let's get this out of the way:
Proposal is to turn catching into a boundary operator too:
from this:
inline def catching[T](inline t: => T): Either[Throwable, T] =
  try Right(t)
  catch case NonFatal(e) => Left(e)

to this:
inline def catching[T](inline t: Label[Either[Throwable, T]] ?=> T): Either[Throwable, T] =
 try boundary(Right(t))
 catch case NonFatal(e) => Left(e)

Exceptions are a fact of life on the JVM, I think the best you can do is try to push them to the role of "panics". But back to the main topic: I suppose, but then it would make sense to move it to object either. So that it's next to apply (the main boundary method), but it also catches exceptions & is specialised to throwables

Sure, in Scala code - yeah, treating them as panics is probably mostly fine. Issue is: they are very often used for handling of things that should not be panics. A common example is, of course, "not a number".toInt which throws NumberFormatException because why not. If you have a piece of foreign code that does indeed do this and you want to handle that gracefully you have to catch and that's where catching is very helpful. It would just remove some boilerplate if it was a boundary for Label[Either[Throwable, A]].

using .toInt instead of .toIntOption when you're not 100% sure that it's a number is a bug - especially when you're not catching the exception. But sure, let's add the label, and move it to object either

Sure it is but that code can be in a dependency lib code. I'll push a PR
tomorrow.
On Sat 15. Jun 2024 at 13:34, Adam Warski @.***> wrote:

using .toInt instead of .toIntOption when you're not 100% sure that it's a
number is a bug - especially when you're not catching the exception. But
sure, let's add the label, and move it to object either
—
Reply to this email directly, view it on GitHub
https://github.com/softwaremill/ox/issues/150#issuecomment-2169377029,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBVNUW3WM2OJDYRSU7VKLLZHQRC3AVCNFSM6AAAAABI2LRYFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRZGM3TOMBSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

https://github.com/softwaremill/ox/pull/167

implemented with #167


EVA-2495 - Automate Covid-19 DP submission processing

This PR attempts to automate the following tasks when processing a submission from the Covid-19 DP project. See here for usage.

Download snapshot dataset
Validate VCF files
Compress and index VCF files
Vertically concatenate input VCF files (copied from here with a few changes. diffs here and here)
Accession concatenated VCF file
Publish accesioned files to FTP
Run clustering on the Covid-19 assembly

I'm still not too sure about the layers of python executing nextflow executing python executing nextflow ...
Although I definitely see the benefit of encapsulating each nextflow step so it can be tested independently.

It is a trade-off I have opted to have independent python code units instead of scattering logic across Groovy (becomes untestable) and Python.


[USERSNAP] Table of contents in mobile is in the way of reading the contents of the constitution.  Lots of other smaller issues with mobile.

Taken at: https://sancho.constitution.gov.tools/en
Fields:

Noticed an issue?: Table of contents in mobile is in the way of reading the contents of the constitution.  Lots of other smaller issues with mobile.

Browser: Chrome 127 (Android 10)
Screen size: 360x640
Open IntersectMBO/intersect-members-area#148 in Usersnap
Powered by Usersnap.

This one is no longer the case.


Event's custom move routes are broken in the current master

Something is seriously wrong with the move route editing in the current master. At least when I edit move routes in the event's custom move routes.
Here's what I'm creating in R48:

Here's what is actually being created:

Looks like unused parameters are being turned into 'Move north' commands, or something like that.
This doesn't seem to happen when I'm editing move routes set via Move Event event command, only with custom move routes.

Should be covered in master.


Build fails with "amazon-ebs: cp: cannot stat ‘/var/lib/docker/*’: No such file or directory"

What happened:
When attempting to build a custom AMI with either of the two most recent 1.19 AMI images:
amazon-eks-node-1.19-v20210720
amazon-eks-node-1.19-v20210716
I get the following error when the "migrate_and_mount_disk /dev/nvme2n1p5" step happens:
amazon-ebs: + '[' -d /var/lib/docker ']'
amazon-ebs: + mkdir -p /mnt/var/lib/docker
amazon-ebs: + mount /dev/nvme2n1p5 /mnt/var/lib/docker
amazon-ebs: + cp -Rax '/var/lib/docker/' /mnt/var/lib/docker
amazon-ebs: cp: cannot stat ‘/var/lib/docker/’: No such file or directory
==> amazon-ebs: Provisioning step had errors: Running the cleanup provisioner, if present...
What you expected to happen:
I expected the step to look something similar to this:
amazon-ebs: + '[' -d /var/lib/docker ']'
amazon-ebs: + mkdir -p /mnt/var/lib/docker
amazon-ebs: + mount /dev/nvme2n1p5 /mnt/var/lib/docker
amazon-ebs: + cp -Rax /var/lib/docker/builder /var/lib/docker/buildkit /var/lib/docker/containers /var/lib/docker/image /var/lib/docker/network /var/lib/docker/overlay2 /var/lib/docker/plugins /var/lib/docker/runtimes /var/lib/docker/swarm /var/lib/docker/tmp /var/lib/docker/trust /var/lib/docker/volumes /mnt/var/lib/docker
amazon-ebs: + mv /var/lib/docker /var/lib/docker-old
amazon-ebs: + umount /dev/nvme2n1p5
How to reproduce it (as minimally and precisely as possible):
Try and build a new custom EKS AMI image that attempts to use the most recent AMI release.
Anything else we need to know?:
This most recent version where things still build and work normally is amazon-eks-node-1.19-v20210628
I feel like this has something to do with the following notice that is on the last two AMI releases where this is failing:
Containerd runtime support
The EKS Optimized Amazon Linux 2 AMI now contains a bootstrap (https://github.com/awslabs/amazon-eks-ami/blob/master/files/bootstrap.sh) flag --container-runtime to optionally enable the containerd runtime. This flag is available in all supported Kubernetes versions of the AMI. This change is to get ahead of the removal of Docker as a supported runtime in Kubernetes (more details here (https://kubernetes.io/blog/2020/12/02/dockershim-faq/)). Feedback is appreciated.
Can anyone advise a quick fix to resolve this? Thanks!
Environment:

OS: RHEL
OS Version: 7.9
EKS Version: 1.19
Packer Version: 1.6.4

Same issue here - that's because of the new support for containerd. The docker daemon is now started as part of boostrap.sh, done here: https://github.com/awslabs/amazon-eks-ami/pull/698/files.
I think I'll just start docker before partitioning takes place, then stop it again, so bootstrap.sh can do its work without issues.

https://github.com/aws-samples/amazon-eks-custom-amis/blob/main/scripts/shared/cis-docker.sh#L23 will also fail, if docker is not running. I myself don't care much, so I've just disabled this particular item.

Thanks for confirming @drmaciej!
Do you think the general idea that I'll need to add a line to boilerplate.sh like somewhere before:

echo "ensure secondary disk is mounted to proper locations"
partition_disks /dev/nvme2n1

And call /etc/eks/bootstrap.sh --container-runtime dockerd ? The idea being that will we need to get all the /var/lib/docker pieces in place so that the following partitioning steps will continue as normal?
Thanks!

@JJinMaine no worries!
What I did is add systemctl start docker before partition_disks is called, and add systemctl stop docker before the final reboot. also, I've commented out docker version. This way, once you start docker, the files in /var/lib/docker are created and moved to the right partion, which kicks in after the reboot.
there's no need to add any extra parameters to the bootstrap script, dockerd is the default as per https://github.com/awslabs/amazon-eks-ami/pull/698/files#diff-049390d14bc3ea2d7882ff0f108e2802ad9b043336c5fa637e93581d9a7fdfc2R29. bootstrap.sh can and should be called from user data, not from Packer - I would imagine you don't want your Packer instance to try and join an EKS cluster :)

Thanks @drmaciej, you're right. It just wasn't clear to me as to what the next steps were but what you've said makes sense. I'll give that a try this morning and see how it goes. Cheers!

glad I could help! good luck :)

Hi @drmaciej, everything worked great! I think the only difference is that instead of commenting out the "docker version" part in cis-docker.sh I replaced it with "yum -y update docker" just to make sure I have the most recent version. Thanks again!


Add first lesson number/name to each line

Sorry I did not realize that it is achieved already thanks to the Lesson column you added


Improved metadata

This needs another sanity check, and the actual band stats are in computation right now. Should update tomorrow morning with the stats from the calculations on batch.

This has been merged in https://github.com/Clay-foundation/model/pull/253