Accessing SQL Server via Windows Authentication from Linux

I'm running dbeaver on Ubuntu 17.04
It appears I should be able to run kinit and then dbeaver and connect, but no such luck.
derek@043SC646:~$ kinit derbro
Password for<EMAIL_ADDRESS>
derek@043SC646:~$ klist
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal<EMAIL_ADDRESS>
Valid starting     Expires            Service principal
13/04/18 15:13:43  14/04/18 01:13:43<EMAIL_ADDRESS>        renew until 20/04/18 15:13:35
derek@043SC646:~$ /usr/share/dbeaver/dbeaver
2018-04-13 15:14:00.044 - Create display
2018-04-13 15:14:00.110 - DBeaver 5.0.2 is starting
2018-04-13 15:14:00.111 - Install path: '/usr/share/dbeaver'
2018-04-13 15:14:00.111 - Instance path: 'file:/home/derek/.dbeaver4/'

with the jtds driver, I get:
2018-04-13 15:14:29.233 - Connect with 'jdbc:jtds:sqlserver://cprdatabase.mba.ac.uk/master' (mssql_jdbc_jtds-162bf5b8666-1fbf43ea0d700a20)
2018-04-13 15:14:29.315 - Connection failed (mssql_jdbc_jtds-162bf5b8666-1fbf43ea0d700a20)
2018-04-13 15:14:29.316 - org.jkiss.dbeaver.model.exec.DBCConnectException: I/O Error: GSS Failed: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
org.jkiss.dbeaver.model.exec.DBCConnectException: I/O Error: GSS Failed: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
        at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:191)
        at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.openConnection(GenericDataSource.java:126)
        at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:79)
        at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeMainContext(JDBCDataSource.java:115)
        at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.<init>(GenericDataSource.java:108)
        at org.jkiss.dbeaver.ext.mssql.model.SQLServerDataSource.<init>(SQLServerDataSource.java:43)
        at org.jkiss.dbeaver.ext.mssql.model.SQLServerDataSource.<init>(SQLServerDataSource.java:35)
        at org.jkiss.dbeaver.ext.mssql.SQLServerDataSourceProvider.openDataSource(SQLServerDataSourceProvider.java:123)
        at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:752)
        at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
        at org.jkiss.dbeaver.ui.dialogs.connection.ConnectionWizard$ConnectionTester.run(ConnectionWizard.java:216)
        at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:95)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.sql.SQLException: I/O Error: GSS Failed: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
        at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:654)
        at net.sourceforge.jtds.jdbc.JtdsConnection.<init>(JtdsConnection.java:371)
        at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
        at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:177)
        ... 12 more
Caused by: java.io.IOException: GSS Failed: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
        at net.sourceforge.jtds.jdbc.TdsCore.sendMSLoginPkt(TdsCore.java:1976)
        at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:617)
        ... 15 more

With the Microsoft driver it's more onimous because it's asking for a DLL, which isn't ever going to be found on a Linux system, but in any case I don't seem to have anything named sqljdbc_auth on my system:
2018-04-13 15:21:18.335 - Connect with 'jdbc:sqlserver://cprdatabase;databaseName=master' (mssql_jdbc_ms_new-162bf61c476-4e0f91af488ac42e)
Apr 13, 2018 3:21:18 PM com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit>
WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path

https://blogs.msdn.microsoft.com/psssql/2015/01/09/jdbc-this-driver-is-not-configured-for-integrated-authentication/ implies that this means it's trying to connect with a connection string containing authenticationScheme=NativeAuthentication (either explicitly or implicitly--which would only work on Windows) and requires authenticationScheme=JavaKerberos (which should work on any OS). I expect I could set that in the driver advanced parameters, but I'm not sure where--and also rather expect that if I did, I'd just end up with the same problem as with the jTds driver.

Could you try solution proposed in https://stackoverflow.com/questions/35797992/kerberos-and-integrated-security-using-jtds-driver :
Use property useKerberos=true in the Connection String

Source: https://sourceforge.net/p/jtds/patches/101/

Pass VM Argument -Djavax.security.auth.useSubjectCredsOnly=false

So, finally after applying the above changes my Connection String looked like below:

jdbc:jtds:sqlserver://<serverName>:<port>;databaseName=<DBName>;useKerberos=true;
Arguments List:

-Djava.security.krb5.debug=true
-Djava.security.auth.login.config="C:\login.conf"
-Djava.security.krb5.conf="C:\krb5.conf
-Djavax.security.auth.useSubjectCredsOnly=false

Driver properties can be set in connection properties dialog->Driver properties.
Command line parameters can be added in dbeaver.ini (in the end, after -vmargs)

Thanks. That gets me past the Failed to find any Kerberos tgt error. Now I'm onto Server not found in Kerberos database which is definitely a problem at my AD domain controller, not the dbeaver configuration.

I had this exact problem and stumbled across this thread, so I thought i'd record my solution in case someone else also has this problem.
The 'sqljdbc_auth.dll' thing appears to be Windows-specific - those DLL's are distributed as part of the JDBC driver download if you get it from the Microsoft download center, whereas i'm pretty sure the version distributed with DBeaver is the fully open source version.
Anyway - they are not required. I added them to the classpath but it kept saying it it couldnt find them.
I was eventually able to connect by doing the following:

In "Driver Properties" for the connection, setting the Driver Properties "authenticationScheme=javaKerberos", "integratedSecurity=true"
In the "User Properties" (on the same page), creating properties for "USER=<kerberos principal name, as produced by running kinit>" and "PASSWORD=".

I was then able to connect to the SQL Server using the 'Windows Authentication' method.
I realise that there appears to be some duplication with the system kerberos and JavaKerberos - I was not expecting to have to supply my credentials again in DBeaver as they're already supplied at the system level. I have a suspicion that DBeaver creates a whole new Kerberos context with the supplied information and ignores the system one. Anyway - it worked, and I don't care about the duplication because im just happy its working.
As a sidenote - I was running the Flatpak version of DBeaver on Fedora 29.

But once again, this isn't "integrated authentication". It allows you to
use your Windows id and password to login, but what's the point of Kerberos
if you have to provide (and potentially store insecurely) a password
after Kerberos authentication.
On Wed, 13 Mar 2019, 21:01 Erin Drummond<EMAIL_ADDRESS>wrote:

I had this exact problem and stumbled across this thread, so I thought i'd
record my solution in case someone else also has this problem.
The 'sqljdbc_auth.dll' thing appears to be Windows-specific - those DLL's
are distributed as part of the JDBC driver download if you get it from
the Microsoft download center, whereas i'm pretty sure the version
distributed with DBeaver is the fully open source version.
Anyway - they are not required. I added them to the classpath but it kept
saying it it couldnt find them.
I was eventually able to connect by doing the following:

In "Driver Properties" for the connection, setting the Driver
Properties "authenticationScheme=javaKerberos", "integratedSecurity=true"
In the "User Properties" (on the same page), creating properties
for "USER=<kerberos principal name, as produced by running kinit>" and
"PASSWORD=".

I was then able to connect to the SQL Server using the 'Windows
Authentication' method.
I realise that there appears to be some duplication with the system
kerberos and JavaKerberos - I was not expecting to have to supply my
credentials again in DBeaver as they're already supplied at the system
level. I have a suspicion that DBeaver creates a whole new Kerberos context
with the supplied information and ignores the system one. Anyway - it
worked, and I don't care about the duplication because im just happy its
working.
As a sidenote - I was running the Flatpak version of DBeaver on Fedora 29.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/3320#issuecomment-472603690,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcWu0gj4YNu4897WtZIVQS6fOZ6D-SRks5vWWcWgaJpZM4TTkGo
.

