Remove class="icon" from output SVG

Context
The icon class is used by several CSS frameworks for this own custom icons. Unfortunately this results in a poor display of tabler icons when used in conjunction.
This PR automatically parses and removes the icon class from output SVGs to avoid this clash.
I don't expect this to be merged (though it would be awesome -- although breaking -- if it was)
cc/ @alex-oleshkevich  - Also really appreciate the work that went into this library. Really neat!

Fixed in master, thanks

The .icon class is used by default in the Tabler admin panel, from which these icons were later separated. And .icon can be found in many places in the css file. Now, to use these components, you have to add class="icon" to each. This is not very convenient. It seems to me that tabler icons should match the tabler framework in the first place. Perhaps we need some parameter when registering the plugin to set the name of the class for all the icons.

I see. The optional parameter should be ok. .icon is very generic and causes troubles in any other project that reserves .icon for their needs.


UI update for Contact Us section

Updated the UI for the contact us section and updated the styling for the contact navbar button to be consistent with the others.

Yeah sure


19px banner-content

Summary
Apply core-19 to banner-content in notification banners and bump version
to 28.5.1.
The only other place banner-content is used within a notification banner is on the briefs app, when a buyer is withdrawing their brief and they get prompted to confirm the action. @laurenceberry agrees this should be updated as well, which will happen when this new version gets pulled into the relevant repo.
Example (old)

Example (new)

Ticket
https://trello.com/c/JVr9gFEC/56-incomplete-application-banner

This looks good to me.


Instant Chop Trees

Similar to how your instant mining deepslate works I think it would be a nice tweak to add the ability to instant chop trees with a netherite axe and haste 2 beacon. Thanks for considering!

This will be possible as of the next version! d9556d9


Concerning the rules for co-written assignments

Do we need to write a formal division of responsibilities for the projects and the exam? That is, who is in charge of the different questions.

No, you don't need to do that


Fix comment in Docker environment files

Fix comment in docker/.env and docker/.env-non-dev files (changed from prefers to prefer).

Thanks for catching this! These things add up!!


Add Learning Blazor to Awesome Blazor

Adding my early release book via O'Reilly
https://learning.oreilly.com/library/view/learning-blazor/9781098113230

Thanks!


105 restructure setup guide onsite

It is unclear where "Install NetServer / Web services" fits in the sequence and it does not have a prev/next/back to guide

Yes, that is correct and intentional. That is not part of the install sequence. It is an option during complicated deployment setup . It is used very seldom and if it is is part of the guide it will only look more complicated. Those who need it as skilled enough to find it in the menu under Web install.

Then maybe a sentence/note in said file to de-confuse all those that do not need it? Do you do it instead of "Install SuperOffice Web"? What about the before-you-begin steps, do they apply to both sets of instructions?

It is more complicated, you can do it in paralel "install SuperOffice Web", and more then once, or you use a more complicated deployment scenario and install separate Netserver and Web. On the same server or different servers. That is described in the deployment scenarios.
The before you begin steps are the same, yes.
The guide is for someone who doesnt know what to do, the advanced deployment scenarios are for skilled consultants, they dont follow the simple guide and dont need the prev / next steps.
Note to the Netserver guide added.


Aspect Ratio support.

Now only support 4:3, 16:9 aspect ratio.
Hope to add full screen and 1:1 support
You know, the full screen of today's mobile phones is not 16:9, so if you are full screen, part of the content will be cropped out

+1 here


Make fields of ConnectionSetupRequestError public

Pre-review checklist

