Release v2.0.3

What this PR does / Why we need it
Update package to 2.0.3 so it can be release - will suppress Node 12 warnings
Which issue(s) this PR fixes
https://github.com/actions-ecosystem/action-regex-match/issues/363
Fixes #

@aximov @zml2008 @kaisugi can someone add the release/patch label to this PR? I am not able to do so. There is a warning for upgrading actions to Node 16 that will break this action starting June 14th (tomorrow). Would like to get a new release, but it seems like the owner @micnncim is away.
Related issue: https://github.com/actions-ecosystem/action-regex-match/issues/363

I have no access to this repository, I am just a contributor. Please stop pinging me in your messages.

I have no access to this repository, I am just a contributor. Please stop pinging me in your messages.

I only pinged you once, and I cannot tell what access you have, other than you were on the last PR. I will happily not ping you again! 👍🏻

@micnncim

@micnncim

@mosherc @edreinsM1 @zliang-akamai
Hello everyone. I am a collaborator of this action, and I love it. Hoping for more frequent releases, I have decided to take over the repository on my own.
Please try the new release<EMAIL_ADDRESS>With this new version, you will no longer encounter errors related to the Node.js version.
I am aiming to improve this repository and welcome any suggestions. Thank you!

@micnncim @zml2008 hi there - is this action being actively maintained? the above suggests not


Are trained models provided?

Are there any trained models available?

Thanks for your inquiry.  We are planning to provide trained models, and also demos to be held on a cloud server.

Hello @XiaoYangLiu-FinRL,
I would suggest a trained model that works with alpaca paper trading, a trained model with alpaca will be a good sample for the algo trading community and anyone who is looking for something similar in the Alpaca community and struggling to build something like this
Any trained model that is close to production will be a good addition to FinRl

@ObaidaAlhaasan hi, I just saw your message.  Your proposal is very good!  How is the current status?

Hi @XiaoYangLiu-FinRL , sorry just saw your msg, unfortunately I couldn't make that demo with FinRL "keep facing issues" and the team decided to do more research and discover more options, If you would like we could chat about how we could collaborate on building that demo or to build a custom model based on FinRl, please send me your email or any way I can reach out to you and I'll include my manager to continue our chat.
Thank you in advance!

My email is: XL2427 at Columbia dot edu

Sure, thank you @XiaoYangLiu-FinRL, talk to you soon


docs: fix broken links

Thanks @ArpitPandey29. Please follow the DCO Details link to pass the check.

Thanks @ArpitPandey29. Please follow the DCO Details link to pass the check.

Done

Thank you!


Pre-commit hooks for tests

Run tests with pre-commit hooks.  Block commits that do not pass.  This takes some of the burden from GitHub Actions and OpenShift, where resources can be scarce.  Keep PRs in draft until ready, then test success will be verified.

