Fix invalid token error when using accountDelete after logging out

AccountRequestDeletion generated token with use of PasswordResetTokenGenerator. The PasswordResetTokenGenerator creates token based on use last_login, pk, password, email and current time value. After re-login, the last_login value is changing, so the tokens aren't the same.
Last login is used for preventing usage token multiple times. For deleting users we don't need this security, as the user will not exist anymore. So, I created a new token generator AccountDeleteTokenGenerator that overrides the method that is responsible for creating hash based on user value. I excluded the last_login  value from this.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Codecov Report

Merging #8359 (49d77a3) into main (060e096) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #8359      +/-   ##
==========================================
+ Coverage   93.03%   93.07%   +0.04%
==========================================
  Files         489      491       +2
  Lines       36720    37095     +375
  Branches     4106     4202      +96
==========================================
+ Hits        34162    34527     +365
- Misses       1734     1735       +1
- Partials      824      833       +9

Impacted Files
Coverage Δ

saleor/account/notifications.py
100.00% <100.00%> (ø)

saleor/core/tokens.py
100.00% <100.00%> (ø)

saleor/graphql/account/mutations/account.py
97.89% <100.00%> (ø)

saleor/graphql/core/federation.py
87.50% <0.00%> (-12.50%)
:arrow_down:

saleor/warehouse/availability.py
95.41% <0.00%> (-4.59%)
:arrow_down:

saleor/graphql/account/resolvers.py
93.00% <0.00%> (-2.66%)
:arrow_down:

saleor/graphql/product/types/products.py
95.33% <0.00%> (-0.25%)
:arrow_down:

saleor/checkout/utils.py
95.39% <0.00%> (-0.17%)
:arrow_down:

saleor/graphql/app/types.py
100.00% <0.00%> (ø)

saleor/graphql/page/types.py
100.00% <0.00%> (ø)

... and 17 more

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 060e096...49d77a3. Read the comment docs.


about 3d landmark representation

Hi,
I have a question about the choice of the face representation.
In the paper, I saw that the 68 3d-landmarks are chosen to represent the face motion. But 3d landmarks are person-specific as the shape of the human faces are differ from each other.
As the expression bases from the 3DMM coefs are independent from the face shape, I wonder why they are not chosen as the face motion representation. Is this due to the 3DMM expression coefs are harder to adapt using the domain-adapt post net? Have you conduct experiments on this?
Looking forward to your reply!

Besides, lm3d is much more interpretable than the expression code, and you can semantically edit it (eg, you could manually control the eye blink by setting the value of eye-part landmarks)

Btw, we also tried to use exp_lm3d= expressionexp_basis as the motion representation. Interesting, we found that 3DMM expression code cannot fully represent the facial motion, and identity code is necessary to represent the eye blink motion. Based on this observation, we use idexp_lm3d=identityid_basis+exp*exp_basis as the motion representation, which we found could achieve the best performance.

Thank you for your explanation!
To provide more information, for the task of audio2expression, I found sadtalker had successfully trained a model to predict expression code from audio. But as you mentioned, the domain adaption might be difficult as the expression coef is not in euclidean space (The adaptation for some videos will fail?).
And what do you mean by using idexp_lm3d=identityid_basis+expexp_basis as the motion representation? Do you mean the face motion is represented by the linear combination of the vertex coordinates of the mesh from the face basis, as the original 3DMM algorithm? And what does the id_basis represent for?
Looking forward to your reply!

And what do you mean by using idexp_lm3d=identityid_basis+expexp_basis as the motion representation? Do you mean the face motion is represented by the linear combination of the vertex coordinates of the mesh from the face basis, as the original 3DMM algorithm? And what does the id_basis represent for?
Looking forward to your reply!

Hi,
Q: (p.s. It means the adaptation for some videos will fail? But 3DMM expression coef are not person-specific, do we need to adapt 3DMM expression coefs?).
A: Yes, it fails in some frames. You need to adapt 3DMM expression coefs, since the input space of NeRF only have several thousands of data points of expression, which is a small subset of expression coefs space.
Q:And what do you mean by using idexp_lm3d=identityid_basis+expexp_basis as the motion representation?  Do you mean the face motion is represented by the linear combination of the vertex coordinates of the mesh from the face basis, as the original 3DMM algorithm? And what does the id_basis represent for?
A: yes, we reconstruct the mesh based on the id and exp code, then select 68 key landmarks from it. You can refer to data_util/face3d_helper.py for more details.

Got it, thank u!


Add styles to place blanket reporting div above ember testing container

Prior to this commit, the blanket reports were obscured by the ember
testing container. This commit adds styles to the host application's
test/index.html that raises the blanket report div above the ember
testing container so all the blanket reports can be read.
Be happy to add a test, but seems that the deps required to run the tests were removed in c72f964?

Excellent, thanks @steveax.
I've fallen behind on this project, definitely appreciate the help.

@sglanzer glad to help. I'm interested in getting this running on our Jenkins boxes, do you know if any progress was made getting this running on phantomjs?

@steveax There is an issue open to investigate running headless, I believe @achan was looking at this, but that was 2 months ago, so I'm assuming the effort is currently shelved.

@sglanzer thanks for the info - I may take a poke at it.

Sorry guys, I'm overloaded and it's buried in my backlog right now..


Made a few big updates

New reload system
Event support
Snippets improved

This is good for the beta tho a few things could also be added. I will check and see if anything is missing or anything should be added to make it better.

@sharletsings123 mind pressing the "accept" button?


Fix row correspondence converting from matrix to vector

https://github.com/Caleydo/taggle/issues/340

There is a bug when deleting a derived vector column the header is still available.

Second bug: I get only one derived vector column. I would expect 3.

Works now as described.


Application Sort - DDU - Change in Runspace

Added DDU
Sorted the application list alphabetically for easier navigation
Fixed some typos, indentation and format issues for more readability

Also addresses #1015 PR


feat: new content handling

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


🎁 Add Bulkrax.persistence_adapter

🎁 Add Bulkrax.persistence_adapter
At present we have not incorporated using the
Bulkrax.persistence_adapter into the application.  It is instead put
forward for discussion and review.
Why introduce the adapter strategy?  Because there are several instances
of Bulkrax that are installed along various points of Hyrax
versions as well as non-Hyrax versions; which means that there are some
cases where we'll be using ActiveFedora and some where we'll be moving
towards Valkyrie.
The goal of the adapter is two fold:

Clarify and define the data interface between Bulkrax and the Main App
Allow for ease of maintaining Bulkrax releative to varying versions of
Hyrax and Hyku; thus allowing folks to upgrade to new features of
Bulkrax without mandating an upgrade of their entire persistence
strategy.

Related to:

https://github.com/scientist-softserv/hykuup_knapsack/issues/35

@orangewolf does this approach make sense to proceed further?  It's also something to consider for the iiif_print gem.

well... I got here eventually. I don't understand what this does that is different than the ObjectFactory. I'm not groking the need for both. Its not hurting anything at the moment, but we should talk soon before it takes off to far =-)

Thanks for the prompt, I think these methods could be added as class methods to the object factory and we'd be in good shape.

Here's an example of where we need a class method on the object factory:
https://github.com/samvera/bulkrax/blob/4fe18403b6885801f927fb18eefed90259610c98/app/parsers/bulkrax/csv_parser.rb#L212-L216


User did not understand their GOV.UK Verify account can be reused for other services and thought they had spent too much time just for a bus pass

User asked why she had been to BCC then Gov.uk then Verify, then Gov.uk and then BCC
Quote – “is this an April fool’s joke?”

Linked to #413 which is main issue now so closing

#493

Closinga s linked to #471


❓ fatal error: 'AnimatedSensorModule.h' file not found

Question
In file included from ../../../../src/main/cpp/VisionCamera.cpp:3:
In file included from ../../../../src/main/cpp/FrameProcessorRuntimeManager.h:13:
In file included from /some_path/node_modules/react-native-reanimated/Common/cpp/headers/SharedItems/RuntimeManager.h:9:
/some_path/node_modules/react-native-reanimated/Common/cpp/headers/SharedItems/ShareableValue.h:9:10: fatal error: 'AnimatedSensorModule.h' file not found
#include "AnimatedSensorModule.h"
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/10] Building CXX object CMakeFiles/VisionCamera.dir/src/main/cpp/CameraView.cpp.o
[9/10] Building CXX object CMakeFiles/VisionCamera.dir/src/main/cpp/JSIJNIConversion.cpp.o
ninja: build stopped: subcommand failed.
What I tried
React Native Version: 0.64.2
Reanimated Version: 2.5.0
Vision Camera version: 2.9.4
Build is running on IOS but failing on Android
VisionCamera Version
2.9.4
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

But If I remove this vision camera library the error is not showing. I am using this reanimated library from long time back but never seen this type of error.

I want to apologize, you're right. I added the missing header and will ship an update soon

I want to apologize, you're right. I added the missing header and will ship an update soon

is this already solved? I had the same issue when using react-native-vision-camera 2.10.0. And if I use the latest version 2.13.1, I got an issue from #716

I want to apologize, you're right. I added the missing header and will ship an update soon

is this already solved? I had the same issue when using react-native-vision-camera 2.10.0. And if I use the latest version 2.13.1, I got an issue from #716

Same problem here. Having different errors on each versions.
Version 2.10.0 don't build on android and version 2.13.1 don't build on iOS.

Same here, it doesn't build on ios with 2.14.1


Reaching out phisycal source files in the system

Hi,
I really appreciate your work, because I would like to edit IBM i sources from VSC, so I am sorry to ask a question that may be silly, but I can't answer it on my own.
I would like to edit sources which are not in the IFS, but in IBM I operating system.
I tried to open such a mapped folder:
\myip\root\QSYS.LIB\MYLIB.LIB\QILESRC.FILE
and it works, meaning I can see the list of all source members inside it.
But when I open a single member to edit it, it is not translated into the correct code page, so all I see is a long list of useless characters.
How do you reach the IBM system through VSC?
Is there a different way to reach out source files in a library?
Thank you

Thanks for taking the time to ask, yeah that's the unfortunate part of using VS Code at the moment. In the older "library" method of file structures there's not a simple solution for it.
I think a lot of it has to do with record lengths and EBCDIC encoding. This is actually a problem I'm trying to tackle in a side project I've been casually working on. In the next year I hope to complete a dotnet core project to provide a simple IBMi CLI to use with VS Code's terminal. Unfortunately, I don't have anything I can share at the moment. Using the IFS with VS Code is the only method of editing that I am aware of at the moment.
As a temporary workaround, I've used CPYTOSTMF and CPYFRMSTMF in a workflow like this:

Copy source member to temporary file on IFS with CPYTOSTMF FROMMBR('QSYS.LIB/MYLIB.LIB/MYFILE.FILE/MYMBR.MBR') TOSTMF('/home/MYUSER/edit/MYMBR.RPGLE')

Edit temporary IFS file using VS Code

