Refactor Nushell script

Closes #589 and fixes https://github.com/jdx/mise/issues/589#issuecomment-2002000307.

[x] Test script locally
[x] Test saving script locally
[x] Check unit tests
[x] Update docs (post merge/release) jdx/mise-docs#46

Resolves the following issues:

source will eventually be deprecated

export def main makes mise the default import from use mise.nu

mise.nu mistakenly overrides user $env.config.hooks.display_output (others too)

proposed nushell/nu_scripts#787 for built-in solution to $env collisions
add-hook workaround explained below

PATH configuration more resilient in case it's a list

using std path add API (still undocumented nushell/nushell.github.io#1210)

# usage
add-hook env_change.PWD {
  condition: { "MISE_SHELL" in $env }
  code: { mise_hook }
}

def --env add-hook [field hook] {
  # prepend 'hooks.' to the cell path enabling deep updates
  let field = $field | split row . | prepend hooks | into cell-path

  # get current hooks or empty list
  let hooks = $env.config | get --ignore-errors $field | default []

  # gracefully append new hook without erroring on missing cell paths
  $env.config = ($env.config | upsert $field ($hooks ++ $hook))
}

It would facilitate maintenance if the script could be extracted with include_bytes! and use vanilla str::replace instead of formatdoc! to avoid escaping braces.

@jdx Any feedback to progress?

Nice improvement!

thanks for the contribution, and sorry for the delay, I have a lot on my plate right now. That said, I think this generally looks good, I had some clarifying questions and there is a test failure probably related to snapshots that need to be updated.

sorry for the delay, I have a lot on my plate right now.

No worries I just didn't want to leave the impression this was a drive-by PR!

-          def --wrapped mise [command?: string, --help, ...rest: string] {{
+          export def --wrapped main [command?: string, --help, ...rest: string] {{

are functions global in nushell? if so does that mean it would conflict with something else named main?

+          def --env add-hook [field hook] {{

similar to [above], if these are exporting global functions I wouldn't want to pollute that namespace and face potential conflicts with another function named "add-hook"

My apology this deserved more documentation! Writing it up outside review comments so it doesn't get lost for future maintenance. Nu originally used source mise.nu similar to other shells. As it evolved they adopted first-class modules like other programming environments and will ultimately deprecate the source builtin.
use mise.nu can only impact the target file in the following ways:

Exclusively definitions (like main) marked export (like pub in Rust) is importable.
Any block in the source file wrapped in export-env can modify the current $env (shared namespace like environment variables).
Any command annotated def --env (like add-hook) can also modify the current $env.

Files are modules and commands named main are their default export. Therefore use mise would be similar to use mise::{main as mise} in Rust.

It would facilitate maintenance if the script could be extracted with include_bytes! and use vanilla str::replace instead of formatdoc! to avoid escaping braces.

I also wanted to add types (for integration like help and completions) but it wouldn't be maintainable inlined in Rust code. Separate PR?

thanks for the explanation!

I also wanted to add types to mise (for integration like help and completions) but it wouldn't be maintainable inlined in Rust code. Separate PR?

yeah I think that's quite a bit beyond "refactor"

Requested change complete and added related issue to the description :shipit:

yeah I think that's quite a bit beyond "refactor"

Would you be open to such a change? Extract other scripts too or only Nu?

Would you be open to such a change? Extract other scripts too or only Nu? Happy to continue on Discord 💬

possibly... though it may conflict with some of the work I'm doing on usage so I'm not sure right now

Then I'll start with a minimal draft and continue if it plays nice with your usage ✌🏼

PS ready to merge I believe and linked a docs PR when it's released :shipit:

I think I fixed the snapshot but the test says This workflow is awaiting approval from a maintainer.


Update infobox.py for strptime() error

Fixes:
File "/usr/lib/python3.11/_strptime.py", line 352, in _strptime
raise ValueError("unconverted data remains: %s" %
ValueError: unconverted data remains:  UTC

Thank you! I'll push a new version with this fix to PyPI later today.


Etherlime link library

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #22   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          15     16    +1
  Lines         241    274   +33
=====================================
+ Hits          241    274   +33

Impacted Files
Coverage Δ

...ime-ganache-deployer/etherlime-ganache-deployer.js
100% <ø> (ø)
:arrow_up:

utils/linking-utils.js
100% <100%> (ø)

utils/contract-utils.js
100% <100%> (ø)
:arrow_up:

deployer/deployer.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add more details for the HA OCF resource creation

Provide precise example commands to create multi-state resource
for the RabbitMQ HA resource agent in Pacemaker.
Provide the example commands in both pcs and crm tools notations.
Describe the way to get meta-data parameters of the
OCF scripts via the command line (just to not duplicate
maintaning them in the guide and the script ot once)

Signed-off-by: Bogdan Dobrelya<EMAIL_ADDRESS>

Thank you!

Thank you too. I wrote these docbook stanzas on a fly, have no idea how to verify build. I hope the syntax was OK :)

@bogdando see README. Should be as easy as installing a few Python packager, running localhost:8191 and navigating to http://localhost:8191/pacemaker.html.

Thanks. The build looks correct, checked it out :)


new FillableArray option?

It looks like the fillable directory is no more, which means import statements for FillableArray et alia must be adjusted.
What is the appropriate import given these changes?

The following names have been changed:

FillableArray → ArrayBuilder
FillableOptions → ArrayBuilderOptions
fillable (in any other context) → builder

It's still early days and @henryiii found the name "fillable" to suggest an already allocated array to which we're inserting values, rather than a thing that grows. I agreed. I also didn't like the way that "Array" suggests that it's the same sort of thing as "ListArray", "RecordArray", etc. It's not—you have to snapshot for that. That's why there was a name change.
Sorry for the lack of notice!

No worries, that makes a lot of sense. thanks the context as well!


Content updates

This PR includes:

adjustments to main navigation
delete pages
remove alt lang tags
add no-index tags

/botio build

From: MushinBot (botio-academy.horizen.io)

Received
Command cmd_build from @cronicc received. Current queue size: 0
Live output at: https://botio-academy.horizen.io/f3a03faaed96cbd/output.txt

From: MushinBot (botio-academy.horizen.io)

Success
Full output at https://botio-academy.horizen.io/f3a03faaed96cbd/output.txt
Total script time: 4.05 mins
You can download the generated site at: https://botio-academy.horizen.io/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.io


Fix how we link users to ORCIDs

Feature Request
The user-editable field for ORCIDs on the profile page was a bad idea. It's an anti-pattern and we should fix it. We should also check how these user-entered IDs are used.

[x] #518
[x] #1199
[x] How many users in ScholarSphere have user-entered ORCIDS?

Answer: 70 as 0f 2022-01-27

[x] When to sync ORCIDS?

[x] On user login

[x] Email users who have entered their orcid and encourage them to link it centrally with PSU.
See also:
#1160
#1193

emails have been sent to users who need to link their orcids centrally. I think this issue can be closed now


Use fdprintd-thinkpad on thinkpads

https://github.com/NixOS/nixos-hardware/blob/59c97be4d0c9e859cb8e3d214707601f213a6914/lenovo/thinkpad/default.nix#L9
Shouldn't services.fprintd.package also be set to fdprintd-thinkpad? (Introduced in https://github.com/NixOS/nixpkgs/pull/61546)
CC @Cizra

Possibly. I've only tested it on Lenovo P50, which might be different from other ThinkPads.
It's fprintd-thinkpad, not fdprint-thinkpad.

This package is so undocumented that I thought nixpkgs could have been compromised.
I can't find the software homepage by a search of libfprint-thinkpad online: I had to open the source of the package to figure out it's https://github.com/3v1n0/libfprint. I think this is because the name was made up by a nixpkgs contributor, as the software as no official name.
The README.md doesn't exactly explain what it is either, I guess it's a fork to support a specific reader (Validity 138a:0090?), who maintains it and whether the are affiliated with the devs of libfprint (apparently they are).
Anyway, it should be used only on recent thinkpad.


Fix Docker arm64 build

Description
After merging #2000 , the Docker build for arm64 platforms started failing because Python is not found. See https://github.com/DSpace/dspace-angular/actions/runs/3706259487.
I don't believe this issue is directly related to #2000 (as least I'm not seeing the direct relation), but may be the result of a recently update to the base node:18-alpine image for arm64.
This small PR fixes the issue. I've tested this in my own CI builds and verified that the Docker arm64 image now builds successfully.

Merging this immediately as this Docker build issue is affecting the Docker build for all PRs merged to main.  I've verified via a few test builds that this fixes the issue with linux/arm64 builds.


Getting summoner by name with special characters doesn't work on some systems

I had the problem, that calling the api with Summoner.byName('Kîzuna Astin') (notice the circumflex on the i) did result in a 400 and no result from the api server.
The problem occured on my FreeBSD production server. Locally on my ubuntu VM it worked fine.
I solved it by urlencoding the given name. Still works in my ubuntu VM, and finally works on my FreeBSD production server.
(Btw, this is my very first pull request ever on github. If I do something wrong, please tell me ^^')

Interesting edge case! Thank you for catching this. Pull request is fine :)


enhancement: import txt files

I have a pile of notepad files, it would be ace to import them.  Is it possible pls ?

I could work on that. Would it be each file becoming one note?

Yeah, I reckon so.  I think this would be a reasonably common use case.  I have a stockpile of snippets I'd love to get shot of

Ok, let me see what I can do. Probably could enhance the existing import to allow just text files (or a zip of text files) and that wouldn't be tough.

I hoped and thought it would be simpler than google takeout ;-)

out of curiosity what is the export format pls ?  what can it be imported in to ?

It's zip export of one json file per note/checklist. The format is what CouchDB uses for its documents.

I've added the ability to import .txt files, both individually and if they're in a zip file. Hope this helps you!


Use paramaterized package

Use parameterized for testing rather than the ad hoc approach we were using before.
Note that this is only a dependency for testing, not for dimod itself.

Codecov Report

Merging #666 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #666      +/-   ##
==========================================
+ Coverage   91.66%   91.72%   +0.05%
==========================================
  Files          60       60
  Lines        4066     4095      +29
==========================================
+ Hits         3727     3756      +29
  Misses        339      339

Impacted Files
Coverage Δ

dimod/testing/asserts.py
97.56% <100.00%> (+0.75%)
:arrow_up:

Continue to review full report at Codecov.

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


Postcode

Bug Fixes

Added frontend validation for postcode in the assisted journey (147515323)

[Delivers:#147515323]

@wnowicki ready for your review


feat: Added StringSyntax support so that IDE's help out the user

Closes #866

I dont think we should be using Xml as for the places where we need Html. If there is any validation for the markup, Xml is going to be much more restrictive in some cases than Html.
Lets just use Html. Also have an issue related to that: dotnet/runtime#76138

As this is right now tagged as Milestone 8.0.0 we could do:
public static ComponentParameter ChildContent([StringSyntax("Html")]string markup)

My concern is that IDE's only pick up the well-defined values at the moment. So where this might be semantically "more correct" (including less corner cases) it most probable brings not much of benefit for the user.

I would suspect IDEs would recognize Html (exact casing), since that mirrors the other constants, they have hardcoded into the attribute. But we can give it a try and see what happens before pushing out a release. I would not want to use Xml, as it is a much more restrictive language compared to Html. At worst, when using Html, we dont get a benefit, I can live with that.

At the moment only Visual Studio does support a very small subset of those attributes (and neither Html nor Xml is supported at the moment), so let's go with Html and let's see what happens in the future. Changing from Html to Xml shouldn't break any API so we are free to do whatever we want.

The changes you have now looks right, but I am missing the MarkupMatches that takes a string as input.

Fair point. If your regex is something around: string.*markup then you will not find the obvious ones. Thanks. Added.


Add M1 target arch to bitcoin download

Resolves #36

Thanks!
LGTM but I can't test, I am going to wait a bit to see if someone from #36 could confirm


Bot repeats same question

<Restaurant bot - Bot repeats the same message 2 times.I checked the story file and there is no such flow.not sure why the messages are getting repeated
Rasa Core version:0.8.2
Python version: 2.7 anaconda
Operating system (windows, osx, ...):Macos
Issue: bot conversation
goodbye :(
hi
/Users//anaconda2/lib/python2.7/site-packages/sklearn/preprocessing/label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty.
if diff:
how can I help you?
how can I help you?
 Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty.
if diff:
where?
newyork
Content of domain file (if used & relevant): same as in restaturant bot

<Restaurant bot - Bot repeats the same message 2 times.I checked the story file and there is no such flow.not sure why the messages are getting repeated
Rasa Core version:0.8.2
Python version: 2.7 anaconda
Operating system (windows, osx, ...):Macos
Issue: bot conversation
goodbye :(
hi
/Users//anaconda2/lib/python2.7/site-packages/sklearn/preprocessing/label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty.
if diff:
how can I help you?
how can I help you?
 Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty.
if diff:
where?
newyork
Content of domain file (if used & relevant): same as in restaturant bot

@poorni19 Did you try different python version ?.I think rasa_core works best in python3.6

Can you run the same with --debug so that we can take a look at the debug logs?

@sameerkumar16 Yep !! I will try in python 3.6 later on. But this issue does not seem to related to the environment.

@tmbo sure ..will try to re-create the issue. But, is there a way to stop the bot or jump from one flow (story) to another? Bot just keeps on looking for input

the bot is a trained ml model, so it will automatically jump between conversations if it thinks that is appropriate. Always predicting listen is unusual and might be related to an issue with the training data.
If you want, you can share the whole setup (training data as well as domain specification and commands to reproduce). Until then I will close this issue, as we can not reproduce this.

@tmbo I have same problem, I'm trying to create a whole setup.

@tmbo I've created a virtual environment for rasa_nlu and rasa_core tests with adding restrauntbot example, you can clone it and produce the problem.
https://github.com/reza-ebrahimi/rasa_venv


[Event Request] Table 5715 "Item Substitution" - OnDeleteOnBeforeConfirmDeleteInterchangeableItem

Dear ALAppExtensions Team,
Please consider adding this event subscriber to Table 5715 as there is no current way to skip the Confirm dialog in the OnDelete trigger for interchangeable items. (Request follows the pattern found in #20841)
In the trigger:
trigger OnDelete()
    var
        ItemSubstitution: Record "Item Substitution";
        //<REQUEST> init vars
        IsHandled: Boolean;
        ConfirmedDelete: Boolean;
        //</REQUEST>
    begin
        // if Interchangeable then
        //     if Confirm(Text001 + Text002) then
        //<REQUEST> add event following IsHandled/Confirmed pattern
        if Interchangeable then begin
            IsHandled := false;
            ConfirmDelete := false;
            OnDeleteOnBeforeConfirmDeleteInterchangeableItem(Rec, xRec, IsHandled, ConfirmedDelete);
            if not IsHandled then
                ConfirmedDelete := Confirm(Text001 + Text002);
            if ConfirmedDelete then
        //</REQUEST>
                DeleteInterchangeableItem(Type, "No.", "Variant Code", "Substitute Type", "Substitute No.", "Substitute Variant Code")
            else
                if ItemSubstitution.Get(
                     "Substitute Type",
                     "Substitute No.",
                     "Substitute Variant Code",
                     Type,
                     "No.",
                     "Variant Code")
                then begin
                    ItemSubstitution.Interchangeable := false;
                    ItemSubstitution.Modify();
                end;
        end; //<REQUEST> close begin

            ...

Publisher signature:
    [IntegrationEvent(false, false)]
    local procedure OnDeleteOnBeforeConfirmDeleteInterchangeableItem(var ItemSubstitution: Record "Item Substitution"; xItemSubstitution: Record "Item Substitution"; var IsHandled: Boolean; var ConfirmedDelete: Boolean)
    begin
    end;

Thank you,
SR

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53020.


release-3.11: Set TCP_USER_TIMEOUT socket option

clean pick of https://github.com/openshift/library-go/pull/926 and https://github.com/openshift/library-go/pull/944. I only removed klog/v2

/assign @sttts

/assign @sttts

Travis CI - Pull Request Failing after 1m — Build Failed

pkg/network/dialer_linux.go:23:10: unknown field Control in struct literal of type net.Dialer

Travis CI - Pull Request Failing after 1m — Build Failed

pkg/network/dialer_linux.go:23:10: unknown field Control in struct literal of type net.Dialer

The net.Dialer.Control (https://golang.org/pkg/net/#Dialer) method was added in golang 1.11 as a way of setting various sockets options.
For 1.9 (used in 3.11) we could try to extract the underlying TCPConn.File but it might not work. As the documentation states
The returned os.File's file descriptor is different from the connection's. Attempting to change properties of the original using this duplicate may or may not have the desired effect.
I would recommend bumping golang version for 3.11 at least to 1.11 or backport the PR that introduced the Control method to 1.9
/close

The net.Dialer.Control (https://golang.org/pkg/net/#Dialer) method was added in golang 1.11 as a way of setting various sockets options.
For 1.9 (used in 3.11) we could try to extract the underlying TCPConn.File but it might not work. As the documentation states
The returned os.File's file descriptor is different from the connection's. Attempting to change properties of the original using this duplicate may or may not have the desired effect.
I would recommend bumping golang version for 3.11 at least to 1.11 or backport the PR that introduced the Control method to 1.9
/close


Rom Directory browse

When clicking the Select button next to the Rom directory, it won't let me select a directory, only a file. manually entering the path works fine.

Fixed with v0.2


Toggle 'Done' on a daily task creates a duplicate

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
I assumed schedule tasks would show as completed when they are checked in preview mode.
Current behaviour
I scheduled a task to recur daily, and when I check the box after completing it, it creates a duplicate which is marked as not done.

Above is before I check the box.
When  I check the box, this appears:

Steps to reproduce
Create a task and schedule it to repeat every day.
Check the box as if you have completed it.
See if a duplicate appears every time you check the box.
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version
1.1.8
Tasks Plugin Version
1.25.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
No response

this is expected behaviour and a fundamental mechanism of how recurring tasks work.
please see -> https://obsidian-tasks-group.github.io/obsidian-tasks/getting-started/recurring-tasks/#how-the-new-date-is-calculated-repeating-monthly:~:text=When you toggle the,off the original task.

also, please for the future - if the content of an image can be represented fully with text, paste the text snippet instead. That format is almost always more helpful than an image as it allows for copy-paste, etc.

I see. I had this Task in Daily Notes, and I was expecting that when it was marked complete, it would create the next task in the Daily Note for the following day. But if this is not a bug, then I apologize for wasting your time.

Don't apologize!
All discussion is useful and nobody has wasted any time.
There is 1. now an interesting idea of create the next task in the Daily Note for the following day. At first glance, that sounds like it could work and may indeed make more sense than the current behaviour.
And 2. others who have the same wonder the same question that you have made can now read this discussion to get an answer as well.
Thank you!

If you add a due date of today to your recurring daily task, the next one will be due tomorrow. Recurring tasks are duplicated as soon as the current one is completed.

If you add a due date of today to your recurring daily task, the next one will be due tomorrow. Recurring tasks are duplicated as soon as the current one is completed.

This is true, but I would add that if you want it to skip over dates when you missed out doing the task, you can add when done to the recurrence rule.

If you want a daily task to show up the next day, you can use a template for your daily note, and put the task in that.

And if you do put the repeating task in a template, be sure not to make it recurring - but I'm sure you worked that out.

This ambiguity of whether to handle daily tasks via daily note or recurrence has cropped up in Discord recently, so I've just created a reminder up explain the options in the docs.
https://github.com/obsidian-tasks-group/obsidian-tasks/issues/1657
Since Tasks is behaving as intended in this request, I'm closing it, as no change in behaviour is required.
(Personally I feel that adding an additional option to bump new recurrences over to the next daily note creates complexity in behaviour in documentation so although I understand why it was suggested, I would prefer to make the current options clearer in the documentation.)


Snap and Raspberry Pi 4

Hi, the directions for installing flutter using snap are missing one important step: when you setup your Raspberry Pi 4 the default OS is 32bit. Maybe I missed it but I did not see that in the instructions. After doing a Google search I found out that you need the 64bit OS. My suggestion would be to add that in your "how to" so that others don't get confused.
Thanks!

@AllyTechEngineering

the directions for installing flutter using snap are missing one important step:

Can you provide us the link / documentation you are referring to ?

Hi, https://snapcraft.io/install/flutter/raspbian  unless I missed it, there is no mention of Debian 11 for 64 bit ARM

Thanks for the link @AllyTechEngineering
I think you'll need to report this in one of the links they mentioned:

Closing from here.


Limit shims to libstd where possible

Also organize them better by category.
Fixes https://github.com/rust-lang/miri/issues/1181 (by making mmap not callable from user code)

@oli-obk do you agree with this approach?

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

Landing this now to avoid further conflicts; of course still feel free to leave comments.
@bors r+

:pushpin: Commit 6ab82f5d35d8505f2e65eebeed56d7eeb62d754e has been approved by RalfJung

:hourglass: Testing commit 6ab82f5d35d8505f2e65eebeed56d7eeb62d754e with merge f0afdc35d2cd5e6cdbcf24d89e3fdcc1f9837486...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing f0afdc35d2cd5e6cdbcf24d89e3fdcc1f9837486 to master...


Optimize Pin Header Orientation of CNC Modules for Active Cooling

This is more of a question than a suggestion because I'm not that familiar with electronics or the vision for the CNC modules.  It also might be a low priority, version 2 or 3 consideration because I suspect it involves a lot of rework.  With that said, let me explain what I'm doing and my observation about the current orientation.
I'm taking a small stab at designing a 3D printed fan enclosure which got me thinking about the thermals.  My high level plan is a top-mounted fan blowing down over the board with dedicated ducting to channel air more directly towards the stepper drivers.  With respect to the CNC modules, I'm thinking I can provide similar ducting for bays 2, 3, and 5 while reserving bays 1 and 4 for lower current applications like sensors.  Based on the universal/prototyping nature of the board, I'm thinking it might be useful to add some butterfly valves to provide selective granularity over which drivers/modules receive the most cooling.
Now, I notice the alignment of the pin headers currently forms a wall from the center, effectively blocking the underside of the boards.  I'm wondering if it would be beneficial to reorient the headers 90 degrees (see below, green proposed, red existing) to allow for air flow beneath the boards.  This would provide both the option to allow air flow for active cooling, or to block it off to increase airflow elsewhere.

This primarily comes down to one question: How likely do you think it is that the underside of the boards will require cooling?  For example, the TMC2208's recommend this type of cooling (see below).  I'm not sure how much of that is a function of space constraints, but "low-profile" CNC modules could be desirable for some applications.
If you don't envision the underside ever needing cooling, the current orientation is actually quite smart, in which case bravo!!

Hey Mike,
Thanks a lot for the input, but it is a little too late to make any changes. The motherboard was prototyped twice, a couple of the modules were prototyped more than once and there is a lot of production hardware no order. I can give a little insight into my thought process on the layout.
Size
I wanted to appeal to small scale DIY CNC machine designers. I did not want a completed controller to end up being so large it would not be consider for small scale machines. I mocked up a basic set of modules and tried to see  how much width I needed for the external interfaces. The widest was the 4x input module. It has 4 terminal blocks with 3 terminals each.  There also needs to be a mounting screw along that edge. Placing the microcontroller interface on any edge except for the opposite side would have made the modules even wider.
One last thing I considered was a mini, budget, 3 axis version that is about 1/4 the size. This relies on the modules hanging off the motherboard. I have not finished the design, but here is a sneak peek.

Isolation
A lot of DIY CNC machines suffer from electrical noise and spikes. This can be difficult to fix and can be a mess of last minute fixes. This is especially true on the inputs. I wanted to design some "bulletproof" modules that you can expect to plug in and just work. Also, when you use relays that are connected to high current DC or AC, you want to isolate that. Putting the external interface as far away from the microcontroller interface seemed like the logical way to solve this.
Cooling
I did not consider underside cooling. The board currently does not support UART type drivers like the TMC2208. I am not sure why you would choose that driver unless you already had some. You will get better performance out of the TMC2130 and TMC5160 drivers. I assumed top side cooling would be sufficient and I placed 2 fan connectors, one on each end of the board near the drivers. I think if you really want to push some power, you should consider external drivers.
None of the current crop of CNC modules need cooling. If high current modules for motors are used, they should integrate their own cooling. The module socket connector is not designed to provide a lot of current anyway. The spec says that should also come from off board.
I would love to see what you come up with for an enclosure.

Thanks for the response. I'm really loving your design philosophy. Sounds very reasonable to me.  Especially the point about isolation considering most of the terminal would sit between it's own and a neighboring header.  Considering you want 3rd party module development, isolating the headers like you have is really smart.  Will save a collective ton of troubleshooting hours over the years 🙇♂
My only question from the above is regarding module cooling.  I was considering ducting for the modules because your video suggested there may be future support for additional drivers.  I'm kinda hearing those will require their own power supply and cooling fan.
For myself, I don't have any plans for high power steppers just yet and part of designing an effective cooling case is to delay that need as long as possible.  I think what I'll do is forget the modules and design strictly for cooling the steppers (and the ESP32 if you think it needs it?), just to keep things simple.  No need to future proof and over engineer a simple enclosure.  After all, I only need 4 or 5 steppers for what I have in mind.  Once I hit 6 I'll start worrying 😂


prompt for jenkins password

This PR is an addition to #114 that allow you to hide jenkins behind password. That was raised by @kennethgillen.
Test the same as #114, but either you will be asked for password or set Username and Passwrod like
(dev) ansible-playbook -i /path/to/inventory/devspace -u centos devspace.yml -e jenkins_nginx_password=secret

jenkins_nginx_password & jenkins_nginx_username (default devspace)
TODO:

[ ] add devspace tag in default vars
[ ] clean up style according to @manics comments

Do you want this to be reviewed or is it a work-in-progress?

YES! please 👍 @jburel already tested https://github.com/openmicroscopy/infrastructure/pull/114

@manics in general I wanted to get a flexible playbook to deploy devspace, seem that description in https://github.com/openmicroscopy/infrastructure/pull/114 wasn't confusing. Although would be nice to know how people feel about using ansible docker_service module?

@manics pushed, please try now

ansible-playbook -i inventory/openstack.py -u centos devspace.yml -e vm_name=test-devspace -e jenkins_nginx_password=secret --diff (no other variables set) results in an error:
TASK [devspace : copy snoopy] **************************************************
fatal: [64775371-b2f7-4fc5-9fc2-be4bbacbd94e]: FAILED! => {"failed": true, "msg": "The conditional check 'snoopy_dir_path|length>0' failed. The error was: Unexpected templating type error occurred on ({% if snoopy_dir_path|length>0 %} True {% else %} False {% endif %}): object of type 'NoneType' has no len()\n\nThe error appears to have been in '/Users/spli/work/infrastructure/ansible/roles/devspace/tasks/main.yml': line 83, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: copy snoopy\n  ^ here\n"}

If you change the default to "" it should work in all cases:
diff --git a/ansible/roles/devspace/defaults/main.yml b/ansible/roles/devspace/defaults/main.yml
index 0960115..320f529 100644
--- a/ansible/roles/devspace/defaults/main.yml
+++ b/ansible/roles/devspace/defaults/main.yml
@@ -5,7 +5,7 @@
 docker_use_ipv4_nic_mtu: True

 # path to snoopy keys like "/path/to/snoopy_keys"
-snoopy_dir_path:
+snoopy_dir_path: ""

 # devspace source
 git_repo: "https://github.com/openmicroscopy/devspace.git"```

One more issue, devspace : set basic auth password for jenkins isn't idempotent, it keeps added repeated lines:
TASK [devspace : set basic auth password for jenkins] **************************
changed: [64775371-b2f7-4fc5-9fc2-be4bbacbd94e]
--- before: /home/omero/devspace/jenkins/conf.d/jenkins.conf (content)
+++ after: /home/omero/devspace/jenkins/conf.d/jenkins.conf (content)
@@ -27,6 +27,8 @@
         auth_basic_user_file /etc/nginx/conf.d/passwdfile;
         auth_basic "Restricted";
         auth_basic_user_file /etc/nginx/conf.d/passwdfile;
+        auth_basic "Restricted";
+        auth_basic_user_file /etc/nginx/conf.d/passwdfile;

         proxy_set_header        Host                $http_host;
         proxy_set_header        X-Real-IP           $remote_addr;

One more issue, devspace : set basic auth password for jenkins isn't idempotent, it keeps added repeated lines:

I wasn't sure what I was doing wrong with that. How to use inline editor to add only once ?

@manics would the last commit fix?

RFE for a future PR (sorry, my fault for not picking this up in my first review), could you prefix variables with a namespace such as devspace_? some of the variables in roles/devspace/defaults/main.yml are fairly generic, and if you apply multiple roles to the same server there's potential for conflicting variable names in future.

ok then lets keep it on hold once I have more time. Will keep you posted once is done

Delete this line: https://github.com/aleksandra-tarkowska/infrastructure/blob/2356b8037319edd4e3d5c035dbb41ee8fb2b42f5/ansible/os-devspace.yml#L18 vm_key_name: "jenkins"
So that https://github.com/aleksandra-tarkowska/infrastructure/blob/2356b8037319edd4e3d5c035dbb41ee8fb2b42f5/ansible/os-devspace.yml#L25 fail: when: vm_key_name is undefined or not vm_key_name works as expected

ok then lets keep it on hold once I have more time. Will keep you posted once is done

"on-hold"= trello card? Almost done with testing this, so I think it should be merged once all the minor issues are dealt with.

sorry I misunderstood your intention :)

as vm_key_name and snoopy_dir_pathwere added by myself on slave and devspace playbooks. I have updated them across these two according to @manics. I hope that is ok

ansible-playbook os-devspace.yml -e vm_name=simon-devspace -e vm_key_name=KEY --diff
Runs and is idempotent (second run no changes)
mkdir -p snoopy-tmp/.ssh
touch snoopy-tmp/.ssh/{config,snoopycrimecop_github,snoopycrimecop_github.pub}
touch snoopy-tmp/.gitconfig

mkdir inventory/group_vars
cat << EOF > inventory/group_vars/devspace
docker_use_ipv4_nic_mtu: True
devuser: omero
user_id: "1001"
devhome: /home/{{ devuser }}/devspace
openstack_ip: <IP_ADDRESS>
omero_branch: develop
snoopy_dir_path: "$PWD/snoopy-tmp"
git_repo: "https://github.com/aleksandra-tarkowska/devspace.git"
version: "round4"
EOF

ansible-playbook -i inventory/openstack.py devspace.yml -u centos -e jenkins_nginx_password=secret --diff
Would be nice if these were idempotent but not a blocker:
TASK [devspace : install python packages] **************************************
changed: [d43398fb-2869-4378-919a-e7b3d5aaa1cd] => (item=docker-compose)

TASK [devspace : TODO install docker-py] ***************************************
changed: [d43398fb-2869-4378-919a-e7b3d5aaa1cd] => (item=docker-py==1.9.0)

TASK [devspace : known_hosts] **************************************************
changed: [d43398fb-2869-4378-919a-e7b3d5aaa1cd]

TASK [devspace : Rrename to develop...] ****************************************
changed: [d43398fb-2869-4378-919a-e7b3d5aaa1cd]

Though there's a typo in Rrename.... and has the TODO been done?
ansible-playbook -i inventory/openstack.py -u omero devspace-runtime.yml --diff
runs and restarts devspace
I haven't checked os-uod-slave.yml. Apart from that and the above typo I think this is good to merge- @openmicroscopy/devops does someone else want to give it a quick check before merging?

@manics TODO is to be done when they fix docker-py version check.

:+1: from me

@manics thanks for help :)

done, anything else?


Improve CSS (Hover effect) of nav bar in Elearning page

Can you assign me this issue under Gssoc'23 ?

i can solve this issue easily. please assign this to me under GSSOC'23

I would like to work on this issue, Assign this issue to me under GSSoC'23.I will fix the issue as I have already worked on this type of issue.


added aws echo command for script

added aws echo command for script

why adding it soon, why not leave it for later.

this is better this way


db migration error from 11.27.0 to 11.27.1

💡 Summary
cant success run yarn migrate
🙂 Expected Behavior

Success
☹ Actual Behavior

yarn run v1.17.3
$ ts-node ./node_modules/typeorm/cli.js migration:run
query: SELECT * FROM "information_schema"."tables" WHERE "table_schema" = current_schema() AND "table_name" = 'migrations'
query: SELECT * FROM "migrations" "migrations"
16 migrations are already loaded in the database.
17 migrations were found in the source code.
UsedUsername1563757595828 is the last executed migration. It was executed on Mon Jul 22 2019 01:06:35 GMT+0000 (Coordinated Universal Time).
1 migrations are new migrations that needs to be executed.
query: START TRANSACTION
query: CREATE TYPE "page_visibility_enum" AS ENUM('public', 'followers', 'specified')
query failed: CREATE TYPE "page_visibility_enum" AS ENUM('public', 'followers', 'specified')
error: { error: type "page_visibility_enum" already exists
    at Connection.parseE (/home/misskey/misskey/node_modules/pg/lib/connection.js:602:11)
    at Connection.parseMessage (/home/misskey/misskey/node_modules/pg/lib/connection.js:399:19)
    at Socket.<anonymous> (/home/misskey/misskey/node_modules/pg/lib/connection.js:121:22)
    at Socket.emit (events.js:193:13)
    at Socket.EventEmitter.emit (domain.js:481:20)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at Socket.Readable.push (_stream_readable.js:231:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:154:17)
  name: 'error',
  length: 100,
  severity: 'ERROR',
  code: '42710',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'typecmds.c',
  line: '1139',
  routine: 'DefineEnum' }
query: ROLLBACK
Error during migration run:
{ QueryFailedError: type "page_visibility_enum" already exists
    at new QueryFailedError (/home/misskey/misskey/src/error/QueryFailedError.ts:9:9)
    at Query.callback (/home/misskey/misskey/src/driver/postgres/PostgresQueryRunner.ts:178:30)
    at Query.handleError (/home/misskey/misskey/node_modules/pg/lib/query.js:142:17)
    at Connection.connectedErrorMessageHandler (/home/misskey/misskey/node_modules/pg/lib/client.js:194:17)
    at Connection.emit (events.js:193:13)
    at Connection.EventEmitter.emit (domain.js:481:20)
    at Socket.<anonymous> (/home/misskey/misskey/node_modules/pg/lib/connection.js:126:12)
    at Socket.emit (events.js:193:13)
    at Socket.EventEmitter.emit (domain.js:481:20)
    at addChunk (_stream_readable.js:295:12)
  message: 'type "page_visibility_enum" already exists',
  name: 'QueryFailedError',
  length: 100,
  severity: 'ERROR',
  code: '42710',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'typecmds.c',
  line: '1139',
  routine: 'DefineEnum',
  query:
   `CREATE TYPE "page_visibility_enum" AS ENUM('public', 'followers', 'specified')`,
  parameters: [] }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

📌 Environment

Ubuntu 18.04

Try Execute
node built/tools/accept-migration Pages<PHONE_NUMBER>290 to resolve this error.

So there are nothing needs to do with the db but just the script some how goes to execute?

It would be. these changes are already applied on your database, but it wasn't marked as processed on check table for some reasons (e.g created database with old method, typeorm sync, migrated from v10, and other accidents...), so only thing what you need is 'mark it as processed migration'.


Create a dataset from the data library if it is selected

Basically, if a "data library dataset" is selected, no matter if user is searching or looking at data library section, he could create a new dataset using it.

REVIEWER: @javierarce :)
Fixes #3343.

:+1: other than the suggestion, it looks good.

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


Updates based on API review feedback

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Unwanted migration generate every time running prisma migrate dev with edited migration file that enables Postgres extensions

Bug description
In my project, I need to use UUID on the db side and so I followed this guide and edited the file as
CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; -- Added this only
-- CreateTable
CREATE TABLE "accounts" (
    "id" UUID NOT NULL DEFAULT public.uuid_generate_v4(),

    CONSTRAINT "accounts_pkey" PRIMARY KEY ("id")
);

Then every time when I run prisma migrate dev, it prompts me to create a new migration. But the migration is doing nothing:
-- AlterTable
ALTER TABLE "accounts" ALTER COLUMN "id" SET DEFAULT public.uuid_generate_v4();

How to reproduce

run prisma migrate dev --create-only
add CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; to the first line of the generated file
prisma migrate status correctly gives Database schema is up to date!
run prisma migrate dev, then it prompts ✔ Enter a name for the new migration:

Expected behavior
Should correctly detects the schema is up to date and no new migration is needed
Prisma information
datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator client {
  provider = "prisma-client-js"
}

model Account {
  id String @id @default(dbgenerated("public.uuid_generate_v4()")) @db.Uuid()

  @@map("accounts")
}

Environment & setup

OS: macOS 12.1
Database: Postgres
Node.js version: v16.13.0

Prisma Version
prisma                  : 3.10.0
@prisma/client          : 3.10.0
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 73e60b76d394f8d37d8ebd1f8918c79029f0db86 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 73e60b76d394f8d37d8ebd1f8918c79029f0db86 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 73e60b76d394f8d37d8ebd1f8918c79029f0db86 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 73e60b76d394f8d37d8ebd1f8918c79029f0db86 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 73e60b76d394f8d37d8ebd1f8918c79029f0db86
Studio                  : 0.458.0

Happening for me as well.

I can confirm the bug.

Any updates?
It happens on me after updating version to 4.6.0 from 3.0.1.
schema
model Hoge {
  id                  String      @id @default(uuid())
  type                HogeType    @default(A)
  // ...
}

enum HogeType {
  A
  B
  C
  // ...
}

migration
-- AlterTable
ALTER TABLE "Hoge" DROP COLUMN "type",
ADD COLUMN     "type" "HogeType" NOT NULL DEFAULT 'A';

I am having the same issue as @Repomn on PostgreSQL 14.
Enum types are recreated with every migration we make with prisma migrate dev even though nothing was changed.

Is PostgreSQL extensions addressing this issue?

I had some success with a similar db-generated gen uuid issues by using db pull (I have the luxury of a new project) and then creating a migration from the introspected schema

Same issue when editing migration SQL to create partial PostgreSQL index instead of full index.
model Transaction {
  draft  Boolean

  @@index([draft])
}

-- CreateIndex
CREATE INDEX "Transaction_draft_idx" ON "Transaction"("draft") WHERE draft IS TRUE;

npx prisma migrate dev

still trying to create full index.

Same issue when using prisma 5.8.1

Yeah I am still frozen thanks to this bug so I will be abandoning Prisma entirely going forward in lieu of something that I can fix.

For those who're looking for the answer
Why:
Prisma will pull from db and compare with your local schema, sometime there are syntax diff from the db pull, making it think it has changed everytime
Solution:
Do prisma db pull --print, see whats prisma generated, replace it in your schema, done!


flutter-devicelab-mac-7 is failing to dismiss dialogs

https://ci.chromium.org/p/flutter/builders/prod/Mac_ios flutter_gallery_ios__transition_perf/401
https://ci.chromium.org/p/flutter/builders/prod/Mac_ios flutter_gallery_ios__start_up/404
https://ci.chromium.org/p/flutter/builders/prod/Mac_ios integration_ui_ios_driver/407
https://ci.chromium.org/p/flutter/builders/prod/Mac_ios platform_interaction_test_ios/415
https://ci.chromium.org/p/flutter/builders/prod/Mac_ios complex_layout_scroll_perf_ios__timeline_summary/411
Testing failed:
	infra-dialogUITests:
		infra-dialogUITests-Runner.app encountered an error (Failed to install or launch the test runner

https://ci.chromium.org/p/flutter/builders/prod/Mac_ios flutter_gallery__transition_perf_e2e_ios/406
https://ci.chromium.org/p/flutter/builders/prod/Mac_ios integration_ui_ios_keyboard_resize/409

\cc @keyonghan

Yeah, mentioned this in tree status chat.
This bot is now quarantined manually. Still working to bring it back.

Mac7 needs manual intervention:

Filed request.

This is the bug to the tracking issue in the fuchsia labs:
https://github.com/flutter/flutter/issues/73575

Mac7 is back. Closing.


properly lock partitions

Lock partitions rather than OwnedPartitions. Related to #218.

@yungchin @kbourgoin let me know what you think of this fix. I can't think of anything it breaks or makes worse for the average user, but I feel like I may be missing something. My thinking is that if we care to lock each partition in a single-consumer context, we should probably also be locking each partition for N consumers.

I don't really understand why this fix works. As I understood it previously, the fetch lock was to protect the message queue and the stored offsets, both of which are in OwnedPartition. Should there be additional state in Partition that needs guarding?
I'm half worried that this fix might in fact disguise a bug somewhere else, in the same way that that longer sleep from #218 hides it (I suppose that works because if the fetcher thread sleeps most of the time, that decreases the likelihood of concurrent requests?).


Macros/functions to add for v0.7.0

Here's what we need to add before releasing v0.7.0.

[x] @count()
[x] @tally()
[x] ntile()

The variants of @slice_* functions will go in a future release since they have a lot of options that need to be implemented.

Resolved by #73.


Fuzzy searching fails with matching capital characters but matches with all lowercase

When I attempt to search for a file with capital characters in the name the search fails and returns nothing. However, if I enter all lowercase the search returns the expected file.

At first, this picker does not do fuzzy matching in default. Have you set matcher = "fuzzy" in your opts?
If not, whether you can use capital characters in searching depends on 'smartcase' option. See :h telescope-frecency-usage or https://github.com/nvim-telescope/telescope.nvim/pull/2950.

Well my problem occurs when trying to do an exact match. Using any capital characters results in a blank result. However, using all lower case characters results in a fuzzy match

I have both smartcase and fuzzy matching turned on

I cannot reproduce this with minimal config below.
minimal init.lua
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
  vim.fn.system {
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  }
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup {
  {
    "nvim-telescope/telescope.nvim",
    dependencies = { "nvim-lua/plenary.nvim", "nvim-telescope/telescope-frecency.nvim" },
    config = function()
      local telescope = require "telescope"
      telescope.setup {
        extensions = {
          frecency = {
            matcher = "fuzzy",
          },
        },
      }
      telescope.load_extension "frecency"
      local builtin = require "telescope.builtin"
      vim.keymap.set("n", "<C-f>", telescope.extensions.frecency.frecency)
    end,
  },
}

Please write your minimal setup for reproducible way.

This seems to have been fixed in recent updates. When I posted the original issue it was broken. Now it is working for me as well


unknown field 'Aliases' in struct literal of type cli.StringFlag

Hi
Tried to built it for differents Arch but getting error
./main.go:289:5: unknown field 'Aliases' in struct literal of type cli.StringFlag ./main.go:295:5: unknown field 'Aliases' in struct literal of type cli.IntFlag
go version go1.16.4 linux/amd64
export APP=chaturbate-dvr
go get github.com/grafov/m3u8
go get github.com/parnurzeal/gorequest
go get github.com/teacat/pathx
go get github.com/urfave/cli
GOOS=linux GOARCH=arm64 go build -o ${APP}.arm64
GOOS=linux GOARCH=arm GOARM=5 go build -o ${APP}.armv5
GOOS=linux GOARCH=arm GOARM=7 go build -o ${APP}.armv7
GOOS=linux GOARCH=amd64 go build -o ${APP}.x64
GOOS=linux GOARCH=386 go build -o ${APP}.i386
GOOS=linux GOARCH=arm64 go build -o ${APP}.arm64
thanks for your help on this issue

You might have to use go get github.com/urfave/cli/v2 instead of go get github.com/urfave/cli
Because the urfave/cli has different versions. The project is a bit old and go.mod was not famous at the moment, sorry.

Hi, I've updated the source code and the go.mod, re-clone the repository and you should be fine.

thanks a lot.... all is working as expected now  :)


⚠ Samsung has degraded performance

In b402997, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2559 ms

Resolved: Samsung performance has improved in 03c39a9.


Update inclusive language page

Make further changes based on recent feedback and review.

Hi @JackMatthams, I've updated this page but we need to go through some final queries with Jean on Monday.


Better traces

Currently, dscheck has rudimentary trace printing for failed assertions. This PR improves it on a few fronts.
Vocab
Let's start being a little more careful with words:

execution sequence, history, interleaving - a particular execution
trace - an equivalence class of equal execution sequences
maximal [execution sequence | trace | ..] - sequence reaching the terminal state

I used to use trace and execution sequence interchangeably before. Turns out in the dpor literature they are not and it's a helpful distinction. I'll add that into readme at some point.
Interleavings
Improve the way we print interleavings and add an option to print all maximal sequences visited. With that is's easier to understand what's actually being checked and why the tested program fails.
Process 0: start
Process 0: fetch_and_add 1
Process 1: start
Process 1: fetch_and_add 1
Process 1: fetch_and_add 2
----
Process 0: start
Process 1: start
Process 1: fetch_and_add 1
Process 0: fetch_and_add 1
Process 1: fetch_and_add 2
...

->
sequence 1
----------------------------------------
P0			P1
----------------------------------------
start
fetch_and_add a
			start
			fetch_and_add a
			fetch_and_add b
----------------------------------------

sequence 2
----------------------------------------
P0			P1
----------------------------------------
start
			start
			fetch_and_add a
fetch_and_add a
			fetch_and_add b
----------------------------------------

explored 2 maximal interleavings and 9 states

Traces
DPOR methods aim to enumerate exactly one execution sequence per trace. Less than that and we're skipping an interleaving that may happen in the real-world. More than that is less bad: we're exploring redundant interleavings but we can still validate programs, just slower. While DPORs are complicated, it's fairly easy to tell whether two execution sequences belong to the same trace. There's a nice formalism, which boils down to the rule, that we can swap any two adjacent independent operations in the trace. If a number of such swaps takes us from one sequence to the other, they belong to the same trace. In our case, independent operations are ones that:

belong to different threads (we cannot order two instructions that are program-ordered)
work on disjoint locations (otherwise the swap produces a new final state).

For example:
set a 1, set b 2, set b 2, set a 1 are equal
set a 1, set a 2, set a 2, set a 1 are naturally not
Therefore, we can take all execution sequences that DSCheck explores, top-sort and dedupe the equivalent ones, and we have precisely the list of interesting interleavings that have been explored. These consist of pairs (proc id, variable) as that's all the info we need to dedupe. Sample output: (2,c),(1,c),(2,b),(1,b),(2,d),(0,b). With that its super easy to see:

Whether future changes are unsafe - if any trace disappears, something's off.
How inefficient we are - with execution sequences / traces ratio. E.g. the 12k execution sequences on mscott (n=4) are contained in just 16 traces. Further, we can easily track down the redundant interleavings.

Reference: Godefroid's thesis, chap 3.
Testing
With above support for traces, we need to ensure that we can easily generate traces of all tests and compare them across different versions. This PR adds ./gen_traces.sh that dumps traces, which will then be tracked in git. I tried to integrate that with dune (as is done with rules for the new pretty printing) but it does not work too well with alcotest. Further, the tests with traces on are significantly slower, so I think it's fine to keep them separate until we find something better.
Also added two new tests with conditionals.

While doing automated tests I found cases where above does not deduplicate all the equivalent traces. I'll push a fix tomorrow.

Fixed, added a paragraph about the approach to deduplication.


Issue in Safari browser

ErrorHandler.prototype._mathGenericMissingValue = function () {
        return /(?<=\<.*)(\w+=(?!(\"|\')))/gm;
};

Result: Invalid regular expression: invalid group specifier name
It happens because Safari doesn't support lookbehind yet

Hi, @Suhovft49! Thank you for your report! I can't see another way to offer support to non lookbehind browsers right now. This feature handle invalid tags like
<root>
  <math>
  <mfenced open='{' close= >
    <mn>3</mn>
  </mfenced>
  </math>
</root>

where open attributes like close= could cause parse errors and so are replaced by an empty string. This use case is covered by our tests. If you want to fix that, fell free to open a PR.

Reopening due to #9

#9 from @caleb-flores has been merged fixing the problem


Error in documentation in - "Check the route parameter value"

Hi! I think that this package is nice.
I did find an error in your documentation at your website though. Just a mistake.
https://www.hieule.info/products/laravel-active-version-3-released/
It is under the header:

Check the route parameter value

Use the alias: Active::checkRouteParam($key, $value)
Use the application container: app('active')->checkRouteParam($key, $value)
Use the helper function: if_route_pattern($key, $value)

The third line is wrong and should be:

Use the helper function: if_route_param($key, $value)

the error is _pattern instead of _param like it should be

Thank you for pointing it out :) I updated the documentation on my website.

Glad to help! :) Thanks!


Remove *Request to fix streaming client context

Context in client streams doesn't include the span due to the *Request requiring information only included once the connection is created. This PR proposes removing the *Request in favour of simply providing the connect.Spec information. Now we can correctly initialize the span creation before passing the context to the client handler.
Changes

Removes exported *Request object (breaking change)
Changes option filters to use connect.Spec instead of *Request (breaking change)

Changes option filters to use connect.Spec instead of *Request (breaking change)

This is actually removing a certain class of capability, right? They previously also had access to the peer and the headers. That seems useful to maintain. Is there some way to use a mutable placeholder for the span in the context (so headers can be added and attributes filtered later?) or perhaps a custom wrapper/implementation of context.Context that allows the span to be inserted later?

@jhump correct, this removes the peer and header attributes limited by the API of connect client interceptors. The span could be accessed by any other interceptor in the call to next(ctx, spec) which returns the peer and header objects required by the filter. To obtain the same filtering one can set values on the context to introspect in the interceptor from any http middleware. Some other implementations don't include these filtering options like otelgrpc but in contrast otelhttp includes the full request.
Happy with the connect.Spec only approach and users requiring the filtering to set context values?

users requiring the filtering to set context values

How do you envision this? What exactly sets context values and how are they used? It sounds, from prior paragraph, like this also requires users to add a custom HTTP middleware that coordinates? How does this filter the attributes? Does it mutate the span in context by removing attributes? If so, can we just take a similar approach inside the library, and defer the call to the filter and use its results to modify an already-created span?

how do you envision this?

@jhump add information to the context (the span isn't present yet) that the filter can use to inform it's decision on whether or not to add metrics and tracing to this request. On the filter output otelconnect then decides whether or not to create the span for the request. As an example we could inject the http.Request object in custom http middleware to access within the filter:
type requestKey struct{}

// injectRequest adds a reference to the original request object for use by otel filters.
func injectRequest(handler http.Handler) http.Handler {
    return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
        r = r.WithContext(context.WithValue(ctx, requestKey, r))
        handler(w, r)
    })
}

// myRequestFilter implements WithFilter func.
func myRequestFilter(ctx context.Context, spec connect.Spec) bool {
    r, _ := context.Value(requestKey)
    return r.Header.Get("SomeHeader") != "Internal" // Filter on "SomeHeader"
}

Saying this, the full *http.Request is probably not useful for filtering. A use case I'd imagine desired would be to filter on authenticated users to avoid logging metrics for internal bots or private access. This would probably already use a context based approach similar to the suggested.

@ed, now I'm really confused. I thought, at the point the filter was called, we haven't yet invoked the HTTP call. Isn't that the entire reason we can no longer directly provide peer and headers to the filter function? We instead have to wait for the first call to stream.Send, after the filter function is already called, and the middleware won't run until then.

@jhump correct for the client, but not for the server.

Okay, I've come around on the API change. The only thing I can think of that would be useful in here related to headers is a way to force a trace to be captured (like even if spans are sampled and sampling would otherwise lead to this request being omitted), but that is orthogonal to this attribute filter stuff. For metrics, it does seem like the spec should suffice.
Mind rebasing to fix merge conflicts? I'll dive in and do a proper review after that.


Not getting PNG output from command line client, but long-name empty files instead

The client.py isnt outputting PNGs in the directory like the instructions say. Note, i'm running on an Anaconda env.

I run the above, and it outputs the below

super long file name, not long enough to include the .json bit at the end, looks like its an empty file, generally not sure what to do with this, the instructions are unclear. Please advise.

Same problem.

Same problem here.
python3 -m stability_sdk.client -W 512 -H 512 "A stunning house."

2022-09-25 16:22:51,737 INFO client.py(75806) - Opening channel to grpc.stability.ai:443
2022-09-25 16:22:51,740 INFO client.py(75806) - Channel opened to grpc.stability.ai:443
2022-09-25 16:22:51,740 INFO client.py(75806) - Sending request.
Traceback (most recent call last):
  File "/Users/kamangir/opt/miniconda3/envs/abcli/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/kamangir/opt/miniconda3/envs/abcli/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/kamangir/git/blue-stability/src/stability_sdk/client.py", line 469, in <module>
    for artifact in artifacts:
  File "/Users/kamangir/git/blue-stability/src/stability_sdk/client.py", line 99, in process_artifacts_from_answers
    for resp in answers:
  File "/Users/kamangir/git/blue-stability/src/stability_sdk/client.py", line 308, in generate
    for answer in self.stub.Generate(rq, **self.grpc_args):
  File "/Users/kamangir/opt/miniconda3/envs/abcli/lib/python3.9/site-packages/grpc/_channel.py", line 426, in __next__
    return self._next()
  File "/Users/kamangir/opt/miniconda3/envs/abcli/lib/python3.9/site-packages/grpc/_channel.py", line 826, in _next
    raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.INVALID_ARGUMENT
	details = "Must provide image parameters."
	debug_error_string = "UNKNOWN:Error received from peer ipv4:<IP_ADDRESS>:443 {created_time:"2022-09-25T16:22:56.875848-07:00", grpc_status:3, grpc_message:"Must provide image parameters."}"

@Markdood88 Thanks for the report. There should be two files generated, the .json and the .png.
I can't replicate it locally, but I am keen to get it fixed.
What O/S are you using? It's possible that it's to do with the filename length, as in #9
@kamangir I think this is a different issue - yours might be solved by updating the pip package

I also have the same error my O/S is Windows 11. I allowed for longer file names but still get this sort of outcome

I also had the same problem on Windows. My quickfix was changing line 101 of client.py to:
#artifact_p = f"{prefix}-{resp.answer_id}"

Ok found out that the client.py you get from pip install is not the latest, as this bug has been fixed in this merge:
https://github.com/Stability-AI/stability-sdk/pull/67


2.4.1: [armhf] test failure: TestRestoreOld (unreliable test?)

On armhf TestRestoreOld fails as follows:
-- FAIL: TestRestoreOld (0.05s)
    scheduler_test.go:85: ref1 should be removed first

See full build log.

Tests should be fixed by #1925

@onlyjob Let us know if you're still having this problem.


Crash When Teleporting Away With Waystones Mod

I'm using Integrated Circuits on a modded 1.20.1 server running Fabric, using Version 1.3.1 of Integrated Circuits. On this server we've also got the Waystones mod, v14.0.1. When you teleport away from a chunk with an Integrated Circuit through the warp stone, warp plate, or a Waystone it immediately crashes the game. It seems to be a problem with unloading the Integrated Circuits too quickly or in an unexpected way. My crash logs are linked below.
Thanks!
https://mclo.gs/JDP9Xoq
https://mclo.gs/oLKw9Cf

Fixed in 1.3.4


vifm: 0.8.2 -> 0.9

Motivation for this change
Update vifm to the last version
Things done

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

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

cc maintainers @7c6f434c @garbas


The date panel does not update when using both a minimum selection date and mobile mode

Issue: The date panel does not update when using both a minimum selection date and mobile mode.
To reproduce the problem, please see:
https://codesandbox.io/s/datepanel-broken-with-mindate-when-ismobile-3i0cp?file=/src/App.js
I took a cursory look at the code and couldn't figure out how to fix this problem. Can you help or point me in a good direction?
<DatePicker
  value={bookingDates}
  onChange={(dateObjects) => {
    setBookingDates(dateObjects);
  }}
  multiple={true}
  plugins={[<DatePanel />]}
  className="rmdp-mobile" // Remove either this line (className="rmdp-mobile") or the next to fix the DatePanel
  minDate={today} // Remove either this line (minDate={today}) or the next to fix the DatePanel
/>

I will work on it and let you know about it.

Hello
The problem you mentioned occurred because in mobile mode, the user-selected dates were stored as a temporary date in a ref.
Storing dates in the ref did not update the calendar, causing this problem.
In version 2.2.1, temporary dates are also stored in the state to avoid this problem.
I hope your problem has been resolved with the changes I made.

I also fixed the runkit problem you mentioned in issue #19 at version 2.2.5.

I'm closing this issue. Please let me know if your problem persists.


Change PartitionKeyType from List to Sequence?

Describe the bug
First off, thanks for all the typing you all have added!
Our partition_keys are always strings so we'd like our internal methods to have type Union[str, list[str], None], but that's not compatible with the PartitionKeyType in the SDK because lists are mutable
GitHub issue with explanation of why list[str] isn't compatible with e.g. list[str | int]
Assuming these functions never modify the partition_keys that are passed in, so could we change that type from List to Sequence?
To Reproduce
mypy playground: List failure case
mypy playground: Sequence success case
Expected behavior
Users of the sdk can restrict their partition key types to a stricter subset

This is a great catch @trevorcreech - thank you for the report!
I believe your assumption is correct - @simorenoh are you able to confirm whether the partitionkey value is ever modified prior to the request being sent? If not, I think this should be a good change to make. I can update my existing paritionkey typing PR

Ping @bambriz and @simorenoh on this one.

@annatisch I think it would be a goof change, there shouldn't be any changes to the partition key values as it gets sent. It also wouldn't matter if the values are passed in a list or a tuple (in regard to subpartitioning pk values) as it will be the same for the json request headers.

Done :)
Thanks @trevorcreech! This will go out in the next release.


Suppress the clippy::type_complexity lint

Objective
The clippy lint type_complexity is known not to play well with bevy. It frequently triggers when writing complex queries, and taking the lint's advice of using a type alias almost always just obfuscates the code with no benefit. Because of this, this lint is currently ignored in CI, but unfortunately it still shows up when viewing bevy code in an IDE.
As someone who's made a fair amount of pull requests to this repo, I will say that this issue has been a consistent thorn in my side. Since bevy code is filled with spurious, ignorable warnings, it can be very difficult to spot the real warnings that must be fixed -- most of the time I just ignore all warnings, only to later find out that one of them was real after I'm done when CI runs.
Solution
Suppress this lint in all bevy crates. This was previously attempted in #7050, but the review process ended up making it more complicated than it needs to be and landed on a subpar solution.
The discussion in https://github.com/rust-lang/rust-clippy/pull/10571 explores some better long-term solutions to this problem. Since there is no timeline on when these solutions may land, we should resolve this issue in the meantime by locally suppressing these lints.
Unresolved issues
Currently, these lints are not suppressed in our examples, since that would require suppressing the lint in every single source file. They are still ignored in CI.

That being said, I still think we should have exactly one source of truth for this. If we're committing to this suppression in every crate, lets remove this from the cargo run -p ci validation list to avoid disparities.

Ahhh this is how we suppress example validation in CI. Sadly we need to live in this nasty middle ground world.


Is Gaze not used..?

I was having issues with the watch option "mode" which is documented in the gaze docs, looking through the browser-sync code I found no use of gaze at all, just mentions of it in documentation and comments. A library called "glob-watcher" seems to have replaced gaze. Why is this? Is there a way to make glob-watcher check for native file system events instead of stat polling each files every nth second?

Right, the problem I'm having is caused by glob-watcher using an old gaze version.


By default the cursor should remain on the email textbox

Bagisto Version: Master
Steps To reproduce--
1. Try to log in as an admin.
Expected result: by default the cursor should remain on the email textbox
Actual result: by default the cursor is not remaining on the Email textbox when the user is trying to log in. Please find the screenshot Here

@papnoisanjeev
Now, this enhancement is done. so I am closing this enhancement.
And I have attached a screenshot for future reference Here


Issues using this with a self-hosted agent pool

I've configured this task and it works great for a hosted agent, but my use case is for on premise agent pools.  Do you expect this plugin to work for that?
I am using the case where I specify the full path to the git repo and enable "Allow Scripts to access OAuth token" on the job.
The behavior is that git appears to hang after emitting "Cloning into 'c:\git\SharedTools...'
The directory is created and, but no files are added.
I'm happy to provide any other diagnostics information, just let me know how to collect it.  Thanks in advance for any help.
gitdownloader.log

Yes, it’s supposed to be working for onpremise too. I use it on my company’s server. I see the log, the build is cancelled. Can you retry again without cancelling the task? Please tell us the agent version you’re using too.

Hi again,
I think I know the problem. You said that the build is in your on premise server. But you want to download https://mycompany.visualstudio.com/Shared/_git/Tools, I believe it’s not on premise. When downloading repo in different server, the plugin expects the repo to be public, means downloadable without authentication. The best way to test it is by cloning using git console. Can you make it sure?
Currently, this plugin doesn’t support downloading external repo with authentication. It behaves just like what you said, like hanging up without any error message.


Current implementation isn't compliant with kubernetes conformance tests

Current implementation isn't compliant to Conformance tests:
Conformance test was runned with sonobuoy:
$ sonobuoy run --mode certified-conformance --wait

Results were:
[It] [sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] should mutate configmap [Conformance]
[It] [sig-network] HostPort validates that there is no conflict between pods with same hostPort but different hostIP and protocol [LinuxOnly] [Conformance]
[It] [sig-api-machinery] Aggregator Should be able to support the 1.17 Sample API Server using the current Aggregator [Conformance]
[It] [sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] should be able to deny custom resource creation, update and deletion [Conformance]

At this time only:
[It] [sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] should be able to deny custom resource creation, update and deletion [Conformance]
[It] [sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] should mutate configmap [Conformance]

has been treated by c9b15891ddf57bab1b29ad60f1ccb9ce8a60c01d
Still failing tests:
[It] [sig-network] HostPort validates that there is no conflict between pods with same hostPort but different hostIP and protocol [LinuxOnly] [Conformance]
[It] [sig-api-machinery] Aggregator Should be able to support the 1.17 Sample API Server using the current Aggregator [Conformance]

Current implementation of cilium with free KubeProxy isn't complient with Kubernetes Conformance tests.
As explained here: https://github.com/cilium/cilium/pull/26399 there are currently working on feature to differenciate UDP and TCP protocol. Discussion file is found here: https://docs.google.com/document/d/1USB6KnQA2mdJZYxrXn4vvr86hO8V9ItJTgWV7IgHL1A/edit#heading=h.emkst1tlqm39
Why is it important ? The test [It] [sig-network] HostPort validates that there is no conflict between pods with same hostPort but different hostIP and protocol [LinuxOnly] [Conformance] deploy 3 pods:

On Node 1, Ip <IP_ADDRESS> with nodeport 54323 Protocol TCP
On Node 1, Ip  with nodeport 54323 Protocol TCP
On Node 1, Ip  with nodeport 54323 Protocol UDP

This test check if there is no conflicts. With current implementation of Cilium full kube-proxy replacement this test failes.
Current workaround is to deploy Cilium along side kube-proxy.
Other issue related:
https://github.com/cilium/cilium/issues/14287
https://github.com/cilium/cilium/issues/9207


Express the spell DC and spell attack bonus with the revamped effect system

Once the new effect system and the new skill/ability score schema have landed, we'll be able to easily compute the spell DC and spell attack bonus scores as effects.
Depends on #141, #142 and #148

Fixed by #202


Noticed some spacing issues in praise responses

No Issue only nits!

Nit, could you fix the spacing on line 401 too. Missing a space after the user insertion.

Thanks @Mill1893 done!


Icon request: Fedora

URL for the brand / site / app
https://getfedora.org/
Logo resources for the icon
https://upload.wikimedia.org/wikipedia/commons/4/41/Fedora_icon_(2021).svg
Anything else?
No response

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Fedora.svg

:question: How to add icon(s) to Aegis?
:star: Support this project by giving a star! Just adding like to this comment is also appreciated.

thanks.


Cannot find module

This is known issue, when one or more NPM dependencies of original neo4j-fiber is not found by Meteor. The roots of this issue is unknown for long time, if you have any idea, please post your comment at this thread.
One of the cases:
Error: Can not find module 'underscore'

Error: Can not find module 'fibers'

Error: Can not find module 'needle'

Solution 2:
Install NPM. dependencies:
meteor npm install --save underscore needle fibers

Solution 1:
Use NPM neo4j-fiber package directly
# Remove ostrio:neo4jdriver first
# meteor remove ostrio:neo4jdriver

meteor npm install --save neo4j-fiber

Then in your code:
const Neo4jDB = require('neo4j-fiber').Neo4jDB;
const db = new Neo4jDB();

Leave you comments and questions below

Good news, this was Meteor issue, and it's fixed in v<IP_ADDRESS>


[TSCUtility] Use a separate array property wrapper for PolymorphicCod…

…able
Conditional conformance doesn't seem to work that well.
sync https://github.com/apple/swift-tools-support-core/pull/68

@swift-ci smoke test

@swift-ci smoke test linux


nix-shell fails

Issue description
nix-shell is not opening , instead failing with below error
nix-shell
building '/nix/store/f2ksl5zgkx3vn3kwisfgjdri2m06l1id-source.drv'...
trying https://api.github.com/repos/numtide/flake-utils/tarball/5aed5285a952e0b949eb3ba02c12fa4fcfef535f
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100  7748  100  7748    0     0   3712      0  0:00:02  0:00:02 --:--:-- 14786
unpacking source archive /build/5aed5285a952e0b949eb3ba02c12fa4fcfef535f
do not know how to unpack source archive /build/5aed5285a952e0b949eb3ba02c12fa4fcfef535f
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9|   strict = derivationStrict drvAttrs;
|            ^
10|
   … while evaluating derivation 'nix-shell'
     whose name attribute is located at /nix/store/b8i8r39n111n2w8vyw4myy8y8l1l8xbj-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:205:7

   … while evaluating attribute 'nativeBuildInputs' of derivation 'nix-shell'
     at /nix/store/b8i8r39n111n2w8vyw4myy8y8l1l8xbj-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:244:7:
      243|       depsBuildBuild              = lib.elemAt (lib.elemAt dependencies 0) 0;
      244|       nativeBuildInputs           = lib.elemAt (lib.elemAt dependencies 0) 1;
         |       ^
      245|       depsBuildTarget             = lib.elemAt (lib.elemAt dependencies 0) 2;

   error: builder for '/nix/store/f2ksl5zgkx3vn3kwisfgjdri2m06l1id-source.drv' failed with exit code 1;
   last 8 log lines:
   >
   > trying https://api.github.com/repos/numtide/flake-utils/tarball/5aed5285a952e0b949eb3ba02c12fa4fcfef535f
   >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
   >                                  Dload  Upload   Total   Spent    Left  Speed
   >   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
   > 100  7748  100  7748    0     0   3712      0  0:00:02  0:00:02 --:--:-- 14786
   > unpacking source archive /build/5aed5285a952e0b949eb3ba02c12fa4fcfef535f
   > do not know how to unpack source archive /build/5aed5285a952e0b949eb3ba02c12fa4fcfef535f
   For full logs, run 'nix-store -l /nix/store/f2ksl5zgkx3vn3kwisfgjdri2m06l1id-source.drv'.

Steps to reproduce
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

what is the exact command that causes this error ?

This is an issue with the nix file supplied to nix-shell. Since the issue tracker is not a generel support chat, I am closing this. Please see https://nixos.org/community/ for other channels.


Unable to open /dev/kfd read-write: Cannot allocate memory

I have installed rocm on Ubuntu 20.04. I tried rocminfo, and got
amdgpu:~/amd$ sudo /opt/rocm-4.5.2/bin/rocminfo
ROCk module is loaded
Unable to open /dev/kfd read-write: Cannot allocate memory
jbberry is member of render group
Additional info;
jbberry@ortce-amdgpu:~/amd$ dkms status
amdgpu, 5.11.32-1350682, 5.4.0-97-generic, x86_64: installed
jbberry@ortce-amdgpu:~/amd$ uname -r
5.4.0-97-generic

Works for clinfo, but 0 devices;
jbberry@ortce-amdgpu:~/amd$ sudo /opt/rocm-4.5.2/opencl/bin/clinfo
Number of platforms:                             1
Platform Profile:                              FULL_PROFILE
Platform Version:                              OpenCL 2.2 AMD-APP (3361.0)
Platform Name:                                 AMD Accelerated Parallel Processing
Platform Vendor:                               Advanced Micro Devices, Inc.
Platform Extensions:                           cl_khr_icd cl_amd_event_callback
Platform Name:                                 AMD Accelerated Parallel Processing
Number of devices:                               0
jbberry@ortce-amdgpu:~/amd$

I have installed rocm on Ubuntu 20.04. I tried rocminfo, and got
amdgpu:~/amd$ sudo /opt/rocm-4.5.2/bin/rocminfo ROCk module is loaded Unable to open /dev/kfd read-write: Cannot allocate memory jbberry is member of render group
Additional info; jbberry@ortce-amdgpu:~/amd$ dkms status amdgpu, 5.11.32-1350682, 5.4.0-97-generic, x86_64: installed
jbberry@ortce-amdgpu:~/amd$ uname -r 5.4.0-97-generic

The booted kernel is 5.4.0-97 but the amdgpu dkms is installed on 5.11.32 kernel. It means, you have booted up kernel without amdgpu dkms installed.

Thanks for the quick response! But I'm not sure I understand. Are you saying I need to re-install rocm, so it will select the amdgpu for the correct kernel? Or use a different version of Ubuntu? Or what?

Thanks @JBBIntel for reaching out.
I certainly understood the problem.
I recommend to try with at least 5.8/5.9 kernels and above versions.
5.4 is very old kernel and it might not work due to compatibility issues. We have not tested too. So recommend to try with the latest kernels like 5.11 and etc(atleast 5.8/5.9 are minimum requirement).
Meanwhile can you please share the below information.

output of dmesg command
GPU details of your machine.
Thank you.

There are no kdf messages in dmesg. The GPU is an MI100.
I am a bit puzzled by your suggestion. I initially tried to install this on Ubuntu 21.10, which uses the 5.13 kernel. However, that installation failed. I noticed that the install page says the supported Ubuntu versions are 18.04 and 20.04.  I therefore backed off to Ubuntu 20.04, which uses the 5.4 kernel. Are you suggesting I should return to 21.04? Or somehow get a different version of 20.04, with a higher kernel version?

FYI, I figured out what you meant. I was able to upgrade the kernel in Ubuntu 20.04 using the instructions here;
https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Server
In particular, since my machine is a server, I did this;
sudo apt install --install-recommends linux-generic-hwe-20.04
and then rebooted. After that, install worked fine.


Hide intro for swiftc --help

Users know what they're doing by using swiftc instead of swift. Subcommand info is useless for swiftc users and should be eliminated.

Makes sense.

@swift-ci Please test


npm dependicies

Describe the bug
When bot run the package.js and then npm dependencies "npm install"it keep going in circle and when error show and ask to fix it it goes thru updating the code again and try to run npm dependencies to install.
Error "~/project
❯ npm install
npm ERR! code ERR_INVALID_PROTOCOL
npm ERR! Protocol "https:" not supported. Expected "http:"
npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2024-11-11T04_19_30_595Z-debug-0.log"
and second time
"/project 1s
❯ npm install
npm ERR! code ERR_INVALID_PROTOCOL
npm ERR! Protocol "https:" not supported. Expected "http:"
npm ERR!  Protocol "https:" not supported. Expected "http:"
npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2024-11-11T04_28_49_040Z-debug-0.log
~/project 12m 24s
❯ npm run dev

<EMAIL_ADDRESS>dev
vite

jsh: command not found: vite
~/project
❯
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-a3sucs
Steps to reproduce
Prompt
Agree on the changes
Deployment process
Error
Expected behavior
it suppose to show me a landing page for a website
Screen Recording / Screenshot

Platform
Safari and Chrome on Mac
Additional context
This is not acceptable when paying $50/monthly and not even able to get single product worked. when I used a free it has no issue. Got this subscription so don't have to worry running on my system

Appreciate the feedback! We are aware of this issue and are tracking it here: #2021

Hi @SYasJ,
Would you be able to set your project permission to "Private (accessible by URL)" by clicking the lock icon next to the project title so we can take a closer look? Refund requests are handled through<EMAIL_ADDRESS>Thanks!


Unit test for Project (#371)

@rathorevaibhav I'm not sure why the TravisCI Build is failing. it works well on my machine maybe something needs to be configured on the Travis end or if I can debug on Travis and why there's a 500 on it.
1) Tests\Feature\ProjectsTest::an_authorised_user_can_see_projects
Expected status code 200 but received 500.
Failed asserting that false is true.
/home/travis/build/ColoredCow/employee-portal/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php:109
/home/travis/build/ColoredCow/employee-portal/tests/Feature/ProjectsTest.php:17

@nishanth-kd were you able to figure out why the TravisCI build is giving 500 error?


Allow permission line in /proc/self/map to be "rwx", not just "r-x".

At least in Ubuntu14, a binary file that's writable by the process owner
has permission "rwx", not "r-x".

Signed the cla.

hmm, unrepro on Ubuntu 14.01
$ cp /bin/sleep /tmp/sleep
$ chmod 0777 /tmp/sleep
$ /tmp/sleep 10000 &
$ cat /proc/$pid/maps | grep sleep
00400000-00406000 r-xp 00000000 fc:00 1317979                            /tmp/sleep
00606000-00607000 r--p 00006000 fc:00 1317979                            /tmp/sleep
00607000-00608000 rw-p 00007000 fc:00 1317979                            /tmp/sleep
depends on some configurations/settings?

Yeah, I can't reproduce using /bin/sleep either. I also miswrote - it
doesn't matter whether the executable file is writable.
But the binary I'm running, I get:
00400000-04780000 rwxp 00000000 00:17 2423286
/var/home/bin/tools/stl
04780000-0493a000 rw-p 00000000 00:00 0
055ed000-0682e000 rw-p 00000000 00:00 0
[heap]
7f8081d44000-7f8081d45000 ---p 00000000 00:00 0
7f8081d45000-7f8082545000 rw-p 00000000 00:00 0
[stack:13498]
7f8082545000-7f8082546000 ---p 00000000 00:00 0
7f8082546000-7f8082d46000 rw-p 00000000 00:00 0
[stack:13497]
7f8082d46000-7f8082d47000 ---p 00000000 00:00 0
7f8082d47000-7f8083547000 rw-p 00000000 00:00 0
[stack:13496]
7f8083547000-7f8083548000 ---p 00000000 00:00 0
7f8083548000-7f8083d48000 rw-p 00000000 00:00 0
[stack:13495]
7f8083d48000-7f8083d49000 ---p 00000000 00:00 0
7f8083d49000-7f8084549000 rw-p 00000000 00:00 0
[stack:13494]
Moreover,  if I make a slight change to the binary (tools/stl in this
example) - say adding a noop function that's never called - then this
problem sometimes goes away. So I think it depends on the size of the
executable? Maybe the kernel and/or the dynamic linker maps the text
segment read/write when it's size satisfies certain condition?
cat /proc/version
Linux version 3.16.0-69-generic (buildd@lcy01-33) (gcc version 4.8.2
(Ubuntu 4.8.2-19ubuntu1) ) #89~14.04.1-Ubuntu SMP Thu Mar 17 20:51:04 UTC
2016
On Tue, Apr 12, 2016 at 9:57 PM, Fumitoshi Ukai<EMAIL_ADDRESS>wrote:

hmm, unrepro on Ubuntu 14.01
$ cp /bin/sleep /tmp/sleep
$ chmod 0777 /tmp/sleep
$ /tmp/sleep 10000 &
$ cat /proc/$pid/maps | grep sleep
00400000-00406000 r-xp 00000000 fc:00 1317979 /tmp/sleep
00606000-00607000 r--p 00006000 fc:00 1317979 /tmp/sleep
00607000-00608000 rw-p 00007000 fc:00 1317979 /tmp/sleep
depends on some configurations/settings?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/google/glog/pull/101#issuecomment-209227461

--
Yasushi Saito

hmm, i see.
I understand there is a case that code text is mapped with writable permission.

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address.  Check your existing CLA data and verify that your email is set on your git commits.
If you signed the CLA as a corporation, please let us know the company's name.


NoteCollection Class

[ ] Unit Tests
[ ] Class

declare class NoteCollection {
  static toNoteCollection(notes: NoteCollectionObject): NoteCollection

  collection: Array<Note>

  get toObject(): Array<NoteObject>
  toString(): string

  has(id: string): boolean
  get(id: string): Note
  set(note: Note): Promise<this>
  delete(id: string): this
  writeFile(...path: Array<string>): Promise<this>
}

Removed the idea and went a different route.


prog: description-less fuzzing

Currently syzkaller requires syscall interface descriptions to fuzz kernels. These descriptions need to be kept up-to-date to achieve good coverage of the kernel. Currently descriptions are maintained manually.
To cover subsystems not currently described by syzkaller descriptions, syzkaller could generate random programs without descriptions. Several challenges exist to achieve good coverage:

Is it possible to automatically learn new kernel interfaces through coverage feedback?
What type of coverage is needed? Is code coverage enough?
Would symbolic execution or data-flow analysis help in generating better programs?

A new paper No Grammar, No Problem: Towards Fuzzing the Linux Kernel without System-Call Descriptions.


qcelemental does not build with Python 3.12

QCElemental does not build with Python 3.12, included in Fedora rawhide.
The error is
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
/builddir/build/BUILD/QCElemental-0.25.1/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
  LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
  File "/builddir/build/BUILD/QCElemental-0.25.1/setup.py", line 27, in <module>
    version=versioneer.get_version(),
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/QCElemental-0.25.1/versioneer.py", line 1480, in get_version
    return get_versions()["version"]
           ^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/QCElemental-0.25.1/versioneer.py", line 1412, in get_versions
    cfg = get_config_from_root(root)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/QCElemental-0.25.1/versioneer.py", line 342, in get_config_from_root
    parser = configparser.SafeConfigParser()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
error: Bad exit status from /var/tmp/rpm-tmp.1ZzK1S (%build)
    Bad exit status from /var/tmp/rpm-tmp.1ZzK1S (%build)
RPM build errors:
Child return code was: 1

You need to update the bundled versioneer.

Looks like the versioneer.py file will need to be updated:
https://github.com/python-versioneer/python-versioneer/issues/200

versioneer has been removed in current master, so this issue should resolve as soon as I've minted v0.26.0. In case anyone needs to patch an earlier version, here's a likely solution Ben found.
     setup_cfg = os.path.join(root, "setup.cfg")
-    parser = configparser.SafeConfigParser()
+    parser = configparser.ConfigParser()
     with open(setup_cfg, "r") as f:
-        parser.readfp(f)
+        parser.read_file(f)
     VCS = parser.get("versioneer", "VCS")  # mandatory

v0.26.0 w/o versioneer should close this. Please repoen if more needed for py312.


Failed to read artifact descriptor for net.gravitydevelopment.updater:updater:jar:LATEST

Currently, the repo for net.gravitydevelopment.updater is down (https://github.com/gravitylow/Updater/issues/27), so nobody is able to build a plugin which depends on PermissionsEx:
Complete error message:
Failed to collect dependencies at ru.tehkode:PermissionsEx:jar:1.23.1 -> net.gravitydevelopment.updater:updater:jar:LATEST: Failed to read artifact descriptor for net.gravitydevelopment.updater:updater:jar:LATEST: Failed to resolve version for net.gravitydevelopment.updater:updater:jar:LATEST: Could not find metadata net.gravitydevelopment.updater:updater/maven-metadata.xml

Could you check again -- we've uploaded the updater to our own maven repository so it should be working now.

No response, closing.

@zml2008 I can confirm this issue trying to compile the latest 1.23.4 source.
------------------------------------------------------------------------
Building PermissionsEx 1.23.4-SNAPSHOT
------------------------------------------------------------------------
Downloading: http://repo.gravitydevelopment.net/org/bukkit/bukkit/1.8.8-R0.1-SNAPSHOT/maven-metadata.xml
Downloading: http://pex-repo.aoeu.xyz/org/bukkit/bukkit/1.8.8-R0.1-SNAPSHOT/maven-metadata.xml
Downloading: https://hub.spigotmc.org/nexus/content/groups/public/org/bukkit/bukkit/1.8.8-R0.1-SNAPSHOT/maven-metadata.xml

Downloaded: https://hub.spigotmc.org/nexus/content/groups/public/org/bukkit/bukkit/1.8.8-R0.1-SNAPSHOT/maven-metadata.xml (2 KB at 0.8 KB/sec)
Could not transfer metadata org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT/maven-metadata.xml from/to pex-repo (http://pex-repo.aoeu.xyz): peer not authenticated
Failure to transfer org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT/maven-metadata.xml from http://pex-repo.aoeu.xyz was cached in the local repository, resolution will not be reattempted until the update interval of pex-repo has elapsed or updates are forced. Original error: Could not transfer metadata org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT/maven-metadata.xml from/to pex-repo (http://pex-repo.aoeu.xyz): peer not authenticated
Downloading: http://repo.gravitydevelopment.net/com/zachsthings/netevents/1.1-SNAPSHOT/maven-metadata.xml
Downloading: https://hub.spigotmc.org/nexus/content/groups/public/com/zachsthings/netevents/1.1-SNAPSHOT/maven-metadata.xml
Downloading: http://pex-repo.aoeu.xyz/com/zachsthings/netevents/1.1-SNAPSHOT/maven-metadata.xml

Could not transfer metadata com.zachsthings:netevents:1.1-SNAPSHOT/maven-metadata.xml from/to pex-repo (http://pex-repo.aoeu.xyz): peer not authenticated
Downloading: http://repo.maven.apache.org/maven2/net/gravitydevelopment/updater/updater/maven-metadata.xml
Downloading: https://hub.spigotmc.org/nexus/content/groups/public/net/gravitydevelopment/updater/updater/maven-metadata.xml
Downloading: http://pex-repo.aoeu.xyz/net/gravitydevelopment/updater/updater/maven-metadata.xml
Downloading: http://repo.gravitydevelopment.net/net/gravitydevelopment/updater/updater/maven-metadata.xml

Could not transfer metadata net.gravitydevelopment.updater:updater/maven-metadata.xml from/to pex-repo (http://pex-repo.aoeu.xyz): peer not authenticated
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 6.110s
Finished at: Thu Dec 24 23:03:12 PST 2015
Final Memory: 7M/92M
------------------------------------------------------------------------
Failed to execute goal on project PermissionsEx: Could not resolve dependencies for project ru.tehkode:PermissionsEx:jar:1.23.4-SNAPSHOT: Failed to collect dependencies for [org.bukkit:bukkit:jar:1.8.8-R0.1-SNAPSHOT (provided), org.yaml:snakeyaml:jar:1.9 (provided), com.zachsthings:netevents:jar:1.1-SNAPSHOT (provided), junit:junit-dep:jar:4.10 (test), commons-dbcp:commons-dbcp:jar:1.4 (compile), net.gravitydevelopment.updater:updater:jar:LATEST (compile), com.mojang:AccountsClient:jar:unspecified (compile)]: Failed to read artifact descriptor for net.gravitydevelopment.updater:updater:jar:LATEST: Failed to resolve version for net.gravitydevelopment.updater:updater:jar:LATEST: Could not find metadata net.gravitydevelopment.updater:updater/maven-metadata.xml in local (C:\Users\Computer\.m2\repository) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

What? who can download this "PermissionsEx 1.23.4-SNAPSHOT" Have you a link? for that .jar?

Compile the source...

Ok, I've manually deployed the updater to the PEX repository. It should work now.

Link for jar file for Windows users? please? i dond understand your linux and repositorys language so link of jar file will be helfull thanks to you to mibby omg.

Sorry for not responding recently. I can confirm that it compiles now. Someone-New this is not the right place to ask for download links.

@Someone-NEW No, if you can't compile it you can wait for the release. Locking this.


Use dots as subdirectory markers

Currently, we have pages that used to be nested in directories like Infrastructure/Services/GitHubActions. But GitHub automatically strips their title to Infrastructure Services GitHubAction, even for dashes instead of subdirectories. This is bad because it offers no hint of nesting.
Use a new separator; the best one seems to be the dot - ..
Perhaps this task is as easy as replacing spaces with dots in all filenames in the GH wiki repo, but we need to check for spaces that need to stay spaces..

I think that is safe to replace dots with spaces in file names. In Trac we use CamelCase or Under_Lines_Names.
We also need to update the content of the files to update the links.