"Windows Authentication" and "Integrated Security" are the same thing - see https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sql/authentication-in-sql-server
My understanding is that in a "normal" scenario (Windows, logged in as domain user, using SSMS as the SQL client) is that it uses your Kerberos ticket that you got from logging in to Windows to authenticate against the SQL server - rather than submitting your username/password directly to the SQL server.
In my current scenario, I have a Linux machine joined to the Windows domain using 'realmd', and I have a Kerberos ticket which I can view using kinit. I'm referring to this as a "system-level" Keberos ticket,
I am sure that I can trigger DBeaver to use the system-level keberos tickets by specifying the JavaKeberos options so it can find the krb5.conf file (as mentioned here: https://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/tutorials/KerberosReq.html ), however since i'm running it in Flatpak it's not as easy as editing a config file.
Therefore, I used the other method of JavaKeberos to get a ticket - that is, it establishes a new context separate from the system-level context (using the supplied credentials), gets a ticket and uses that to authenticate against the SQL Server.

Clearly, in practice, they're not the same thing. "Windows authentication" means you can log in with your Windows user ID and password. Otherwise you need to have a SQL Server ID and password. "Integrated Security" means that if you are already logged in (ie, you have the Kerberos ticket), it will not ask for a password. "Integrated security" is not working at all.
I am not sure I can trigger DBeaver to use the Kerberos ticket--at least without Domain administrator access. I've tried everything. I can access anything else that requires Windows authentication (all of my SAMBA shares, for instance), but not SQL Server.

@auspex can you finally use DBeaver with "Windows authentication" from Linux? I have the same problem.

No, I've flat out given up trying to use Integrated Security to access SQL Server from any Linux application. Anything else, piece of cake. SQL Server always ends up with the Server not found in Kerberos database. If I have to specify my Windows credentials in the connection string, then sooner or later they're going to have to end up in a git repo.

No, I've flat out given up trying to use Integrated Security to access SQL Server from any Linux application. Anything else, piece of cake. SQL Server always ends up with the Server not found in Kerberos database. If I have to specify my Windows credentials in the connection string, then sooner or later they're going to have to end up in a git repo.

@auspex In my case specify my Windows credentials in the connection string shouldn't be a problem.  But specifying my Windows credentials in the connection string I don't get any difference, ends up with the Server not found in Kerberos database.
Could you connect specifying Windows credentials in the connection string? how?

It seems like people are resigned to it not being possible in Linux/Mac.
But how does the go-sqlcmd utility do it?
Using that CLI tool on Linux I can connect to an MS SQL Server without any Kerberos or anything else needed.
Either way this isn't a dbeaver problem its in the jdbc driver 😭


When Serilog writes to MongoDb, what class does it use?

Sorry for a basic question, but I wonder if there is a class in the Serilog libs that is used to fill in the blank.
var r = await _collection.FindAsync<T>(filter);
What class would T be if I am reading from the MongoDB that I just wrote to with Serilog?

Try:
Serilog.Events.LogEvent


Add a modpack settings button.

I love this mod and it is making life so much easier, but i think it'd be even better if there was an icon like mod menu has, above that icon, or a bar (like mod menu) (configerable)

v0.2.2 is released, with one or two more features that might also be helpful.
So is that right-clicking functionality working well as a "modpack settings button", or a dedicated button would be better?

I was thinking a config option so the user can decide which is better.

THIS RIGHT-CLICK IS AMAZING!


Browser tests fail when testing IE

Describe the bug
Selenium action consistently fails when testing IE on Windows:
https://github.com/jshjohnson/Choices/pull/777/checks?check_run_id=318258430

@jshjohnson the whole page CSS is broken actually, that's why it can't do a screenshot. I'm out of bandwidth to peek into it right now but hopefully will do in a couple of days.

This is now resolved 🎉


Custom data relations

I don't know if it's feasible or even logical to try doing such a thing, but here is the situation.
Consider generating an Order class with OrderItems - requirements are:

Order instance has a List<OrderItems> orderItems that can have max X items, min Y item
Order instance has a double totalAmount field - as you can guess, this field is equal to the sum of sub-amounts of orderItems members

First step would be added if #175 is implemented.
For the second requirement,

totalAmount can be generated first then it could be used to generate orderItems members, or,
orderItems could be generated and then totalAmount field could be updated by summing orderItem.amount fields

Can ObjectGeneratorBuilder be extended to include the ability to use generated fields of the about-to-be-generated object? Maybe through using lambdas?

Thanks @keremulutas , this is really interesting problem and use case is pretty common. I'll try to come up with some idea how to implement this in next week.


<EMAIL_ADDRESS>issue

My publish composites used to work in Meteor <IP_ADDRESS> but with Meteor<EMAIL_ADDRESS>I'm getting the following error.
I20150831-15:29:11.360(-5)? Exception in queued task: TypeError: Cannot read property 'id' of undefined
I20150831-15:29:11.360(-5)?     at [object Object].children.find (server/publications/shipments.js:129:1)
I20150831-15:29:11.360(-5)?     at Publication.getCursor (packages/reywood_publish-composite/packages/reywood_publish-composite.js:117:1)
I20150831-15:29:11.361(-5)?     at Publication.publish (packages/reywood_publish-composite/packages/reywood_publish-composite.js:58:1)
I20150831-15:29:11.361(-5)?     at Publication.createChildPublication (packages/reywood_publish-composite/packages/reywood_publish-composite.js:128:1)
I20150831-15:29:11.361(-5)?     at Array.forEach (native)
I20150831-15:29:11.361(-5)?     at Function..each..forEach (packages/underscore/underscore.js:105:1)
I20150831-15:29:11.361(-5)?     at Publication.publishChildrenOf (packages/reywood_publish-composite/packages/reywood_publish-composite.js:125:1)
I20150831-15:29:11.361(-5)?     at Object.added (packages/reywood_publish-composite/packages/reywood_publish-composite.js:77:1)
I20150831-15:29:11.361(-5)?     at [object Object].observeChangesCallbacks.added (packages/minimongo/observe.js:153:1)
I20150831-15:29:11.361(-5)?     at self.applyChange.added (packages/minimongo/observe.js:53:1)
I20150831-15:29:11.361(-5)?     at packages/mongo/observe_multiplex.js:183:1
I20150831-15:29:11.361(-5)?     at Array.forEach (native)
I20150831-15:29:11.361(-5)?     at Function..each..forEach (packages/underscore/underscore.js:105:1)
I20150831-15:29:11.362(-5)?     at Object.task (packages/mongo/observe_multiplex.js:177:1)
I20150831-15:29:11.362(-5)?     at [object Object]..extend._run (packages/meteor/fiber_helpers.js:147:1)
I20150831-15:29:11.362(-5)?     at packages/meteor/fiber_helpers.js:125:1

Nevermind, it is not this package's issue.


Move ember-cli-babel from devDeps to deps

Fixes #87

The test failures here look unrelated to the change... @mharris717 would love to see a release land with this when possible.

Indeed, it is hard to imagine how moving a dependency from the development set to the production set would cause a test to fail (though I can imagine the reverse might be a problem in many cases).

I plan on pulling this in an updating to Ember 2.12 for this addon this weekend.


Unsupported inverter

0|mm       | [11.08.2023 11:20.31.408] [LOG]   Inverter not yet supported. Please log a call at module Github page, https://github.com/mumblebaj/MMM-Growatt/issues
I have a Growatt MID10KTL3-XL inverter.

Hi. I have added some debug stuff to the module. please do a git pull. In the config/config,js set debug to true for this module.
        {
                module: "MMM-Growatt",
                position: "middle_center",
                disabled: false,
                config: {
                        username: "mumble",
                        password: "Kear@1730",
                        debug: false,
                        updateInterval: 1000*60*15,
                }
        },

Start MM. Give it a few minutes and then stop MM. In the MMM-Growatt folder, you will find a file called growatt.log.  Please send me the file and I will look at the data.

Hi.
Sorry for not replying sooner. Lot of things happening here as well.
Hope the operation went well and that youre back on your feet soon.
Here are the log file you requested. No hurry so look at it when youre better.
growatt.log

Hi. Just got home and have to off my feet for a few days. Working on this one will help me get through it. :-)
You inverter type is "max" and max only gets totalData and historyLast. I need some screenshots of your growatt dashboard or if you don't mind sharing your creds with me to put it all together that would be better. You can mail me direct on<EMAIL_ADDRESS>and I can get onto it today.

Hi. I have gone through the data and the code for the growatt npm module. It only caters for getting totalData and history data. The only data of use is Solar data that I can get from the data returned. I can unfortunately not build anything meaningful from this. I do not see anything for battery storage or load consumption or grid activity etc. from any of the data returned.

Thats too bad. Thank you anyway for trying :D


Filter component using CachetHQ tags

We have several components with the same name (for example "API") in multiple groups.
When we send an update to the component searching for the name, all of them are being updated.
It would be nice to find the components using tags.

Hello !
First of all, thanks for your good first issue. I must admit that I'm surprised that this project is used by someone else :) .
I'm facing a problem with your request: the golang client I'm using in this project haven't the support for tags (and seems not maintained unfortunately...).
So I can imagine two solutions here:

Redoing a golang client to call CachetHQ instances in order to add the support for Tags.
Add a tag list filter in the configuration for groups

But: How to manage the fact that multiple groups have the same set of tags ?

Add a property inside the component configuration to select the component inside a group:

   component:
      name: API
      group: FAKE1 # optional
      status: PARTIAL_OUTAGE

Retreive the group id property by searching groups by name
Search component filtering by name AND groupId

I must admit that I'm more in favour of the solution 2. Do you see any problems with that ?

Hello Alexandre!
Thanks for your prompt answer!
Yeah we are trying to use your project with our monitoring system and so far it's promising. :)
About your proposal.. I think the solution #2 will work just fine, even without the support for tags. In our example:
Group: CustomerA
Component: API
Group: CustomerB
Component API
So we just need to use the "group: CustomerA" and "name: API" in our component declaration and it will work!
Nice!

I've just released the 1.1.0 with this feature. Thanks for your feature.
Tell me if everything is ok.

Testing this right now with this config:
  - component:
      name: API
      group: Alagoas
      status: PERFORMANCE_ISSUES
    alerts:
      - name: ApiPerformance

We forced an alert and our components weren't updated.
Log from alertmanager:
level=error ts=2020-09-03T15:11:34.755Z caller=dispatch.go:309 component=dispatcher msg="Notify for alerts failed" num_alerts=8 err="cachethq-receiver/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 404: http://prom-cachethq:8080/prometheus/webhook"
For some reason it's not finding the components using Group and name.

Hello !
The configuration isn't valid. The key is "groupName" and not "group". Your key has been ignored.
I've changed the key from the upper example. Why ? Because if in future we need to have a key called "groupID", it will be clear ;-).
Hope this will work now.
PS: sorry for the short answer, I'm on my phone :smiley:

Awesome, worked like a charm!
Thank you.


Add a disabled flag to users

Need to be able to disable users in the system. When finished, notify Elisa and she will create frontend ticket.

Referencing #252, which of these requirements for permanently deleting a user would we want to apply for disabling a user?

remove user from all group roles
remove user form all project permissions
remove user from all collection permissions
delete all collections where user is curator

If we do not intend to create a way for site admins to delete users, I believe we should remove user's permissions/roles for sure, not sure about collections as those are intended to be shared.

I was thinking, none. Disabling a user should be fully revertible. Say, if they haven't paid their bill.

We could leave cleaning up permissions to group and project admins, for example a user that has left the organization.

They may or may not want to clean up permissions for a disabled user (depending if a user comes back). To me, disabled users are just blocked from logging in. Deleted users are removed from groups, projects, collection and no longer have an account.

@elisapoquette this is now merged, feel free to create a frontend ticket.


Possibly wrong derivatives for tensors

Let's say we have expression z = sum(W * x) and want to find derivative dz / dx. If I run
rdiff(:(sum(W*x)), W=Matrix{Float64}, x=Vector{Float64})

I get:
quote
    _tmp1 = W * x
    _tmp2 = size(_tmp1)
    _tmp3 = zeros(_tmp2) + ones(_tmp2)
    (sum(_tmp1),zeros(size(W)) + _tmp3 * x',zeros(size(x)) + W' * _tmp3)
end

So rdiff tells us that (after substitution and simplifications):
dz / dx = W' * ones(size(z))

I haven't found any ready-to-use rules or tools to verify it, but here's my attempt to find the same derivative componentwise. If we set:

then we can rewrite equation componentwise:

and so:

Derivative of z w.r.t. to k-th component of x is thus:

We can organize component derivatives into a vector and get, for example:
dz/dx = sum(W, 2)

or into a row matrix and get:
dz/dx = sum(W, 1)

In either way, this expression doesn't conform to what rdiff currently generates, neither in contents nor even in shape of the derivative (matrix vs. vector).
Is it a bug or am I just misusing rdiff?

For dz / dx we are expecting a vector of the same size as x. You are right that it is equal to sum(W,1)or more precisely its transpose  sum(W,1)'  (one minor difference is that this will be a column matrix instead of a vector in julia).
And unless i am mistaken we have sum(W,1)' = W' * ones(size(z)), no ? (the added advantage of the expression W' * ones(size(z)) is that it will be a vector as expected for a derivative 'd./dx', and not a column matrix as with sum(W,1)'   )

Ah, now I see. Thanks for clarification.


live <= master

Docs Build status updates of commit 4d41176:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.github/workflows/VerifyAdvocateYAML.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


suggestion on filtering

I know that all the available filters are displayed in alphabetical order, but I always find myself scrolling all the way to the right to get reference or representative genomes. I also think that public/private is more important than most of the other filed. I'm not sure that we should reorder these, but we should discuss it.

I agree. I propose we order the filters the same way they are on the production site, i.e.
Public
Genome Status
Reference Genome
Antimicrobial Resistance
Isolation Country
Host Name
Disease
Collection Year
Completion Date

On Nov 18, 2016, at 11:48 AM, jimdavis1<EMAIL_ADDRESS>wrote:
I know that all the available filters are displayed in alphabetical order, but I always find myself scrolling all the way to the right to get reference or representative genomes. I also think that public/private is more important than most of the other filed. I'm not sure that we should reorder these, but we should discuss it.
https://cloud.githubusercontent.com/assets/7661533/20440227/bf125154-ad84-11e6-96eb-79f51f4ae852.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd7yaL2x2fpjqrWM_EA41lTerPDdkAks5q_eTfgaJpZM4K2v22.

I also suggest that we remove Antimicrobial resistance evidence, as it is not much useful,
given most of the data is using AMR panel.

On Nov 18, 2016, at 12:36 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I agree. I propose we order the filters the same way they are on the production site, i.e.
Public
Genome Status
Reference Genome
Antimicrobial Resistance
Isolation Country
Host Name
Disease
Collection Year
Completion Date

On Nov 18, 2016, at 11:48 AM, jimdavis1<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I know that all the available filters are displayed in alphabetical order, but I always find myself scrolling all the way to the right to get reference or representative genomes. I also think that public/private is more important than most of the other filed. I'm not sure that we should reorder these, but we should discuss it.
https://cloud.githubusercontent.com/assets/7661533/20440227/bf125154-ad84-11e6-96eb-79f51f4ae852.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd7yaL2x2fpjqrWM_EA41lTerPDdkAks5q_eTfgaJpZM4K2v22.

I can remove that facet, but I don’t want to manually order them for this release.  We can discuss for the next release.  If we want to manually order, it makes things much more brittle and also means that we’ll need to go in and define that for all of the filters across the site.  I also believe this to be a relatively minor issue that exists in a small (though common) case.  This problem is generally only visible on the genome table and when there are no filters applied, so I think the proposed solution is overkill and more work than it is worth for this release.
My plan to address this in the future was slightly different;  We identify (when and where we want) a list of facets that will get pulled to the front of the list and possibly rendered in a processed way.  For example, we could pull the “Public” item to the front and render it as a switch or dropdown or using different text and something similar for Reference/Representative.  Those items not specifically called out for a particular filter set would remain in alphabetical order.

On Nov 18, 2016, at 1:40 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I also suggest that we remove Antimicrobial resistance evidence, as it is not much useful,
given most of the data is using AMR panel.

On Nov 18, 2016, at 12:36 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I agree. I propose we order the filters the same way they are on the production site, i.e.
Public
Genome Status
Reference Genome
Antimicrobial Resistance
Isolation Country
Host Name
Disease
Collection Year
Completion Date

On Nov 18, 2016, at 11:48 AM, jimdavis1<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I know that all the available filters are displayed in alphabetical order, but I always find myself scrolling all the way to the right to get reference or representative genomes. I also think that public/private is more important than most of the other filed. I'm not sure that we should reorder these, but we should discuss it.
https://cloud.githubusercontent.com/assets/7661533/20440227/bf125154-ad84-11e6-96eb-79f51f4ae852.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd7yaL2x2fpjqrWM_EA41lTerPDdkAks5q_eTfgaJpZM4K2v22.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261607974, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobqrTa2qYOmh5FtoRjgsamZbQ3iR-ks5q_fE0gaJpZM4K2v22.

As of now, this is a problem only for the genome list, all other tables are
fine as there are not many filters.
However, genome list is where the filters are most useful and the most useful filters,
public/private and reference/representative, are at the very end, making it likely
that users will either miss them or will have to scroll every time they want
use them.
Having said that, I it is an improvement and not a bug, so, I leave it to your
judgement to decide whether to move them for November or not depending
on the work involved.
-M

On Nov 18, 2016, at 12:50 PM, Dustin Machi<EMAIL_ADDRESS>wrote:
I can remove that facet, but I don’t want to manually order them for this release. We can discuss for the next release. If we want to manually order, it makes things much more brittle and also means that we’ll need to go in and define that for all of the filters across the site. I also believe this to be a relatively minor issue that exists in a small (though common) case. This problem is generally only visible on the genome table and when there are no filters applied, so I think the proposed solution is overkill and more work than it is worth for this release.
My plan to address this in the future was slightly different; We identify (when and where we want) a list of facets that will get pulled to the front of the list and possibly rendered in a processed way. For example, we could pull the “Public” item to the front and render it as a switch or dropdown or using different text and something similar for Reference/Representative. Those items not specifically called out for a particular filter set would remain in alphabetical order.

On Nov 18, 2016, at 1:40 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I also suggest that we remove Antimicrobial resistance evidence, as it is not much useful,
given most of the data is using AMR panel.

On Nov 18, 2016, at 12:36 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I agree. I propose we order the filters the same way they are on the production site, i.e.
Public
Genome Status
Reference Genome
Antimicrobial Resistance
Isolation Country
Host Name
Disease
Collection Year
Completion Date

On Nov 18, 2016, at 11:48 AM, jimdavis1<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I know that all the available filters are displayed in alphabetical order, but I always find myself scrolling all the way to the right to get reference or representative genomes. I also think that public/private is more important than most of the other filed. I'm not sure that we should reorder these, but we should discuss it.
https://cloud.githubusercontent.com/assets/7661533/20440227/bf125154-ad84-11e6-96eb-79f51f4ae852.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd7yaL2x2fpjqrWM_EA41lTerPDdkAks5q_eTfgaJpZM4K2v22.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261607974, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobqrTa2qYOmh5FtoRjgsamZbQ3iR-ks5q_fE0gaJpZM4K2v22.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261610279, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd77_j9rjIM9v06FZeiuDy8bgQSMaOks5q_fNpgaJpZM4K2v22.

As of now, this is a problem only for the genome list, all other tables are
fine as there are not many filters.

Yes, thats what i meant when i said it is only visible on the Genome Table.

However, genome list is where the filters are most useful and the most useful filters,
public/private and reference/representative, are at the very end, making it likely
that users will either miss them or will have to scroll every time they want
use them.

They will only miss them or have to scroll only if they want to filter on those items first.  If they filter on anything else first, the list almost always shrinks and then generally shows those columns.

Having said that, I it is an improvement and not a bug, so, I leave it to your
judgement to decide whether to move them for November or not depending
on the work involved.

I’m in agreement that this should be changed.  What I don’t want to do is reorder them with a list that would need to be defined for all the tables (they all use the same widget for this functionality).   Since we need to make things like the public/private and Representative look different anyway, I would prefer the implementation to do something slightly different than what you suggested.  I just don’t think we can get that all done for this release.  So my preference is to punt on this, relatively minor, issue until it can be fixed properly.

-M

On Nov 18, 2016, at 12:50 PM, Dustin Machi<EMAIL_ADDRESS>wrote:
I can remove that facet, but I don’t want to manually order them for this release. We can discuss for the next release. If we want to manually order, it makes things much more brittle and also means that we’ll need to go in and define that for all of the filters across the site. I also believe this to be a relatively minor issue that exists in a small (though common) case. This problem is generally only visible on the genome table and when there are no filters applied, so I think the proposed solution is overkill and more work than it is worth for this release.
My plan to address this in the future was slightly different; We identify (when and where we want) a list of facets that will get pulled to the front of the list and possibly rendered in a processed way. For example, we could pull the “Public” item to the front and render it as a switch or dropdown or using different text and something similar for Reference/Representative. Those items not specifically called out for a particular filter set would remain in alphabetical order.

On Nov 18, 2016, at 1:40 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I also suggest that we remove Antimicrobial resistance evidence, as it is not much useful,
given most of the data is using AMR panel.

On Nov 18, 2016, at 12:36 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I agree. I propose we order the filters the same way they are on the production site, i.e.
Public
Genome Status
Reference Genome
Antimicrobial Resistance
Isolation Country
Host Name
Disease
Collection Year
Completion Date

On Nov 18, 2016, at 11:48 AM, jimdavis1<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I know that all the available filters are displayed in alphabetical order, but I always find myself scrolling all the way to the right to get reference or representative genomes. I also think that public/private is more important than most of the other filed. I'm not sure that we should reorder these, but we should discuss it.
https://cloud.githubusercontent.com/assets/7661533/20440227/bf125154-ad84-11e6-96eb-79f51f4ae852.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd7yaL2x2fpjqrWM_EA41lTerPDdkAks5q_eTfgaJpZM4K2v22.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261607974, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobqrTa2qYOmh5FtoRjgsamZbQ3iR-ks5q_fE0gaJpZM4K2v22.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261610279, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd77_j9rjIM9v06FZeiuDy8bgQSMaOks5q_fNpgaJpZM4K2v22.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261613877, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobuzwG9bSUi8xhrxtyvldayxtHH2pks5q_facgaJpZM4K2v22.

No worries. I will move it to March.