Copy temporary file back to source member with CPYFRMSTMF FROMSTMF('/home/MYUSER/edit/MYMBR.RPGLE') TOMBR('QSYS.LIB/MYLIB.LIB/MYFILE.FILE/MYMBR.MBR') MBROPT(*REPLACE)

However, this still requires the usage of the IFS and doesn't really give you a good solution for your situation.
Thanks for reaching out, I'm going to leave this issue open because I'm sure there are others that are wondering the same thing.

Hi,
Thank you for answering.
Your proposal is the same I thought of, so I think I will end by using it. Only, can you compile from a source file in the IFS?
If it is of any interest to you, I know that at least one of two non-IBM IDE for RPG sources (ILEditor 2 by Liam Allan) uses SSH to read/write to native library files, but I'd like to work with only one editor, if possible.
Thanks for keeping this topic open.

Yeah I tried out ILEditor (1) and ILEditor 2 for a bit, but I also like the "all in one" editor concept that VS Code promotes. I was really hoping ILEditor 2 was going to be a VS Code extension of some sort...
As far as compiling from the IFS, I started to learn the concepts from https://github.com/NielsLiisberg/RPG-vsCode-Getting-Started . This uses GNU Make as part of the build process.
Personally, I don't like messing around with Make files very much so I opted to start using Bash scripts instead. Using Bash also allows you to skip over installing GNU Make and I find it a little more intuitive to work with.
Here are a couple example repos where I build entirely from the IFS:

https://github.com/barrettotte/Anilist-IBMi/blob/master/makefile (using GNU Make approach)
https://github.com/barrettotte/RPGLE-Twilio/blob/master/build.sh (using Bash script)

I have a gist of a "generic" build script, but it is far from perfect...I hope to revisit it in the future
https://gist.github.com/barrettotte/278e1e97fc2ba23c7ad6366b0b4c8668 .
There are probably better methods out there somewhere for building. Niels Liisberg and Liam Barry are the two people I've seen that share some interesting stuff revolving around development using the IFS

Great suggestions. Thank you

A late but hopefully useful addition to this discussion... ;-)
You can easily compile from IFS - no need for copying to a traditional source file before compile.
Most compile commands have now a parameter SRCSTMF where you specify the streamfile in the IFS.
All RPG, COBOL, CL, CMD create commands have this.
If the CRT command does not have the SRCFILE parameter, you can use the excellent utility from Brian Garland called CRTFRMSTMF. This allows compilation of DDS (DSPF, PF, LF), PNLGRP etc.
Once I started using the IFS and git on my IBM i source I never looked back. :-)

@chrjorgensen @mlstoppa Hello, it has been a while. Recently a new IBM i extension has been created at https://github.com/halcyon-tech/code-for-ibmi .
This extension provides the ability to browse/edit source on the IFS or QSYS file systems, compile source, and more. Its still in development, but I feel that it is in a very good place right now.

closing since https://github.com/halcyon-tech/code-for-ibmi solves this issue.


gem install github-linguist --no-documentation

just an idea, is something like this possible?
gem install github-linguist --no-documentation

because the one thing "Installing ri documentation for github-linguist-7.3.1" takes ages, almost 10 minutes now.  And I just want to quickly check languages in my one repo, and I would happily use an online documentation for that.

ready:

Done installing documentation for charlock_holmes, escape_utils, mime-types-data, mime-types, rugged, github-linguist after 982 seconds
6 gems installed

Doesn't this StackOverflow answer work for you?

hah, fantastic. yei !
gem install --no-document github-linguist

perfect. Thanks.


Bang license comment to survive minification

Author credit and license should always be displayed.
Comments /*! with a bang */ survive passage through https://cssminifier.com/ and other css compression tools.

Oops, https://github.com/jkirkby91-2/Skeleton/pull/1 is what I meant.


61 - Replace HTTP methods strings with enums

fixes #61

Current coverage is 97.57% (diff: 100%)

Merging #67 into master will increase coverage by 0.05%

@@             master        #67   diff @@
==========================================
  Files            24         24
  Lines           805        824    +19
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            785        804    +19
  Misses           20         20
  Partials          0          0

Powered by Codecov. Last update 5b34992...24671f5


contrib: fix CERN contrib signal

skip CERN contrib signals when login happened via another login method
closes #228

@GraemeWatt @alisonrclarke are you able to test this PR? From my tests it fixes the issue.

I've tested your new branch with the HEPData web app code and I confirm that it fixes issue #228.  I no longer get the KeyError: 'cern_roles' exception from local login.  Many thanks for providing a solution so quickly.  Will you make a new release of the invenio-oauthclient package after merging this PR?

I've tested your new branch with the HEPData web app code and I confirm that it fixes issue #228. I no longer get the KeyError: 'cern_roles' exception from local login. Many thanks for providing a solution so quickly. Will you make a new release of the invenio-oauthclient package after merging this PR?

Yes indeed, I am just doing the last tests on the the module, I should be able to release it today.


Output Actual Curves for Ranking Evaluator

In the ranking evaluator (e.g. AUROC) we output the final score, but we don't output intermittent values that  could be used to plot the curves.
Let's put in some config option to control whether the curve itself is output or not.

I will be working on this issue!


VS Man: Visual Studio Code based file manager

I know that this idea is a bit outside the scope of the project :). But it seems to me that we lack a good dual-panel file manager with extensibility and remote access like in VS Code.

Yes, this is out of scope :-)


Transfer of repo