[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[x] I added relevant tests for new features and bug fixes.
[x] All commits compile, pass static checks and pass test.
[x] PR description sums up the changes and reasons why they should be introduced.
[x] I have provided docstrings for the public items that I want to introduce.
[x] I have adjusted the documentation in ./docs/source/.
[x] I added appropriate Fixes: annotations to PR description.

This seems like an accidental omission. Without these fields being public it is impossible to match on the error type.

Anything I can do to move this forward?

@wprzytula This can land in 0.15.1


Complete remove *.md's from pipelines

can't run pipelines for https://github.com/AbsaOSS/external-dns-infoblox-webhook/pull/9

closing, already solved


HTTP PUT/DELETE do not work on /

As recently tested by colleagues maintaining the ps_accounts module, some verbs are not correctly handled by PrestaShop Flashlight.
It seems natively, Nginx consider "/" to be a static ressource, and therefore, do not handle HTTP verbs other than OPTION/HEAD/GET/POST.
Configuration must be adjusted to support "/" the same way "/index.php" is.

See https://stackoverflow.com/a/48044910


Resources shifted to separate lines

[X ] I have read freeCodeCamp's contribution guidelines.
[ X] My pull request has a descriptive title (not a vague title like Update index.md)
[ X] My pull request targets the master branch of freeCodeCamp.
[ X] None of my changes are plagiarized from another source without proper attribution.
[ X] My article does not contain shortened URLs or affiliate links.

But doesn't it add legibility? Its better to read.


Trimmer crashers the android app

Current Behavior
Trimmer is working in debug mode but crasher the app in Release mode in android
Your Environment
windows

software
version

react-native-video-processing
^2.0.0

react-native
0.63

node
12.14.1

I manage to solve this issue by disable the Proguard in Android /  manually add the proguard rule.

I manage to solve this issue by disable the Proguard in Android / manually add the proguard rule.

hello, i have the same problem, you can help me to configure the proguard rules

I manage to solve this issue by disable the Proguard in Android / manually add the proguard rule.

hello, i have the same problem, you can help me to configure the proguard rules

I manage to solve this issue by disable the Proguard in Android / manually add the proguard rule.

Please help me solve this issue. added
-keep class com.shahenlibrary.Trimmer.* {*;}
to proguard still not able to fix this issue.


Upgrade to Spark 3.5

Any plans to upgrade to Spark 3.5 and the latest Xgboost 2.x ?

I'm happy to review/accept PRs for either/both upgrades if anyone wants to make one 👍

Probably a conflict of interest question and kindly  bear with me for asking this, @jsleight would you recommend any alternative for inference optimized serialization of xgboost spark pipelines ( I see that MLFlow now also deprecating mleap support and recommending ONNX as format)

I've started to use onnx for some stuff alongside mleap as well.  I've mostly done TF/pytorch stuff and not sure if I've done xgboost on onnx yet.  onnx docs have decent guides to get started on the conversion APIs


prettier incorrectly reports error after breaking & then fixing syntax in JSON

I've noticed that after I edit a .json file and make it invalid, then fix the bug so the .json is valid again, I get weird behavior from coc-prettier. It appears to print an error after I've fixed the json file, almost like it's printing results from the last action, as it also prints a successful formatted by prettier message after I've broken the json file.
Steps to Reproduce

Install coc.nvim and coc-prettier
Enable   "coc.preferences.formatOnSaveFiletypes": ["json"] in coc-settings.json
Edit valid json file (I just used project package.json file) and remove comma after one entry (making it invalid json) and save.
Message [coc.nvim] Formatted by prettier appears in message line
Add comma back so json is valid, and save again. Now the message [coc.nvim] languageserver error on willSaveUntil Unexpected string in JSON at position 150 while parsing '{ "name": "random", "test' in package.json is output in red in message line even though JSON is valid

Details

coc.nvim version - 0.0.61

Example

Fixed.

@chemzqm Thanks for quick turnaround!  I still see this error after running :CocUpdate. Do I need to install from master branch to see fixes?

Need build coc.nvim from master.


Contributor Mandatory fields not being marked as mandatory

Attempted changing an existing Contributor's name, but got "unable to save" error message (emailed image of this) related to requiring values of email and phone number - need to mark these as mandatory?

There appears to be a bug in Arches Core that is causing this. There was a PR created to fix this (https://github.com/archesproject/arches/pull/9547) but the change doesn't seem to be in the release we're using. I've reached out to the Arches team to see what the status of this is.

The arches core fix was rolled into release 7.5.2. Marking this as complete contingent on the update to 7.5.2


How to add extension mappings

The extensions portion of the readme indicates how to add custom vendor mappings to the tool. But how does this work for tools that are already deployed via either CLI or VS exstension? Let's assume we don't want to modify the actual code in Github, how do we add these mappings to an existing instance? My first thought was to find the extension directory in VS (not easy by the way) and then add the mappings structure to that. But not sure if this even works correctly.
Please provide clear documentation on how to create our own (company specific) mappings that integrates with either the CLI or VS extension versions of the tool. Even better would be to make it easy to do this via the VS UI (for the extension at least) so we don't have to find the randomly-generated extension directory ourselves.

Followed the information on the corresponding blog article and I still cannot get this to work. The built package is in a local feed, there is a nuget.config file that points to the package location and then nothing.
Are there some sort of logging options that can help determine if the extensions are being loaded and/or help diagnose why the mappings aren't working? Right now there doesn't seem to be anything logged about the extensions.
It would be even better if we could package the mappings into their own packages independent of anything else and then specify the list of mappings to load as part of the tool. Sometimes I might want to use one set of mappings and a complete different set other times (different companies, different rules).

I'll work on adding more logging to make this easier to diagnose.
In the meantime, you probably just need to delete your nuget package cache.

Logging has been added/released


Eliminate Thread.sleep() for of 0 ms and set as default

SideQuest Thread sleep set to 0 as default


Update to the January 25th development snapshot

I've been happily using this as a dev environment for the past week.
Note that this introduces the concept of multiple branches/tracks of snapshots which is new as of the latest set of archives. (See https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160125/000934.html)

@briancroom thank you so much. This looks great. Especially the branches/tracks bit. I'd missed that from the mailing list.


Linux: Link libsquish directly when unbundling, .pc file unreliable

For the record, I have the pkgconfig file installed on Mageia, but I had to fix it and install it manually:
http://svnweb.mageia.org/packages/cauldron/libsquish/current/SPECS/libsquish.spec?view=markup
Fedora doesn't do that so they don't have it: https://src.fedoraproject.org/rpms/libsquish/blob/rawhide/f/libsquish.spec

Edit: posted too early. I wanted to add: Is there a reason that you're both using 1.14 instead of 1.15?

You must have misread, both Fedora and Mageia use 1.15. libsquish hasn't had a new release since 2017.
Not sure how the Arch package gets the .pc file installed properly, I'll experiment. Still, it's probably not just Fedora lacking the file and until all distros have it properly packaged, we should probably not assume that it's there.

That's weird. From what I can see, Arch Linux has it and it looks like they don't copy it manually, ...

No problem under Debian either https://packages.debian.org/bookworm/libsquish-dev

The Arch package does some pretty weird stuff, building first with CMake, but then installing the CMake things manually and running the squish original Makefile (which does install the .pc file), instead of using the upstream CMake.
Debian only uses the Makefile and doesn't use their CMake at all.
Fedora and Mageia fixed up the CMake but did not add the pkgconfig handling code so it needs to be installed manually.
All distros have to patch the .pc file anyway because it's broken by default... It's a mess :)

Cherry-picked for 4.1.1.


RTF variation

Hi @kan-bayashi
I have noticed that the RTF varies even when we use manual seeds for both taco2 and pwg. I am wondering where is this randomness coming from which makes the calculation of tensors slower or faster? #291

Hmm. I think it depends on your machine usage.
How much different?

Seems like parallel-wavegan-decode is not force-syncronnize CUDA operations. You might want to use torch.cuda. synchronize  before and after the inference. Peseudo code will look like:
torch.cuda.synchronize()
start = time.time()
with torch.no_grad():
    # do inference
torch.cuda.synchronize()
elapsed_time = time.time() - start

See https://pytorch.org/docs/stable/notes/cuda.html for details.


Provide us with your github repository

Dear participant.
Please provide us with the link to the github repository that you will be using during the hackfest.
Thanks !
Bruce

Hello - could you respond with your project's github repo please ?

Hello - could you respond with your project's github repo please ?
If there is already one, just let us know or if this is not applicable, let us know.


Email not configured mask on contact users pages does not fully cover component

Contact Users:

Contact Admins:

"contact users" looks good, I get "unauthorized" when I try to hit the /administrators/contactAdmins url

"contact users" looks good, I get "unauthorized" when I try to hit the /administrators/contactAdmins url

Did you use the the link in the nav bar to get there, or did you just change the URL?

seems like you used an account without root permissions?

Yep, using the preconfigured account did the trick.  Looks good.


BUG: Facing issue of "Invalid email" in faculty login

[X] I have searched the existing issues

What went down?
I have seen that, user with faculty permission is not able to login. It is giving "Invalid email"  error.
I am attaching the screenshot.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@aswinikalyan30 I think you can assign this to @Pranav0606 this is the new issue i have faced

Okay, assigning to @Pranav0606

Can you explain what caused the breaking changes? I feel like this was working before.

It encountered while dealing with student login!
Will be resolved by today itself!
And also it was not working before!
Both the student and faculty login is from the single function, so to make both working , need to make 1-2 small changes!


More output fixes

I'd give it a try. J'm not merging it now, since it's marked draft.

Commits included in #204 and #207.


SCRUM-3708: add initial load of gene expressions

Integration tests are missing and would go in other PR

Integration tests are missing and would go in other PR

I'm not particularly comfortable with the idea of merging code that persists stuff to the database without integration tests being implemented and passing - could lead to some messy cleanup that could otherwise be avoided.  Integration tests are part of this ticket and I don't see the value of merging this code without them.


Initial documentation for 'bird as RR'

This contains initial documentation for configuring BIRD as a route reflector.

I've made some additional changes so that the RHEL and Ubuntu install docs are consistent about the BRID config.  Back to @Lukasa to confirm he's OK with these changes.

While making the latest round of formatting tweaks, I noticed that several of the source files in our docs have recently gained the "executable" flag. Oops.

Your UT failures are not relevant here, they're an ordering problem in our tests.

@alexwlchan In @Lukasa's absence, any chance you could have a look at the latest version of this PR?  I think it is probably good to go, but having both made changes to it, I think Cory and I were probably feeling neither of us could do the merge!

Actually @alexwlchan, let me update the PR to resolve conflicts first.

I've rebased, so @alexwlchan could you now review this and merge, if you're happy?

There was a formatting bug in our Ubuntu install doc that had crept in outside this branch, but otherwise this is fine.


remove cypress

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

What's new?

[x] PR closes #3046
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[x] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

I was not able to add Playwright & write examples since i had issues installing it on Manjaro Linux (no builds found for my distro :( ). Maybe someone else can contribute with that.


Documentation review for licenser

https://github.com/bucharest-gold/licenser/commit/f99b328f659d95ee04f254293483da41b480aedb

https://github.com/bucharest-gold/licenser/commit/d0121d07d7b5397aa2047ba779056de6f1ab93e3


Unhandled protocol message: 409 Server Shutdown

Proposed change
Handle server shutdown notification. Whenever I shutdown (gracefully) the server, NATS logs the following message:
[06:21:26.998 WARN  NATS.Client.JetStream.Internal.NatsJSConsume] Unhandled protocol message: 409 Server Shutdown
This type of notification from server can be useful for graceful consumer shutdown.
Use case
Clean shutdown of the consumers
Contribution
No response

@robertmircea merge closed the issue automatically. Feel free to reopen.
Server shutting down is considered a recoverable error so consumer will keep trying to connect. With #265 to shutdown the consumer now we can use notifications:
https://github.com/nats-io/nats.net.v2/blob/87b897bd9068d698a4adb64eb947cc26ecc2ee55/tests/NATS.Client.JetStream.Tests/ConsumerNotificationTest.cs#L28-L33


executeCommand function does not return correct value

A Work In Progress 👷🏻
Return value is not correct when executing $ xcodebuild -showBuildSettings.

< Executing `xcodebuild -showBuildSettings` with `posix_spawnp` function in tryswiftdev
---
> Typing `xcodebuild -showBuildSettings` in Terminal.app

39c39
<     COLOR_DIAGNOSTICS = NO
---
>     COLOR_DIAGNOSTICS = YES
86c86
<     ENABLE_BITCODE = NO
---
>     ENABLE_BITCODE = 0
151c151
<     LD_RUNPATH_SEARCH_PATHS = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx
---
>     LD_RUNPATH_SEARCH_PATHS = /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain/usr/lib/swift/macosx
187c187
<     PATH = /Applications/Xcode.app/Contents/Developer/usr/bin
---
>     PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
253a254
>     SWIFT_DISABLE_REQUIRED_ARCLITE = 1
255a257
>     SWIFT_LINK_OBJC_RUNTIME = 1
289c291,292
<     TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
---
>     TOOLCHAINS = org.swift.3020160425a
>     TOOLCHAIN_DIR = /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain
306a310
>     XCODE_DEFAULT_TOOLCHAIN_OVERRIDE = /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain
313a318
>     diagnostic_message_length = 80

xcodebuild -showBuildSettings <buildsetting>=<value>


Remove delta_sigma function from repo

The new function is called mean_delta_sigma

This PR also resolves #981

Users of this function should be aware of the API change for computing lensing with v0.7:

The function has changed names from delta_sigma --> mean_delta_sigma
The two arguments particle_masses and downsampling_factor have been replaced with a single effective_particle_masses argument. This new API extends the previous functionality to support particle samples with different downsampling rates for different species.

cc @johannesulf @alexieleauthaud @Christopher-Bradshaw @villarrealas


Monai examples with Keras using torch as backend

Does someone know if a Monai integration with Keras using a torch as a backend exists? I found this example: https://colab.research.google.com/drive/1x8VjJXpkK7aYVrzt2I3eaYs9ewpHDaJr?usp=sharing, but I'm interested in learning more about it.
Thanks in advance!

Hi @emi-research-dl ,
If the attached examples works with keras_core it should work with keras3 also. I doubt only on complete serialization of the model due to external libraries.Otherwise, AFAIK we can train the model and can save and load weights using model.save_weights and model.load_weights respectively.
Could you please try and let us know the outcome !

Hi @SuryanarayanaY   serialization may not be a problem using a Keras model instead of a Monai model. The main problem could be the serialization of custom-used loss functions and metrics. Is there any way to serialize, for example, a torch loss function without saving the model weights and later loading them again? I think it would be an excellent feature for Keras, a serializer for custom objects.

Hi @emi-dm ,
If the custom object is of keras object there are ways to serialize and deserialize those which are briefed here.
I have tested a custom model using model subclassing, with torch backend and APIs and trained it. After training, I have saved and reloaded the model and model.predict seems working fine as per gist. Similarly you can also try to write a custom_loss function by overriding compute_loss method and let us know the outcome.
Thanks!

Thanks @SuryanarayanaY , but I was reffering for the case in which you use a torch loss function!

Hi @emi-dm ,
You can use torch loss function such as torch.nn.CrossEntropyLoss() and with the help of custom training loop you can train the model.The model can be saved into .keras format and can reloaded again as it is.
I have tested with torch loss function with custom training loop and then saved and reloaded the model and predictions are same for both.Reference gist.
SImilar issue has been raised by you in #19084, can you please close this and track there?
Thanks!

Thank you so much @SuryanarayanaY!!!


Fix default configuration

Fixes the default configuration generated by grab config generate to work out of the box
Shorten README.md, move a more advanced configuration into docs/guide.md

Codecov Report

Merging #6 (cc657f3) into main (218914e) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   81.90%   81.93%   +0.02%
==========================================
  Files          24       24
  Lines        1210     1212       +2
==========================================
+ Hits          991      993       +2
  Misses        186      186
  Partials       33       33

Impacted Files
Coverage Δ

cmd/generate.go
32.35% <100.00%> (+2.04%)
:arrow_up:

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


Initial draft

Check it out for versioneye:create and versioneye:json and lets start a discussion so I can contribute versioneye:update and versioneye:licenseCheck
Build:
sbt publish for building/publishing and sbt scripted to run the tiny create-pom.json-testsuite :)

Awesome :-)
sbt publish works fine. But sbt versioneye:json returns:
[info] Loading project definition from /Users/reiz/workspace/versioneye/versioneye_sbt_plugin/project
[info] Set current project to sbt-versioneye-plugin (in build file:/Users/reiz/workspace/versioneye/versioneye_sbt_plugin/)
[error] Not a valid key: json (similar: version)
[error] versioneye:json
[error]