On Nov 18, 2016, at 1:09 PM, Dustin Machi<EMAIL_ADDRESS>wrote:

As of now, this is a problem only for the genome list, all other tables are
fine as there are not many filters.

Yes, thats what i meant when i said it is only visible on the Genome Table.

However, genome list is where the filters are most useful and the most useful filters,
public/private and reference/representative, are at the very end, making it likely
that users will either miss them or will have to scroll every time they want
use them.

They will only miss them or have to scroll only if they want to filter on those items first. If they filter on anything else first, the list almost always shrinks and then generally shows those columns.

Having said that, I it is an improvement and not a bug, so, I leave it to your
judgement to decide whether to move them for November or not depending
on the work involved.

I’m in agreement that this should be changed. What I don’t want to do is reorder them with a list that would need to be defined for all the tables (they all use the same widget for this functionality). Since we need to make things like the public/private and Representative look different anyway, I would prefer the implementation to do something slightly different than what you suggested. I just don’t think we can get that all done for this release. So my preference is to punt on this, relatively minor, issue until it can be fixed properly.

-M

On Nov 18, 2016, at 12:50 PM, Dustin Machi<EMAIL_ADDRESS>wrote:
I can remove that facet, but I don’t want to manually order them for this release. We can discuss for the next release. If we want to manually order, it makes things much more brittle and also means that we’ll need to go in and define that for all of the filters across the site. I also believe this to be a relatively minor issue that exists in a small (though common) case. This problem is generally only visible on the genome table and when there are no filters applied, so I think the proposed solution is overkill and more work than it is worth for this release.
My plan to address this in the future was slightly different; We identify (when and where we want) a list of facets that will get pulled to the front of the list and possibly rendered in a processed way. For example, we could pull the “Public” item to the front and render it as a switch or dropdown or using different text and something similar for Reference/Representative. Those items not specifically called out for a particular filter set would remain in alphabetical order.

On Nov 18, 2016, at 1:40 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I also suggest that we remove Antimicrobial resistance evidence, as it is not much useful,
given most of the data is using AMR panel.

On Nov 18, 2016, at 12:36 PM, Maulik Shukla<EMAIL_ADDRESS>wrote:
I agree. I propose we order the filters the same way they are on the production site, i.e.
Public
Genome Status
Reference Genome
Antimicrobial Resistance
Isolation Country
Host Name
Disease
Collection Year
Completion Date

On Nov 18, 2016, at 11:48 AM, jimdavis1<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I know that all the available filters are displayed in alphabetical order, but I always find myself scrolling all the way to the right to get reference or representative genomes. I also think that public/private is more important than most of the other filed. I'm not sure that we should reorder these, but we should discuss it.
https://cloud.githubusercontent.com/assets/7661533/20440227/bf125154-ad84-11e6-96eb-79f51f4ae852.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd7yaL2x2fpjqrWM_EA41lTerPDdkAks5q_eTfgaJpZM4K2v22.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261607974, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobqrTa2qYOmh5FtoRjgsamZbQ3iR-ks5q_fE0gaJpZM4K2v22.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261610279, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd77_j9rjIM9v06FZeiuDy8bgQSMaOks5q_fNpgaJpZM4K2v22.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261613877, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobuzwG9bSUi8xhrxtyvldayxtHH2pks5q_facgaJpZM4K2v22.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1286#issuecomment-261615025, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLd74dMIPc0qedjXz9QuzVc7qs4Soc2ks5q_ffTgaJpZM4K2v22.

Fixed it and made a pull request.
Removed the alphabetical sorting for the categories appear on the filter panel. The order of the categories can now be specified. This is also applied to other pages such as Features, Specialty Genes, Pathways and Transcriptomics. The order of the categories for these pages are the same as the Legacy PATRIC site.

verified.
https://www.patricbrc.org/view/Taxonomy/234#view_tab=genomes


difference between ActivityRegularization and activity_regularizer?

I look some code at the website, it seems to me that they are the same thing.
But ActivityRegularization is a "layer"
while activity_regularizer is just a argument as a reguarlizer.
They both contribute to the output of the network that show as a penalty cost function

The ActivityRegularization layer just applies activity regularization on
its input. You can also apply activity regularization on the output of
specific layer by passing them the activity_regularizer argument.
On 11 December 2016 at 08:11, Shaowu Pan<EMAIL_ADDRESS>wrote:

I look some code at the website, it seems to me that they are the same
thing.
But ActivityRegularization is a "layer"
while activity_regularizer is just a argument as a reguarlizer.
They both contribute to the output of the network that show as a penalty
cost function
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/4678, or mute the thread
https://github.com/notifications/unsubscribe-auth/AArWb-8uhYJZYtEbCPvj7wBMy9OubspWks5rG6IkgaJpZM4LJ3A9
.


Moving deleteSegment call from POST to DELETE call

label:
bugfix
Moving deleteSegments call from POST api to DELETE api like other delete-segment based apis.

Codecov Report
Attention: Patch coverage is 0% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (7d074ee).
Report is 133 commits behind head on master.

Files
Patch %
Lines

...ler/api/resources/PinotSegmentRestletResource.java
0.00%
9 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12663       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2377       -59
  Lines        133233   130213     -3020
  Branches      20636    20218      -418
=============================================
- Hits          82274        0    -82274
- Misses        44911   130213    +85302
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <0.00%> (-27.73%)
:arrow_down:

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Shall we integrate it into DELETE /segments/{tableName} and add an extra parameter for target segments? If segments are not provided, we delete all segments

Sounds good to me! Updated accordingly!

Suggest adding a test in PinotSegmentRestletResourceTest for the new usage

Will do Jackie.


Fix: Composition.md

removed repeated sentence
corrected spelling

@kazupon made a new pr here as fix. thank you.


Reexport functionality.

First of all, thank you for this awesome package. It is a great prototype of saner code loading and I have really enjoyed it so far.
I was wondering whether it makes sense to add some reexport functionality to this package. I find my module file consisting solely of code like
module MyModule

using FromFile: @from

@from "foo.jl" import foo, bar, baz
export foo, bar, baz

...
end # module

Thus, it would be nice to have a re-export capability on this level. Maybe this is also beyond the scope of this package and would come more naturally if similar syntax would make it into Base. In that case the requested functionality would perhaps be best added to Reexport.jl. But until then, if it ever happens, it may be nice to have this functionality here.

Ah, yes. I agree that would be the neatest syntax. As I say, happy to accept a PR on that.

It's shorter but I think this could be ambiguous, it's not obvious to me whether the exported symbols get into the current module scope:

it doesn't look like importing bar and baz to the current name scope, thus the effect of importing them into the current module sounds like an implicit behavior
however if this statement doesn't import bar and baz, then it seems to be as same as just writing import and export directly

It's shorter but I think this could be ambiguous, it's not obvious to me whether the exported symbols get into the current module scope:

These are reasonable points. Personally I think I'd still prefer it over @from "file.jl" import foo, baz export ... -- that's starting to touch on the discussions over in https://github.com/JuliaLang/julia/issues/39235 about the ... syntax -- but no strong feelings there.

or just support a @reexport macro

I do feel quite strongly that this would be the wrong way to go.
One of the big advantages of the current approach is that it's made explicit what is imported/exported. I find this is consistently a huge help when navigating a code base. Something like this would mean we lose that advantage.

I like the @from "file.jl" import foo, baz export ... syntax.
I agree that a plain @reexport "file.jl" would be too implicit and it would not be clear where a function is coming from. Also, this kind of functionality is already more or less provided by Reexport.jl. Further, I also agree that @from "file.jl" export foo, baz is too concise.

To that point, can a syntax like export ... even be used? That is, is it allowed by the parser? It seems like I can't even construct the following expression:
julia> :(export ...)
ERROR: syntax: invalid identifier name "..."
Stacktrace:
 [1] top-level scope
   @ none:1

Okay, that's kind of fun. Playing with this a bit:
julia> x = :(exporta ...)
:(exporta...)

julia> x.head
:...

julia> x.args
1-element Array{Any,1}:
 :exporta

julia> y = :(export asdf)
:(export asdf)

julia> y.head
:export

julia> y.args
1-element Array{Any,1}:
 :asdf

julia> :(.)
:.

julia> :(..)
:..

julia> :(...)
:...

julia> :(....)
ERROR: syntax: invalid identifier name "..."
Stacktrace:
 [1] top-level scope at none:1

Off the top of my head I'm not familiar with the details of what's going on here. Probably we'd need to experiment a bit to figure out what's going on.
Which, incidentally, is an answer to your question over in #26 -- my own experience with Julia metaprogramming has been mostly a trial-and-error process of seeing what works. Beyond that there is this. This is also interesting.

One of the big advantages of the current approach is that it's made explicit what is imported/exported. I find this is consistently a huge help when navigating a code base. Something like this would mean we lose that advantage.

I see your point, one may only want to export a selected list of names from one file, now I see @reexport_from as a temporary solution until we figure out better syntax.

As stated in #26 I think it makes sense to move this feature to Reexport.jl. Thus, I'm closing this issue.

Reexport 1.2 now is composable with @from


Key error for cycling_ageing example

Describe the bug
When running the example script cycling_ageing.py a key error is raised where 'Lithium metal partial molar volume [m3.mol-1]' not found
How can I solve this issue?
To Reproduce
Steps to reproduce the behaviour:

Go to PyBaMM/examples/scripts/cycling_ageing.py
Run the file
See error below

File "C:\Users\pippa\Research\Code\cycling_ageing.py", line 67, in <module>
    sim.solve(solver=pb.CasadiSolver(mode="safe"))

KeyError: "'Lithium metal partial molar volume [m3.mol-1]' not found. Best matches are ['Inner SEI partial molar volume [m3.mol-1]', 'Outer SEI partial molar volume [m3.mol-1]', 'Lithium interstitial reference concentration [mol.m-3]']"

Additional context
A similar issue has been raised for the example script 'calendar_ageing.py' (view the discussion here), here it seemed to be a version issue between the main and develop branches. However, for me, the examples in both branches raise the same Key Error.

Which version are you using?

This script should work with v0.4.0: https://github.com/pybamm-team/PyBaMM/blob/v0.4.0/examples/scripts/cycling_ageing_yang.py