Hello,
@georgwittberger I am going to try different approach - I will delete my fork repo from GitHub (the changes are backed up locally and we can try the transfer then.

Transfer has been requested successfully.

@georgwittberger Thank you! It landed where it was aimed. I am now going to prepare the release of the upgrade.


Delete unused variable initialization code

Sorry for similar PR continuously.
Line 4536 in tinygltf.h file, there is unused variable initialization code like below.
    const auto pBuffer = pAttribute->buffer();

gcc compiler complained about that unused variable.
I found there is no side-effect in  pAttribute->buffer() call and also pBuffer variable is never used. Therefore I delete that line entirely.

@Snowapril Super awesome! :tada: Thanks! :pray:


cordova-plugin-background-mode  thread 1: signal SIGABRT ios

hello guys
i need your help for resolve my solution
when i add  cordova-plugin-background-mode
(ionic cordova add cordova-plugin-background-mode )
(npm install --save @ionic-native/background-mode)
and i run  ios
my app stop running and he take me error
int retval = uiapplicationMain(argc,argv,nil,@"AppDelegate");  Thread 1 : signal SIGABRT
and when i remove  ionic cordova add cordova-plugin-background-mode
(ionic cordova rm cordova-plugin-background-mode)
my app  run normal and when i run app in backgroung  he take me alert  ("cordova not install")
please help me

@abdelhamidTsouli did you find any solution for this issue?
Even I am facing the same issue in my app.

Has someone found the solution? I have the same issue.

Anyone please? Just installing the base plugin, like the original post explain, cause the issue. It works just fine in android but in ios there is no error, the debugger stop at "int retval = uiapplicationMain(argc,argv,nil,@"AppDelegate"); Thread 1 : signal SIGABRT" and there is nothing we can do.

Alright guys, this is what you need to do. Open up xcode (Or your editor of choice), and search for
"_requiresUserActionForMediaPlayback" (No quotes)
Replace that string with "requiresUserActionForMediaPlayback"
This is an issue that was fixed on the latest git repo, but for some reason has not made itself to npm.

You can also pull it directly from the repo, but for some reason I still can’t play my media on background. It plays, but it lags and kind of loops every 2 seconds and then continues.

Alright guys, this is what you need to do. Open up xcode (Or your editor of choice), and search for
"_requiresUserActionForMediaPlayback" (No quotes)
Replace that string with "requiresUserActionForMediaPlayback"
This is an issue that was fixed on the latest git repo, but for some reason has not made itself to npm.

This worked for ios under 12.
It comes back again when I tried to install on IOS 12.2. Please give me a solution. Thanks.

1 for the crash on 12.2 from the example of @luatvudinh
Also i think it caused some damage on latest android version, but this is not confirmed

Alright guys, this is what you need to do. Open up xcode (Or your editor of choice), and search for
"_requiresUserActionForMediaPlayback" (No quotes)
Replace that string with "requiresUserActionForMediaPlayback"
This is an issue that was fixed on the latest git repo, but for some reason has not made itself to npm.

This worked for ios under 12.
It comes back again when I tried to install on IOS 12.2. Please give me a solution. Thanks.

I'm also having the same problem

I am also having the same problem in iOS 12.2

I am also having the same problem in iOS 12.2

Try in file src\ios\APPBackgroundMode.m replace following lines

(NSString*) wkProperty
{
NSString* str = @"X2Fsd2F5c1J1bnNBdEZvcmVncm91bmRQcmlvcml0eQ==";
NSData* data  = [[NSData alloc] initWithBase64EncodedString:str options:0];
return [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
}
with

(NSString*) wkProperty
{
NSString* str = @"YWx3YXlzUnVuc0F0Rm9yZWdyb3VuZFByaW9yaXR5";
NSData* data  = [[NSData alloc] initWithBase64EncodedString:str options:0];
return [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
}

remove and add the platform again

@rodrigoti Thanks, it works!

@rodrigoti not working for me sir..

@rodrigoti não está funcionando para mim senhor ..

try to change directly in the file inside the ios platform:
platforms/ios/project/Plugins/cordova-plugin-background-mode/APPBackgroundMode.m
(NSString *) wkProperty
{
NSString * str = @ "X2Fsd2F5c1J1bnNBdEZvcmVncm91bmRQcmlvcml0eQ ==";
NSData * data = [[alocação NSData] initWithBase64EncodedString: str opções: 0];
return [[NSString alloc] initWithData: codificação de dados: NSUTF8StringEncoding];
}
com
(NSString *) wkProperty
{
NSString * str = @ "YWx3YXlzUnVuc0F0Rm9yZWdyb3VuZFByaW9yaXR5";
NSData * data = [[alocação NSData] initWithBase64EncodedString: str opções: 0];
return [[NSString alloc] initWithData: codificação de dados: NSUTF8StringEncoding];
}
remember that requiresUserActionForMediaPlayback must be without (_)
_requiresUserActionForMediaPlayback, if downloaded by github, should already this requiresUserActionForMediaPlayback ...
Sorry for my english, I'm not native, I'm from Brazil.

use following commands to fix that issue :
ionic cordova plugin rm cordova-plugin-background-mode
ionic cordova plugin add https://github.com/iowayankee/cordova-plugin-background-mode.git


Right-clicking with a bottle on a block of liquid honey results in a water bottle

A known issue, but I don't really know what to do with it. Should it do nothing? Should it grab a honey bottle with a chance to destroy the fluid? Because it can't just act like water does and give infinite bottles as that'd break so much balance...

I can think of three possibilities:

no interaction at all
1/3 chance to destroy the source block
different fluid states on the source block for how many bottles have been taken

I vote no interaction (or my proposal at the bottom). If someone wants to bottle honey from source liquid, they should have to:

go through a tank
use a cauldron
craft it normally

If we have an interaction event for a single bottle, it would have to be:

custom functionality (eg. differing source levels)
unfair/accident-prone (only get 1 bottle for a single source)
RNG
-- none of which are fun.

Another option, which is slightly saner, is requiring the player to have 3 empty bottles in their hand. This would bottle all 3 and remove the source block.

Ooh, I actually like the concept of three bottles in hand!


ApiModelProperty.dataType() will not be used

With 0.9.5 the dataType() will not be used. Almost all other values are handled but not dataType(). Is there a reason for this?

@MiErnst The reason this is not used is that we're prefer the natural data types over annotated data types. Couple of reasons for this

dataType() can never reflect a type metadata completely. For e.g. if you were to render a data type that is a generic type or List<String>
philosophically the library takes the stand of providing the documetation with minimal annotation. So in that vein we mostly prefer annotations that enrich prose of the documentation, rather than the semantic.

That said, in the upcoming release, you'd be able to access; a simpler to understand plugin model to provide your custom documentation to meet your needs.

Hi, thanks for the fast response.

dataType() can never reflect a type metadata completely.
philosophically the library takes the stand of providing the documetation with minimal annotation.

Ok, in my case we use a generic wrapper class and custom serializers/deserializers around IDs to be type safe. So the documented type should be for example string instead of Wrapper<<Foo>>. So the documentation should adjust to the code we are writing and not the code adjusts to the documentation. As long as I know the type which should be used, the annotated value should be in the lead as I want to explicitly override the default generated value. It would be nice if the dataType() property could also be handled in a 1.0.x version.
What are the release plans for a 2.0?

@dilipkrish Is dataType officially going to be honored with 2.0, or will there just be the plugin model mentioned that will allow us to implement it ourselves easily? I'd love to see it natively implemented, at least for primitive types and String. I have many cases where I want to use the toString() representation of an object in a service, and right now I can't properly document it.

@jordanjennings @MiErnst  Just added support for this is 2.0


Added ConvertTo-Json to PowerShell Example when listing aliases

Search-AzGraph -Query "where type =~ 'Microsoft.Compute/virtualMachines' | limit 1 | project aliases" will return a result similar to
"
aliases
@{Microsoft.Compute/virtualMachines/storageProfile.osDisk.createOption=FromImage; Microsoft.Compute/virtualMachines/networkProfile.networkInterfaces=System.Object[]; Microsoft.Compute/virtualMac… "
Adding ConvertTo-Json will return a result similar to using Az CLI

@whaakman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks @whaakman for improving the code sample here.  It's appreciated!
#sign-off


Installation error - does have container ?

Hi,
I'm having a trouble with the installation
Doe's anyone has a relevant container ?
Thanks :)

Hey @DavidShaer
I think making a Dockerfile would be a quite straightforward task and a nice contribution as I've lots of people with dependency issues. Wanna work on a PR for that?


Get location without GPS

LONGITUDE
The time of solar noon needs to be known for longitude
OR
The compass direction to the sun
LATITUDE
The angle of the sun needs to be known for latitude (may be hard to get without using the camera, as sighting the phone down its spine can't be used when looking directly at the sun)
OR
The length of the shadow of a known height object.
OR
The altitude of the north star (only works in the northern hemisphere)

Longitude
Given you have your latitude, the longitude can be calculated as the difference (in hour angle) between your local solar time and UTC. Local solar time can be calculated using this method: https://astronavigationdemystified.com/2013/05/08/the-survival-sundial-2/ (for which the compass can be used)
But if the time of solar noon is known (when the sun is either directly north or south), then the latitude does not need to be known to calculate longitude.

Latitude
Given you are in the northern hemisphere and it is night time, the altitude of the North Star (Polaris) is your latitude.
The angle of the sun can also be used - more research is needed on the calculation required for this. I might be able to brute force a calculation of the latitude using astronomy calculations and choosing the closest match for the current UTC time.

Both
If you know the altitude (technically 90 - altitude) of 3 well-known stars, you can get your latitude and longitude. The GP of the well-known stars must be known (youtube.com/watch?v=UV1V9-nnaAs)

Maybe  a classic is of help in further research:
"Celestial Navigation for Yachtsmen / Mary Blewitt", 13th ed., 2017, 78 p., Adlard Coles Nautical,  978-1-4729-4287-6.
It is actually a good read and quite practical (IOW not for the mathematician, who wants all proofs ;). It also gives estimations for the precisions achieved.
Depending on the precision of the measurements taken, however, you might end up quite a bit off. Too much off for hiking, I fear, if you only take the above measurements into account. The classical method relies on a precise time, the use of a sextant to measure the heights, and the nautical  almanac at hand to really know the positions in question and a few tables for corrections. The almanac may be addressed by brute force calculation.

After some testing, I found that using the altitude of the north star is too imprecise to get the latitude using just a phone. And identifying the precise time of solar noon may be difficult to do.
I may list this in a guide instead, and potentially create a tool around solar noon, as it is more feasible to do than the north star method (using a shadow stick).
I think the best option for finding location without GPS will be triangulation using existing beacons.

BTW: beyond hiking, but one ingredient for doing the "celestial method" using a sextant, is a well known time. IRL, you take your measurement and once you have the sun down to the horizon you call out "now" and your colleague notes the time up to the second. (Or, presses a stop watch, to "transfer" the time to the ships chronometer.)
Taking the time is almost perfectly addressed in #306: finally, a clock in UT that syncs against GPS and displays seconds. One could now imagine just pressing the clock in TS to jot down the required time. Probably, add the sextant reading, one click more for upper rim/lower rim and another for sun/moon to get a complete log the entry. Potentially a free text to be able to include stars. (And for cross checking add current position from GPS, if available.) You could then take this to the chart table and work out the details.
Of course one could call the issue solved if one has a GPS fix, so no need to bother with a sextant. However, if you're about to learn how to use the sextant, it is a nice idea to avoid an additional error due to a wrong clock reading. 13:24:14 or was it 13:24:41 in the heat of the battle...

BTW: beyond hiking, but one ingredient for doing the "celestial method" using a sextant, is a well known time. IRL, you take your measurement and once you have the sun down to the horizon you call out "now" and your colleague notes the time up to the second. (Or, presses a stop watch, to "transfer" the time to the ships chronometer.)
Taking the time is almost perfectly addressed in #306: finally, a clock in UT that syncs against GPS and displays seconds. One could now imagine just pressing the clock in TS to jot down the required time. Probably, add the sextant reading, one click more for upper rim/lower rim and another for sun/moon to get a complete log the entry. Potentially a free text to be able to include stars. (And for cross checking add current position from GPS, if available.) You could then take this to the chart table and work out the details.
Of course one could call the issue solved if one has a GPS fix, so no need to bother with a sextant. However, if you're about to learn how to use the sextant, it is a nice idea to avoid an additional error due to a wrong clock reading. 13:24:14 or was it 13:24:41 in the heat of the battle...


Update llama_parse_json_element.py to fix error exception caused by certain PDF

Please refer to https://github.com/run-llama/llama_index/issues/12314 for a detailed explanation of the bug fix.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
New Package?
Did I fill in the tool.llamahub section in the pyproject.toml and provide a detailed README.md for my new integration or package?

[ ] Yes
[x] No

Version Bump?
Did I bump the version in the pyproject.toml file of the package I am updating? (Except for the llama-index-core package)

[ ] Yes
[x] No

Type of Change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

Please refer to https://github.com/run-llama/llama_index/issues/12314

https://github.com/run-llama/llama_index/issues/12314


bpf: Add missing identity to TRACE_TO_STACK packet traces

Fixes: https://github.com/cilium/cilium/pull/18731.

/test

k8s-1.25-kernel-net-next failed with known flake https://github.com/cilium/cilium/issues/21120.


Confidence Score for Facial Landmark Detection.

MediaPipe Solution (you are using)
No response
Programming language
Python
Are you willing to contribute it
None
Describe the feature and the current behaviour/state
As of now, even if the part of face is occluded, mediapipe detects landmarks for it
Will this change the current API? How?
Yes, we should have confidence measure of detected landmarks.
Who will benefit with this feature?
Facial Landmarks should be detected only for visible portion of the face only.
Please specify the use cases for this feature
Facial Landmark Detection.
Any Other info
No response

Hi @Jourtics,
Could you provide more details about the feature you're looking for?  This will help our team understand your request better and implement it if it benefits the community. Thank you

For ex, in the following facial image,

the face is partially occluded but landmarks are extrapolated. So can we have some confidence measure, which tells how many landmarks are precise and how many of them are extrapolated?


Core Unit MIP Set (38, 39, 40, 41)

Corrected MIP Set + Proposals

@CPSTL , @LongForWisdom
MIP Set (38, 39, 40, 41) + Subproposals.
I'll update it them in the forum as well.
Thanks,
Juan

@juan-fintech Thanks, Juan! Would you be able to make this PR to the RFC branch instead?

Sure.
I thought we were not using RFCs anymore...
On Mon, 1 Feb 2021 at 18:58, CPSTL<EMAIL_ADDRESS>wrote:

@juan-fintech https://github.com/juan-fintech Thanks, Juan! Would you
be able to make this PR to the RFC branch instead?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makerdao/mips/pull/168#issuecomment-771041148, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APHIBBH3KA7V44VSLR6BM4LS43TTRANCNFSM4W47AG5A
.

@juan-fintech We are working on the branch management updates/plans but have not started the deprecation process yet. So, for now, the process is still the same.


Deployments Frequency not calculated correctly

Description:
Deployments Frequency not calculated correctly
Steps to reproduce:
This is happening on 15th of October

Add a new team
Add a new repository deployed via workflow. My Repository has 2 deployments in the last 30 days one in the 18th of September one on the 1st of October
Select the workflow that marks the deployment
Go to "DORA metrics"
Select the time range (initially from 15th Sep to 15th Oct)

Expected behavior:
I will see in the Deployment Frequency recognising there's two deployments per month
Actual behavior:
It identifies the number of deployments that happened within the selected time frame but the rate is incorrectly calculated
this is on the time range 15th Sept to 15th Oct.

this is on the time range 1 Oct to 15th Oct

this is on the time range 1 Sept to 30 Sept

Server Setup Information:
middleware v0.1.5

Operating System: linux debian with kernel "6.10.11-amd64"
Deployment Method: Docker version 26.1.5+dfsg1, build a72d7cd

Thanks for reporting the issue, @pal-tgiannakopoulos.
I believe this might have something to do with how the "monthly" count is being shown on the card, and may not affect your underlying Dora score, or the insights/data shown in the "See Details" page.
This'll get checked. :)

Hey @FurquanAnwer
I believe it might not be fixed yet. We had a change in priorities that pushed this one to the backlog.
We'll sort it out right after Christmas season. 😅


Add metab admin form to add/remove aliases.

What does this change do? Please be clear and concise.
Add a form which allows you to create a new alias or delete an existing
alias. Also changed the names table to extend the unique constraint to a withheld
boolean as well. This means that when you mark someone withheld you can still use
their name as an alias. Also update change user's withheld to mark all names as the same
updated withheld status.
Why was this change made? Including an issue number is sufficient. Otherwise, briefly explain the benefit of the change.
Completes SEP-133
Verification
List the steps needed to make sure this thing works. Be precise.

Setup a local supplemental database by following the steps in the README.
Start a local metab_admin instance with the steps in the README
Fill out the alias form
Verify that the data in the database match (names withholding changes from true/false, names get added).

Verify the thing does this:

Ensures that active aliases are unique

Affirmations
All of these should have a check by them. Any exception requires an explanation.

[x] I matched the style of the existing code.
[x] I added and updated any relevant documentation (inline, README, CHANGELOG, and such).
[x] I used Python's type hinting.
[x] I ran the automated tests and ensured they ALL passed.
[x] I ran the linter and ensured my changes have not introduced ANY warnings or errors.
[x] I have made an effort to minimize code changes and have not included any cruft (preference files, *.pyc files, old comments, print-debugging, unused variables).
[x] I have made an effort maintain a clear commit history (haven't merged other branches or rebased improperly).
[x] I have written the code myself or have given credit where credit is due.

Be sure to add After and Before screenshots when the UI changes. In this case it'd just be After.

After an error occurs, the checkbox still indicates the person is withheld when they are not. I'd prefer if it reverted to the previous state.

@ufl-taeber I fixed it so that the checkbox will revert back to the state before the error message.


Load button on 3D Preview is not showing up in Safari.

If you go to a 3D image (say FB00000237) and go to the preview section, the load button in the viewer pane is not showing up.  It is there, as you get the hot spot and if you click the image does render.

I'm stumped on this far. This might be an issue for slicedrop/@meihuisu. The load button shows up normally if you [directly visit the iframe's source url] (https://www.facebase.org/_viewer/xtk/view_on_load.html?url=https://www.facebase.org/hatrac/facebase/previews/fb1/FB00000177/CP084CCMB_transformed.nii.gz" src="https://www.facebase.org/_viewer/xtk/view_on_load.html?url=https://www.facebase.org/hatrac/facebase/previews/fb1/FB00000177/CP084CCMB_transformed.nii.gz), so I'm guessing the invisible button behavior has to do with how Safari renders the viewer in an iframe.

@hongsudt this is still an active issue and we should schedule it to a sprint

@robes is this needed for facebase?

yes

@howdyjessie, how do I get to that link you point to from facebase? what is the iframe that enclosing it
looks like.

This has nothing to do with the viewer-slicedrop if the image do shows up. It should be the
iframe and safari problem or safari with $.holdReady()

@meihuisu This is the FaceBase link that shows the embedded iframe: https://facebase.org/data/record/#1/legacy:dataset/id=4696

if you hover on the invisible button(until you see a hand) and click right mouse
button (without actually selecting it), the load button actually appears, it is
iframe/safari UI problem. you need to check the iframe tag, and button tag and maybe $.holdReady()
for safari, and on stackoverflow, people mentioned things about width of iframe-target, transparency of iframe-tag.

@howdyjessie I assume this is for you to fix now?

@hongsudt Looks like it is :)

This app is going away. Will mark this as won't fix.


Consume build-templates-bundle from build-definitions

Use pipeline from tekton bundle generated by
redhat-appstudio/build-definitions .

/retest

/retest

Hi @Michkov , Did you have a chance to run these pipelines after making these changes to see if they work fine?

Asking because the CI check here doesn;t do a lot in that area yet :)

@sbose78 @Michkov This build won't work yet, need to update the docker build ignores the dockefile param at the moment :(

@sbose78 Yes, tested locally on level of applying changes via gitops and simulating curl to trigger start of pipelinerun, pipelinerun started and failed on missing credentials, which was expected.

So, should we merge this? 🤔

How did this work @Michov ? the docker-build params don't match the names in the triggers.

Yes, the current pipelines and the ones in .tekton have small mismatched things (param names) and under inspection, the docker-build one is broken as it sadly ignores the params.

The tkn command is weird, I guess they look at the PRun and describe the passed parms and not at the pipeline itself and describe the expected params

Updated to v0.1.3. Tested till build of the container, failed with push which is expected.

Is this good to merge ?

Yes,  this is ready. I tested the pipeline manually via build scripts  ./build.sh https://github.com/redhat-appstudio/managed-gitops and it succeeded

Updated to build-bundle v0.1.4, tested using EventListener, pipelineRun started, container built, failed on pushing since I do not have right credentials. This can be merged.


Post-processing of the data

Is there a way to save the output of extensive cycle data of battery pack and use it later on in post-processing to generate required plots? Sometimes rerunning the simulation is time-consuming; therefore, it will be helpful to save the output and use it for post-processing.

@survik19 I created a pull request that may satisfy this issue. I noticed that saving to CSV takes up a lot of disk space compared to using NumPy's binary formats .npy and .npz.

I think we also need to journal the simulation objects themselves so that you can restart a simulation from a later point if it fails or for other reasons. This will be more tricky I expect and probably not using the npz files but in some ways they might be better than a pickle file which would rely on persisting the class definitions. Something to discuss

i'm sorry, i try to save data to csv, but if i write the code
lp.save_to_csv(output)
so, the result is
module 'liionpack' has no attribute 'save_to_csv'

i'm sorry
i try to save file to csv but the result is
module 'liionpack' has no attribute 'save_to_csv'

@SyarifulAzis1018 did you pull down the latest main branch and restart your kernel?
See the save_ouput.py example script for how to use

@SyarifulAzis1018 did you pull down the latest main branch and restart your kernel? See the save_ouput.py example script for how to use

I don't know i use latest main branch or not, i think i use it, because i just installed it. And i use script from example, but the result still same,
Can you help me? Please

Ok so main branch is slightly behind pip. I'm going to push a new version to pip today

Ok so main branch is slightly behind pip. I'm going to push a new version to pip today

Thank you, my problem is already solved, thank you so much


Add function for removing rules

Adds:

A function for removing rules without re-indexing, so that existing rulenode trees that do not make use of the removed rule remain valid.
A function for cleaning up removed rules (re-indexing)

Closes https://github.com/Herb-AI/Herb.jl/issues/20


feat(tutorial): complete step 5

IBM Cloud URL: http://carbon-tutorial-windblown75.mybluemix.net/#/

Per instructions in the tutorial step 5, please include your mybluemix.net URL for your deployed app in your pull request description.

Thanks @kellychurchill  - I missed that instruction - updated the description with the URL.


[3.0.0-alpha] Incorrect behavior when forcing time unit to month

Expected Behavior
Using unit: 'month' for time axis should be ok whatever the data.
Current Behavior
If the intervals between data points are too short, using unit: 'month' leads to unusable chart.
Steps to Reproduce (for bugs)
Fiddle that reproduces the issue: https://jsfiddle.net/7ce1afx4/
If we remove unit: 'month', the issue is gone.
If in generateDate we add "* 30" to generate monthly points instead of  daily points, the issue is gone too.
Context
I encountered this issue after migrating to 3.0.0-alpha, I think this is a regression because I never saw this with 2.9.
Environment

Chart.js version: 3.0.0-alpha
Browser name and version: Chromium 80

The unit is being set to 'month', but there's less than a month's worth of data, so you end up with only a single tick. When you say it worked fine in 2.9 what was the behavior there? Maybe you could share another fiddle that demonstrates the behavior in 2.9?
The issue seems to be that getPixelForTick(0) is returning a crazy value in fit:
https://github.com/chartjs/Chart.js/blob/b73b8f98633f399ac804d52bb0c8ed6d2212d3ea/src/core/core.scale.js#L751
Because of that crazy offset value, we get huge padding resulting in negative _length, so _autoSkip removes the 1 tick because it things we have room for 0 ticks.

There's a single tick generated for March 1, 2020. The min is March 21, 2020 and the max is March 31, 2020. It sort of seems right to me that if you have unit: 'month' and a min and max that don't span a month boundary that you end up with no ticks. If you simply remove unit: 'month' then it'll pick the unit for you as 'day' and you get a chart more like one might expect.
It's not really clear to me how else you might expect this to work other than how it works now. I suppose we could figure out that unit: 'month' has no ticks insides the min and max bounds and then change the unit for you, but I'm not sure I like the idea of ignoring or overriding user-specified values. If you want us to figure out the appropriate unit then it seems like the best thing to do is just not specify the unit

Thank you for you answer.
Same fiddle slightly modified with 2.9.3: https://jsfiddle.net/e9x4cq31/
Not perfect because there is no ticks displayed under the axis, but at least the data is displayed correctly.
I need to do this because I have an irregular stream of data coming with intervals between points that can be days or months, and I would want minor ticks to be months and major ticks to be years even at the begining of the stream when the first points are only some days. In this case I would want only one tick displayed with the beginning month.

BTW the main issue for me is not that there is no ticks, but the rendering issues (cropped chart, no points, no tooltips, no interactions, line not filled, etc.) that do not exist in 2.9.3.

Ah, I see. Thanks for the added details. The fiddle helps a lot in showing what's changed. Thank you for putting that together

It looks like the issue is that getPixelForDecimal is returning wonky values because _length is negative. We should probably clamp the return value of getPixelForTick to stop that from happening

It also seems like filterBetween isn't working because buildTicks should return no ticks

I sent a fix here that makes your sample work: https://github.com/chartjs/Chart.js/pull/7211
Thanks for the bug report and trying out the alpha!

I want to thanks you and all the Chart.js maintainers for your great work, this alpha fixes many long standing bugs I had with 2.x and already seems pretty stable!


fix: update gatsby-sharp plugin

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Create Ternary_Search.md

Description 📜
Here , i have explained about ternary search algorithm.
Fixes #4033

Type of change 📝

[x] Doc#umentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] C/#CPP

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@Saviour1001  @Suvraneel   please review my PR and suggest changes.

Awesome work @Rohit-dubey45 !!


S3Eval Dataset

S3Eval
Introduction
The following introduction comes from the abstract in S3Eval: A Synthetic, Scalable and Systematic Evaluation Suite for Large Language Models
S3Eval, our latest contribution to the field, addresses the critical need for comprehensive evaluation resources for Large Language Models (LLMs). In the pursuit of understanding long-context comprehension and enhancing reasoning capabilities, we present a benchmarking suite that is both synthetic and scalable.
Operating on SQL execution tasks, S3Eval challenges LLMs with randomly generated tables and SQL queries, evaluating their ability to produce accurate execution results. This benchmark stands out for its versatility and scalability, providing unlimited evaluation resources for a robust assessment of LLM capabilities.
In this latest submission, we have generated a batch of high-quality data, encompassing nearly all types of queries with strong diversity. Moreover, the length of the tables spans from 200 to 200K, enabling a systematic evaluation of the long-context capabilities of the models.
For researchers and practitioners alike, S3Eval holds the promise of uncovering deeper insights into LLM performance. Explore the paper for detailed information on its design, experiments, and implications. We invite you to leverage S3Eval for your research endeavors and contribute to the evolving landscape of synthetic benchmark construction. 😊
Official link
Paper
S3Eval: A Synthetic, Scalable and Systematic Evaluation Suite for Large Language Models
Repository
S3Eval
Examples
Input example I:

You are an SQL executor, you need to execute SQL based on the give table and SQL statement to obtain the execution results.
| suiting   | chisel    |   highboy |   broccoli | newburgh   | acetum    |   brewpub |
|:----------|:----------|----------:|-----------:|:-----------|:----------|----------:|
| zbwamhiui | nnkfvevxw |        50 |         88 | zhwohj     | opufj     |       214 |
| zroosgm   | yvftt     |       309 |        168 | zhwohj     | xqsu      |       136 |
| zroosgm   | lnri      |       152 |         78 | zhwohj     | ikvsd     |       219 |
| kjsdl     | trei      |       234 |        287 | egkgkvbec  | mhxcxyg   |        23 |
| zroosgm   | mctnpwbd  |        71 |        242 | egkgkvbec  | yszfokeom |       180 |
| zbwamhiui | ptqtj     |        19 |         81 | egkgkvbec  | hyfmk     |       116 |
| zroosgm   | lpjvwn    |       258 |        313 | uftnwbd    | oevmj     |        65 |
| kjsdl     | ididumrhw |        64 |        101 | uftnwbd    | xjakwpayx |       327 |
| zbwamhiui | wdtncbyn  |       165 |        209 | uftnwbd    | xrbqvxb   |       192 |
| zbwamhiui | wyjjc     |       219 |          6 | uftnwbd    | pzqr      |       188 |
| zroosgm   | qumxgwvls |       314 |        246 | uftnwbd    | ehevtf    |        60 |
| zbwamhiui | adiyf     |       207 |        298 | egkgkvbec  | wbrgejgf  |        80 |
| zbwamhiui | qpgpbj    |       307 |        306 | egkgkvbec  | mcjuonhc  |       192 |
| zbwamhiui | ehsk      |        47 |        244 | zhwohj     | tcdlnc    |       280 |
| kjsdl     | orlosbok  |        21 |         93 | egkgkvbec  | dzvwohjo  |       103 |
| zbwamhiui | webyyylw  |        84 |        195 | egkgkvbec  | xbmv      |       289 |
| kjsdl     | mrcecp    |        48 |        264 | egkgkvbec  | xhprcocik |       265 |
| kjsdl     | ngajupd   |       247 |         52 | zhwohj     | pcokyw    |       247 |
| zroosgm   | xeeuixkze |       120 |        288 | zhwohj     | yishnriw  |       138 |
| kjsdl     | kbczy     |       119 |         13 | egkgkvbec  | ltpmyfdt  |        73 |
| zbwamhiui | uvvdzo    |       150 |         57 | uftnwbd    | tajlsm    |       295 |
| zbwamhiui | enbffevhp |       290 |         92 | zhwohj     | gjjznp    |        18 |
| zroosgm   | imubtcc   |        79 |         19 | uftnwbd    | eqymwj    |       112 |

SQL:select suiting from my_table group by suiting having count ( newburgh ) > 6
Answer:
| suiting   |
|:----------|
| zbwamhiui |
| zroosgm   |

SQL:select acetum,newburgh,suiting from my_table where highboy > 234
Answer:
| acetum   | newburgh   | suiting   |
|:---------|:-----------|:----------|
| xqsu     | zhwohj     | zroosgm   |
| oevmj    | uftnwbd    | zroosgm   |
| ehevtf   | uftnwbd    | zroosgm   |
| mcjuonhc | egkgkvbec  | zbwamhiui |
| pcokyw   | zhwohj     | kjsdl     |
| gjjznp   | zhwohj     | zbwamhiui |

SQL:select count ( chisel ) from my_table where highboy < brewpub group by newburgh having min ( highboy ) < 47
Answer:
|   count ( chisel ) |
|-------------------:|
|                  5 |

SQL:select newburgh from my_table where brewpub > 138 order by broccoli desc limit 1
Answer:
| newburgh   |
|:-----------|
| egkgkvbec  |

SQL:select suiting from my_table where highboy > broccoli group by suiting having min ( highboy ) < 314

Answer:

Output example I (from GPT-4):
| suiting   |
|:----------|
| kjsdl     |
| zbwamhiui |
| zroosgm   |

Reference
@article{lei2023s3eval,
  title={S3eval: A synthetic, scalable, systematic evaluation suite for large language models},
  author={Lei, Fangyu and Liu, Qian and Huang, Yiming and He, Shizhu and Zhao, Jun and Liu, Kang},
  journal={arXiv preprint arXiv:2310.15147},
  year={2023}
}

Thanks for your contribution, please add README.md in the config folder.
For example: https://github.com/open-compass/opencompass/blob/main/configs/datasets/IFEval/IFEval.md

Also please give some instructions on the dataset preparation and evaluation in README, thanks a lot.

Also please give some instructions on the dataset preparation and evaluation in README, thanks a lot.

Hi, i have added the README file, https://github.com/lfy79001/opencompass/blob/s3eval_branch/configs/datasets/s3eval/s3eval.md

@lfy79001 Hi, please update the readme with data preparation.

@lfy79001 Hi, please update the readme with data preparation.

Hi, this benchmark can be used directly by loading the dataset of huggingface without data preparation.


CodeCov Badge

code cov from last github actions test is automatically shown in readme

Github Action code is already written for this to work.
To make the badge work, go into Repo settings and set the secret variable CODECOV_TOKEN to the token you get from codecov.io.

Configure --> "Using Github Actions" --> Scroll down to step 2


Site crashes if you sign in and then click clear saved progress

To Reproduce
Steps to reproduce the behavior:

Open site in incognito window
Click on avatar icon on top right
Click I've copied and backed up my code
Click on avatar icon on top right again
Click Clear saved progress

Screenshots and/or logs
https://user-images.githubusercontent.com/3655410/215148827-2846c821-a101-48cf-b635-72f9732329cb.mp4

Cause seems to be a similar issue to https://github.com/saving-satoshi/saving-satoshi/issues/94.
Took a quick glance at the code and based on the previous discussion , I think the LoginModal should only be rendered in NavBar if the user is registered. I also noticed a bunch of redundant code for keeping track of user state. Might be worth it to consolidate the user state management into a provider or hook.

Yes, looks like state management across the signup/login modals is broken. For step 5, you currently see the login state of the login modal, but you are already logged in and should see that state.
I think the problem is that the two modals do not refresh when they become visible. So they are dealing with an outdated state. We may need to introduce some type of global event bus to broadcast log-in/log-out/user-update states, or find a way to introduce a globally accessible reactive user object whose properties update components. I am not super well-versed with React and Next, maybe you have some good ideas on how to achieve this?

Maybe use something like use-local-storage-state hook https://github.com/astoilkov/use-local-storage-state. That looks like it broadcasts events whenever the values in localstorage are updated. It might not be necessary though. It might be possible to just use React Context or a simple custom useUserReducer hook to handle the user state management.

If not one else wants to tackle this, I can jump on it.

Please go ahead. Would be amazing if you can solve this.

@ecurrencyhodler you can assign this to me and move it to in progress.


Autoclean bugs & design

[ ] Autoclean command should not require a variable.
[ ] Autoclean command should force remove a container to avoid things like  You cannot remove a running container d8c9d51c44f7323114923f0c0dcaa85b8f14b08e5f49450a35aa63b1d11c3a6d. Stop the container before attempting removal or use -f

If autoclean is meant to be project specific, maybe there is room for another command.
Maybe dobi format that should

[ ] not be project specific
[ ] stop/remove all running containers created by dobi?
[ ] remove exited containers.

cescoferraro@desktop: ~/code/go/src/github.com/dnephin/dobi on feature/serve [?]
$ docker ps -a | grep cescoferraro-
d8c9d51c44f7        cescoferraro/mongo:latest   "/run.sh"                 8 hours ago         Up 8 hours                27017/tcp, 28017/tcp   dobi-cescoferraro-serve
d43f786a2c7c        cescoferraro/api:tools      "/usr/bin/reflex -r \\"   41 hours ago        Exited (0) 14 hours ago                          api-cescoferraro-watch
850158394fbc        cescoferraro/power:watch    "docker/script/watch"     42 hours ago        Exited (0) 14 hours ago                          power-cescoferraro-watch
6e77373d6526        cescoferraro/iot:base       "ionic serve --all"       2 days ago          Exited (0) 14 hours ago                          iot-cescoferraro-watch

cescoferraro@desktop: ~/code/go/src/github.com/dnephin/dobi on feature/serve [?]
$ dobi autoclean
[job:rm watch]  Removed
[job:rm test-unit]  Removed
[job:rm test-examples]  Removed
[job:rm test-examples]  Removed
[job:rm test-unit]  Removed
[alias:rm test] Done
[WARN] [mount:rm source] .:/go/src/github.com/dnephin/dobi Bind mounts are not removable
[job:rm shell]  Removed
[WARN] container=dobi-cescoferraro-serve [job:rm serve]  Failed to remove container: API error (409): You cannot remove a running container d8c9d51c44f7323114923f0c0dcaa85b8f14b08e5f49450a35aa63b1d11c3a6d. Stop the container before attempting removal or use -f

[job:rm serve]  Removed
[WARN] [image:rm releaser] dobi-release failed to remove "dobi-release:dobi-cescoferraro": no such image
[image:rm releaser] dobi-release Removed
[job:rm release-version]  Removed
[ERROR] A value is required for variable "env.DOBI_VERSION"

cescoferraro@desktop: ~/code/go/src/github.com/dnephin/dobi on feature/serve [?]
$ VERSION=22 go run main.go autoclean
[job:rm watch] {[]} Removed
[job:rm test-unit] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-unit] {[]} Removed
[alias:rm test] Done
[WARN] [mount:rm source] .:/go/src/github.com/dnephin/dobi Bind mounts are not removable
[job:rm shell] {[]} Removed
[WARN] [job:rm serve] {[]} container=dobi-cescoferraro-serve Failed to remove container: API error (409): You cannot remove a running container d8c9d51c44f7323114923f0c0dcaa85b8f14b08e5f49450a35aa63b1d11c3a6d. Stop the container before attempting removal or use -f

[job:rm serve] {[]} Removed
[WARN] [image:rm releaser] dobi-release failed to remove "dobi-release:dobi-cescoferraro": no such image
[image:rm releaser] dobi-release Removed
[job:rm release-version] {[]} Removed
[ERROR] A value is required for variable "env.DOBI_VERSION"
exit status 1

cescoferraro@desktop: ~/code/go/src/github.com/dnephin/dobi on feature/serve [?]
$ DOBI_VERSION=234 VERSION=22 go run main.go autoclean
[job:rm watch] {[]} Removed
[job:rm test-unit] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-unit] {[]} Removed
[alias:rm test] Done
[WARN] [mount:rm source] .:/go/src/github.com/dnephin/dobi Bind mounts are not removable
[job:rm shell] {[]} Removed
[WARN] [job:rm serve] {[]} container=dobi-cescoferraro-serve Failed to remove container: API error (409): You cannot remove a running container d8c9d51c44f7323114923f0c0dcaa85b8f14b08e5f49450a35aa63b1d11c3a6d. Stop the container before attempting removal or use -f

[job:rm serve] {[]} Removed
[WARN] [image:rm releaser] dobi-release failed to remove "dobi-release:dobi-cescoferraro": no such image
[image:rm releaser] dobi-release Removed
[job:rm release-version] {[]} Removed
[WARN] [image:rm dist-img] dnephin/dobi failed to remove "dnephin/dobi:234": no such image
[image:rm dist-img] dnephin/dobi Removed
[job:rm release-version] {[]} Removed
[ERROR] A value is required for variable "env.GITHUB_TOKEN"
exit status 1

cescoferraro@desktop: ~/code/go/src/github.com/dnephin/dobi on feature/serve [?]
$ GITHUB_TOKEN=2 DOBI_VERSION=234 VERSION=22 go run main.go autoclean
[job:rm watch] {[]} Removed
[job:rm test-unit] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-unit] {[]} Removed
[alias:rm test] Done
[WARN] [mount:rm source] .:/go/src/github.com/dnephin/dobi Bind mounts are not removable
[job:rm shell] {[]} Removed
[WARN] [job:rm serve] {[]} container=dobi-cescoferraro-serve Failed to remove container: API error (409): You cannot remove a running container d8c9d51c44f7323114923f0c0dcaa85b8f14b08e5f49450a35aa63b1d11c3a6d. Stop the container before attempting removal or use -f

