How to reduce time steps' computation time working on Google Colab

Hi,
first of all thanks for this repository and for your work. I'm a student that is working with this code for a project's university. My aim is to replicate the results written in this paper using the same parameters.
I tried to run the code with Colab, but the computation time for each step is really huge (e.g. 1000 steps in 4 hours); how can i reduce the computation time for each step? Is there some optimization that i can do to speed-up the training?
Any suggestions (also from other users, not only the creator of this repo) would be appreciated. Thank you!
PS i'm using the CIFAR10 as dataset

The paper does 800k steps with a batch size of 128 on a TPU v3-8 (similar to 8 V100 GPUs)  for CIFAR10, which takes them >10 hours.
On a single GPU like those in Google Colab it'd probably take days and days to train as much as they do. BUT the training will have diminishing returns - you might be able to get away with only a few hours of training as long as you're OK with lower sample quality.
Here's a quick test I've just tried that does ~2000 steps/hour with a batch size of 300 (so ~600k samples/hour) on a P100 in Colab: https://colab.research.google.com/drive/1dlk4n199sEdYBWQDph_s5F_lJ_EDT-ZZ?usp=sharing
You may want to use a lower batch size depending on what GPU you get. I tried to roughly match the settings of the cifar10 model in the DDPM paper you link but it's not an exact replication.

