⚠ Bofrost.fr has degraded performance

In cb5f891, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1027 ms

Resolved: Bofrost.fr performance has improved in ab59c1c after 308 days, 22 hours, 22 minutes.


More Commands

Hi Matt , would you accept a PR for commands like
php artisan env:make
[ask for] Key :
[ask for ] Value :

php artisan env:find DB_HOST
or
php artisan env:find DB_*

php artisan env:update DB_HOST
[ask for value ] :

php artisan env:remove DB_HOST

Hi @ahmedash95 sure I would!
I will say that this is an old plugin for Laravel 4, and I don't really work with Laravel any more, but if you're willing to add a PR for it, then that's cool! 👍

@Brunty great and Thanks!


improve pkg cmd/draft coverage

><> go test -cover -run . ./cmd/draft
ok   github.com/deis/draft/cmd/draft 0.046s  coverage: 13.2% of statements

test coverage has improved enough to close this out, but we can always improve :)
><> go test -cover ./cmd/...
ok  	github.com/Azure/draft/cmd/draft	(cached)	coverage: 49.3% of statements


i18n(fr): fix frontmatter label default value translation

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description
While reviewing a translation pull request, I accidentally noticed that the frontmatter sidebar.label default value was not translated. This PR fixes that.

Going to self-approve myself on this one 🫣


Using a licenses Froala inside in Iframe in a Chrome Extension

Hello,
We have purhcased a Business License for Froala and are using it with Angular inside of an app that is loaded within an iFrame as a Chrome Extension. My understanding is that the license is loaded and checked against domain names, however as a technical requirement the source of the chrome extension is not set to a specific domain but rather to a URI relative to the chrome extension location e.g., chrome-extension://...
Any ideas on how to load the license in that case ?
Much appreciated

@ahmadassaf please reach us via our website and our support team will assist you with it: https://www.froala.com/wysiwyg-editor/contact.


Refactor Board#displayMoves and Board#selectSquare

There are three places in the Board class where an if board.game.turn statement reoccurs. To keep your code dry, it would be a good idea to abstract this functionality into it's own method. It would also make your long methods shorter.

I'll work on this.


[AMHACK][UI] Notification at a successful API creation is not visible to the user, unless the user scroll up the window

Description:
Successful notification on successful API creation appears at the top of the page, whereas the save button it at the bottom of the page, where a user might confuse whether the API was created successfully or not
Suggested Labels:
Improvement
Affected Product Version:
APIM wum updated - wso2am-<IP_ADDRESS>0928473100.zip
OS, DB, other environment details and versions:
Standalone
DB - H2
Browser - Chrome Version 58.0.3029.96 (64-bit)
Steps to reproduce:

Log in to API publisher
Click the save button at the end of API creation

Observations
When a user clicks the 'save' button, notification message appearing at the top of the page and will disappear in a while, which will confuse the user whether the API was created successfully or not.

This UI is re-structured in APIM 3.0.0


Allow to set proc for expireat

There is a trap in the expireat example in the in the README.
value :value_with_expireat, :expireat => Time.now + 1.hour

expireat is evaluated at class load time.
In this example, it will be one hour after evaluating class,
not after one hour after setting value.
If you want to expire one hour after setting the value,
expireat can not be satisfied that use case.
So add expireat implementation with proc.
value :value_with_expireat, :expireat => lambda { Time.now + 1.hour }

If can set proc, expireat will be used more flexibly.
For example, if want to expire at 0:00 am every day,
It can be written as follows.
value :value_with_expireat, expireat: -> { 1.day.since.midnight }

This case can not be written in expiration.

please merge #210 first for pass CI 😿
I will rebase after it.


Deploy app using GCP Cloud Run

I decided to host the app on my personal GCP account using their free tier.
I have been learning about some GCP tools, so I wanted to explore the deployment possibilities as well :)
As far as I could gather, there are two main options to deploy a stateless app such as ours on GCP:

App Engine: we just need to provide a requirements.txt and App Engine will automatically set everything up. After deployment, the app that is always running.
Cloud Run: we need to containerize the app ourselves. After deployment, the containers are booted up whenever there's a request. They timeout after ~5 min, not sure we can control the timeout in the free tier.

This wasn't as easy as I expected, namely due to:

using poetry for dependency management: App Engine expects a requirements.txt, which we could generate manually from poetry, but which is an additional annoying step to do.
the whole geopandas/fiona/gdal dependency chain doesn't work very well, and I think we must also install gdal using the system's package manager, and not just through Python's dependency manager.

After trying App Engine and failing, I went with Cloud Run. It took me some time to figure everything out but in the end it's quite easy to understand:

There's a Dockerfile that configures the container. It uploads the source code to GCP, installs gdal using apt-get, installs our package using poetry and serves it using gunicorn
There's a .dockerignore file which lists files that should not be uploaded to GCP.

The app is available here.
Booting up the container takes a bit of time, up to 1 min. Also loading all the data columns takes a bit of time so in the beginning the app doesn't feel too responsive, but after that it is fine.
This means there's certainly room for optimization. If someone sees something strikingly wrong with our code, let me know :p Otherwise I will leave it as is.
If you would like to check out the project on GCP, let me know and I'll try to add you to it as an admin. I'm just not sure that's supported with the free tier.
Solves #62

Thanks for adjusting it! I don't know why your changes to the readme were reverted, I probably did something wrong 😅


Remove useCallback example from weakMapMemoize page

Remove wrong selector with useCallback usage example at the weakMapMemoize page
Closes #682

thanks!


Set specific rotation of model

Hey, Is there any way to set the rotation of the model to a specific value?

I see, unfortunately just setting the camera-orbit doesn't cut it for this so I guess I have to wait for #426 then. Not sure if it's related to this as well, but at the moment one can't put the camera-orbit distance to anything beyond the "framing", would be useful to be able to do as well.

@jhflink thanks for the feedback. We definitely want to do what you suggested w/ regards to the camera-orbit distance. cc @elalish


1.6-rc: Fixed unittest

This should only include https://github.com/SymphonyPlatformSolutions/generator-symphony/pull/102/commits/9af4e592ce60694f15279cb5c9d0a3590f4ddda1 right?

This should only include 9af4e59 right?


Change pdqsort.h to pdqsort.hpp

Great! you now need to run clang-format-3.6 -i on pdqsort.hpp, or skip it in pythran/tests/test_format.py:19. Can you do that?

Oh, I see, I imagine it was skipped before but since the name has changed it's not any longer. I'll get it to be skipped, better than changing the code.

I'll get it to be skipped, better than changing the code.

Agreed, thanks!


Need Support on Xcode 9 iOS 11 & Swift 4.0

This does not work on latest xcode 9. I need to integrate with Xcode 9 swift 4 are there any other options?

The sample works only for XCode 7 and Swift 2.  I will add a work item to my backlog to migrate the sample to the current version of XCode and Swift.  Meanwhile, if you have done such a migration, you are welcome to fork this repository, add a branch for your code, and submit a PR to this repo.  I am requesting your help if you are willing to give it because I won't be moving this work item into a sprint until next year. Other people could benefit from your efforts :-)
John

This should be resolved with the merge of #13


Edit: machine-learning-recommendation-api-faq.md

Edit complete. Here are comments I will send to the writer:
Not sure why you are capping RECOMMENDATIONS. I title capped it (Recommendations).
I formatted the questions as bold to match up with the other FAQs.
Line 34: What do you mean by POST? Is it a feature? I changed it to email, so check it.
Line 38: Deleted this because there is no link:
More information about understanding subscriptions can be found here.
Line 62: I deleted this because there is no link:
For more information about understanding subscriptions click here.
Around Line 83 (after Important): Deleted the text because it links to a topic that is no longer available:
For more information about understanding subscriptions, click here.
I deleted the legal terminology…we are covered  as a website.

Hi @ClarityQueen, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;


Bug fix: blending multichannel images and 3D points

Description
This is a different approach related to https://github.com/napari/napari/pull/4523
Instead of making the default blending translucent_no_depth in viewer_model.py (inherited when kwargs['blending'] = kwargs['blending'] or ...) this PR sets blending to translucent_no_depth if no blending is specified for channel_axis is None and to translucent_no_depth for the first layer when splitting channels.
This mimics the current approach—importantly, it specifies a blending if the user doesn't, but then allows single channel and multichannel images to follow their own logic.
This PR fixes the issue demonstrated by @jni here:
https://github.com/napari/napari/pull/4523#issuecomment-1125579866
where points get clipped.
Here's what it looks like with this PR:

Note that nuclei blending is still additive with respect to membranes.
And all points are rendered correctly.
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References
This is a different approach to PR: https://github.com/napari/napari/pull/4523
as identified in comment: https://github.com/napari/napari/pull/4523#issuecomment-1128835292
Also, some discussion on zulip:
https://napari.zulipchat.com/#narrow/stream/270578-reviews
How has this been tested?

[x] example: the test suite has been adjusted to account for the change
[x] example: locally the fix works, as compared to main

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have adjusted tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

Thank you so much for this @psobolewskiPhD - so clean 😍


GridFS and save files

Hi,
I use this https://github.com/jenssegers/laravel-mongodb/issues/262#issuecomment-50905352 for save file into database. But how to get that file and able user to download it?

Note that https://github.com/jenssegers/laravel-mongodb/issues/262#issuecomment-50905352 appears to be a request for a possible GridFS API to be implemented by this library. I don't believe it is a functional example.
To cross-reference with my reply in https://github.com/jenssegers/laravel-mongodb/issues/838#issuecomment-228841563:

Version 3.0 of this library appears to wrap mongodb/mongo-php-library, which does not implement GridFS. Support for GridFS will show up in 1.1.0 (see: PHPLIB-114); however, it's API will differ significantly from the legacy driver's GridFS API.

I assume that anyone using GridFS with this library is actually working with the legacy driver's MongoGridFS class directly.

This should work in MongoDB PHP Library version 1.1.x:
DB::getMongoDB()->selectGridFSBucket();

This will return an instance of MongoDB\GridFS\Bucket. Next steps can be followed here: https://docs.mongodb.com/php-library/master/tutorial/gridfs/

GridFS is now supported!
Follow the docs to learn how to use GridFS : https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/filesystems/


Multi-colored dice?

Great work on this! Hoping there's a way to have colors applied per die. I see the themeColor on the roll method but this seems to apply to the entire group. Is there a way to set each die color individually?