[job:rm serve] {[]} Removed
[WARN] [image:rm releaser] dobi-release failed to remove "dobi-release:dobi-cescoferraro": no such image
[image:rm releaser] dobi-release Removed
[job:rm release-version] {[]} Removed
[WARN] [image:rm dist-img] dnephin/dobi failed to remove "dnephin/dobi:234": no such image
[image:rm dist-img] dnephin/dobi Removed
[job:rm release-version] {[]} Removed
[ERROR] A value is required for variable "env.CIRCLE_TAG"
exit status 1

cescoferraro@desktop: ~/code/go/src/github.com/dnephin/dobi on feature/serve [?]
$ GITHUB_TOKEN=2 DOBI_VERSION=234 VERSION=22 CIRCLE_TAG=22 go run main.go autoclean
[job:rm watch] {[]} Removed
[job:rm test-unit] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-examples] {[]} Removed
[job:rm test-unit] {[]} Removed
[alias:rm test] Done
[WARN] [mount:rm source] .:/go/src/github.com/dnephin/dobi Bind mounts are not removable
[job:rm shell] {[]} Removed
[WARN] [job:rm serve] {[]} container=dobi-cescoferraro-serve Failed to remove container: API error (409): You cannot remove a running container d8c9d51c44f7323114923f0c0dcaa85b8f14b08e5f49450a35aa63b1d11c3a6d.