Or did I something wrong? The output for sbt versioneye:create is similar:
[info] Loading project definition from /Users/reiz/workspace/versioneye/versioneye_sbt_plugin/project
[info] Set current project to sbt-versioneye-plugin (in build file:/Users/reiz/workspace/versioneye/versioneye_sbt_plugin/)
[error] Not a valid key: create (similar: aggregate, state, clean)
[error] versioneye:create
[error]

Not sure if I'm doing something wrong.

You can't use the plugin in the plugin-project right now, because you would create a infinite recursion :) Create a sbt project where you reference the plugin (see ttps://www.dropbox.com/s/vys4e7wttt4qzw5/versioneye-test.zip?dl=0).

@mp911de  Awesome. It works!
I just double checked the pom.json. Looks good to me.
I deleted the versioneye.properties file and replaced the API Key with my own. After sbt versioneye:create it created a new properties file and the project was created in my user account. Everything like expected :+1:

ping. Should fulfil the initial requirements

Awesome. I'm testing it :+1:

I just tested it and found a little bug. It seems that the pom.json is missing the artifactIds. I add this line to my build.sbt:
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.1"

The pom.json contains this here:
{"name":"org.apache.commons","version":"3.1","scope":"compile"}

The name contains the groupId, but not the artifactId. Correct would be this here:
{"name":"org.apache.commons:commons-lang3","version":"3.1","scope":"compile"}

Otherwise it looks good :+1:

You're right. VersionEye finds then the dependencies once the artifact name is right. Fixed it.

Awesome. It works :+1:
Just one little thing. For the case of a license whitelist violation I'm getting an Exception with this message:
[error] (versioneye:licenseCheck) java.lang.IllegalStateException: Some components violate the license whitelist! More details here: sbt.SettingKey$$anon$4@71a6f6f9/user/projects/55dc1a3e7a7c24000c03b008

I guess some string concatenation goes wrong, because sbt.SettingKey$$anon$4@71a6f6f9 should be https://www.versioneye.com.
But otherwise it really works like expected. Great Job :+1:

@mp911de I just merged it :-)

You were too fast

@mp911de Sorry, I was too excited about this plugin :-)


[Bug]: Tables with change permissions cannot add large objects

ODC version
odc431
OB version

What happened?

What did you expect to happen?
Can add large objects
How can we reproduce it (as minimally and precisely as possible)?

Create a table with change permission for data types and large objects
Add data on white screen

Anything else we need to know?
No response

pass


Made wwwroot 'copyOnly' to avoid modifications in it's files