@johnowhitaker thank you a lot! I can do at least 5000 steps/hour with a resized batch size.
Also, i think you're the creator of the AIAIART7 . I learned all the most important concepts about the diffusion models thanks to your Colab file, so thanks twice!
One last question: the train method used in this repo concatenates 36 images on a single image during the "save" method; is it right to compute the metrics like FID, Inception Score or NLL using these images? or is better to save the image one by one (remember they're 32x32) instead of concatenating it in larger image?
If the answer for the last question is yes, i think there's the necessity to modify the code of this repo in that training part


add public settings.xml

Actualize the local ~/.m2/settings.xml sucht that it is publishable
Publish it

done


Response Cache

Response cache in order to increase APIs performances

Implemented Symfony Http Cache Control System
Added CacheKernel
Override default Symfony cache


Create swagger.md

Hi @atalyaalon ,
What is the purpose of the swagger document?

@ziv17 to document current Swagger Endpoint.
We might want to use it in the coming future. You are welcome to improve documentation / add any detail you think is important to have in the docs


cannot install gulp cli

npm ERR! path C:\Users\ahuja\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\atob\bin\atob.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\ahuja\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\atob\bin\atob.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR!      C:\Users\ahuja\AppData\Roaming\npm-cache\_logs\2018-02-12T07_08_11_976Z-debug.log

log file attached
2018-02-12T06_56_40_944Z-debug.log

Try again, if it doesn't work you should file a bug with npm. NPM has lots of issues like this randomly, use yarn if you keep having them.


bitrise-step-veracode-security 1.0.2

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

New Step
Thank you for the new Step share! The CI check might will fail due to our extended validation engine. Nothing to worry about yet, we will get back to you shortly.

hi @ryanphillipthomas thanks for the contribution! Could you please address @koral-- change requests and remove the unused dependency? Much appreciated 🙇

Yup I'll have another PR up with those changes

@ryanphillipthomas thanks, and one last request. Can you please rename this step to veracode-security? In the future we'd like to enforce not having bitrise or step prefixes in the step name. We've already prepared the step directory: https://github.com/bitrise-io/bitrise-steplib/tree/master/steps/veracode-security?

Yup can do, I was curious about the name. Glad you mentioned that, I'll include it as well. The PR might go up over the weekend just FYI but I'll get it up. If you guys have any other notes feel free to keep adding here and I'll include.

https://github.com/bitrise-io/bitrise-steplib/pull/2940


⚠ Bofrost.at has degraded performance

In 66dfdeb, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2211 ms

Resolved: Bofrost.at performance has improved in 8ec3a73 after 7 minutes.


Speed of the convnext

Hello, I recently tried to use the convnext structure for a task that attaches great importance to the inference speed (the faster the better, not a certain speed), the inference speed of convnext is more than twice as slow as 33 convolution, I Just use pytorch for inference, is there any way to improve the speed (can sacrifice a little precision), or if it is written using cudnn, will it narrow the gap with 33 convolution.

Sorry for the symbol problem. It's just the normal 3×3 conv for resnet。

which model architecture are you using for the 3x3 conv? Is it still in ConvNeXt or is it a resnet?

The traditional model is to use a 3×3 convolution resnet (without  bottleneck), which is not accurate but fast

We did observe ConvNeXt-Tiny is slower than ResNet-50 despite their flops are similar. This could be due to the relatively slower modules like depthwise convolutions, GELU, and LN in ConvNeXt. For larger models (e.g., ConvNeXt-B vs. ResNet-200) this discrepancy would be smaller.


Quick Add Bank Tag

This is an enhancement for the existing bank tags plugin.
A new dropdown menu option is added to allow the user to add the previous tag with one click

I'd personally like if this did not persist between bank sessions--that is, if you closed the bank, I'd like for it not to add the extra menu item. Bank menus are already long enough as-is. That said, that's a neat feature that I'd find very helpful when setting new tags. :+1:

Will work on this later today!

currently it does, but it will not re add it to the list,
I am including this as one of the cases to now show the menu for the next commit

@Nightfirecat PR is updated with requested features as well as an updated gif 👍

I'm excited if this ever makes it to release.

Ive been wanting to get the requested changes done but have been busy with other things the past couple weeks. Hoping to have some time this weekend to do it.


Missing explanation for localization in view components

How can I use resources in a view component? I tried to create a resource file Resources/Views.Shared.Components.Foo.Default.resx and injecting the IViewLocalizer in my view. Calling GetAllStrings on the localizer throws a MissingManifestResourceException.

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

ID: d1833676-ff1b-c587-cc9c-81afffa8ef68
Version Independent ID: ad989395-3f49-4d55-521e-cf6fe56281ee
Content: Globalization and localization in ASP.NET Core
Content Source: aspnetcore/fundamentals/localization.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@hishamco please review.

I will have a look ASAP

@majbo could please provide a minimal repo to reproduce the issue?

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.


@damassi: Document that responsive page designs are [I think?] preferred

I think we "decided" broadly that we want to implement pages in a responsive manner to provide a first-class experience to the growing and changing mobile audience. I thought I'd document that for posterity.
(Please ignore the prettier changes... I guess there were offending commits pushed earlier.)

👍 Thank you!


wasm?

Any plans on packing into wasm?

You can set the backend for TFJS to WASM and this should work.
Here's a blog post on how to do so with create react app:  https://shift.infinite.red/adding-tensorflow-js-wasm-backend-in-create-react-app-f57f5baab736
IF you'd like to add a WASM example to the site and a test to assure WASM is properly supported, that would be an epic contribution!  If for some reason this doesn't work with WASM, I'd love to fix that.

@lagleki
I just made it myself.
on TFJS WASM + Web Worker Version
There is a slight difference compared to nsfwjs.
But it's not a big deal to judge.
https://gist.github.com/YankeeTube/ee96f60f57b9038ee0b703fc6620e7d9


Y24-287 - [BUG] Exception 27/08/2024 at 13:50

Email subject line
[Psd-exceptions] [Limber PRODUCTION] print_jobs#create (NoMethodError) "undefined method `id' for nil:NilClass"
Error body
A NoMethodError occurred in print_jobs#create:

  undefined method `id' for nil:NilClass
  app/models/print_job.rb:138:in `pmb_label_template_id'

Acceptance Criteria

[ ]  Look into this exception and fix the code to handle the exception sensibly.
[ ]  Document the root cause and solution in a comment on this issue.

Additional information
The id of the user who triggered this error is often shown in the exception email, in case you need to communicate with them.

Fix linked in PR above.
Cause
When a label template which doesn't exist in print my barcode is attempted to be accessed in app/models/print_job.rb it throws an error. In this case it is the template 'sqsc_384plate_label_template_code39'. This template is documented as unusable but included 'for completeness', see comment here.
This was accessed because a user, presumably incorrectly, tried to print a 'plate_384_single' template to a toshiba printer. The toshiba printer is still selectable, despite not having a valid template, because limber displays all 384 printers and doesn't have a filter for print service type.
Fix
Handle label template check safely in app/models/print_job.rb for the case where the label template does not exist. It now provides a clear error message: Pmb Unable to find label template: <template_name>.


Can I set a (prefered) delivery time/date for an email?

Is it possible to set the intended time/date in which an email delivery would be first attempted?

This is not a feature of Postal, messages are sent immediately or after a short delay.

Thank you @willpower232, since marketers are concerned with these details, do you think it might be a good feature for postal?

Its not a bad feature but its not a feature for Postal (see https://github.com/atech/postal/wiki/FAQs#can-you-add-mailing-list-feature)
It would be better to create your own software solution and send the messages via Postal via your own scheduling system.

I understand adding email management capabilities is out of this project scope, however, I think that wiki article does not apply to what I am describing.
I am talking about improving the queue with a simple (desired) time tag, that would improve the effectiveness of marketing messages.
I do however understand managing this at the sending app has some advantages too.

Postal is primarily focused on developers who need their software to send messages rather than being a marketing email solution so its unlikely to get much traction.

Don´t underestimate marketers, they send most of the legal emails around the world, did you take a survey to see how many of these developers you mention currently work for marketing teams and companies? You might get surprised. I don´t know which is the aim of postal (btw, is there a roadmap somewhere?) but if you want it to be widely used, it would not hurt to accomodate those needs. In the project description you state postal is similar to some of these commercial email relay services, well some of these started supporting this already...

BTW, open and click tracking is a feature that´s totally out of the scope of any traditional email server and it´s been implemented into postal, it´s not needed for technical maintenance of the email server, it´s purely a marketing reporting feature.

I'll leave this open as a feature request. Feel free to implement it.

Thank you catphish,
I have to implement this either on Postal or directly into my app.
Any pointers on where to start?


% is much faster than joining formatted encoded segments.

Just did some work with timeit, this is definitely a micro-optimization but  everything counts for benchmarks.

Interesting. I think it's OK to keep the code as is though. The next series of benchmarks should include a more complete HTTP server anyways.


Unable to remove emoji

I have a issue when use EmojiParser.removeAllEmojis() method.
I have the String unicode is "🍁Test comment". After using this method, the returned string is "ߍ�Test comment", It have another character.
Can anyone help me out from this problem

I use version 5.1.1. and in my case it works fine to remove this character.


Some genes have bad preferred names, but preferred prefix boosting might help

Examples:

NCBIGene:2147 "F2" (https://github.com/NCATSTranslator/Feedback/issues/760)

"prothrombin (human)" from PR would be better

@sierra-moxon DEFINITELY wants us to turn this into a spreadsheet.


Crashlytics Veracode Issue on FABCLSUserDefaults.m

Hello,
I am using Veracode Tool for code static analysis
https://www.veracode.com
and I am facing one security issue on Crashlytics component
Xcode version: 10.3
Firebase SDK version: 6.13.0
Firebase Component: Crashlytics
Version: 3.13.2
The issue says:
File - FABCLSUserDefaults.m: 232
"Description: This call to NSFileManager.setAttributes:ofItemAtPath:error:() exposes potentially sensitive data. This could allow private data such as cryptographic keys or other sensitive information to be erroneously exposed.
Remediation: Ensure that the application protects all sensitive data from unnecessary exposure."

Crashlytics does not save sensitive data to disk. In addition, users should never log sensitive data through Crashlytics.
The reason we are modifying file contents is to capture crashes that happen when a phone is locked. Without this, if your app crashed while the user had the phone locked, we wouldn't be able to generate a crash report.


How to figure out which package is stopping NaughtyAttributes from working?

I'm working on a large project in Unity 2022.3.27f1 that contains a lot of different assets/packages imported. I added NaughtyAttributes  today from asset store, but most of the custom attributes have no effect on the inspector view. I don't have anything added for the purpose of custom editor features.
Specifically I want to use ReadOnly and BoxGroup right now, which have no effect on the inspector.
I created a brand new project and added NaughtyAttributes the same way, all the features are working.
I tried slowly adding back all the imported assets + Editor folder to the new project, but NaughtyAttributes still works, maybe I missed something. Is there any other way to try figure it out?

Firstly, NaughtyAttributes uses the old IMGUI only, ensure you have: Player Settings - Editor - Use IMGUI Default Inspector checked. And restart your unity (IMPORTANT!).
Now, check if things work correctly. If things are broken, check that thing, it's been drawn by another drawer.
If meta attributes still broken, create these:
attribute decorator:
using UnityEngine;

public class MyAttribute : PropertyAttribute
{
}

MonoBehaviour, and attach to some gameObject
using UnityEngine;

public class MyMono : MonoBehaviour
{
    [MyAttribute] public string myField;
}

Now, create the drawer, under an Editor folder. (create an asmdef if you use asmdef to manage your project)::
using System;
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;

[CustomPropertyDrawer(typeof(MyAttribute))]
public class MyAttributeDrawer : PropertyDrawer
{
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    {
        throw new Exception("IMGUI");
    }

    public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
    {
        return 20;
    }

    public override VisualElement CreatePropertyGUI(SerializedProperty property)
    {
        return new TextElement
        {
            text = "I'm drew by something else!",
        };
    }
}

If you see "I'm drew by something else!", then UI Toolkit is still the default drawer or NaughtyAttributes is not enabled at all. You need to dig more.
If you see the error like this:
Exception: IMGUI
...
SomeThing.OnInspectorGUI () (at Assets/Editor/SomeThingcs:196)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass71_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <a62328349c154758b537cb55981f61df>:0)

This SomeThing is what blocks your NaughtyAttributes.

BTW, NaughtyAttributes have not been maintained for years and never support UI Toolkit. I'd suggest some other alternatives:

SaintsField: my own creation which includes all features of NaughtyAttributes plus more with UI Toolkit and IMGUI supports. The catch is you need to enable SaintsEditor to use Layout (which is similar to NaughtyAttributes' BoxGroup). Most things can work together with NaughtyAttributes etc.
MyBox, which has many developer friendly tools.
Tri-Inspector, very friendly for people who is familiar to Odin Inspector.

For anyone in the future, the issue was from Quibli, a toon shader that also contains custom editor features.
Here's a useful script to find out which asset may be causing issues with editor:
https://github.com/TylerTemp/SaintsField/issues/51#issuecomment-2227303081
I've switched to using SaintsField since there's an easy fix without needing to modify the Quibli asset.


Github Enterprise support

I was able to change a few lines in the compiled source code to make it work on Github Enterprise before when the compiled code was not minified. Within hubpress the only changes necessary is to customize the base path for custom domain and repo directory. Instead of
https://username.github.io/hubpress.io or https://username.github.io

It will be
https://custom.domain.name/pages/username/hubpress.io or https://custom.domain.name/pages/username

This can be easily achieved in hubpress. However github.js as a dependency doesn't have official support yet for Github Enterprise. The enterprise version has largely the same API endpoints as the public version. I was able to replace the base url within the library code and it seemed that everything just worked fine.
@anthonny please advice what would you like to do about this. If this is deemed as not fixable for the time being, we can close this out.

:+1: Thank you @lai!
I'll see to integrate these elements quickly

Is this possible with the API changes since this ticket was raised @anthonny ? If it is possible to do, perhaps add it to milestone 10?

Yes i think it is still possible, i could add an entry in the settings panel of HubPress to say if the repository is an enterprise one.
Then in the github plugin i'll be able to add the /pages if necessary.


Fix #2: Installing new version of config file /etc/bash_completion.d/lxc error

This takes care of #2:

I was testing your repo on travis-ci and the build job got stuck at this point:
Installing new version of config file /etc/bash_completion.d/lxc ...
Configuration file '/etc/apparmor.d/abstractions/lxc/container-base'
 ==> Deleted (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** container-base (Y/I/N/O/D/Z) [default=N] ?

example: https://travis-ci.org/saucelabs-ansible/packer/jobs/134279269
any ideas?

Thank you @steenzout :smiley:

Fix released in 0.5.0.


Rewrite Framework in Scala

There is a lot that needs to be refactored in this project. I think moving to scala would ease this pain drastically.

HDFS is written in Java. At this time, we don't want to add a Scala dependency for customer and partners who are interested in this framework. We also want have different languages for different Mesos frameworks so Java is important. There are Mesos bindings in Scala, Java, Golang, Python, and Haskell currently. Of course frameworks can also be written in C++.

Fair enough.


fix(plugin-solid): remove @babel/preset-typescript for resolve the babel warning

Summary
Related Links
https://github.com/solidjs/vite-plugin-solid/issues/137
https://github.com/solidjs/vite-plugin-solid/pull/103

Checklist

[x] Tests updated (or not required).
[ ] Documentation updated (or not required).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add help menu to bat files

Added help menu to ManageSqlServerPerfmonDatset.bat & CreateUserForAssessmentWithWindowsAuth.bat files.
cc - @kiran0541

created a new PR for bat file updates #263. Hence cancelling this.


Can't manage or authenticate with LDAP users

Hello :smile:
I'm running this app version:
Application: Dependency-Track Version:     3.0.4 Built-on:    2018-05-02 17:02:31
1 - Reading de docker log, i know the LDAP synchonization has done succesfully
2 - But, when i'm trying to use an LDAP user to authenticate, the docker log has returned 'Unauthorized'
3 - Using the ADMIN user, i can't see any user on the list of LDAP users
4 - Inspecting the network log with Chrome, i have a response with HTTP 200 with an empty array as the response
5 - I've clicked on 'Create User' in the LDAP tab, and the user created have the atribute DN with de value 'INVALID', and i can't delete this user using the button on the user description block, but using the javascript function i can delete this user using his name.
Help me when it possible :heart: !
Thank you!

Are you using Active Directory, OpenLDAP, something else?
Also, a user account in the directory server will not automatically have access to Dependency-Track. You have to add an ldap user, then they will be able to authenticate. I'll have to take a look a the admin functions to see if there's a problem with deleting an 'invalid' user or not.
In v3.0.x, the username is automatically appended with whatever value is in alpine.ldap.domain.  So for Active Directory, if my base DN = dc=example,dc=com, then alpine.ldap.domain would likely be  example.com, but this is not always true. So ensure that you have the correct value that corresponds to your directory servers' configuration.
Also in 3.0.x, only simple authorization is supported. Refer to https://docs.oracle.com/javase/tutorial/jndi/ldap/authentication.html for the authorization modes.
In v3.1, the format of the username is definable as is support for strong LDAP authorization.

I'm using an Active Directory 2016
I got the base DN by the A.D. Manager of the company and tested it inspecting the class used to LDAP authentication service on github project and
injecting an application.properties on docker
Can the latest version of docker have a diffrent version of code then the github code?
Any user will be shown when the LDAP syncronization are ok?
Thank you so much for fast answer my questions!

When I create LDAP user using name 'jenkins' I can delete this user
When I create LDAP user using name<EMAIL_ADDRESS>the javascript console log is:

Uncaught Error: Syntax error, unrecognized expression<EMAIL_ADDRESS>at Function.ga.error (jquery-3.2.1.min.js:2)
at ga.tokenize (jquery-3.2.1.min.js:2)
at ga.select (jquery-3.2.1.min.js:2)
at Function.ga [as find] (jquery-3.2.1.min.js:2)
at r.fn.init.find (jquery-3.2.1.min.js:2)
at new r.fn.init (jquery-3.2.1.min.js:2)
at r (jquery-3.2.1.min.js:2)
at :2:9
at p (jquery-3.2.1.min.js:2)
at Ja (jquery-3.2.1.min.js:3)

I think the @ is an invalid character in this case, or the dots

I solved my case, but can be a problem to other AD users.
Using the complete user name, and the full DN the AD configuration return the user information.
In my case, I can just configure users if they are in the same DN.
At this company, all the integration users are allocated in another DN scope than the people users, at this time i will just create an user in the same DN to solve that, but it will be a problem later.
I think the LDAP have an way to perform this query in a top organization unit and search in this childs, but I don't know how to do that.
Talking about the javascript errors, I found an little issue, the user registration can return some errors when tried to delete or edit an user, you can simulate this situation using a name containing invalid characters to CSS selectors.

@paulosbarros Thanks for reporting the issue. The issue has been corrected and will be included in the upcoming v3.1.0 release in June.

@stevespringett I'm impressed with your speed and attention! Thank you!

Included in v3.1.0. Closing.


Fix - Unhandled Exception: Bad state: Cannot add new events after cal…

If applied this pull request will fix the "Unhandled Exception: Bad state: Cannot add new events after calling close".
At some point, addPostFrameCallback was being called when the component was already disassembled, causing the application to crash.
Issue: https://github.com/maheshmnj/searchfield/issues/43
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing using flutter test

If you need help, consider pinging the maintainer @maheshmnj

LGTM 🚀

Platform macos
searchfield: 1.1.8
Flutter 3.24.3
Tools • Dart 3.5.3 • DevTools 2.37.3
════════ Exception caught by foundation library ════════════════════════════════
This widget has been unmounted, so the State no longer has a context (and should be considered defunct).
════════════════════════════════════════════════════════════════════════════════
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Cannot add new events after calling
════════ Exception caught by foundation library ════════════════════════════════
Bad state: Cannot add new events after calling close
════════════════════════════════════════════════════════════════════════════════

@klausgreiner Please file a separate issue


Add select and scatter 2 lax

Adds select_and_scatter to lax.
In writing an interpreter to rehydrate HLO modules into Jaxprs, as suggested here, I encountered SelectAndScatter in rehydrating the gradient of a MaxPool (I believe). Reading the documentation for SelectAndScatter, it was not obvious to me how to implement in terms of alternative lax symbols. But found this symbol, and in my experimental implementation this does indeed seem to be the thing I was looking for. So simply opening a PR adding to lax.

Thanks - it seems reasonable to add this to the public lax API. A couple additional things we'd need:

please add the new function to the list of operators in the docs here: http://go/jax-github/blob/main/docs/jax.lax.rst#operators
please add a test of the new public API. I believe that the XLA implementation of this operator is somewhat incomplete, so you may find that comprehensive tests fail for some corner cases.

One thing to note that since this is a maxpool gradient, it already has something of a test here: https://github.com/google/jax/blob/b374080e855deb2af6d7c5f9decfefd547c94e95/tests/lax_autodiff_test.py#L749
If there is a public API it should be tested explicitly though.

Closing for now, since we're still waiting on tests and documentation.
Feel free to re-open if you're still interested in working on this!


Add support for configuring socket_timeout in SCP mode

This commit allows to pass socket_timeout argument to SCPClient constructor. It's add a flexibiliy when the connection is not stable and default 10 second timeout is not enough.

Hi,
sorry for the late reply. For reasons I had to merge a big refactoring removing Python2 & Jython support. The refactoring clashes with your changes. I think, they should quite easily be integrated in to the client.py which is now the only client used SSHLibrary.
Could sync your branch (or do the changes fresh)?
I saw you documented the new parameter. Thanks a lot!! Could you also add some basic test case(s)? For verification?
Thanks a lot!!!


users: add allu

Should be merged after https://github.com/ponkila/nixobolus/pull/29

The Linux kernel for our aarch64 build server does not compile due flake update. It is most likely an upstream issue, even though we are using a stable kernel. Since developing for aarch64 is not our highest priority right now (and due to my reluctance to debug this), we have decided to ignore this for the time being.
Conclusion: hetzner-ephemeral-beta cannot be updated from the current state of this repository after this merge.
Here is the error:
[I] kari@hetzner-ephemeral-alpha ~/homestaking-infra (feat/add-allu)> nix build .#hetzner-ephemeral-beta
error: hash mismatch in fixed-output derivation '/nix/store/28dr63d5rm0im7sny59r57gbn1mzx1jl-compat_uts_machine.drv':
         specified: sha256-mpq4YLhobWGs+TRKjIjoe5uDiYLVlimqWUCBGFH/zzU=
            got:    sha256-357+EzMLLt7IINdH0ENE+VcDXwXJMo4qiF/Dorp2Eyw=
error: 1 dependencies of derivation '/nix/store/15csmg1qvn954j55lz9v2bm59bjyc11l-linux-6.1.45.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fyg2zcl4sq2v6i09rypy24xgsmh8sp60-kexec-tree.drv' failed to build


(feat): Make query console state URL based

Description
This PR fixes #8003
New Tab:

Codecov Report

Merging #8194 (11f0be6) into master (cf58d37) will decrease coverage by 57.13%.
The diff coverage is n/a.

:exclamation: Current head 11f0be6 differs from pull request most recent head bffc1c0. Consider uploading reports for the commit bffc1c0 to get more accurate results

@@              Coverage Diff              @@
##             master    #8194       +/-   ##
=============================================
- Coverage     71.34%   14.20%   -57.14%
+ Complexity     4305       81     -4224
=============================================
  Files          1623     1578       -45
  Lines         84365    82484     -1881
  Branches      12657    12453      -204
=============================================
- Hits          60186    11717    -48469
- Misses        20054    69886    +49832
+ Partials       4125      881     -3244

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.20% <ø> (-0.04%)
:arrow_down:

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

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


Case(1): Add a changed line

Adds a changed line

Successfully created backport PR #135 for case1-backport-target.


bump version in package.json to v2.25.5

release version v2.25.5

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


GitLab less permissions for the token

Why write api permissions is needed for GitLab?
Would read_api be enough?

Or maybe it is possible to add ForgeFed protocol to GitLab and api tokens won't be required?

Write access is need to mark as read (actually mark the todo as done). Ideally GitLab would have a more fine grained scopes but is not the case.

@rafaelmardojai I've seen ongoing work to change how access tokens are managed, still not sure how fine grained the controls would be.
If I don't want to mark things as read from the app, and my profile is public, do I need the token at all?

@abitrolly It should fail silently and the notification will stay in the app window, the app should be smart enough to not re-send a notification, but yeah, the app should work without mayor problems if you just use the api scope.


[admission_control tests] add test missing error case MempoolIsFull

Motivation
Missing test case MempoolAddTransactionStatus::MempoolIsFull
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
it's a test case.
Related PRs

:umbrella: The latest upstream changes (presumably ec777fed7a6e47175341f8afcfde87cddf3a7719) made this pull request unmergeable. Please resolve the merge conflicts.

Closed by #1031


Update sbt-release to 1.1.0

Updates com.github.sbt:sbt-release from 1.0.15 to 1.1.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sbt", artifactId = "sbt-release" } ]

labels: sbt-plugin-update, semver-minor

Codecov Report

Merging #83 (a770e5b) into master (2f64d9b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   85.71%   85.71%
=======================================
  Files           2        2
  Lines           7        7
=======================================
  Hits            6        6
  Misses          1        1

Continue to review full report at Codecov.

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


docs(README): add example how-to disable url() resolving

I was scouring the internet looking for how to get my css url() to resolve when webpack compiles. I couldn't find anything! But, I took a guess at setting url: false in the options for my loader and it worked! It would be beneficial to have this documentation on the readme. Thanks for the awesome plugin!

@robertsheacole Could you please make this a separate example ?
### `url() Resolving``

...your example


why in panorama mode the ground flows

in Render.cpp
change
thisptr->CreateStateBlock(D3DSBT_ALL, &state);
to
thisptr->CreateStateBlock(D3DSBT_PIXELSTATE, &state);


fix a spelling error of 'dnsmasq'

I think there is a spelling error of 'dnsmasq', so I changed it.
Please have a look.Thanks.
Signed-off-by: Wenyu You<EMAIL_ADDRESS>

@ywy1ywy  nice catch, thanks. LGTM
ping @thaJeztah

LGTM 🐰
(as it's small, putting cherry-pick on it)


AttributeError: 'Graph' object has no attribute 'node'

I am getting  Graph' object has no attribute 'node' error when i call LabelModel.fit on a simple example. Not sure whats wrong. (adding cardinality param doesnt help)
Installation
Ubuntu subsystem on Windows 10  (same error in standalone Ubuntu)
Python 3.6.7
Same error message on 0.9.0 and 0.9.1

pip3 install snorkel==0.9.0

Collecting snorkel==0.9.0
Downloading https://files.pythonhosted.org/packages/42/12/9c5ac9e097574a0657026af7cd127fddbe8f0888dc4fccedb26a8c29e1b6/snorkel-0.9.0-py3-none-any.whl (131kB)
100% |████████████████████████████████| 133kB 666kB/s
Requirement already satisfied: pandas<0.25.0,>=0.24.0 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: scipy<2.0.0,>=1.2.0 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: tensorboardX<2.0,>=1.6 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: torch<1.2.0,>=1.1.0 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: networkx<3.0,>=2.2 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: tqdm<5.0.0,>=4.29.0 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: numpy<2.0.0,>=1.16.0 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: scikit-learn<0.22.0,>=0.20.2 in /usr/local/lib/python3.6/dist-packages (from snorkel==0.9.0)
Requirement already satisfied: python-dateutil>=2.5.0 in /usr/lib/python3/dist-packages (from pandas<0.25.0,>=0.24.0->snorkel==0.9.0)
Requirement already satisfied: pytz>=2011k in /usr/local/lib/python3.6/dist-packages (from pandas<0.25.0,>=0.24.0->snorkel==0.9.0)
Requirement already satisfied: protobuf>=3.8.0 in /usr/local/lib/python3.6/dist-packages (from tensorboardX<2.0,>=1.6->snorkel==0.9.0)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from tensorboardX<2.0,>=1.6->snorkel==0.9.0)
Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.6/dist-packages (from networkx<3.0,>=2.2->snorkel==0.9.0)
Requirement already satisfied: joblib>=0.11 in /usr/local/lib/python3.6/dist-packages (from scikit-learn<0.22.0,>=0.20.2->snorkel==0.9.0)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from protobuf>=3.8.0->tensorboardX<2.0,>=1.6->snorkel==0.9.0)
Installing collected packages: snorkel
Successfully installed snorkel-0.9.0
Code
import numpy as np
from snorkel.labeling import LabelModel
L = np.array([[0, 0, -1], [-1, 0, 1], [1, -1, 0]])
Y_dev = [0, 1, 0]
label_model = LabelModel(verbose=False)
label_model.fit(L)

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/snorkel/labeling/model/label_model.py", line 743, in fit
self._create_tree()
File "/usr/local/lib/python3.6/dist-packages/snorkel/labeling/model/label_model.py", line 554, in _create_tree
self.c_tree = get_clique_tree(nodes, [])
File "/usr/local/lib/python3.6/dist-packages/snorkel/labeling/model/graph_utils.py", line 49, in get_clique_tree
S = G2.node[i]["members"].intersection(G2.node[j]["members"])
AttributeError: 'Graph' object has no attribute 'node'

@eggie5 are you running from Snorkel from source (in which case, if you pulled from master since #1492 was merged, I'd be surprised and there's more we need to look into) or from pip? If it's from pip, that's because we haven't pushed up the patch yet to PyPI. It should be up soon!

I'm commenting about the pip release. Any estimate on the new pip release?

We releases Snorkel v0.9.3 last night, which contains this patch. Closing for now, feel free to reopen if this still isn't working.

Hi @amitoengg, this is due to a recent issue I noted on #1491: networkx made a backwards-incompatible change to their Graph attributes, combined with snorkel assuming that they wouldn't make backwards-incompatible changes until 3.0. The patch has been merged to master, but in the meantime you can make sure to also specify networkx==2.3.0 in order for the LabelModel to run just fine.
Let me know if this works!

This Solve the problem for me Thanks.

hi,
i am suing snorkel 0.9.5 (pip install snorkel) and networkx 2.3 but still have the same problem:
AttributeError: 'Graph' object has no attribute 'node'
I am trying 01_spam_tutorial.ipynb which is part of Snorkel tutorial on GitHub without any modification:
label_model = LabelModel(cardinality=2, verbose=True)
label_model.fit(L_train=L_train, n_epochs=500, log_freq=100, seed=123)     <===== Error!
any solution please? thanks

@hmubarak could you check in the virtual environment where you're running the tutorial and confirm what version of networkx is present? (e.g., run pip freeze | grep networkx and see a result like networkx==2.4)

I am facing the same issue.
Modules versions are:
networkx==2.3
snorkel==0.9.7
I am using the code from the tutorial.


A3.10 ZTF Data Releases

For original github see https://github.com/lsst-uk/lasair/projects/20

At the 28/APR/21 Lasair internal review it was agreed to close this activity.  This activity needs DAC effort in order to proceed any further.


[DH-297] Add investment project archiving

Adds unarchive and archive endpoints for investment projects at:

/v3/investment/<id>/archive
/v3/investment/<id>/unarchive

Codecov Report

Merging #244 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #244      +/-   ##
===========================================
+ Coverage     92.8%   92.81%   +0.01%
===========================================
  Files           56       56
  Lines         1945     1949       +4
  Branches       185      185
===========================================
+ Hits          1805     1809       +4
  Misses         117      117
  Partials        23       23

Impacted Files
Coverage Δ

datahub/investment/urls.py
100% <100%> (ø)
:arrow_up:

datahub/investment/views.py
100% <100%> (ø)
:arrow_up:

datahub/investment/serializers.py
98.86% <100%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix Bug

Resolve #180 and #177 by updating error message.

Also updated user guide in find command to improve clarity

Resolve #126 by checking present of interview before getting

Codecov Report

Merging #187 (3576375) into master (e9d3517) will decrease coverage by 0.16%.
The diff coverage is 63.15%.

@@             Coverage Diff              @@
##             master     #187      +/-   ##
============================================
- Coverage     73.91%   73.75%   -0.17%
- Complexity      720      721       +1
============================================
  Files           106      106
  Lines          2074     2084      +10
  Branches        245      250       +5
============================================
+ Hits           1533     1537       +4
- Misses          469      472       +3
- Partials         72       75       +3

Impacted Files
Coverage Δ

.../java/seedu/application/commons/core/Messages.java
0.00% <ø> (ø)

...pplication/logic/commands/AddInterviewCommand.java
100.00% <ø> (ø)

...ain/java/seedu/application/model/ModelManager.java
93.75% <50.00%> (-1.13%)
:arrow_down:

...del/application/interview/InterviewComparator.java
57.14% <61.53%> (-17.86%)
:arrow_down:

...edu/application/logic/commands/ArchiveCommand.java
100.00% <100.00%> (ø)

...du/application/logic/commands/RetrieveCommand.java
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Component transform doesn't set value

Component transform does not pass the value field, used by the InputTextComponent.
Meaning that you can't actually use the value typed by the user.
I would make a PR to fix it, but I can't get the current main branch running because of the refactors that seem to be happening with Optionalizeing return types.
Screenshots

Should be fixed now in main. Will be released in next rc version. Thank you for the report


New category

Issue: https://github.com/sButtons/sbuttons/issues/698#issue-715592505

Sorry for the late reply @SamD97 but yes please create a new file for disabled. It should be better for keeping the consistency. Everything else looks great!

No worries @shahednasser, you are doing a great job as a maintainer. I have made the requested changes. I would like to contribute on a more regular basis as this experience has been wonderful. Thank you :)

You did a great job thank you so much! I hope you keep contributing and helping out the community!


Buffer.buffer contains incorrect data

I found geometry.attributes data is wrong.
The reason is Buffer.buffer 's data is ArrayBuffer(8192).

node version: 16
"dependencies": {
"base64-js": "1.5.1",
"node-three-gltf": "1.3.0",
"three": "0.147.0"
}

no matter what the base64 string is, Buffer.buffer is always the same

First, I wasn't sure about what the issue is, since Buffer.buffer is of course an instance of ArrayBuffer. But I actually have one test file which failed to load and I couldn't find the reason why, even though other files from the same converter output didn't cause any issues. So, node.js Buffer.from(string[, encoding]) obviously has some problems with binary data. The base64-js package did the trick and my problematic gltf file finally loaded. So, thanks for pointing out.


Fix focus color for checkbox & tab's close button

#1712
[bug]

This fixes the focus colors for the checkbox and tab's close button.
Modifications:

checkbox's checked and focused border is 2px solid #00BCF2
checkbox's unchecked and focused border is 2px solid --global-focus-outline-color
tab's close button's focused border is 1px solid --global-focus-outline-color

Coverage remained the same at 65.931% when pulling 50b00c8f82fd04a7fa26f421a09dfca5e6dfd864 on corinagum/1712 into 2eaf596156127fcf01a14217f91ffeae73cab473 on master.


Added the server in Rostock, including name, place and description.

@mwolfien awesome thanks! How do you know? :)

@bgruening  I'm always following important issues and contribute to great ideas =P

:)
I second this! Thanks for merging @hrhotz!


feat(config): add calculator to cmdline formats

Show proper prompt for the expression register. Press <c-r>= in insert mode to see how it looks like.

Thank you!


Consider moving the repo to tree-sitter-grammars

Hey @erasin, I hope you've been well. We at nvim-treesitter (and potentially more folks from other teams interested in an ecosystem-wide effort to maintain grammars) have decided to move all of our own grammars collectively into one org, to make it easier for us all to fix bugs or keep things up to date (scanner crashes, regenerating with the latest abi, etc.) without having to rely on one sole maintainer (you).
This is 100% optional, and please don't feel pressured or feel like you have an obligation of moving the grammar to the org, but it will help everyone a lot, us at nvim-treesitter, other users downstream, to know that a grammar won't ever die should a maintainer call it quits or go MIA. We also have org-wide actions that we maintain (out of sight, out of mind for you) and a grammar template (soon for newbies) in place to ensure authors have a better experience with working on and fixing tree-sitter grammars. It also enables anyone looking to find grammars for a specific language to only have to search in one spot
Our org is here: https://github.com/tree-sitter-grammars
If you want to participate (and don't worry, you'll still have full write perms to your repo, just no admin access), that'd be great! All you have to do is transfer the repo to me in the repository settings and I'll handle it from there. Thanks a lot, and again no worries if the answer is no!

I has transfer to you, but I get some error from github.
amaanq/tree-sitter-po already exists

ah yep sorry about that, just deleted my fork so you should be able to transfer now

done @amaanq

thanks!


Add CI

Add CI that checks

Examples
build
fmt

Add a table with the current support of wifi/ble/coex in our devices

Any feedback/suggestion is more than welcome. I'm also more than happy to discard this PR if you think it's not worth it.
Also started cleaning some of the Clippy warnings

Thanks, I've actually added CI in #117 already though 😅

Thanks, I've actually added CI in #117 already though 😅

Upps didn't notice that #117 included CI, I'll close this PR then. I will probably still poke on the Clippy warnings and, if you think it's worth, I can add the support table too!

FYI I think the support table is valuable, so I think it's worth PRing that :)

FYI I think the support table is valuable, so I think it's worth PRing that :)

Great, I'll do a small PR with that!

PR for support table created: https://github.com/esp-rs/esp-wifi/pull/122


wrong property

Request type

[x] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[ ] Correction or update

Details

https://developer.mozilla.org/ru/docs/Learn/CSS/First_steps/%D0%9A%D0%B0%D0%BA_%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D1%83%D1%80%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD_CSS

Apologies, but we are not currently making changes to translations. See https://hacks.mozilla.org/2020/12/an-update-on-mdn-web-docs-localization-strategy/ for an explanation.


Array Formula not being interpreted correctly

NPOI Version
2.6.2 (from NuGet)
File Type

[ ] XLSX

Upload the Excel File
Please attach your original Excel File to help us reproduce the issue
I'm not starting from an Excel file, but rather creating a XSSFWorkbook from scratch in my vb.net script.  I've uploaded a .zip of the directory in 'repos' for my project.
Reproduce Steps
NPOI tester.zip
Run my project in VS and observe the parse error for the formula '{INDEX(A5:A13,MATCH(MAX(ABS(C5:C13)),ABS(C5:C13),0))}'
Issue Description
The formula '{INDEX(A5:A13,MATCH(MAX(ABS(C5:C13)),ABS(C5:C13),0))}' is not being parsed correctly by the method ICell.SetCellFormula.

You can try ISheet.SetArrayFormula.
Reference:
https://github.com/cuba-platform/apache-poi/blob/master/poi/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java


fix(deps): update dependency @dcos/ui-kit to v3.72.1

This PR contains the following updates:

Package
Type
Update
Change

@dcos/ui-kit
dependencies
patch
3.72.0 -> 3.72.1

Release Notes

dcos-labs/ui-kit
v3.72.1
Compare Source
Bug Fixes

exports FormSectionFooter component (9fdeb24)

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v3.0.44
GitHub release

Your semantic-release bot :package::rocket:


Go to Symbol should position text cursor on name of target

VSCode Version: Code - Insiders 1.7.0-insider (0706b425537d8cfe2766eac00662ecf988c7ed7f, 2016-10-28T13:00:19.188Z)
OS Version: Darwin x64 15.6.0
Extensions:

Extension
Author
Version

EditorConfig
EditorConfig
0.3.3

vscode-docker
PeterJausovec
0.0.6

regex
chrmarti
0.0.6

vscode-eslint
dbaeumer
1.0.7

ghlink
dt
0.0.4

gitlens
eamodio
0.5.5

tslint
eg2
0.5.39

PowerShell
ms-vscode
0.7.2

csharp
ms-vscode
1.4.1

debugger-for-chrome
msjsdiag
2.1.0

diff
rafaelmaiolla
0.0.1

kustovscode
seanmcbreen
0.0.1

vscode-open-in-github
sysoev
1.2.0

Steps to Reproduce:

Go to Symbol that's a class or a class member (possibly others)
The text cursor is positioned on the first modifier before the name

This breaks the flow of keyboard navigation for actions like Find All References, Rename Symbol, etc., because the user now has to navigate the cursor to the symbol's name first.

I found it share the same experience with Go To Definition.

We simply use the position we get from the tsserver. So need to check what they return (using tracing option)

This issue was moved to Microsoft/TypeScript#12000

@dbaeumer I may have migrated that issue too early. Can you clarify what you mean by

So need to check what they return (using tracing option)

Is this on our end or TypeScript's?

This is on our end. I would do the following: enable tsserver tracing in VS Code's setting and do goto definition. If the trace shows that TS gives us the position of the visibility keyword (public, private, ...) then we should move this it the TS team. If not then it looks like a bug on our end.

Ok. This fell through the cracks but getting to it now.
I tested with this code:
class Foo {
    public x;
}

var foo = new Foo();

foo.x;

Here is the output I see from TS.

From reading this it looks like TS Server is providing the offset at the location of the public keyword rather than the target name. Can you confirm I understood the log correctly?

Yes the reported offset is at the beginning of public. I recommend to ask the TS team to change this.

This issue was moved to Microsoft/TypeScript#12270


🐛 fix(ubuntu.md): fix the bug of security update source version remaining as Ubuntu_20.04(focal) when switching Ubuntu version.

Thanks! There is indeed a problem.

Thanks! There is indeed a problem.

My pleasure😀.


openbabel2: use python3

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/148779
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Looks fine to me. Can't even remember why openbabel 2 was using python 2 in the first place.

Can't even remember why openbabel 2 was using python 2 in the first place.

It was using python before https://github.com/NixOS/nixpkgs/pull/154687, but that's an alias for python2. So it was probably just an accident.


[OSPO Associate] Request - [Linux Foundation- LFX]

TODO OSPO Associate Request
This is an issue created to request to become an OSPO Associate. If your organization is interested to apply, please make sure you have (1) read the OSPO Associate Program documentation
and (2) fulfil the requirements from the Pre-submission checklist.
Pre-submission checklist:

[ ] The entity is a community or OSPO provider aims to collaborate to improve OSPO adoption and education.
[ ] The entity compromises to co-create content with TODO Group
[ ] The entity allows to be promoted as TODO OSPO Associate and use their logo at TODO website and SM channels
[ ] The entity has an active commitment to the OSPO movement and TODO Group resources and initiatives

Contact Information
[Linux Foundation_LFX]

Contact 1 (primary) and GH Handle
Jen Shelby/JenShelby22
Contact 2 and GH Handle

REQUIRED: Benefits for the OSPO Ecosystem
This is a very important section to understand how your organization or community could help growing the OSPO Ecosystem and improve OSPO best practices across industries.

Understand the challenges that OSPOs have in managing and supporting open source projects and what tools they need to be successful and bring that back into the development teams at the LF
Help OSPO's grow their open source presence at the LF
Connect OSPOs and their employees to the training, events, and tools available thru the LF as part of their LF memberships

What do you expect from TODO Group as an OSPO Associate?
Learn from their experiences and gain an understanding of how various OSPO's integrate in their organizations.
Where and how could TODO Group help your organization and community?

The more we understand their needs and challenges, the better informed we can be in developing tools and services that they want.
Identify where we should put our focus

Hello @JenShelby22 Thank you so much for your patience with this issue.
Speaking on behalf of TODO SC members, they have agreed to decline this OSPO Associate request. Please let me explain the reasoning behind this decision:
TODO has been receiving OSPO Associate requests from other service providers VS open source communities, projects, NGOs, etc.
This led the SC to narrow the OSPO Associates' scope and dedicate this program to open source communities, projects, non-profit associations, and similar entities supporting OSPOs.
Because of this decision, there is now more clarity on the criteria related to vendors/service providers in the existing documentation, which now has the following statement:

The OSPO Associates program is not intended for service providers. Individuals can always join the community and access our resources, by following TODO’s code of conduct.

As shown in the documentation above, I'd like to highlight that the TODO project is open source, enables knowledge-sharing, and has public access to all its resources. This means everyone (including individuals at MLH Fellowship) is welcome to participate in TODO / OSPOlogy community calls, engage in OSPO discussion forum, or become a contributor to the TODO GH project (and thus become part of the TODO / OSPOlogy community), by following TODO's CoC 🙂
Here you can check our community onboarding guide to get started).
I hope this clarifies the OSPO Associates Program criteria and scope. I'm here to answer any questions if you need, anytime 🙂