Too much overhead and difficult to setup. Unfortunately, not worth the hassle. :(


Method RedBlackBST::deleteFixup

The implementation of Red-black tree deleteFixup method in src/main/java/com/thealgorithms/datastructures/trees/RedBlackBST.java has reported cyclomatic complexity 14 by lizard.
Part 1 steps:

[x] Manual calculation of cyclomatic complexity @granhall
[x] Manual calculation of cyclomatic complexity @chubretovic

Part 2 steps:

[ ] Instrument code coverage manually (in a new branch called something like issue<No>/manual-instrument)
[ ] Save the result of manual and automatic instrumentation, either in this issue by screenshot or in the branch and link to it.
[ ] Add tests to improve code coverage (on a different branch than before, called something like issue<No>/increase-coverage). Assignment PDF gives more detailed steps on what steps should be taken to identify types of tests to add etc.
[ ] Create a plan or draft for refactoring the function. A clear description is required to pass the assignment.

While = 1
For = 0
If = 9
And = 2
Or = 0
Return = 0
M = 12 - 0 + 2 = 14
Same calculation as above.
The function is of average size, 56 LOC. The algorithm is one that is applied to RedBlack Binary Search Trees, where it works by reworking the structure of the tree so that it conforms to the properties of the RedBlack BST after deletions of nodes. The complexity of the function stems from needing a solid grasp of the structure of the tree and how a deletion affects the structure. There are several checks done in the form of several if statements that bloat the complexity.
There are no exceptions thrown by this method and the documentation is lacking.

Manual instrumentation of RedBlackBST.deleteFixup() yields a branch coverage of 92% according to jacoco and 89% according to the manual instrument , (commit https://github.com/DD2480-2022-group-7/Java/commit/fd43984774cf08a65786af63d254fc7c460a4e4d). The previous coverage is 0% as it relies on a main function that takes in arguments that the user must specify themselves. Following are screenshots of the implemented coverage, including a test to run through the method.

 Class before any altering

 Class after adding manual coverage and test

 Detailed view of method


DevOps: Fix broken Travis CI integration

Fixed by @wkm97 in https://github.com/elimu-ai/vitabu/pull/97


individual DMX_USE_PORT1

I had conflicts using DMXserial with other libraries and read about the #define DMX_USE_PORT1, which helped me developing on an Arduino MEGA 256. So I uncommented the line in the library.
Unfortunately I had no success defining the DMX_USE_PORT1 in my script. How can I do that? I tried before and after including DMXserial. It would be great to be able to select the port inside the script instead of changing the library and getting errors if compiling other scripts for other devices which have no problem using UART0 for DMX.
What did I miss?
Thanks

same on my side.
If I do:
#include <DMXSerial.h>
#define DMX_USE_PORT1

i get:
HardwareSerial0.cpp.o (symbol from plugin): In function `Serial':
(.text+0x0): multiple definition of `__vector_25'
/private/var/folders/sf/yfrzcwy91jz9m0cc0y82g_k00000gn/T/arduino/sketches/093AFE6F8A5362C3CCD3C0EF28B9407D/libraries/DMXSerial/DMXSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here
HardwareSerial0.cpp.o (symbol from plugin): In function `Serial':
(.text+0x0): multiple definition of `__vector_26'
/private/var/folders/sf/yfrzcwy91jz9m0cc0y82g_k00000gn/T/arduino/sketches/093AFE6F8A5362C3CCD3C0EF28B9407D/libraries/DMXSerial/DMXSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Seams like the redefinition does not been recognized by the compiler.


GOD IS ALONE

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
YFE DYWGFE UY EGFL G
What changes are you suggesting?

—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/30076#issuecomment-1817707840, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BDWRSMLWAJCJDKEYT66ECC3YFFMJPAVCNFSM6AAAAAA7QYDXY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXG4YDOOBUGA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

He


Custom module not updating on every output until clicked

Hello Everyone!
Firstly: Great work and thank you for that!
Secondly - Question.
I've got a multi-output config (3 outputs and 2 of them rotated 90 and 270 degree). All outputs have the same resolution.
Waybar has the same config for every output. With custom module to check updates and display the number of packages pending update.
On the rotated ouputs the values are shown correctly (not always, but are), but on non-rotated output (also my main output) the value does not get updated.
Here are code snippets:

module (full code)

#!/usr/bin/env sh

CNT=$(checkupdates | wc -l)

if [[ "$CNT" == 0 ]]; then
 CLS=none
else
 CLS=some
fi

echo '{"alt":"'$CLS'","class":"'$CLS'","text":'$CNT'}'

module config in waybar's config file

"custom/updates": {
                "restart-interval":3600,
                "exec-if": "exit 0",
                "exec": "~/.config/waybar/update",
                "on-click":"gnome-terminal",
                "signal":10,
                "tooltip": false,
                "return-type":"json",
                "format":"{icon} {}",
                "format-icons":{
                        "none":"",
                        "some":""
                }
        },

The output does not change after reloading of sway or even complete sway restart. It only refreshes if I click on the waybar module to trigger opening of gnome-terminal. What is more puzzling is the refresh of clicked module, not it's value on all  outputs.
Where am I making an error or what am I missing?
The values get eventually refreshed after the set reftresh-interval time passes.
Is there a way to make waybar refresh the value on all outputs at the same time?
Full config files:

config - https://gist.github.com/Lukasz-Pe/3cef4eb6f7bb4faf8cde32fca53daac3
style.css - https://gist.github.com/Lukasz-Pe/b5f8423f2b286605678a7b1b6742f412

I was working on a toggle for waybar and had a similar issue. I finally added     "restart-interval": 0, to my module and the json data and icon finally updated. The only downside is that the CPU usage jumps about 30%. So not really a viable option.
Have you had any luck?


Changing decorations to not show in the overview ruler sometimes doesn't hide some of them

happens after window reload


addict outputs {'unicode': {}} rather than empty string when used in django templates.

Here is a rough idea of the code I'm running:
from addict import Dict
def get_dictionary(self, orig_dict):
    new_dict = Dict({'default_key':'default_value'})
    if(orig_dict["code"]==0):
        new_dict.other_key = "Double Quoted String"
    elif(orig_dict["code"]==1):
        new_dict.other_key = "Different Double Quoted String"
    return new_dict

and eventually when I use it with Django's render_to_string("xml_template.xml",dictionary=context_dictionary) into this template:
<ParentTag>
    <MyFirstTag>{{new_dict.default_key}}</MyFirstTag>
    <MySecondTag>{{new_dict.other_key}}</MySecondTag>
</ParentTag>

And it renders as:
<ParentTag>
    <MyFirstTag>default_value</MyFirstTag>
    <MySecondTag>{'__unicode__': {}</MySecondTag>
</ParentTag>

I think that (for some reason) addict is returning an empty dictionary, but the output is being mangled. I know the docs say you can use to_dict() but it implies you don't need to.
Any idea why this happens?

Hi @AncientSwordRage,
That looks really weird! Could you tell me what you get when you do
<MySecondTag>{{new_dict['other_key']}}</MySecondTag>?
Thanks for submitting this issue! :+1:

@AncientSwordRage Any update on this?

I've not named to look into this,  but I've not forgotten.
On Mon, 22 Jun 2015 8:29 AM Mats Julian Olsen<EMAIL_ADDRESS>wrote:

@AncientSwordRage https://github.com/AncientSwordRage Any update on
this?
—
Reply to this email directly or view it on GitHub
https://github.com/mewwts/addict/issues/54#issuecomment-114027357.

I'm closing this for now, as it looks a bit lika a django escape sequence.

I can verify that the passing of the .to_dict() value of the Dict object fixes the &39;unicode&39; issue, but the dict still displays all keys wrapped with &39;,
The solution is to use the |safe template filter when you are either displaying entire dictionaries or keys which themselves have nested dictionaries (probably only useful for dumping data-structures during development anyway).  example usage:  {{ mydict.somekey|safe }}

Thanks for clarifying @ckot 👍


Get-WinGetSettings should write a structured object in PowerShell

Description of the new feature / enhancement
In the PowerShell module, Get-WingetSettings writes a generic hashtable to the pipeline. This requires the user to jump through hoops to see the actual settings. The command should write a structured object to the pipeline.
Proposed technical implementation details
Here's a helper script I wrote as a demonstration to convert the command output to something more meaningful.
$ws = Get-WingetSettings
$out = @{
    PSTypeName = "winget.client.settings"
    UserSettingsFile = $ws.userSettingsFile
}
$ws.adminSettings.GetEnumerator() | ForEach-Object {$out.Add($_.Key,$_.value)}
new-object -TypeName PSObject -Property $out

I now get a more user-friendly object.
LocalManifestFiles                        : False
LocalArchiveMalwareScanOverride           : False
UserSettingsFile                          : C:\Users\Jeff\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d
                                            8bbwe\LocalState\settings.json
InstallerHashOverride                     : False
BypassCertificatePinningForMicrosoftStore : False

My example is inserting a type name in the event I want to create a format extension. You have the information. It just needs to be presented in a better format.

This also applies to Get-WingetUserSettings.


Code To Reproduce Bug
include <BOSL2/std.scad>
include <BOSL2/screws.scad>

$fn = 24;

screw("M3,5", head="socket", drive="hex", thread="none" );

translate( [ 0, 5, 0 ] )
#screw_hole("M3,5", head="socket");

translate( [ 0, -5, 0 ] )
%screw_hole("M3,5", head="socket", tolerance="tap");

Expected behavior
The diameter of the hole for the screw head should not be reduced.
Screenshots
If applicable, add screenshots to help explain your problem.

Yeah, that's not good.  I have a fix.  If you need a work around, set head_oversize.


feat: add config

Support similar configuration as in: https://github.com/gistia/json-log-viewer#configuration

Closed in favor to https://github.com/hedhyw/json-log-viewer/issues/30


Use of the /_api/SP.Directory.DirectorySession endpoint in SharePoint

Category

[x] Question

I'm working on an SPFx part listing Office 365 Groups, and wanted to provide information to the end-user about the Group if it's tied to Yammer or Teams. Fiddling around I discovered a group site calling /_api/SP.Directory.DirectorySession to get data for the Group, including Teams and Yammer endpoint data. This lead me to discover the beta/groups/<id>/endpoints call in the MS Graph which I assume you are calling as well.
So, I can get the data I need from the Graph, but having access to these utility calls from an SP context would be extremely useful. I understand the call is internal, but you are aggregating information in a nice way, so as a developer I'd rather piggy pack on your calls instead of rolling my own.
My question I guess is - do you have thought of exposing these internal services in a documented manner, letting 3rd party developers use them as well.
Reference to my research of getting Teams/Yammer info in the beta graph endpoint: http://www.techmikael.com/2017/11/retrieving-teams-and-yammer-endpoints.html

There are at least two pieces of useful information in this internal service to be retrieved from having the group id in SP context. One is the SharePoint URL, the other is the Group logo. Except the value returned for the PictureUrl points to outlook.office.com and require that the user has a valid auth cookie against that domain.
Having the site url we can use /SiteAssets/siteIcon.jpg but this logo is 96x96, and there are more hi-res ones in the graph itself.

Thanks for your feedback. you can use the beta/groups//endpoints by using the MSGraphClient we recently released for First Release customers. you can find related documentation here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-msgraph.
I'm closing this issue. For any other issue or if the information provided above is not sufficient please open a new issue.

@lucaband forgot about this one, and I'm using the graph endpoint. But using /beta in production is, well, not recommended - but I'm doing it :)


Write Tutorial / Manual / Documentation

A tutorial would help new users to get started.
Should include at least basic things like login, diff, review, push, ...

Can be done in GitHub Wiki.


L1 regularization for linear models

Shouldn't be too difficult to do but I'm not sure how exactly to make it work with L2 regularization at the same time. L1 + L2 is called ElasticNet but I'm not sure of the details.
References:

Stochastic Gradient Descent Training forL1-regularized Log-linear Models with Cumulative Penalty
Sparse Online Learning via Truncated Gradient

One more reference: Efficient Learning using Forward-Backward Splitting

Ran some experiments implementing methods proposed here:

Stochastic Gradient Descent Training forL1-regularized Log-linear Models with Cumulative Penalty
Sparse Online Learning via Truncated Gradient

We have pretty good results on a synthetic dataset of 10 informative features, and 90 noisy features:

Method
Hyper-parmameters
# of features
MAE

No regularization

100
8.2

L1 naive
λ = 0.1
100
8,7

L1 cumulative
λ = 0.1
11
6.7

Truncated gradient
λ = 5   K=10   θ = 3
9
6.8

That looks really good Geoff! Let's wait till we've moved forward with the scikit-multiflow merge. The cost can probably be alleviated by writing some of it in Cython.


Format linter

#933 work for everything except swift. These linters run automatically on the respective directories as part of the build process (since we know when each language is changed).
Open Questions

Should we enable the auto-fix option? (This reduces barrier for those less familiar with the language, at the cost of creating commits automatically)
Currently, the template/proto generated code is already formatted as part of the build process.

Codecov Report
Base: 11.82% // Head: 39.05% // Increases project coverage by +27.23% :tada:

Coverage data is based on head (8172157) compared to base (8dbb377).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1111       +/-   ##
===========================================
+ Coverage   11.82%   39.05%   +27.23%
===========================================
  Files          29      118       +89
  Lines        5989    10784     +4795
===========================================
+ Hits          708     4212     +3504
- Misses       5281     6486     +1205
- Partials        0       86       +86

Impacted Files
Coverage Δ

go/services/security.go
65.71% <0.00%> (ø)

go/services/provider_service.go
26.57% <0.00%> (ø)

go/services/template_service.go
26.22% <0.00%> (ø)

ruby/test/credential_template_demo.rb
100.00% <0.00%> (ø)

python/trinsic/template_service.py
85.71% <0.00%> (ø)

dotnet/Trinsic/Security/OberonSecurityProvider.cs
100.00% <0.00%> (ø)

dotnet/Trinsic/TemplateService.cs
42.85% <0.00%> (ø)

python/trinsic/trinsic_service.py
100.00% <0.00%> (ø)

dotnet/Trinsic/Storage/FileTokenProvider.cs
22.22% <0.00%> (ø)

ruby/lib/services/provider/v1/provider_pb.rb
100.00% <0.00%> (ø)

... and 79 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove "config" Dependency

The config crate is what I previously used for configuration up until this point. The problem is it's really really slow;

NOTE: Ignore the wrong hostname output, this is due to me also changing the way color placeholders are done in config files.
So, my solution is simple; remove it. I've written my own way for handling value defaults, as well as my own janky TOML parser.

Some notes for this;

The code is really messy. I want to spend some time cleaning it up.
A lot of TOML parsing issues exist;

Quoted/Dotted keys are not supported, and will break things if used.
Duplicate keys are not checked - Whichever one comes last overrides unlike standard TOML behavior where they are checked and blocked.
Literal strings aren't handled right, instead just getting parsed as regular strings.
Tons of data types haven't been implemented, because CrabFetch doesn't use them so I didn't see the point.
Arrays are only supported with strings and colors, other datatypes break.
Probably a lot more problems I'm unaware of.

A lot of error testing needs to be done, as again, janky.

I'm not sure whether to merge this or not yet, if I do it will be after a bit more testing. If anyone does read my ramblings here and wants to run this PR to test it, please go ahead. I'll fast-forward it after I'm done here to catch it up to master so we won't miss out on anything while running this branch.

 Going to re-write it again lmao

Looking at this 2 months on, I'm not happy with how I've implemented this. I've still not got time to work on this, but will hopefully do within a week or so once college is over.
Once I do, I'll likely reject this PR and make a new branch and just start over with this, as it's a terrible impl.

Closing this, as this is not even going to come close to being merged. I'll simply redo this in a new local branch and only make an actual PR once I'm happy, like how you're meant to use git.


page templates with images fields

If I have a couple of different page templates for the 'Page' model, like:

'Standard' with a wysiwyg field and,
'Homepage', with wysiwyg and image(s),

I need to create my entries in PageTemplates, and define the fields there. I've seen the example for creating a SetImageAttribute() method on the model to handle storing the files, but this means two things:

the field name needs to be 'image', otherwise the method name needs to match set<Fieldname>Attribute (this also means a new method for each image field), and
the field needs to exist on the model (database).

You can get around the 2nd problem by setting the image field in the pagetemplate definition to be in the extra's column, but when you do that, it tries to store the base64 encoded image in the extra's column (which is not ideal for many reasons). Perhaps I could just store the path to the image in this extra's field somehow (when I do this, my setImageAttribute() call never gets fired).
This basically means all the standard pages are going to have this image field and functionality too, which doesn't feel right.
I was hoping I could have different Page templates with different models but have the same Pages backpack Admin UI. Does anyone have any suggestions for achieving this, or is this not how laravel-backpack should be used. Thanks.
Also, I see the liberal use of traits a lot in laravel-backpack. I was (perhaps wrongly) of the opinion that traits should be used sparingly, and instead use DI (as discussed over on SO).

Hi Alex,
The setImageAttribute is just an example of how to use the uploader, you can call it setBaconAtrribute for all it matters if thats what your fields called. (this is just a normal way in laravel to use accessors/mutators)
If you had 3 different image columns in your database then you'd have 3 setters all with different names, allowing you access to different disks/file paths etc.
If you don't want a base64 image, then you can always use the image field type, not the base64_image field type.
If you're worried about your Page model having a "image" column when not all variations need a "image" column, you should consider having something like n - 1 relationship to something like "PageTemplate" model - then that model defines the functionality of the page?

Regards to traits, I think it's more of a "laravel" thing, theres always been the Laravel VS  argument and the way it does things, e.g globals vs DI, Traits vs inheritance etc.
If you were worried about your "Page" model having extra fields that it doesn't need. Imagine if it was using an inheritance model for structures on your Page model, you'd end up with loads of redundant methods. Where as Traits lets you easily turn on/off functionality, so just depends on what you like to do and what is best for your project/team

Hi @alexkb
Totally agree with you with the use of traits. It's been an architecture afterthought, when we started putting in A LOT more features than anticipated, and we didn't quite understand where all the pieces fit together. In Backpack\CRUD v4 we'll refactor to collections and stand-alone classes. It's something that's been pressing me for a while :-) It's turning into a god class. But then again, so do some people say about Laravel's Eloquent - that it's a god class.
You can probably have just one method in your Page model that uploads files, but it would upload all files to the same folder. If you don't mind that, something like the pseudocode below should work, as long as all your fake fields have their names ending in "image" (ex: home_image, second_image, another_image):
// Page model

public function __call($method, $parameters)
    {
        // if $method ends with ImageAttribute
        // $attribute_name = get the field name from the method name (anything that's between set and Attribute, camel case it)
            // $this->setImageAttribute($value, $attribute_name);
    }

public function setImageAttribute($value, $attribute_name = 'image')
    {
        $disk = "public_folder";
        $destination_path = "uploads/folder_1/subfolder_3";

        // if the image was erased
        if ($value==null) {
            // delete the image from disk
            \Storage::disk($disk)->delete($this->image);

            // set null in the database column
            $this->attributes[$attribute_name] = null;
        }

        // if a base64 was sent, store it in the db
        if (starts_with($value, 'data:image'))
        {
            // 0. Make the image
            $image = \Image::make($value);
            // 1. Generate a filename.
            $filename = md5($value.time()).'.jpg';
            // 2. Store the image on disk.
            \Storage::disk($disk)->put($destination_path.'/'.$filename, $image->stream());
            // 3. Save the path to the database
            $this->attributes[$attribute_name] = $destination_path.'/'.$filename;
        }
    }

Hope it helps.
Cheers!


Update sprayproxy prod

Included PRs:

https://github.com/redhat-appstudio/sprayproxy/pull/46
https://github.com/redhat-appstudio/sprayproxy/pull/42
https://github.com/redhat-appstudio/sprayproxy/pull/47
https://github.com/redhat-appstudio/sprayproxy/pull/48
https://github.com/redhat-appstudio/sprayproxy/pull/49
https://github.com/redhat-appstudio/sprayproxy/pull/30

/lgtm


Exec tachikoma update<PHONE_NUMBER>4707

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 67.647% when pulling f0f89442cc1939d9dbdfa613056e5b5bbba21cd7 on pazjacket:tachikoma/update-20171107214707 into ec251e61adc687ae0589e5283f1773ece07521c0 on sanemat:master.


Bug: DataFrame obtained from getReport method not matching table seen in Adobe Analytics portal.

I go to the Adobe Analytics portal and get my JSON request here (see photo below).

Then, I pass the JSON request through the getReport method and compare the results with those seen in the Adobe Analytics portal.
Bug: The values in the dataframe returned by the getReport method differ greatly from those shown in the table in the Adobe Analytics portal. Everything is correct EXCEPT the numbers seen in the dataframe. The size of thedataframe, as well as the dimension, filters, metrics and rsid are all correct.
Note: No errors are thrown by aanalytics2. I've tried multiple files and have checked that the filter selections used in the portal match those seen in the JSON request.

Hello @cyaris
Sorry it took some time to answer.
You need to use the Free Form table JSON and not the one from Sparkline.

@pitchmuc that worked. Thanks so much for your help!

Very welcome


Update the Postgres docs with added range types

LGTM; thanks, @ShubhamRwt! Will merge once the release is out.


[AWS] Add S3 Command

Description
Adding an "S3 Buckets" command. Searching and navigating the AWS S3 Console is not a great user experience (search only by prefix, objects are nested, ...). This command provides a better way to find and open buckets and objects.
With this PR I'm also creating more consistency in the folder structure, file names, and copy. These changes pollute the diff view, so this PR might be easiest to review on a commit basis.
Screencast
https://user-images.githubusercontent.com/19997520/202785952-daa4760d-6a0f-4fe2-b371-2443c93ab8a1.mov

Awesome. I'm wondering if we can add a download action for bucket objects ?

Looks great!  I agree, the ability to download from S3 would be amazing if possible.

@duboiss @Hodglim Agree! I added a "Download" action to the object list item, which will download the file to the user's Downloads folder.


Migrate to new Gazebo

Gazebo is dead, long live Gazebo!
Well, the support for Gazebo classic is coming to an end - and this seems like a good time to try and check out the new Gazebo simulator.
TODO:

[x] Port the URDF over to the new simulator
[x] Add in the plugins one by one
[x] Try sending command velocities and see if the robot responds
[x] Check if we can get a better RTF (score to beat: 0.68)

For some reason, ros2_control chose not to work - most probably a misconfiguration of some sort. The gazebo diff drive plugin works quite well though.


Feat/device support 41

This pull request addresses issue # by implementing a new feature in Pyccel that allows users to define a custom device
Commit Summary
Adding handler for custom device and its code generation.
Adding test

/bot run pr_tests

/bot run pr_tests

/bot run pr_tests

/bot run pr_tests

/bot checklist


Should match exact text to click by default

Actual behavior
By default if the text starts with the given text, the element is clicked.
Steps to replicate

Create a directory test
git clone https://github.com/getgauge/taiko.git
Checkout branch taiko-cri
git checkout taiko-cri
install taiko
npm install  -g
Create a testDirectory
Add a exactClick.js file with

const { browser, openBrowser, goto, link, click, listItem } = require('taiko');

(async () => {
    try {
        await openBrowser();
        await goto("http://google.com");
        await click('Gmai')
    } catch (e) {
        console.error(e);
    } finally {
        if(browser())
            closeBrowser();
    }
})();

run this taiko exactClick.js

The element Gmail is clicked even though the text given was Gmai
The default behavior should be exact match. It should be configurable.

Version
Version: 0.0.9 (HeadlessChrome/69.0.3452.0)

Blocks #29

Changed the default behaviour select the exact match.
However we can configure the click to not match exactly using click('Gmai', {exactMatch : false}).
Fix should be available in commit cf8bb5d88e76a57f0dc19f7292d747114056667c

click('Gmail') Will look for the exactMatch.
If we want to click on element containing text Gmai, click(contains('Gmai')) should work.


Fixed code issue

wrong function parameter, based on the function body param name should be accountResult

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

#sign-off


Module not found

Module not found: Can't resolve 'griffith-hls' in '/Users/liupengyu/projects-self/zhihu-video/node_modules/griffith/es/components/Video'

fixed in v1.1.3 version


Trainning loss around 0.08?

Thanks for share this unbelivable projects.
We are family//
Since I decided to train my own model, uv map generating has been done, data comes form 300W-LP, which contains 122450 samples.

What I am not sure is the trainning loss always around 0.08, output as follow:

Can someone tell me how this happen?

Solved and closed, thanks.

This is result after 3k iters, kinds of scary.
Anyway, the .obj file predicted by pre-trainned model all the same.

@YuTingLiu Hi!! Could you tell me how you solved the issue??

@YuTingLiu Hi,as a newer to this, I failed to achieve the training code, could you please provide training code to me? I hope I can get your help, thank you very much. My email<EMAIL_ADDRESS>

@YuTingLiu Hi Yuting, where did you get the training code or did you write the code by yourself? I also like to train the model using new datasets. Do you mind share your training code with me? Thanks a lot. My email is<EMAIL_ADDRESS>

Thanks for share this unbelivable projects.
We are family//
Since I decided to train my own model, uv map generating has been done, data comes form 300W-LP, which contains 122450 samples.

What I am not sure is the trainning loss always around 0.08, output as follow:

Can someone tell me how this happen?
my trainning loss always around 2.00, did I need to train consistently?

Thanks for share this unbelivable projects.
We are family//
Since I decided to train my own model, uv map generating has been done, data comes form 300W-LP, which contains 122450 samples.

What I am not sure is the trainning loss always around 0.08, output as follow:

Can someone tell me how this happen?
my trainning loss always around 2.00, did I need to train consistently?


Sprint 108 FE On-call duty

Responsibilities and Acceptance Criteria for this sprint
One engineer per sprint is assigned on-call duty. It is that engineer's responsibility to know the "pulse" of FE issues/health during the sprint. This includes the following responsibilities:

[ ] Front-end checks (after deployment)
[ ] Primary point-of-contact for any FE problems that occur during the sprint (including status of those issues)
[ ] Resolve all security (high-priority) Dependabots
[ ] Try to tackle other Dependabot issues while still accomplishing your sprint commitments
[ ] Small content updates (if they exist)

@jpandersen87 Can we close this from LAST sprint?


Left-handed y-up cubemap coordinates

Objective

Texture cubemaps, such as used by point light shadows, inherently use left-handed y-up coordinate axes. Prior to this PR, I understand that we attempted to keep cubemaps mostly right-handed. However, the solution has sharp edges, such as requiring the sampling vector to still be negated, as well as hard-to-figure reasons for why the cubemap faces use a specific target/up axis.
Solves the same problem as #4242, but with a slightly different approach.

Solution

We embrace texture cubemaps being left-handed y-up:

When it comes time to sample them we flip the z coordinate to transform bevy's right-handed y-up coordinates to left-handed y-up coordinates.
When rendering the cubemap, carefully pick the right Bevy coordinate-space target/up axis to produce the correct cubemap faces accounting for the fact that the cubemap faces are specified in the left-hand coordinate space.
Note that the in prior PR #4242, we converted the entire shadow rendering pipeline for the cubemap to left-handed coordinate space. I felt that carefully mapping the cubemap faces to the right axes led to a simpler solution overall, even if the cubemap face mapping had to be done carefully.

Changelog

Bevy point light shadow cubemaps now use a left-handed y-up coordinate space.

Migration Guide

When sampling from the point light shadow cubemap, use the (expected) light to fragment direction vector but negate the z coordinate. Previously, you would have used the fragment to light direction vector.

Thanks for the reviews!


Json rpc wss1

Description
Reference issue
Fixes #...

@adwpc i removed the .pem files and moved the https logic to the json-rpc readme. I would prefer to keep the example as simple as possible


no erros messages, and no banners!?!?

Hi there! and thanks for your work!!
but hey, did't not work here.
I used cordova 8.0.0,
and Everything was nice and easy just like your tutor,  no errors at all..
(plus I get my credetiasl from google...  )
still, in the end.. no banners...
NOTE: I access the device from my chrome "remote devices" toll, and  the same: no errors...
NOTE2: to be sure, I use the very same credentials from the exemple  video, I get  message errors!!!
that seems the system is working!!
here the error message, for exemple credentials:
/getconfig/pubsettin…otname=7680949608:1 Failed to load resource: the server responded with a status of 400 ()
sdk-core-v40-impl.js:209 GET https://googleads.g.doubleclick.net/getconfig/pubsetting?app_name=helo.word&client=ca-app-pub-4789158063632032&slotname=7680949608 400
*** remenber, whith my credentials,,, no erros!!! :)

can you advise-me?
thanks :D

With isTesting set to true do you see ads? Google wont serve ads usually to test devices or unsigned apps.

I teste by "false" and "true", no changes....

Hi there again!
I put a copy of my tests on    "https://github.com/seniDEac/AdMobTEST "
maybe it can help some way... and  improve this admob in the future..
tkks!

it happens to me too.. using phonegap, even used ads ca-app-pub-3940256099942544/6300978111 to see if that was the problem..
I guess this project has been left alone..
anyone know any other current project out there in the wild?


Type manipulation: Removing field optionality but trying to keep undefined as part of field type requires workaround.

Bug Report

Doing type manipulation and trying to remove optionality from fields using -?, but also wanting to keep them as possibly undefined so I can use the syntax check to avoid forgetting them when copying/cloning an object, doesn't work as expected.
I believe it's because the removal of optionality via -? is applied after the field type redeclaration and it removes undefined.
Better explained with code later on.
🔎 Search Terms
optional undefined

🕗 Version & Regression Information
TS 5.0.4

This is the behavior in every version I tried, and I reviewed the FAQ for entries about -? or optional

⏯ Playground Link
Playground link without workaround
Playground link with workaround
Please look at the functions syntax errors. The code itself doesn't run but the Playground link shows the syntax errors anyway.
💻 Code
Type manipulation
interface Demo {
    f: number;
    g: number | undefined;
    h: number | null;
    fo?: number;
    go?: number | undefined;
    ho?: number | null;
}

export type OptionalsAsFieldTypeOrUndefined<T> = {
    [P in keyof T]-?: undefined extends T[P] ? T[P] | undefined : T[P];
};

I expect OptionalsAsFieldTypeOrUndefined<Demo> to be
{
    f: number;
    g: number | undefined;
    h: number | null;
    fo number | undefined;
    go: number | undefined;
    ho: number | null | undefined;
}

But instead becomes
{
    f: number;
    g: number | undefined;
    h: number | null;
    fo: number;                 // undefined type missing here
    go: number;                 // undefined type missing --and removed-- here
    ho: number | null;          // undefined type missing here
}

Use case
This is the concrete use case, avoid making mistakes forgetting fields on this kind of copy-like operations

function copyUnsafe(b: Demo): Demo {
    return {
        f: b.f,
        g: b.g,
        h: b.h,
        fo: b.fo,
        // Forgot to copy any optional fields:
        //       --- No error!!! ---
        //        This is a problem.
    };
}

function copySafer1(b: Demo): Demo {
    const safer: OptionalsAsFieldTypeOrUndefined<Demo> = {
        f: b.f,
        g: b.g,
        h: b.h,
        // Forgot about any optional fields: Assignment type error (Nice!)
    };
    return safer;
}

function copySafer2(b: Demo): Demo {
    const safer: OptionalsAsFieldTypeOrUndefined<Demo> = {
        f: b.f,
        g: b.g,
        h: b.h,
        fo: b.fo, // Can't assign to number from number|undefined
        go: b.go, // Can't assign to number from number|undefined
        ho: b.ho, // Can't assign to number|null from number|null|undefined
    };
    return safer;
}

Workaround
I found this workaround which requires two steps and uses a temporary symbol, but it does seem a bit tricky and not tidy.
type TempSymbol = { readonly _x: unique symbol };

type Helper<T> = {
    [P in keyof T]-?: undefined extends T[P] ? T[P] | TempSymbol : T[P];
};

export type OptionalsAsFieldTypeOrUndefined<T> = {
    [P in keyof Helper<T>]: TempSymbol extends T[P] ? Exclude<Helper<T>[P], TempSymbol> | undefined : T[P];
};

Am I doing something wrong here? I couldn't find any resources about this.
Thank you for your time.
🙁 Actual behavior
Undefined is removed from field type by the -? operator to remove optionality from field key.
{
    f: number;
    g: number | undefined;
    h: number | null;
    fo: number;                   // undefined type missing here
    go: number;       // undefined type missing --and removed-- here
    ho: number | null;             // undefined type missing here
}

🙂 Expected behavior
Allow me to add undefined to the field type to keep syntax checks (e.g. to not forget when copying possibly undefined values)
{
    f: number;
    g: number | undefined;
    h: number | null;
    fo number | undefined;
    go: number | undefined;
    ho: number | null | undefined;
}

For the record, there's already a built-in type alias that does what your original code does: Required.  And it does almost what you expect if you enable exactOptionalPropertyTypes:

Playground link

Which is about as close as you can probably get without workarounds - since "optional" is intended to mean "the property is either present with the specified value, or else non-present", unconditionally including optional properties that don't explicitly have undefined in their type when copying an object is technically unsound, and exactOptionalPropertyTypes will enforce that.

Duplicate of #31025 probably?  This was listed as a bug, but I really doubt this will ever change.

@jcalz Nowadays I’d wager the “fix” for #31025 is to enable exactOptionalPropertyTypes

Thank you for your answers and taking the time to configure the Playground.
Sadly, if I try the code that would be a correct copy with your suggestion, it fails (Playground link):
function copyUnsafe(b: Demo): Demo {
    return {
        f: b.f,
        g: b.g,
        h: b.h,
        fo: b.fo, // Fails here
        go: b.go, // here
        ho: b.ho, // and here
    };
}

Required also removes undefined from the type, and exactOptionalPropertyTypes will work against my purpose.
I noticed my example wasn't too good as you may be asking, why don't I use the spread operator?.
But it's purposes is copying and patching the original value with a diff either using a remove sentinel symbol or a sieve of bools for optional fields.
Maybe I should use another pattern altogether to not forget to copy optional fields?

Can you share with me what would be the common pattern to achieve it?
Being part of the hot path I'm trying to minimize iterations and key enumerations. That's why I want syntax checks, to unroll the patching ourselves but keeping some safety on type changes.

It's ok though, I can use my two-step interim type to do what I want.
Only seemed odd that -? removed undefined.
As you well said, optionality is about existence not types (strictly speaking), so it's strange -? it interferes with field typing.

You could try using exactOptionalPropertyTypes in combination with Required and then make sure all the objects you need to do this with have their optionals declared with | undefined.

Only seemed odd that -? removed undefined.

The reason that -? behaves the way it does with eOPT off is that making a property optional actually adds undefined to its type, so -? must remove it again otherwise it's not a perfect round-trip.  Effectively, the logic for -? can't tell the difference between a property which is T | undefined just because it's optional, vs. one that was actually declared that way.

As you well said, optionality is about existence not types (strictly speaking), so it's strange -? it interferes with field typing.

Yep, the difference in practice between an actually optional property vs. one that's just T | undefined is a bit fuzzy normally, which is exactly why exactOptionalPropertyTypes was implemented, to make optional properties behave more predictably.  But it tends to be a pretty disruptive breaking change to enable it, so that's why it's not enabled by default even with strict: true.

Thanks for the explanation and sharing your knowledge.
I was reading the duplicate thread and user gordonmleigh suggested export type NonPartial<T> = { [K in keyof Required<T>]: T[K] }; which works like a charm, even if it's a bit more cryptic to understand.
If I do understand correctly, it bypasses optionality by getting all the keys "de-optionalized" using Required<> (without undefined) and, as keys are not longer tagged (?) with being optional, requesting field types using that "name" returns the type in union with undefined as there is no other way to communicate "optionality" at that point as it doesn't include the keys themselves in the operation🥴 .

Yep, T[K] for an optional property gives you T | undefined, even if the property wasn't declared with | undefined (you're effectively asking, if I read from T[K] what type of value will I get).  NonPartial is actually pretty clever, as it's not broken by enabling exactOptionalPropertyTypes, yet remains easy to understand.