I think this is still necessary, because the variable could be used in a tag, and without it you wont know which image to remove. With the new capture support it should be possible to encode the variables in the config, most of the time.

You cannot remove a running container

I wonder if the order is wrong. It should be ordered in such a way that all containers are stopped before images are removed.

I think this is still necessary, because the variable could be used in a tag, and without it you wont know which image to remove.

I think the that all tags should be removed. Maybe we should not remove the image if Pull. isSet, but otherwise people expect autoclean to clean everything.

I wonder if the order is wrong. It should be ordered in such a way that all containers are stopped before images are removed.

we could just append stop before rm here. https://github.com/dnephin/dobi/blob/master/cmd/autoclean.go#L44 but not all resources have a stop action. We must sort our resources better than alphabetically, so we can apply custom logic to each resource, like:
func removeTasks(conf *config.Config) []string {
	resources := conf.FilterNot(&config.JobConfig{})
	tasks := []string{}
	for i := len(resources) - 1; i >= 0; i-- {
		tasks = append(tasks, resources[i]+":rm")
	}
	resources = conf.FilterBy(&config.JobConfig{})
	for i := len(resources) - 1; i >= 0; i-- {
		tasks = append(tasks, resources[i]+":stop")
		tasks = append(tasks, resources[i]+":rm")
	}
	return tasks
}