Update all dependencies, especially syn and rustfmt to 1.0+

Fixes #246
Fixes #255
Fixes #256
I have updated all dependencies via cargo upgrade --all first (using the cargo-edit crate).
graphql_query_derive/src/attributes.rs required some intention because one method was renamed and one struct field type changed.
cargo build and cargo test works.
Signed-off-by: David Graeff<EMAIL_ADDRESS>

Thanks for the PR!
The stable build is failing on rustfmt - that should be straightforward to fix.
I was thinking about whether pinning everything to the latest version like this was going to cause more duplicate dependencies for users of the library (the new version requirements are much stricter), but I don't think it's a big problem. I haven't found any good resources on best practices for libraries. So let's merge this as soon as the build is green :)

I have formatted the code with rustfmt. The rust vscode extension fomatting that I had used is probably considering my vscode preferences and not the project preferences.
And you are right, for most libraries the patch version should not be specified. I have changed that to major.minor now and added minor-version-semver compatibility via the caret character, eg failure = "^0.1^.
I kept rustfmt-nightly with major.minor.patch, because that library had a breaking change on one of my own projects after upgrading from "1.4.x" to "1.4.5".

Sounds good!
GitHub is having an outage today, let's wait this out before merging :)

I have now included a few more bits that I require for my own project.
Rust keyword escaping happens for (almost) all parts of a schema now, an integration test is part of this PR. It's still just around 200 lines of changes, so maybe you could review this in one go? :)
Splitting into two PRs would be feasible as well though, as you like.