Does everyone agree this is working as intended then?

Not as intended: When developers are opting-in explicitly specifying | undefined on the field type, the majority will expect it to respect that. I.e. to be applied after the key-optional operator -?, as most ops are left-to-right.
But it's not a blocker, and I asume at the bottom of the priority barrel, sort of speak. I'm ok with closing the issue, keeping it as reference.

Can we all agree that this is a duplicate of #31025?  Then can we go there and mark it with something like "As Good As It Gets" or "Won't Fix" or "Working As Expected If You Manage Your Expectations" or something?

I think it’s a duplicate of that other issue but the proposed labels for it hurt my soul a little bit 😢


Reordering columns by dragging and dropping them on a new disk explorer doesn't take effect for other resource groups

Storage Explorer Version: 1.33.0-dev (96)
Build Number: 20231215.2
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.1.2(Apple M1 Pro)
Architecture: x64/x64/x64
How Found: From running test cases
Regression From: Not a regression
Steps to Reproduce

Expand 'Disks' -> Open one resource group.
Reorder the columns by dragging and dropping them.
Split the tab.
Check whether the columns on the split tab are reordered.

Expected Experience
The columns on the split tab are reordered.
Actual Experience
The columns on the split tab keep default order.

Additional Context
This issue also reproduces when opening a new resource group.

