Script exits with failed exit code.

When the programming script is done, the service status changes to failed instead of some other successful state. This may cause issues with monitoring or other things down the line. Need to figure out why this is happening and take care of it.
× esp32-auto-program@sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d2-1\x2d2:1.0-tty-ttyACM0.service - Program ESP32 device attached to 'sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/tty/ttyACM0'
     Loaded: loaded<EMAIL_ADDRESS>static)
     Active: failed (Result: exit-code) since Wed 2024-11-06 15:03:50 JST; 6s ago
    Process: 115095 ExecStart=/home/tayken/esp32/build/esp32-program-shim.sh sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/tty/ttyACM0 (code=exited, status=1/FAILURE)
   Main PID: 115095 (code=exited, status=1/FAILURE)
        CPU: 659ms

Nov 06 15:03:30 wadew systemd[1]: Started Program ESP32 device attached to 'sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/tty/ttyACM0'.
Nov 06 15:03:50 wadew systemd[1]: esp32-auto-program@sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d2-1\x2d2:1.0-tty-ttyACM0.service: Main process exited, code=exited, status=1/FAILURE
Nov 06 15:03:50 wadew systemd[1]: esp32-auto-program@sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d2-1\x2d2:1.0-tty-ttyACM0.service: Failed with result 'exit-code'.

This may be a false alarm due to old things remaining from my tests. I was testing things out today and I got:
○ esp32-auto-program@sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d2-1\x2d2:1.0-tty-ttyACM0.service - Program ESP32 device attached to 'sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/tty/ttyACM0'
     Loaded: loaded<EMAIL_ADDRESS>static)
     Active: inactive (dead) since Mon 2024-11-18 21:29:42 JST; 29s ago
    Process: 3697 ExecStart=/home/tayken/ESP32-Auto-Programmer/build/esp32-program-shim.sh sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/tty/ttyACM0 (code=exited, status=0/SUCCESS)
   Main PID: 3697 (code=exited, status=0/SUCCESS)
        CPU: 1.421s

Nov 18 21:28:48 wadew systemd[1]: Started Program ESP32 device attached to 'sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/tty/ttyACM0'.
Nov 18 21:29:42 wadew systemd[1]: esp32-auto-program@sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d2-1\x2d2:1.0-tty-ttyACM0.service: Deactivated successfully.
Nov 18 21:29:42 wadew systemd[1]: esp32-auto-program@sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d2-1\x2d2:1.0-tty-ttyACM0.service: Consumed 1.421s CPU time.

So, seems like things are running OK.

Tried on my Raspberry Pi 3B and got failure again. I saw DEVNAME pop up once before. But again, programming is successful.
× esp32-auto-program@sys-devices-platform-soc-3f980000.usb-usb1-1\x2d1-1\x2d1.4-1\x2d1.4:1.0-ttyUSB0.service - Program ESP32 device attached to 'sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/tt>
     Loaded: loaded<EMAIL_ADDRESS>static)
     Active: failed (Result: exit-code) since Tue 2024-11-19 23:30:34 JST; 1min 9s ago
   Duration: 46ms
    Process: 12546 ExecStart=/home/pi/ESP32-Auto-Programmer/build/esp32-program-shim.sh sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/ttyUSB0 (code=exited, status=1/FAILURE)
   Main PID: 12546 (code=exited, status=1/FAILURE)
        CPU: 46ms

Nov 19 23:30:34 raspberrypi-3b systemd[1]: Started esp32-auto-program@sys-devices-platform-soc-3f980000.usb-usb1-1\x2d1-1\x2d1.4-1\x2d1.4:1.0-ttyUSB0.service - Program ESP32 device attached to 'sys/devices/plat>
Nov 19 23:30:34 raspberrypi-3b esp32-program-shim.sh[12546]: /home/pi/ESP32-Auto-Programmer/build/esp32-program-shim.sh: line 5: DEVNAME: unbound variable
Nov 19 23:30:34 raspberrypi-3b systemd[1]: esp32-auto-program@sys-devices-platform-soc-3f980000.usb-usb1-1\x2d1-1\x2d1.4-1\x2d1.4:1.0-ttyUSB0.service: Main process exited, code=exited, status=1/FAILURE
Nov 19 23:30:34 raspberrypi-3b systemd[1]: esp32-auto-program@sys-devices-platform-soc-3f980000.usb-usb1-1\x2d1-1\x2d1.4-1\x2d1.4:1.0-ttyUSB0.service: Failed with result 'exit-code'.

The second issue was unrelated to the first one, we were starting the service for two devices. It's fixed with ef2f440.
There's no issue based on my checks, so I'll close this.


burn renamed photos direct from mergin/ignore_mobile/photos/resized to onedrive photos/sorted directories

working function built in https://github.com/NewGraphEnvironment/fish_passage_peace_2023_reporting/blob/main/scripts/01_prep_inputs/0120-photos.R for now

probably doesn't matter that photos renamed are lowercase extension .jpg vs upper case .JPG but we should watch for issues arising due to that later on.
ignore_mobile/photos/ was not added to name of photos in form_pscis_20230825_resaved.gpkg so need to add those

Left to do is to remove duplicate photos (renamed photos from Mergin are also present in photo directories with IOS images having completely different name from import to Mergin and android photos having label appended to original name)
can find duplicates based on exact match of date_created timestamp and another column

complete.


Date Overlaps with Icon and iconStyle's color has no effect

Hey Stephane
Firstly, Cheers for the beautiful work!
The issue I've been facing is with the date text. With every alternate VerticalTimelineElement the date text overlaps with the Icon (when the date is to the left and content to the right).
Also, in the following setting:
iconStyle={{ background: 'rgb(237, 123, 53)', color: '#11287f' }}
color seems to have no effect on the icon.

Could you provide a full example please ? screenshots ?

`import React, {Component} from 'react';
import { VerticalTimeline, VerticalTimelineElement }  from 'react-vertical-timeline-component';
import 'react-vertical-timeline-component/style.min.css';
const VALUES = [ "2019-04-01","2019-07-01","2019-10-01","2020-01-01"];
class Operations extends Component{
render(){
return(

 Timeline

<VerticalTimelineElement
className="vertical-timeline-element--work"
date="2019: April-July"
iconStyle={{ background: 'rgb(237, 123, 53)', color: '#11287f' }}
animate="true"
style = {{margin:"100px"}}
>
Init

        <VerticalTimelineElement
          className="vertical-timeline-element--work"
          date="July-October"
          iconStyle={{ background: 'rgb(145, 237, 53)', color: '#11287f' }}
          animate="true"

          >

Finding a rhythm

        </VerticalTimelineElement>

        <VerticalTimelineElement
          className="vertical-timeline-element--work"
          date="October-December"
          iconStyle={{ background: 'rgb(53, 237, 229)', color: '#11287f' }}
          animate="true"
          >

Pick up the tempo

        </VerticalTimelineElement>

        <VerticalTimelineElement
          className="vertical-timeline-element--work"
          date="2020: January onwards"
          iconStyle={{ background: 'rgb(111, 34, 171)', color: '#11287f' }}
          animate="true"
          >

Go for Gold!

        </VerticalTimelineElement>

      </VerticalTimeline>

);

}
}
export default Operations;`

https://ufile.io/43jl7

Github is rendering parts of the code im pasting.
Uploaded to uploadfiles.io as a .txt
https://ufile.io/n4njc

I think the problem is likely due to box-sizing: border-box
Maybe related to this issue : #3


Support for webRTC

@phoboslab
do you have in plan to support webRTC?

WebRTC is a totally different technology and is not related in any way to this project...


CI: Dump version info in nightly cluster based tests

Description
Per title. This information is not well exposed for each cluster flavor.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed

/test gke-upgrade-tests

/test gke-upgrade-tests

/test

/test ocp-next-qa-e2e-tests
/test ocp-4-11-qa-e2e-tests

/test gke-postgres-upgrade-tests
/test gke-race-condition-qa-e2e-tests

/test gke-postgres-scale-tests
/test gke-postgres-upgrade-tests
/test gke-race-condition-qa-e2e-tests
/test gke-scale-tests

/test gke-postgres-ui-e2e-tests
/test gke-ui-e2e-tests


Issue 287 inf norm

Description
Use inf norm instead of l2 norm in tests, get proper convergence (separating bulk from boundaries)
Fixes #287
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #294 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #294      +/-   ##
==========================================
- Coverage   97.71%   97.68%   -0.04%
==========================================
  Files          53       53
  Lines        3058     3061       +3
==========================================
+ Hits         2988     2990       +2
- Misses         70       71       +1

Impacted Files
Coverage Δ

pybamm/processed_variable.py
100% <ø> (ø)
:arrow_up:

pybamm/models/reaction_diffusion.py
100% <100%> (ø)
:arrow_up:

pybamm/spatial_methods/finite_volume.py
96.53% <0%> (-0.44%)
:arrow_down:

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 3d4fd7f...cd996f3. Read the comment docs.

Is this in reference to the solution of the spherical diffusion equation
with a symmetry BC at the core and a state-dependent flux condition at the
surface? I.e., the solid stransport problem? If so, then an analogous
finite volume treatment to the one we were discussing earlier on the week
would yield second order convergence internally, but would be limited to a
global first order rate owing to the extrapolation needed to impose the
flux BC at the surface. Does that make sense?

Jamie M. Foster,
School of Mathematics and Physics,
University of Portsmouth,
Portsmouth, Hampshire, UK (PO1 2UP).
Phone: +44 02392 846 356 (internal: 6356)
Email<EMAIL_ADDRESS>URL: http://ms.mcmaster.ca/~jmfoster/
On Thu, Apr 18, 2019 at 12:35 PM Scott Marquis<EMAIL_ADDRESS>wrote:

@Scottmar93 approved this pull request.
Looks really good thanks Tino. I think it would be good find out more
about the convergence we should expect from the spherical case (maybe
@jamiemfoster https://github.com/jamiemfoster knows more on this).
In tests/unit/test_parameters/test_update_parameters.py
https://github.com/pybamm-team/PyBaMM/pull/294#discussion_r276611125:

           T2[idx], Y2[:, idx]

       )

       self.assertNotEqual(np.linalg.norm(j1 - j2), 0)

   c1 = pybamm.ProcessedVariable(

       modeltest1.model.variables["Electrolyte concentration"],

       T1,

       Y1,

       mesh=modeltest1.disc.mesh,

   ).entries

   c2 = pybamm.ProcessedVariable(

       modeltest2.model.variables["Electrolyte concentration"],

       T2,

       Y2,

       mesh=modeltest2.disc.mesh,

   ).entries

   self.assertNotEqual(np.linalg.norm(c1 - c2), 0)

Is this assertNotEqual too strong? Is there an assert not almost equal
In pybamm/models/reaction_diffusion.py
https://github.com/pybamm-team/PyBaMM/pull/294#discussion_r276613503:

@@ -27,10 +28,15 @@ def init(self):
#
# Submodels
#

   # Load reaction flux from submodels

   j = pybamm.interface.homogeneous_reaction(whole_cell)

   # Use cos(x) as the source term

   x = pybamm.SpatialVariable("x", domain=whole_cell)

   j = pybamm.Function(np.cos, x)

   # Use uniform porosity

   epsilon = pybamm.Scalar(1)

I agree that it is good to test that the uniform porosity case converges
as n^2. Is there benefit to also testing the non-uniform/piecewise constant
porosity cases? It might help to isolate issues if the scheme convergence
as expected for the constant case but not for the non-uniform case.
In tests/convergence/test_spatial_methods/test_finite_volume.py
https://github.com/pybamm-team/PyBaMM/pull/294#discussion_r276623716:

       # Discretise and evaluate

       div_eqn_disc = disc.process_symbol(div_eqn)

       div_approx = div_eqn_disc.evaluate()

       # Return difference between approx and exact

       return div_approx - div_exact

   # Get errors

   ns = 10 * 2 ** np.arange(6)

   errs = {n: get_error(int(n)) for n in ns}

   # expect quadratic convergence everywhere

   err_norm = np.array([np.linalg.norm(errs[n], np.inf) for n in ns])

   rates = np.log2(err_norm[:-1] / err_norm[1:])

   np.testing.assert_array_less(1.99 * np.ones_like(rates), rates)

def test_spherical_div_convergence_linear(self):

Maybe @jamiemfoster https://github.com/jamiemfoster knows if we lose
quadratic convergence for finite volumes on spherical operators. If so
maybe the change of variables: u= r * c in the particles might be worth it?
(this only works when the diffusion coefficient in the particle is constant
though)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pybamm-team/PyBaMM/pull/294#pullrequestreview-228218223,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQDSJL37CKFSPNZHB73WOLPRBMJHANCNFSM4HGVZDSQ
.


Support defining and merging multiple configs

Is your feature request related to a problem? Please describe.
Woke only lets you define a single config file. It should support defining and merging multiple config, especially now that there is support for defining remote configs.
Describe the solution you'd like
woke -c https://example.com/config1.yaml -c https://example.com/config2.yaml -c local.yaml where all three configs are merged
Describe alternatives you've considered
Additional context
This will open up a lot of options for community-driven rule sets and allowing users to pick and choose which rules they want easily by choosing from an array of different configs. This will also enhance the "exclude category" feature even further https://github.com/get-woke/woke/pull/121#discussion_r683854571

My main use-case would be to merge curated rules. Besides the default rules I'd like to refer to other rulesets that are drawn from organizations focused on inclusive language or simple language. In my case I also want to check the Dutch language, which might not be relevant to all others. So besides merging complete configs, how about adding the ability to merge rulesets? A configfile might add more than just the wordlist which might be unwanted. Multiple rulesets would also make it easier to break up rulesets in sections for different use-cases. In terms of implementation I would then allow linking to local or remote rule files from the configfile, or allowing users to specify rulsets with one or more -r flags. Then again, just merging full configfiles would still work as long as people only specify the rules and leave out a config of ignore_files and success_exit_message.

In Woke Config Builder I use Conflate to combine multiple Yaml files into one. In the process I discovered that it is also convenient to combine ignore_files, so in that regard it makes sense to combine complete configs into one.


Scoped CSS is not working properly when extracted into a single file.

Known issue.

Any solution @egoist ?

Well, I still have no idea, but remove precss here solves it.


Unable to list the inscription for sale: Please sign and finalize the PSBT before submitting it

Description
Trying to list inscription signed from unisat wallet. when clicked on List Inscription for sale getting alert Please sign and finalize the PSBT before submitting it.

@orenyomtov yes, i'm using P2WPKH wallet type on Unisat

I get this bug too. I was using unisat on taproot (See bug https://github.com/orenyomtov/openordex/issues/105), so I read this bug and the comment above, and set unisat to PW2PKH. But then I couldn't list because of this bug.

I just fixed the nostr relay, it had an expired SSL certificate, does it work now?


Proposal for managing the status of meeting locations and attendance options

This proposal needs to be flushed out, and I'll continue to work on that over the next couple of days.
Problem Statement
Many TSML users have requested more options for characterizing meetings and locations, and being able to display meetings by those characterizations. Today, our specification does not adequately capture the data necessary to track and filter meetings or locations that meet the characterizations desired by our users.
Discussion
The characterizations most commonly requested fall into these broad groupings:

In-person This is our traditional meeting approach. Prior to the pandemic, any meeting data in TSML, Meeting Guide, and other apps implementing this spec were in-person. This was the default and did not require any additional explanation.

Online/Virtual These meetings have been in existence for decades, but the pandemic caused their prominence to sky-rocket as physical meeting locations closed. Prevailing beliefs are that online/virtual meetings managed by geographical districts, intergroups/central offices and areas are here to stay. (Please see this proposal).

Hybrid Most often described as simultaneously happening at a physical location and through an online service such as Zoom. While it remains to be seen how successful these will be, or if the approach will remain in the long run, feedback from users continues to include management of hybrid meetings.

Location Issues The pandemic raised awareness of a challenge many groups routinely face: meeting locations change or become temporarily unavailable due to weather impacts, host scheduling, or government intervention. These changes are normally temporary, but could be permanent.

Filtering/Display Webmasters continue to raise this issue in many forms. They want the ability to easily create and display meeting lists based on criteria that makes sense to the end user.   Filtering by type is adequate for situations where a user wants to limit the display of meetings provided in a list. However, this isn't ideal for users who want to only list meetings that are online while also adding their desired meeting types (eg., mens meetings that offer babysitting). Further, because of how types work (implemented?) in Wordpress, we would need to add an explicit type for every possible scenario, thus making the list of types more unwieldily.

While those users providing feedback to Code for Recovery often provide their solution ("Add a hybrid meeting type!") as the issue, ultimately it is this last characterization (filtering and display of information) we should focus on with the UX.
A large number of options in a single category (i.e., our types field as it exists today) reduces the effectiveness of the data used therein, and makes it harder for users to experience consistent and predictable behavior from the app.
Suggested Spec Changes
Add an attendance_option field for each meeting and provide three choices: 'in-person', 'online', or 'hybrid'. Default: 'in-person'.
Building on the draft 2.0 specification proposal calling for online-only-meetings, remove the geographical address dependency for any meeting with attendance_option set to online. If a meeting has attendance_option set to 'hybrid', require the meeting to be linked to a location.
Clarify the requirement to identify the service entity responsible for the tracking the online meeting information (e.g., Area 68, District 12). (It isn't clear to me how the draft v2.0 spec would handle this issue)
Add a location_status field with two choices: 'normal', 'temporarily_closed'. The expectation should be that location_status automatically applies to all in-person and hybrid meetings at that location. Default: 'normal'
Add a meeting_status field with two choices: 'normal', 'temporarily_suspended'. The expectation should be that meeting_status only applies to the specific meeting without impact to the remaining meetings at a particular location. Default: 'normal'.

Can CSO provide a listing of geographic boundaries (lat/long) that can be incorporated?  That way if a location is falling within a specific boundary, it automatically becomes the responsibility of that area/district.
Will there be code/checks in place to ensure that a meeting with a status as "Online/Virtual" has (if it has a location set) its location status to 'temporarily closed'?  If type is set and the location is not changed, it will present confusing information to the end user.
Strictly speaking, regardless of pandemic or not, when having these options for meeting type, the location info should be representative of the type.  So ...
In-Person : has actual address info user can go to, location status reflected, meeting status should be reflected.
Online/Virtual : can have option of actual address, but we should allow non-entry for address as well.  if there is an address, then location status should be reflected; otherwise, we should leave that entry either as empty, none, null.  meeting status should then be required.
Hybrid : this type is for both, so we should have all info there, actual physical address, location status - should not be temporarily closed, meeting status should not be temporarily suspended.  having either of those selected beggars the question.
Location Issues : this can be a challenging category, but one that can be addressed with the address field containing a contact number nad information indicating that because the status, the location may change and we advise calling the contact number in advance to ensure that the meeting has not been moved.  we should also then include a note that meetings of this type are not guaranteed to be at the location we are presenting -- all that info is at the behest of the individual/groups wanting the data presented.
Filtering/Display : the above 4 are not meeting types (strictly speaking) but location types - as they all involve an element of a meetings location/physical address (the meetings content drives the meeting type, while the context of getting to it drives the location type [ie .. I can no longer drive there, so I attend virtually]) ... so why not create them as location types and then leave meeting types they way they are, that way our end customers can select the desired location type and then select the desired meeting type.

Hi @jcookson-infoblo,
So I think my draft proposal may have caused some confusion. I don't view any of those four listed groupings as meeting types, rather they are subjects that have come up repeatedly in feedback.
I don't consider them location types either because, quite simply, a type of "suspended" or "closed" doesn't make sense to me.
My proposal is to view this with essentially two new categorizations: 1) status (needing to capture locations and meetings separately); and 2) attendance options (users can attend the meeting virtually, in-person or either way (i.e., hybrid)).
I believe location and meeting statuses need to be understood separately for the reasons I offered above. To elaborate, a location that has been shut down should automatically cause the suspension of all in-person meetings at that location, while leaving the online attendance option available if a particular meeting provided both online and in-person attendance options (i.e., hybrid). However, a single meeting that is temporarily suspended doesn't necessitate stopping all meetings at that geographical location. You are correct that a meeting that is temporarily suspended doesn't automatically shut down the online attendance option if the meeting had been a hybrid.
Writing this has caused me to come to another solution that might be easier to implement and makes filtering/display of meeting lists quite doable:
For location data:
"location_status" : "normal" | "suspended"