@davidgraeff Thank you for your PR :)
I think this PR includes some different purpose changes.

update dependencies
fix compile error for +1.37
fix codegen

If you divide PR for each issue, I think that it will be merged faster as a result.

Yeah I guess so. Wanted it to be conserved here first and for some first opinions. Fortunately I have split the PR in feature commits.

See the inline comment :)


Thermometer","model":"H5105"

Which model is this? Need the Hxxxx number.

model":"H5105"

Which type of device is this? Light, heater, leak sensor, etc.

Thermometer Hygrometer

Which connection methods does this device have? Wifi? Bluetooth? LAN mode? All?

LAN

Anything else?

[Indoor Thermometer] is not currently supported, do create a Github issue with the following info:
{"device":"B5:DF:D6:35:33:33:5F:52","deviceName":"Indoor Thermometer","model":"H5105","httpInfo":{"groupId":0,"device":"B5:DF:D6:35:33:33:5F:52","sku":"H5105","spec":"","versionHard":"3.01.00","versionSoft":"1.00.10","deviceName":"Indoor Thermometer","deviceExt":{"deviceSettings":"{"temMin":-2000,"temMax":6000,"temWarning":false,"fahOpen":false,"temCali":0,"humMin":0,"humMax":10000,"humWarning":false,"humCali":0,"netWaring":true,"uploadRate":10,"battery":100,"wifiLevel":0,"bleName":"GVH5105_5F52","address":"D6:35:33:33:5F:52","secretCode":"Ul8zMzXWAAA=","sku":"H5105","device":"B5:DF:D6:35:33:33:5F:52","deviceName":"Indoor Thermometer","versionHard":"3.01.00","versionSoft":"1.00.10"}","lastDeviceData":"{"online":true,"tem":2740,"hum":3240,"lastTime":1706932980000,"avgDayTem":2740,"avgDayHum":3240}","extResources":"{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/76e45906024e913ded9cdc0f943d87c3-add_list_type_device_5105.png\",\"headOnImg\":\"\",\"headOnImgNew\":\"\",\"headOffImg\":\"\",\"headOffImgNew\":\"\",\"ext\":\"\",\"ic\":0}"},"share":0,"deviceId":19094568,"goodsType":190,"attributesId":0,"supportScene":0}}