@richardMSFT I'm not actually sure if this is expected behavior? I don't think we do this for other explorers, right?

Looks like the behavior is expected in other explorers. However, blob container explorer doesn't seem to have this behavior.
The fix for managed-disks was that I wasn't saving the column state into the storage manager.

Verified this issue on the main build 20231221.5. Fixed. So, we are going to close it.


NVIDIA GPU Marker API

First 10 minute attempt to wrap LIKWID's GPU Marker API 😄. Might be functional already but I couldn't really test it thorougly since I don't have easy access to a node with 1) likwid >= 5.0.0 compiled with NVIDIA_INTERFACE = true and 2) a NVIDIA GPU right now.
I tried to quickly build likwid on the JUWELS Booster and test things there with A100 cards, but I get quite a few Permission denied messages, so probably I screwed something up 😄 (apart from the nvidia setting I only changed the config.mk to use perf_counters ran make without thinking further).
Anyways, here my current test script:
using LIKWID
using CUDA
using LinearAlgebra

@assert CUDA.functional()

T = Float32
N = 100_000_000

a = convert(T, 3.141)
z = zeros(T, N)
x = rand(T, N)
y = rand(T, N)

z_gpu = zeros(T, N)
x_gpu = rand(T, N)
y_gpu = rand(T, N)

function saxpy_cpu!(z,a,x,y)
    for i in eachindex(z)
        z[i] = a*x[i] + y[i]
    end
    return z