For meeting entries:
"attendance_options" : "in-person" | "online" | "hybrid" | "temporarily_online_only"

Note: I suppose a 5th attendance option for a specific meeting could be "temporarily_suspended" meaning no in-person or online meetings are happening. I'll need to think through that some more.
This revised approach would reduce our new data fields to two (vice three) while still providing good control over how to filter or produce meeting lists. The temporarily_online_only choice would allow a meeting to be flagged by the client, and could be used in a situation where the meeting itself had to be temporarily suspended (typically because the host needs the room/building for another purpose during that time) but during which other meetings at that location remain on schedule. If this option is chosen, and the meeting's previous attendance option had previous been in-person, entry of online details would be required.
As far as CSO's choosing the geographic bounds, I'm not 100% how GSO does this, but I'd urge caution with letting any one entity choose. I've seen a handful of situations in my travels in which a CSO (and in one case, an Area) has assumed reporting responsibility for smaller areas who did not see it as under the CSO's/Area's purview. I would not say it has been a huge issue, but it one that should be avoided. My experience is that it leads to less accurate data and duplication which confuses users. I'm not sure I have a solution to this, but I think service entities should probably be identified in the data, and some algorithm devised that prioritizes the input.

Thanks @tech2serve -- it's a challenge to reply to such a broad support ticket. Perhaps this would be better as more targeted tickets? I'll reply to as much as I can and revisit later.

First I'd point out that this spec only describes the interchange format, not the internal data model. It's totally ok to add more metadata to your meetings in TSML. I'll get into an example of this with the In Person / Hybrid answer. What this describes is just what's the most clear and succinct way to describe meeting information from one system to another so that no data gets lost.

For the sake of time I can't get into a full review of everything in the 2.0 spec, but I'm happy to try to talk about pieces of it. This is currently a flat array of meetings and I think it should stay that way for now. You referred to it in the context of the online meeting question (great question) and I think there are better ways of enriching the data than walling off "online only meetings" in their own array.

I agree with your larger point about meeting types, and think there are too many of them generally. There have been a number of proposals to also break them up into cadres, like facility info vs demographic info vs meeting format, etc. I think this is an example of something that could be done on a per-app basis and doesn't have to be done in the spec itself.

geographical address dependency: we talked about this a bit on a previous Zoom call, but I believe that location metadata is important for every meeting, including online meetings, and so to that end Meeting Guide now supports approximate locations, eg San Francisco, CA. A help document is in the works that will discuss this in further detail, but the gist of it is this: when a participating group has a meeting that meets online, they should provide an approximate location, such as a city or county, that is within their service area. This meeting will get picked up by the app but be treated slightly differently: it won't show a distance to the meeting and won't show the directions button. 12 Step Meeting List has always supported approximate addresses, but it'd be terrific if it could make some adjustments in how it displays them, so I created a ticket for that.

Thanks @tech2serve -- it's a challenge to reply to such a broad support ticket. Perhaps this would be better as more targeted tickets? I'll reply to as much as I can and revisit later.

My goal was to get a comprehensive starting point and to flush out some of the issues. I agree that we can break this into actionable tickets once we have more consensus. Could also do through PRs of @FlipperPA's draft I suppose?

First I'd point out that this spec only describes the interchange format, not the internal data model. It's totally ok to add more metadata to your meetings in TSML. I'll get into an example of this with the In Person / Hybrid answer. What this describes is just what's the most clear and succinct way to describe meeting information from one system to another so that no data gets lost.

Understood. Although there are some questions I have about implementation for Meeting Guide that I'm sure will come out in the discussions. One is (to baseline the conversation) what version of the spec is current with Meeting Guide today?

For the sake of time I can't get into a full review of everything in the 2.0 spec, but I'm happy to try to talk about pieces of it. This is currently a flat array of meetings and I think it should stay that way for now. You referred to it in the context of the online meeting question (great question) and I think there are better ways of enriching the data than walling off "online only meetings" in their own array.

Concur. To a large extent, I wanted to acknowledge the existence of the v2.0 draft.
To what extent would adding the attendance_option field (in the spec) solve our ability to handle the types of issues users are having regarding online meetings/hybrids/etc? For a client app, I believe it would add a lot of flexibility, but I'll come back to that in a moment.
Although the questionnaire has only been out for a couple of days, early responses (all of which will be shared with the team) overwhelmingly make this the top issue. And many of those responses reference both TSML and the Meeting Guide app.

I agree with your larger point about meeting types, and think there are too many of them generally. There have been a number of proposals to also break them up into cadres, like facility info vs demographic info vs meeting format, etc. I think this is an example of something that could be done on a per-app basis and doesn't have to be done in the spec itself.

The only break up I want to focus on now (imo) is to improve a client app's ability to filter and display data; and I would like to be very stringent about adding more. IMO, this means pulling categorizations related to online and location status out of types and into other fields.  A nod towards changes on a per-app basis...but in order to be correctly handled by Meeting Guide, we'd have to revert much of the information back to types for the JSON feed. Doable? Sure. In the long run that becomes more to maintain...I think.
All of that said, I also recognize we have to get GSO on board with any changes to the spec :-). So, perhaps that is the best way. We'll discuss changes with TSML and go from there. 🤷♂

geographical address dependency: we talked about this a bit on a previous Zoom call, but I believe that location metadata is important for every meeting, including online meetings, and so to that end Meeting Guide now supports approximate locations, eg San Francisco, CA. A help document is in the works that will discuss this in further detail, but the gist of it is this: when a participating group has a meeting that meets online, they should provide an approximate location, such as a city or county, that is within their service area. This meeting will get picked up by the app but be treated slightly differently: it won't show a distance to the meeting and won't show the directions button. 12 Step Meeting List has always supported approximate addresses, but it'd be terrific if it could make some adjustments in how it displays them, so I created a ticket for that.

Thank you for that! We're in agreement about keeping online meetings tied to a geographical area/region/district/office.
And thanks for the convo.

My sense of attendance_option is that it reflects an interface change that's needed both in TSML and Meeting Guide, but as an API change it would introduce ambiguity.
Interface Change
I find myself looking at a meeting list (TSML and MG) and immediately wondering 'are there any in-person meetings here yet'? It's not easy to tell! You have to look for the absence of something (address not crossed out). I think there should probably be a new dropdown. If I were designing it the options would be:

Online + In-Person (default)
Online
In-Person
Both (Hybrid)

I would try to leave out the last option but I realize it's a popular request. I just can't picture the person who is looking for a meeting and wants specifically to find a meeting that has both options.
API Change
As an API change, adding an attendance_option key introduces ambiguity. Right now, the "Online Meeting" type isn't respected when importing, that's only set by the importer (Meeting Guide or TSML) when conference_url and/or conference_phone are present. That's because we don't want meetings to be "online in name only" -- we want them to have actual, usable information. It's for the same reason we don't import in-person meetings without an address. What good is listing it then?
By the same token, what if a meeting in a feed has attendance_option set to Online or Hybrid but no conference_url or conference_phone set? Shouldn't we then ignore it? Or what if it's set to In-Person but conversely there is a valid conference_url or conference_phone? Wouldn't that be extremely confusing if we didn't ignore it?
For these reasons I think that this request is reflects a real need in the UI of both the plugin and the app, but would not be a good addition to the spec.

I'm not sure what this is in reference to

Clarify the requirement to identify the service entity responsible for the tracking the online meeting information (e.g., Area 68, District 12). (It isn't clear to me how the draft v2.0 spec would handle this issue)

Each feed is provided by a single service entity, and to list a meeting in a feed is to assert responsibility.
I think @FlipperPA's intent in having an entity key present in his 2.0 spec was as a way to signal to the importing organization what the proper name of the service entity is, because that does change from time to time. Servants have to email GSO, for example, if they want their listing in Meeting Guide updated (name, email, phone, etc) and having it here might be more efficient.

So I agree with the idea that online meeting information must include a URL or a phone conference number at a  minimum, or it doesn't register as an online . And I do see how there is a way to make it work based on what fields are filled it.
Can you elaborate please about how you distinguish "Online + In-person" from "Hybrid"? My sense from interactions with users and the questionnaire is those are the same to them.
As far as ambiguity, I'll have to ponder that some more.

Just came upon this and am going to reiterate the bit of back and forth btw myself and Tim on Slack upon my learning about this. I would want more user info before weighing in with a proposed solution or even change given the limits of labor available to address anything even CSS and cosmetic stuff. It's a lot easier and cheaper (labor) to do a cheap fast easy 5 user test first. Tim's gonna send me link to list to look at and then, unless there is some strong objection, I will do a little user test. Before you say 'no', understand: you won't need to do a thing and yes, I'd just come back and report on what I learned. In other words, nope - you don't have to do anything.

Hey @tech2serve I was thinking that:
Online + In Person = All meetings
Online = All online and hybrid meetings aka any meeting the user can go to online
In-person = All in-person and hybrid meetings aka any meeting the user can go to in person
Both = Hybrid meetings

I think we've agreed at this point that the spec doesn't need to change, although many of the ideas in this ticket were adopted on the front-end.


mp4 video bitrate setting has no effect

video bitrate for mp4 encoder has no effect at all on the encoded video's bitrate
tested using the h264 win7 x64
maybe expose more of the h264 encoder settings on the MP4Recorder

win10 x64 with unity 5.5, same issue +1

isaint seems to have a new dev branch with webm support .. I tried to get it working, didn't get far.. maybe you can try and see if its improved things.

same here. Windowns7 unity5.4.2
videos are created 300-800kbps.

I changed below code and got good quality mp4 file :)
 param.iRCMode = RC_BITRATE_MODE;