PR #727

Support added in following PR #727

You are Great! Thank you !


currentCaption - can't find it

Hi!
First off - great component!
I have an issue with the captions. I want to put links on them and have created a custom caption. I saw $refs.slider.currentCaption mentioned in another issue, but it doesn't seem to work anymore.
Can you point me in the right direction here?
Thanks

Which version are you using?
If you are trying the 6-beta.0 version that method is not available anymore as I moved and splitted most of the code. Now this would be the way:
let currentImage = $refs.slider.Images.current;
let caption = $refs.slider.captions[currentImage.index];

And now that I see it, does not look very practical... I will add an easy way to get the current caption and also allow to pass an HTML template to the component so can me more customizable.

Ok. I am using version 5.1.9. But I can still not get anything from $refs.slider.currentCaption. Am I supposed to?

Just checked it and that property is not available in the slider because the logic was moved to the FluxCaption component.
But because you are not using that component, you cant get the image index currently displayed with $refs.slider.currentImage().index and show corresponding caption of your captions array.

As now news, I understand that your needs were solved.
Also new version is fully themable by using the caption slot.
If previous URL fails (will be removed soon) check FluxCaption component documentation.


Wrong missed count in replay mode

The "missed notes" counter sometimes registers missed notes when in fact you haven't missed any. I can't understand what makes this error to take place, since it literally happens randomly, and it's also inconsistent throghout various replays (the wrong count takes place in different points of the song). You can find a good example in this video, where i've actually passed the song with a fc but the missed counter is set to 4 for some reason. This only happens in replay mode.