// FilterBy returns a list of resource names of the same time as the given parameter
func (c *Config) FilterBy(thing interface{}) []string {
	filter := reflect.TypeOf(thing)
	names := []string{}
	for name := range c.Resources {
		if filter == reflect.TypeOf(c.Resources[name]) {
			names = append(names, name)
		}
	}
	sort.Strings(names)
	return names
}


fix: rename introduction folder

What kind of change does this PR introduce?
renamed folder with incorrect spelling
Additional context
fix raised by @0xflotus :)
original issue - https://github.com/supabase/supabase/pull/405

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Send Only Mail Server

This container can't be used as a send only mailserver yet. The problem is the forced generated vhost file, which will cause the mailserver to try to deliver for those domains locally, even so it should never even try to receive anything.

Thank you @wzrdtales for following the contributing guideline with opening an issue and a corresponding PR; we value contributions to this project. I will post this answer here as well as on the PR, so don't get confused.
I think this idea is worth merging, but there are some flaws which will need to be fixed up, by you if you want this in master. First of all, for this feature, we will need to see tests to verify that it works properly. Moreover, the documentation needs extension too. But you said:

I do not have too much time at hand, so I am just leaving that here, there is probably some work to do to pull it in [...]

Hearing you don't have time, and neither have we for this feature request, there is little chance this is going to be merged soon. If you're willing to invest more time in this, we will happily review and merge these changes. Therefore, I will close the PR for now and mark it as frozen. When the time has come for you or anyone else to pick up and finish this work, please rebase from (then) current master and create a new PR. I will close this issue too. You will not need to re-open it in case you create a new PR, because I now know about it. Feel free to re-open this issue if you changed your mind and want to finish this work sooner than later.
PS: Have a look at make shellcheck. The build failed just because of the shellcheck-tests.

That was the intention behind it, I hard forked and adjusted it for my purposes and my way of giving back to open source very often is just sharing what is working for me, but not necessarily finishing it to the needed quality degree (I would love to, but if I would have time at hand I would invest them in my own open source efforts first and others second, and even for those I lack time :/). Should I really find time somewhat soon I will have a look again, otherwise hopefully someone else who didn't dedicate all his time to other things will fine tune it :)


DOC: improve installing from source instructions

Updates outdated macOS instructions, and makes a clear difference between regular building from source to install once as a user vs. using dev.py to work on SciPy itself.
[skip github]
[skip azp]
This follows up on feedback from @oscarbenjamin at https://github.com/scipy/scipy/issues/16308#issuecomment-1222415255

It can still be a problem, for some reason people seem to want to mix Homebrew and Conda - and that may result in weird errors. But not much can be done about that, short of actively trying to detect it and emit a warning (which is too much trouble I think).

Maybe spell out in big bold letters: if using conda, install everything with conda, including python itself and compilers (not sure about that part really). If using pip, use the system package manager (homebrew, apt, yum etc).

That requires some more surgery, because conda is only covered in the development workflow on a separate page, not in a "I already have a conda env, now want to build from source to just install SciPy and be done with it". I'm also not sure if there is a use case outside of development, given that there will be scipy binaries for any system you have conda installed in. I'm not quite up for a bigger overhaul now, it already ballooned a bit - I just wanted to add one command to address @oscarbenjamin's feedback.


[pt-br] Add docs/tasks/configure-pod-container/migrate-from-psp.md

/remove-lifecycle stale

Hi @DonatoHorn Thank you for your contribution!

/lifecycle rotten

/remove-lifecycle rotten

/cc @stormqueen1990
PTAL

/lgtm
/approve

Hi, MrErlisson.
When I did the sink the robot removed the LGTM you added before, and after that, Jhonmike put the LGTM and Approve it. Now this PR is waiting and I don't know what I can do to forward it.

Hi there, @DonatoHorn! 👋🏻
I unfortunately missed the review request but will take a look this coming
week so we can move your contribution forward. Thanks for bringing it to
our attention!

Hi, there
Just needing an Approve label.

/retitle [pt-br] Add docs/tasks/configure-pod-container/migrate-from-psp.md

/label tide/merge-method-squash

/cc

/uncc

Hi @DonatoHorn
Just a few changes.

@DonatoHorn @MrErlison : This PR has been pending for quite some time now without any activity due to which I'll be closing off the PR. If you wish to resume work on this PR, please consider reopening it.
/close


docker-boshrelease job is failing to start in CI pipeline

This appears to have resolved itself. Is it possible that one build picked up a corrupt version of the docker-boshrelease? (pipeline complained that it was missing manifest.MF)  Verified that the corresponding build completed successfully (which may not be a good thing). Closing this for now, but if it happens again we may have to make the release download/upload verifications more robust.


ASP.NET 2.1 not available?

I followed this guide today, I could not Choose ASP.NET 2.1, only 2.0 in the first step

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

ID: a25bf940-8977-fec4-461b-542a9f550fc8
Version Independent ID: 5492c641-af15-64b8-beaa-ddf511be73e6
Content: Get started with Razor Pages in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/razor-pages-start.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What version of VS do you have? Latest is 15.7.6.

I have 15.7.6, I downloaded right before taking the tutorial.

@GuSoder That's strange ... install the SDK v2.1.302 and see if that does the trick.
https://www.microsoft.com/net/download

Yeah, that fixed it


KUE-UI sends error when shuttingdown and then recreating a kue

TypeError: Cannot read property 'zcard' of null
at Queue.card (/Users/dev/Documents/integrity-automation/node_modules/kue/lib/kue.js:502:14)
at Queue.inactiveCount (/Users/dev/Documents/integrity-automation/node_modules/kue/lib/kue.js:605:17)
at _ (/Users/dev/Documents/integrity-automation/node_modules/kue/lib/http/routes/json.js:305:19)
at exports.stats (/Users/dev/Documents/integrity-automation/node_modules/kue/lib/http/routes/json.js:41:3)
at Layer.handle as handle_request
at next (/Users/dev/Documents/integrity-automation/node_modules/express/lib/router/route.js:131:13)
at /Users/dev/Documents/integrity-automation/node_modules/kue/lib/http/middleware/provides.js:11:36
at Layer.handle as handle_request
at next (/Users/dev/Documents/integrity-automation/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/Users/dev/Documents/integrity-automation/node_modules/express/lib/router/route.js:112:3)
at Layer.handle as handle_request
at /Users/dev/Documents/integrity-automation/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/Users/dev/Documents/integrity-automation/node_modules/express/lib/router/index.js:330:12)
at next (/Users/dev/Documents/integrity-automation/node_modules/express/lib/router/index.js:271:10)
at SendStream.error (/Users/dev/Documents/integrity-automation/node_modules/serve-static/index.js:120:7)
at emitOne (events.js:77:13)
at SendStream.emit (events.js:169:7)
at SendStream.error (/Users/dev/Documents/integrity-automation/node_modules/send/index.js:245:17)
at SendStream.onStatError (/Users/dev/Documents/integrity-automation/node_modules/send/index.js:356:12)
at next (/Users/dev/Documents/integrity-automation/node_modules/send/index.js:630:16)
at onstat (/Users/dev/Documents/integrity-automation/node_modules/send/index.js:619:14)
at FSReqWrap.oncomplete (fs.js:82:15)