There are two ways to accomplish multiple colors. You can .add() to a roll or you can define a roll array. Here's a demo: https://codesandbox.io/p/sandbox/dice-colors-tk2vpc
Hope that helps.

This is really helpful. Thank you. Love this roller!


Add support for RS movable widgets

Add support for RS movable widgets
Add support for adding RS widgets to RuneLite overlay system and make
them moveable with persisted positions during restarts.
Depends on #3820 for widget ids
Preview:

worldToMiniMap would need to be adjusted to account for this.


Do not consider data size for Tape data placement based on dm_weight

Fixes #12044
Status
not-tested
Description
Given that MSOutput tape data placement no longer uses the ddm_quota attribute (for the last ~3 months now), it is no longer relevant to compare the RSE attribute (called "dm_weight" for tape data placement) with the total data volume in a given workflow.
With this fix, we keep the same behavior for ddm_quota, but dm_weight attribute will simply fetch the weights and pass it over to the weightedChoice function.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

@hassan11196 you might want to have a look into this one as well, given that we discussed the dm_weight attribute in the last O&C week.

I have just applied this patch to the MSOutput pod and I can confirm that it works well:
***@ms-output-679465774d-nccfj:/data$ tail -f /data/srv/logs/reqmgr2ms/reqmgr2ms-20240717-ms-output-679465774d-nccfj.log | grep 'against RSE:'
2024-07-17 15:34:29,389:INFO:MSOutput: Workflow: cmsunified_task_EXO-Run3Summer23BPixwmLHEGS-00235__v1_T_240502_170444_6862, total output size: 266.32 GB, against RSE: T1_FR_CCIN2P3_Tape
2024-07-17 15:34:30,420:INFO:MSOutput: Workflow: cmsunified_task_EXO-Run3Summer23wmLHEGS-00263__v1_T_240502_172448_537, total output size: 539.65 GB, against RSE: T1_US_FNAL_Tape
2024-07-17 15:34:31,551:INFO:MSOutput: Workflow: cmsunified_task_EXO-Run3Summer23BPixwmLHEGS-00299__v1_T_240502_165414_878, total output size: 269.32 GB, against RSE: T1_ES_PIC_Tape
2024-07-17 15:34:32,539:INFO:MSOutput: Workflow: cmsunified_task_EXO-Run3Summer23BPixwmLHEGS-00309__v1_T_240502_170424_267, total output size: 261.77 GB, against RSE: T1_US_FNAL_Tape
2024-07-17 15:34:34,137:INFO:MSOutput: Workflow: cmsunified_task_EXO-Run3Summer23wmLHEGS-00280__v1_T_240502_165306_7034, total output size: 542.85 GB, against RSE: T1_UK_RAL_Tape
2024-07-17 15:34:35,303:INFO:MSOutput: Workflow: cmsunified_task_EXO-Run3Summer23wmLHEGS-00246__v1_T_240502_170801_7194, total output size: 548.15 GB, against RSE: T1_US_FNAL_Tape
2024-07-17 15:34:36,341:INFO:MSOutput: Workflow: cmsunified_task_EXO-Run3Summer23BPixwmLHEGS-00247__v1_T_240502_172830_9896, total output size: 268.52 GB, against RSE: T1_US_FNAL_Tape

@hassan11196 you might want to have a look into this one as well, given that we discussed the dm_weight attribute in the last O&C week.

@amaltaro  Did you mean to tag? @haozturk

Ahh, yes, sorry Ahmed! It is good though that you are aware of this ;)

Even though there is no official approval through the review process, I know Andrea already approved it in one of the follow up comments. So I am moving ahead and getting this merged to make a new WMCore release.
@haozturk I created this new ticket https://github.com/dmwm/WMCore/issues/12055 to handle any leftovers of the ddm_quota vs dm_weight. Please let us know as well what is the timeline for deprecating the ddm_quota attribute. We can resume this discussion in the new ticket. Thanks!


Transfer amount estimation in $

We used to have $ estimation when we were doing a transfer like this:

Can we have it back?

I will unassign myself from this issue as I will try to only work on bugs, so I can focus on database.


Restructure folder structure and split very large modules

The current folder structure is non-standard as the tests folder is not in the project root. This should be aligned to what is standard use. Maybe there are also some other problems.
There are some very large modules (e.g. fbeamform ), which makes handling of the code base difficult in case of several parallel branches and increases the probability of merge conflicts. When splitting these files it should also be decided if subpackages should be established.

In order to preserve line history when moving the files in another folder, one should use git mv.
In order to split a file preserving line history, the following steps are necessary:

create a new branch, use git mv to rename the file
merge this branch into original branch
now there are two copies of the same file with different names
delete lines from both files as necessary


Add validation for AWS::ElastiCache::ReplicationGroup

Some of the property required entries (CacheNodeType and Engine) needed to be "not required" due to the conditional requirement when specifying PrimaryClusterId. This issue is being opened due to accepting #1063 and the need to add more validation for AWS::ElastiCache::ReplicationGroup.

I'm happy to take a stab at this if you let me know a bit more what you were thinking? Do we want validation that just informs you that you cannot have the fields (from the other PR) defined for the ReplicationGroup? That should be easy enough to add myself.


refactor: improve the plotting

X axis should have some values
X axis should be cut at the max value present in the trials

Other suggestions? @jfmejias @DaniBodor