Unfortunately this is a problem between Counters+ and ScoreSaber that I cannot easily solve on my end, since during replays ScoreSaber hijacks many core game features that Counters+ relies on with no proper compatibility in mind.
I've contacted Umbranox about potential solutions for this issue but I've received no response. If he does respond with a potential solution then I will gladly look into it. But for now, this cannot be fixed.


Update babel related dependices and classnames, emoji-mart.

react-tooltip can't load css style, so rollback to previous version.

Already try update react-tooltip.

thanks @neighborhood999 !


MatrixKeyboard should be movable

Currently the arrows do nothing. It should be possible to make it bigger than the actual grid and move around in it.

fixed


Fix ndc calculation for LinearSceneDepth VS node in GLES3

This fixes the ndc depth calculation inside the LinearSceneDepth Visual Shader node for the GLES3 backend just like this PR for the ProximityFade node: https://github.com/godotengine/godot/pull/65160

Thanks!

Cherry-picked for 4.0.2.


[Enhancement] Switch from Tar to Rpm for Ansible Playbook

With RPM being released on 2.0.0-rc1 (preview) and 1.3.2 today (2022/05/05), we can finally switch from Tar to Rpm for RH-based linux distro.
@saravanan30erd has talked to me about before to have this switch happen.
We can discuss about the approach as we currently dont have deb yet to support Ubuntu.
Thanks.

I think it's not worth doing .rpm and .deb. We need to use a single format .tar for all distributions. This will make the role more versatile.

Hi @ssi444 not really saying we need to add new .rpm playbook, but @saravanan30erd was talking about replace existing .tar to .rpm setup.


Unhandled errors when using Helia in browser

I'm getting console errors when using Helia in the browser. The errors come from bad calls, either to cid.contact or to sockets of bootstrap nodes. I get those errors even when trying the helia-script-tag or helia-vite examples.
I don't manage to catch and handle these errors. I tried surrounding the createHelia with try..catch, but it didn't catch those errors.
I get errors both when running in Firefox and Brave, though the errors are slightly different in each. I attached screenshots of that below. The errors are generated when using the apps in http://localhost:<somePort>/.
Questions:

How is it possible to catch and handle such errors?
Is it possible to avoid them? Especially the errors in connecting to bootstrap nodes? I'm slightly surprised by these, since I imagined the list of bootstrap nodes to be more robust (thought maybe the connectivity problems are the fault of my settings?).

Screenshots:
Firefox console errors:

Brave console errors:

It still persists today. I think that maybe what @whizzzkid proposed, that my network blocks wss connections (when using localhost) is the cause.
I'll try to play later with the libp2p configuration and see if I can improve it. If yes I'll report here. Anyway, it doesn't do any harm, it's just my OCD of trying to handle all error messages in the console :-)

I getting the same errors, when trying to run helia vite example.
I'm not sure if the errors are as harmless as @eyalron33 says. While the example app seems to be working, I expected that content added through this app would be discoverable by other ipfs nodes. But I'm not able to retrieve it through my local kubo node.
Is it a bug, which might be related to the errors above or am I misunderstanding what the example app should be doing?

@eyalron33 @sim31

These sorts of errors are logged by the browser and they're not catchable 😭

This is still true and not something we can control. We have to attempt to dial peers to know if we can connect to them. If we don't attempt the dials, we can't connect to peers. Not all attempts are expected to be successful. The failed attempts will show as errors in the console.
I just posted an example of fetching content from a helia node to https://discuss.ipfs.tech/t/how-to-retrieve-content-uploaded-via-helia-using-the-ipfs-gateway/16582/6?u=sgtpooki that you can check out to see that things do work.
You can use the helia-connectivity-demo to see the status of a browser Helia node. If you're not seeing connected peers, then no networking activities will work. If you are seeing connected peers, you will still see these errors in the browser because we cannot control them.
If you want to hide these errors because they're detracting from your users experience in your app, then you may want to run helia in a web-worker/service-worker which should hide the errors from the main console.
I'm going to close this issue because these errors are a normal part of failed attempts to connect to a large variety of nodes throughout the IPFS p2p network.


Bulk import with some of the duplicate documents

Today I tried to bulk import 100 documents with 20 documents having id that already exist in the cosmos db. What I expected is to have imported 80 documents successfully and rejected 20 documents with reason of rejection. However it fails the entire operation and throws exception.
This feature is super important for our project. Can you please let me know when is this expected to be rolled out? Or is it already there?
I am using latest version available on maven repository.
I can see an issue marker as closed as of Feb 2019 where organiser said it will be rolled out soon.
It’s almost a year now?
Do we have this feature now or not?

Any updates here?


Doesn't watch if a .ftpconfig is in the tree view / projects folder

Hi,
just saved a file of another project and it got uploaded to a project, which I already closed. It looks like remote-ftp uses the last .ftpconfig created.

Can you provide steps to reproduce the bug? Did you open a new folder in the same window you were working on the old project before without disconnecting?

Well, I disconnected and changed switched the project with Project Manager in Atom. If I saved the file it uploaded the file to another server instead of just doing nothing. For the second project I had a local server running, which didn't need to be setup via FTP.

I could not reproduce this... I'm using https://atom.io/packages/project-manager which opens my project in a new window

If I have a config in the first project and open the other that has no config and save a file there, it uploads it to the first projects config... thats what I've discovered.

This is also happening with me, When I disconnect and change to a project that does not have the config file, It will connect and upload to the previous files config.

Should do so since PR #347


Helm chart update

Proposed changes

Updates the Helm chart to install PKOv2, as similarly as possible to operator/config/default.
Details:

adds an aggregation role (view/edit) for the Pulumi API groups
tweaks the controller's resources such that limits equals resources to have "guaranteed" qos
exposes the metrics port and the fileserver port
supports two rbac modes for the controller - ClusterRole and Role

To install:
helm upgrade --install pulumi-kubernetes-operator ./deploy/helm/pulumi-operator

Related issues (optional)
Closes #684

Awesome!
Obviously not something that we need to resolve now but it would be nice to more easily keep this in sync with the generated configs. There's kubernetes-sigs/kubebuilder#3074 which took me to https://github.com/arttor/helmify which looks interesting.

@blampe the original helm chart for v1 was actually scaffolded using helmify.


WIP: Stable rust support

This is my attempt at making this crate (at least with default features) work on stable rust.
Mostly just putting this up to see what you think, so it's a draft PR for now.
It adds a proc macro dependency and makes the code uglier, so I understand if you think this is not worth the trouble.

The c_unwind shouldn't be removed until the final c_unwind stabilisation completes.
One issue with the naked function macro is that it will export additional symbols, where built-in naked function will not.


Problem of output the list of steps

It seems that there is a repeating when recording of the steps

And then I try to finish all the steps according to the correct answer but I still could not get 100 score. Maybe this is the reason why I cannot get full score?

This is due to a nasty bug inside Unreal where begin play is executed multiple times in level blueprint, which will be fixed in the next release.


prometheus: make backend configurable for now admin users

It would great can proxy, they know the the endpoint.
In my case, i would like to provide the endpoint by an different plugin which serves dynamic clusters.

Hey @farodin91 Can you explain a bit more on this? Do you want a way to specify the proxy URL for accessing prometheus?

@yolossn I updated the issue.

I am running into this too. My cluster already has a Prometheus server installed, I don't want to deploy another one.
In addition, the message is not very clear: "Install Prometheus for accessing metrics charts" Does this mean installing a Prometheus server or the Prometheus plugin for Headlamp?

In addition, note that Prometheus might be using HTTPS.

Hey @remram44 We are working on plugin settings feature which will allow plugins to make certain values configurable by the end user. The PR is under review now, once that is done, we will update the prometheus plugin to allow the user configure the endpoint to access prometheus.

I am running headlamp as a web app for my cluster's users, in my case they don't need to configure this value, I would do it when installing. For example an environment variable would be perfect.

We are running VictoriaMetrics as an drop-in replacement for Prometheus.
It would be very helpful if we would be able to set a custom endpoint in Prometheus plugin.