to
param.iRCMode = RC_QUALITY_MODE;
at Plugin/Encoder/fcOpenH264Encoder.cpp LINE:94
but yet bitrate value doesnt work.

I think that SEncParamExt inteface is needed to work bitrate value.
setting is like this.
param.iRCMode              = RC_OFF_MODE;
param.iNumRefFrame         = 1;
param.bEnableAdaptiveQuant = false;
param.bEnableFrameSkip                     = true;    // true: need for set bitrate

but SEncParamExt has many parameters and confusing. If anyone knows, please tell me how to set SEncParamExt as  SEncParamBase default.

fixed in recent versions.


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


yarn clean:build or any command that depends on it fails on Windows

Expected Behavior
yarn clean:build shouldn't fail or any command that depends on it (like yarn build).
Current Behavior
yarn clean:build or any other command that depends on it fails.
Failure Information (for bugs)
There is no rm command on Windows obviously. What should a Windows user do if he/she wants to contribute to this project? Maybe CONTRIBUTING.md should be updated with more details?
Steps to Reproduce

Clone this repository
Run npm install
Run yarn build or yarn clean:build or npm run build or npm run clean:build, etc.

Context

Jimp Version: 0.14
Operating System: Windows 10
Node version: 12

Failure Logs
'rm' is not recognized as an internal or external command,
operable program or batch file.

Running yarn build works on Windows with Git Bash rather than CMD.
Although, I'm running into other issues, might be unrelated though.


Make maxWaitTimeAfterFirstMessage configurable for Servicebus Receive function

Feature Request
The field maxWaitTimeAfterFirstMessage in https://github.com/Azure/azure-sdk-for-go/blob/47db7e2935fc81ededd911e1b268c8729d5af38d/sdk/messaging/azservicebus/receiver.go#L150 should be made public so that I can use batch receives with a latency below 1 second.

Let me see what the team thinks, but I agree it'd be useful.

This spurred some interesting discussion in our team, so thank you for submitting it!
In the immediate term, I've changed the the default wait time after first message to 20ms, rather than 1 second. We've got some good practical evidence (given that this is the value that the .NET stack uses) that this should work better in practice.
This will be released in the next beta (coming out in the next few days).
Longer term, we're still discussing if the underlying algorithm so we won't be exposing the setting publicly.

(moving to backlog as this hasn't resurfaced as a customer issue and we're just matching the existing timeout that appears to work well in .net)

Closing - we ended up making this flexible so you can configure it fully in #22154


When I train first model, It does not create mappings.pkl

in model_tensorflow.save_mappings
if overwrite_mappings is off(0) and the mapping file does not exists,
It does not create new one.
So the flow must be like
if not exists(mapping_file):
    create_one()
else:
    if overwrite_option:
        create_one()
    else:
        #handle_unexpected_behaviour
        #or dismiss?

Thank you for your attention.
I believe it's fixed with the commit above.


Bug: Rounded corners are removed form the Button when you set the Style to null