Y-axis label and units (even if AU).
the dashed vertical line should be in the legend (or labeled in another fashion)
Ensure color scheme is color-blind friendly (haven't checked the current one).
Given that there are really just two possible values (apart from noise) and multiple signals that overlay each other, it can be difficult to see which ones are at which value. I don't have a great idea of how to improve this, but it could be something to keep in the back of our minds.

We've decided to implement the functionalities originally planned for the annubes package within the NeuroGym package instead, which represents the current state-of-the-art.


Provide feedback on image differences via a diff or animation

When an image difference occurs, it would be useful to show it visually in the WebUI via one or both of a difference image, or an animation that flicks between the variant and variant images.

Let's go for both animation and the use of ImageMagick if it is on path.


Water Sensors: HFV Indigo Brooke (164671)

R1B middle sensor isn't sending any data.

R2B deep sensor isn't sending data, R1 Middle still offline

Poking today on R1B middle

Poking again on R1B

R1B middle sensor 489 offline still

Site is completely online.


Faulty infix operator warning when no space after variable definition

When:
let foo= bar + ' thing'
It will throw the Infix operators must be spaced warning.
While it should throw a warning that there is no space after variable, but i'm not sure that even exists.

This is an error from ESLint's space-infix-ops rule and has nothing to do with eslint-plugin-react.
If you think this is a bug in the space-infix-ops rule please open an issue in the ESLint repository.


Position middle and center interchangeable

forHorizontal decides whether the width or height should be used for positioning.
This PR allows the use of center and middle interchangeably. This is beneficial when rotating a chart dynamically.
My use case is a dynamically updated chart.  The existing distinction of middle vs center forces me to update label positioning when adjusting rotated.  This PR removes the need to update multiple values.
 axis: {
        rotated: true, // or false
        x: {
            label: {
                text: 'X Label',
                position: 'outer-middle' // or 'outer-center'
            }
        },
        y: {
            label: {
                text: 'Y Label',
                position: 'outer-middle' // or 'outer-center'
            }
        }
    }

Codecov Report

Merging #2502 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #2502   +/-   ##
=======================================
  Coverage   80.49%   80.49%
=======================================
  Files          54       54
  Lines        4280     4280
=======================================
  Hits         3445     3445
  Misses        835      835

Impacted Files
Coverage Δ

src/axis.js
97.55% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add interface operation that returns operation meta data

A new interface operation OPERATION_META_DATA shall be added. This operation shall return a list of supported operations, their supported parameters, permitted values, and whether a parameter is optional or not.
This feature will reduce the client dependency on the RaSCSI version, because a client knows about supported operations without having to rely on (hard-coded in the client) RaSCSI versions.
Intelligent clients can up to a certain degree dynamically build operations, based on the meta data information. It should even be possible to build a simple generic client, which can construct and validate remote interface commands based on user input.
Optional descriptions are also provided. A non-localized client may make use of them in order to guide the user.
// The operation parameter meta data. The parameter data type is provided by the protobuf API.
message PbOperationParameter {
    string name = 1;
    // Optional short localized description, key is the lower case locale (e.g. en, de).
    // Falling back to "en" is recommended if a description for a particular language is missing.
    map<string, string> description = 2;
    // There is no specific set of permitted values if empty
    repeated string permitted_values = 3;
    // Optional default value. If there is no default the value is mandatory.
    string default_value = 4;
}

// The list of parameters supported by an operation
message PbOperationMetaData {
    // Optional short localized description, key is the lower case locale (e.g. en, de).
    // Falling back to "en" is recommended if a description for a particular language is missing.
    map<string, string> description = 1;
    repeated PbOperationParameter parameters = 2;
}

// Mapping of operation names to their meta data
message PbOperationInfo {
    map<string, PbOperationMetaData> operations = 1;
}

>rasctl -o
Remote operations supported by rascsi and their parameters:
  ATTACH (Attach device, one of the device-specific parameters is required)
    name: optional (Image file name in case of a mass storage device)
    interfaces: optional (Comma-separated prioritized network interface list)
  COPY_IMAGE (Copy image file)
    from: mandatory (Source image file name image file name)
    to: mandatory (Destination image file name)
    read_only: optional (Read-only flag)
      Permitted values: true, false
      Default value: false
  CREATE_IMAGE (Create an image file)
    file: mandatory (Image file name)
    size: optional (Image file size in bytes)
    read_only: optional (Read-only flag)
      Permitted values: true, false
      Default value: false
  DEFAULT_FOLDER (Set default image file folder)
    folder: mandatory (Default image file folder name)
  DEFAULT_IMAGE_FILES_INFO (Get information on available image files)
  DELETE_IMAGE (Delete image file)
    file: mandatory (Image file name)
  DETACH (Detach device)
  DETACH_ALL (Detach all devices)
  DEVICES_INFO (Get information on attached devices)
  DEVICE_TYPES_INFO (Get device properties by device type)
  EJECT (Eject medium)
  IMAGE_FILE_INFO (Get information on image file)
    file: mandatory (Image file name)
  INSERT (Insert medium)
    file: mandatory (Image file name)
  LOG_LEVEL (Set log level)
    level: mandatory (The log level)
  LOG_LEVEL_INFO (Get log level information)
  MAPPING_INFO (Get mapping of extensions to device types)
  NETWORK_INTERFACES_INFO (Get the available network interfaces)
  OPERATION_INFO (Get operation meta data)
  PROTECT (Protect medium)
  PROTECT_IMAGE (Write-protect image file)
    file: mandatory (Image file name)
  RENAME_IMAGE (Rename image file)
    from: mandatory (Source image file name)
    to: mandatory (Destination image file name)
  RESERVED_IDS_INFO (Get list of reserved device IDs)
  RESERVE_IDS (Reserve device IDs)
    ids: mandatory (Comma-separated device ID list)
  SERVER_INFO (Get rascsi server information)
  SHUT_DOWN (Shut down or reboot)
    mode: mandatory (Shutdown mode)
      Permitted values: rascsi, system, reboot
  START (Start device)
  STOP (Stop device)
  UNPROTECT (Unprotect medium)
  UNPROTECT_IMAGE (Make image file writable)
    file: mandatory (Image file name)
  VERSION_INFO (Get rascsi server version)

@uweseimet Do I understand this feature correctly with, say, this scenario: The very latest Android app trying to talk to a somewhat old RaSCSI server, and dynamically hides UI options for features that the server does not understand.

@rdmark This is useful for any client, but the web ui is least likely to profit.
A client can query rascsi for the operations supported, and can react on it. Typical scenario: A client is aware of the SHUT_DOWN operation (and offers it to the user), but is connected to an old rascsi version that does not support this operation. In this case the client should not offer the SHUT_DOWN operation at all, because it will definitely fail. Checking the rascsi version in order to find out which operation is supported is not that good, because sooner or later the client ends up with checking many versions. And if, in a future version of rascsi, an operation is not available anymore, it gets even more difficult when using version numbers.
Instead, the client can use OPERATION_INFO to explicitly find out the operations supported by the rascsi server the client is currently connected to. (Future versions of my app will most likely support a selectablle set of rascsi instances, which is useful for users who have more than one board.) Up to a certain degree a client can even use operations not yet supported by this client, because it knows operation names and parameters. But this use is rather exotic.

@rdmark Just a note: There is one more feature that does not depend on the RaSCSI version, but on how RaSCSI was started, namely the shutdown/reboot. When started with sudo all modes (rascsi, shutdown, reboot) are available. But when not started as root (unusual case, but as you know I do most of my testing on a PC, where you do not need to be root because no RaSCSI hardware is present), the meta data signal that only the "rascsi" shutdown mode is available. A client can react on this by not offering the unavailable shutdown modes.


Add support for Bynder SNS notifications

A built-in view to handle such notifications would allow asset updates to be reflected in (near) real time.
Though, I don't see us ever not needing the management command too. By nature, webhook notifications can be a little unreliable (network issues / traffic blocking), so a backup plan is ALWAYS a good idea. Plus, it's unlikely you'd want to configure SNS notifications for ALL environments that Wagtail is running on (dev/staging/production) - doing an occasional 'once-per-day' pull is probably fine for non-production environments.

Ref: https://support.bynder.com/hc/en-us/articles/360013875360-Enabling-SNS-Notifications


filter view with ID

In the doc Api reference,  the req_option parameter in the view section mention that it is possible to filter views get using id.
May i am wrong but it seams not possible to filter using the ID of a view.
Parameters

Name
Description

req_option
(Optional) You can pass the method a request object that contains additional parameters to filter the request. For example, if you were searching for a specific view, you could specify the name of the view or its ID.

usage
(Optional) If true (usage=True) returns the usage statistics for the views. The default is usage=False.

Not wrong at all - https://github.com/tableau/server-client-python/pull/680

You can use views.get_by_id() instead - see documentation.

The endpoint views.get_by_id() only exists in the documentation but not in the source code :-(


Add ref parameter

It would be nice if a ref parameter could be added similar to PlaneStats' clipb parameter (see: here). This is useful for cases like a diff function where you need to compare two clips.

Ok, I can add this when I unify all my plugins into a new single project in Zig.

Thanks!


Where can I control the ticker label?

I would like to have the pair after the price and the opposite and add a space too.
Thanks!

Hello Adame
Not sure what you mean.
The ticker label is set in different locations, currently, depending on user action. E.g. on line 77 of indicator.py, you'll find:
self.indicator_widget.set_label(label, label)
If you mean you're cloning and you want to permanently change how the label looks, I suggest you abstract this away in a function that also adds a space. I assume you're on GNOME3 where the icon lacks padding, and they stick together a bit?
As for the pair after the price: do you want to actually set the label to €6995 BTC-EUR ? You could do this in your own fork at the same locations where self.indicator_widget.set_label() is called. I won't do this in this fork as it would take up too much horizontal space.
I'm not sure what you mean by "the opposite"?

closing after 1 week without further queries

Sorry for the delay.
Thanks for your replay. Was really useful.


Extract dashboard/widgets code to separate module

[x] extract code :point_right: https://github.com/CartoDB/deep-insights.js
[x] remove examples using dashboard, TBD after https://github.com/CartoDB/deep-insights.js/issues/2

done in #919


pydot requirement missing for keras "plot_model" functionality

Cloned repo and created new env from the environment.yml file today. When I ran through notebook, "10_neural_nets_with_keras",  the, "tf.keras.utils.plot_model(...)" cell failed with missing pydot requirement. Cell is marked as "extra code", and overall this doesn't really impact running through the notebook.

Good catch, thanks, I'll add it now to requirements.txt and environment.yml.

Trying to upgrade the libs while I'm at it, but I'm running into a little issue with the gym library: the API seems to have evolved a little bit, I'm getting errors with the latest version, so I'm fixing them. Hopefully won't be long.

anything you'd like me to look into? dependency solving isn't my fav, but
I've had to slog through my fair-share, ha.
On Mon, Sep 12, 2022 at 7:56 PM Aurélien Geron @.***>
wrote:

Trying to upgrade the libs while I'm at it, but I'm running into a little
issue with the gym library: the API seems to have evolved a little bit, I'm
getting errors with the latest version, so I'm fixing them. Hopefully won't
be long.
—
Reply to this email directly, view it on GitHub
https://github.com/ageron/handson-ml3/issues/29#issuecomment-1244800292,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKZRCVBZL7SNOJHOXTEJHLV57NMNANCNFSM6AAAAAAQJQKYIM
.
You are receiving this because you authored the thread.Message ID:
@.***>

I haven't had time to fix the issues with the API changes in gym, so I ended up just updating all other libraries, and of course adding pydot, which fixes this issue.
Thanks a lot for your kind help, @immersinn !

Awesome, thanks! Enjoying the book, thanks for all the hard work!
On Thu, Sep 22, 2022, 01:15 Aurélien Geron @.***> wrote:

Closed #29 https://github.com/ageron/handson-ml3/issues/29 as completed
via 79ce441
https://github.com/ageron/handson-ml3/commit/79ce4412122ca2c57ed42a899bba2b2d99b47550
.
—
Reply to this email directly, view it on GitHub
https://github.com/ageron/handson-ml3/issues/29#event-7436751734, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKZRCQN6557QDDACZB4NZ3V7QBS5ANCNFSM6AAAAAAQJQKYIM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks @immersinn ! FYI, I finally updated the notebook for chapter 18 to use the latest version of gym. There were quite a few breaking changes, including these:


Crash fix: HTTP2 can handle requests are cancelled

Motivation
If a already cancelled request is scheduled on an existing HTTP/2 connection we currently run into a crash. This only happens if the request is scheduled on the same EventLoop as the HTTP/2 connection.
Changes

Make the HTTPRequestStateMachine resilient to failures before request start.

Result

A crash less.

5.6 and nightly failing because of Sendable requirements.


Uncaught TypeError: Cannot read property 'names' of undefined

[Enter steps to reproduce below:]

...Open a new blank file(untitled) and set it as PHP
...Line1 - Type <?p -->Error before you can finish typing php.
...If you save the file as filename.php before entering any code --> No error
...If you have an existing PHP file open in another tab when you create a new blank file and set it as PHP --> No error

Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: atom-autocomplete-php package, v0.18.9
Stack Trace
Uncaught TypeError: Cannot read property 'names' of undefined
At /Users/paulcarter/.atom/packages/atom-autocomplete-php/lib/autocompletion/function-provider.coffee:27

TypeError: Cannot read property 'names' of undefined
    at FunctionProvider.module.exports.FunctionProvider.fetchSuggestions (/Users/paulcarter/.atom/packages/atom-autocomplete-php/lib/autocompletion/function-provider.coffee:27:23)
    at FunctionProvider.module.exports.AbstractProvider.getSuggestions (/Users/paulcarter/.atom/packages/atom-autocomplete-php/lib/autocompletion/abstract-provider.coffee:30:17)
    at /Users/paulcarter/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:310:56
    at Array.forEach (native)
    at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Users/paulcarter/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:289:17)
    at AutocompleteManager.getSuggestionsFromProviders (/Users/paulcarter/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
    at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Users/paulcarter/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:276:19)
    at /Users/paulcarter/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61

Commands
     -0:16.2.0 editor:newline (atom-text-editor.editor.is-focused)
  6x -0:13.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:09.7.0 grammar-selector:show (atom-text-editor.editor)

Config
{
  "core": {
    "disabledPackages": [
      "markdown-preview"
    ],
    "themes": [
      "seti-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages
# User
atom-autocomplete-php, v0.18.9
autocomplete-wordpress-hooks, v0.2.0
file-type-icons, v1.3.0
highlight-line, v0.11.1
highlight-selected, v0.11.2
less-than-slash, v0.13.0
markdown-preview-plus, v2.4.0
open-recent, v5.0.0
project-manager, v2.9.7
seti-ui, v1.3.1
tabs-to-spaces, v1.0.2
wordpress-api, v1.2.2

# Dev
No dev packages

Hi, I didn't reproduced it.
It seems to be a really specific use case, I keep this issue opens, if someone with the problem can investigate, it's fine 👍

i confirm that...
System: Linux Ubuntu 16.04
Installed packages:
atom-autocomplete-php, v0.18.9
autocomplete-

wordpress-hooks, v0.2.0
php-cs-fixer v2.5.9
php-integrator-tooltips-master v1.0.3
qolor v0.2.4

Yeah still happening here too.

Thank you, thanks to the screenshot I reproduced it.
Should be fixed in last release.


Azure CLI commands don't work

The azure CLI commands on this page don't work, I think they are outdated.

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

ID: 0cebf198-118b-5a1d-6304-df105bdff38c
Version Independent ID: b157d7cd-f9f8-348b-da8c-5ebee943aec5
Content: Create Service Bus topic subscription and rule using Azure template - Azure Service Bus
Content Source: articles/service-bus-messaging/service-bus-resource-manager-namespace-topic-with-rule.md
Service: service-bus-messaging
GitHub Login: @spelluru
Microsoft Alias: spelluru

Hello @henkdb4 - Thank you for your feedback! We will review and update as appropriate.


Can I hide the Dropdown and show results by live search?

I am using your plugin and also data-live-search="true" for live search.
I have more than 100 options in my select and I do not want to show all of them in the dropdown.
I want to hide all the options by default and show only the live search results.

Is it possible now?


MockLLMPredictor is not showing last_token_usage

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi, I am trying to find last_token_usage using MockLLMPredictor. Below is my code, however somehow running this code shows that last_token_usage is not found in MockLLMPredictor.
BASE_DIR: str = os.path.dirname(__file__)

documents = SimpleDirectoryReader(os.path.join(BASE_DIR, "data")).load_data()
print(documents)

llm_model_name = "gpt-4"
llm_predictor_mock = MockLLMPredictor(max_tokens=256, llm=OpenAI(temperature=0, model_name=llm_model_name))
embed_model_mock = MockEmbedding(embed_dim=1536)

service_context = ServiceContext.from_defaults(llm_predictor=llm_predictor_mock, embed_model=embed_model_mock)

# Vector is cheaper than raw indexed data
# index = GPTSimpleVectorIndex.from_documents(documents, service_context=service_context)
index = GPTListIndex.from_documents(documents, service_context=service_context)

# Run the mock call first
# You can *predict* how many tokens each GPT Index operation
# (build index, query index) can consume! (within 5-10% error)
query_str = "Why was Ketanji Brown Jackson nominated?"

print("query_str = {}".format(query_str))

response = index.query(query_str, service_context=service_context)

print(response)

# In this example, after querying the index, you can access the last_token_usage attribute
# of the MockLLMPredictor instance to get the number of tokens used in the query.
last_token_usage = llm_predictor_mock.last_token_usage

last_embedding_usage = embed_model_mock.last_token_usage

@kashiftriffort the bot is pretty much correct -- MockLLMPredictor is not maintained, and you should use MockLLM and the token counting handler
https://gpt-index.readthedocs.io/en/stable/core_modules/supporting_modules/cost_analysis/usage_pattern.html

The link you provided does not exist. Whay is the new attributes? and why is LlamaINdex documentaiton still containing MockLLMPredictor and exmaples:
https://gpt-index.readthedocs.io/en/v0.6.8/reference/service_context/llm_predictor.html

@Jgerardopine my link works fine? You arr linking to v0.6.8 docs. We are on 0.8.65 now

You should be using MockLLM these days
from llama_index.llms import MockLLM


Fails for anonymous function declarations

The module is unable to do its job with this line:
Application.prototype.addCommand = function(command)

It should at least give me:
/**
 * description
 *
 * @param  {type} command description
 * @return {type}         description
 */

And ideally:
/**
 * Application.addCommand - description
 *
 * @param  {type} command description
 * @return {type}         description
 */

My bad.

Hey sorry for the delay, but you're right. I'll try to get a fix in asap and I'll close this out when it's done.

Exciting news!

:+1:

Looking forward to the fix :).


cuttlefish schema

It would be wonderful to have a cuttlefish schema?

It would also be wonderful if there was a rebar3 plugin that allowed rebar3 shell to use cuttlefish configurations :)

Yeah, it seem like we should wait for the software and API to stabilize before investigating the use of cuttlefish.

I'm going to close this. Reopen if anyone is actually using Erleans and wants cuttlefish :)


Bump use of GitHub actions/workflows to v11

Part of:
https://app.zenhub.com/workspaces/the-outlaws-6193fe815d79fc0011e741b1/issues/gh/energinet-datahub/team-the-outlaws/1141

Codecov Report

Merging #280 (ef5aa4f) into main (ebff71e) will decrease coverage by 0.06%.
The diff coverage is 79.97%.

@@            Coverage Diff             @@
##             main     #280      +/-   ##
==========================================
- Coverage   81.49%   81.44%   -0.06%
==========================================
  Files         342      452     +110
  Lines        6166    10315    +4149
  Branches      622        0     -622
==========================================
+ Hits         5025     8401    +3376
- Misses        922     1595     +673
- Partials      219      319     +100

Impacted Files
Coverage Δ

...ivedMessages/ArchivedMessageGetDocumentListener.cs
0.00% <0.00%> (ø)

.../ArchivedMessages/ArchivedMessageSearchListener.cs
0.00% <0.00%> (ø)

...MarketActors/MarketActorAuthenticatorMiddleware.cs
0.00% <0.00%> (ø)

...Messages/RequestChangeOfSupplierMessageReceiver.cs
0.00% <0.00%> (ø)

source/Api/OutgoingMessages/PeekRequestListener.cs
0.00% <0.00%> (ø)

...rchivedMessages/GetArchivedMessageDocumentQuery.cs
0.00% <0.00%> (ø)

...onfiguration/Authentication/MarketActorIdentity.cs
100.00% <ø> (ø)

source/Application/SearchMessages/MessageInfo.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

source/Application/SearchMessages/QueryInput.cs
0.00% <0.00%> (ø)

...ions/MoveIn/FetchMeteringPointMasterDataHandler.cs
0.00% <0.00%> (-50.00%)
:arrow_down:

... and 128 more

... and 132 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add custom option to collection

I wanna add a custom option(has value) for country_select. Tried several but non of them works. How could i add custom option for country select? or is there a way to call country collection for me to add new option

+1

@tkz79 thanks for adding this approach. I like it.
Does this help you @tenzanoni ?
In a future version, I think it'd be nice to be able to do this without necessarily registering a new country so as not to mess with data that other libraries may depend on. But whatever implementation might be created in the future should probably look a lot like this since country_select depends so much on the countries gem's data structure.


Make buildHeader a list of strings

Many times we might have several lines. This makes it cleaner to write.

cc @ianoc


Claim of lifetime sizes in 00_welcome

Towards the end of the first chapter, once the 'variable and 'reference lifetimes has been established, there is the following statement:

We call a region of code where a variable exists a "lifetime". We can give lifetimes names using the syntax 'name. So if we call the variable's lifetime 'variable, and the reference's lifetime 'reference, we can then formally say that for any variable that references another variable, 'variable must be larger than 'reference.

The last part of this statement is confusing to me because it does not seem to be true for all cases.
Let's say in the code example, that the inner scope of 'variable is expanded to include the if let statement:
fn main() {
    let mut my_reference: Option<&i32> = None;

    // Starting a scope.
    {
        // my_variable created                               // \ \
        let my_variable: i32 = 7;                            // | |
        my_reference = Some(&my_variable);                   // | |- my_variable exists here. ('variable)
        // At the end of the scope, `my_variable` is dropped // | |
        drop(my_variable);                                   // | |
        // my variable destroyed                             // | /
    // inner scope does not stop here }
                                                             // |
    if let Some(reference) = my_reference {                  // |
        println!("{}", reference);                           // |
    }                                                        // /
    } // inner scope now stops here
}

It is not true that 'variable is now larger than 'reference, because 'reference is declared earlier still.
So this is confusing to me. It would make more sense if it read:

we can then formally say that for any variable that references another variable, 'variable must live longer than 'reference.

Hey! So there are actually a couple things going on here, apologies if this is unstructured; and also apologies if I over-explain things (if nothing else, hopefully I can point other people here with similar issues).
First: the example you gave actually isn't quite doing what you think it is. This is because i32 is a type which is Copy.
Therefore, when you call drop(my_variable), you're actually copying my_variable, and basically calling drop(7).
A code example which gets around this issue is:
#[derive(Debug)]
struct NotCopy {
    i: i32
}

fn main() {
    let mut my_reference: Option<&NotCopy> = None;

    // Starting a scope.
    {
        // my_variable created                               // \ \
        let my_variable: NotCopy = NotCopy { i : 7};         // | |
        my_reference = Some(&my_variable);                   // | |- my_variable exists here. ('variable)
        // At the end of the scope, `my_variable` is dropped // | |
        drop(my_variable);                                   // | |
        // my variable destroyed                             // | /
        // inner scope does not stop here }
                                                             // |
        if let Some(reference) = my_reference {              // |
            println!("{reference:?}");                       // |
        }                                                    // /
    } // inner scope now stops here
}

But what you'll see in this example is that we do run into an issue:
error[E0505]: cannot move out of `my_variable` because it is borrowed
  --> src/main.rs:15:14
   |
13 |         my_reference = Some(&my_variable);                   // | |- my_variable exists here. ('variable)
   |                             ------------ borrow of `my_variable` occurs here
14 |         // At the end of the scope, `my_variable` is dropped // | |
15 |         drop(my_variable);                                   // | |
   |              ^^^^^^^^^^^ move out of `my_variable` occurs here
...
19 |     if let Some(reference) = my_reference {                  // |
   |                              ------------ borrow later used here

The error here is with the drop, because that's the first point where rust can't figure out what to do: before that point, it's happy to give you a borrow of my_variable, but at that point it's either got to move my_variable, or let you keep that borrow (and since it can't do both, it's an error!).
I do think that the wording here could be improved, and I'm gonna have a think about how to do that (suggestions welcome) but before I do, I'd like to know if this explanation helped, or if there's something you're still confused about. That'll help me figure out what the best wording actually is!
Thanks for opening an issue!

Hey @tfpk , thanks for responding promptly!
I think I follow what you're getting at with drop but it's raising more questions than it answers.
So reading 00_example, I chucked this into the playground and it works. ie, putting println! inside the inner scope, but after the drop prints 7 (https://play.rust-lang.org/?version=beta&mode=debug&edition=2021&gist=62de6293aff89f91d15e7d57b9446bce).
So now I'm confused about several things.

Why does my_reference work, when it's referencing my_variable and my_variable is dropped on ln 15 and my_reference is used on ln 19. Is that because once dropped, the Copy trait implicitly does a copy of my_variable and keeps that variable around, what is it's lifetime? Or is it because my_reference just refers to &7 which permanently exists and has a 'static lifetime?
How does drop(my_variable) differ from closing the scope { } because in the playround, if I was to put the println! outside the scope, then it errors as expected, the compiler calls out that my_variable is no longer in scope at the time my_reference is being used in the println!, however, if the println! is inside the scope { } but after dropping my_variable, it still works. so there's some differences there.
My OP question still remains, in both cases, the scope of my_variable is smaller than my_reference, that is because my_reference's scope is from the start of main() to the end, so perhaps this is rust jargon that I don't get yet, but my understanding is that the lifetime of 'variable has to end later than the lifetime of the things that reference it, ie `'my_reference'

I think there's two things here, a simpler explaination of lifetime and an accidental complexity introduced by this example. And we're now talking about both!


Support Regex in GetOPCNodeList Processor for Starting Nodes Property

Regular expression support for Start Node property in GetOPCNodeList processor

I am trying to provide the starting node name instead of a regex. I am getting the following error:
ERROR [Timer-Driven Process Thread-8] c.h.tempus.processors.GetOPCNodeList GetOPCNodeList[id=4e8b1241-0171-1000-cfd8-4dbabd9d3c2f] No namespace found: opcUAService.getNameSpace(...) returned empty or null.
It works fine when I leave the Node filter property empty.
If this property is still in work, how can i checkout the branch with Starting node property instead of Node filter proerty?


🐛 [cloud_firestore_odm] movie.dart example code not working

Bug report
Describe the bug
The generated file movie.g.dart doesn't generate _$MovieFieldMap and _$CommentFieldMap. But the example's generated code shows these maps to be generated.
Steps to reproduce

Copy movie.dart file.
Run flutter pub run build_runner build --delete-conflicting-outputs

Expected behavior
_$MovieFieldMap and _$CommentFieldMap should be generated.
Additional context
My generated movie.g.dart file has 2620 lines but the example one has 2638 lines.
Flutter doctor
Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.5.0-10.0.pre.17, on macOS 12.6 21G115 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2021.3.2)
[✓] VS Code (version 1.72.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Flutter dependencies
My project is a simple hello world which has no file than a basic main.dart (untouched) and movie.dart (copied from example).
pubspec.yaml file:
environment:
  sdk: '>=2.19.0-81.0.dev <3.0.0'

dependencies:
  flutter:
    sdk: flutter

  cloud_firestore: ^4.0.3
  cloud_firestore_odm: ^1.0.0-dev.38
  json_annotation: ^4.7.0
  meta: ^1.8.0

dev_dependencies:
  flutter_test:
    sdk: flutter

  build_runner: ^2.3.2
  json_serializable: ^6.5.4
  cloud_firestore_odm_generator: ^1.0.0-dev.38

  flutter_lints: ^2.0.0

/cc @rrousselGit

Following

@AlmogRnD Upvoting this issue instead of typing Following will bring more attention.

You likely missed the step of enabling createFieldMap
The movie example enables it in its build.yaml: https://github.com/firebase/flutterfire/blob/d9c4bba80c6ec2b288c57007e508b65e54ca48ab/packages/cloud_firestore_odm/cloud_firestore_odm/example/build.yaml#L17
If you don't include this, you need to change the annotation to @JsonSerializable(createFieldMap: true)


Voice.Join is not a real function

Please describe your problem in as much detail as possible:
When trying to play a song with distube, i get a constant error detailing, that it cant join the voice channel, with the reason being that voice.join is not a real function.
I use Visual Studio Code to do this.
'Further information:
'

DisTube version: v3
discord.js version: V12
Node.js version: v12
Operating system: Windows 10

https://distube.js.org/guide/additional-info/update.html

And you are using discord.js v13. Not v12

yes I am. also thank you for redirecting me to that other form, but when i would download Distube Beta, it would cause a whole other issue with distube not being a constructor which i am looking into right now, even with Distube/voice being installed. In one form, it details that im suppose to go into aplha and/or Beta Docs and view something. However no matter what i cant find any docs.

There is a migration guide mentioned in this issue.
https://distube.js.org/guide/additional-info/update.html

Thank you. Sorry for the trouble.


[beta] Unneccessary semicolon in "Functional Programming: Apply Functional Programming to Convert Strings to URL Slugs"

Challenge apply-functional-programming-to-convert-strings-to-url-slugs has an issue.

// the global variable
var globalTitle = "Winter Is Coming";

// Add your code below this line
function urlSlug(title) {
  return title.trim()
          .split(' ')
          .map(word => word.toLowerCase())
          .join('-');
}; // <-- This triggers the linter
// Add your code above this line

var winterComing = urlSlug(globalTitle); // Should be "winter-is-coming"

The editor's linter complains about an unnecessary semicolon - see the comment in the code above.
If you want to fix this, please read CONTRIBUTING.md to get started.
When you're all set, replace this line with the following, and make your commit.
"}",
If you have any questions, please come chat with us in the Contributors Chat Room.
Happy Coding! :smile:

Hi, @Greenheart. Can I working on it?

@Quinn-H Sure! :smile:

i would like to help a bit i am not the best but i am good at finding bugs let me know if i can help

@bigkatspence This issue is assigned to @Quinn-H, but if you want to help out, there's plenty of things that we really would appreciate:

Find issues you want to help fix, and submit pull requests for them. Refer to CONTRIBUTING.md for a guide on how to set up a local environment.
Read issues here on GitHub and respond with your thoughts to help find solutions to problems

Or, the most fun one: Help beta-test the new curriculum over at https://beta.freecodecamp.com and report any bugs you find here. This is a great way to learn new things while getting open source contributions.
Hope that helps! If you need anything, please come chat with us in /Contributors on Gitter.
Happy coding! :smile:

Hi, @Greenheart  I deleted Unnecessary semicolon and created a pull request. Thank you. And I also found the answer you wrote for this challenge isn't right, you forgot filter()  out extra space before join('-') see below:
`// the global variable
var globalTitle = "Winter Is Coming";
// Add your code below this line
function urlSlug(title) {
return title.trim()
.split(' ')
.map(word => word.toLowerCase())
.filter(words => words !== '')
.join('-');
} // <-- This triggers the linter
// Add your code above this line
var winterComing = urlSlug(globalTitle); // Should be "winter-is-coming"`

@Quinn-H Thanks for helping out! :smile:
I solved it by splitting on /\s+/ instead of jsut ' '. This way, it still splits by words but can handle extra spaces I also made a copy of the string using slice() to not mutate the original when i use trim() :blush:
// the global variable
var globalTitle = "Winter Is Coming";

// Add your code below this line
function urlSlug(title) {
  return title.slice()
          .trim()
          .split(/\s+/)
          .map(word => word.toLowerCase())
          .join('-');
}
// Add your code above this line

var winterComing = urlSlug(globalTitle); // Should be "winter-is-coming"


Add Actions button

What I really miss here is classic actions button, which opens viewed image in 3rd party apps, or give users list of actions he can do with it. (like copy, print etc)

PhotoView is a minimalistic widget concerned only with task that is to show a zoomable content. Features like this one, besides being useful in the context of your app, can not be in others (for instance, I have an app that shows a editing photo on a zoomable context).
PhotoView can be combined to any layout feature on you app, within a stack you can put any button alongside the zoomable content.
Since it seems not to be a PhotoView issue, im closing this one. If you feel that you weren't understood right, please feel free to reopen this issue explaining what you mean. Thanks


I use QueryContext to query a super long sql (13700 bytes). When there are args parameters, the error http2ErrCodeEnhanceYourCalm (11) will be reported. Has anyone encountered this?

I use QueryContext to query a super long sql (13700 bytes). When there are args parameters, the error http2ErrCodeEnhanceYourCalm (11) will be reported. Has anyone encountered this?

I may have found the reason,
we will put prepare sql in the header with prepared statement method. If the sql is too long, there will be problems. Is it possible to consider a better way to achieve this, such as using "EXECUTE IMMEDIATE"

The JDBC client sends the query text in the request body, maybe we should also do it here: https://github.com/trinodb/trino/blob/master/client/trino-client/src/main/java/io/trino/client/StatementClientV1.java#L145

The JDBC client sends the query text in the request body, maybe we should also do it here: https://github.com/trinodb/trino/blob/master/client/trino-client/src/main/java/io/trino/client/StatementClientV1.java#L145

        Map<String, String> statements = session.getPreparedStatements();         for (Entry<String, String> entry : statements.entrySet()) {             builder.addHeader(TRINO_HEADERS.requestPreparedStatement(), urlEncode(entry.getKey()) + "=" + urlEncode(entry.getValue()));         }
that seems to be placed in the header. Maybe there is no other way except to modify own ngnix configuration.


[BUG] test event logs should be compressed

Describe the bug
We've merged a couple test event log files that are pretty big:
ls -lh tools/src/test/resources/spark-events-profiling
total 103M
-rw-rw-r-- 1 rou rou 343K Jun  8 10:52 eventlog_minimal_events
-rw-rw-r-- 1 rou rou  64M Jun  8 10:52 executors_removed_eventlog
-rw-rw-r-- 1 rou rou 1.7M Jun  8 10:52 malformed_json_eventlog
-rw-rw-r-- 1 rou rou 2.2M Jun  8 10:52 rapids_join_eventlog
-rw-rw-r-- 1 rou rou 2.2M Jun  8 10:52 rapids_join_eventlog2
-rw-rw-r-- 1 rou rou 110K Jun  8 10:52 rp_nosql_eventlog
-rw-rw-r-- 1 rou rou 1.7M Jun  8 10:52 rp_sql_eventlog
-rw-rw-r-- 1 rou rou  32M Jun  8 10:52 task_job_failure_eventlog

This causes git to complain with a warning:
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File tools/src/test/resources/spark-events-profiling/executors_removed_eventlog is 63.56 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

Steps/Code to reproduce bug
The files are already merged.
Expected behavior
We should compress these log files and change the tests to decompress them on the fly.
Additional context
We may want to change the git history so these large files don't show up in every git clone.

we removed them, this required force push.  @nartal1 please make a pr to add those tests back in as I removed the files and commented out the tests.


question about srt_file.py

I have deepl pro account for website not api I somehow managed to make deepl_scrap work with it, since it has no limit I changed 1500 to random stuff I wonder, still would I get benefits of srt_file.py talking about that merging stuff that with - . dont remember tbf

Hey, nice you made it work (yeah, only put a really big number on character limit -this would do unnecessary comparsions but, who cares, not too much time is wasted-)
Yeah, the core of this package is that file. The rest of it is just a plus. Even if you create your own translator it will handle that situation and also wrapping lines.
Again: This is an utility to convert srt files to simple text to translate with a provider and back to an srt file, not a translator itself.


Improve class management

Edit class file name to MYCLASS.class.php
Comment class methods like this
Create more class
Add class hierarchisation with 1 master/parent class

Create more class improved
Add class hierarchisation with 1 master/parent class

commit


Delete Missing_UraLex2.0_refs.bib

If Missing_UraLex2.0_refs.bib can be incorporated to the Borrowing_references.bib in raw, this extra file won't bother us anymore.

See https://github.com/lexibank/uralex/pull/9/commits/3ac3da485badd4753de4a29c7b4561a497070409#diff-25e4f39f0b0a5d9f4bcbfc9dee0bb4d87c5e3976de3022093ec9cfd5ced4e36b


create site.pages with globs

Allows to add optional frontmatter to templates to allow for reading only files specified by globs instead of all the files in the content folder.
---
read_pages_glob = "events/*.md"
---

Only the Top template controls what is passed down to its children, we could possibly switch to globwalk and support specifying multiple globs. thoughts @itowlson?

Sorry missed your reply to the authoring/scope question.  That sounds a bit unlovely - naively, it would be nice for each loop to only have to inspect the things in its glob - but if that's how we have to do it then that's how we have to do it - I'll take your advice on what's practical.


Adding Documentation for LeRobot Usage with Aloha

This branch is out of date with this repo's main. You should rebase your branch (or close this PR and open a new one from the current main).


consistent naming for DOCKER_TLS_VERIFY env var

This sets the env var DOCKER_TLS_VERIFY to "1" instead of "yes" to be consistent with Docker.
Fixes #734

/cc @ahmetalpbalkan

LGTM

thanks!

@ehazlett prolly need to fix the sample output in the docs as well?

thx @ahmetalpbalkan


Upgrade to Fluid.Core version 2.13

Works with 2.13.1 now (on my machine)

Build server agrees 👍🏻


⚠ Secret Website 3 has degraded performance

In 5cff6cb, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2866 ms

Resolved: Secret Website 3 performance has improved in dc52dcb.


Blank slate fixes

Reduced size of content
Included unused __svg class in .scss file
Added styles for __svg class

 UX Issue: The blank states are huge


Folder for models?

In which folder to put git clone https://huggingface.co/damo-vilab/text-to-video-ms-1.7b models?

@tralala87 You can place them in any folder you wish. Just make sure to point to whichever directory you clone it to. Saved model outputs by default will be in the folder the script was ran at ./outputs/train_.


Conduit dashboard fails with "NetworkError" in Firefox nightly on master

While testing some unrelated changes, I came across what appears to be a bug in the web dashboard. The current master (25d8b22b5ccb07023de24d4bc1ba1c28b4ae19f7) fails to fully load the page in Firefox 62.0a1 (2018-05-09) , displaying the following error message:
Error getting data from server: NetworkError when attempting to fetch resource.

However, it loads successfully in Safari 11.1 (126<IP_ADDRESS>.4).
The on the branch I was testing (PR #916), the dashboard loads correctly in both Firefox and Safari. This branch diverged from master after commit 7f16079f644612f9ff548cf11b39e969c11a399a, so I suspect the bug was added somewhere between 7f16079f644612f9ff548cf11b39e969c11a399a and 25d8b22b5ccb07023de24d4bc1ba1c28b4ae19f7.
/cc @rmars

I've been unable to reproduce this with Firefox 60.0.1 (64-bit) or 61.0b5 (64-bit) on the latest master :(
Is this still happening for you? If you get it to happen again, I'd like to take a look.

It's still happening for me with Firefox 62.0a1 (2018-05-15) (64-bit).

I downloaded Nightly (62.0a1 (2018-05-17) (64-bit)) and conduit dashboard works for me :(
I am running conduit in minikube, on a branch off master from yesterday (a1b56846b227daa686d57caa37ffb40ac0dde40c)

Our current theory is that this is #970 (Adblocker)

I think this can be closed as a duplicate of #970.


x265: 2.6 -> 2.7

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
ran /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7/bin/x265 -V and found version 2.7
ran /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7/bin/x265 --version and found version 2.7
found 2.7 with grep in /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7
found 2.7 in filename of file in /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7

cc @codyopel for review

Success on x86_64-linux (full log)
Partial log (click to expand)
-- Installing: /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7/bin/x265
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7
shrinking /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7/lib/libx265.so.151
shrinking /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7/bin/x265
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7/lib  /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7/bin
patching script interpreter paths in /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7
checking for references to /build in /nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7...
/nix/store/55ya7ybd3v04zyss7zc2dib0bk6xacxw-x265-2.7

Success on aarch64-linux (full log)
Partial log (click to expand)
-- Installing: /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7/bin/x265
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7
shrinking /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7/bin/x265
shrinking /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7/lib/libx265.so.151
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7/lib  /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7/bin
patching script interpreter paths in /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7
checking for references to /build in /nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7...
/nix/store/s00485qx69qsl30vg73r4jkmngbjhcp1-x265-2.7

Success on x86_64-darwin (full log)
Partial log (click to expand)
-- Installing: /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7/include/x265_config.h
-- Installing: /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7/lib/libx265.151.dylib
-- Installing: /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7/lib/libx265.dylib
-- Installing: /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7/lib/pkgconfig/x265.pc
-- Installing: /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7/bin/x265
post-installation fixup
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7/lib  /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7/bin
patching script interpreter paths in /nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7
/nix/store/2zg0fa1iz7h42vl6iyvybap3zbicbbs9-x265-2.7

Success on aarch64-linux (full log)
Partial log (click to expand)
-- Installing: /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7/bin/x265
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7
shrinking /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7/bin/x265
shrinking /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7/lib/libx265.so.151
strip is /nix/store/fib7s4bkwwh54jz3b9yhb3sqmlcdks0n-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7/lib  /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7/bin
patching script interpreter paths in /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7
checking for references to /build in /nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7...
/nix/store/96b1zisdf7jfvr853932xzhcivr1d4l5-x265-2.7

Success on x86_64-linux (full log)
Partial log (click to expand)
-- Installing: /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7/bin/x265
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7
shrinking /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7/bin/x265
shrinking /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7/lib/libx265.so.151
strip is /nix/store/y2z2g4n8dsv0isjq36cjn9ldp8h9z3gs-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7/lib  /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7/bin
patching script interpreter paths in /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7
checking for references to /tmp/nix-build-x265-2.7.drv-0 in /nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7...
/nix/store/9a79lv22la6mhsrk4q2f9c1mblf2dp5c-x265-2.7

Success on x86_64-darwin (full log)
Partial log (click to expand)
-- Installing: /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7/include/x265_config.h
-- Installing: /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7/lib/libx265.151.dylib
-- Installing: /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7/lib/libx265.dylib
-- Installing: /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7/lib/pkgconfig/x265.pc
-- Installing: /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7/bin/x265
post-installation fixup
strip is /nix/store/sd1yb0p2yx3ak2qkz1a687zw5zlmbnzg-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7/lib  /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7/bin
patching script interpreter paths in /nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7
/nix/store/9rp7fmih01wga3h3x4pniyivpvbhqab9-x265-2.7

BTW it would be good to fix us codeo-owners being pinged. My guess is this happens when you change the target branch and rebase; unfortunately there is no way to do both of those atomically. Perhaps the solution isn't worth it, but you could temporary try to rebase onto master and staging's last common ancestor so its a one-commit PR in either direction.

Oh, that's a good idea! I'll try it out later.


BDF solver for stiff ODEs

Hi,
I have a working version of BDF solver in JAX with JIT support which I ported from tensorflow_probability. I tested it with stiff chemical kinetics problems using VODE wrapper in SciPy and the results are promising. I would like to open a PR to add this to official JAX repo but I have some questions.

Does the code has to follow functional programming model cause right now I used the tensorflow_probability's model.

Where should I add this code? e.g. jax/experimental

Is adjoint gradient method mandatory to open a PR? If so which model should I use? tensorflow_probability's or JAX's custom_vjp/jvp?

The current implementation is here. Feedback, suggestions and comments are welcome. Finally, thanks for such a great framework.

Hi @skrsna, this sounds very exciting!

The most important part is that the external model for the code looks like the rest of JAX. Ideally we would have something like a method argument on jax.experimental.ode.odeint that allows for selecting different integrators, e.g., stiff vs. non-stiff solvers.

Yes, this would be a natural fit alongside the existing ODE solver in jax.experimental

We already have the adjoint gradient implemented in JAX. The implementation is actually entirely agnostic to the details of how the ode is solved, so I think the BDF solver could use it just as easily:
https://github.com/google/jax/blob/b813ae3aff3b3f99367956a653007703bbfe3703/jax/experimental/ode.py#L255

Hi @shoyer, thanks for your feedback. I'll open a PR once I get everything working in functional programming model. I'll close this issue.

Hi @shoyer, sorry for closing and reopening the issue. I'm trying to convert BDF solver to functional programming model and also adding some extra features from tfp e.g. lazy jacobian evaluation and LU factorization. I'm using lax.cond but you mentioned  here that lax.cond is slow on accelerators and I just noticed it is in fact slow after I added that. Right now, my current implementation uses named tuples registered as JAX pytrees to handle all internal solver data and using them as an operand for lax.cond so I don't think I can use jnp.where unless I come up with some a super smart hack. Is there an alternative for lax.cond that is jittable?. This feature is not that important but good to have cause the current implementation is not evaluating jacobian and LU factorization at almost every step of integration and most CPU based stiff ODE solvers like VODE reuse jacobians and actively try to avoid evaluation. Currently for a small chemical system with ~60 ODEs JAX implementation is ~200 times slower with JIT when compared to VODE wrapper from SciPy.

You can use tree_multimap(partial(jnp.where, condition), x, y) as a
substitute for lax.cond to handle pytrees.
On Sat, Jul 11, 2020 at 9:30 AM Krishna Sirumalla<EMAIL_ADDRESS>wrote:

Reopened #3686 https://github.com/google/jax/issues/3686.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/jax/issues/3686#event-3536416714, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJFVVOWUX4WPXLZX5JLB3R3CHQZANCNFSM4OTVXP2A
.

Hi @shoyer ,
I'm trying to write a adjoint gradient method for the BDF solver #3781 but looks like I hit a pretty major blocker. Specifically,
the BDF solver I wrote follows ode_fn(t, y) where as the adjoint in jax/experimental has a form of ode_fn(y,t) to my best knowledge. I'm getting size mismatch etc if I use ravel_first_arg_ function and jax.linear_utils are not documented for public. I'd like to write something similar but for second argument. I'm not familiar with any of the functions/transformation in linear_utils so any help is greatly appreciated. I can send you a reproducible code but this will involve installing jax from that open PR.


Custom MarkSeries component

Would you consider adding a custom component prop to <MarkSeries /> to be used in place of its default <circle /> when present ? Something like :
    return (
      <g className={`${predefinedClassName} ${className}`}
         ref="container"
         transform={`translate(${marginLeft},${marginTop})`}>
        {data.map((d, i) => {
          const attrs = {
            r: sizeFunctor ? sizeFunctor(d) : DEFAULT_SIZE,
            cx: xFunctor(d),
            cy: yFunctor(d),
            style: {
              opacity: opacityFunctor ? opacityFunctor(d) : DEFAULT_OPACITY,
              stroke: strokeFunctor && strokeFunctor(d),
              fill: fillFunctor && fillFunctor(d),
              strokeWidth: strokeWidth || DEFAULT_STROKE_WIDTH
            },
            key: i,
            onClick: e => this._valueClickHandler(d, e),
            onMouseOver: e => this._valueMouseOverHandler(d, e),
            onMouseOut: e => this._valueMouseOutHandler(d, e)
          };
          return CustomComponent ? <CustomComponent {...attrs} /> : <circle {...attrs} />;
        })}
      </g>
    );

I think this sounds like a reasonable PR! I see two ways of doing this, either by modifying the markseries, as you have above, or making a new series type, something like CustomMarkSeries. If you do a new series you won't disrupt the API of the old series, and you could add additional built in marktypes (like boxes diamonds etc).
Also just to make sure that the component is easy to use, i'd probably write the contents of your return (either the circle or custom component) that translates to the correct x/y coordinates, so that the user doesn't have to worry about functors and what not

This enhancement is now in! Marking as resolved.


Adds additional tags to BuildConfiguration.

Prepares for #802.
Next is to add building to these additional tags in PushImageStep.

Next is to add building to these additional tags in PushImageStep.

Are these simply additional tags? If yes, I'd rename the methods and fields so that they are extra tags. If not, are you planning to reconcile these with image references given to ImageConfiguration (i.e., do something about ImageConfiguration.getImageTag(), etc.?)

@chanseokoh That sounds good, I'll change these to additionalTags for now until we decide to merge it with the tag in the ImageConfiguration.


VirtualBox is broken on master

Checking for Qt5:
  ** qt5 not found!

Also reproduced by Hydra: http://hydra.nixos.org/build/49488315.
The issue was introduced by https://github.com/NixOS/nixpkgs/commit/6542ea7f3102dcde476b102cb5cb7fb99f75e852 (https://github.com/NixOS/nixpkgs/pull/23239).
/cc @ttuegel
Steps to reproduce
nix-build -A virtualbox

Technical details

System: NixOS: 17.03.git.1aa77d0519 (Gorilla)
Nix version: nix-env (Nix) 1.11.6
Nixpkgs version: 17.03.git.8def08a56c

examining configure.log, the interesting part is:
***** Checking Qt5 *****
(Qt5 from pkg-config)
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 0x050302
  return 0;
#else
  return 1;
#endif
}
using the following command line:
g++  -fPIC -g -O -Wall -o /tmp/nix-build-virtualbox-5.1.14.drv-0/VirtualBox-5.1.14/.tmp_out /tmp/nix-build-virtualbox-5.1.14.drv-0/VirtualBox-5.1.14/.tmp_src.cc "-L/nix/store/rg4d03j01pa1vawgcvk7jcp4ba6aa61a-qtbase-5.7.1/lib -L/nix/store/rg4d03j01pa1vawgcvk7jcp4ba6aa61a-qtbase-5.7.1/lib -lQt5Core -lpthread -I/nix/store/5n6bpwng4cdh0fwmk1dq8vxwciddpmc5-qtbase-5.7.1-dev/include/QtCore -I/nix/store/5n6bpwng4cdh0fwmk1dq8vxwciddpmc5-qtbase-5.7.1-dev/include"
In file included from /nix/store/5n6bpwng4cdh0fwmk1dq8vxwciddpmc5-qtbase-5.7.1-dev/include/QtCore/qglobal.h:83:0,
                 from /nix/store/5n6bpwng4cdh0fwmk1dq8vxwciddpmc5-qtbase-5.7.1-dev/include/QtCore/QtGlobal:1,
                 from /tmp/nix-build-virtualbox-5.1.14.drv-0/VirtualBox-5.1.14/.tmp_src.cc:1:
/nix/store/5n6bpwng4cdh0fwmk1dq8vxwciddpmc5-qtbase-5.7.1-dev/include/QtCore/qcompilerdetection.h:562:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that.
 #    error Qt requires a C++11 compiler and yours does not seem to be that.
      ^

Patched virtualvox configure to include -std=c++11:
diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix
index 7512ddb6b0..14121660fa 100644
--- a/pkgs/applications/virtualization/virtualbox/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/default.nix
@@ -66,6 +66,7 @@ in stdenv.mkDerivation {
     set -x
     sed -e 's@MKISOFS --version@MKISOFS -version@' \
         -e 's@PYTHONDIR=.*@PYTHONDIR=${if pythonBindings then python else ""}@' \
+        -e 's@CXX_FLAGS="\(.*\)"@CXX_FLAGS="-std=c++11 \1"@' \
         ${optionalString (!headless) ''
         -e 's@TOOLQT5BIN=.*@TOOLQT5BIN="${getDev qt5.qtbase}/bin"@' \
         ''} -i configure

Waiting for build to pass.

Build passed. Opened https://github.com/NixOS/nixpkgs/pull/23258

#23258 is merged, closing.


upload_magic.py states there is an error with image.txt file when online validation does not.

upload_magic.py states there is an error with image.txt file when online validation does not. The image file looks like it should pass validation to me.
These files:
tmp.zip
give the following output when upload_magic.py is run:
(base) kamacite:tmp njarboe$ upload_magic.py
Using default arguments for: -f, -F, -A, -WD, -ID, -Fsa, -Fsi, -cat
-I- Removing old error files from /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp: locations_errors.txt, samples_errors.txt, specimens_errors.txt, sites_errors.txt, ages_errors.txt, measurements_errors.txt, criteria_errors.txt, contribution_errors.txt, images_errors.txt
-I- Using online data model
-I- Getting method codes from earthref.org
-I- Importing controlled vocabularies from https://earthref.org
-W- Column 'core_depth' isn't in samples table, skipping it
-W- Column 'composite_depth' isn't in samples table, skipping it
-W- Invalid or missing column names, could not propagate columns
-I- images file successfully read in
-I- Validating images
-I- You are missing some required headers
-I- You need at least one header from these groups: Names
-I- appending images data to /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- 9 records written to images file
-I- images written to  /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- locations file successfully read in
-I- Validating locations
-I- No row errors found!
-I- appending locations data to /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- 1 records written to locations file
-I- locations written to  /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- measurements file successfully read in
-I- Validating measurements
-I- No row errors found!
-I- appending measurements data to /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- 88 records written to measurements file
-I- measurements written to  /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- samples file successfully read in
-I- Validating samples
-I- No row errors found!
-I- appending samples data to /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- 2 records written to samples file
-I- samples written to  /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- sites file successfully read in
-I- Validating sites
-I- No row errors found!
-I- appending sites data to /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- 2 records written to sites file
-I- sites written to  /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- specimens file successfully read in
-I- Validating specimens
-I- No row errors found!
-I- appending specimens data to /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
-I- 5 records written to specimens file
-I- specimens written to  /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/upload.txt
Finished preparing upload file: /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/Jack-Hills_13.Apr.2020.txt
-W- These tables have errors: images
-W- validation of upload file has failed.
You can still upload /Users/njarboe/Dropbox/MagIC/people/Shah/testWeiss/Weiss2018Set2/tmp/Jack-Hills_13.Apr.2020.txt to MagIC,
but you will need to fix the above errors before your contribution can be activated.

@njarboe, this should be working correctly now -- I'm closing this issue, please reopen if I missed something.


Poor performance due to duplication of annotation ids

I'm trying to train my custom dataset on VFnet, but the loss reduces very slow but I could not find the cause.
Today, I train my data using detection2, the code throws the Assertion Error: annotation ids are not unique
And I check again my data and it's actually duplicated, I did not check more detail, but when I train again VFnet with the correct data format. The loss became stable.
=> I think we should check the annotation ids are unique or not in order to prevent this issue

Can you post a simple labeled example about duplication of annotation ids? We look for the cause of instability. Thank you!

{
    "info": {
        ...
    },
    "licenses": [
        ...
    ],
    "images": [
        {
            "license": 0,
            "id": 0,
            "url": null,
            "file_name": "fold1/images/c337c0c48cb14bcfac1ba739a785c2cb.jpg",
            "height": 1536,
            "width": 1536
        },
        {
            "license": 0,
            "id": 1,
            "url": null,
            "file_name": "fold2/images/c0a788fb3c78173e4a2a447b5fc70a93.jpg",
            "height": 1440,
            "width": 1152
        },
        ...
    ],
    "annotations": [
        {
            "id": 0,
            "image_id": 0,
            "iscrowd": 0,
            "category_id": 0,
            "bbox": [
                859.0,
                425.5,
                145.5,
                148.0
            ],
            "area": 21534
        },
        {
            "id": 1,
            "image_id": 0,
            "iscrowd": 0,
            "category_id": 13,
            "bbox": [
                1111.0,
                822.0,
                220.5,
                96.5
            ],
            "area": 21278
        },
        {
            "id": 2,
            "image_id": 0,
            "iscrowd": 0,
            "category_id": 13,
            "bbox": [
                1083.5,
                839.5,
                251.0,
                141.0
            ],
            "area": 35391
        },
        {
            "id": 0,   // I restart the counter, so it's duplicated here
            "image_id": 0,
            "iscrowd": 0,
            "category_id": 13,
            "bbox": [
                416.5,
                811.5,
                193.0,
                117.5
            ],
            "area": 22677
        },
        ...
    ],
    "type": "instances",
    "categories": [
        ...
    ]
}

It's because I restart the counter of id when creating data from k fold.
folds = [0, 1, 2, 3, 4]
# Put id = 0 here is ok
for fold in folds:
    id = 0 # It will be restart when loop over new fold
    for img_name in {list of images of this fold}:
          # Add a annotation record with id = id
          id += 1

Thank you！We will add this check.


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 2.6.22 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Mobile bug: a dropdown should close when navigating to a new page or, in general, when it loses focus

As mentioned here: https://old.reddit.com/r/sveltejs/comments/ieexhf/attractions_a_new_minimal_ui_components_library/g2n7e0k/

The cause is related to the same problem outlined in #133. A fix for this has already been started.


Appstudio update test-component-pac-baas

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-baas-on-pull-request has failed.

StatusDurationName

✅ Succeeded
9 seconds
appstudio-init

✅ Succeeded
10 seconds
clone-repository

✅ Succeeded
17 seconds
appstudio-configure-build

✅ Succeeded
17 seconds
sast-snyk-check

✅ Succeeded
2 minutes
build-container

🏃 Running
---
get-clair-results

🏃 Running
---
sanity-inspect-image

🏃 Running
---
sast-go

🏃 Running
---
sast-java-sec-check

🏃 Running
---
clamav-scan

Pipelines as Code CI/test-component-pac-baas-on-pull-request has failed.

StatusDurationName

✅ Succeeded
9 seconds
appstudio-init

✅ Succeeded
10 seconds
clone-repository

✅ Succeeded
17 seconds
appstudio-configure-build

✅ Succeeded
17 seconds
sast-snyk-check

✅ Succeeded
2 minutes
build-container

🏃 Running
---
sanity-inspect-image

🏃 Running
---
get-clair-results

🏃 Running
---
sast-go

🏃 Running
---
sast-java-sec-check

🏃 Running
---
clamav-scan

Pipelines as Code CI/test-component-pac-baas-on-pull-request has failed.

StatusDurationName

✅ Succeeded
9 seconds
appstudio-init

✅ Succeeded
10 seconds
clone-repository

✅ Succeeded
17 seconds
sast-snyk-check

✅ Succeeded
17 seconds
appstudio-configure-build

✅ Succeeded
2 minutes
build-container

🏃 Running
---
get-clair-results

✅ Succeeded
13 seconds
sanity-inspect-image

✅ Succeeded
11 seconds
sast-java-sec-check

✅ Succeeded
14 seconds
sast-go

🏃 Running
---
clamav-scan


Expose ToOwned

This is a very useful trait.
We can use it directly under std ENV.
So, I hope we can expose the ToOwned type.

bot merge


Wiki missing pictures. IDE missing documented features. No reset to defaults available.

Type: Feature Request
First, someone wrote this big giant document detailing quite a bit about the IDE. Clearly a fairly large effort has been made... but referencing it is hard.
For example, im trying to reset all settings. I pressed the wrong button because my hand slipped... and now i cant even nagivate the IDE with the arrow keys. So anyways, I found documentation for how to reset all settings (after searching myself for 30 minutes). The documenation mentions a menu bar, and selecting tools. But has no pictures or links to what these things are.
Theres bars all over the place, none of them appear to be named menu bar... is it just a bar with menus? Because thats basically all of them...
I literally can't proceed until I get this fixed, and the documentation just plainly isn't helpful... Now if there were a few pictures... THEN we'd be in business.
After about 20 minutes of searching for either of those, in every possible location on this IDE that I can find.. Im confident that they don't exist on my IDE. Which is where the missing documented features comes in. The reset to defaults is kind of massively important when something goes wrong... like... am I supposed to guess which of the 40000 keybinds It is? Because a lot of the 'names' of the keybinds just aren't very informative for me. I realize thats because Im dumb.
Which is my biggest issue.  Can we get some kind of reset to defaults button contained with the settings they would reset? Or under file or edit even....
And this last part is just a request (i suppose so is the above), but its kind of a big thing you guys are lacking imo.
outline should allow me to keep info from files that aren't in the selected  editor in outline. Where they should still be displayed... It would be very useful to be able to see other parts of my project besides the single file I clicked on last.
Thanks! Im giving this escapade 5 more minutes and then migrating to notepad++. Not because I don't like Visual Studio... But because it literally is broken for me and I need to be able to navigate the file im working on with more than just mouse clicks..
Because this is just painful.
VS Code version: Code 1.92.1 (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z)
OS version: Windows_NT x64 10.0.19045
Modes:

Reset isnt even searchable in the search bar..

See
Reset all settings
While you can reset settings individually via the Settings editor Reset Setting command, you can reset all changed settings by opening settings.json and deleting the entries between the braces {}. Be careful since there is no way to recover your previous setting values.


Unable to Open Pages Within a Channel with a Middle Click

The old, pre-polymer website supported opening pages within a channel, such as Videos, Playlists, About, etc, with a middle click on the respective tab, something that was taken away with the polymer theme.
I see that this functionality has not been replicated yet by the YouTube Classic Polymer Theme extension.

I don't think this is possible. The tabs don't have any href attribute and are handled by YouTube's page manager.

Yeah, I took a look, and you are right.
Hopefully someone will find a way in the future, I'll try asking the guys behind NewPipe-Extractor.


how to calculate Precision/Recall/Accuracy in v1.1.10?

Discussed in https://github.com/openvinotoolkit/anomalib/discussions/781
When I do
engine = Engine(max_epochs=epochs, task=TaskType.CLASSIFICATION,image_metrics=["Precision","Recall","Accuracy"])
I get the following output:
Incorrect constructor arguments for Precision metric from TorchMetrics package.
Incorrect constructor arguments for Recall metric from TorchMetrics package.
Incorrect constructor arguments for Accuracy metric from TorchMetrics package

@stevensagaert, what torchmetrics version are you using? Also, can you provide the full error message you are seeing

1.4.0.post0
The error message is was I gave. The code continues.

From: Samet Akcay @.>
Sent: Tuesday, July 23, 2024 9:03 AM
To: openvinotoolkit/anomalib @.>
Cc: Steven Sagaert @.>; Mention @.>
Subject: Re: [openvinotoolkit/anomalib] how to calculate Precision/Recall/Accuracy in v1.1.10? (Issue #2205)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@stevensagaerthttps://github.com/stevensagaert, what torchmetrics version are you using? Also, can you provide the full error message you are seeing
—
Reply to this email directly, view it on GitHubhttps://github.com/openvinotoolkit/anomalib/issues/2205#issuecomment-2244404130, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7A5SMFLBWKRYIZI3YWVELDZNX52RAVCNFSM6AAAAABLI7TCAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBUGQYDIMJTGA.
You are receiving this because you were mentioned.Message ID: @.***>

@stevensagaert newer version of Torchmetrics require you to also pass the task parameter. One solution would be to use dict to pass the argument
from anomalib.data import MVTec
from anomalib.engine import Engine
from anomalib.models import Padim

if __name__ == "__main__":
    model = Padim()
    data = MVTec()
    engine = Engine(
        image_metrics={
            "Precision": {
                "class_path": "torchmetrics.Precision",
                "init_args": {"task": "binary"},
            }
        },
    )
    engine.train(model, datamodule=data)

Got it. Thanks.

From: Ashwin Vaidya @.>
Sent: Wednesday, July 24, 2024 2:02 PM
To: openvinotoolkit/anomalib @.>
Cc: Steven Sagaert @.>; Mention @.>
Subject: Re: [openvinotoolkit/anomalib] how to calculate Precision/Recall/Accuracy in v1.1.10? (Issue #2205)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@stevensagaerthttps://github.com/stevensagaert newer version of Torchmetrics require you to also pass the task parameter. One solution would be to use dict to pass the argument
from anomalib.data import MVTec
from anomalib.engine import Engine
from anomalib.models import Padim
if name == "main":
model = Padim()
data = MVTec()
engine = Engine(
image_metrics={
"Precision": {
"class_path": "torchmetrics.Precision",
"init_args": {"task": "binary"},
}
},
)
engine.train(model, datamodule=data)
afbeelding.png (view on web)https://github.com/user-attachments/assets/aacc4a02-80fc-48d1-9896-2960ee0e54a1
—
Reply to this email directly, view it on GitHubhttps://github.com/openvinotoolkit/anomalib/issues/2205#issuecomment-2247735104, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7A5SMCLKR7LAXHQWUB7G2TZN6JVNAVCNFSM6AAAAABLI7TCAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBXG4ZTKMJQGQ.
You are receiving this because you were mentioned.Message ID: @.***>


Not able to customize HERE MAP cluster marker and Single Marker UI

Cluster Marker image and text style can be change but cluster count text alignment would be always on center and not able to modify  or add any other component along with it. and marker is not getting resized with map zoom in and zoom out. for flutter.
Also there is not direct option to pass custom widget as marker. its only accepting .png or svg tiny.
I want custom widget as marker for both cluster and single marker as shown in image along with dotted polygon border. is there any way to achieve that.
using Here Map SDK Version <IP_ADDRESS>
Following code for Marker(Didn't find way to change image once set):
MapImage.withPixelDataAndImageFormat(Uint8List, ImageFormat.png)
Currently Able to show cluster counter with following code:
MapMarkerClusterCounterStyle counterStyle = MapMarkerClusterCounterStyle();     counterStyle.textColor = Colors.black;     counterStyle.fontSize = 80; MapMarkerCluster mapMarkerCluster =     MapMarkerCluster.WithCounter(MapMarkerClusterImageStyle(_singleMarkerImage), counterStyle));
Cluster Marker:

Single Marker:

This is a feature request for the HERE SDK but not the reference application. I will forward this to the product management.

@stefan-troyke can you please take this as priority

@stefan-troyke any updates ?

Hi,
the matter was discussed with the product owner and the request will be added to the backlog. Nevertheless the desired design can also be achieved with MapMarkerClusterCounterStyle.textAnchor.

Hi @stefan-troyke ,
Is there any cluster builder or addClusterLayer option available, or any temporary solution where I can add custom text to cluster for now. meanwhile team is adding this feature in SDK itself .