There can be two ways to solve this, the user can either provide the label to identify the prometheus pod and the plugin figures out how to reach the pod etc or the user can provide the namespace and pod/service url to reach the prometheus pod.
If we choose to solve it by getting the namespace and pod/service url from the user, the following steps can be used to fix this.

Create a Settings component and register it using the registerPluginSettings function.
The Settings component should take care of getting the namespace and service to access prometheus as inputs and store it in plugin conf.

In the components that use fetchMetrics get the config using the ConfigStore and generate the prefix and pass it to the fetchMetrics function.

References:

Introduction to Plugin Settings
OpenCost plugin for headlamp has a similar configuration mechanism.

cc: @joaquimrocha

@skoeva Can you look into this one?

This can be solved in two different ways

Maybe we can leave a space for multiple solutions, if they will be implemented later

Hey, I'm currently using VictoriaMetrics which is 100% prometheus compatible here. What I need is just to be able to point to a given address.
That'd be great! thank you :)

The solution with client side plugin settings would be great, but I think for this setting a server side configuration would be nicer. It would allow the platform team to configure plugin settings, and end users would not be bothered in configuring the plugin and maintaining browser cookies. I believe this is a missing feature in the plugin system.
Suggestion:

Create a configmap in headlamp namespace with settings for plugins
Provide support in the Headlamp helm chart for plugin stettings and generate this configmap
Add support in the Headlamp api so React client can pull the data from the configmap

An even simpler solution would be to create a configmap and let the plugin fetch this configmap via the Headlamp proxy.


Minor internal tidy-up for consistency

This PR doesn't affect functionality, it's just some internal refactoring / code prettifying that I did whilst briefly checking the endpoints for signs of obvious issues. The main change is getting rid of SecretManagementEndpoint, which is an unnecessary container of other endpoints with no added functionality or abstraction whatsoever.

Codecov Report

Merging #409 (6718bed) into main (88b3b73) will decrease coverage by 0.10%.
The diff coverage is 85.00%.

:exclamation: Current head 6718bed differs from pull request most recent head bcb7f7d. Consider uploading reports for the commit bcb7f7d to get more accurate results

@@             Coverage Diff              @@
##               main     #409      +/-   ##
============================================
- Coverage     90.81%   90.71%   -0.11%
+ Complexity     1662     1655       -7
============================================
  Files           286      285       -1
  Lines          4638     4620      -18
  Branches        204      204
============================================
- Hits           4212     4191      -21
  Misses          338      338
- Partials         88       91       +3

Impacted Files
Coverage Δ

...c/main/java/com/vonage/client/account/Country.java
100.00% <ø> (ø)

...om/vonage/client/account/CreateSecretEndpoint.java
100.00% <ø> (ø)

...com/vonage/client/account/CreateSecretRequest.java
77.77% <ø> (ø)

...com/vonage/client/account/FullPricingEndpoint.java
75.00% <ø> (ø)

.../com/vonage/client/account/FullPricingRequest.java
100.00% <ø> (ø)

...a/com/vonage/client/account/GetSecretEndpoint.java
100.00% <ø> (ø)

...c/main/java/com/vonage/client/account/Network.java
78.57% <ø> (ø)

...m/vonage/client/account/PrefixPricingEndpoint.java
100.00% <ø> (ø)

...om/vonage/client/account/PrefixPricingRequest.java
100.00% <ø> (ø)

...ava/com/vonage/client/account/PricingEndpoint.java
100.00% <ø> (ø)

... and 48 more


[PE-D][Tester D] User Guide jump links not working

The following jump links are not working:
Under Adding your first task: [Jump to Quick Start Guide], [Jump to Add Task Feature]
Under Marking your first task: [Jump to Quick Start Guide]
Under Clearing Default tasks:[Jump to Quick Start Guide] [Jump to Clear Task Feature]
Under Parameters - Common Mistakes:  Task-Related Questions
Command Summary - Clear: (more info)

Labels: severity.Low type.DocumentationBug
original: kwangthiag/ped#1

Resolved


[BUG]: Sketch on face modifies comment positions and doesn't allow me to sketch

Describe the bug
I'm attempting to sketch on the face of a part so that I could design a bracket around it. The part I'm drawing on is defined by another function. When I begin to sketch on the face of the part, comments shift around and I'm not actually able to sketch. A new line of code is also inserted in the middle of the code and not at the bottom like I would expect.
main.zip
Steps to Reproduce

Click on "Start Sketch" in the top command palette
Click on the face of the part (see attached screen recording)

Expected Behavior
I expect to be able to sketch on the planar face of a part and not have comments be modified in the code editor. I would also expect the corresponding code to sketch be placed at the bottom of the file.
Screenshots and Recordings
https://github.com/KittyCAD/modeling-app/assets/3958831/95529562-4667-4046-9bd9-59b115df89cb
Desktop OS
Ubuntu 22.04 LTS
Browser
Chrome
Version
v0.18.1
Additional Context
No response

Very much related to what I've been investigating in the branch franknoirot/separate-extrude-const. Sketch-on-face currently makes some assumptions about where it is safe to put the new code, which need augmented by giving it a fuller picture of the dependencies that an face relies on, so it can now the earlier safe point to insert new code.

This might be a good one for Jon!

I made a dup of this https://github.com/KittyCAD/modeling-app/issues/3771. Did not realize this was already created. I found this bug when debugging https://github.com/KittyCAD/modeling-app/issues/3492.


ycsb_reload_database ycsb flag not working correctly

setting the '--ycsb_reload_database' to False will still have a load phase.  changing the 'self.loaded' variable to 'True' fixes this.

Yes, in ycsb.py:951 "if FLAGS.ycsb_reload_database or not self.loaded;"
Should we change the behavior?

ah, I see this is primarily for using the same uri or multiple runs in the same uri when this variable is passed on, not for seperate runs with different uri's.

I'll close this, as it was not what I thought the flag was used for, I'll just use the work around.


Possibility of integrating OWL2 Reasoner and GeoSPARQL?

Hello,
I'm evaluating whether Tentris would be a good pick for a project my company is working on as we're looking for a Knowledge-Graph solution with semantic reasoning/inference capabilities and GeoSPARQL support.
As far as I could see, Tentris does not integrate reasoning/GeoSPARQL so far. Thus, I'm wondering if there would be any chance if this could be implemented by you or, if possible, could give us some guideline on how to do it ourselves and eventually contribute to your project.
Lastly, are there any benchmarks for Tentris?
Thank you

Hi sorry for the long delay.
We do not plan to integrate reasoning or GeoSPARQL here at the moment. But contributions are always welcome.
For both, a good starting point would be looking at how the query library in hypertrie works. reasoning and GeoSPARQL should be implemented as an extended version of that library.
Benchmarks can be found in the following papers:

ESWC, 2024, #inproceedings, Efficient Evaluation of Conjunctive Regular Path Queries Using Multi-way Joins, By Nikolaos Karalis, Alexander Bigerl, Liss Heidrich, Mohamed Ahmed Sherif, Axel-Cyrille Ngonga Ngomo
ECML PKDD, 2024, #inproceedings, Evaluating Negation with Multi-way Joins Accelerates Class Expression Learning, By Nikolaos Karalis, Alexander Bigerl, Caglar Demir, Liss Heidrich, Axel-Cyrille Ngonga Ngomo
SEMANTiCS, 2023, #inproceedings, Native Execution of GraphQL Queries over RDF Graphs Using Multi-way Joins, By Nikolaos Karalis, Alexander Bigerl, Axel-Cyrille Ngonga Ngomo
The Semantic Web -- ISWC 2022, 2022, #article, Hashing the Hypertrie: Space- and Time-Efficient Indexing for SPARQL in Tensors, By Alexander Bigerl, Lixi Conrads, Charlotte Behning, Muhammad Saleem, Axel-Cyrille Ngonga Ngomo,
The Semantic Web -- ISWC 2020, 2020, #article, Tentris -- A Tensor-Based Triple Store, By Alexander Bigerl, Felix Conrads, Charlotte Behning, Mohamed Ahmed Sherif, Muhammad Saleem, Axel-Cyrille Ngonga Ngomo


Feature/tagsystem

This feature enhances user experience through the addition of tags for projects.

please merge the model migrations at the end


20.7 devel suricata issues

On my test VM(in virtualbox) of Opnsense 20.7(Using the devel iso) fully up to date it does not block anything in IPS mode.
Using the test rule that has eicar in it does not get blocked and no alerts. This is not an issue on 20.1
The following is from what I have seen in the logs