end

function saxpy_gpu!(z,a,x,y)
    CUDA.@sync z .= a .* x .+ y
end

println("CPU")
saxpy_cpu!(z,a,x,y)
LIKWID.Marker.startregion("saxpy_cpu!")
saxpy_cpu!(z,a,x,y)
LIKWID.Marker.stopregion("saxpy_cpu!")

println("GPU")
saxpy_gpu!(z_gpu,a,x_gpu,y_gpu)
LIKWID.GPUMarker.startregion("saxpy_gpu!")
saxpy_gpu!(z_gpu,a,x_gpu,y_gpu)
LIKWID.GPUMarker.stopregion("saxpy_gpu!")

and this is the output
➜  bauer3@jwb0033 /p/scratch/chku27/hku273/likwid-test  likwid-perfctr -C 0 -g FLOPS_SP -G 0 -W FLOPS_SP -m julia --project=. likwid_gpu.jl
INFO: You are running LIKWID in a cpuset with 1 CPUs. Taking given IDs as logical ID in cpuset
--------------------------------------------------------------------------------
CPU name:       AMD EPYC 7402 24-Core Processor
CPU type:       AMD K17 (Zen2) architecture
CPU clock:      2.80 GHz
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event ACTUAL_CPU_CLOCK on CPU 18 failed: Permission denied
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event MAX_CPU_CLOCK on CPU 18 failed: Permission denied
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event ACTUAL_CPU_CLOCK on CPU 18 failed: Permission denied
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event MAX_CPU_CLOCK on CPU 18 failed: Permission denied
CPU
GPU
--------------------------------------------------------------------------------
Region saxpy_cpu!, Group 1: FLOPS_SP
+-------------------+-------------+
|    Region Info    | HWThread 18 |
+-------------------+-------------+
| RDTSC Runtime [s] |    0.072155 |
|     call count    |           1 |
+-------------------+-------------+

+---------------------------+---------+-------------+
|           Event           | Counter | HWThread 18 |
+---------------------------+---------+-------------+
|      ACTUAL_CPU_CLOCK     |  FIXC1  |           0 |
|       MAX_CPU_CLOCK       |  FIXC2  |           0 |
|    RETIRED_INSTRUCTIONS   |   PMC0  |<PHONE_NUMBER> |
|    CPU_CLOCKS_UNHALTED    |   PMC1  |   239200700 |
| RETIRED_SSE_AVX_FLOPS_ALL |   PMC2  |   200000400 |
|           MERGE           |   PMC3  |           0 |
+---------------------------+---------+-------------+

+----------------------+-------------+
|        Metric        | HWThread 18 |
+----------------------+-------------+
|  Runtime (RDTSC) [s] |      0.0722 |
| Runtime unhalted [s] |           0 |
|      Clock [MHz]     |      -      |
|          CPI         |      0.1964 |
|     SP [MFLOP/s]     |   2771.7970 |
+----------------------+-------------+

Region saxpy_gpu!, Group 1: FLOPS_SP
+-------------------+----------+
|    Region Info    |   GPU 0  |
+-------------------+----------+
| RDTSC Runtime [s] | 0.061121 |
|     call count    |        1 |
+-------------------+----------+

+----------------------------------------------------+---------+-------+
|                        Event                       | Counter | GPU 0 |
+----------------------------------------------------+---------+-------+
| SMSP_SASS_THREAD_INST_EXECUTED_OP_FADD_PRED_ON_SUM |   GPU0  |     0 |
| SMSP_SASS_THREAD_INST_EXECUTED_OP_FMUL_PRED_ON_SUM |   GPU1  |     0 |
| SMSP_SASS_THREAD_INST_EXECUTED_OP_FFMA_PRED_ON_SUM |   GPU2  |     0 |
+----------------------------------------------------+---------+-------+

+---------------------+--------+
|        Metric       |  GPU 0 |
+---------------------+--------+
| Runtime (RDTSC) [s] | 0.0611 |
|     SP [MFLOP/s]    |      0 |
+---------------------+--------+

Don't know why the SP counter for GPU 0 is zero (Maybe I need to GPUMarker.threadinit() somewhere?). Will test things more properly soon.
cc: @JBlaschke @vchuravy @TomTheBear
Closes #2