This error appears, when i shutdown que and create a new Kue again,with in the application.
The error appears on /api/stats call from browser on an interval.

Same here!

I also get this error upon shutdown when the UI connected, any update on this?

This is no longer relevant to this particular repository. If you could try out https://github.com/stonecircle/kue-ui-express and let me know there if you have the same issue that would be great 👍


⚠ Turnos 24x7 has degraded performance

In afc8424, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1226 ms

Resolved: Turnos 24x7 performance has improved in 399035e.


Ability to exclude columns from tf.data.experimental.CsvDataset

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):2.0
Are you willing to contribute it (Yes/No): No (beginner level python skills)

Describe the feature and the current behavior/state.
There is an existing "select_cols" parameter; it would be useful to provide an "exclude_cols" parameter (possibly mutually exclusive) so that when you have 200+ columns in a CSV, but a small number of them are useful only to a human reader, you can exclude them from the dataset.
Will this change the current api? How?
It would only add an additional optional parameter
Who will benefit with this feature?
People wanting to train neural nets on CSVs full of multi-column data, e.g. to identify musical instruments from frequency spectrum
Any Other info.

This sounds useful. Marking as "contributions welcome".

Hey @omatai - thanks for filing this issue. @stjohnso98 has started working on it in #39799 and we wanted to clarify what the expectations for this feature are.
On a CSV file with many columns, even if we had an exclude_cols parameter, a user would still have to know and specify the types of the included columns. For example, suppose we had a CSV file with 200 int32 columns and we knew we wanted to exclude columns 3 and 5, we could call this API as follows:
record_defaults = [tf.int32] * 198
dataset = tf.data.experimental.CsvDataset(files, record_default=record_defaults, exclude_cols=[3,5])

but this to me doesn't seem that useful on top of what already exists (select_cols), since a user still has to specify all the included columns in record_defaults, and one can easily derive select_cols as the complement of exclude_cols as follows:
exclude_cols_set = set(exclude_cols)
total_cols = len(record_defaults) + len(exclude_cols)
select_cols = [i for i in range(total_cols) if i not in exclude_cols_set]

My take is that this would make more sense in a context where the user doesn't have to specify the columns included at all (for example, tf.data.experimental.make_csv_dataset tries to infer the types and number of columns if it's not provided).
Just wanted to clarify what you think this feature should look like -- can you give some code examples of how you expect to call exclude_cols? Thanks!

Hi Rachel,
I am comparatively new to Tensorflow, and not a native speaker of python. But I have 30+ years experience in programming, mostly in C++.
What you have written – two lines to specify directly what I would have wanted – is perfect. It makes Tensorflow more accessible to those strong on data science, but weak on python skills.
If you had asked me how to produce a list of included columns from a list of excluded columns in python, I would have wasted at least 15-30 mins. In my experience, this happens far too regularly with Tensorflow – I have taken 8 weeks on and off trying to get a specific adaptation of a VGG network translated from TF1.4 to TF2.1, but what used to work fine in TF1.4 still fails to converge as a ground-up rewrite in TF2.1. Both have fewer than 150 lines of code in them. The TF2.1 code is simpler and clearer, but it just doesn’t work. In TF1.4 it works, but it’s completely unintelligible. It’s exasperating. The hard work of getting network training to converge should not be held back by interfaces that make it hard to fit the pieces together. IMHO, Tensorflow could be and should be no harder than Lego.
So please consider providing this feature EXACTLY as you have imagined it so that Tensorflow does not become the equivalent of an “English speakers only” exclusive club. Accessibility matters.
Thanks,
Paul.
From: Rachel Lim<EMAIL_ADDRESS>Sent: Tuesday, 2 June 2020 7:56 am
To: tensorflow/tensorflow<EMAIL_ADDRESS>Cc: Paul Qualtrough<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [tensorflow/tensorflow] Ability to exclude columns from tf.data.experimental.CsvDataset (#39069)
Hey @omataihttps://github.com/omatai - thanks for filing this issue. @stjohnso98https://github.com/stjohnso98 has started working on it in #39799https://github.com/tensorflow/tensorflow/pull/39799 and we wanted to clarify what the expectations for this feature are.
On a CSV file with many columns, even if we had an exclude_cols parameter, a user would still have to know and specify the types of the included columns. For example, suppose we had a CSV file with 200 int32 columns and we knew we wanted to exclude columns 3 and 5, we could call this API as follows:
record_defaults = [tf.int32] * 198
dataset = tf.data.experimental.CsvDataset(files, record_default=record_defaults, exclude_cols=[3,5])
but this to me doesn't seem that useful on top of what already exists (select_cols), since a user still has to specify all the included columns in record_defaults, and one can easily derive select_cols as the complement of exclude_cols as follows:
exclude_cols_set = set(exclude_cols)
total_cols = len(record_defaults) + len(exclude_cols)
select_cols = [i for i in range(total_cols) if i not in exclude_cols_set]
My take is that this would make more sense in a context where the user doesn't have to specify the columns included at all (for example, tf.data.experimental.make_csv_dataset tries to infer the types and number of columns if it's not provided).
Just wanted to clarify what you think this feature should look like -- can you give some code examples of how you expect to call exclude_cols? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/39069#issuecomment-637069974, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIQOMWY6QE42LFSNJ3DICP3RUQBVXANCNFSM4MW3MWSQ.

Thanks for the feedback - we'll go ahead and implement that.


Python dependency upgrade

A couple of dependencies left to upgrade.

package
Old version
New Version
Status

argon2-cffi
16.3.0
18.1.0
:+1:

arrow
0.10.0
0.12.1
via gitlint

attrs
17.3.0
17.4.0
via automat

aws-xray-sdk
0.94
0.95
via moto

Babel
2.5.1
2.5.3
:+1:

boto3
1.4.7
1.5.27
via moto

botocore
1.7.46
1.8.41
via boto3

cffi
1.11.2
1.11.4
:+1:

click
6.6
6.7
via gitlint

CommonMark
0.5.4
0.7.4
:warning: Breaks

coverage
4.4.1
4.5.1
:+1:

cryptography
2.1.2
2.1.4
:+1:

cssselect
1.0.1
1.0.3
via parsel

decorator
4.1.2
4.2.1
via ipython

Django
1.11.6
2.0.2
Umair

django-auth-ldap
1.2.16
1.3.0
:warning:  #8380 https://circleci.com/gh/hackerkid/zulip/370

django-otp
<IP_ADDRESS>
0.4.2
via django-two-factor-auth

django-phonenumber-field
1.3.0
2.0.0
via django-two-factor-auth

django-pipeline
1.6.13
1.6.14
:+1:

django-two-factor-auth
1.6.2
1.7.0
:+1:

docker
2.6.1
3.0.1
via moto

gitlint
0.8.2
0.9.0
:+1:

google-api-python-client
1.6.4
1.6.5 [wheel]
:+1:

h2
2.6.2
3.0.1
via hyper

hyperframe
3.2.0
5.1.0
via h2

jedi
0.11.0
0.11.1
via ipython

Jinja2
2.9.6
2.10
:+1:

jsonpickle
0.9.5
0.9.6
via aws-xray

lxml
4.1.0
4.1.1
:+1:

Markdown
2.6.9
2.6.11
:+1:

moto
1.1.24
1.2.0
:+1:

ndg-httpsclient
0.4.3
0.4.4 [wheel]
:+1:

parsel
1.2.0
1.4.0
via scrapy

parso
0.1.0
0.1.1
via jedi

pexpect
4.3.0
4.4.0
via ipython

phonenumberslite
8.8.6
8.8.11
via django-phonenumber-field

pika
0.11.0
0.11.2
:+1:

Pillow
4.3.0
5.0.0
:+1:

pip-tools
1.10.1
1.11.0
:+1:

polib
1.0.8
1.1.0
:+1:

psutil
5.4.1
5.4.3
via mypy

psycopg2
<IP_ADDRESS>
2.7.4
:+1:

pyaml
17.10.0
17.12.1
via moto

pyasn1
0.3.7
0.4.2
:+1:

pyasn1-modules
0.1.5
0.2.1
:+1:

pyldap
2.4.37
2.4.45
:+1:

PySocks
1.6.7
1.6.8
via twilio

python-digitalocean
1.12
1.13.2
:+1:

pytz
2017.2
2018.3
:+1:

qrcode
4.0.4
5.3
via django-two-factor-auth

s3transfer
0.1.11
0.1.12
via boto3

Scrapy
1.4.0
1.5.0
:+1:

setuptools
36.6.0
38.5.1
:+1:

sh
1.11
1.12.14
via gitlint

social-auth-core
1.5.0
1.6.0
via social-auth-app-django

Sphinx
1.6.5
1.7.0
:+1:

SQLAlchemy
1.1.14
1.2.2
:warning: #8381 https://circleci.com/gh/hackerkid/zulip/385

statsd
3.2.1
3.2.2
via thumbor

stripe
1.77.0
1.77.2
:+1:

talon
1.2.11
1.4.4
:warning: Breaks

tornado
4.5.2
4.5.3
:+1:

typing
3.6.2
3.6.4
:+1:

transifex-client
0.12.4
0.12.5
:+1:

twilio
6.9.0
6.10.3
:+1:

w3lib
1.18.0
1.19.0
via parsel

websocket-client
0.44.0
0.46.0
via docker

certifi
2<IP_ADDRESS>
2018.1.18
:+1:

I merged everything but the regex commit (which I don't understand) and the psycopg2 one (where I'm not sure whether we should prefer the -binary package to the source one).  What are your thoughts on those?