Add Messages Setup Guide

Currently, users are unaware that they should review the messages that are being seeded into the database on first-launch. There should be an updated guide on messages and message triggers.

Blocked by #291


(fix) prefix page title on pages with errors

as per guidance on GOV.UK Elements:

Additionally, you should reflect that there's been an error in the  by prefixing the existing title with "Error: ". That will make sure screen readers are alerted to there being an error as soon as possible.

 Page titles should indicate that there are errors on a page


[AutoPR] cognitiveservices/data-plane/ComputerVision

Created to accumulate context: cognitiveservices/data-plane/ComputerVision

(message created by the CI based on PR content)


Please create an offiical Conda install package

Pemja is missing an anaconda package, this will make installations easier for those who want to use pemja in their packages.

Yes. Make sense.

I have added this to conda as a PR, please can you @HuangXingBo  comment that you will happy to be a maintainer https://github.com/conda-forge/staged-recipes/pull/20422

Okay, there are some build issues i am having trouble fix, would you mind taking a look?

@Haaroon Thanks a lot for the PR. I will take a look

This can be closed out: https://anaconda.org/conda-forge/pemja


Dependencies currently on hold

A list of dependencies which are currently on hold/ignored by Dependabot:

https://github.com/wuespace/telestion-client/pull/512
https://github.com/wuespace/telestion-client/pull/517
https://github.com/wuespace/telestion-client/pull/1004

No more dependencies on hold! :tada:
For new dependencies on hold please take a look in the #1603 issue.


Missing icons in editor for Joint2D, CanvasGroup, DirectionalLight2D, PointLight2D

Godot version:
4.0.dev.custom_build. 30b6db99a

Lights: https://github.com/godotengine/godot/pull/43380
CanvasGroup: https://github.com/godotengine/godot/pull/43220 or https://github.com/godotengine/godot/pull/43291

Closing in favor of #46056


feat: server side filtering of project table

What new features does this PR implement?
restore categorical filtering of projects in the project browse table in the platform app.  I will be difficult to use the existing filtering widget which does client-side filtering, as the table is architected differently, and it would be difficult to reconcile the filtering with server-side paging.
What bugs does this PR fix?
the previous project browser allowed users to filter by category, but this was lost in the new scalable project table implementation.
Does this PR introduce any additional changes?
rollup of depend-bot angular tools upgrade included.
How have you tested this PR?
Will be tested locally and a server-side unit test will be introduced.

the client-side filtering offered by the previous implementation is difficult to reuse, and won't play nicely with server-side pagination without signficant changes.  It does provide some good inspiration.
We need a single integrated solution for server-side text-search/filtering/pagination:

Once upon 'startup':

Server - generate list of filter categories and known values across all existing projects (could be maintained as a mongo collection).
Client - retrieve list of filter categories and valueus from server and dynamically generate client side UI.

Upon each table data change event (change page, search term, filter choices):

Client - send selected filter options along with the request - and filtering is done server-side before pagination.
Client displays whatever data the server returns.

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


vulnerabilities: expose withdrawn state on vulnerabilities

See https://github.com/pypa/pip-audit/issues/388. This exposes the underlying "withdrawn" field provided by OSV, allowing tools like pip-audit to filter on it.
Signed-off-by: William Woodruff<EMAIL_ADDRESS>

Done! Let me know what you think.

@woodruffw You've got linting failures here.

Whoops. Should be fixed now.


[BUG] Missing CPU fallback for GetMapValue on scalar map, vector key

When looking up a scalar map using a vector of keys, the spark-plugin fails to fall back to CPU.
Repro case:
import org.apache.spark.sql._
import org.apache.spark.sql.types._

val schema = StructType( Array( StructField("key", IntegerType) ) )
val rows = Array( Row(1), Row(2) )

spark.createDataFrame(sc.parallelize(rows), schema).createOrReplaceTempView("mytable")

sql("SELECT key, MAP(1, 'one', 2, 'two')[key] FROM mytable  ").show

The query fails with the following exception:
22/08/10 17:38:09 ERROR Executor: Exception in task 2.0 in stage 1.0 (TID 3)java.lang.IllegalStateException: Map lookup keys must be scalar values        at org.apache.spark.sql.rapids.GpuGetMapValue.doColumnar(complexTypeExtractors.scala:231)
        at com.nvidia.spark.rapids.GpuBinaryExpression.$anonfun$columnarEval$3(GpuExpressions.scala:258)
        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed(Arm.scala:73)
        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed$(Arm.scala:71)
        at org.apache.spark.sql.rapids.GpuGetMapValue.withResourceIfAllowed(complexTypeExtractors.scala:190)
        at com.nvidia.spark.rapids.GpuBinaryExpression.$anonfun$columnarEval$2(GpuExpressions.scala:253)
        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed(Arm.scala:73)        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed$(Arm.scala:71)
...

Ideally, this query should have succeeded by falling back from GpuGetMapValue to GetMapValue.

For 22.08, the spark-plugin should probably just fall back to CPU, since cudf::jni::maps_column_view does not support vector keys on scalar maps. I'm working on this now.
In 22.10, we probably need a cudf::jni::maps_scalar_view, to support key vector lookup.

Fixed by #6288. Verified to fall back to CPU.
We'll add actual support for acceleration when #6296 is addressed.


Strings that are not valid UTF-8 can be encoded but error on decoding

It seems that encoding should raise an error if decoding will.

Can you give an example?  I don't see how it'd be possible to encode a not-valid utf-8 string without using an unsound use of unsafe.

@danburkert the case where I ran into it was indeed from an unsafe use. Some very old code that I didn't write had str::from_utf8_unchecked. This eventually got serialized into a protobuf with Prost. I was surprised that it serialized successfully but could not deserialize. However, from reading the documentation it's clear that Rust programs are supposed to be able to assume strings are valid UTF-8, so I'm fine if you close this.

However, from reading the documentation it's clear that Rust programs are supposed to be able to assume strings are valid UTF-8, so I'm fine if you close this.


Installing through pip: package directory does not exist