[Fixes #331] Files under wwwroot getting incorrect replacements

@kichalla Were you able to create these templates and ensure they work as expected? And also if the files in this directory are ignored when trying to replace 8080 (as in the original bug)?

Were you able to create these templates and ensure they work as expected? And also if the files in this directory are ignored when trying to replace 8080 (as in the original bug)?

I initially verified using manually (checked in original wwwroot to git and then dotnet new to the folder to see if there are any changes to wwwroot), but i have now done an end-to-end test of the application with my changes and they work fine as expected (i.e wwwroot content is not modified after my changes)

https://github.com/aspnet/templating/commit/fa8fcc9a628153f17c5db2d3275179b07548bf77
https://github.com/aspnet/templating/commit/8f2c029a95366e5037dcd1812a6c9a7e776cfd25


PERF-#3844: Improve perf of drop operation

Signed-off-by: Alexey Prutskov<EMAIL_ADDRESS>
What do these changes do?
This PR speedups sequential-execution part of drop implementation.

[x] commit message follows format outlined here
[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #3844
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date
[ ] added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

Benchmark results
Benchmark code
import time

import pandas as pd
# import modin.pandas as pd
from modin.config import BenchmarkMode

BenchmarkMode.put(True)

def get_time(op):
    start = time.time()
    result = op()
    # print(result)
    return time.time() - start

if __name__ == "__main__":
    n_runs = 3
    nrows = 10_000_000

    df = pd.Series([0] * nrows)

    def operation():
        return df.drop(df.index)
        # return df.drop(df.index[:len(df.index) // 2])
        # return df.drop([0])

    all_time = 0
    print(f"\tZero call: {get_time(operation)} s")

    for i in range(n_runs):
        t = get_time(operation)
        print(f"\tIteration #{i}: {t} s")
        all_time += t

    print(f'Time drop op: {all_time / n_runs} s')

Performance results for operation df.drop(df.index):

n_rows, s
10m
50m
100m

modin #4694
0.016
0.06
0.11

modin master
17.72
89.69
178.57

pandas
0.048
0.17
0.36

Performance results for operation df.drop(df.index[:len(df.index) // 2]):

n_rows, s
10m
50m
100m

modin #4694
0.43
1.67
3.54

modin master
9.63
51.77
102.31

pandas
0.17
0.79
1.66

Performance results for operation df.drop([0]):

n_rows, s
10m
50m
100m

modin #4694
1.02
5.13
10.46

modin master
1.11
6.4
14.27

pandas
0.2
0.81
1.53

The additional one place to accelerate is https://github.com/modin-project/modin/blob/c17dde71ae8114723a13279e36bf5532dcba328a/modin/core/dataframe/pandas/dataframe/dataframe.py#L628-L630
But, possible, it should be implemented in a separate PR because it affects a lot of different functionality except drop operation (https://github.com/modin-project/modin/issues/4268 for example)


Enable SQL features selectively

Hello,
given the breadth of the parser, it would be nice if it would be possible to selectively enable features on an opt-in basis.
Let's imagine an application where only a subset of SQL is supported. In this case, the application would need to check for every possible unsupported feature manually (e.g. if I don't support windowing in queries, I would need to check if the named_window field in the Select gets populated and abort).
It would be interesting, instead, to decide beforehand which feature set is to be supported, so that only "valid" SQL gets parsed and arrives to the application.
Thanks.

I agree this is interesting, though I am not sure how easy it would be to add to the current crate


Not Display UI or any Functionality

Describe the bug
When i installed this extension , reloaded page multiple times , login logout many times but still this extension not displaying anything to me just a blank white page on the side when i click little arrow icon.
To Reproduce
Steps to reproduce the behavior:

Go to 'Anywhere in the org'

Expected behavior
i should open extension with UI
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser [chrome]
Version 113.0.5672.127 (Official Build) (32-bit)

Hi @Darjiankit ,
You need to enable third party cookies on chrome

I'll close the issue, if the issue is not solved feel free to add a comment an I'll reopen it

Ok got it thanks , i checked like from my company side its blocked so i can not make changes to it as its not editable but thanks for clarification, i checked in my personal laptop and its working

FYI the plugin is also available on Edge and Firefox

Yes but on edge all extensions are blocked by our company for salesforce so i need to use some of extensions in chrome only


Fixed #24638 -- Added support for SQL comments in queries

Ticket 24638

Is this ready for review from your perspective? "Needs documentation" is still checked on the ticket, hence it's not appearing in the review queue. It needs a rebase (might just be release notes).

I think it needs some more discussion. There hasn't been much enthusiasm on the ticket, and this is probably quite narrow in scope as using the comment for query hints would only really be work on MySQL.
And on that, the code I've published in my django-mysql package is slightly hacky (it works around the ORM by injecting comments with extra() and then rewriting them after the query is compiled) but sufficient for any use cases I've come across.

Okay, please send a new PR if you revive it.

I'd like to point out that the utility of this goes beyond just MySQL query hints. A prime example would be a postgresql pool- comments can be used to route queries, e.g. force a select to use the master. In addition, this would be an invaluable tool in tracing the source of slow queries.

@thugdoubt Where do the comments need to go though? One of the reasons I abandoned this is because it's too MySQL specific putting the comments directly after the SELECT keyword, since other DB's like their hints in other places. I suspect PostgreSQL pool routing has different rules again.

@adamchainz

In PostgreSQL, a comment that starts with /* symbol and ends with */ and can be anywhere in your SQL statement. This method of commenting can span several lines within your SQL.

https://www.techonthenet.com/postgresql/comments.php

@Anton-Shutik yes, but this PR discusses special comments that the database parses for specific purposes.

Oh, I see, you wanted to add some logic to sql query via comment.
But adding comments on the query still might be useful, right ? We can pass there some meta data about server (or pod) that generated the query, which will be helpful when debugging.

Yes. If you want to do that, comments are quite easy to insert at the start of queries with database instrumentation these days.

Yeah, but let's say I want to add a comment to single sql query, that approach looks like a hack where I have to edit generated sql, rather than a feature, right ? Approach suggested in the PR much nicer and addresses comments feature correctly.

It could maybe be done with a .comment() ORM method that has options on where to insert the comment, to allow the various use cases. More research is needed on all the backends.

If I'm understanding correctly django ORM does not have comment method right now, and that is what this PR is adding, right ?
I've just walked through supported backends and looks like all of them support /* comment goes here */ syntax, which might be inserted in any place of the query. PostgreSQL, MariaDB, MySQL, Oracle, SQLite.
Considering that this feature is just comments addition I would just have it in front of the sql query  for now, and added "placement" options later, if required.

Yes you're right that both support it anywhere. For the MySQL/MariaDB query hints use case, the placement does matter.
This PR was closed 4 years ago. We'd need to start again on it. I'm afraid I don't have the time nor motivation to do so right now. Feel free to start a new PR - please check out the contribution guide.


feat: add blas/base/matrix-triangle-str2enum & blas/base/matrix-triangle/enum2str

Description

What is the purpose of this pull request?

This pull request adds implementation for blas/base/matrix-triangle-str2enum & blas/base/matrix-triangle/enum2str
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Repl Lint Failure happens in matrix-triangle-enum2str:
This happens even if I copy and use https://github.com/stdlib-js/stdlib/blob/develop/lib/node_modules/%40stdlib/blas/base/transpose-operation-enum2str/docs/repl.txt exact same with no modifications.
% git commit -m "chore: add docs/repl.txt"
/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/_tools/repl-txt/rules/doctest/lib/main.js:175
			alias = alias.split( '.' );
			              ^

TypeError: Cannot read properties of null (reading 'split')
    at replaceAliases (/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/_tools/repl-txt/rules/doctest/lib/main.js:175:18)
    at String.replace (<anonymous>)
    at replace (/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/string/base/replace/lib/main.js:49:13)
    at replace (/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/string/replace/lib/main.js:78:9)
    at Object.returnValues [as validate] (/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/_tools/repl-txt/rules/doctest/lib/main.js:131:12)
    at Linter.validate (/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/_tools/repl-txt/validate/lib/validate.js:110:32)
    at isValid (/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/_tools/repl-txt/validate/lib/main.js:42:9)
    at onRead (/Users/pranavchiku/repos/stdlib-js/stdlib/lib/node_modules/@stdlib/_tools/lint/repl-txt/lib/lint.js:93:11)
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)

Node.js v20.9.0

REPL help lint errors.

The trouble is in line > var out = {{alias}}( {{alias:@stdlib/blas/base/matrix-triangle-str2enum}}( 'upper' ) ), with the following diff it works:
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -15,7 +15,7 @@

     Examples
     --------
-    > var out = {{alias}}( {{alias:@stdlib/blas/base/matrix-triangle-str2enum}}( 'upper' ) )
+    > var out = {{alias}}( 121 )
     'upper'

     See Also

@Pranavchiku This lint error is expected. The package is not yet in the REPL namespace. We can ignore for now.


Some bug fixes and UI improvements

Hi
This PR includes many things that are not related to each other or any open issues.
This PR doesn't include any breaking or extreme change.
This PR includes:

Simple typo fixes and simple readability improvements.
UI/UX improvements.
Removing duplicate and unnecessary code and unnecessary complications.
UI bug fixes.
Cleaner HTML structure.
Fixes semantically incorrect HTML structure.
Hides an element when its content becomes hidden due to a condition or if a slot remains unused while the wrapper of that slot is visible.

There is this comment you can find in this commit:
<!-- TODO: If you try to search for a channel name that doesn't exist, you will receive error 500 -->

I didn't know where to put it.

The main branch I'm working on is here right now: https://github.com/CodingGarden/listd/tree/setup-coverage-reports
I plan to get it merged into main today. You'll need to make sure your changes do not conflict. Closing for now.
Also, before making a PR, you should open an issue to make sure these are changes we actually need / want. https://github.com/CodingGarden/listd/blob/main/CONTRIBUTING.md#prerequisites
After opening an issue, each fix should be a separate PR.


Update FusionPoseSensor to use new Sensor APIs (instead of devicemotion)

The devicemotion API has been superseded by the Generic Sensor APIs.
It's shipped in Chrome for Android. I tested on a Samsung Galaxy S8. Load chrome://flags/#enable-generic-sensor, and toggle the Generic Sensor flag from Default to Enabled.
Here are some sample pages:

https://genericsensors.appspot.com/
https://sensors.glitch.me/

There is code in FusionPoseSensor that needs to use the new APIs when available (i.e., checking if ('Sensor' in window) …), and falling back to devicemotion only when necessary.
So instead of …
window.addEventListener('devicemotion', event => {
  console.log(event.accelerationIncludingGravity.x + ' m/s^2');
});

like this …
let sensor = new GravitySensor();
sensor.start();
sensor.addEventListener('reading', () => {
  console.log(sensor.x + ' m/s^2');
});

Examples:

https://w3c.github.io/accelerometer/#examples
https://w3c.github.io/accelerometer/#gravitysensor-interface
https://w3c.github.io/gyroscope/#examples
(WIP) https://github.com/cvan/webvr-polyfill/commit/645342

@cvan @jsantell FYI, screen coordinates synchronization for the Accelerometer, Gyroscope, LinearAcceleration, AbsoluteOrientationSensor and RelativeOrientationSensor
classes is available now in Chrome canaries (starting from 66.0.3350.0).
In practice, it means that if you create a sensor object passing {referenceFrame:"screen"} to the constructor (e.g. new RelativeOrientationSensor({frequency: 60, referenceFrame:"screen"})) the screen coordinate system will be used to resolve the sensor readings. So, there will be no need to remap sensor readings on JS side when the screen orientation changes.

@pozdnyakov great info, thanks! Looking through the spec and demos, is there anyway to distinguish the difference between Chrome m63-m65 implementations where referenceFrame is unsupported? Or to tell if referenceFrame will be respected?

@jsantell unfortunately, for m63-m65 UA sniffing needs to be done :( But we have just introduced a feature detection mechanism to the Generic Sensor specification, so that situations like this will be avoided in future. Now it is being implemented in Chrome.

@pozdnyakov thanks for the info! Filed https://github.com/immersive-web/cardboard-vr-display/issues/17


Enhancement: Examples for AWS FIS using the extension

Motivation:
Many users would like to see how to automate and conduct an experiment using tools such as the AWS FIS leveraging the chaos extension.
Detailed Description:
Have a sample experiment template for the AWS FIS that uses the chaos extension during the experiment. The experiment template can be configured to inject chaos into a Lambda function, by adding the extension over the duration of the experiment and removing it after a successful completion (or failure) of the experiment.
Use Cases:

Users working late at night or in dark environments.

Alternatives Considered:
An extension or third-party tool could provide this, but a built-in feature would provide a smoother and more integrated experience.
Additional Context:
Would require a IaC framework to create the FIS template, e.g. CDK, Terraform or CloudFormation

@andrestoll I understand the need. Wdyt about the example at https://github.com/aws-cli-tools/cfn-resource-provider ?
Do you think it can suffice?  Do you expect the example to be part of this repo or a separate repo?

I was more thinking something like this:

https://github.com/fun-with-serverless/chaosinjection-lambda-samples, or
https://github.com/aws-samples/serverless-chaos-experiments

I think it would be nice to have examples for experiements here, but I understand if you want to keep this repo as lean as possible


CooldownComponent not very well documented

We should add somewhere, in both wiki and comments that you need to send a Start cooldown packet so the cooldown is shown to the client. Without this it's never triggered:
$player->getNetworkSession()->sendDataPacket(PlayerStartItemCooldownPacket::create($name, $durationInTicks));

That's interesting, it wasn't like that back when I first implemented custom items. I will get this added to the wiki 👍🏻


Raspberry Pi 4: Compiling issue

I am trying to compile the source code on a Raspberry Pi 4 running Raspbian Buster. The reason I'm trying to compile is because musikcube_0.65.0_rpi_stretch_armhf.deb won't install with the Raspberry Pi 4, as it's built against different libraries than the supplied Pi 4 Raspbian uses.
I've got all the necessary libraries installed on the Pi 4. Running make gets right to 99% but fails at the linking CXX executable stage with the following error:
/usr/bin/ld: ../../bin/libmusikcore.so: undefined reference to __atomic_store_8' /usr/bin/ld: ../../bin/libmusikcore.so: undefined reference to __atomic_load_8'
/usr/bin/ld: ../../bin/libmusikcore.so: undefined reference to `__atomic_exchange_8'
collect2: error: ld returned 1 exit status
make[2]: *** [src/musikcube/CMakeFiles/musikcube.dir/build.make:982: bin/musikcube] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: src/musikcube/CMakeFiles/musikcube.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Any help in getting the source to compile would be great! musikcube would be awesome on the Pi 4.

Oh man, we absolutely need to support the RPI4. I don't have one yet, but am planning to get one soon. I did a bit of searching around -- can you try something for me?
In the root directory of the repo there's a file called CMakeLists.txt. In there, on line 50, is this line:
set (musikcube_LINK_LIBS ${BOOST_LINK_LIBS} dl curl pthread crypto)

Can you try to change it to the following, then re-compile and see if it works?
set (musikcube_LINK_LIBS ${BOOST_LINK_LIBS} dl curl pthread crypto atomic)

Absolutely marvellous, with that line change and following your Linux wiki instructions, musikcube works on the RPI4!
On the RPI4 it's definitely worth running the make command with say make -j4 so that it uses all the cores when compiling. I know there's a lot of folk out there who forget about the -j flag (maybe worth a mention in the wiki notes?).
I've now got to figure how to get musikcube playing to my Bluetooth speaker. Installing Pulseaudio on the RPI4 makes sound only go through HDMI (at least it does on my RPI4). I know musikcube lets you change the output driver to AlsaOut rather than Pulseaudio, but I need to find the right output device. But that's a different matter, and something I'll try to work out.

Awesome to hear that small tweak helped it compile successfully! Instead of updating the wiki, I'll figure out how to fix it properly so there aren't any additional steps for the RPI4 and just release a new version. I ordered one tonight, and it should show up next week sometime.
As for output device selection -- Pulse should support Bluetooth speakers in most cases. Below output driver in the settings screen there is an output device selector -- in theory your Bluetooth speaker should show up there and be selectable.

https://github.com/clangen/musikcube/commit/0d150424830b36eb83c8081925f729dbd4ebde1f


Support for And keyword

Would be nice if the and keyword could work as in mocha-cakes-2.

Would be nice if the and keyword could work as in mocha-cakes-2.

All of the keywords are are just alternates for the the defineStep function, so adding and and but should be simple to do.

Created a PR(#41 ) implementing the feature

I added support for the but keyword as well and updated the step definition generation code to generate the steps with and and but where appropriate. This is published in version 2.0.2 on NPM, which is currently a beta version (tagged @next).


[SMALLFIX] Code cleanups

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9525/
Test PASSed.

I left one comment

+1 LGTM

LGTM, thanks for the cleanup


scaphandre: Enhance CI tests

https://github.com/osism/issues/issues/1132

Can not be functionally tested due to varying/missing CPU capabilities exposed VM.


Crash on certain pages

These are some of the page where the program crashes
https://www.educative.io/courses/grokking-the-behavioral-interview/YQXMlDkqpoA
https://www.educative.io/courses/recursion-for-coding-interviews-in-java/m2qwWvOjR0R

@dev-rish share crash info and also try using latest commit
https://github.com/anilabhadatta/educative.io_scraper/commit/f22caafdbca4abb2b7d5a55240eafa4ea379cc26

@dev-rish try using v3, issues should be resolved


Configure domain separation context

The runtime SDK should configure the domain separation context based on:

The runtime ID.
The consensus layer genesis document hash.

Requires https://github.com/oasisprotocol/oasis-core/pull/3778.


Extend docmatching to include other preprint sources

Currently, the pipeline needs to be able to match EarthArXiv (bibstem EaArX) and ESSOAr (bibstem esoar) records against publisher records and vice versa.
For these cases the situation is different in the sense that these preprint are not in the Classic PRE database. They have doctype:eprint, but they live in the Classic GEN database. Given the bibcodes for these new preprints, the easiest way to retrieve their metadata (for the matching process) is through Solr queries, via the API.
Use the Pilot Project for EarthArXiv and ESSOAr to help implement this (e.g. 2021esoar.10508651L and 2022ApJ...938..138L)

@aaccomazzi @ehenneken @seasidesparrow
Is there any reason you do not want to adopt reading the metadata from solr for all the records? I think this approach is messy! Right now the pipeline expects filename, as you know. I am guessing you are either going to provide filename or bibcode, or both. I understand you want to move away from the classic file system, so my question is why not do that for all the records. That would be efficient and elegant, lol.

The solution is simple: make the input file uniform so that it consists of a list of filenames in classic format (which is currently what we use for published records). The all the I/O is the same and the only logic to implement is:
record = read_metadata(input_file)
if is_eprint(record):
    matches = match_published(record)
else:
    matches = match_eprint(record)

Any objections? If not, I can easily make this happen.

That was my understanding at the beginning. But now I am thinking, don't you want to move away from file system?

Eventually, yes. But for the time being we don't have anything else to replace it with, since we'd like to do the record matching as soon as possible and not wait until the records are in solr.


XML documentation (doc comment) creation is no longer working

Environment data
.NET SDK:
 Version:           8.0.204
 Commit:            c338c7548c
 Workload version:  8.0.200-manifests.9f663350

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22631
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Users\simonmattes\AppData\Local\dotnet\sdk\8.0.204\

.NET workloads installed:
There are no installed workloads to display.

Host:
  Version:      8.0.4
  Architecture: x64
  Commit:       2d7eea2529

.NET SDKs installed:
  8.0.204 [C:\Users\simonmattes\AppData\Local\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.4 [C:\Users\simonmattes\AppData\Local\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.4 [C:\Users\simonmattes\AppData\Local\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 8.0.4 [C:\Users\simonmattes\AppData\Local\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

VS Code version: 1.89.0 (user setup)
C# Extension version: v2.31.19

Steps to reproduce

Open/ create a .NET project
Navigate to a class without an XML documentation comment
Insert a new line before the class declaration
Move to that empty line
Type ///

Expected  behavior

The C# extension inserts:/// <summary>
///
/// </summary>

Actual behavior
Nothing happens
Additional context
I believe this worked just recently; might be an issue with the most-recent .NET update or an update of the extension.

Duplicate of https://github.com/dotnet/vscode-csharp/issues/7184, will be fixed in the next prerelease.


Adding process lock functionality to consulate

Adds process lock functionality to consulate, with an optional duration, so that Consul can coordinate running processes across a cluster
@joemiller // @Hornswoggles
cc: @marktheunissen // @aleszoulek
Usage
To ensure that nothing else can echo 'hello' for 5 seconds - with that 5 second lock store in Consul as 'echo_hello'
consulate lock -i 5 echo_hello 'echo hello'
>>> hello
consulate lock -i 5 echo_hello 'echo hello'
>>> Last run happened fewer than 10 second ago. Exiting

I feel like we can come up with a more descriptive name.  It's a little confusing to me that this is called lock and that it is built on top of consul's lock, but this is different.  What do you think about once_per_interval?
Bacon: Yo eggs my man, what's this consulate once_per_interval helper do?
Eggs: That helper ensures that the command is only run once during that time-interval, even if it is run on different servers or repeated.  It gives a helpful error message if it has already been run during that interval.
Also, what happens if the operation fails (non-zero exit)?  Looks like the lock still be held and not released, so nothing else will be able to run the job.  Is that intended?  Do we maybe need a finally clause to release the lock?
Also, do we want the command to exit non-zero if the lock was not-acquired?    Then you could do stuff like consulate once_per_interval -d 5 "job.py" || send_error.py

@nstielau Good points, thanks =)
As per naming, I want to get away from thinking of it as an interval though, as it's also functional to just lock a non-cyclical command. I'm still trying to figure some stuff out, but I'll incorporate your feedback on non-zero error codes :smile:

Yeah, cool.  I’d rather have 3 granular command than a single command that
has a handful of less-than-obvious implications, even (especially) if they
share some implementation on the backend.
On Wed, May 20, 2015 at 11:27 AM, Harrison Dahme<EMAIL_ADDRESS>wrote:

@nstielau https://github.com/nstielau Good points, thanks =)
As per naming, I want to get away from thinking of it as an interval
though, as it's also functional to just lock a non-cyclical command. I'm
still trying to figure some stuff out, but I'll incorporate your feedback
on non-zero error codes [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/pantheon-systems/consulate/pull/1#issuecomment-103986794
.

--
Nick Stielau | p<PHONE_NUMBER>
Director of Engineering | Pantheon

I don't think including the -d flag is unclear. The purpose of the function is to give the executing process the lock to a function for the duration of the function - or -d seconds.
I'd prefer to keep this command line tool relatively simple (ie, not be responsible for recurring function calls) - and leave the triggering to something more suitable, like a cron job. I can see making a higher level once_per_interval wrapper, which includes the logic to trigger a command though. Thoughts?

I think I agree with @nstielau that this shouldn't be called lock since it differs from the existing consul lock command. Although with the right help message describing the behavior in more detail I might change my mind.
Also, what do you mean by "non-cyclical command" ?

@joemiller Thanks for your naming suggestions
By non-cyclical, I meant a command which is run once - ie, not something that's run on a schedule

For reference to another similar unix util, flock, looks similar on the CLI
but will hang until the specified timeout is reached:
flock test.txt -t 60 -c 'something.poy'
On Wed, May 20, 2015 at 5:16 PM, Harrison Dahme<EMAIL_ADDRESS>wrote:

@joemiller https://github.com/joemiller Thanks for your naming
suggestions
By non-cyclical, I meant a command which is run once - ie, not something
that's run on a schedule
—
Reply to this email directly or view it on GitHub
https://github.com/pantheon-systems/consulate/pull/1#issuecomment-104077294
.

--
Nick Stielau | p<PHONE_NUMBER>
Director of Engineering | Pantheon

It's a nonblocking lock. flock -n   does the same thing, consul lock really needs to add it to its primitives :\

@joemiller / @Hornswoggles / @spheromak / @nstielau and so forth - what do you think - good to go?

@hdahme +1 let's try it out in real life now.  I still feel word about the help language of 'hold lock for X interval', since we are only really holding the lock for the duration of the command is running but I have no good suggestion for clarity at this time.

@hdahme so interval will set the TTL on the lock and let consul time it out. So your using this as a Guard for  running this command more often than Interval from anywhere (on the given key).
What happens when the command run takes longer than interval ?  Lock will be released.  other instances could run. Am I missing something that keeps updating the lock on some heartbeat ? Did I mis-interpret the code?

@spheromak you are correct - but if the command takes longer than the interval, the lock will not be released from the previous execution, so the next execution should exit when trying to obtain the lock initially.
I'd like to dig into how to synchronize the heartbeats of execution time vs lock duration, but I've also got to get this out to support the workflow metrics initiatives. Is this something you'd be okay with revisiting when there's more time?

@hdahme cool Just want to make sure you can't get that 2nd job to run if first one goes over.


Add locales to readme.md

Thanks for the PR @NeonDevil I will however close this in favor of #401 as it gives a more detailed overview.


refactor(constraint_graph): add setup_future_usage for mandate check in payments

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[x] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Previously the mandate_details were enough to identify the payment as mandate payment but now it is optional so a payment can be mandate even if there is no mandate_details but the payment's setup_future_usage is off-session.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

This can be tested in the following way:

Connector create (Fiuu)

curl --location 'http://<IP_ADDRESS>:8080/account/merchant_1733312955/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data '{
    "connector_type": "payment_processor",
    "connector_name": "fiuu",
    "connector_account_details": {
        "auth_type": "SignatureKey",
        "api_key": ".....",
        "key1": "......",
        "api_secret": "......"
    },
    "test_mode": false,
    "disabled": false,
    "payment_methods_enabled": [
        {
            "payment_method": "bank_redirect",
            "payment_method_types": [
                {
                    "payment_method_type": "online_banking_fpx",
                    "payment_experience": null,
                    "card_networks": null,
                    "accepted_currencies": null,
                    "accepted_countries": null,
                    "minimum_amount": 0,
                    "maximum_amount": 68607706,
                    "recurring_enabled": true,
                    "installment_payment_enabled": false
                }
            ]
        }
    ],
    "connector_webhook_details": {
        "merchant_secret": ".....",
        "additional_secret": null
    }
}'

Payment (off-session)

curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Cookie;' \
--header 'api-key: .....' \
--data-raw '{
    "amount": 6540,
    "setup_future_usage": "off_session",
    "currency": "EUR",
    "confirm": false,
    "capture_method": "automatic",
    "capture_on": "2022-09-10T10:11:12Z",
    "amount_to_capture": 6540,
    "customer_id": "uiuiuiui",
    "email"<EMAIL_ADDRESS>    "description": "Its my first payment request",
    "authentication_type": "no_three_ds",
    "return_url": "https://duck.com",
    "billing": {
        "address": {
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "city": "San Fransico",
            "state": "California",
            "zip": "94122",
            "country": "NL",
            "first_name": "joseph",
            "last_name": "Doe"
        },
        "phone": {
            "number": "8056594427",
            "country_code": "+91"
        },
        "email"<EMAIL_ADDRESS>    },
    "shipping": {
        "address": {
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "city": "San Fransico",
            "state": "California",
            "zip": "94122",
            "country": "IN",
            "first_name": "joseph",
            "last_name": "Doe"
        },
        "phone": {
            "number": "8056594427",
            "country_code": "+91"
        }
    },
    "statement_descriptor_name": "joseph",
    "statement_descriptor_suffix": "JS",
    "metadata": {
        "udf1": "value1",
        "new_customer": "true",
        "login_date": "2019-09-10T10:11:12Z"
    }
}'

List payment methods

curl --location 'http://localhost:8080/account/payment_methods?client_secret=......' \
--header 'Accept: application/json' \
--header 'api-key: .....' \
--data ''

It shouldn't have any payment_method
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible

@prajjwalkumar17 Can we add this test case in cypress?

@prajjwalkumar17 Can we add this test case in cypress?

This will be added in a new PR, here is the issue.


Inconsistent Look Between iOS and Android

Hi there,
Position and size of the badge seems to be different between the two platforms. On iOS it's okay, but on Android it is a bit off. Would be nice to make Android resembles the iOS view as much as possible.

Also, on Android, the OS text size does affect the tiny badge position, i.e. setting the OS text size to largest makes the badge more at the bottom:

Hello, @darrabam, consider checking the latest update 1.0.9 for nuget package 😃

@SnowPowerCore
1- Yes now the tiny badge looks much more consistent, thanks 👍
2- The normal badges still look horrible on android when the OS text size is set to max.

3- Also, the badge is not clearing when set to "" by the ViewModel ! any other value works as expected, but not empty string. I also tried string.empty which didn't work either.
Thanks,

Hello, @darrabam, yes, i investigated problem, i'm sorry, missed it when i was testing (i'm testing on both platforms, though). Fix will be applied soon, thank you. I won't be able to fix huge display of badge, when font size of the system is too large, in a near future, but i'm keeping this in mind...

In iOS badge not showing please help me

1.0.10 is now available on nuget

@SnowPowerCore on real devices like Samsung Galaxy S21 or S9 Plus (default font settings), the tiny badge is too large for some season

Though it works fine on the Google pixel physical or emulator devices, OnePlus, Motorola .... etc.
Any quick hack that I can apply?
Thanks,

@darrabam, i know this is occasional and you may not be involved into using this library as of now, but i've introduced new logic for Android Badges within my recent PR #24. Sorry that it took almost a year to return.

If this is still relevant for Android, please, create new issue, but i think #24 should pretty much resolve it due to the offloading of the entire logic to the Material Components Library Badge feature (read here).


add -f flag to build.gui modify I and D mem params

option to modify I_MEM_OFFSET,  I_MEM_LENGTH, D_MEM_OFFSET,  D_MEM_LENGTH.
At that point I have created two files  app/cfg/test0.json and  app/cfg/test1.json
cases:

no flag provided : default (previous) values will be added with a message
with flag : ./build.py -f test0 -dut.....
file do not exists - default values will be loaded as in case1

I tried to keep the coding style as it was before but I got some difficulties with it. for example,  all the args.flag (lines 488 and more) are started at main function and in my case it starts from class Test. I try to fix it but had some issues. let me now if what I did is ok and if you want me to fix that issue I will try to fix it again.
I also have doubts about case number 3, maybe it should display an error message and not a regular message. I had some difficulties to do this in the code but let me know what you think cause maybe its ok.

I have implemented all the changes except for the 'define' folder, as I'm not entirely clear on its purpose and how it impacts the configuration. The values of memories inside the *.json will be modified in the future." The contents of crt0.s files will also be modified in the future with reasonable content.
The file names have also been adjusted based on the architecture. I have conducted tests to evaluate the functionality when using registers x16 to x31 in the RV32E architecture, and as expected, we encountered an error."
you may test using the following cmd:
./build.py -dut rrv -test alive -app

./build.py -cfg mini_rv32i -dut rrv -test alive -app

 ./build.py -cfg mini_rv32e -dut rrv -test alive -app

The GUI looks like that

I understand what it does but dont understand why, at that point I copy it without understanding (see image)


CSS tweaked to move fixed menu from the right to the left of the page.

This is in reference to bug #961. Menu moved to the right on the API reference page. This fix was tested on mobile views as well and works.

@craigdanj Thanks for the PR.  This looks good to me, but I'd like to see if anyone else has an opinion on the final result.... e.g. @dougwilson.
Here is what it looks like (for example):

OK since no one has commented, I'm going to assume there are no objections.  I like the way this change looks.   We can always go back if there are meaningful objections.


[FLOC-3796] Test protecting datasets using real docker

This enhances the previously created test to actually use docker to write to dataset paths from flocker which more specifically tests for the bad behavior we want to protect against in FLOC-3254.

Hi,
Thanks for the branch.
I've added a couple of comments, but I've asked jml to take a look as
well as my reviewing mentor.
Thanks,
James

Thanks @james-w. Looks good, I've made a couple of comments about typos & some helper functions that exist elsewhere.
Happy for address & merge.

Thanks for the reviews! Sorry about the typos - thanks for catching them.

Got greens  on Jenkins so I'll be merging this. Thanks again for the reviews.


fix(lint): Warn not Error on unsupported lint tool

In a recent Cargo Team meeting, it was decided to lessen the error on an unsupported tool in [lints] to a warning. This PR implements that change.

@bors r+

:pushpin: Commit 72f265b22dd9df0f46fc1d4dfaf8a1e49682bbcf has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 72f265b22dd9df0f46fc1d4dfaf8a1e49682bbcf with merge 1c92c1eef0d6ce2a8a028de50728927c081467a3...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 1c92c1eef0d6ce2a8a028de50728927c081467a3 to master...


dungeon: add screen for combat/dices

https://github.com/chukwumaijem/roll-a-die

split into two screens, done


[WIP] Adds works ontology

This is the works ontology, as far as it's got
Relates to #77

Oh god, why is it all on one line?

Windows line endings?
@ChristopherHilton Can we set your editor up to use Unix line endings?

why is it all on one line?

Actually, I suspect encodings are at fault – inspecting the file, I see a bunch of \xa0 bytes. That’s a non-breaking space in Latin 1, not sure what in UTF-8. I bet the encoding doesn’t match what GitHub expects.

Put another way, running dos2unix works.ttl has zero effect on legibility.

@ChristopherHilton I think the long term solution to this is to either a) Get a mac with admin privileges so you can install what you like, b) get IT to install a better editor. @jtweed what do we need to do to get Chris a mac?

Agreed, I think simplest is likely to be getting a Mac so there’s consistency in kit across the whole team.  I’d still need access to CALM and Sierra via a Windows machine but that’s not insuperable obviously – either we do it via a VM or I just keep the old laptop also.  A second docking station and a toggle for the screen would presumably be fairly simple for IT to set up?
From: Robert Kenny<EMAIL_ADDRESS>Sent: 09 March 2017 07:33
To: wellcometrust/platform-api
Cc: Christopher Hilton; Mention
Subject: Re: [wellcometrust/platform-api] [WIP] Adds works ontology (#78)
@ChristopherHiltonhttps://github.com/ChristopherHilton I think the long term solution to this is to either a) Get a mac with admin privileges so you can install what you like, b) get IT to install a better editor. @jtweedhttps://github.com/jtweed what do we need to do to get Chris a mac?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/wellcometrust/platform-api/pull/78#issuecomment-285276629, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYNgqr3Qmo0OPxMVhuk6tmVyBKVZgZtTks5rj6s3gaJpZM4MXCK4.
This message has been scanned for viruses by Websense Hosted Email Security - www.websense.com

Alex has cracked it I think - it's the browser.  Using Chrome we actually have line breaks!  Progress...

It'd be nice to have some docs and tooling in the repo around viewing/editing/understanding the ontology files. At the very least a README.md would be good here too.

Just added in the stuff raised in comments on the previous version - removed mention of CALM, expanded on FRBR, etc.

@ChristopherHilton This has been open for a bit. What do we need to do to get it merged?

Resolves https://github.com/wellcometrust/platform-api/issues/77


How to use the go library ?

Hello,
I'm trying to use the s4 go library to encrypt and decrypt bytes.
But when using import "github.com/simonfrey/s4" as written in the README, I get a strange error :

go: finding github.com/simonfrey/s4 latest
go: downloading github.com/simonfrey/s4 v0.0.0-20210502093622-aa95753ec8f6
go: extracting github.com/simonfrey/s4 v0.0.0-20210502093622-aa95753ec8f6
go: test imports
github.com/simonfrey/s4<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: s4
but was required as: github.com/simonfrey/s4

I've tried the rewrite directive in my go.mod but it's only making things worse. How to correctly import this library ?
Thanks !

OK, I've managed to get it working with a golang mod replace statement. Sharing the solution here :slightly_smiling_face:
My go main file :
package main

import (
	"s4"
        "encoding/base64"
)

My go.mod file :
module github.com/xxx/yyy/v2

go 1.16

replace s4 => github.com/simonfrey/s4 v0.0.0-20210502093622-aa95753ec8f6

require s4 v0.0.0-00010101000000-000000000000

NB : you can replace v0.0.0-20210502093622-aa95753ec8f6 by latest and run go mod tidy.

I tagged the current master with v1.0 to make it work out of the box.
Could you please try if that fixed it. You should not need the replace anymore.

Hi,
I don't think it's related to a tag missing. It's nice though.
Here's a test main.go :
package main

import (
	"github.com/simonfrey/s4"
)

And a related go.mod :
module github.com/xxx/yyy/v2

go 1.16

require github.com/simonfrey/s4 latest

I still got the error :
go<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: s4
	        but was required as: github.com/simonfrey/s4

I think it's related to the fact that module in s4/go.mod  is s4 and not github.com/simonfrey/s4.
This may not be all, I'm not completely sure. :slightly_smiling_face:

Nice catch. Should be fixed with: https://github.com/simonfrey/s4/commit/295f9713af70d434641fa8b3f8615099caffe120

Tested on my repo, I think this PR shoudl fix this for good !
I was getting this error without this :
../go/pkg/mod/github.com/simonfrey/s4@v0.0.0-20210726193420-57fa43c35b94/s4.go:7:2: package s4/crypto is not in GOROOT (/usr/lib/go-1.17/src/s4/crypto)

Works fine now 🙌


context integration

Wow, that's an interesting project. Do you think a context integration would be feasible?

From a quick look, seems like yes, given that it hooks up at the (LuaTeX) engine level.
There'd just need to be some sort of ConTeXt layer on top of that.
@zepinglee - there's been talk about something like this for ConTeXt for years.

I have little experience with ConTeXt. I guess the the luaxml library that citeproc-lua depends on may need to be switched to the XML component of ConTeXt.

IUC, at this point, a lot of context is implemented in lua, and relies on luatex.


add-controlled-input-textarea

Overview

Adds controlled versions of Input and Textarea (#57)
Select will be included in a different PR since we'll be adding react-select (or the wrapped Chakra version)
Resolves background color issue for Textarea (#55)

Other Notes

We'll want to add error messages support to all of our inputs (see comment on #57)
The onChange and useState in the stories are for example purposes -- each input shares the state but this is only to demonstrate that the inputs are controlled

Ah realize I forgot the version bump. Can add since we didn't merge 🤙

Cool, version bumped!


Distribute public keys for signed commits / tags

Currently, we distribute the keys used to sign states (this applies whether it's states as a whole or RSL described in #13). When specifying policies, we can currently say that some state of a ref was signed off on by the holder of a key recorded within gittuf. We want to also be able to say that a state was reached because of the holder of key K1 AND the commits introduced in this state change were signed by the holder of some key K2 (K1 and K2 may well be the same key).
There are a number of benefits to doing this.

By supporting this, gittuf can bootstrap the keys used for Git signing. This is valuable for users whose threat model may not require finer access control policies or a reference state log (though they still get the latter for free).
We largely tackle the observer problem. By not being able to define policies for the commit signers and instead relying on the signer of the state log entry, we misattribute authorship of commits that may be merged by another maintainer. With the feature described here, we can allow User A to merge changes into a protected branch (which they are authorized to do) where the changes are made by User B who is the sole authorized developer to change some file in the repository. The policy validation can now confirm the protected file was modified by the authorized user instead of inferring the modification was performed by User A who merely merged it into a protected branch.

cc @znewman01

This will be part of #52.

Implementation plan:
Provide gittuf verify-commit and gittuf verify-tag functionality that shadows the equivalent commands in Git, except that the gittuf versions use public keys in the policy metadata.
In the case of verify-commit, all public keys are used to check the signature as commits aren't inherently associated with a ref. For verify-tag though, we could look at the policy for authorized tag creators and warn if a tag is signed by someone not authorized.
Also, these commands must be disconnected from the latest policy as again, commits may be created and signed by someone who has seen been rotated out. We have to therefore check all policy states to find public keys.


Add support for Dart SDK

Please add support for Dart SDK, i need to send notifications from my dart service that runs on the background.
Or if its not possible with this package create a different one.

Only supports flutter, no plan to support pure dart.


Can't scroll pages on Fullscreen

No scrollbar is showing:

quick fix:
src\assets\scss\partials\menu_menu-lite.scss
.fullscreen-enabled {
    overflow-y: auto;
}

full screen feature is no longer available


Add gitignore, remove binary stuff from repo

This PR does the following

adds a basic .gitignore so that common things in your source tree do not get auto-added to revision control when doing things like git add *.  Binary stuff should generally not be included within source revision control.

removes a bunch of binary artefacts / build stuff that should not be within source revision control.

Stuff in /dist is ephemeral and should be uploaded to pypi / attached to github releases, if you wish.

__pycache__ is local to your python install / environment

same for sounderpy.egg-info

docs/build are ephemeral as well

Hi Daryl!
Thanks for doing this -- still pretty new to, and learning the do-and-dont's of source revision control. Ill get this merged in!


 Please disregard
integer :: ii, jj
integer :: order = 1
real(wp), dimension(2) :: xcoords <-- should have been ::, not =


"Try now" button not showing up with hello-java example

Hi, I'm using hello-java example.
I updated Android Manifest with the correct URLs and uploaded both installed and instant app to Google Play Console but the "Try now" button is not showing up in Google Play Store.
If I use adb to trigger the intent on a real device, the device loads the instant app correctly.
adb shell am start -a android.intent.action.VIEW -d "https://xxx/hello"
Any idea?
Thank you

Does that issue only occur with the sample in question?
The setup looks okay and should be eligible for the "Try now" feature as per documentation.


PCM-1529 PCM-1701

fixed soft reconnects. remove google stun servers from defaults. added refreshIceServers retry logic

Updated package-lock to version 2 and ensured async v3.2.1 was installed. the Jenkins file uses npm ci so we should always get that version. Although, we will need to make sure the sdk, wd, volt, and yak all get the new version too when they bump sc.


SA1401 - do not report this diagnostic for const fields

Fixes #384.

Seems like github problem, because when I look at the code in VS it looks ok.

You are using Tabs instead of spaces here this is why it looks good in your editor

Seems like update of VS changed it. I will fix it thanks !


Add contents about IOT

The concept of the Internet of things (IoT), introduced by Kevin Ashton a British technologist in 1999, has been proven to be one of the emerging technologies of recent times that have a slated effect on every industry and sector including the agriculture industry and farming.
Technically, IoT is the idea of interacting with generic objects based on radio frequency identification (RFID) tags, IP addresses for smart objects (IPSO), and sensor/sensing technologies. Internet is an IPSO-based network, while things are generic objects that can be people, animals, household products, houses, offices, a laptop, or even a vehicle. The adoption rate of IoT technology is skyrocketing across the board, and nearly 43% of worldwide enterprises have employed IoT applications in one way or the other, and agriculture and farming have no exception.
Industrial IoT (IIoT) refers to the application of IoT technology in industrial settings, especially with respect to instrumentation and control of sensors and devices that engage cloud technologies. Recently, industries have used machine-to-machine communication (M2M) to achieve wireless automation and control. But with the emergence of cloud and allied technologies (such as analytics and machine learning), industries can achieve a new automation layer and with it create new revenue and business models. IIoT is sometimes called the fourth wave of the industrial revolution, or Industry 4.0. The following are some common uses for IIoT:
Smart [manufacturing]
Connected assets and preventive and predictive maintenance
Smart power grids
Smart cities
Connected logistics
Smart digital supply chain
IoT-oriented farming or smart farming is now the future with promising applications and solutions which may include farm vehicle tracking, livestock monitoring, storage monitoring, crops/plants monitoring, and more. Smart farming promises greater efficiency, resources, and stock reduction, less human intervention, automation, data-driven processes, increased production, water conservation, real-time data and production insights and accurate farm and field evaluation, and many more.

hello, please assign me this issue.

hello, please assign me this issue.

You're welcome

The concept of the Internet of things (IoT), introduced by Kevin Ashton a British technologist in 1999, has been proven to be one of the emerging technologies of recent times that have a slated effect on every industry and sector including the agriculture industry and farming.
Technically, IoT is the idea of interacting with generic objects based on radio frequency identification (RFID) tags, IP addresses for smart objects (IPSO), and sensor/sensing technologies. Internet is an IPSO-based network, while things are generic objects that can be people, animals, household products, houses, offices, a laptop, or even a vehicle. The adoption rate of IoT technology is skyrocketing across the board, and nearly 43% of worldwide enterprises have employed IoT applications in one way or the other, and agriculture and farming have no exception.
Industrial IoT (IIoT) refers to the application of IoT technology in industrial settings, especially with respect to instrumentation and control of sensors and devices that engage cloud technologies. Recently, industries have used machine-to-machine communication (M2M) to achieve wireless automation and control. But with the emergence of cloud and allied technologies (such as analytics and machine learning), industries can achieve a new automation layer and with it create new revenue and business models. IIoT is sometimes called the fourth wave of the industrial revolution, or Industry 4.0. The following are some common uses for IIoT: Smart Connected assets and preventive and predictive maintenance Smart power grids Smart cities Connected Logistics Smart digital supply chain
IoT-oriented farming or smart farming is now the future with promising applications and solutions which may include farm vehicle tracking, livestock monitoring, storage monitoring, crops/plants monitoring, and more. Smart farming promises greater efficiency, resources, and stock reduction, less human intervention, automation, data-driven processes, increased production, water conservation, real-time data and production insights and accurate farm and field evaluation, and many more.

Add all your content and create pull request, then it will be merged
Note: add 100+ lines


Make sure error messages from libRoadrunner go to ipython console

THIS IS THE SAME BUG AS #38
Currently warning messages from libRoadrunner currently go to the go to legacy console window. They should be directed to the ipython console. Try this:
import tellurium as te
r = te.loada ('''
J1: $X0 -> S1; k1X0;
J2: S1 -> $X1; k2S1;
X0 = 1.0; S1 = 0.0; X1 = 0.0;
k1 = 0.4
''')
m = r.simulate (0, 4, 100, ["Time", "S1"])
There will be warning that k2 hasn't been initialized but this is hidden on the ordinary console window, it should show up in the ipython window.

This is an issue on IPython side. Refer to: https://github.com/ipython/ipython/issues/1230
FYI, Spyder uses IPython Qt Console as the default console. The issue is with the current implementation using zmq redirection.


Fix log4j security issue

Fix log4j security issue - upgraded kotlin version=1.6, gradle version=7.3.1, Log4j version=2.15.0,

@PawelLipski I added missing dependencies so it is buildable up java 8 and higher. In future releases we will remove dep on java.xml completely.
According publishing into maven central, we already discussed it. It would be definitely nice, but currently we have another priorities.  Feel free to open issue on Github, if there will be more people requesting it, we will setup publishing to maven central.

Okay! opened #8

Before this is addressed... what's your suggested way of using this library in the depending projects? just including the jar from GitHub releases directly in the codebase?


Allow startup without active robot pose

Waits for a limited time (default 1s) for the robot pose to be available, then asks the user if they want to start at the origin if there's no pose within that time.
This is much more friendly than hanging and not starting up at all if the pose is not yet available, especially since you can initialize the pose via termviz.
Custom wait times can be also set via flag termviz --tf-wait-time 1234 (or -t) if needed.

Support for missing robot TF only requires two small changes in send_pose.rs and viewport.rs. Sensor data like laser scans is not displayed, but is shown normally as soon as the pose is available (either from an outside initialization or by sending a pose from termviz).

CI was broken because of conflicting image versions cause by tui-image. See here and my second commit for the fix.

I mainly put the timeout arg so it won't be hardcoded, in case there is some situation where you might want to change it without recompiling.


OLED screen won't turn on.

I have tried resoldering the jumpers and the pins but nothing is powering it.  Nsynth makes noise when plugged into my MPC. So I know that at least works.  Any ideas? Is there a firmware for the OLED that I am maybe missing?

I don't think the MIDI goes through the STM and goes directly from the optocoupler input to the rPi.
I'm pretty sure it is the same for the OLED, but with the way the nsynth app works it may not refresh correctly without the Firmware for the STM? I'm not entirely sure.
You may need to double check that you have flashed your STM with the nsynth firmware.
$ cd /home/pi/open-nsynth-super/firmware/src
$ make install
You should get a confirmation similar to this after successfully flash the STM
** Programming Started **
auto erase enabled
Info : device id = 0x10006444
Info : flash size = 32kbytes
wrote 12288 bytes from file ../bin/main.elf in 0.607889s (19.740 KiB/s)
** Programming Finished **
** Verify Started **
verified 11788 bytes in 0.050784s (226.680 KiB/s)
** Verified OK **
** Resetting Target **
adapter speed: 1001 kHz
shutdown command invoked

Good luck!

The OLED doesn't require any firmware itself, if it's connected and working then it should power up. Regarding the firmware, if you can hear a difference when you turn the encoders and potentiometers then you will know that the firmware is installed and running correctly.
If you have a spare Arduino lying around then it may be worth using it to test the screen module you've got using the Adafruit example library.

I too am experiencing no display on my OLED, this is actually the second display I'm trying too, I'm thinking chances are low having two bad displays? Any other way of troubleshooting the display?

+1
My display is not working as well.  When I hook up a monitor to the Pi, I can see the simulated display and all the knobs are working.  Is there not something that we can run on the pi that can look for the display?

*Bump

Per the previous comment, it would be worth checking that the OLED is functioning correctly using an Arduino or other separate device. Following that, you should check for continuity and shorts on your ONS board.

A note of caution with this part of assembly - some separation of the boards is advisable when soldering pins to the respective pads as this will avoid solder bridges that can get sandwiched between boards. That said, I have yet to get the OLED working. I have checked power and traced data and clock to the STM. I have also confirmed functionality of the OLED with arduino. Using 16Gb image. Firmware successfully flashed. Controls, audio and midi are all working.

I am having similar issues as stated above.
I am using the 16GB LITE  version of the firmware disk image.  I have my Raspberry Pi 3 connected via HDMI to a monitor, as well as a keyboard.  When the Rpi boots up, I can see what should display on the Nsynth's OLED in the upper-left hand corner.  When I press keys to login and start the firmware installation, I am able to hear sounds (as if i pressed a key on a midi keyboard)  coming out of the 3.5mm audio jack.   I am able to turn the encoders, and the 6 potentiometers and move my finger around the touch pad with the display on my monitor responding correctly.  After installing the firmware (via the instructions) I no longer get audio when pressing the keyboard.  My OLED screen does not show a display (even after reseting) and I am not getting any response from a  plugged in MIDI keyboard or Audio from the 3.5mm jack.  I tried to get audio of the Rpi's audio jack, and still no response.  I cannot see any physical solder bridges or shorts, however I am not ruling that out.  Any ideas?


[8.x]: Added whereNull method to Arr class

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

@taylorotwell There's a whereNotNull method in Arr class but there's no whereNull and that's the essence of the PR.


Fix configuration cache debug log for space usage analysis

The configuration cache debug log enables space usage analysis via speedscope.
This PR fixes the debug log output to honor the invariant that the pairs (profile, sequenceNumber) taken from the logged events are unique.

@bot-gradle test RFN

I've triggered the following builds for you. Click here to see all build failures.

ReadyForNightly build

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed.

@bot-gradle cancel

I've triggered a build for you. Click here to see all failures if there's any.

@bot-gradle clear

I've cancelled the pre-tested commit build.

@bot-gradle clean

@bot-gradle test and merge

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Phone field requesting focus after country selected

Solution for issue: https://github.com/danvick/flutter_form_builder/issues/302

Thanks for contributing @gsusI. I appreciate the support

My pleasure, @danvick!


Fixed bug that didn't allow to create a KeyvRedis instance using an existing ioredis instance in typescript

Fixes #126

good catch!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.797%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1228

Relevant Lines:
1247

💛  - Coveralls


Possible to run database migrations on tenant?

Hi! We do have a multitenancy app and I would like to run this package on the tenant. For this I will need to run migrations and seeders on the tenants but I do not see an option to config this. Possible solution or is this something which could be added?

Check this : Laravel-world

@DennisKraaijeveld Hi Dennis, Are you running different databases per tenant? in this case why don't you consider having a micro service providing the countries to all the tenants?


sessions actively logging in

It may be worth noting that sessions that have not completed logging in will be shown with a login_time of '1900-01-01'.
If you have a logon trigger that blocks all logons they still briefly appear here.

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

ID: d3c4e75e-7e4b-3143-8f2f-1d866f309c90
Version Independent ID: d7b963c0-691a-f4af-35e6-bb84fca98ff2
Content: sys.dm_exec_sessions (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-dynamic-management-views/sys-dm-exec-sessions-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

Apologies for the delayed response. @CarlRabeler Could you please look into this issue? Thank you! #reassign:CarlRabeler

@brettshearer PR pending to address this issue


Hi, can i train a binary problem?

Dear author, thanks for sharing so wonderful work. I have a question to ask you. In my case, I only focus on smile expression. Can I train a binary problem based on your work? Can you give some help or advice? Thanks!

Dear Angel113110,
Thank you very much for your message and your interest.
There are several ways to use our model in this case, for example:

Since smiling is strongly related to happy facial expressions in public datasets, you could directly use our model for facial expression recognition and post-processing happy classifications in order to detect smiles.

The last layer of ESR-9 uploaded in this repository has two neurons (units) responsible for continuous affect perception. You could re-train this layer for your binary problem on your dataset using the cross-entropy loss function.

The second last layer of ESR-9 uploaded in this repository has eight neurons (units) responsible for discrete emotion perception. You could use them as features to train another model for smile detection.

Best,
Henrique Siqueira

Dear author. If I want to use the second way to train a binary task. How to do with it? I'm new in FER field. Can you say more details?


Add Hong Kong region

Hi there. I don't know what's Hong Kong's osmcha.id is. Does anyone can provide the ID to me? Thanks


rspamd: fix crashes by disabling pcre2 jit

Description of changes
Since https://github.com/NixOS/nixpkgs/pull/179444 we now have pcre2 jit enabled.
However doing so now crashes rspamd2 quite frequently.
This is serious because it can take down mail delivery.

I have seen a lot of crashes like this:
#0  0x00007fbc5165020b in sljit_free_exec () from /nix/store/hzxgmfrn5niii8pvaxf4za2k59jbhlj6-pcre2-10.40/lib/libpcre2-8.so.0
#1  0x00007fbc51682163 in _pcre2_jit_free_8 () from /nix/store/hzxgmfrn5niii8pvaxf4za2k59jbhlj6-pcre2-10.40/lib/libpcre2-8.so.0
#2  0x00007fbc5163b0ca in pcre2_code_free_8 () from /nix/store/hzxgmfrn5niii8pvaxf4za2k59jbhlj6-pcre2-10.40/lib/libpcre2-8.so.0
#3  0x00007fbc51b46368 in rspamd_regexp_dtor () from /nix/store/2zaxxdh1y3wkhm2zrjzwnshx23v7yvg4-rspamd-3.2/lib/rspamd/librspamd-server.so
#4  0x00007fbc51b9d2dc in rspamd_re_cache_elt_dtor () from /nix/store/2zaxxdh1y3wkhm2zrjzwnshx23v7yvg4-rspamd-3.2/lib/rspamd/librspamd-server.so
#5  0x00007fbc4e4f56d0 in ptr_array_free () from /nix/store/i4k2ahrb0rzr7f2ni02nljcffawvpqpg-glib-2.72.3/lib/libglib-2.0.so.0
#6  0x00007fbc51b9d4b5 in rspamd_re_cache_destroy () from /nix/store/2zaxxdh1y3wkhm2zrjzwnshx23v7yvg4-rspamd-3.2/lib/rspamd/librspamd-server.so
#7  0x00007fbc51b691da in rspamd_config_free () from /nix/store/2zaxxdh1y3wkhm2zrjzwnshx23v7yvg4-rspamd-3.2/lib/rspamd/librspamd-server.so
#8  0x000055fdbfb8fe66 in main ()

After applying my disabling the jit in pcre2, they were disappeared.
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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 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.

Since #179444 we now have pcre2 jit enabled.

jit was enabled before that just not for m1 macs.
The linked PR added --enable-jit-sealloc which makes jit work if memory is not executable.

Seems not to crash anymore. Performance impact on x86 should be minimal since hyperscan is used as well for regexes.


Multi Language Project

Please, could the documentation and the questions...
be in the language in English.
So the project is open to other countries to help.

Sorry!


Squid - Allow PURGE on cache

Hello
This is a suggestion to enable the PURGE method for handling Squid cache.
Once local disk cache is enabled, the ACL is ready and at this moment on CLI:
squidclient -v -m PURGE http://....
will remove a wrong cached file
Could be available through portal and/or enhanced the current ACL to ask for authentication...
Thanks in advance for your attention.

@sazb your right, purge should be enabled from localhost. thanks!