(BTW, thanks for doing this!  It's a lot of work and super useful for keeping Zulip up-to-date).

I think this effort should be synchronized with #8079

@peterdemin Most of the dependencies got merged(Except for psycopg2)

@timabbott psycopg2 binary seems to have an issue.
since psycopg version 2.7, together with the classic source
distribution, we have released psycopg as a wheel binary package on
PyPI [1]. This allows people to install psycopg using:

    pip install psycopg2

without the usual build (Python and Postgres header files, pg_config)
and runtime (libpq) requirements.

The resulting package largely works, but it has a problem: among libpq
dependencies there is libssl, which is included in the wheel package.
But the system libssl version may also be imported for other reason by
the Python process (e.g. using 'urllib' to open an https resource).
When this happens, in concurrent situations, the process may segfault.

Source -> https://www.postgresql.org/message-id/CA%2Bmi_8bd6kJHLTGkuyHSnqcgDrJ1uHgQWvXCKQFD3tPQBUa2Bw%40mail.gmail.com
So we need to install the psycopg2 package instead of psycopg2-binary. But just installing psycopg2 will show this warning all the time as it contains binary as well. So --no-binary flag should be used.
The psycopg2 wheel package will be renamed from release 2.8;
in order to keep installing from binary please use
"pip install psycopg2-binary" instead. For details see:
http://initd.org/psycopg/docs/install.html#binary-install-from-pypi

I am not sure whether this is only the way to specify the --no-binary flag. But this seems to work as the warning is gone.
@peterdemin would love your thoughts as well.

LGTM 👍

The syntax this ends up creating feels a bit weird; is +--no-binary psycopg2==2-7-3-2 useful?

@timabbott Yeah. if --no-binary flag is not passed it will keep shouting the error
The psycopg2 wheel package will be renamed from release 2.8;
in order to keep installing from binary please use
"pip install psycopg2-binary" instead. For details see:
http://initd.org/psycopg/docs/install.html#binary-install-from-pypi

The syntax definitely looks weird.

OK; is it intentional that you didn't actually change the version number?

@timabbott Sorry. Incrementing.

@hackerkid do we actually want psycopg2-binary or the --no-binary argument, but just with the newer version?  I'm confused.

@timabbott Oops. I pushed from my local environment instead of from the VM(which I use for dependency upgrades). Fixed.

Sorry. I pushed that version from my local computer instead of from droplet (which I use for dependency upgrade)
@timabbott I have it more cleaner. I went through some requirements.txt files in GitHub and found that you have to specify the version only one time https://github.com/search?l=Text&q=--no-binary+extension%3A.txt+language%3APython&ref=advsearch&type=Code&utf8=✓
The synatx is no longer weird.

Cool, sgtm, merged, thanks @hackerkid!


MM-42131 Fix accidental change to PostList positioning

This is a fix for a typo I introduced here: https://github.com/mattermost/mattermost-webapp/commit/286fb6dad8f7bb848d817ddbee30af915a388469#diff-ec9be19b2c781da350707675e6fe6a8483f55db7deaee8737edb55cc8ba79637L283
Ticket Link
https://mattermost.atlassian.net/browse/MM-42131
Related Pull Requests
https://github.com/mattermost/mattermost-webapp/pull/9508
Release Note
Fixed positioning of the post menu in mobile web view

/cherry-pick release-6.5

Cherry pick is scheduled.


⚠ Bofrost.at has degraded performance

In 9a72eca, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1195 ms

Resolved: Bofrost.at performance has improved in 8d28b58 after 6 minutes.


null barcodes: what shall we do?

What

the whole app is designed with not null barcodes in mind
the barcodes are the primary keys that helps us get the products
for some reason, sometimes we get product with null barcodes (it's not a mandatory field in Product)
products with null barcodes have no id
the "normal" behavior in the code is to assume that the barcode is never null, and we "force" the barcode to be not null
which may cause issues like #2255
we have no clear view of what we should do with those products

@stephanegigandet is there a way to receive products from the BE without a barcode. If not we can make it a mandatory field.

@monsieurtanuki @M123-dev All products in the OFF backend have a value for the "code" field.

for some reason, sometimes we get product with null barcodes (it's not a mandatory field in Product)

We get them from what? a search?

@stephanegigandet I don't know where they come from but when they're here they make the app crash. A bit mysterious, isn't it?
I think I remember that @teolemon knew use cases where barcode could be null (perhaps "an apple" without barcode?)
Anyway, as @M123-dev pointed out, if we know for sure that the barcode is mandatory, we should definitely make it not nullable.

Deleted products from peoples lists or history ?

Deleted products from peoples lists or history ?

Nope
Looking back at the code history, I'm not sure there was a strong intention behind nullable product barcodes. Back then (15 months ago) there was no null safety, and when we switched to null safety the standard migration tool just said String?, like most other fields.


Tool tip box does not scale to fit current text on pie charts

Describe the bug
Tool tip box does not scale to fit current text on pie charts
To Reproduce
Steps to reproduce the behavior:

Add AWS provider
Navigate to Cloud Cost
Expand an account
Hover over pie chart segment

Expected behavior
Clear readable tool tip pops up with segment name
Screenshots

Desktop (please complete the following information):

OS: Fedora
Browser Firefox
Version 65

This is a bug with Victory / PF4. Regardless, the pie chart is being replaced with bar charts. Therefore, I'll close this issue in favor of https://github.com/project-koku/koku-ui/issues/462


RuntimeException No matches found

Q
A

Issue Type
Bug

Deployer Version
3.3.0

Local Machine OS
Mac OS Sierra

Remote Machine OS
Ubuntu 16.04

Description
I get the following runtime exception when deploying to my production server:
$ dep deploy production

✔ Executing task deploy:prepare
✔ Executing task deploy:release
✔ Executing task deploy:update_code
➤ Executing task deploy:clear_controllers

[RuntimeException]
zsh:1: no matches found:
/var/www/html/site/releases/20160923175854/web/app_*.php

Steps to reproduce
dep deploy production with the following deploy.php
Content of deploy.php
<?php

require 'recipe/symfony.php';
set('ssh_type', 'ext-ssh2');
set('repository', 'https://github.com/myrepo.git');
set('shared_dirs', [
    'storage/app',
    'storage/framework/cache',
    'storage/framework/sessions',
    'storage/framework/views',
    'storage/logs',
]);

set('shared_files', ['.env']);
set('writable_dirs', ['storage', 'vendor']);
server('myprodutctionserver', 'someaddress.net', 22)
->user('user')
->identityFile()
->stage('production')
->env('deploy_path', '/var/www/html/site');

Output log
With enabled option for verbose output -vvv.
$ dep deploy production -vvv                                                                                ➤ Executing task deploy:prepare
↳ on [mazedlx.net]
> echo $0
< zsh
<
> if [ ! -d /var/www/html/site ]; then mkdir -p /var/www/html/site; fi
> if [ ! -L /var/www/html/site/current ] && [ -d /var/www/html/site/current ]; then echo true; fi
> cd /var/www/html/site && if [ ! -d releases ]; then mkdir releases; fi
> cd /var/www/html/site && if [ ! -d shared ]; then mkdir shared; fi
• done on [mazedlx.net]
✔ Ok [2s 76ms]
➤ Executing task deploy:release
↳ on [mazedlx.net]
> if [ -d /var/www/html/site/releases/20160925110850 ]; then echo 'true'; fi
> mkdir /var/www/html/site/releases/20160925110850
> cd /var/www/html/site && if [ -h release ]; then rm release; fi
> ln -s /var/www/html/site/releases/20160925110850 /var/www/html/site/release
• done on [mazedlx.net]
✔ Ok [210ms]
➤ Executing task deploy:update_code
↳ on [mazedlx.net]
> which git
< /usr/bin/git
<
> /usr/bin/git version
< git version 2.7.4
<
> find /var/www/html/site/releases -maxdepth 1 -mindepth 1 -type d
< /var/www/html/site/releases/20160925110850
< /var/www/html/site/releases/20160925110829
< /var/www/html/site/releases/20160925110749
<
> readlink /var/www/html/site/release
< /var/www/html/site/releases/20160925110850
<
> /usr/bin/git clone  --recursive -q --reference /var/www/html/site/releases/20160925110829 --dissociate https://github.com/mazedlx/site.git  /var/www/html/site/releases/20160925110850 2>&1
• done on [mazedlx.net]
✔ Ok [2s 10ms]
➤ Executing task deploy:clear_controllers
↳ on [mazedlx.net]
> rm -f /var/www/html/site/releases/20160925110850/web/app_*.php

  [RuntimeException]
  zsh:1: no matches found: /var/www/html/site/releases/20160925110850/web/app_*.php

Exception trace:
 () at /Users/maze/.composer/vendor/deployer/deployer/src/Server/Remote/PhpSecLib.php:124
 Deployer\Server\Remote\PhpSecLib->run() at /Users/maze/.composer/vendor/deployer/deployer/src/functions.php:296
 run() at /Users/maze/.composer/vendor/deployer/deployer/recipe/symfony.php:107
 {closure}() at n/a:n/a
 call_user_func() at /Users/maze/.composer/vendor/deployer/deployer/src/Task/Task.php:79
 Deployer\Task\Task->run() at /Users/maze/.composer/vendor/deployer/deployer/src/Executor/SeriesExecutor.php:43
 Deployer\Executor\SeriesExecutor->run() at /Users/maze/.composer/vendor/deployer/deployer/src/Console/TaskCommand.php:82
 Deployer\Console\TaskCommand->execute() at /Users/maze/.composer/vendor/symfony/console/Command/Command.php:256
 Symfony\Component\Console\Command\Command->run() at /Users/maze/.composer/vendor/symfony/console/Application.php:818
 Symfony\Component\Console\Application->doRunCommand() at /Users/maze/.composer/vendor/symfony/console/Application.php:186
 Symfony\Component\Console\Application->doRun() at /Users/maze/.composer/vendor/symfony/console/Application.php:117
 Symfony\Component\Console\Application->run() at /Users/maze/.composer/vendor/deployer/deployer/src/Deployer.php:101
 Deployer\Deployer->run() at /Users/maze/.composer/vendor/deployer/deployer/bin/dep:64

Do you have app_dev.php in repo?

Unfortunately, I do not. Everything else from the repo gets created in the releases folder.

I think its better to add check in this task.


Requests from .NET BCL Team

For some reason, I can’t comment on indexers
I’d like the ability to edit comments
Deleting a comment doesn’t remove it from the UI until the page is refreshed

cc: @terrajobst

Thanks for filing!


Implement Game Card Overlay

Description
We need to integrate the overlay from the provided Figma file, which is designed to showcase a game card along with its related statistics.
https://www.figma.com/file/CC8hm73vxTkXSt3b5NWKvX/Tsubasa-UI-Kit?type=design&node-id=74-17439&mode=design&t=dwOC2adb6IMFgKUu-0
Acceptance criteria

[ ] Review and approval by @clicksave

Can you assign me on this @LucasLvy ?


Uniform version constraint strings in docs

Fixes #208.
Minor change to make version constraint strings in the requires-extra docs uniform/consistent.

Thanks :-)


Create base of release-sql-Microsoft.Sql-2024-08-01-preview via Copy-ApiVersion.ps1

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

I just rebased to the latest main and push the release branch.
it brought a lot of commits which were introduced last week.

just revert the rebase from main.
too many noise from the main branch.

run
npx prettier --write specification/sql/**/*.json
to fix the prettier pipeline.


whats the api page

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I  need api page for uptime kuma
🐻 Uptime-Kuma Version
1.14.0
💻 Operating System and Arch
20.04
🌐 Browser
Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
17

I don't think that there currently is a public api. You can see #118 for more details about the ongoing work to create a more public api