I made a PR to fix this earlier, but it had it's own problems so I'm making an issue instead (as directed).
When I run pip install ., I get this error:
Defaulting to user installation because normal site-packages is not writeable
Processing /home/jsimonrichard/sway-workspaces
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running egg_info
      creating /tmp/pip-pip-egg-info-gntbtofq/sway_workspaces.egg-info
      writing /tmp/pip-pip-egg-info-gntbtofq/sway_workspaces.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-pip-egg-info-gntbtofq/sway_workspaces.egg-info/dependency_links.txt
      writing top-level names to /tmp/pip-pip-egg-info-gntbtofq/sway_workspaces.egg-info/top_level.txt
      writing manifest file '/tmp/pip-pip-egg-info-gntbtofq/sway_workspaces.egg-info/SOURCES.txt'
      error: package directory 'sway_workspaces' does not exist
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I believe this is because, when the packages option is used, pip expects a folder called sway_workspaces with an __init__.py folder, not a file called sway_workspaces.py. Instead, and individual python module could be specified  using the py_modules option (https://docs.python.org/3/distutils/setupscript.html#listing-individual-modules).

You are correct. I made a proper package folder and updated everything accordingly. Should work now.


How to reduce framerate of videoSource

Hi I am running multiple models at the same time and I do not require the video stream to be very fast. For my use case below 30 fps is more than enough to save resources.
I have tried to change frame rate using this in my custom function:
camera = videoSource(argv=["input=v4l2:///dev/video0", "--framerate=20"])
But this doesn't change the frame rate for some reason. Any help would be greatly appreciated.
System: Jetson Nano, JetPack 4.6.1, Ubuntu 18.04
Language: Python
@dusty-nv

Hi @nithinpremkumar1999, this should be fixed in https://github.com/dusty-nv/jetson-utils/commit/2ded2cec9de416ecc9e9c5a69f7010593d86817d
Can you try again after updating your jetson-inference?
cd jetson-inference
git pull --recurse-submodules
cd build
cmake ../
make
sudo make install

Hi @dusty-nv, I updated my jetson-inference and it still does not seem to work. Is there any way I can skip frames in detectnet like in actionnet? Or how do I force the videosource to be a certain fps?
I have attached my console log to this comment for the error I get.

The timeout kept on going for a few minutes so I force-stopped it.

@nithinpremkumar1999 can you creating your video source like this:
camera = videoSource("/dev/video0", argv=["--input-rate=20"])

If you still get the timeouts, try it with argv=["--input-rate=20", "--input-decoder=cpu"] and please post the text of the console log here (I need to see when it starts to see your camera formats and the GStreamer pipeline that it creates)
You can also manually skip frames by just keeping track of the frame count and using modulus operator, or by using a timing function (like time.perf_counter() and time.sleep())

This works for me.
camera = videoSource("/dev/video0", argv=["--framerate=20"])

The Same Ubuntu system, Jetpack, Nano, as the questioner.
Note: Nework FPS on the title is a different thing.
You may need to check your camera has this 20 fps option for you of specific size.
Try command:
$ v4l2-ctl -d0 --list-formats-ext

if you don't have v4l2-ctl, sudo apt-get install v4l-utils
Then my case (our default gstCamera can change from 5fps to 30fps):
" ioctl: xxxxxxxxxx (I hide it)
Index       : 0
Type        : Video Capture
Pixel Format: 'MJPG' (compressed)
Name        : Motion-JPEG
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Other Size... "
Try command:
$ gst-launch-1.0 v4l2src do-timestamp=true device=/dev/video0 ! image/jpeg,width=1280,height=720, framerate=5/1 ! jpegdec ! videoconvert ! xvimagesink sync=false

framerate= 30/1, 20/1, 5/1, you can do some experiment and see the difference.
Then finally I changed this line of code:
camera = videoSource("/dev/video0", argv=["--framerate=20"])
The output info does change to 20 when you run the demo program:
gstCamera video options:
-- URI: v4l2:///dev/video0
- protocol:  v4l2
- location:  /dev/video0
-- deviceType: v4l2
-- ioType:     input
-- codec:      MJPEG
-- codecType:  cpu
-- width:      1280
-- height:     720
-- frameRate:  20
-- numBuffers: 4
-- zeroCopy:   true
-- flipMethod: none

This works for me.
camera = videoSource("/dev/video0", argv=["--framerate=20"])

The Same Ubuntu system, Jetpack, Nano, as the questioner.
Note: Network FPS on the title is a different thing.
You may need to check your camera has this 20 fps option for you of specific size.
Try command:
$ v4l2-ctl -d0 --list-formats-ext

if you don't have v4l2-ctl,
sudo apt-get install v4l-utils

Then my case (our default gstCamera can change from 5fps to 30fps for 1280x720):
" ioctl: VIDIOC_ENUM_FMT
Index       : 0
Type        : Video Capture
Pixel Format: 'MJPG' (compressed)
Name        : Motion-JPEG
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Other Size... "
Try command:
$ gst-launch-1.0 v4l2src do-timestamp=true device=/dev/video0 ! image/jpeg,width=1280,height=720, framerate=5/1 ! jpegdec ! videoconvert ! xvimagesink sync=false

Try change the framerate to 30/1, 20/1, 5/1, you can do some experiments and see the difference. I tried 30 or 20 instead of 30/1 20/1 but errors are produced.
Finally I changed this line of code to:
camera = videoSource("/dev/video0", argv=["--framerate=20"])
The output info does change to 20 when you run the demo program:
gstCamera video options:
-- URI: v4l2:///dev/video0
- protocol:  v4l2
- location:  /dev/video0
-- deviceType: v4l2
-- ioType:     input
-- codec:      MJPEG
-- codecType:  cpu
-- width:      1280
-- height:     720
-- frameRate:  20
-- numBuffers: 4
-- zeroCopy:   true
-- flipMethod: none


feat: add AUR publish to goreleaser

cc https://github.com/clee231/tenv-bin-aur/tree/master
cc @clee231

https://github.com/tofuutils/tenv/issues/154


Syntax issue

Hi,
Running this module on Terraform 0.12 gives out this:
Error: Missing resource instance key

  on .terraform/modules/core.subnets/cloudposse-terraform-aws-dynamic-subnets-44cf26d/public.tf line 56, in resource "aws_route_table_association" "public":
  56:   route_table_id = "${aws_route_table.public.id}"

Because aws_route_table.public has "count" set, its attributes must be
accessed on specific instances.

For example, to correlate with indices of a referring resource, use:
    aws_route_table.public[count.index]

Would be nice if you would be able to fix it.
Thank you in advance,
Julian

try to use in https://github.com/cloudposse/terraform-aws-dynamic-subnets/releases/tag/0.15.0, updated to TF 0.12


Create Readme.md

update README.md by adding free_fall() function explanation, fitting into the python ecosystem, and some other minor details


Allow @aws-sdk/client-s3 dependency

Allow DefinitelyTyped types to depend on @aws-sdk/client-s3. This is to unblock https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60684

aws-sdk has individually published clients? How did I miss this? 😱 This is great news.


pull request for e2e test at 12/28/2016 08:45:10

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


globalLocale doesn't change the language

Why Moment.globalLocale from react-moment doesn't change the locale and translate the language?

I fixed this just with moment but not with react-moment
import React, {Component} from 'react'
// import Moment from "react-moment"
// import moment from "moment"
import moment from 'moment/min/moment-with-locales'
import {Text, View} from "react-native"

export default class ParseDate extends Component {
    constructor(props) {
        super(props)

        // Set the locale for every moment instance to Portuguese.
        moment.locale('pt-br')
        this.localMoment = moment()
    }

    render() {
        return (
            <View>
                {/*<Moment element={Text} format={`LLL`}>{new Date().toString()}</Moment>*/}
                <Text>{this.localMoment.format('LLLL')}</Text>
            </View>
        )
    }
}

output: Quinta-feira, 9 de novembro de 2017 às 02:07

What's going on with react-moment locale?
References: #10 #17 #41
https://github.com/headzoo/react-moment#global-config
https://github.com/headzoo/react-moment#usage-with-react-native

It sounds like you need to explicitly import the locale. Like this:
import React from 'react';
import Moment from 'react-moment';
import 'moment/locale/fr';

Moment.globalLocale = 'fr';

const Component = () => (
    <Moment format={`LLL`}>
        {new Date().toString()}
    </Moment>
);

Thank for your answer @headzoo but I need to be more "dynamic" with this right?
I think that moment-with-locales should solve this but it didn't work.

Alright, I'm not sure what the problem is, but I have a work around. I added the Moment.globalMoment property to react-moment v0.6.8. Which you can use like this:
import React, {Component} from 'react';
import {Text, View} from 'react-native';
import Moment from 'react-moment';
import moment from 'moment/min/moment-with-locales';

// Use the 'moment' instance from 'moment/min/moment-with-locales' instead of the
// default instance. Set the language to Portuguese.
Moment.globalMoment = moment;
moment.locale('pt-br');

export default class ParseDate extends Component {
    render() {
        return (
            <View>
                <Moment element={Text} format={`LLL`}>{new Date().toString()}</Moment>*
            </View>
        )
    }
}

It works on ReactJS. I'll testing to RN tomorrow.


Telemetry: add stacktrace to metadata

Purpose
Identify the source of slow-running queries by line number in code.
Background
I have been struggling with slow queries in a large project. I know which parts of the application are slow in practice, but because the application is so large I'm having trouble connecting the dots. The query data is not enough. I need the line number in the code.
I discovered it's possible to wrap Ecto functions in a new module with stacktraces, but this solution isn't practical because Ecto could change. Ideally something would be built into Ecto itself.
Then I discovered Elixir's telemetry system, and the path became more clear.
Solution
When the [:my_app, :repo, :query] event is emitted, include a full stacktrace in the metadata.
Here is a full metadata map with stacktrace:
%{
  type: :ecto_sql_query,
  source: "oauth_tokens",
  options: [],
  params: ["UkFAPtf5nyEHAq_mL6C0pz-ebMPGuIogwhm9uCwXLPw"],
  query:
    "SELECT o0.\"id\", o0.\"token\", o0.\"refresh_token\", o0.\"scopes\", o0.\"valid_until\", o0.\"user_id\", o0.\"app_id\", o0.\"inserted_at\", o0.\"updated_at\", a1.\"id\", a1.\"client_name\", a1.\"redirect_uris\", a1.\"scopes\", a1.\"website\", a1.\"client_id\", a1.\"client_secret\", a1.\"trusted\", a1.\"inserted_at\", a1.\"updated_at\" FROM \"oauth_tokens\" AS o0 INNER JOIN \"apps\" AS a1 ON a1.\"id\" = o0.\"app_id\" WHERE (o0.\"token\" = $1)",
  repo: Pleroma.Repo,
  result: {:ok, ...},
  stacktrace: [
    {Process, :info, 2, [file: 'lib/process.ex', line: 766]},
    {Ecto.Adapters.SQL, :log_stacktrace, 1, [file: 'lib/ecto/adapters/sql.ex', line: 954]},
    {Ecto.Adapters.SQL, :log, 4, [file: 'lib/ecto/adapters/sql.ex', line: 924]},
    {DBConnection, :log, 5, [file: 'lib/db_connection.ex', line: 1479]},
    {Ecto.Adapters.Postgres.Connection, :execute, 4,
     [file: 'lib/ecto/adapters/postgres/connection.ex', line: 80]},
    {Ecto.Adapters.SQL, :execute!, 4, [file: 'lib/ecto/adapters/sql.ex', line: 711]},
    {Ecto.Adapters.SQL, :execute, 5, [file: 'lib/ecto/adapters/sql.ex', line: 693]},
    {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 219]},
    {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]},
    {Ecto.Repo.Queryable, :one, 3, [file: 'lib/ecto/repo/queryable.ex', line: 146]},
    {Pleroma.Web.Plugs.OAuthPlug, :fetch_app_and_token, 1,
     [file: 'lib/pleroma/web/plugs/o_auth_plug.ex', line: 67]},
    {Pleroma.Web.Plugs.OAuthPlug, :call, 2,
     [file: 'lib/pleroma/web/plugs/o_auth_plug.ex', line: 32]},
    {Pleroma.Web.Router, :authenticate, 2, []},
    {Pleroma.Web.Router, :base_api, 2, []},
    {Pleroma.Web.Router, :no_auth_or_privacy_expectations_api, 2, []},
    {Pleroma.Web.Router, :authenticated_api, 2, []},
    {Pleroma.Web.Router, :__pipe_through4__, 1, [file: 'lib/pleroma/web/router.ex', line: 5]},
    {Phoenix.Router, :__call__, 2, [file: 'lib/phoenix/router.ex', line: 347]},
    {Pleroma.Web.Endpoint, :plug_builder_call, 2, [file: 'lib/pleroma/web/endpoint.ex', line: 5]},
    {Pleroma.Web.Endpoint, :"call (overridable 3)", 2, [file: 'lib/plug/debugger.ex', line: 132]}
  ]
}

We can now pinpoint this query to our application code, at lib/pleroma/web/plugs/o_auth_plug.ex:67
This makes the output infinitely more useful. I am now able to capture the slowest queries and then identify exactly where they came from in code. This will allow slow queries to be acted upon instead of trying to guess where they come from.

There is already a similar discussion in #343.
Computing the stacktrace all the time can be expensive and computing it in EctoSQL means that several entries are pointing to Ecto’s internals. This should most likely be moved to Ecto and I am discussing with @v0idpwn what would be the best API for so. :)

Computing the stacktrace all the time can be expensive

Something like this might work.
defmodule Pleroma.Repo do
  use Ecto.Repo,
    # ...
    telemetry_stacktrace: fn entry -> entry.connection_time > 500 end

    # ...
end

I only need the stacktrace if the query is slow.

Which env did you try it on? You have this for dev:
https://git.pleroma.social/pleroma/pleroma/-/blob/develop/config/dev.exs#L44
my concern is that the regular stack trace size won’t be enough.

We went with another approach that passes the option in from Ecto itself. It will be available in Ecto v3.8. Thank you for the PR!


Support of passing custom html attributes in nz component like data-, aria-, role