2020-05-08T21:51:23 | suricata[54377]: [100187] <Notice> -- rule reload complete
-- | --
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.bit.do.shortener' is checked but not set. Checked in 2029550 and 0  other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.armwget' is checked but not set. Checked in 2024241 and 0 other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.Suspicious.Domain.Fake.Browser' is checked but not set. Checked in  2018572 and 0 other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'et.http.PK' is checked but not set. Checked in 2019835 and 3 other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.JavaNotJar' is checked but not set. Checked in 2016540 and 0 other  sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.Hancitor' is checked but not set. Checked in 2024605 and 0 other  sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'HTTP.UncompressedFlash' is checked but not set. Checked in 2018428 and 1  other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ETPRO.RTF' is checked but not set. Checked in 2020700 and 0 other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'exe.no.referer' is checked but not set. Checked in 2020500 and 0 other  sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'et.WinHttpRequest' is checked but not set. Checked in 2019823 and 0  other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.http.javaclient.vulnerable' is checked but not set. Checked in  2015849 and 0 other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.pdf.in.http' is checked but not set. Checked in 2017790 and 1 other  sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'et.JavaArchiveOrClass' is checked but not set. Checked in 2017768 and  11 other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'ET.http.javaclient' is checked but not set. Checked in 2017909 and 11  other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit  'et.IE7.NoRef.NoCookie' is checked but not set. Checked in 2024192 and 1  other sigs
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-phishing.rules:1720 uses  unknown classtype: "domain-c2", using default priority 3. This message  won't be shown again for this classtype
2020-05-08T21:50:56 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-phishing.rules:72 uses  unknown classtype: "credential-theft", using default priority 3. This  message won't be shown again for this classtype
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] -  error parsing signature "drop  tls $EXTERNAL_NET any -> $HOME_NET any  (msg:"ET JA3 Hash - Suspected Cobalt Strike Malleable C2 (ja3s) M1";  flow:established,from_server; ja3s.hash;  content:"649d6810e8392f63dc311eecb6b7098b"; tls.cert_subject;  content:!"servicebus.windows.net"; flowbits:isset,ET.cobaltstrike.ja3;  metadata: former_category JA3; classtype:command-and-control;  sid:2028832; rev:1; metadata:affected_product  Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint,  deployment Perimeter, signature_severity Major, created_at 2019_10_15,  malware_family Cobalt_Strike, updated_at 2019_10_15;)" from file  /usr/local/etc/suricata/opnsense.rules/emerging-ja3.rules at line 44
2020-05-08T21:50:55 | suricata[54377]: [100187] <Error> -- [ERRCODE: SC_WARN_JA3_DISABLED(309)] - ja3(s) support is not enabled
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] -  error parsing signature "alert tls $HOME_NET any -> $EXTERNAL_NET any  (msg:"ET JA3 Hash - Suspected Cobalt Strike Malleable C2 M1 (set)";  flow:established,to_server; ja3.hash;  content:"eb88d0b3e1961a0562f006e5ce2a0b87"; ja3.string;  content:"771,49192-49191-49172-49171"; flowbits:set,ET.cobaltstrike.ja3;  flowbits:noalert; metadata: former_category JA3;  classtype:command-and-control; sid:2028831; rev:1;  metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit,  attack_target Client_Endpoint, deployment Perimeter, signature_severity  Major, created_at 2019_10_15, malware_family Cobalt_Strike, updated_at  2019_10_15;)" from file  /usr/local/etc/suricata/opnsense.rules/emerging-ja3.rules at line 42
2020-05-08T21:50:55 | suricata[54377]: [100187] <Error> -- [ERRCODE: SC_WARN_JA3_DISABLED(309)] - ja3 support is not enabled
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-hunting.rules:396 uses  unknown classtype: "external-ip-check", using default priority 3. This  message won't be shown again for this classtype
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-exploit_kit.rules:1464  uses unknown classtype: "social-engineering", using default priority 3.  This message won't be shown again for this classtype
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-exploit_kit.rules:828  uses unknown classtype: "targeted-activity", using default priority 3.  This message won't be shown again for this classtype
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-exploit.rules:796 uses  unknown classtype: "command-and-control", using default priority 3. This  message won't be shown again for this classtype
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-exploit.rules:746 uses  unknown classtype: "exploit-kit", using default priority 3. This message  won't be shown again for this classtype
2020-05-08T21:50:55 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] -  signature at  /usr/local/etc/suricata/opnsense.rules/emerging-coinminer.rules:42 uses  unknown classtype: "coin-mining", using default priority 3. This message  won't be shown again for this classtype
2020-05-08T21:50:49 | suricata[54377]: [100187] <Notice> -- rule reload starting
2020-05-08T21:43:10 | suricata[54377]: [100187] <Notice> -- all 2 packet processing threads, 4 management threads initialized, engine started.
2020-05-08T21:43:10 | suricata[54377]: [100224] <Notice> -- opened netmap:em1/T from em1: 0x4a5719fc300
2020-05-08T21:43:09 | suricata[54377]: [100224] <Notice> -- opened netmap:em1^ from em1^: 0x4a5719fc000
2020-05-08T21:43:07 | suricata[54377]: [100216] <Notice> -- opened netmap:em1^ from em1^: 0x4a55c8b2300
2020-05-08T21:43:06 | suricata[54377]: [100216] <Notice> -- opened netmap:em1/R from em1: 0x4a55c8b2000
2020-05-08T21:43:05 | suricata[54377]:  [100187] <Warning> -- [ERRCODE: SC_ERR_NO_RULES_LOADED(43)] - 1  rule files specified, but no rule was loaded at all!
2020-05-08T21:43:05 | suricata[26541]:  [100140] <Warning> -- [ERRCODE: SC_WARN_NO_JA3_SUPPORT(308)] - no  MD5 calculation support built in (LibNSS), disabling JA3
2020-05-08T21:43:05 | suricata[26541]: [100140] <Notice> -- This is Suricata version 5.0.3 RELEASE running in SYSTEM mode

There is also issues with ja3 support not being enabled due to issues with LibNSS not having MD5 support

I need to check the ja3 stuff, but have you updated to the latests 20.7 version? (released yesterday if I'm not mistaken)

Yes as I have the new php version 7.3.14 and  5.0.3 of suricata etc

From: Ad Schellevis<EMAIL_ADDRESS>Sent: Saturday, May 9, 2020 8:58:12 AM
To: opnsense/core<EMAIL_ADDRESS>Cc: J.Townsend<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [opnsense/core] 20.7 devel suricata issues (#4095)
I need to check the ja3 stuff, but have you updated to the latests 20.7 version? (released yesterday if I'm not mistaken)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/opnsense/core/issues/4095#issuecomment-626125087, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3V2QX6VST2HIXWPNK6SBTRQUEJJANCNFSM4M4QIXUQ.

Just tried the same on a test machine over here, seems to be working like a charm:

# curl -o /dev/null http://pkg.opnsense.org/test/eicar.com.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0

ja3 support isn't enabled on our suricata version, but we probably should consider that for 20.7, I expect the same messages on 20.1 by the way it wasn't enabled there either

Okay will try what you did and yeah would be good to ja3 support enabled

From: Ad Schellevis<EMAIL_ADDRESS>Sent: Saturday, May 9, 2020 2:40:08 PM
To: opnsense/core<EMAIL_ADDRESS>Cc: J.Townsend<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [opnsense/core] 20.7 devel suricata issues (#4095)
Just tried the same on a test machine over here, seems to be working like a charm:
curl -o /dev/null http://pkg.opnsense.org/test/eicar.com.txt
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
[image]https://user-images.githubusercontent.com/9783985/81475162-ba3b5400-920a-11ea-8800-77c519233c39.png
ja3 support isn't enabled on our suricata version, but we probably should consider that for 20.7, I expect the same messages on 20.1 by the way it wasn't enabled there either
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/opnsense/core/issues/4095#issuecomment-626177835, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3V2QQH2NN5G4K6Z5CTI4TRQVMLRANCNFSM4M4QIXUQ.

So doing your command works, but if doing it from https://www.eicar.org/?page_id=3950 does not when it use to before they updated the site/page

You are also only getting 1 alert in your screenshot where as I get 2 for 1 instance of running your command. This issue is not new but can there be something done about this?

Do you download via HTTPS?
J.Townsend<EMAIL_ADDRESS>schrieb am Sa., 9. Mai 2020, 17:02:

You are also only getting 1 alert in your screenshot where as I get 2 for
1 instance of running your command. This issue is not new but can there be
something done about this?
[image: image]
https://user-images.githubusercontent.com/3628354/81477207-6c284f80-920e-11ea-984a-0b14fc5a0cc7.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/opnsense/core/issues/4095#issuecomment-626189036, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE355IMXYFDBTLG6WLPNF73RQVWAFANCNFSM4M4QIXUQ
.

Nope http

The download area has HTTP and HTTPS sections even though the main page is HTTPS  I picked the HTTP

maybe it redirects to https, either way it's not something we can fix. the duplicate messages are a result of drop/alert log if I'm not mistaken, also doesn't seem to be related to our configuration.

I have just noticed that the interface is not showing in the screenshot and have also just confirmed that with the standard theme as well

Just tried the same on a test machine over here, seems to be working like a charm:

# curl -o /dev/null http://pkg.opnsense.org/test/eicar.com.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0

ja3 support isn't enabled on our suricata version, but we probably should consider that for 20.7, I expect the same messages on 20.1 by the way it wasn't enabled there either

Could you confirm if ja3 will be available in 20.7 or is too early to know? thanks

@lordraiden it's scheduled, yes https://github.com/opnsense/tools/commit/cc731dcc812d19758e1db4ce93e0f02b793e99a9 . Although this obviously doesn't make a difference for the https/eicar question (the rule needs content to process).

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.


Write a C program to convert string to pathcase

Description
Write a C program to convert string to pathcase
Pathcase is a style of writing in which all letters are lowercase and spaces are replaced with forward slashes.
Input  : "hello world"
Output : "hello/world"

How to contribute

Save the solution in program/ConvertStringToPathcase.c file
Add ConvertStringToPathcase.c file in convert-string-to-pathcase folder

Hey @Nitya-Pasrija,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


/noclip & /fly

This is a suggestion for new commands, not a bug report.

I am actually not sure these commands are even possible without a client mod....

Hah, didn't even think about the client side on this one.
Flying would be more like "constant falling".

One issue I foresee is that Rocket, being a server mod, Cannot poll input from the client. So I foresee that there would need to be commands for up, down, forward, back, etc. And I do not think it would be a useful feature to have to type a direction every time you want to move. Lol.

Odd.
I'd expect that serverside mods would know what the client is sending, since the client's movement is known by the server.
But yeah, regardless, the client by default can't fly or clip; so even though the server could simply stop policing a specific player's movement / location, that player's client would need to perform the movement.
With flying, that would mean they'd constantly be falling, seeming to teleport back up to where the server is allowing their location to be in flight. As for noclip, well, there could be a "jump" command to move towards the cursor a specified distance regardless of obstructions, but yeah, the desire was simply moving through things, which again would require the client to be modded.

Yeah. Hovering in the air would not be a problem. Simply set their position constantly. And since you can control movement direction while falling you probably could (slowly) fly. A plug-in could do this. But as was said you could need a command to set height and land.
A jump command is also possible but I do not know how to handle getting stuck in terrain/objects.
Take everything I say with a grain of salt as I really no longer play the game or develop anything Rocket related.