Well, it certainly helps to make the GPU actually compute something (I didn't initialize the x_gpu etc. arrays on the GPU) 😅
Replacing
z_gpu = zeros(T, N)
x_gpu = rand(T, N)
y_gpu = rand(T, N)

by
z_gpu = CUDA.zeros(T, N)
x_gpu = CUDA.rand(T, N)
y_gpu = CUDA.rand(T, N)

I now get the more reasonable
INFO: You are running LIKWID in a cpuset with 1 CPUs. Taking given IDs as logical ID in cpuset
--------------------------------------------------------------------------------
CPU name:	AMD EPYC 7402 24-Core Processor
CPU type:	AMD K17 (Zen2) architecture
CPU clock:	2.80 GHz
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event ACTUAL_CPU_CLOCK on CPU 18 failed: Permission denied
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event MAX_CPU_CLOCK on CPU 18 failed: Permission denied
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event ACTUAL_CPU_CLOCK on CPU 18 failed: Permission denied
ERROR - [./src/includes/perfmon_perfevent.h:perfmon_setupCountersThread_perfevent:881] Permission denied.
Setup of event MAX_CPU_CLOCK on CPU 18 failed: Permission denied
CPU
GPU
--------------------------------------------------------------------------------
Region saxpy_cpu!, Group 1: FLOPS_SP
+-------------------+-------------+
|    Region Info    | HWThread 18 |
+-------------------+-------------+
| RDTSC Runtime [s] |    0.072089 |
|     call count    |           1 |
+-------------------+-------------+

+---------------------------+---------+-------------+
|           Event           | Counter | HWThread 18 |
+---------------------------+---------+-------------+
|      ACTUAL_CPU_CLOCK     |  FIXC1  |           0 |
|       MAX_CPU_CLOCK       |  FIXC2  |           0 |
|    RETIRED_INSTRUCTIONS   |   PMC0  |<PHONE_NUMBER> |
|    CPU_CLOCKS_UNHALTED    |   PMC1  |   238969000 |
| RETIRED_SSE_AVX_FLOPS_ALL |   PMC2  |   200000400 |
|           MERGE           |   PMC3  |           0 |
+---------------------------+---------+-------------+

+----------------------+-------------+
|        Metric        | HWThread 18 |
+----------------------+-------------+
|  Runtime (RDTSC) [s] |      0.0721 |
| Runtime unhalted [s] |           0 |
|      Clock [MHz]     |      -      |
|          CPI         |      0.1963 |
|     SP [MFLOP/s]     |   2774.3405 |
+----------------------+-------------+

Region saxpy_gpu!, Group 1: FLOPS_SP
+-------------------+----------+
|    Region Info    |   GPU 0  |
+-------------------+----------+
| RDTSC Runtime [s] | 0.008554 |
|     call count    |        1 |
+-------------------+----------+

+----------------------------------------------------+---------+-----------+
|                        Event                       | Counter |   GPU 0   |
+----------------------------------------------------+---------+-----------+
| SMSP_SASS_THREAD_INST_EXECUTED_OP_FADD_PRED_ON_SUM |   GPU0  |         0 |
| SMSP_SASS_THREAD_INST_EXECUTED_OP_FMUL_PRED_ON_SUM |   GPU1  |         0 |
| SMSP_SASS_THREAD_INST_EXECUTED_OP_FFMA_PRED_ON_SUM |   GPU2  | 200000000 |
+----------------------------------------------------+---------+-----------+

+---------------------+------------+
|        Metric       |    GPU 0   |
+---------------------+------------+
| Runtime (RDTSC) [s] |     0.0086 |
|     SP [MFLOP/s]    | 46760.2729 |
+---------------------+------------+

TODO:

[ ] Update README
[ ] Add a test

We can also use the JuliaGPU CI to add testing for the GPU functionality.

Sounds good. Can you set this up or should I give it a try?

Note: the example outputs in the README still contain permission denied errors etc. Eventually, we want to replace them by proper outputs obtained on a machine with a proper LIKWID installation.

Sounds good. Can you set this up or should I give it a try? (Not sure I even can given that I don't have a buildkite account.)

Well first CPU CI would be good, I can then try setting up GPU CI.

Oh, I thought we would want to test CPU and GPU on the same machines for simplicity. But I guess we can split things.

I want to make sure that things work without having a GPU available so standard Github Action is probably best

Sounds good. Will try to figure out how to setup LIKWID on a GitHub runner.

Basic GitHub CI is set up (on master / main).
@TomTheBear offered to host the GPU CI in Erlangen on the already available LIKWID CI infrastructure with multiple GPUs. Sounds good to me, what do you think @vchuravy?

Sounds good to me, but we can also host on the GPU CI at MIT.
@TomTheBear how complicated is that to setup/what do you need from the repo side?

The LIKWID CI is currently growing, it's a new service we offer.
There are two ways to run CI:

Separate repository which contains only the CI configuration for the LIKWID CI. Not sure how we can present the results back to Github. I have not tested it, but maybe we can use webhooks or something to connect the original with the only-CI repo.
I sync the repo to our Gitlab. With this, the CI config would be here in the Github repo and you would also see it below requests, similar to my PR

If we want to do this, I'd prefer the second option.

Codecov Report

Merging #3 (0904876) into main (7141c20) will decrease coverage by 10.97%.
The diff coverage is 25.00%.

@@             Coverage Diff             @@
##             main       #3       +/-   ##
===========================================
- Coverage   50.00%   39.02%   -10.98%
===========================================
  Files           2        3        +1
  Lines          22       41       +19
===========================================
+ Hits           11       16        +5
- Misses         11       25       +14

Impacted Files
Coverage Δ

src/gpu_marker.jl
21.05% <21.05%> (ø)

src/LIKWID.jl
75.00% <100.00%> (+12.50%)
: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 7141c20...0904876. Read the comment docs.

Closed in favor of #10.


improve code coverage of mailman

Codecov Report

Merging #471 (9703a5c) into main (d0cbc34) will increase coverage by 2.32%.
The diff coverage is 97.27%.

@@            Coverage Diff             @@
##             main     #471      +/-   ##
==========================================
+ Coverage   71.91%   74.24%   +2.32%
==========================================
  Files          15       16       +1
  Lines        2183     2229      +46
==========================================
+ Hits         1570     1655      +85
+ Misses        613      574      -39

Flag
Coverage Δ

unittests
74.24% <97.27%> (+2.32%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

tests/unit/test_bigbang.py
97.88% <ø> (+0.33%)
:arrow_up:

tests/unit/test_mailman.py
97.16% <97.16%> (ø)

bigbang/mailman.py
62.63% <100.00%> (+14.60%)
: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 d0cbc34...9703a5c. Read the comment docs.


Docs: Reference "current" PostgreSQL docs instead of EOL versions (MADLIB-1153).

Reviewers: @rahiyer @fmcquillan99 @orhankislal @njayaram2 @jingyimei

There is a minor risk in doing this. GPDB does not support all features in the current Postgres and I believe the documentation is trying to redirect both GPDB and Postgres users.

@iyerr3 - Good point. For reference, there are several other references to current in *.sql_in files. Maybe we can add a statement up front indicating Greenplum is based on an older PostgreSQL version and to reference appropriate versions as needed.
Ack started at Thu Oct  5 14:48:34

ack -i "https://www.postgresql.org/docs"
methods/sketch/src/pg_gp/sketch.sql_in
73:@note This is a [User Defined Aggregate](https://www.postgresql.org/docs/current/static/xaggr.html)
185:@note This is a [User Defined Aggregate](https://www.postgresql.org/docs/current/static/xaggr.html)
332:@note This is a [User Defined Aggregate](https://www.postgresql.org/docs/current/static/xaggr.html)

src/ports/postgres/modules/utilities/pivot.sql_in
678:[1] https://www.postgresql.org/docs/current/static/functions-aggregate.html
680:[2] https://www.postgresql.org/docs/current/static/sql-createaggregate.html
682:[3] https://www.postgresql.org/docs/current/static/xaggr.html

src/ports/postgres/modules/utilities/sessionize.sql_in
236:https://www.postgresql.org/docs/8.4/static/datatype-datetime.html

Ack finished at Thu Oct  5 14:48:34

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/254/

@rahiyer - Collaborating with Lisa Owen (@lisakowen - providing excellent editorial know-how), I have added the following note to the Pivot Literature link section:
NOTE: The following links refer to documentation resources for the
current PostgreSQL database version. Depending upon your database
platform version, you may need to change "current" references in the
links to your database version.

If your database platform uses the Greenplum Database (or related
variants), please check with the project community and/or your
database vendor to identify the PostgreSQL version it is based on.

Looks great.
On Fri, Oct 6, 2017 at 1:03 PM, Ed Espino<EMAIL_ADDRESS>wrote:

@rahiyer https://github.com/rahiyer - Collaborating with Lisa Owen (
@lisakowen https://github.com/lisakowen - providing excellent editorial
know-how), I have added the following note to the Pivot Literature link
section:
NOTE: The following links refer to documentation resources for the
current PostgreSQL database version. Depending upon your database
platform version, you may need to change "current" references in the
links to your database version.
If your database platform uses the Greenplum Database (or related
variants), please check with the project community and/or your
database vendor to identify the PostgreSQL version it is based on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/madlib/pull/189#issuecomment-334828661, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACIkB61SbhW98c0fyyCpJsxe6uvhrLn8ks5spmtzgaJpZM4PvvPX
.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/255/

@fmcquillan99 - I have made the corresponding change to Path and Sessionize Literature sections.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/256/

LGTM


App crashing on segue

Using coacoapods, dependencies were installed correctly but still getting:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a segue class named 'BlurryModalSegue''

Hmm haven't seen that before.  Are other CocoaPods libraries working for you?  What version of XCode?


"ODBC Connect has stopped working" when launching the tool

Hi Team,
As soon as I launch ODBC connect, a message "ODBC Connect has stopped working" appears.

For information, It is working for another user on the same server.
OS: Microsoft Windows Server 2016 Datacenter
Let me know which other information you would need.
Cheers,

Have you solved your issue? I have the same problem

Hi @grandryjn & @grabiecp,
ODBC Connect uses .NET 3.5, the error you are seeing is probably due to it not being present on the computer.


[WIP] Prototype 2 for PR #1005

Prototype 2 for #1005
Based on:
https://github.com/google/ground-android/pull/1005#issuecomment-917076043

Closing in favour of #1022


Improved website design

New version of osm2vectortiles.org with responsive CSS, clean url structure, improved texts.
Preview at: http://klokantech.github.io/osm2vectortiles/

@daliborjanak works on merging recent changes.

PR could be merged now.

Great work @daliborjanak!  Everything works smoothly and also works on the phone.
We will remove the osm2vectortiles-gh-pages.zip file and also configure Jekyll to support highlighted code sections.

Thanks. I forget .zip file :( I'm using {% highlight html %}{% endhighlight %} for syntax highlighting. I will send you another PR with retina image support during day.


Use http.ServeContent + add ETag header

Use http.ServeContent instead of io.Copy

http.ServeContent replies to the request using the content in the provided ReadSeeker. The main benefit of http.ServeContent over io.Copy is that it handles Range requests properly, sets the MIME type, and handles If-Match, If-Unmodified-Since, If-None-Match, If-Modified-Since, and If-Range requests.
https://pkg.go.dev/net/http#ServeContent

Add ETag header

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag

@SlIdE42 Thanks, looks great. I made a minor change to support non-io.ReadSeekers via https://github.com/benbjohnson/hashfs/commit/a56766a613b4baeb8755498efdf7f4d62e16e346.

Released as v0.2.0.


Crash when defining Array type via [] syntax

🔎 Search Terms
Array type define crash
🕗 Version & Regression Information

This is a crash

⏯ Playground Link
https://www.typescriptlang.org/dev/bug-workbench/?noLib=true#code/PTAEAEDsHsBkEsBGAuUAXATgVwKYCg0BPABx1AEEMMBDQgHgBUA+UAXlAYG0BdAbjyA
💻 Code
// @noLib: true
type Array<T> = T[];

🙁 Actual behavior
Typescript crashes:
createDeferredTypeReference@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:52280:42
getTypeFromArrayOrTupleTypeNode@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:52908:93
getTypeFromTypeNodeWorker@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:54875:20
getTypeFromTypeNode@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:54828:45
getDeclaredTypeOfTypeAlias@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:49869:33
tryGetDeclaredTypeOfSymbol@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:49955:18
getDeclaredTypeOfSymbol@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:49948:16
getTypeOfGlobalSymbol@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:52644:45
getGlobalType@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:52678:42
initializeTypeChecker@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:75719:27
createTypeChecker@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:42674:7
getTypeChecker@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:101959:46
synchronizeHostDataWorker@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:121935:17
synchronizeHostData@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:121830:11
getProgram@https://typescript.azureedge.net/cdn/5.4.0-dev.20240110/monaco/dev/vs/language/typescript/tsWorker.js:121997:9
updateFile@https://www.typescriptlang.org/17821066377c4486a980330106160c805ea5b4a9-5466acbcf54af90f679c.js:1:25348
G@https://www.typescriptlang.org/17821066377c4486a980330106160c805ea5b4a9-5466acbcf54af90f679c.js:1:17599
F@https://www.typescriptlang.org/17821066377c4486a980330106160c805ea5b4a9-5466acbcf54af90f679c.js:1:17638
A@https://www.typescriptlang.org/component---src-pages-dev-bug-workbench-tsx-6a9bdea3e00be7d97087.js:1:40663
9796/M/

🙂 Expected behavior
I expect an error message.
Additional information about the issue
No response

Just to be clear, this isn't going to work

Just to be clear, this isn't going to work

lol, I know. I reduced the repro example from something like type Array<T> = T[] & { push: (t: T) => number } (which is also wrong)
I expect this code to give an error about a circular type reference as if I had written type Array<T> = Array<T>

It seems there's an internal failure that happens before this crash. It's not my particular definition of the Array type that's a problem but using a type alias to define Array at all:
// @noLib: true

// okay with this definition of Array:
// interface Array<T> {
//   [i:number]:T
// }

// okay with this definition of Array, too:
// class Array<T> {
//   [i:number]:T
// }

// With this definition, things fail and number[] is not the same type as Array<T> anymore:
type Array<T> = {
  [i:number]:T
}

[1,2,3] satisfies {[i:number]:any}

declare const x:number[]
//            ^?
x satisfies Array<number>

Workbench Repro

It seems there's an internal failure that happens before this crash. It's not my particular definition of the Array type that's a problem but using a type alias to define Array at all

moved this to standalone issue #57564


Update ESLint rules

What is the feature you are proposing?
I'll do it later!

I think eslint should allow these short hands, what do you think?
if (value) return value

It's done. Closing.

@EdamAme-x Sorry. No.

understood


animation does not work with ?:

[X] The issue is present in the latest release.
[X] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When I try to implement animation with ?: operator like this:
const useStyles = makeStyles((theme: Theme) => ({
  statusButton: {
    color: (props: DagRunStatusItemProps) =>
      dagRunStatusColors[props.data.state],
    cursor: "pointer",
    animation: (props: DagRunStatusItemProps) =>
      props.data.state === "running"
        ? `$blink 0.8s ${theme.transitions.easing.easeInOut} infinite alternate`
        : "auto"
    // animation: `$blink 1.2s ${theme.transitions.easing.easeInOut} infinite alternate`
  },
  "@keyframes blink": {
    from: { opacity: 1 },
    to: { opacity: 0 }
  }
}));

The animation does not appear
Expected Behavior 🤔
The animation should work, depend on the condition value from props
Steps to Reproduce 🕹

Steps:

Context 🔦

Your Environment 🌎

Tech
Version

Material-UI
v4.9.11

React
v16.3.1

Browser
Chrome

TypeScript
v3.8.3

etc.

@hckhanh It's a known bug, you can find a duplicate in the repository. It doesn't work, you can inject global keyframe CSS instead.

thank you @oliviertassinari


[bug] Failed to display node metrics

Describe the bug
This is the way variables are configured on k8s-views-nodes.json:
...
node = label_values(kube_node_info, node)
instance = label_values(node_uname_info{nodename=~"(?i:($node))"}, instance)

In OKE, kube_node_info looks like this:
{__name__="kube_node_info", container="kube-state-metrics", container_runtime_version="cri-o://1.25.1-111.el7", endpoint="http", instance="<IP_ADDRESS>:8080", internal_ip="<IP_ADDRESS>", job="kube-state-metrics", kernel_version="5.4.17-2136.314.6.2.el7uek.x86_64", kubelet_version="v1.25.4", kubeproxy_version="v1.25.4", namespace="monitoring", node="<IP_ADDRESS>", os_image="Oracle Linux Server 7.9", pod="monitoring-kube-state-metrics-6fcd4d745c-txg2k", pod_cidr="<IP_ADDRESS>/25", provider_id="ocid1.instance.oc1.sa-saopaulo-1.xxx", service="monitoring-kube-state-metrics", system_uuid="d6462364-95bf-4122-a3ab-xxx"}

And node_uname_info looks like this:
node_uname_info{container="node-exporter", domainname="(none)", endpoint="http-metrics", instance="<IP_ADDRESS>:9100", job="node-exporter", machine="x86_64", namespace="monitoring", nodename="oke-cq2bxmvtqca-nsdfwre7l3a-seqv6owhq3a-0", pod="monitoring-prometheus-node-exporter-n6pzv", release="5.4.17-2136.314.6.2.el7uek.x86_64", service="monitoring-prometheus-node-exporter", sysname="Linux", version="#2 SMP Fri Dec 9 17:35:27 PST 2022"}

For this example, node=<IP_ADDRESS>, but when I query node_uname_info{nodename=~"(?i:($node))"}, it doesn't return anything, because nodename doesn't match the internal IP address of the node.
As a result, no node metrics is displayed.
How to reproduce?
No response
Expected behavior
No response
Additional context
Modifying the filter https://github.com/dotdc/grafana-dashboards-kubernetes/blob/master/dashboards/k8s-views-nodes.json#L3747-L3772 to use node_uname_info{instance="$node:9100"} fixes the issue.

Hi @fcecagno, thank you for reporting this, will look at it this week!

Hi @dotdc , I'm pretty sure I need to play with relabeling on node-exporter to make it work properly. I'll post here when I find the solution.

Hey
I am seeing the same problem. I think modifying the filter is the best solution. I other prometheus templates I see a filter like this being used:
label_values(node_uname_info{job="node-exporter", sysname!="Darwin"}, instance)
Modifying the labels may be a bit complicated for people using predefined monitoring solutions like kube-prometheus-stack
Regards

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[now update] Add message saying that Windows is not supported

And direct the user back to the download page in order to re-install.
Closes #2492.

Codecov Report

Merging #2493 into canary will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           canary    #2493      +/-   ##
==========================================
- Coverage   11.38%   11.38%   -0.01%
==========================================
  Files         256      256
  Lines        9247     9251       +4
  Branches     1031     1032       +1
==========================================
  Hits         1053     1053
- Misses       8082     8086       +4
  Partials      112      112

Impacted Files
Coverage Δ

src/commands/update.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


New Outlaw gun and 4th spray?

Hi, do you have plans to add support for the new Outlaw gun and the 4th spray?
The Discord link in the README.md is still from "Soneliem/WAIUA", else I would've reached out in that way.

I opened a pull request for outlaw. #4

UPDATE : I actually did the changes, althought I didn't use Visual Studios own graphical thing, this is what I got :

VS gives a weird preview I don't know why and I'm sure there's probably a better way to do this but it didn't come to mind.

Hi, do you have plans to add support for the new Outlaw gun and the 4th spray? The Discord link in the README.md is still from "Soneliem/WAIUA", else I would've reached out in that way.

Also I prefer issue tracking on GitHub, but the I still have to update the ReadMe.

The OutLaw has been added in #4 I will make another issue for the 4th spray.


Pagination doesn't work in I use it directly in laravel view

Hi, I'm trying this package and have a problem with pagination, it doesn't show.
Here is my code:
<div>
  <vuetable ref="vuetable" :fields="['full_message', 'created_at', 'read_at']" api-url="{{ request()->url() }}"></vuetable>
  <vuetable-pagination ref="pagination"></vuetable-pagination>
</div>

It's inside blade template, not a vue component.
I added components to vue, they are loaded without errors:
Vue.component('vuetable', require('vuetable-2/src/components/Vuetable'))
Vue.component('vuetable-pagination', require('vuetable-2/src/components/VuetablePagination'))

It makes hxr request and gets following data:
current_page: 1
data: [{id: "942b804f-1f57-4c20-a091-b538b8fe798f", type: "App\Notifications\NewMessage",…},…]
first_page_url: "http://localhost:8000/account/notifications"
from: 1
last_page: 3
last_page_url: "http://localhost:8000/account/notifications?page=3"
next_page_url: "http://localhost:8000/account/notifications?page=2"
path: "http://localhost:8000/account/notifications"
per_page: "10"
prev_page_url: null
to: 10
total: 29

It renders table normally, but there is no pagination.
Package version is: 1.7.5

@vedmant You'll need to set :pagination-path="".

I have the same issue, except that it renders the data, paginatinon meta, links and urls and has the buttons, but the next, prev buttons do not work. I have set :pagination-path=""

when i print the page onChnagePage it prints the correct page.


Fix rake execution when fields are dropped

This fixes the rake task execution when running after the code has been updated with the fields dropped (in the model Carto::Permissions).
This may create permissions with this fields = NULL, which won't work with old code, but this is fixing permissions which were already broken, so it does not worsen the problem.
CR @juanignaciosl

:+1:


from class test: login issues

During login, some people (using the harvard based url) would be bumped to an error screen (a bad redirect error). This is the same error that I get locally if I don't use the right port when logging in and running locally. For some, just continuing to go back and refreshing seemed to work eventually, but for others we needed to use the elasticbeanstalk link to get it to work (maybe just refreshing would have worked, so needing to go to elasticbeanstalk may just be a caching issue?). Perhaps this was due to hitting the authentication server too often?

I saw this happen recently on the server. The way I was able to get around it was to go explicitly to a logout url that someone gave me in the past. Would it work to make sure the logout button directs to this? (or is that already what we were doing?) https://app.cosmicds.cfa.harvard.edu/_solara/auth/logout


Maven/broken modules

I think it makes sense to have different modules for difference jars rather than shadowing wthin same artifact.
Provides easy adoption as dependencies for consumers

I do not see the need of a code split, the build already produces separate artifacts with different classifiers - for example while building on Mac you get libyara-.jar and libyara--osx.jar.  For multiplatform support the depending application can add dependencies to each platform classifier like "osx", "linux", etc.
Are there any other benefits of this commit ?

To provide pom metadata for native package. This change is much more maven centric.


STOR-1577: Rebase to v1.7.3 for OCP 4.16

Diff to upstream v1.7.3:
https://github.com/kubernetes-sigs/aws-efs-csi-driver/compare/v1.7.3...RomanBednar:rebase-v1.7.3
Full changelog: https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/CHANGELOG-1.x.md
@openshift/storage

/override ci/prow/verify-commits

/label docs-approved
/label px-approved

/lgtm

Added the results here: https://issues.redhat.com/browse/STOR-1577.
/label qe-approved


wifiConnections/wifiNetworks, no results on Mac Sonoma 14.4

Describe the bug
wifiConnections() and wifiNetworks both returning no results (despite being connected to wifi).
To Reproduce
const systeminformation = require("systeminformation");

(async () => {
  console.log(await systeminformation.wifiInterfaces());
  // always outputting [] for me
})();

Current Output
both currently return an empty array despite being connected to a wifi network.
Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):
SYSTEMINFORMATION Version: 5.22.0
Operating System:
──────────────────────────────────────
Platform         : darwin
Distro           : macOS
Release          : 14.4
Codename         : macOS Sonoma
Kernel           : 23.4.0
Arch             : arm64
Codepage         : UTF-8
Build            : 23E214
System:
──────────────────────────────────────
Manufacturer     : Apple Inc.
Model            : MacBookPro18,2
Version          :
Virtual          :
CPU:
──────────────────────────────────────
Manufacturer     : Apple
Brand            : M1 Max
Family           : 458787763
Model            :
Stepping         : 5
Speed            : 2.4
Cores            : 10
PhysicalCores    : 10
PerformanceCores : 8
EfficiencyCores  : 2
Processors       : 1
Socket           : SOC
Additional context
Possible that the issue coincided with recent upgrade to Sonoma 14.4

Hi @tacomanator thank you for reporting. This is not good news. I am currently still on 14.2 so I did not realized that there is a change in 14.4. Need to go deeper into it to find out what options we have now. Thank you once again.

@tacomanator I made some investigations and partially I can get information for wifiConnections() but for wifiNetworks() I was not yet able to find anything ... give me some time to provide at least for the first one a solution.

@sebhildebrandt thank you, I appreciate you. I am only using wifiConnections() anyway, but reported wifiNetworks() for the sake of completeness.

@tacomanator I added a patch for wifiConnections() here on the master branch. Can you clone master branch and test it?
git clone https://github.com/sebhildebrandt/systeminformation.git
cd systeminformation
npm run test

And now press x ... hopefully you have (partial) results now ... can you confirm that?

@tacomanator did you had time to test the fix as described above?

@sebhildebrandt I'm sorry I haven’t yet but I will as soon as I get in front of my computer

@sebhildebrandt Sorry for the delay I finally was able to confirm, andwifiConnections() is giving some results!

@tacomanator  Exactly was I was hoping to see :-) ... thank you for testing. Version 5.22.1 just published.

Upgrade and good to go. Thank you for a quick turnaround and for a very useful library!

Hi folks, sadly this issue still persist for me with wifiNetworks after the update to Mac Sonoma 14.4 and 5.22.5. :( Any ideas?

@shaguarger can you provide the output of
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I

and
ioreg -n AppleBCMWLANSkywalkInterface -r

Thank you in advance

Here you go. Thanks!

@shaguarger Can you provide this as text (you can just "XXXX" the parts that you don't want to show). Than I can take this as a mock input and see what is happening. Thank you in advance.

WARNING: The airport command line tool is deprecated and will be removed in a future release.
For diagnosing Wi-Fi related issues, use the Wireless Diagnostics app or wdutil command line tool.
➜  ~ ioreg -n AppleBCMWLANSkywalkInterface -r
+-o AppleBCMWLANSkywalkInterface  <class AppleBCMWLANSkywalkInterface, id 0x1000006e6, registered, matched, active, busy 0 (19 ms), retain 35>
  | {
  |   "mDNS_KEY" = "2009-07-30"
  |   "mDNS_Keepalive" = Yes
  |   "IO80211Channel" = 108
  |   "IO80211Band" = "5 GHz"
  |   "IO80211BSSID" = <1ced6f000000>
  |   "IO80211InterfaceRole" = "Infrastructure"
  |   "IO80211ChannelBandwidth" = 80
  |   "IO80211SSID" = "SomeSSID"
  |   "IOPowerManagement" = {"ChildrenPowerState"=1,"DevicePowerState"=1,"CurrentPowerState"=1,"CapabilityFlags"=32770,"MaxPowerState"=1,"DriverPowerState"=0}
  |   "built-in" = <00>
  |   "IO80211DriverVersion" = "wl0: Jul 10 2023 12:53:18 version 9.30.5<IP_ADDRESS>.92 FWID 01-c06f991b"
  |   "IOInterfaceName" = "en0"
  |   "IOInterfaceUnit" = 0
  |   "IO80211Locale" = "ETSI"
  |   "IOMACAddress" = <147dda74beee>
  |   "IOInterfaceType" = 6
  |   "IO80211CountryCode" = "DE"
  |   "IO80211RSNDone" = No
  |   "IO80211ChannelFrequency" = 5540
  |   "IO80211HardwareVersion" = "vendorid: 0x14e4 deviceid: 0x1111 radiorev: 0x422069 chipnum: 0x4364 chiprev: 0x4 corerev: 0x3a boardid: 0x81d boardvendor: 0x14e4 boardrev: 0x1770 driv$
  |   "IOInterfaceNamePrefix" = "en"
  | }
  |
  +-o IOSkywalkLegacyEthernet  <class IOSkywalkLegacyEthernet, id 0x1000000f3, !registered, !matched, active, busy 0 (0 ms), retain 8>
  | +-o en0  <class IOSkywalkLegacyEthernetInterface, id 0x1000000f5, registered, matched, active, busy 0 (0 ms), retain 12>
  |   +-o IONetworkStack  <class IONetworkStack, id 0x1000000c0, registered, matched, active, busy 0 (0 ms), retain 20>
  |     +-o IONetworkStackUserClient  <class IONetworkStackUserClient, id 0x1000000a7, !registered, !matched, active, busy 0, retain 5>
  +-o IOSkywalkNetworkBSDClient  <class IOSkywalkNetworkBSDClient, id 0x10000008d, registered, matched, active, busy 0 (0 ms), retain 9>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 6>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 6>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 6>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 6>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>
  +-o IO80211APIUserClient  <class IO80211APIUserClient, id 0x100000123, !registered, !matched, active, busy 0, retain 5>

Overall I am missing the "SomeSSID Gastzugang" and another wifi name in the output.

@shaguarger wifiConnections() can only show one active WIFI connection and with the data you provided I get:
┌────────────────────────────────────────────────┐
│  WIFI Connections                    v: 5.22.6 │
└────────────────────────────────────────────────┘
[
  {
    id: 'Wi-Fi',
    iface: 'en0',
    model: 'AirPort',
    ssid: 'SomeSSID',
    bssid: '1c:ed:6f:00:00:00',
    channel: 108,
    frequency: 5540,
    type: '802.11',
    security: '',
    signalLevel: -1,
    quality: -1,
    txRate: -1
  }
]
Time to complete: 354.249ms

Can you please recheck on your side?

@shaguarger ... and for wifiNetworks() this is actually no longer supported (airport command deprecated in Sonoma 14.4) ... as I do not see any alternative to the airport command. If you know something that does not require elevated privileges, please let me know.

@shaguarger thank you for checking!! Would be great to get this back into the library. So if you find something, just provide the command, I will then implement a solution ;-)


Create Redis README document with deployment and usage steps

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST

The YAML files for Redis statefulset are available here : https://github.com/openebs/openebs/tree/master/k8s/demo/redis
The respective README file has to be updated with relevant details such as :

How to deploy standalone / cluster
How to verify successful deployment
Inserting and retrieving data
Viewing stats etc.,

Fixed by #903


clight: 4.1 -> 4.2

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/112117
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 112254 at 6e1d9046 run on x86_64-linux 1

2 packages built:

clight
clightd

2 warnings produced:

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/misc/clight/clightd.nix:81:5:
   |
81 |     license = licenses.gpl3;
   |     ^

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/misc/clight/default.nix:56:5:
   |
56 |     license = licenses.gpl3;
   |     ^

Result of nixpkgs-review pr 112254 at 6e1d9046 run on aarch64-linux 1

2 packages built:

clight
clightd

2 warnings produced:

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/misc/clight/clightd.nix:81:5:
   |
81 |     license = licenses.gpl3;
   |     ^

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/misc/clight/default.nix:56:5:
   |
56 |     license = licenses.gpl3;
   |     ^

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 112254 run on x86_64-linux 1

2 packages built:

clight
clightd


Sycamore agg_data can be NoneType

There are timers when agg_data is None. This needs to not happen.
Traceback:
Traceback (most recent call last):
sycamore_main.survey_stats_main(output_dir = output_folder, study_dir = download_folder, beiwe_ids = [])
File "/Volumes/SanDisk/opt/anaconda3/envs/python_3_8/lib/python3.8/site-packages/forest/sycamore/sycamore_main.py", line 30, in survey_stats_main
agg_data = aggregate_surveys_no_config(study_dir, study_tz)
File "/Volumes/SanDisk/opt/anaconda3/envs/python_3_8/lib/python3.8/site-packages/forest/sycamore/functions.py", line 328, in aggregate_surveys_no_config
agg_data['submit_line'] = agg_data.apply(lambda row: 1 if row['event'] in ['User hit submit', 'submitted'] else 0,
AttributeError: 'NoneType' object has no attribute 'apply'

This is fixed in the fix_survey_timings branch/pull request


Operand of null-aware operation '?.'

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_screenutil-5.0.0+2/lib/screen_util.dart:42:33: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.

'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/D:/flutter/packages/flutter/lib/src/widgets/binding.dart').
var window = WidgetsBinding.instance?.window ?? ui.window;

what is your flutter version?


[FormBuilderTextField] how to maintain the cursor position after patchValue

version: 4.0.0-beta.5
flutter: 1.20.4
I want to do a profanity filter, which to replace the profanity words to * when user is entering the text.
I do it in onChanged callback, the problem is, after patching the value, the cursor will be reset to the beginning position.
May I know how to maintain the cursor position at the back?
      onChanged: (val) {
                        if (Get.find<ProfanityFilter>()
                            .checkStringForProfanity(val)) {
                          val = Get.find<ProfanityFilter>().censorString(val);
                          print(val);
                          c.formKey.currentState.fields[c.request.loginId.name]
                              .patchValue(val);
                        }
                      },

We'll consider placing the cursor after patchValue has been called.
In the meantime consider using this solution from StackOverflow

Thanks, I use the following code and it works well.
  var offset = this.selection.base.offset;
      formKey.currentState.fields[fieldName].patchValue(censoredValue);
      this.selection = TextSelection.collapsed(offset: offset);

After I upgraded to flutter v1.22, the above code is no longer working.
It will hang at patchValue, some breaking changes?

Looks like using patchValue in the OnChanged callback causing the infinite loop. :(
Hoping to have this enhancement implemented as soon as possible.
Thank you very much!


only reset_spi_serial.py if [[  == /dev/spidev5.1 ]]

This should help avoid scary warning messages for folks not using Explorer boards, per https://github.com/openaps/oref0/issues/552#issuecomment-316219411

Not yet tested: we need to verify that mmtune still works properly for both Explorer boards and non-SPI mmeowlink setups.

Merging to dev to test there.


Add support for parquet and arrow

The main use case for working with arrow is to be able to work on Arrow frames that have been instantiated into shared memory. So I eventually need to add Arrow support to TidierData for working with arrow in a way that does not produce a copy of the entire data frame.
For now, the idea would be that we will instantiate both types of files as a data frame in memory.

Sounds good. Reading them as dfs will be pretty straightforward.
I'm curious to see what making tidierdata work directly with arrow tables will look like


track2 .NET SDK generation for dataprotection

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.DataProtectionBackup

@m-nash could you please review this PR


deep_translator - GoogleTranslator does not translate German to Dutch directly.

deep_translator version: 1.4.2
Python version: 3.8.5
Operating System: Ubuntu 20.04
Problem: deep_translator - GoogleTtranslator does not translate German to Dutch directly.
I need to translate first to English and than from English to Dutch.
Translate from German to other languages than Dutch is no problem.
To reproduce:
from deep_translator import GoogleTranslator
description = "Zwei minimale Dellchen auf der Rückseite."
translated_text = GoogleTranslator(source='de', target='nl').translate(description)

the output gives a translated text in English instead of Dutch.
gives "Two minimal dents on the back." instead of "Twee minimale deukjes op de achterkant."

I haven't found source of the bug in the code yet, but trying this out, it seems the same issue can be reproduced if you change the source language to any language (or no language) and then make the target language dutch/nl.

@Duncanr-glitch Yes, this seems to be an issue when translating to dutch/nl in general. I have not found the source of the bug too

@nidhaloff is it possible this issue is related to #86 ?


beginner tip?

Could someone give me a tip on an experiment, in Rust lib.rs:
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub fn should_charge_battery(current_price: f32, future_high_price: f32, current_battery_level: f32, battery_capacity: f32) -> bool {
    // Check if the current price is lower than the anticipated high price
    // and if the battery is not already fully charged
    let should_charge = current_price < future_high_price && current_battery_level < battery_capacity;

    // Return true to indicate battery should be charged, else false
    should_charge
}

that i compiled with > wasm-pack build --target web
And in python my script, I can load the WASM:
import wasmtime

def load_wasm_module(wasm_file):
    # Create an engine
    engine = wasmtime.Engine()

    # Read the WASM module binary
    with open(wasm_file, 'rb') as file:
        wasm_bytes = file.read()

    # Compile the module
    return wasmtime.Module(engine, wasm_bytes)

# Specify the path to your WASM file
wasm_file_path = './target/wasm32-unknown-unknown/release/geb_building.wasm'

# Load the WASM module
wasm_module = load_wasm_module(wasm_file_path)
print(wasm_module)

But I am stuck after this... any tips appreciated not a lot of wisdom here.. This will print:
<wasmtime._module.Module object at 0x0000020853340A10>
Am curious how to interact with the WASM file from Python.

Thanks for the report, but there's unfortunately a few conflations going on here. Wasmtime is not compatible with wasm-pack or wasm-bindgen. Both wasm-{pack,bindgen} are intende for the web, not out-of-browser runtimes like Wasmtime.
Otherwise for actually executing WebAssembly there's not a great tutorial for this crate at this time. You can explore the examples and tests but you'll need to additionally learn more context about how Rust is translated to WebAssembly to understand how to interact with Rust-generated modules.

thanks for the response!


Date searching does not work

date search works but console log has json parse errors when fetch returns no results.
working on adding "No results found:" for openfda fetch call response

Now no results found would be displayed on the page for empty data set (fetch response results)