What problem does this feature solve?
In my compagny, we use data-test-id pattern to aim on HTMLElement in our unit and e2e tests.
Actually, we can not pass custom html attributes in nz components and this is painfull.
To achieve our goal, we can use a workaround like that :
<div data-test-id="mycontainer__mycard">
    <nz-card ...></nz-card>
</div>

But this is not ideal, as it adds a lot of useless HTMLElement in app, diminishing rendering performances.
However, i didn't try to use a directive that apply on his host an attribute passed in input. This could work, like this :
<nz-card myDirective [directiveId]="mycontainer__mycard"></nz-card>

If this could work, this is not optimal because this should increase the javascript execution time for nothing. Produce a raw template would be better.
What does the proposed API look like?
The goal of this feature is to permit to pass custom data attributes like data-*, aria-*, role this way  :
<nz-card data-test-id="mycontainer__mycard"></nz-card>

<nz-button aria-label="my-label"></nz-button>

<nz-button role="my-role"></nz-button>

EDIT:
I have a POC working with a directive like i describe bellow.
import { Directive, ElementRef, Input, OnInit, Renderer2 } from "@angular/core";

/**
 * Add HTML attribute directive
 *
 * @description Add html attribute on hosted HTMLElement. Workaround until https://github.com/NG-ZORRO/ng-zorro-antd/issues/6725 resolution
 * @example <my-html-element addHtmlAttribute attributeName="data-test-id" attributeValue="my_test_id"></my-html-element>
 */
@Directive({
    selector: "[addHtmlAttribute]"
})
export class AddHTMLAttributeDirective implements OnInit {
    /**
     * Data name
     */
    @Input() attributeName = "data-test-id";
    /**
     * Data value
     */
    @Input() attributeValue;
    /**
     * Directive contructor
     *
     * @param el Html element
     * @param renderer Renderer angular function
     */
    constructor(private readonly el: ElementRef, private readonly renderer: Renderer2) {}
    /**
     * On directive initialization
     */
    ngOnInit(): void {
        if (this.attributeName && this.attributeValue && this.el.nativeElement) {
            this.addAttributeOnHostElement();
        }
    }
    /**
     * Add attribute on host element
     */
    addAttributeOnHostElement(): void {
        this.renderer.setAttribute(this.el.nativeElement, this.attributeName, this.attributeValue);
    }
}

<nz-card addHtmlAttribute attributeValue="my_data_test_id">

Even if it works, implementing this directive on each nz component that we would to pass custom HTML attribute will produce two render instead on one at the component initialization. If performances are a pre-required, this is really not ideal.
Is something can be done to achieve this ?

Any updates on this?

This should be solvable using angular attr binding:
<nz-card [attr.data-test-id]="'id'"></nz-card>


PostHTML support

Like PostCSS, PostHTML is a growing technology and a community filling up with plugins to process HTML through AST tree with JS code.
It's already have plugins

for including one template into another,
extend them on top of each other part,
read images and add their sizes into <img> elements,
improve accessibility of tabs and add missing alt attributes,
minify html in modular way and inline any assets you want,
maintain BEM classnames or use CSS modules,
and even use PostCSS on inline styles.

It's highly important to implement this technology right now.

Hey @Grawl,
Thanks for bringing this new lib to my attention. Seems pretty cool.
What's even more awesome is that it should work within Yeogurt very easily. I don't really see a need to add it here out of the box, but a Guide on how to get it to work might be helpful.
Would you be willing to write a guide on how to add PostHTML to the jade/nunjucks gulp tasks?

Maybe. Has no enough time, sorry.

Closing due to non-activity.


Consider making FileDownloadTask public

I think making FileDownloadTask public would be very beneficial, it would allow extending this class for custom usage of the library

Thanks for your deep thinking.
Could you give me some case and I will consider about it.
ps: I hide the FileDownloadTask Class because there are some internal mechanisms.

Oh you're right - I've just noticed that BaseDownloadTask has a setTag method:)

Yes, you got it. thanks any way :)


Fixes and corrections in telemetry logging

Main changes:

Log CustomModel object with whatever is the state at the time of logging.
Disable logging from all tests except testLogTelemetryEvent + TODO to disable before launch.
Add a few extra logging events in ModelInfoRetriever.

#no-changelog

LGTM


Reconciller doesn't support systems and domains

Reconciller should be able to reconcile system/ domain information using Kubernetes annotations.
This should be enabled by existing mutations (domainChildAssign and systemChildAssign).
If there is no objections, I'll prepare PR with this change

Hey @MarcinGinszt -  I have no objections if you'd like to try adding this change but I do know that this repo is quite out of date when it comes to opslevel-go's latest version and doing that update is a significant amount of work.  Additionally internally we are looking at doing a full rewrite of the architecture of this tool because we are changing how the app handles integrations like this to build out a more unified data ingestion pipeline.
I have no idea when all of the above would land or come true which is why we have deprioritzed changes to this tool temporarily (because of the architecture rewrite)
If you think you can make something work in the meantime i'm happy to review and test it.

Hey @rocktavious !
Could you maybe give us any timeframe, when could you pick those up?

https://github.com/OpsLevel/kubectl-opslevel/pull/173#issuecomment-1724246072

@MarcinGinszt
We have refactored a chunk of this repo out to a new library (so we can use it elsewhere) but i've added the ability to specify a system in the configuration now see here for an example - https://github.com/OpsLevel/opslevel-jq-parser/blob/main/config.go#L28
I'm preparing the release of this tool today 🎉  so this feature will be in that release.


check env in make

I suggest to check compiler and CUDA versions in make before starting compilation as the default compiler is clearly no good!

you mean like GCC >= 8.0 and not GCC == 10.3 ?

Done in #280


Allow / in "host" portion of actionUrlPattern

Allowing / in the "host" portion of the actionUrlPattern supports
deployments where URL rewriting in a front-end proxy is used to allow
multiple services to be hosted from a single hostname or IP address.
This is a common scenario for Kubernetes-based deployments where a
cluster may only have a single exposed IP address or DNS name and its
Ingress does URL rewriting to expose multiple services using different
paths.  For example, when deploying OpenWhisk on a kube cluster we
need to expose two aspects of OpenWhisk using a single host name:
  mycluster.cloudprovider.com/openwhisk
  mycluster.cloudprovider.com/apigateway

PG1 2472 🏃

PG1 2472 🆗 - 6 test failures but ones that also happened on recent runs without this change.

@mdeuser @csantanapr can you review?

Current tests should catches a regression.


Looks like this regex is incorrect:
pathValues = /(-?\d*.?\d*(?:e[-+]?\d+)?)[\s],?[\s]/gi
String("7.2e-4").match(pathValues)
["7.2", "", "-4", ""]
I hope this helps

ok got it. Already fixed by this commit: d0085416bbd4fe4b8e86b47c7dcb76833459de28


Can't Debug by NVIDIA Nsight.

Graphic card :  GTX 1050Ti.
System : Windows10 x64

I have set the timeout to 30, and it also can't be run.
I run nsight debug the application and I display a black window, then it closed.

Currently, only Kepler GPUs are supported for shader debugging using Nsight.

@gabereiser  Sorry, my description was wrong. I want to capture the frame and analysis the frame by NSight.

I was having the same issue.
Quick fix: change the isGraphicsDebuggerPresent function in bgfx.cpp to return true, and it should work.


Topic frequency for /ols

Hi
the OLS Sensor works at 200Hz, but the frequency of the /ols topic on my Linux machine is 20-24Hz. I would have expected much higher frequency
Any idea about the reason and about how to increase the frequency ?
thank you

The transmission speed depends on the process chain set up. Since several sensors may share the CAN bus, it is possible that messages may be lost due to the CAN bus arbitration logic.


Odd issue with import

I'm using scout:import to push my data into local ES (OSX). All good.
When I try to use import on ubuntu 16.04 (forge) wi ES 5.2.2 nothing happens.
It says the import was successful, no log errors, nothing, but data isn't there.
I can send data using curl, only the import doesn't work.
Thank you for any help you could provide

Can you check if saving a new model on the DB is storing it also in Elasticsearch? This may be a ENV var misconfiguration.

You were right, the issue came from this setting : QUEUE=redis.
With QUEUE=sync all is fine (update/import)
Thank you Erick

@ErickTamayo Shouldn't work with queues? The queue is true by default in config/scout.php

@gibex yes it should, this driver doesn't interact with queues directly, is Scout itself. If you need using queues for Scout, you may check if the queue workers are running.


Implement substr template function

Its behavior is similar to that in JavaScript
with special handling of negative length as found in in PHP.
Fixes #991

Merged in 5b0245c
Hmm... the int vararg makes for a better template api.


Hide legend if layer is hidden

Relates to https://github.com/CartoDB/cartodb.js/issues/609
Branch 4696-hide-legend-if-layer-hidden

JS code is not honouring options->legend->visibility if the items inside are marked as visible:
...
visible: false,
legend: {
  visible: false,
  items: [
    {
      ...
      visible: true,
      ...
    }
  ]
...
},

@alonsogarciapablo I'm going to check named maps, but without them at least, with two public layers, even if I hide one in this branch (which propagates hidden visibility to the legend if present), it still shows at public map & embed map.
I am not sure going also inside the list of items and hiding each via backend is the proper way to go... @javisantana what do you think?

not sure i understand this but:

if the layer is not shown the legend is also not shown
if a layer has no legend it should not be sent

visibility attribute in legend should not exists

Let me properly show an example:
Scenario: 2 layers, visible both, each with a legend.

You make layer A hidden:

In current code layerA.visibility = false, layerA.legend.visibility = true, layerA.legend.items[ {...visibility = true}]
At this branch layerA.visibility = false, layerA.legend.visibility = false, layerA.legend.items[ {...visibility = true}]

So, IMO there is a bug because nor Rails app nor editor's JS code should have to toggle of each individual item's visibility if he parent legend is not visible. I've already fixed making the legend visibility "inherit" parent visibility when the later is false (so if you disable the layer, legend goes off too, but if layer is visible legend dictates its own visibility), but the items bug remains.
This is current scenario and my fix one. If you in your last line say "visibility attribute in legend should not exists" then that's another separate issue, and the Editor UI is wrongly sending to the backend a legend when it has become hidden (probably is not touching it, when it should be destroyed, right?).
I'm going to stop changing anything until we decide which is the proper fix.