Describe the bug
The rounded corners of a Button are removed when a Button has a Style (for example the AccentButtonStyle) and you remove it by setting the Style property to `null'.
This issue is also in WinUI 2.7, see https://github.com/microsoft/microsoft-ui-xaml/issues/6156
Steps to reproduce the bug
Create a new UWP project and add Microsoft.UI.Xaml NuGet package.
Add the following code to the MainPage.xaml
    <StackPanel HorizontalAlignment="Center"
                VerticalAlignment="Center"
                Spacing="12">
        <Button Click="Button1_Click"
                Content="Button 1" />
        <Button x:Name="button2"
                Content="Button 2"
                Style="{StaticResource AccentButtonStyle}" />
    </StackPanel>

public sealed partial class MainPage : Page
{
    public MainPage()
    {
        this.InitializeComponent();
    }

    private void Button1_Click(object sender, RoutedEventArgs e) {
        button2.Style = null;
    }
}

Run the app and click Button 1
Expected behavior
The Button 2 should have rounded corners
Screenshots
The app starts like this.

If you click Button 1 the rounded corners are removed from Button 2.

NuGet package version
Microsoft.WindowsAppSDK  Version 1.0.0-preview3
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
No response
Additional context
No response

Dupe of: WinUI2.7 Rounded corners are removed form the Button when you set the Style to null #6156


Fully asynchronous request handling

#727 made the Shake queue able to concurrently handle more than one rule, but ghcide still handled LSP requests sequentially. This change makes the LSP handler multi-threaded, so now ghcide no longer blocks while e.g. computing an expensive code lens.
This change also adds a custom request protocol for testing, which can be generally useful. For instance, tests can now query the location of the interface files cache dir which will be useful for testing #760
Reviewers - things to watch for:

New space leaks
New race conditions

To do:

[ ] run benchmarks

Looks good to me. Now let's see how many tests break because of the ordering of messages...

/azp run

The test suite is failing because the new CustomHandler responds to a message sent by testSessionWait in a way that lap-test cannot parse.
The message that causes the issue:
https://github.com/haskell/ghcide/blob/597a0c5d0edf9d1ad4b80184080597ec8d4cf255/test/src/Development/IDE/Test.hs#L61
I've raised this up in the lsp-test issue tracker https://github.com/bubba/lsp-test/issues/73

Maybe we can merge after marking the test as known broken.

It's all the tests that use testSessionWait

Early benchmarks not looking good - edit performance is much slower. There is increased memory usage but that seems to be a regression upstream

What is master, upstream, upstream1 and upstream2?

What is master, upstream, upstream1 and upstream2?

I'll publish the whole benchmark artifacts once they are ready. In that screenshot:

Master points to v0.3.0 in my repo
Upstream/master is Haskell/ghcide:master
Upstream1 is upstream~1
etc

After re-running the benchmarks in an isolated non-throttling CPU it looks like this branch does not introduce any time or space regression. Will upload full results shortly.
I have opened #771 to address the pre-existing space leak.

/azp run

The tests are now passing after upgrading to a fixed lsp-test version.
The artefacts from the ghcide_bench_linux_stack pipeline show no change in memory usage. There's also no significant change in time usage, but this not a reliable measurement since the benchmark runs in a shared environment.
Local benchmarks do show a 10% time decrease in the edit experiment.


ES modules is not supported

I'm using Typescript to import OpenAI, and am getting the above error.
OS: Mac OS 11.6
NPM: v6.14.15
Node: v14.18.0

This package stopped supporting CJS at v1. Change your project to ESM or install the 0.0.9 version.

This package stopped supporting CJS at v1. Change your project to ESM or install the 0.0.9 version.

How can we access the 0.0.9 verison? yarn and npm install show only 1.1.1 and 1.1.2.

How can we access the 0.0.9 verison? yarn and npm install show only 1.1.1 and 1.1.2.

Use the old name and it will work:
npm install<EMAIL_ADDRESS>

How can we access the 0.0.9 verison? yarn and npm install show only 1.1.1 and 1.1.2.

Use the old name and it will work:
npm install<EMAIL_ADDRESS>

same problem :(

same problem :(

Have you tried the suggestion above?

Same issue. Won't change project to ESM just because of this package.

The new package name doesn't have a 0.0.9 version.
https://www.npmjs.com/package/gpt-x?activeTab=versions


vflow AppBIFlow: Include Octets sent/received

Application BIFlow records do not include octets sent/received. This is something we previously were able to display in the console and that may be worth investigating if we have not already.

PR to Add BiFlow for HTTP/2


Authetication

Hi Team,
Is there any API for bently login, in that we pass userName and password and get token as response.
We dont want to use imdelSelector

⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking

LINK: Authentication---imodeljs-clients-backend-link-to-docs
TAG: imodeljs-docs-question
SOURCE: https://www.imodeljs.org/reference/imodeljs-clients-backend/authentication/

In iModel.js 1.12.0, you can use OidcDesktopClient for this purpose. It will spawn a web browser to authenticate the user, but if your scope includes "offline_access" it will cache that credential for 30 days so the authentication will be silent.
async function signInWithDesktopClient(config: OidcDesktopClientConfiguration): Promise<AccessToken> {
  const requestContext = new ClientRequestContext();
  const client = new OidcDesktopClient(config);
  await client.initialize(requestContext);

  return new Promise<AccessToken>((resolve, reject) => {
    client.onUserStateChanged.addListener((token) => {
      token ? resolve(token) : reject(new Error("Failed to sign in"));
    });
    client.signIn(requestContext)
      .catch((err) => reject(err));
  });
}

I am using this now
await launchIModelSelector({
exe_path: "node_modules//@bentley//imodel-selector//lib//iModelSelector-win32-x64",
client_id: clientId, only_signin: true, scope, response_type: "code",
}).then((data) => imodelSelectorData = data).catch((alert) => {
logError(Error loading iModelSelector.  + alert);
return;
});
if (!imodelSelectorData) {
logError("Login Failed");
return;
}
await imodelSelectorData.getAccessToken()
.then((data) => accessToken = data)
.catch((alert) => {
logError(Unable to retrieve access token.  + alert);
return;
});
}

But i want some type of API where we send userName and password and in response it will give me token
Is there any API or anything by that we can use? @mgooding

in which module this OidcDesktopClientConfiguration available as m getting error

in which module this OidcDesktopClientConfiguration available as m getting error

OidcDesktopClientConfiguration is in "@bentley/imodeljs-common" as of iModel.js 1.12.0.

But i want some type of API where we send userName and password and in response it will give me token
Is there any API or anything by that we can use? @mgooding

No, for security reasons we intentionally do not offer such an API for interactive applications. The silent sign-in offered by OidcDesktopClient is the closest we will offer.
An application running on a server could authenticate as an Agent, which involves using stored credentials. However, it would be dangerously insecure to work this way as a desktop application because it would involve distributing your client's credentials. We strongly recommend against this approach.

If you upgrade to using OidcDesktopClientConfiguration, you should be sure to update all @bentley dependencies in package.json to 1.12.0.  Also, @bentley/imodel-selector should be updated to 1.0.20.

ihave done that but getting error in OidcDesktopClient (cannot find name)

Actaully we have the following requirement  :

Currently imodelSelecter started in web browser and stored credentails in system and then call unity to start
But we want to pass userName and password through unity app

Getting error in OidcDesktopClient after updating package.json dependecies

Actaully we have the following requirement :

Currently imodelSelecter started in web browser and stored credentails in system and then call unity to start
But we want to pass userName and password through unity app

Per our security requirements, we cannot provide a recommended workflow with this behavior. Because an embedded web browser will not have the latest security updates and may be compromised, authentication must be done in the system web browser.

Getting error(cannot find ) in OidcDesktopClient after updating package.json dependecies

import { OidcDesktopClient } from "@bentley/imodeljs-backend";
import { OidcDesktopClientConfiguration } from "@bentley/imodeljs-common";

This should work on iModel.js 1.12.0. If you get an error with these imports, please post it.

Module '"../../../../../Projects/Hatch/iModelViewer/node/node_modules/@bentley/imodeljs-backend/lib/imodeljs-backend"' has no exported member 'OidcDesktopClient'.ts(2305)

Dependency detail"
"dependencies": {
"@bentley/bentleyjs-core": "1.12.0",
"@bentley/geometry-core": "1.12.0",
"@bentley/imodel-selector": " 1.0.20",
"@bentley/imodeljs-backend": "1.12.0",
"@bentley/imodeljs-clients": "1.12.0",
"@bentley/imodeljs-clients-backend": "1.12.0",
"@bentley/imodeljs-common": "1.12.0",
"@bentley/logger-config": "^1.12.0",
"@bentley/presentation-backend": "1.12.0",
"@bentley/presentation-common": "1.12.0",
"@types/bunyan": "^1.8.6",
"@types/faker": "^4.1.9",
"axios": "^0.19.2",
"bunyan": "^1.8.12",
"faker": "^4.1.0",
"log4js": "^6.1.2",
"pause": "^0.1.0",
"protobufjs": "~6.8.8",
"ws": "^6.2.1",
"yargs": "^12.0.0"
}

Hmm, it's definitely exported in iModel.js 1.12.0. See:
https://github.com/imodeljs/imodeljs/blob/master/core/backend/src/imodeljs-backend.ts#L55
https://github.com/imodeljs/imodeljs/blob/master/core/backend/src/oidc/OidcDesktopClient.ts#L34
I'm guessing something is awry in your node_modules directory... I would probably blow it away and install packages again:

Close any open instances of your iModelViewer backend.
rd /s /q node_modules from the command line in your Projects/Hatch/iModelViewer/node/ directory.
Run npm install to reinstall dependencies then npm run build.


Ended event is not trigger sometimes on flash fallback

Sometimes flash does not trigger "ended" when sound has finished. I see results as below when i check duration and currentTime on chrome;
player.duration
190.2
player.currentTime
187.96408163265303
As it is seen currentTime hasn't reached to end of duration but it is stopped there. I corrected duration parameter is 190.2 when it is used by html 5 audio feature.
I can not currently understand why it is not progressing until end. I tested this on chrome by using Windows 8.1 and Latest Mac os x with flash version 12. Do you have any idea why this happen ?

@YakupIpek Closing old issues. If you'd like to reopen this, let us know. Thanks!


Investment return calculator

Problem Description:
It predicts future returns when you place money in stock ,bonds or mutual funds based on past market data and does a predictive analysis.
Model Description:
I will be using stock market dataset and s&p 500 dataset to work on this .
Different functionalities -
I will use pandas to extract all details of dataset .
Use linear regression models and understand best activation function suitable for such dataset .
Plot graphs to visualise analyze like histograms ,scatterplot,scattermatrix
I need 3 days for this work .I will be doing this under gssoc and hacktoberfest .
Please assign me this task .

Sure, Dipanwit, go ahead! Also, do read the tutorial and follow the project structure.

Updates @DipanwitSen ?


using trie enhance dubbo route.go

using trie enhance dubbo route.go

Codecov Report

Merging #310 (4b9593a) into develop (737b896) will decrease coverage by 0.10%.
The diff coverage is 61.44%.

@@             Coverage Diff             @@
##           develop     #310      +/-   ##
===========================================
- Coverage    36.10%   35.99%   -0.11%
===========================================
  Files           55       55
  Lines         3293     3303      +10
===========================================
  Hits          1189     1189
- Misses        1985     1992       +7
- Partials       119      122       +3

Impacted Files
Coverage Δ

pkg/common/router/trie/trie.go
67.02% <0.00%> (-4.17%)
:arrow_down:

pkg/router/route.go
66.96% <70.58%> (+0.29%)
:arrow_up:

pkg/filter/http/apiconfig/api/discovery_service.go
42.42% <75.00%> (+1.01%)
:arrow_up:

Continue to review full report at Codecov.

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

plz fix ci problem


Improve Form

What problem does this feature solve?
Before solving this issue, we should design the new spec of the property. #251
related issue: #211
The new Form should improve these points:

Better array and object editor. Array editor should support different types of elements(string, object, any...)
The special forms like FetchTraitForm should use the same form widgets as other normal forms.
The Form widgets can collapse.
The Form widgets can be grouped and ordered.
The Form widgets can display title, description...
#250 Can auto-scroll to an input.

What does the proposed API look like?

Better array and object editor. Array editor should support different types of elements(string, object, any...)

What's the expectation of this improvement?
Currently, the ArrayField consists of some array-related operation UI and bypass nested schema to a SchemaField, which will recursively render form fields by the schema.

Can we support conditional form. For example in table column form, a column has many types and each type has its own property. Can we show different fields according to the value of type?

The special forms like FetchTraitForm, EventHanlderForm should use the same form widgets as other normal forms.

@tanbowensg  Can the PR's changes meet this point? If yes, I mark it to complete.

The remaining issues has other individual issues, so I close this issue.


how to set style_img_dir

Hello. You said in the readme that we can replace the source class and target class with style_img_dir. But how to do it in practice? Two different img paths assigned to the same option?

When you use the style_img_dir you don't need to specify a source or target class.
Instead of using textual directions, it replaces the source point with the average CLIP-embedding of images generated with the original generator, and the target point with the average CLIP-embedding of the images in the style_img_dir.
In practice: just use --style_img_dir to specify a directory with examples of your desired target style, and the source is automatically taken from your generator.

When you use the style_img_dir you don't need to specify a source or target class.
Instead of using textual directions, it replaces the source point with the average CLIP-embedding of images generated with the original generator, and the target point with the average CLIP-embedding of the images in the style_img_dir.
In practice: just use --style_img_dir to specify a directory with examples of your desired target style, and the source is automatically taken from your generator.

Hello, I am not clear that we just add --style_img_dir without removing -- source and --target class?

You can remove them if you want. --style_img_dir should be overwriting them anyhow.


Fix user's ability to scroll menu with sections

Closes https://github.com/orgs/adobe/projects/19/views/4?filterQuery=scroll&pane=issue&itemId=45329096
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Test that menus with sections are scrollable on iPad. Also test that other aspects of prevent scroll behavior still work as expected. In particular, try the top level RAC docs examples
🧢 Your Project:
RSP

I'm fine going either way, but IMO since getScrollParent's new flow only happens if you pass checkForOverflow + it only happens here in usePreventScroll on iOS on touch start, it shouldn't be that much more expensive.


Refactor navbar with ember-bootstrap

Refactor all navbars, since we use the ember-bootstrap addon.

Closed with d145bf8.


Connection issue.

Hello,
I found your code helpful for trying to recover a number of Cisco Switchs during a merger. However, I'm trying to identify a solution to a problem that I am facing. I am using an index file containing a number of known username:password combinations. When I launch the script it runs as expected and passes the first username and password combination. After sometime the switch rejects the username and password and then the script reports that its trying the second user in the index file. Here is the output I see.
sferris@ip:~/recover> python ./telnet_login.py <IP_ADDRESS> test.txt
[+]     Port 23: Open
[-]     Port 23: Connecting...
Opening... test.txt
[+] Trying user:        administrator1
[+] Trying password:    passwword1
[+] Trying user:        administrator2
[+] Trying user:        administrator3
[+] Trying password:    password3
I never see password number 2 as it moves from username2 directly to username3 and after the third failure the switch drops the connection, but the script just hangs and I am forced to break out of it.
I am running this script on a know working device as a test so in my index file of usernames and passwords the fourth line contain the correct combination, so if I re run the script it logs in and notes the correct username and password.
Any idea why the script would jump the second password and go right to the third username? Also, why the connection would not timeout after the session drops so that main starts back up?

Hi, probably it is a limit connections per second from the cisco side...
Are you trying the script on Windows or Linux ?
please try to connect manually to the telnet port inmmediatly when the code hungs just to see if there is a problem with script run enviroment or if is problem from the cisco router.
Please try to google about login credential recovery on cisco switches, there is probably a way to recover/blank them using serial-db9 or something, or even opening the cisco switch and serial-ttl directly to the main board maybe.
there are also other telnet-brute force scripts out there:
https://github.com/lochv/telnet-bruteforce
https://github.com/dtrinf/telnet-bruteforce
and there is also tools like THC Hydra that I mention on the README.md
but this scripts helps on the code verification part.
There are usually some brute-force prevention methods, conections per second limit, verification codes (like that one that it is acts like a captcha), etc.
some times the connections per seconds are tied to remote IP, so you could assigns several IP's to your linux iface and rotate them in each try to connect to telnet.
Please if you need further help on this don't heasitate, ask again.

Thanks for your quick reply. Looking deeper into this I think the issue is what is being expected. So I' am running your code from a Debian based os, Below is a result of a telnet session..
User Access Verification
Username: dfg
Password:
% Authentication failed
Username:
Here is the output of that through your script with Debug turned on.
Telnet(<IP_ADDRESS>,23): send 'password1\n\n'
Telnet(<IP_ADDRESS>,23): recv '\r\n\r\n% Authentication failed\r\n\r\nUsername: '
[+] Trying user:        administrator2
Telnet(<IP_ADDRESS>,23): send 'administrator2\n'
Telnet(<IP_ADDRESS>,23): recv '\r\nUsername: '
[+] Trying user:        administrator3
What I think is happening here is the code is reading until : from this line
while True:  # while requesting input
response = tn.read_until(":", 1)  # until input request
Thank you for your advice. Yes I can recover the switches if I visit each remote location and power the switches off and preform password recovery on them... trying to avoid that since I have a list of possible username/passwords. I will look at the other tools you noted.

It could sound kind of obvious but are you completely sure that you forgot the password and it is not other problem? I think that Cisco central management console it can disable telnet login to users on devices, and sometimes switches failback to default credentials, some time I had a bad cisco switch that even when I put valid credentials after some time i could not login into web ui and have to try with cisco:cisco or admin:cisco and it worked...


PROPOSAL - Produce a Teleworking Package

PROPOSAL for a new milestone
GOAL: Create a teleworking package to make it easier for ESDC employees to telework.
This issue was created after the monthly IT Strategy meeting with the DG when it was raised that the pandemic created new ways of working and collaborating. The concern is to lose these modern ways of working when work will normalize again.
The teleworking package would look at:

[ ] Create an easy and intuitive request for teleworking
[ ] Provide onboarding suite of tools (e.g. laptop, headset, access to remote tools)
[ ] Provide intuitive guidance for remote employees (e.g. online resources, best practices to follow)
[ ] Provide intuitive guidance for managers (e.g. deliverable-based management, not throughput)

In addition to this (with a similar goal)
Could use the application whitelisting app for this? Add a field with something like "willing to remain fully remote post COVID19" or "Willing to release desk located at 22 Eddy post COVID19"
Then we can use this list and compare it against their desk. Use this report to rearrange folks and try and "empty out" sections of buildings to be dropin desks (ie, not allocated to any given person), essentially start turning buildings in to workplace 3.0, resulting in increased numbers of folk able to continue working remotely.
Later could manage through Odoo, or o0365 plugin, and automate the request for teleworking (through some workflow, perhaps)
As for the other three (providing onboarding, intuitive guidance for employees and managers) great idea.


Add support for SQS

This PR adds support for SQS. Part of it involved signing the Host header, which is required by AWS.

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

Looks good @nickcaballero 👍🏻 🙇🏻
Thanks for integrating the requested changes, much appreciated!
Would you say the PR is ready to be merged ❓

Looks good @nickcaballero 👍🏻 🙇🏻 Thanks for integrating the requested changes, much appreciated!
Would you say the PR is ready to be merged ❓

Yeah I think so.

Hi @nickcaballero, great 🤝
Could you please rebase the current state of the main branch? I'll make sure to merge this as soon as it's done. Please let me know when it is and if I can assist you in any ways 😄

@oleiade Done!

Perfect, thank you very much 🙇🏻
Merging, and this will go in our next release who doesn't have a set release date at this point, but I'll make sure to notify you here 👏🏻


Support FlatStyle in Feature setStyle() method

If the vector layer setStyle() method supports flat styles the method for Feature should also be able to.
Also the Feature createStyleFunction() static method was historically different to that for layers, but it now does the same as the ol/style/Style toFunction() method and could be deprecated in favor of that.
A Select interaction could now set flat style in a feature (although using a pre-built one would be more efficient in most cases) so the typedefs are updated to include that.

In my understanding the flat style format is not intended to be applied to a single feature. Applying styles to single features is actually something that the expression system intends to replace.

Yes, feature styles might go eventually (KML could be a problem) but currently there are places where flat styles can be used (layers, Draw and Modify interactions) while they cannot be used on features and Select interaction, or in the immediate renderer, which is unintuitive, and inconvenient when flat styles are simpler to code and self-documenting.

We're not going to add short-lived API methods that take us in the opposite direction of where we're headed with flat styles. All the places that @mike-000 mentioned apply the style to layers. The Select interaction is something we should not have re-added after we had removed it a couple of years ago. And the immediate renderer won't benefit from adding flat style support for Feature#setStyle(), because it has a drawFeature(feature, style) method which takes the style as separate argument.

If feature styles and style objects are to be deprecated I presume an API compliant workaround such as
feature.setStyle(new VectorLayer({style}).getStyleFunction())

to share flat styles used elsewhere will continue be useable until then?
(I only mentioned the immediate renderer because it has a setStyle method not included in the PR)


Fix type stability

Change result as tuple to result as structure, at least for the sub-problem since it will be called several times per run. The compiler cannot infer the type of status and returned costs and columns

We can have an AbstractColumn type, to allow for more information to be kept with columns (e.g. the column itself, its cost, whether it is an extreme point or not, how long it's been inactive...)

see branch core-update

having an abstract type for columns starts to become a lot on user side. Maybe we can create a
struct ColumnInfo
columns::AbstractMatrix
costs::AbstractVector
status::AbstractStatus
meta::Dict{String,Any}
end

storing both the columns, status, and other information if required by the sub-problem - master exchange.

the current AbstractColumn is a concrete implementation. For just passing the info from slave to master, we can skip the abstraction right away and the mutability (no need to build mutable Columns struct, this is built as the return type and passed on directly.
The master then gets the information it need from the struct and voilà

With a good constructor, this can be flexible to use: for an ok status:
ColumnInfo(columns::AbstractMatrix
costs::AbstractVector
status::AbstractStatus)

For a non-ok:
ColumnInfo(
status::AbstractStatus)

For an ok status with additional info:
ColumnInfo(columns::AbstractMatrix,
costs::AbstractVector,
status::AbstractStatus,
meta::Dict{String,Any})

Agreed, an abstract type for columns is too much abstraction.
The main motivation for having a Column struct is to ease the management of columns at the master level. For instance, one may want to remove old columns from the RMP, or keep a pool of columns that were generated earlier but not added to the formulation. It also simplifies the signature of the  add_columns function.
As for the return type of solve_pricing, I still think it should be separated from returning the columns (allowing to return only a status). This would also facilitate implementing a CG algorithm directly in the core interface.

you can return a Column with empty column and cost but just a status and meta information. That's why the constructors of Column can be designed to be flexible (return normal column, no column status or anything else).
Then, we can have a ok method defined on Column, saying if it should be used as new column

Now that I tried to implement it, I'm going back on what I said earlier.
Although I believe that the pricing status should be differentiated from the columns themselves, it seems more appropriate (and simpler) that solve_pricing would return both, e.g. with a PricingStatus structure. Building on Stealing your ColumnInfo proposal:
struct PricingStatus
    columns::Array{Column, 1}
    sp_status::AbstractStatus

    # other fields if needed
end

The Master can then use sp_status as needed.

+1 for the name, but it's preferable to keep a dedicated struct for holding columns. Otherwise, it will be impossible to include additional information / change the column representation without having to change the core interface.

Speaking of return type, in compute_dual_variables, we also return a tuple (status, pi, sigma).
Should we also change that?

Yes I think this will also be the case

Then I can see two ways of doing it:

Similar to PricingResult, we define a struct that contains the return status, and the dual variables.
(preferred option I think) we define a struct (named eg MasterSolution) that contains the current primal and dual iterates  (and potentially other stuff if needed). This MasterSolution would be a field of AbstractMasterProblem, and is updated by the compute_dual_variable function.


storage: record and return pessimistic_lock_wait time

Signed-off-by: OneSizeFitQuorum<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: ref #12362
Depends on pingcap/kvproto#965. There is still some controversy about how to organize the returned metrics in the protobuf.
What's Changed:

This commit record the pessimistic_lock_wait time for pessimistic transactions in the
waitManager.

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Release note
None

/merge


Query current recipe name

Hi, this is a feature request for reflection on the rule name.
Let me know what you think and if I could even get involved.
Example:
foo:
    echo This is rule {{ builtin_rule_name }}

Expected result:
$ just foo
This is rule foo

I'm curious, how would you use that?

Would increase cohesion and reduce coupling:
test: build
    #!/bin/bash
    for test in $(grep ^_test_ Justfile | cut -d':' -f1);
    do
        just $test && true || err "Stopping."
    done

_print_test_parameters test_name params:
    echo test_name params

_test_A:
    _print_test_parameters {{ builtin_rule_name }} "data_A"

_test_B:
    _print_test_parameters {{ builtin_rule_name }} "data_B"

Thanks for the feature request!
I'm not sure I understand the use case. In the example you gave, is the purpose to print the test name and arguments before they run?

No real "test" actually taking place, just the name starting with _test.
It would print the test names and args before actually running the test, yes.

I'm not sure I see the advantage, to me, this:
_test_A:
    echo _test_A "data_A"

Seems much less complicated than:
  _print_test_parameters {{ builtin_rule_name }} "data_A"

Also, you can't call recipes directly in a recipe body, so you would have to write:
  just _print_test_parameters {{ builtin_rule_name }} "data_A"

Let me start over.
Here I have multiple duplication of _test_curl_put_binary_file.
This violates a couple of principles and is error-prone.
Therefore, I would like every _test to start with the 1st line saying something like:
test_name={{ name_of_test }} and then use $test_name everywhere in the test body.
Does that make more sense? I wanted to provide a minimal example but perhaps am very tired now.

Here I have multiple duplication of _test_curl_put_binary_file. This violates a couple of principles and is error-prone.

I think I might be missing something, but I only see one definition of _test_curl_put_binary_file. What is being duplicated?

The name pf the test is duplicated in the test body.
This repeats with each test.

The name of the test is duplicated in the test body. This repeats with each test.

Gotcha, that makes sense. There is actually a workaround for this. The position-arguments setting passes the name of the recipe as the first argument, so this works:
set positional-arguments

test-name:
  echo $0

In the case of shebang recipes, it passes the full path to the script, which isn't ideal, however you could extract the last component.
Does that work?

Yes, this definitely helps. I get:
/tmp/justTbPuSj/_test_curl_put_binary_file

So getting only the recipe/target name is a slice of that:
echo $0 | awk -F"/" '{print $NF}'

Thank you! We can close this issue if you also think so.

Nice, glad we found a solution!
You should also be able to do:
basename $0


Dev

Added back the run functionality with a new check to try different python commands, or let the user add their own


Add README

I've got a long line of small(ish) PRs ready to go, but I'll group them into logical chunks.
@b4hand @martin-seomoz @seomoz/bigdata

Reupped


Update Create-Update-Delete-AAD-PK-Vulnerability-Scanning-App.ps1

Missing permissions added

Hi,
Thank you for this. I have made the update myself as although 2 new permissions had to be added, 1 also had to be removed. See the release notes.
Best regards,
jorge


Make PDF outline names include numbering

Description
For example suppose you just want numbers in your heading: align(center, pad(heading(numbering: "1", ""))). Then the title of the heading is technically blank. When the PDF is exported, these blank titles are copied into the outline.
Looking at how textbooks do things, I believe the correct implementation would be to make the PDF heading match the rendered title (i.e. it would be the concatenation of the numbering and title). This improves readability of your typical titles as a corollary fixes the issue with blank PDF outlines because they will still have numbers.
Use Case
.

Duplicate of #2416?

My bad!


Failed to build xformers from wheel even though they are already present

I tried to install vllm in a fresh Conda environment today. It depends on xformers, but fails to build them:
        File "C:\Users\tomas\miniconda3\envs\llm_server\Lib\site-packages\setuptools\_distutils\util.py", line 139, in convert_path
          raise ValueError("path '%s' cannot be absolute" % pathname)
      ValueError: path '/__w/xformers/xformers/third_party/flash-attention/csrc/flash_attn/flash_api.cpp' cannot be absolute
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for xformers
  Running setup.py clean for xformers
Failed to build xformers
ERROR: Could not build wheels for xformers, which is required to install pyproject.toml-based projects

Indeed, latest xformers release fails to work on Windows. So I tried to install minimum supported version xformers 0.0.22 via pip and it succedded:
filelock          3.9.0
fsspec            2023.4.0
Jinja2            3.1.2
MarkupSafe        2.1.2
mpmath            1.3.0
mypy-extensions   1.0.0
networkx          3.0
numpy             1.26.0
pip               23.2.1
pyre-extensions   0.0.29
setuptools        68.0.0
sympy             1.12
torch             2.0.1
typing_extensions 4.4.0
typing-inspect    0.9.0
wheel             0.41.2
xformers          0.0.22

However, vllm installer seems to ignore it and still tries to (re?)build the wheel, and as a result it fails the entire installation process.
More details: https://github.com/facebookresearch/xformers/issues/886#issuecomment-1762922926

Exactly the same issue.

Also having the same issue. It's worth mentioning that I'm in a venv.

It seems that the xformers issue was fixed on their side. That error doesn't show up anymore, but there's still another during pip install.
Possibly on my side, will  investigate.

I believe this should be fixed now since we changed the xformers version from >=0.0.22 to ==0.0.22. Could you try again?

I believe this should be fixed now since we changed the xformers version from >=0.0.22 to ==0.0.22. Could you try again?

Dont working

@DjWarmonger @uGuardian @Santiagowwi @WoosukKwon @rer0dgers Any updates? facing the same issue.

@zeke-john No


[Search] Update Samples as per Azure OpenAI GA Version

This PR updates search sampled using the latest GA version of the Azure OpenAI SDK.

API change check
API changes are not detected in this pull request.


AMBARI-22999 : Ambari Hive View 2.0 'Upload Table' does not support U…

…TF8 files with BOM (nitirajrathore) (#510)

AMBARI-22999 : Ambari Hive View 2.0 'Upload Table' does not support UTF8 files with BOM (nitirajrathore)

AMBARI-22999 : Added relevant test cases (nitirajrathore)

What changes were proposed in this pull request?
As reviewed in branch-2.6
Using BomInputStream to filterout BOM characters from the file before reading it.
How was this patch tested?
Manual testing done buy uploading the file in hive view 2.0 with BOM characters and checking if files is uploaded and given first row (which contains BOM) is treated as the list of columns for the created table.
Unit test cases added.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/924/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/937/
Test FAILed.
Test FAILured.

This seems to be failing in unrelated code. Can

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.883 sec - in org.apache.ambari.server.alerts.AmbariPerformanceRunnableTest
FATAL: command execution failed
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2671)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3146)


Save new projects in custom folder (rather than nerd)

Recent change (seattlerb/omnifocus@34aad1d93137e1c161727f363ec84d72cece3eb2) in the omnifocus gem allows the folder to be set through an environment variable. I considered  setting it from an entry in the .omnifocus-trello.yml file, but it might override one set by the user. Seems sensible to just add some stuff to the readme.
I've bumped the version number - hope you don't mind.
Fixes #4.

Thanks @dannysmith!


Missing tag 'v1.0.1'

The latest release of this module at https://forge.puppet.com/modules/themeier/systemd_cron is 1.0.1
This repository lacks a tag for this release. (I guess it's f94f3ece19e827883504308ff54b8d64b19519ad)

Tag created


ansible-later was moved to new orga

@xoxys - shall we move the GitHub action also to the org ?

@patrickjahns sure, if you would like to we can do it


How to generate predictions on RACE dataset?

I don't think any code is written for saving/generating the predictions file for RACE dataset.
If possible please point to some code or the way to do it for this repo.

You may want to check out the prediction mode (--do_predict) in run_squad.py.

I see. Thanks!
Would be good if run_race.py had something similar.


[Document] add HowTo.md to help developers to debug and test on Gluten

What changes were proposed in this pull request?
There are some common questions about developing, debugging, and testing been asked again and again.
In order to help the developers to contribute to Gluten as soon as possible, I collected these frequently asked questions and organized them in the form of Q&A.
It's convenient for the developers to check and learn.
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Can you also describe how to use coredump gdb /mnt/DP_disk1/code/gluten/cpp/build/releases/libspark_columnar_jni.so 'core-Executor task l-2000883-1671542526'

sorry, I will revise it later,  I'm busy with my year work report now.


60% mongod-CPU Usage on IDLE

Using MongoDB 3.2.4 an ElasticSearch 2.3.1 I'm experiencing on IDLE a CPU load of ~60% from a mongod-process.
The mongoDB-log is filled every 3 seconds with such an entry:
2016-05-24T01:32:54.296+0200 I COMMAND  [conn598] command local.oplog.rs command: count { count: "oplog.rs", query: { ts: { $gte: Timestamp<PHONE_NUMBER>000|1 } } } planSummary: COLLSCAN keyUpdates:0 writeConflicts:0 numYields:35407 reslen:62 locks:{ Global: { acquireCount: { r: 70816 } }, Database: { acquireCount: { r: 35408 } }, oplog: { acquireCount: { r: 35408 } } } protocol:op_query 1688ms
So I assume, that this is the mongo-connector, who is polling the oplog(-timestamp) from mongoDB.
There are two questions now:

Why does this simple query needs so much CPU?
How to decrease the needed IDLE-ressources? First I'd think of decreasing the polling-rate for example to one minute. But how? I hope I didn't miss the corresponding config-option on my research.

What version of mongo-connector  and pymongo are you using?

I think the newest: mongo-connector 2.3 and pymongo 3.2.2

@BlueRayONE by any chance do you have some documents fail to index (e.g. because a type was different)?

@jaredkipe I have no idea, didn't see anything. Where does this get visible? In the log? There is everything filled with the upper mentioned message. No change since my request...

The count command is expensive because there are no indexes on the oplog (by design). During normal operation this isn't a problem, we only need to call count once when the cursor tailing the oplog is first created. Unfortunately, if the source mongod is idle for long periods of time the count command will be called often. Solving this problem is going to require some thought.

Actually, in your case we're just querying on the ts field, which should be fast since we use the oplogReplay option. This requires more research.

I think my original triage of this was correct. We're using Cursor.count() in get_last_oplog_timestamp. The count command isn't affected by oplogReplay (and the Cursor instance isn't using it either way). We can add ".add_option(8)" to the cursor, then do:
try:
    return cursor.next()
except StopIteration:
    return None

This issue should be resolved after the merge of #470. @BlueRayONE , are you able to confirm?

I updated my mongo-connector instance successfully. Until now I registered a decrease to an average CPU Usage of 10% by mongod on IDLE. Sometimes peaks up to 40%.
Thats a significant improvement, I can confirm the issue-resolution! :heavy_check_mark:
Thanks a lot for the fast fix!


Plan machine_learning.py

Define the scope for integrating machine learning functionalities into the backend.

Integrating machine learning functionalities into the backend involves developing, training, and deploying machine learning models to handle specific tasks (e.g., food recognition, recommendation, prediction) through API endpoints, ensuring efficient model inference, optimizing performance, monitoring results, and securing data privacy, while continuously improving the system through retraining and feedback loops.

Thank you for your input. However, the comment provided seems to lack
context relevant to the purpose of this project or the specific goals
outlined for this issue.
This repository focuses on collaborative, context-aware contributions. If
future comments do not engage directly with the scope and purpose of the
project, they may be marked as off-topic or ignored.
If this is an automated account, please refrain from posting irrelevant or
generic comments in this repository."
On Sun, 29 Dec 2024, 04:25 Bharanishr, @.***> wrote:

Integrating machine learning functionalities into the backend involves
developing, training, and deploying machine learning models to handle
specific tasks (e.g., food recognition, recommendation, prediction) through
API endpoints, ensuring efficient model inference, optimizing performance,
monitoring results, and securing data privacy, while continuously improving
the system through retraining and feedback loops.
—
Reply to this email directly, view it on GitHub
https://github.com/rsleiberin/janus/issues/21#issuecomment-2564679373,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXANVR6TJGFENB65CNKADJL2H7E2DAVCNFSM6AAAAABUJNCQNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRUGY3TSMZXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


error An unexpected error occurred 401 Unauthorized

yarn version:  v1.9.4
STR:

yarn install

error An unexpected error occurred<EMAIL_ADDRESS>Request failed "401 Unauthorized"".
Full log:
$ yarn
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred<EMAIL_ADDRESS>Request failed "401 Unauthorized"".
info If you think this is a bug, please open a bug report with the information provided in "/myservice/todo/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@types/jest is not a part of this repository. Ask them what's about. Also, it's recommended to use latest Jest version, which is 23.6 currently


tab completion does not work for .. (dir up)

On a usual bash terminal typing .. , and hitting tab changes it to '../' which is very convenient. On pressing tab second time, bash looks up in parent directory.
But on prezto, it says -- no matches found --. Any chances prezto can re-enable that feature?

I cannot reproduce. It works as expected. I type ../[tab], and it works fine.

I think the OP just meant ".."[tap] not "../" [tap]
At lest i'm very annoyed that I cannot just type" .." and then hit tap, but have to type"../"
Not sure if this specific to prezto, but if there is a fix I would love to know about it.

For anyone else finding this issue via Google as I did, searching for the answer to "autoslashing" the dot dot dir.
The answer is described here: https://github.com/robbyrussell/oh-my-zsh/issues/3775
Just set the following in your .zrpreztorc file:
zstyle ':completion:*' special-dirs true
Worked for me :)


[question] Does boxcli support app token(server authentication) auth in box cli?

Hi, I want to access by app token(server authentication).
Does app token(server authentication) is supported?
Thanks!

The only authentication method that is supported for use with the CLI is JWT. App token auth has limited API capabilities and is used if you want to leverage Box's preview services, but don't need components like permissions, user model, file/folder structure.

@knmeiss  Thanks for your replay!
I'm try to call boxcli with --token, but fail, cloud you provide some suggestion? Thanks!
This is my error #227


Update most icons to pull from xivapi instead of local assets

The deeper we get into having multiple jobs under the xivintheshell banner, the more bloated the repository (and the deployed site) is going to get if we keep exporting assets into source. I pulled the icon URL calculation code from xivanalysis and made some updates to allow us to use xivapi as the icon source for most icons, rather than local assets.
I didn't deal with the buff icons that show up on the action tooltip in the timeline and whatnot yet, this was mainly to update the action and status buff icons for the active timeline row's action selection and status effect display. I also didn't remove the ability to have local assets, since we might still need that in the future for other purposes or for things like the "missing skill" icon which I didn't feel like trying to hunt down a xivapi icon number for.

We can resurrect this later if there's appetite for it, but for now, abandoning the idea because of potential CN firewall nonsense I'd forgotten we discussed previously on Discord.

Link to discussion on Discord for future reference: https://discord.com/channels/277897135515762698/1255782490862387360/1305270539949969419


Prompts filling the terminal width causes bad UI

Description
When a prompt and the user input fills the terminal width and the input has to go to the next line, the prompt is written again in a new line.
In a small terminal, the proof of concept bellow will cause multiple lines like:
$ go run longprompt.go
✔ Please enter a long very long answer so it has to go to the next line: abcdefg
✔ Please enter a long very long answer so it has to go to the next line: abcdefg
✔ Please enter a long very long answer so it has to go to the next line: abcdefg
hi

Proof of concept:
package main

import (
	"fmt"

	"github.com/manifoldco/promptui"
)

func main() {

	prompt := promptui.Prompt{
		Label: "Please enter a long very long answer so it has to go to the next line",
	}

	result, err := prompt.Run()
	if err != nil {
		fmt.Printf("Prompt failed %v\n", err)
		return
	}
	fmt.Printf("You choose %q\n", result)
}

I am running into the same thing. It looks like for ever character that is past the end of the width of the terminal, it prints a new prompt line. In your example, hi were the extra characters, so you got 2 extra lines. I have a much longer string and it's dumping out a ton of lines. (We are expecting users to copy/paste a long string into the terminal)

I ran into this, too. It's being caused by line wrapping in the terminal.
After a little research, there isn't a perfect way to disable this, but I've made the issue better in many (most?) modern terminals by disabling wrapping:
https://github.com/shaneharter/promptui/commit/33d9dc105f3f49679d8cec3544835fdf5be3612e
I've not raised a PR because it seems a bit of a hack


The operator keeps sending update requests to vault even though nothing has changed

I don't know whether this is happening for multiple resource types, but I'm seeing it for at least policy objects.

The operator sends a request to vault to read a policy
Vault responds with the policy's name and rules
The operator sends a request to vault to update the policy
Vault responds with 202

This process repeats every 2-5 seconds.
Vault version 1.11.2

this typically happens when this function https://github.com/redhat-cop/vault-config-operator/blob/ce058305b778fadedcf40193f0c3553d29c5a989/api/v1alpha1/policy_types.go#L41 stops working.
It's possible that the vault API have changed and this function does not work correctly anymore. Would you have time to test it.

Thanks for the pointer, I'll test it this weekend

Tested it, that's definitely the problem. I dumped payload as well as d.GetPayload(), here's the difference:
Expected (d.GetPayload()):
name => my-test-policy
rules => path "secrets/*" {
  capabilities = ["read", "list"]
}

Actual (payload):
policy => path "logins/*" {
  capabilities = ["read", "list"]
}

This is with Vault version 1.12.0.

I am looking at this. not sure what to do. The doc seem to indicate that the result should have policy has the key not rules.

https://developer.hashicorp.com/vault/api-docs/system/policies#read-acl-policy

Could it be my setup somehow? Were you able to verify it locally?

no I was able to reproduce it, but still not sure what to do. Also because if input keys are not equals to output keys in the map, the entire logic on which the operator is built has to be thrown away. So I need to understand, is this a bug, an exception or a the new normal?

Wait, I'm confused. As I described in https://github.com/redhat-cop/vault-config-operator/issues/104#issuecomment-1376819111, the response obtained from vault (actual payload) has the key policy, which is what the documentation says it should have. The operator on the other hand expects the response to contain the keys name and rules (expected payload).
Apologies if I was unclear with respect to what is actual and what is expected. Here's how I'm printing both:
func (d *Policy) IsEquivalentToDesiredState(payload map[string]interface{}) bool {
	isEqual := reflect.DeepEqual(d.GetPayload(), payload)
	log.Log.Info(fmt.Sprintf("Checking isEquivalent for %s: %v", d.GetPath(), isEqual))
	for k, v := range payload {
		log.Log.Info(fmt.Sprintf("Expect %v => %v", k, v))
	}
	for k, v := range d.GetPayload() {
		log.Log.Info(fmt.Sprintf("Actual %v => %v", k, v))
	}

	return isEqual
}

I made a curl request, and the response from vault does match the documentation:
{
  "request_id": "cf1c7715-b76c-8ea9-3235-9912e1020194",
  "lease_id": "",
  "renewable": false,
  "lease_duration": 0,
  "data": {
    "name": "operator",
    "policy": "<REDACTED>"
  },
  "wrap_info": null,
  "warnings": null,
  "auth": null
}

However, the path being read by the operator for the policy resource is not /sys/policies/acl, it is /sys/policy, and the response for that endpoint matches the documentation
https://developer.hashicorp.com/vault/api-docs/system/policy#read-policy

I tested the changing the API policy and it works. It should have never worked with the wrong path, so this should be fixed, but changing this will have implications as i actually changes the path of the policy. Please close you PR, I'll have one that is more comprehensive.

Sounds good, closed my PR

I verified that kubernetes authentication engine roles based on policies created the previous way stop working with the change of path. So this would be a breaking change. I really would like to be able to talk to someone at hashicorp about this.

the impact is that you everywhere you where referencing a policy, now you need to prepend acl/<policy-name>

To maintain backwards compatibility, we could instead do this:

Change the controller to check for rules for the Policy resource type (instead of checking for policy) and also mark it as Deprecated in some way
Add a new AclPolicy resource type that uses the sys/policies/acl endpoint
At some point down the line, remove support for the Policy resource type


[Cataylst] Refactor Platform Services/Dependencies

Refactor the way we talk to OneSignal and MSAppCenter.
Since none of these are currently available we are moving those into a Platform-dependent service file that's being called at launch.
This way we keep the AppDelegate clean from Platform-dependent code.
Based on https://github.com/AudioKit/AudioKitSynthOne/pull/120 (Please merge that one first)

Don’t merge. Gonna fix the build errors.

reping @aure - CI is green now


#994 - use 'show' and 'hide' for searchbox

adds show and hide to local-en.json
updates GroupGalleryUI component to use the new terms
updates snapshots to account for the updated component

This looks good, as far as I can see.
Two more things:
We would have to change/add the other languages too, so they can be translated by Transifex, right? What happens if something like 'HIDE' is not in one of the language files? Is the english fallback used?
The android build fails, but that looks like a password issue?!

What happens if something like 'HIDE' is not in one of the language files? Is the english fallback used, or will this lead to an error?

@inktrap
It will fall back to English, so there's no problem if the locale-xx.json files are not 100% up-to-date.


add: scrape animal name success.

scrape successful name animals

Hello,
My name is Nitkarsh Chourasia.
I am a professional Python Developer from India, Maharashtra, South Mumbai
Let's connect:
GitHub: https://github.com/NitkarshChourasia
LinkedIn : https://www.linkedin.com/in/nitkarshchourasia


Update 6153a04847abee57a3a406ac.md

Checklist:

[ ] I have read and followed the contribution guidelines.
[ ] I have read and followed the how to open a pull request guide.
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hey @lalithasj
Thank you for opening this pull request.
As there was different PR - #51559 - following contribution guidelines, merged recently, we are going to close this one.
Thank you and happy coding! 😊

If you have any questions, feel free to ask questions on the 'Contributors' category on our forum or the contributors chat room.