Servers

Ready for review

Something looks wrong in this... 80,000 lines changed in 100 files and 14 commits?

I'm assuming it's due to merging master into it so that it could pull in all of the directory changes that were made in June.

Hmm I concede I'm not sure what this PR is meant for... is it a new doc, or is it just branch maintenance?

Servers.rst
And associated samples in /servers
Probably I should have rebased instead of merging?
Steve Smith

On Jul 3, 2015, at 14:44, Eilon Lipton<EMAIL_ADDRESS>wrote:
Hmm I concede I'm not sure what this PR is meant for... is it a new doc, or is it just branch maintenance?
—
Reply to this email directly or view it on GitHub.

Not sure. But if you look at the PR here it says 0 added lines and 79,179 deleted lines. This usually means something is messed up in your branch. But yes in general you should rebase instead of directly merging.

Created new PR; closing this one.


Fix for #1286

BrickFTP (files.com / Exavault.com) responds in a non - standard fashion (no filename).
Changed the regex to handle that situation.
Incidentally: The fix for #722 (which was never confirmed) which attempts to remove "213" from the server response as a fix is obsolete (the server response code is removed prior to the call of this function anyway) and not the real reason why #722 was reported. #722 was another, first occurrence of "missing" filename. And lo and behold, it was the same server type as the one reported here.

Release.
https://www.nuget.org/packages/FluentFTP/47.0.0


Unable to proces logs.

Hello,
Please excuses for me asking this question again, as it has been asked quite a few times.
Though after trying multiple suggestion I am unable to process any valid content with GoAccess.

//Edit:
After struggling a bit more, this seems to work:
date_format %d/%b/%Y
log_format %^ %h %^[%d:%^] "%r" %s %b "%R" "%u"

Those look right to me. Feel free to reopen it if needed.


Enable lang X developers to generate code that simplifies calling APIs that are described by OpenAPI

Note: this is a test user story for our new planning process, please ignore this issue for the time being.

[ ] As a user I want to have model classes to represent the schemas of responses from the API.
[ ] As a user I want to choose the desired resource by navigating a hierarchy of properties.

As a user I want to have model classes to represent the schemas of responses from the API.

Given a schema in the components section, generate a model class that represents the data described by the JSON Schema
Given an inline schema in the response object, generate a model class that represents the data described by the JSON Schema
Given an inline schema in the request object, generate a model class that represents the data described by the JSON Schema

As a user I want to choose the desired resource by navigating a hierarchy of properties.
Acceptance Criteria:

Given a path parameter in the URL generate an C# indexer to enable the user to provide the parameter
Given a path segment generate a property with the same name to access the resource
Given a final path segment that identifies an OpenAPI pathItem, there should be a method to execute each operation.
Given a final path segment that identifies an OpenAPI path Item, there should be a method to access an object that contains the information required to execute the operation.

Query parameters
Supported returned media types

to be specific, this issue was created by Darrel when exploring the methodology, no actual work needed on this so far.


Route [password.reset] not defined.

When trying to reset the password, i get the following message:

My bad, i hadn't updated some code.


Add optional line width prop to define stroke width of the circle.

Allows the user to define the stroke width of the circle via a lineWidth prop:
import Circle from 'react-circle';

<Circle
  size={150}
  lineWidth={14} // Default is 25.
  progress={69}
  progressColor="cornflowerblue"
  bgColor="whitesmoke"
  textColor="hotpink"
/>

The engines config in package.json was changed to allow newer backward compatible environments to install dependencies. Static node versioning is sort of a moot point on this project given the build process.
README.md and the example page has been updated to accommodate the change.

This is awesome @satiewaltz ! Thanks for taking the time and implementing the feature! 🚀


Difference between new_points and grouped_points

@ma-xu
I'm sorry to keep coming back to you.
Local_grouper calculates and concats new_xyz and new_points, and grouped_xyz and grouped_points, but I would like to know the difference between these two.
Also, what is the difference between fps_idx and idx?
Thank you.

fps_idx denotes the idx of sampling center points, idx denote  the idx of neighbors of center points

@cccchensir Thanks for your explanation.
@popopochan please see ccchensir's explanation. That's right.

Dear @cccchensir @ma-xu
Thank you for responses.
I have one more question.
In the geometric affine module, α and β are learnable parameters, and in the first step, α is all 1 and β is all 0, but I would appreciate it if you could tell me the process, reason, and advantage of changing it at each step.
Also, as a result, is the output point cloud affine transformed from the input point cloud?
I am a beginner. Please.
Thank you.

they are leanrable parameters implemented by nn.Parameter, will be automatically optimized and updated like parameters in learnable layers.

Closed. Feel free to reopen it if you have any further questions or concerns.


how to set content type for"multipart form" in body??

I have checked the following:

[X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add
how to set content type for"multipart form" in body??
i want to include both a multipart file and a json data in one request, but it will say"Content type 'application/octet-stream' not supported"
From what i saw on the Internet,this error may be sovled by setting the content type of json data as"application/problem+json",but I cannot find this option in Bruno.
Mockups or Images of the feature

There's a PR in the works that will take care of this: https://github.com/usebruno/bruno/pull/2121

We've introduced the ability to set the content type for multipart forms!
Check out the latest release, v1.37.0: Download here.


title

@jwrudolf @pcmathias
guys what is
R Language Primer and Programming Symposium on Data Sciences?

That is the official title on the Path Informatics Summit schedule: https://www.pathologyinformatics.org/schedule_2019.php
Figured it was a fancy name you came up with. A bit wordy for my tastes.

Title on title page is: Introduction to R Workshop.


Can I add something ?

You're welcome to open a pull request if you have something you would like to add.


[Issue 8079] Use if to avoid throwing NPE

Fix #8079 .

What is the motivation of this change?

What is the motivation of this change?

Refer to #8078 .

/pulsarbot run-failure-checks

@Technoboy- Could you please help resolve the conflicts?

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Mask for editable input

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
For date of birth, it's easier to type the year or the whole date with the keyboard.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I've enabled the text input for the control and it works well, but I would like the input to have a mask for the date, to be able to specify a v-mask attribute to the input directly.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I haven't found any yet. I tried the dp-input slot but it seems not to work with control input.
Additional context
Add any other context or screenshots about the feature request here.

This won't be worked on as it is basically a whole new library, you can either implement your own or find a package and use dp-input slots, and all methods are provided to parse date.


Functor vs. Scalar values

It would be useful to have a scalar-valued field class with maps to/from the tensor valued fields, i.e.
C[d](K, R)  <-------> C[d](K, R^E)       # where E : K -> Set is the shape functor.

Right now, one of the most costly operations upon system creation seems to be the following list comprehension:  (core/operators.py)
def local_masses(domain):
    indices = [[i, j] for a in domain\
              for i in range(a.begin, a.end)\
              for j in range(a.begin, a.end)]
    ...

Basically we create block diagonal matrices of 1s (sum then extend) when we could reduce this to a scalar valued field (useful for visualisation too).  Later composing with an extension matrix would essentially yield the same blocks of 1s but __matmul__ is probably more efficient than this nested list comprehension... :thinking:
N.B: local_masses = S* . S if S denotes the sum from R^E to R.
Useful for operators as well: implement K.zeta, K.delta, ... with scalar values then extend them (allows for concise +-1 representation).

Creation of normalisation matrix fixed by #9 : local_masses = from_scalar @ from_scalar.T
Domain instance creation now *10 faster

Problem: from_scalar and to_scalar have different source/target domains - operator degree is not enough

requires rewrite of Functional.__init__ to have source and target domains
create both chain complexes (scalar and tensor valued) upon system creation

N.B: Only nerve creation is costly in System.__init__ when close=sort=False.
The nerve could be passed as argument as well. Probably use another class method not to multiply __init__'s arguments.
Maybe System.closure(...) or System.nerve(...) for the one in use now
And System(Nerve) for the standard initializer

This works:
from topos.core.operators import to_scalar, from_scalar
A = System(("i:j", "j:k"), shape=3)    # local algebra functor
K = System(("i:j", "j:k"), shape=1)    # local scalar functor

J, S = from_scalar(A[0]), to_scalar(A[0])

u = A[0].ones()
s = K[0].field(S @ u.data)
v = A[0].field(J @ s.data)

Create linear operators with something like:
M = Matrix((tgt, src), mat)


feat(typeahead): add 'show-hint' option

This is related to #2570
Add a read-only input that has the same postion as the original input

I must say that I absolutely love your work. I wish all the PRs would be like this one and the others you made.
As a suggestion that would help us immensely is to create a plunker with your solution working. You can open the current typeahead demo on plunker, create a new file and paste the tpls bundle that contains your patch (as simple as grunt after-test to generate it).
Thank you again.

Thanks for your compliment!
This is a plunker for this pr: http://plnkr.co/edit/5oWIfw4z14uOVo6KzPu7?p=preview
I'll try to do this in the future too. Glad I can help!

Seconded on the admiration of the great work - these are some high quality PRs you have put together, and I greatly appreciate the effort put into them. It is rare that we see work this good come out of the blue.


ROX-16871: adjust UI for declarative notifiers

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #6126

PR #6129   👈

This comment was auto-generated by Graphite.


dgram throws 'Not running'

so dsyelxic just got this after disconnecting the bot while playing a song

This error occurs after every connection.destroy() for me as well

Fixed with 3fa3b02


JDA Builder not found but it is in the JAR File

like you can see here JDA is in the JAR but on my vserver a error cames when i try to start my jar file:
λ java -jar -Xmx1024M KeksBot.jar
Exception in thread "main" java.lang.NoClassDefFoundError: net/dv8tion/jda/core/JDABuilder
        at core.Main.main(Main.java:21)
Caused by: java.lang.ClassNotFoundException: net.dv8tion.jda.core.JDABuilder
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more

The github issue tracker is reserved for feature requests and bug reports. Your issue is neither and should be sorted out inside of our discord server. Go to discord.gg/0hMr4ce0tIl3SLv5 to receive the needed help.