SANS Q Resolution stored as generic function

Executive summary
Implement Q SANS resolution as a per q function and store it to NXCanSAS format
Context and background knowledge
In time-of-flight SANS the resolution curves from all the wavelengths contributing to a particular Q value are averaged together, weighted by the number of neutrons detected at each wavelength. Since the resolution width is inversely proportional to wavelength this often gives a curve that is noticeably sharper in the peak and broader in the tails than a simple Gaussian.
Therefore, we need a q resolution description beyond a single value
Inputs
We need individual terms contributing to https://docs.mantidproject.org/nightly/algorithms/TOFSANSResolutionByPixel-v1
$\Delta\lambda$ values are found from the wavelength binning. For event mode $\Delta\lambda$  is very small however in practice one introduces binning from monitors or set event time bins before  rebinning into user-provided wavelength steps. In any event, one should choose the largest value.
Methodology
The SANS resolution using Mildener-Carpenter approximation is defined as
$(\sigma_Q )^2 = \frac{4\pi^2}{12\lambda^2} [ 3(\frac{R_1}{L_1})^2 + 3(\frac{R_2}{L_3})^2 + (\frac{\Delta R}{L_2})^2 ] + Q^2(\frac{\sigma_{\lambda}}{\lambda})^2$
where L1 and L2 are the collimation length and sample-to-detector distance respectively and
$\frac{1}{L_3} = \frac{1}{L_1} + \frac{1}{L_2}$
and the overall effective standard deviation in wavelength is defined as:
$(\sigma_{\lambda})^2 = (\Delta \lambda )^2 / 12 + (\sigma_{moderator})^2$
$\Delta\lambda$ is the wavelength bin width used when histogramming the data (either using monitor time bins or specifically set event time bins). $\Delta R$ is the detector resolution (virtual ring width on the detector (mm)). For LOKI this parameter will depend on the sample-detector distance and how many pixels per straw will be taken into account.   $R1$ and $R2$ are source and sample apertures in mm.  ($\Delta R$, $R1$ and $R2$ should be passed from instrument control to metadata).
$\delta {moderator} $ is moderator time spread (microseconds) as a function of wavelength (Angstroms). At ISIS it is measured at LET (and probably on others instruments too). It is however not entirerly clear how this will be done at ESS
but it should be assumed that this function will be supplied in metadata.
The resolution equation above is an approximation assuming that each of the terms is approximated by Gaussian distribution. This approach however can be extended by defining the Q resolution as a convolution of resolution kernels (schematically):
$r_{sample-apperture}*r_{binning}*r_{detector-pixelation}*r_{TOF}*r_{wavelength}$
The convolution of kernels can be then performed using e.g. np.convolve as demonstrated in the attached notebook.
The wavelength independent terms won't change for given Q and can be calculated in advance and cached as a function, however for a wavelength-dependent term the range of wavelength contribution to a given q should be taken into account and convolution of multiple wavelength resolution should be computed.
Outputs
Save to NXCanSAS format. Placeholder /entry/data/q/resolutions and /entry/data/q/resolutions_descriptions
Which interfaces are required?
Python module / function
Test cases
At minimum, generated resolution function FWHM should be compared with dQ value from Milldener-Carpenter equation
Comments
No response

Most likely some differences, but it may be worth comparing to the implementation in https://github.com/scipp/essreflectometry/blob/main/src/essreflectometry/amor/resolution.py for reflectometry, at least to align naming, etc.

So in your equations above, $\sigma_{Q} / Q$ is dimensionless.
Now I looked again and it seems I made a mistake, the $1/\lambda^2$ is not multiplying everything, it is only the first part of the equation. So if you divide both sides of the equation by $Q^2$, then you are left with $1/(\lambda^2 Q^2)$ which is indeed dimensionless.
Regarding

Also, the equation seems to differ from what is in the Mantid docs? There, I don't understand why they add the tof resolution to the wavelength resolution, it doesn't seem to make much sense. You either have your data as a function of wavelength or tof, not both at the same time?

I found https://docs.mantidproject.org/v3.9.0/algorithms/TOFSANSResolutionByPixel-v1.html which is more in agreement with the original equation you posted above?

Yes, sorry I provided initially wrong link. It should this one https://docs.mantidproject.org/nightly/algorithms/TOFSANSResolutionByPixel-v1, which I belive provides the same equation as from v3.9.0

I found https://docs.mantidproject.org/v3.9.0/algorithms/TOFSANSResolutionByPixel-v1.html which is more in agreement with the original equation you posted above?

The implementation Neil mentioned above should be an appropriate baseline for our HC. Then, we simply need the output stored in the nxcansas as an additional dQ/Q column, for the corresponding bin centres.

Extra info from chat: We may (at least initially) simply use the maximum (across pixels contributing to any given Q-bin) Q-resolution.
Note: Don't forget to exclude masked pixels.


quantity_decoder fails after a JSON RPC request to geth server

Hey,
I'm a noob at this, so I'm probably doing something wrong.
I'm on OSX 10.11.1. geth v1.3.3 & pyethapp 1.0.18/darwin/py2.7.10.
I have tried to connect to a geth --rpc command running locally on my machine. The geth command seems to run fine, synchronised well and everything working without issue.
I wanted to start playing with the pyethapp library, and decided to check an account balance using the JSONRPCClient.
Running the command:
from pyethapp.rpc_client import JSONRPCClient
c = JSONRPCClient(port=8545)
c.balance('0xb794f5ea0ba39494ce839613fffba74279579268')

... raises the following error:
{
  "jsonrpc": "2.0",
  "params": [
    "0xb794f5ea0ba39494ce839613fffba74279579268",
    "pending"
  ],
  "method": "eth_getBalance",
  "id": 4
}
{"id":4,"jsonrpc":"2.0","result":"0x06d410721e7c1b1eff0228"}

---------------------------------------------------------------------------
BadRequestError                           Traceback (most recent call last)
<ipython-input-8-33c127b5f25c> in <module>()
----> 1 c.balance('0xb794f5ea0ba39494ce839613fffba74279579268')

/Users/pe/.virtualenvs/eth27/lib/python2.7/site-packages/pyethapp/rpc_client.pyc in balance(self, account)
    160     def balance(self, account):
    161         b = quantity_decoder(
--> 162             self.call('eth_getBalance', address_encoder(account), 'pending'))
    163         return b
    164

/Users/pe/.virtualenvs/eth27/lib/python2.7/site-packages/pyethapp/jsonrpc.pyc in quantity_decoder(data)
    274             success = False
    275     assert not success
--> 276     raise BadRequestError('Invalid quantity encoding')
    277
    278

BadRequestError: Invalid quantity encoding

So after firing up a little debugging session it seems that the error is coming from this method.
The data is not passing the test at line 264 because it has a leading 0.
file pyethapp/jsonrpc.py:
    258 def quantity_decoder(data):
    259     """Decode `data` representing a quantity."""
    260     if not is_string(data):
    261         success = False
    262     elif not data.startswith('0x'):
    263         success = False  # must start with 0x prefix
    264     elif len(data) > 3 and data[2] == '0':
    265         success = False  # must not have leading zeros (except `0x0`)
    266     else:
    267         data = data[2:]
    268         # ensure even length
    269         if len(data) % 2 == 1:
    270             data = '0' + data
    271         try:
    272             return int(data, 16)
    273         except ValueError:
    274             success = False
    275     assert not success
    276     raise BadRequestError('Invalid quantity encoding')

If I try to manually decode it using the command int(data, 16) line 272, it seems to run just fine, so I'm wondering if the test line 264 is useful in that context. Maybe this library isn't meant to be talking to a geth rpc server? After a quick look at the JSON RPC API, the example produced there seems to also have a leading 0. So is this a bug?

@jnnk I'm not sure if you remember why you added that test line 264. Can I safely remove it?
Cheers, PE


[ENH] Make sure inputs are BIDS compliant before running fmriprep

Closes #1408. Ignores issues not relevant to FMRIPREP and data from participants not listed in --participant_label to limit the amount of noise.

Just a quick ping: @adelavega @tyarkoni How close is BIDSLayout to having full validation implemented?

I don't think pybids validation would be a suitable replacement. It does not check nifti headers or validate the contents of JSON files.

It wasn't on my near-term agenda to work on... are there specific things you want validated? File content-checking is probably out of scope at this point, at least from my side of things (I'll accept PRs, obviously).

I guess if the JSON schema is stable and added to the central validation repo, it would probably be fairly easy to add JSON validation using a third-party library (looks like jsonschema is the standard).


Combine thimbleProxy and brackets-browser-livedev

There isn't a strong reason to keep them separate, and they're coupled together anyway.

We should consider if other extensions we're doing could be added into that too.

assigned to @AJBenner

@sedge @gideonthomas  this issue has been resolved with this PR


BUG: Cannot use Shell=True When using a list with subprocess.Popen()

subprocess.Popen() accepts a list of arguments or a string (command line)
as its first argument. Using a string causes problems with spaces in
filenames (problem escaping spaces). Using a list solves that issue,
but the option 'Shell=True' cannot be used. As a consequence, multiple
command lines cannot be concatenated into one command line and run
at the same time. This leads to not being able to run multiple registrations
in parallel when creating an unbiased atlas: We need to wait for the
registration result before the image can be transformed. The fact
that multple registrations cannot be run in parallel is not very limiting as
registrations can use many cores to be computed.

lgtm


Add horizontal and vertical scrolling across ascii art

This is especially useful / required for when the canvas is larger than the drawing area in the terminal


Ability to select the protocol http or https

Is your feature request related to a problem? Please describe.
When the api is running over https, it doesn't seem possible to set the host with a https protocol.
When doing so, the requests in swagger-ui are directed to http://https://{host}:{port}

You can use schemes annotation to supports the https like:
// @Schemes https


Code refinements

Clean up options and generator attribute usage in project and webapp index modules
Standardize options for browserify, jest, and webpack
Add lodash flow type definitions
Boilerplate improvements

Coverage remained the same at 100.0% when pulling 6d5fcc0be9b188b2f87332f746b02d5ea2eb7c91 on feature/code-refinement into 5ee5f64cc4351a45171e7b29d9b865527a7f41dd on master.

 Consolidate generator attributes, config, and options

Coverage remained the same at 100.0% when pulling 6fd14c40ba0da587416953e08de63a5a1465c1e6 on feature/code-refinement into 5ee5f64cc4351a45171e7b29d9b865527a7f41dd on master.

Coverage remained the same at 100.0% when pulling 6fd14c40ba0da587416953e08de63a5a1465c1e6 on feature/code-refinement into 5ee5f64cc4351a45171e7b29d9b865527a7f41dd on master.


Tutorial 6: why dropout here?

Hi, I don't know why apply an dropout here which not the same as the paper
attention = torch.softmax(energy, dim = -1)

#attention = [batch size, n heads, query len, key len]

x = torch.matmul(self.dropout(attention), V)

I don't think it is explicitly mentioned in the paper, but they do apply dropout directly to the attention in the official BERT code, see: https://github.com/google-research/bert/blob/master/modeling.py#L722-L724
Directly applying dropout to attention like this has been used in the majority of post-BERT Transformer models.

OK, I see. Intuitively, what's the purpose of this drop out?  what if attention drop the part that matters most?

According to: https://arxiv.org/abs/1907.11065 the purpose is to “encourage the model to utilize the full context of the input sequences rather than relying solely on a small piece of features. For example, for sentiment classification, the prediction is usually dominated by one or several emotional words, ignoring other informative patterns.”


Left to right orientation in Globus File Manager seems counter-intuitive

When you request a Globus endpoint to transfer into you get an email like this:
Globus user SDR stage ([840c2e68-cc53-4059-8d1c-470ff2c78cb3@clients.auth.globus.org](mailto:840c2e68-cc53-4059-8d1c-470ff2c78cb3@clients.auth.globus.org)) shared the folder "version1" on the endpoint "SDR stage" (endpoint id: f3e29605-7ba5-45f5-8900-f721663cf1af) with Edward Summers's ([edsu@stanford.edu](mailto:edsu@stanford.edu)) Stanford University identity.

Use this URL to access the folder:
https://app.globus.org/file-manager?&origin_id=f3e29605-7ba5-45f5-8900-f721663cf1af&origin_path=/uploads/edsu/work19366/version1/&add_identity=d28a330f-9d3c-4832-950c-492fb7771a9e ...

When you open the link you see the File Manager interface with the new Globus endpoint you are transferring to in the pane on the left, and the place you want to transfer from on the right:

Maybe it's just me but I expect the place I want to transfer from to be on the left, and the place I want to transfer to on the right.
I think this is because we are using origin_id and origin_path in the File Manager URL and not destination_id and destination_path (see docs).
If my expectation here is incorrect and the design was for users to see the location being copied to on the left then of course please close this ticket!

@edsu I agree that the place you are transferring from should be on the left. When the user chooses Google Drive, Oak, or Sherlock as the location of their content and we send them the link that incorporates both the location of their content and the destination folder, the origin is on the left and the destination is on the right. I hadn't realized that this was not the case at this point for content from other places. It would be nice to have these consistent and to match expectations.

Interesting, the link that's in the H2 interface opens the SDR pane on the right as expected:

@edsu @andrewjbtw I've tested all 4 options for the Globus upload: no location given, Stanford Google Drive, Oak, and Sherlock. In every case, the link that we are providing in the UI has the destination folder on the right and the origin folder (if we have one) on the left.
Also in every case, the link in the Globus email contains only the destination folder (as expected), and it's always on the left. I'm pretty sure we can't get 1) these emails turned off or 2) the origin folders included in the link when we have them. But can we possibly get 3) the destination folders to show up on the right?
I wonder if users are actually using the links in these emails?

It's difficult to say whether users click on these email links since the request goes directly to a globus webserver. But I guess user testing could surface whether they are used?
It looks like we do have control over the text of the email message if we want to customize it, and change the URL?
https://docs.globus.org/api/transfer/acl/#rest_access_create
See the notify_message parameter?

Hmmm. Nothing about the info at that link looks anything like the text of the email that I get from Globus, so I'm not clear how we can change that link? Maybe I'm just missing the point. I do see the notify_message parameter, but it seems different from this.
Email text:
Globus user SDR prod<EMAIL_ADDRESS>shared the folder "version1" on the endpoint "SDR prod" (endpoint id: b73a42fb-2cb0-4ba2-9507-90a3c2457669) with Amy Hodge's<EMAIL_ADDRESS>Stanford University identity.
Use this URL to access the folder:
https://app.globus.org/file-manager?&origin_id=b73a42fb-2cb0-4ba2-9507-90a3c2457669&origin_path=/uploads/amyhodge/work7129/version1/&add_identity=f8db6d8c-52ae-4d0e-a112-15f8adc13e0c
Trouble accessing the folder?
You can watch a help video here https://youtu.be/jdeMtubk8D4 or contact<EMAIL_ADDRESS>This is a courtesy notification. Please do not reply to this email.
The Globus Team
<EMAIL_ADDRESS>

@edsu Now that we've gotten these emails from Globus turned off to avoid confusion, I think we can close this ticket, yes? Thanks.


Support of GPS coordinates

Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
Possibility to use GPS coordinates like : 24.59017° S, 104.89785° E or 24.59017° N, 104.89785° O
Describe alternatives you've considered
No alternative, but maybe use mathematical equation like : https://stackoverflow.com/a/1185413/8714792

+1

To convert Lat, Long coordinates to X, Y, Z coordinates, you can use the following steps:

[ ] First, you need to obtain the latitude and longitude coordinates in decimal degrees.
[ ] Then, you can convert the latitude and longitude coordinates to radians by using the following formulas:

lat_rad = lat * (math.pi / 180)
lon_rad = lon * (math.pi / 180)

[ ] Next, you can use the radius of the planet (in meters) and the latitude and longitude in radians to calculate the X, Y, and Z coordinates using the following formulas:

x = radius * math.cos(lat_rad) * math.cos(lon_rad)
y = radius * math.cos(lat_rad) * math.sin(lon_rad)
z = radius * math.sin(lat_rad)

Here is an example code snippet in python that demonstrates how to convert Star Citizen Lat, Long coordinates to X, Y, Z coordinates:
import math

def lat_long_to_xyz(lat, lon, radius):
  lat_rad = lat * (math.pi / 180)
  lon_rad = lon * (math.pi / 180)
  x = radius * math.cos(lat_rad) * math.cos(lon_rad)
  y = radius * math.cos(lat_rad) * math.sin(lon_rad)
  z = radius * math.sin(lat_rad)
  return (x, y, z)

# Example usage
lat = 37.7749
lon = -122.4194
radius = 6371e3 # radius of Earth in meters
x, y, z = lat_long_to_xyz(lat, lon, radius)
print(f'X: {x}, Y: {y}, Z: {z}')

This code will convert the latitude and longitude coordinates for San Francisco (37.7749, -122.4194) to X, Y, Z coordinates using the radius of the Earth (6371 km). The output should be:

X: -4497386.945769128, Y: -5391794.184545608, Z: 3966723.4312408617

Note that the X, Y, and Z coordinates are in meters. You may need to adjust the radius value depending on the planet or celestial body you are working with.

Thanks, you all for the comment, I will add that in the next update.
@shiipou In Star Citizen, it's a bit more complicated tho because you have to account for the height of the POI.
Some edge cases are Bennyhenge or any space wrecks that can't be located with your formulas.
Good thing is that I already have the frontend inputs for lat long height and OMs I just don't have the logic behind it.

@shiipou In Star Citizen, it's a bit more complicated tho because you have to account for the height of the POI.
@Valalol

You probably can just add the altitude, save the radius of each moon/planet, and addition the altitude to the radius to get the radius to use in the formula of my previous comment.
I think that'll work.
OM still a good way, because used by many databases but it's disabled in your app currently.

I don't think you need height when you use OM, because triangulating already take care of the 3D if you use precise value of OM distance.
You do because doing triangulation with 3 spheres still gives you 2 possible points

@Valalol You're right, that's needed.


Fix BZL_FILE_PATH detection in building tensorflow lite

Currently it will cause an error.
Could not find tensorflow/workspace.bzl: Likely you are not running this from the root directory of the repository.

I signed it!

This has been fixed independently recently.

So can this PR be closed as this issue is fixed ?

Nagging Reviewer @miaout17, @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @miaout17, @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 29 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @miaout17, @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 29 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @miaout17, @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 44 days with no activity and the awaiting review label has been applied.


Null pointer in type checker

in ltsmin-type-system.c:31
char hint[hint_binary(f, NULL, 0) + 1];
The NULL causes a null pointer dereference.

I don't think it does. If NULL is supplied as the second argument to hint_binary, then hint_binary will just compute the length of the string and not write anything to memory.
Also I can't reproduce a bug for this issue.


[FEATURE REQUEST] ILM for Open Distro Elasticsearch

Is your feature request related to a problem?
We don't use ILM for Open Distro Elasticsearch.
Describe the solution you'd like
We want to implement ILM for Open Distro and apply automatically it's configuration.
Describe alternatives you've considered
We can adapt the old solution with Elasticsearch Curator to work with Open Distro security.
Additional context
Useful information related to ILM and ISM were described in PR 2107
Information about ISM.
Spike about ILM 2153.
Information about using Elasticsearch Curator was described in task 2423.

DoD checklist

[ ] Changelog updated
[ ] COMPONENTS.md updated / doesn't need to be updated
[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade

[ ] Idempotency tested
[ ] Documentation added / updated / doesn't need to be updated
[ ] All conversations in PR resolved
[ ] Solution meets requirements and is done according to design doc
[ ] Usage compliant with license
[ ] Backport tasks created / doesn't need to be backported

Closing as we should first do the spike and then decide and create the proper issues: https://github.com/epiphany-platform/epiphany/issues/2153


Which model is better for extracting human voice without harmonies?

i want a pure vocal！！！

My work flow is to separate the instrumental and vocal using ensemble avg/avg then take the vocal track of that and run the MDX karaoke 1/2 models. The vocal separation should leave the main vocals in theory. It can have artifacts since there really isn't a lot of models that separate backing vocals.

I use UVR-MDX inst HQ 2 + inst main + inst_full_292 + 9482 + htdemucs. All the MDX use htdemucs as a secondary model. I will say recently I've moved to using MVSEP (https://github.com/ZFTurbo/MVSEP-MDX23-music-separation-model) as it produces the best quality separation I've found so far. Just speculation but that model and others from the MDX23 challenge will eventually be added to UVR

Yeah, I read about it shortly after posting. Official agreement of the challenge, for any prizes, were to have the model open-source after it was over, so hopefully those that can't/won't were disqualified from that. Either way, new and improved methods are always on the horizon.


LICENSE needs to be filled

this line here
   Copyright [yyyy] [name of copyright owner]

is supposed to be filled

and oops I forgot to link the meta-issue
https://github.com/openjournals/joss-reviews/issues/6533

Thank you. I will fill them out.

The changes have been merged to the main branch. I will close this issue.


[Bug]: Deletion requests are added to the log with the date written with user's native number system instead of with Arabic numbers

Summary
When the user's native number system is another than Arabic (0-9), any user nominating a file or any other page for deletion add these to the logs with the date written in their number system, for example for example Commons:Deletion_requests/২০২৩/০৭/০৬. And here are the rest I've found. In these pages the pattern is the same but instead of Arabic numbers, there are two with Bengali numbers and the rest with Persian Arabic numbers. The creation of these pages all have the //android app edit// tag and the users probably have another number system than the Arabic one 1-9 resulting in non-Arabic numbers incorrectly being used. So instead of these users adding the deletion request to the normal logs, they add it to the log based on their number system.
Steps to reproduce
Not having the app or an Android myself I would suspect the way to reproduce would be:

Have a native number system other than Arabic (i.e. Bengali och Persian Arabic)
Open the app
Nominate a page for deletion

Expected behaviour
The deletion request is transcluded to the log based on Arabic numbers no matter what native number system the user has, so for today it's Commons:Deletion_requests/2023/08/07
Actual behaviour
The deletion request is transcluded to the log based on the user's native number system, so Commons:Deletion_requests/2023/08/07 if it's Arabic, Commons:Deletion_requests/۲۰۲۳/۰۸/۰۷ if it's Persian Arabic and Commons:Deletion_requests/২০২৩/০৮/০৭ if it's Bengali.
Device name

Android version

Commons app version

Device logs

Screen-shots

Would you like to work on the issue?
Prefer not

Thanks for spotting and reporting this!

The date seems to be in the default locale indeed. So the fix should be using English or something similar instead.
https://github.com/commons-app/apps-android-commons/blob/a620cc9de686687e160ce51c373b10a0886c7421/app/src/main/java/fr/free/nrw/commons/delete/DeleteHelper.java#L95-L96

What might be more complicated is finding a way to properly unit-test it. Do we need to use ArgumentCaptor perhaps?
Do we want to use Locale.ENGLISH or Locale.ROOT? (I see both in other date-related things in the code.)

I can see what works best to allow Bengali numbers to work better.


Updated Iris install instructions

Updated the Iris install instructions to align with the changes to the requirements (https://github.com/SciTools/iris/pull/3812).
Also removed the INSTALL file in the root.. I contemplated keeping this file with just a link to the documentation but chose to remove it.
For the lifetime of this PR you can view the updated installation documentation via:
https://iris-test-doc.readthedocs.io/en/latest/installing.html

@tkknight Awesome 🤟
I'll merge this once #3812 lands 😀

@tkknight You still need to make a couple of extra changes...

remove the reference to the INSTALL file in the MANIFEST.in.
tidy the reference to INSTALL in the README.md

@tkknight Awesome, thanks :+1:


adding security

hi all,
when i make inclusion to device, i choose first option (to set security when it's can).
can i add my security later on by code or mqtt command?
zeev

Nope. Security can only be set during inclusion, in order to change that you have to exclude and include again the node


Could we add WIDE1-1,WIDE2-1 path options to command line?

I believe it is presently hard coded to WIDE2-1.   For use with mobile stations it is recommended to have WIDE1-1,WIDE2 as described  here... http://wa8lmf.net/DigiPaths/NNNN-Digi-Demo.htm.
The reason I mention this is that this code has now found itself being used inside a raspberry pi zero for a low cost mobile APRS tracker as described here..  http://midnightcheese.com/2015/12/super-simple-aprs-position-beacon/
Perhaps default to WIDE2-1 as present but a -m command line to specify mobile use?

Hi, I believe it should be defaulting to WIDE1-1,WIDE2 already –  see line 228 of ax25.py.
If you use the -v verbosity flag, you can get a debug output to check the exact packet contents being encoded for you:
$ aprs -c xxxx TEST -v -o /dev/null 2>&1 | grep ax25
INFO:afsk.ax25:Sending packet: 'xxxx>APRS,WIDE1-1,WIDE2-1:TEST'
...

If you want to change that, use the -d or --digipeaters flags:
$ aprs -c xxxxx -d 'WIDE2-1' TEST

All the flags are documented (lightly) via aprs -h.
I noticed on the comments of that post you linked there was a bit of confusion about the --digipeaters option docs, so I'll update it to clarify a bit.
Thanks for the report and the links!


Identify how user will determine if they get SSI or SSDI

Most laypersons don't know how to find this information at a glance. Need to provide guidance is this interview is to be completed by recipient, versus 3rd party (i.e. attorney)

This was opened with title "bug report" below - issue #21; will leave both open for now.

I agree that this is something most laypersons struggle with. I did some research and here are some links that might be helpful to include on that page:
https://www.ncoa.org/article/ssi-vs-ssdi-what-are-these-benefits-how-they-differ/
https://www.usa.gov/social-security-disability
https://soarworks.samhsa.gov/article/overview-of-social-security-disability-programs-ssi-and-ssdi


chore: remove redundant interfaces

Merged interfaces starting with I prefix to have the same name as their class names

Codecov Report

Merging #26 (9006eb3) into master (f801a59) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines          228       228
  Branches        22        22
=========================================
  Hits           228       228

Impacted Files
Coverage Δ

src/factories/mock-factory.ts
100.00% <ø> (ø)

src/class-processor.ts
100.00% <100.00%> (ø)

src/class-reflector.ts
100.00% <100.00%> (ø)

src/handlers/array-value-handler.ts
100.00% <100.00%> (ø)

src/handlers/callback-value-handler.ts
100.00% <100.00%> (ø)

src/handlers/enum-value-handler.ts
100.00% <100.00%> (ø)

src/handlers/object-literal-value-handler.ts
100.00% <100.00%> (ø)

src/handlers/primitive-handler-abstract.ts
100.00% <100.00%> (ø)

src/handlers/primitive-value-handler.ts
100.00% <100.00%> (ø)

src/handlers/single-class-value-handler.ts
100.00% <100.00%> (ø)

... and 1 more

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 f801a59...9006eb3. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


pscale hangs for 2 minutes when running in WSL2

Hi!
I noticed a strange behavior when running pscale in WSL2.

Release 0.131.0
Installed via pscale_0.131.0_linux_amd64.deb
WSL2 Ubuntu 20.04.6 LTS

Any command will hang for 2 minutes before any output:
$ time pscale --debug org list
Updater error: skipping update, reason: Latest version was already checked
Error: not authenticated yet. Please run 'pscale auth login'
Error: --access-token is required for access token authentication

________________________________________________________
Executed in  120.11 secs      fish           external
   usr time    4.44 millis   51.00 micros    4.39 millis
   sys time    4.83 millis  114.00 micros    4.72 millis

Running pscale auth login will take 2 minutes until a browser window with the (correct) code is opened and then another ~2 minutes until a success message is shown.
$ time pscale --debug auth login
Confirmation Code: xxx

If something goes wrong, copy and paste this URL into your browser: https://auth.planetscale.com/oauth/device?user_code=xxx

Successfully logged in.

________________________________________________________
Executed in  275.68 secs      fish           external
   usr time  250.22 millis    0.00 micros  250.22 millis
   sys time  111.74 millis  770.00 micros  110.97 millis

I cannot connect to any database or do any development work in WSL2.
Happy to debug this further with some guidance.

Just chiming in to say that I'm observing this issue as well in WSL2, running the same version of Ubuntu but using pscale version 0.136.0 at time of writing. There are two details worth mentioning, though:

The first command after a reboot works as expected, but every command after that takes ~2 minutes
I can connect to databases and branches, they are just subjected to the same 2 minute restriction

This issue isn't really a blocker for me because all of the commands work eventually, but it does make demoing Planetscale for my team pretty painful.

Also having this same issue with<EMAIL_ADDRESS>installed via brew on Ubuntu 20.04.4 in WSL2.

I haven't been able to recreate this yet. Our suspicion is that this has to do with keyring access.
If someone here gets a chance, could you try running pkill gnome-keyring? Then run the pscale command again. I'm curious if that temporarily improves it.
Related issue: https://github.com/99designs/keyring/issues/112

@mscoutermarsh I can confirm that in my instance, this worked:
gurlr on  main [✘!?] is 📦 v0.1.0 via ⬢ v16.20.0 took 4s
➜ time pscale --help
<snip output>
pscale --help  0.01s user 0.00s system 0% cpu 2:00.11 total

gurlr on  main [✘!?] is 📦 v0.1.0 via ⬢ v16.20.0 took 2m 0s
➜ pkill gnome-keyring

gurlr on  main [✘!?] is 📦 v0.1.0 via ⬢ v16.20.0
➜ time pscale --help
<snip output>
pscale --help  0.01s user 0.00s system 0% cpu 3.215 total

@itsjxck wow, thank you. Will keep looking into the keyring then.

Thanks for looking into this! I can confirm the same behavior with gnome-keyring.
Killing it after each pscale command "works".

That partially solves the problem for me. It reduced the time from four minutes down to two minutes. Apparently there is something else going on too.
 ~/repositories  time pscale --version
pscale version 0.136.0 (build date: 2023-04-05T18:22:00Z commit: bd872ad)

real    4m12.467s
user    0m0.013s
sys     0m0.000s
 ~/repositories  pkill gnome-keyring
 ~/repositories  time pscale --version
pscale version 0.136.0 (build date: 2023-04-05T18:22:00Z commit: bd872ad)

real    2m10.787s
user    0m0.006s
sys     0m0.008s
 ~/repositories 

Great info, thank you.

@mscoutermarsh, if there is other information that would be helpful ... let me know. Also, if the source code is available (is it open source?), I would be willing to run it in a debugger.

@iambillmccann That'd be incredible! No one on our team has been able to reproduce it just yet.
We believe it's likely timing out when accessing the keyring here: https://github.com/planetscale/cli/blob/37460efe0a564dc44d4ec85918f75139389489ce/internal/config/config.go#L214
Or it may be when reading/writing it. https://github.com/planetscale/cli/blob/37460efe0a564dc44d4ec85918f75139389489ce/internal/config/config.go#L237

Related issue: 99designs/keyring#112

Fwiw, I don't think this issue is just related, but it's exactly this problem that we're hitting here. @iambillmccann You probably end up debugging that package when following the bread crumbs. But if you have any information for us, or for them that would be amazing!

I'm having the same issue.
CLI version: 0.144.0
Ubuntu version: 22.04.2 (WSL2)
Running pkill gnome-keyring before each command also seems to be working for me.
If there is anything I could help you debugging let me know.


All but One of My Hamburger Menu Links are Working

(New to Coding) I can navigate to any of my other sections of my website using tabs in my hamburger menu, but one tab in particular doesn't respond at all. i don't know if it makes a difference but on this tab in particular there is a carousel. I dont even know where to begin in order to fix this issue myself. If anyone can please help me out I'd really appreciate it.
this is how i set up that one section.

Graphic Design Work

            Previous

            Next

Maybe the problem is that you didn't add the js dependencies, which bootstrap carousel requires:
Try to add the following two scripts:


Obtain sub-subject of generated messages

This PR:

Extends MessageWithContext interface with an ability to obtain unpacked message and test its type.
Extends EmittedMessageSubject with an ability to create a subject of the same type on messages filtered by the passed type.

@dmdashenkov, PTAL.


Add signout option for the users

Purpose
The purpose of this PR is to fix #98 fix #112
Goals
To add the logout feature to the app
Approach

Added a new button to the navigation bar
Updated the existing logout button to function on the admin dashboard
Changed AUTH_URL to http://localhost:8080/login
Added a new constant variable LOGOUT_URL with the value http://localhost:8080/logout

NOTE: Backend would only be updated for this to properly work once these commits are merged

Make Program endpoints public
Configure and handle redirection on login and logout

Screenshots

Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Test environment

Safari
webpack dev server
macOS Big Sur

Good job! @Gravewalker666 Once we click logout we'll be logged out and will be redirected to the homepage right?

Yesss :octocat:


FreeRDP - connection termination

Hello,
we're using RemoteApp to connect to some Apps via VPN. Connection is established from Igel Thin Clients with an implemented Igel RDP Client (based on Free RDP Client 1.1).
Unfortunately there are severall disconnects during a working day and we don't have any starting points to resolve this issue. This is what we've done so far:
Now, we used the FreeRDP Debugger to log the Errors, and this is the output we got:
[12:17:50:568] [5887:5889] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[12:17:50:649] [5887:5889] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[12:17:50:649] [5887:5889] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x2000C]
[12:17:50:649] [5887:5889] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure
[12:17:55:703] [5887:5889] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[12:17:55:704] [5887:5889] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure
[12:17:55:913] [5887:5889] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor

@timomenger if it's the Igel RDP you should contact the Igel support. Or can you replace the RDP Client with something self build?

@bmiklautz  Thanks for your answer. We have already contact the Igel support. But we are looking independently for the solution.

@timomenger I think there isn't much we can do in this case. 1.1 does (unfortunately) not say very much without a git tag. So one can't even easily get started to look for the problem. What you can do is to test if the current master fixes this problem for you.

Hi we have same problem and we do some test, problem exist in current Master and not exist in stable-1.1 branch.


Only make one PR after release

Previously 2 commits would be made on different branches from main, and a PR created against main on GitHub. Merging either of those would cause a conflict in the other. Also, there's a specific order that those commits need to merged in, so having two pull requests increases the potential for human error.
The intention of this change is to make it so that there will only be one PR, with the two commits ordered as they should be.

This is related to https://github.com/kroxylicious/kroxylicious-junit5-extension/pull/89#issuecomment-1518046998


Dont work now the website cant create the note

I'll close for now, as there are no more details provided


support for identifying users that acknowledge and resolve from Slack

user_id in the log_entries is null if the user acknowledges/resolves from Slack.
To capture who is performing those actions I'm doing 2 things:

Storing the values from the channel object that come back from the request for log entries - which includes the slack user id
Syncing the list of users in Slack into a slack_users table

Now we can join the channel_user_id column in the log_entries table with the id column in the slack_users table.
If you want to enable the optional Slack integration you have to add the SLACK_TOKEN environment variable
FYI, This pr also includes the commits from https://github.com/stripe/pd2pg/pull/7

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: rnaud:x: lalitkapoorYou have signed the CLA already but the status is still pending? Let us recheck it.


Remove leftover uses of glog from our code base.

Also, configure pkg/log to default values such that you can log using defaults
without having to call pkg/log.Configure() first.

shouldn't this be with #3759 ? also isn't the shim supposed to make glog api work and just capture the log through zap ?

This is technically unrelated to my other PR. This is cleanup work which can be done independently. Yes, the shim makes this work OK, but it's better to avoid glog completely.

@geeknoid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
1ba744cd028e6c12f9c3d756b41ace6d9af0d8ff
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Integrated with #3759


Explore forwarding mouse events to connected host

#267 Accomplishes the first steps here, but forces the user to hold shift to prevent the terminal to steal mouse events. hterm handles this really nicely:
https://chromium.googlesource.com/apps/libapps/+/master/hterm/js/hterm_terminal.js#2765
I'll probably need to modify vt320 a bunch to get this right and support mousewheel.


STORM-1226: Port backtype.storm.util to java

This PR converts nearly the entirety of util.clj into Java.
What's left in util.clj will never be translated, but will disappear when the clojure code using it is rewritten in java. For now it's cleaner to leave these few functions and macros in place instead of trying to inline them everywhere.
The only operation that should need to be performed on util.clj after this PR is merged is git rm

Test failures appear to be unrelated.
I am +1, however I also worked on much of this.
It would also be good to squash this before it is merged.

Yep, test failures are unrelated it seems.
@d2r I will squash this if it's very important, but since there are many merges in here, it's going to be a big job to do, and needs to be done before review to avoid accidentally messing up the merges while squashing.

Squashed the commits.
Contributors were @rfarivar, @d2r, and myself.
Test failures are unrelated as far as I can tell. There appear to be test problems affecting all PRs.

@abhishekagarwal87 @revans2
I believe I've addressed all of the concerns.

One minor nit with the logging and then I am +1

OK, looked again and noticed some things that might be good to address now.

OK looks good I am +1 again.  I would like other +1s since I contributed some of this.


Debugger and WinDbg - KeyError on map["Attributes"]

Describe the bug
Trying to debug a Windows application analysed with Ghidra. I've set up Python (3.12; my application is 32-bit but capstone is a dependency of pybag and was not happy using 32-bit python, which I initially guessed might cause less friction given this is Windows) and installed pybag and protocol buffers as per the F1 help.
To Reproduce
I've spent all afternoon trying to get the debugger to start - so I don't know enough about ghidra or the full setup to design an MRE.
I start the debugger and I get one of python's famously uneasy-on-the-eyes backtraces to the terminal:
Connected to Ghidra 11.1.2 at <IP_ADDRESS>:56017

Microsoft (R) Windows Debugger Version 10.0.17763.132 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\Inferior.exe
Symbol search path is: srv*
Executable search path is:
ModLoad: 00000000`00400000 00000000`00acd000   Inferior.exe
ModLoad: 00007ffa`784f0000 00007ffa`786e8000   ntdll.dll
ModLoad: 00000000`77510000 00000000`776b4000   ntdll.dll
ModLoad: 00007ffa`76f90000 00007ffa`76fe9000   C:\WINDOWS\System32\wow64.dll
ModLoad: 00007ffa`77950000 00007ffa`779d3000   C:\WINDOWS\System32\wow64win.dll
(3254.6bc8): Break instruction exception - code 80000003 (first chance)
dict_keys(['LocalVariables', 'Parameters', 'SwitchTo', 'ToDisplayString'])
Traceback (most recent call last):
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 147, in _func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 181, in on_state_changed
    return on_stop(args)
           ^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 377, in on_stop
    state.record("Stopped")
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 81, in record
    commands.put_frames()
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\util.py", line 289, in _func
    return self.run(func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\util.py", line 258, in run
    return future.result(0.5)
           ^^^^^^^^^^^^^^^^^^
  File "C:\Python312-64\Lib\concurrent\futures\_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Python312-64\Lib\concurrent\futures\_base.py", line 401, in __get_result
    raise self._exception
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\util.py", line 118, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1254, in put_frames
    (values, keys) = create_generic(path)
                     ^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1352, in create_generic
    result = put_generic(obj)
             ^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1402, in put_generic
    update_by_container(node.path, index, lobj)
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1322, in update_by_container
    attr = map["Attributes"]
           ~~~^^^^^^^^^^^^^^
KeyError: 'Attributes'
Traceback (most recent call last):
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\data\support\local-dbgeng.py", line 71, in <module>
    main()
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\data\support\local-dbgeng.py", line 66, in main
    on_state_changed(DbgEng.DEBUG_CES_EXECUTION_STATUS, DbgEng.DEBUG_STATUS_BREAK)
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 147, in _func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 181, in on_state_changed
    return on_stop(args)
           ^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 377, in on_stop
    state.record("Stopped")
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\hooks.py", line 81, in record
    commands.put_frames()
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\util.py", line 289, in _func
    return self.run(func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\util.py", line 258, in run
    return future.result(0.5)
           ^^^^^^^^^^^^^^^^^^
  File "C:\Python312-64\Lib\concurrent\futures\_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Python312-64\Lib\concurrent\futures\_base.py", line 401, in __get_result
    raise self._exception
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\util.py", line 118, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1254, in put_frames
    (values, keys) = create_generic(path)
                     ^^^^^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1352, in create_generic
    result = put_generic(obj)
             ^^^^^^^^^^^^^^^^
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1402, in put_generic
    update_by_container(node.path, index, lobj)
  File "C:\...Ghidra\Debug\Debugger-agent-dbgeng\pypkg\src\ghidradbg\commands.py", line 1322, in update_by_container
    attr = map["Attributes"]
           ~~~^^^^^^^^^^^^^^
KeyError: 'Attributes'

Based on the contents of that file, I simply wrapped the line in an exception handler and return if not present. IDK if the check for None was meant to handle a bad access into the hashmap or conversely if the key is always expected but nillable and thus we have a problem (i.e. in ruby speak, if [] should really have been []? but the original author didn't hit the case when this was missing). I am one step further along for now so using as a workaround.
Environment (please complete the following information):

OS: Windows 10 AMD64
Java Version: OpenJDK 21 IIRC
Ghidra Version and Origin

@stellarpower Hmmm, just as a test case, maybe try unselecting “dbgmodel” when you start the target.

Thanks, I think I did. The little checkbox next to the path to the engine?

Yes, correct - the stack suggests you’re using generic containers, which, if I remember correctly, only happens if you’re using “dbgmodel” vs. straight “dbgeng”.   Related:  do you have the newest version of windbg installed, i.e. what was called Windbg Preview, and/or the current WDK or are you running from a base Windows 10 install?

Verified the error and put in a fix.  Even with the fix, however, I would not recommend using "dbgmodel" with the default Windows 10 install as a good bit of the functionality in the default C:\Windows\System32\dbgmodel.dll is missing.   If you can, install the latest windbg or WDK and point the dbgeng directory parameter at their versions.  If not, maybe stick to "dbgmodel" off.


Recording window events

 Real browser recording in Loadster Recorder

@azhawkes Alright, I added a few changes, now we have more useful data.
Thanks, this webNavigation.onCommitted looks promising, works great so far.

@konfrontend Cool, just ran it and I see the navigations are being detected. Can you also create pseudo-events for these navigations? Something like:
{ type: "loadster_browser_event", value: { action: "navigate", url: "https://loadster.app" }}

And then pass those, as well as the other actions (click, etc) to a handler function so they can get sent to Loadster via the setInterval as we are currently doing for HTTP recording events. Basically, I'm thinking the JS listening on the other end will receive both the new and old events and decide which it cares about depending on the type of recording the user triggered. Sound ok?
BTW I noticed the initial tab opening is not triggering a navigate event. Can you fake it so we record the initial navigation?

@azhawkes
I slightly modified the sent message to send both event types together. Loadster should have backward compatibility for this(see another PR).
Well, I think we are now ready for the UI part :)

@konfrontend Is this (still) ready to merge and publish? Any last changes before I publish the new version?

@azhawkes Yes, it is ready to merge. Nothing else comes to my mind for now. We dispatch all types of events and let vue.app to decide what to use.


Not support  SqlServer or Oracle

Why not write the extension of SqlServer or Oracle?

What kind of extension method are you looking for?

Such as
public static partial class Extensions {     public static DataSet ExecuteDataSet(this SqlCommand @this)     {         var ds = new DataSet();         using (var dataAdapter = new SqlDataAdapter(@this))         {             dataAdapter.Fill(ds);         }         return ds;     } }
But Not In This Extension.


Allow dap adapter name to be passed in as config value

Hi,
I wanted to use the plugin for debugging UnitTests, but unfortunately the plugin seems to search for a debug adapter named netcoredbg.
The debug adapter name should be coreclr, as described in the nvim-dap repository. When debugging my application, my configuration with the name coreclr works.
Thank you for the work on this plugin, we can use any plugin for .net support!

Thanks @wambldor. I believe you are free to name your adapter (i.e. the dap.adapters.<name_here>) configuration, anything you like, as long as your configurations reference the same name.
In reality, the name of the dap adapter being used should be a configuration value that can be passed in, given that it could literally be any value.
I'll use this issue to create a new option to pass this in, but for the time being, to get it to work, just change the name used in you own dap config to 'netcoredbg' instead of 'coreclr'.

Sorry, I didn't realize that the names of the dap adapters are freely selectable. Probably because I use mason-nvim-dap. There the names for the automatic installation are fixed.
If I find time I would like to create a pull request to make the name configurable.

Closing this as PR addresses it.


CI is broken

https://github.com/kedro-org/kedro-starters/pull/136 made a one character change in the README but there were some test failures.
https://app.circleci.com/pipelines/github/kedro-org/kedro-starters/618/workflows/687e92b1-d6d7-41e1-9348-dc8566bb9c39/jobs/6650
Failing scenarios:
  features/run.feature:26  Run a Kedro project created from pyspark-iris

0 features passed, 1 failed, 0 skipped
4 scenarios passed, 1 failed, 0 skipped
24 steps passed, 1 failed, 0 skipped, 0 undefined
Took 3m56.385s

Exited with code exit status 1

CircleCI received exit code 1

This is the error:
DatasetError: An exception occurred when parsing config for dataset
'example_classifier':
Dataset type 'kedro.io.memory_dataset.MemoryDataSet' is invalid: all data set
types must extend 'AbstractDataSet'.

Root cause:
https://github.com/kedro-org/kedro-starters/blob/2d86c0f2bbf5e535a7c0ec3f2470e979990df966/pyspark-iris/{{ cookiecutter.repo_name }}/conf/base/catalog.yml#L97-L103
and
https://github.com/kedro-org/kedro/blob/fd8162d5bf384ef666c01ef2c529d01fd9fa8354/kedro/io/core.py#L427-L431

In progress at https://github.com/kedro-org/kedro/pull/2724

Test: gh-138


Error: got 401 response

I tried to follow the instruction but got Error: got 401 response.

Hi Hxuan,
I'll bet it's an issue with the repo name you entered in during configuration.
Can you paste your config.json file in the this issue comment and then null out your token value ?
It should look something like this:
{   "auth": {     "url": "https://api.bitbucket.org/2.0/repositories/phase2tech/mti_cms/",     "user": "dan_shumaker",     "token": "bla_bla_bla_dont_paste_your_real_token_obviously"   },   "options": {     "default_reviewers": [ { "username" : "ezeedub"  }  ]   } }

I have double checked it and you are right 👍 . However I think we can improve the error message to be more precise.


The key 'id-token' is not allowed

In GitHub Enterprise Server 3.4.3 using self hosted runners, when I try to use login action:
buildImage:
        permissions:
            contents: read
            id-token: write
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v3
            - name: Azure login
              uses<EMAIL_ADDRESS>              with:
                client-id: ${{ secrets.AZURE_CLIENT_ID }}
                subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
                tenant-id: ${{ secrets.AZURE_TENANT_ID }}
            - name: Build and push image to ACR
              run: |
                az acr build --image ${{ env.AZURE_CONTAINER_REGISTRY }}.azurecr.io/${{ env.CONTAINER_NAME }}:${{ github.sha }} --registry ${{ env.AZURE_CONTAINER_REGISTRY }} -g ${{ env.RESOURCE_GROUP }} .

I'm getting error message:
The workflow is not valid. .github/workflows/azure-kubernetes-service-helm.yml (Line: 24, Col: 13): The key 'id-token' is not allowed .github/workflows/azure-kubernetes-service-helm.yml (Line: 40, Col: 13): The key 'id-token' is not allowed

Is there a workaround for this  ?

@januszj OIDC login is supported from GHES 3.5 onwards. You can have the regular spn login if you continue to use the previous version.
Ref -<EMAIL_ADDRESS>


⚠ Bofrost.de has degraded performance

In e9f7f86, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1343 ms

Resolved: Bofrost.de performance has improved in 87b6e1c after 6 minutes.


6.0 Feedback: 'No module named pandas'

Overview
No response
Current Behavior
Pandas package not found when uploading protocol
slack nus for protocol
reproducible on mac and windows

Expected Behavior
No response
Steps To Reproduce
No response
Operating system
Windows
Robot setup or anything else?
No response

This looks like an instance of the app's local Python environment differing from the robot's Python environment.
pandas is on the robot I'm pretty sure, and protocols may expect it to be there. It's almost certainly not in the app's local Python environment.

pip list on my robot running 6.0.0a2 lists pandas 0.25.3. I've never installed it on my local Python.

verified
smalles.py.zip
is analyzed on the app.


Add more languages

As part of Modtoberfest, you can translate this template to any language you’re familiar with. Use the country indicators as file name as done with fr.md for French or de.md for German. You can check if your indicators are correct by checking if they are responsible for the emoji flag of this country, for example :de: here in an issue.
If you want to submit multiple languages, please create a pull request for each language.
Don't use a translator to translate everything, we want good translations, everything else could be done with a bot

Closed in favour of #13


flash-attn install problems

GCC>=6.0
Without module dropout_layer_norm, see URL:  https://github.com/Dao-AILab/flash-attention/issues/587#issuecomment-1773565555

'NoneType' FusedMLP, see $"cd flash-attention/csrc/fused_dense_lib && TORCH_CUDA_ARCH_LIST="3.7;5.0;6.0;7.0;7.5;8.0;8.6+PTX" python -m pip install ."

Hi, are you having trouble installing flash attention?

This issue can be closed. @czczup

Ok, thanks for your advice!


Missing links in Git Documentations

There are several places where link text is present but hyperlink is missing.

Link to "git-pack-refs(1)" is missing. I expect there should be a hyperlink to https://git-scm.com/docs/git-pack-refs

Link to "git-fetch(1)" is missing. I expect there should be a hyperlink to https://git-scm.com/docs/git-fetch

Link to "git-pull(1)" is missing. I expect there should be a hyperlink to https://git-scm.com/docs/git-pull

Interesting; I wonder what code is making those into links?  The source has (See git-pack-refs(1).).  I believe the intent is to reference the man page.

Interesting; I wonder what code is making those into links? The source has (See git-pack-refs(1).). I believe the intent is to reference the man page.

Currently there are no links. I just highlighted the text so others could find it easily.
I'm quite confused by statement "reference to man page",
is it for terminal git man page, accessed by command git --help pack-refs
or reference to "https://git-scm.com/docs/git-pack-refs"
in case the intention is of former option, I guess the command git --help pack-refs should be given in side for user ease.

man 1 git-pack-refs will access it -- that is a UNIX standard way of referencing a man page, but of course not everyone knows that.  I think linking to the git-scm.com docs makes the most sense to me.

@timabbott yes linking to git-scm.com docs will be appropriate.
I have made appropriate changes and generated a pr #16584.
Please review it and merge if appropriate or suggest any changes if required.


Memory Leak

My Crashlytics has picked up a leak in the code affects iOS 8 and crashes at CWStatusBarNotification.m > updateStatusBarFrame selector function.
Any chance you could assist on how to resolve this?
Fatal Exception: NSInvalidArgumentException
-[__NSCFString updateStatusBarFrame]: unrecognized selector sent to instance

Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x256cafef exceptionPreprocess
1  libobjc.A.dylib                0x33d6ec8b objc_exception_throw
2  CoreFoundation                 0x256d0409 __methodDescriptionForSelector
3  CoreFoundation                 0x256ce327 __forwarding
4  CoreFoundation                 0x255fde78 _CF_forwarding_prep_0
5  CoreFoundation                 0x25682e09 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER
6  CoreFoundation                 0x255dd515 _CFXNotificationPost
7  Foundation                     0x2633f749 -[NSNotificationCenter postNotificationName:object:userInfo:]
8  UIKit                          0x28dcd18d -[UIApplication _notifyWillChangeStatusBarFrame:]
9  UIKit                          0x28dccd8d -[UIApplication statusBar:willAnimateFromHeight:toHeight:duration:animation:]
10 UIKit                          0x28db0d7f -[UIStatusBar _requestStyleAttributes:animationParameters:]
11 UIKit                          0x28dafb93 -[UIStatusBar requestStyle:animated:]
12 CoreFoundation                 0x25682e09 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER
13 CoreFoundation                 0x255dd515 _CFXNotificationPost
14 Foundation                     0x2633f749 -[NSNotificationCenter postNotificationName:object:userInfo:]
15 Foundation                     0x2634422f -[NSNotificationCenter postNotificationName:object:]
16 UIKit                          0x28dc738f -[UIApplication _saveSnapshotWithName:]
17 UIKit                          0x28faef77 -[UIApplication _handleApplicationDectivationWithScene:shouldForceExit:transitionContext:completion:]
18 UIKit                          0x28fb62b1 __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke
19 UIKit                          0x28fb625d -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]
20 UIKit                          0x28fab11b -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]
21 FrontBoardServices             0x2c29aa65 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2
22 FrontBoardServices             0x2c2a9ec9 __31-[FBSSerialQueue performAsync:]_block_invoke_2
23 CoreFoundation                 0x25690fd5 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK
24 CoreFoundation                 0x25690299 __CFRunLoopDoBlocks
25 CoreFoundation                 0x2568edd3 __CFRunLoopRun
26 CoreFoundation                 0x255db201 CFRunLoopRunSpecific
27 CoreFoundation                 0x255db013 CFRunLoopRunInMode
28 GraphicsServices               0x2d0ac201 GSEventRunModal
29 UIKit                          0x28da7a09 UIApplicationMain
30 Social Dummy                   0x00025627 main (main.m:16)
31 libdyld.dylib                  0x34320aaf start

Can you provide steps on how to reproduce the error?

Unfortunately Im unable to as this has been done by couple users in my app. I personally have never come across this issue during vigorous testing myself and have tried to see whether I could solve it myself but haven't reproduced.
However here is a link the issue in my Crashlytics: http://crashes.to/s/a9b0e587699

Seems like when this kind of statement is set up, it doesn't think that updateStatusBarFrame is a selector for self. Not sure what to make of that. Can't really do much without a way to reproduce this unfortunately. Let me know if you can reproduce this or have other ideas.

I thought as much yeah. If i come across it i'll get back to you. Thanks.
This is a REALLY useful and easy to use library!

Is there any updates regarding this issue?


Re-enable range checking.

Mask out high bits by anding values with uint32.high.
Fixes #21.

Thanks!


[SMALLFIX] Minor code improvement for package tachyon.worker.block.evictor

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

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

LGTM


Add tests for docker unicode problems.

These tests will likely not pass on 3.6 because unicode is a hot mess.

Codecov Report

Merging #198 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #198   +/-   ##
=======================================
  Coverage   88.88%   88.88%
=======================================
  Files          41       41
  Lines        2105     2105
=======================================
  Hits         1871     1871
  Misses        234      234

Impacted Files
Coverage Δ

lintreview/docker.py
94.11% <ø> (ø)
: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 d016e9f...dc46197. Read the comment docs.


Fix _record_gradient attribute error in tensorflow>=2.5.0

The fix ensures compatibility of module with tensorflow>=2.5.0, where the _record_gradient was replaced with record_gradient in tensorflow.python.eager.backprop.

Issue #2189

Fixed my issue, now stuck with a ton of gradient registry has no entry for some reason.

Same.
The build seems to be failing as well (appveyor). How does one go about fixing it?

Fixed my issue, now stuck with a ton of gradient registry has no entry for some reason.

Same.
The build seems to be failing as well (appveyor). How does one go about fixing it? Or its better to be left alone for now?

The following is kind of tedious but fixed it for me:
   shap.explainers._deep.deep_tf.op_handlers["AddV2"] = shap.explainers._deep.deep_tf.passthrough     shap.explainers._deep.deep_tf.op_handlers["BatchMatMulV2"] = shap.explainers._deep.deep_tf.passthrough     shap.explainers._deep.deep_tf.op_handlers["TensorListStack"] = shap.explainers._deep.deep_tf.passthrough     shap.explainers._deep.deep_tf.op_handlers["StatelessWhile"] = shap.explainers._deep.deep_tf.passthrough     shap.explainers._deep.deep_tf.op_handlers["TensorListFromTensor"] = shap.explainers._deep.deep_tf.passthrough     shap.explainers._deep.deep_tf.op_handlers["Sin"] = shap.explainers._deep.deep_tf.passthrough
So pretty much adding any handlers that error out

Fixed my issue, now stuck with a ton of gradient registry has no entry for some reason.

Same.
The build seems to be failing as well (appveyor). How does one go about fixing it? Or its better to be left alone for now?

The following is kind of tedious but fixed it for me:  shap.explainers._deep.deep_tf.op_handlers["AddV2"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["BatchMatMulV2"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["TensorListStack"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["StatelessWhile"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["TensorListFromTensor"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["Sin"] = shap.explainers._deep.deep_tf.passthrough So pretty much adding any handlers that error out

why not use
for k in shap.explainers._deep.deep_tf.op_handlers.keys():
    shap.explainers._deep.deep_tf.op_handlers[k] = shap.explainers._deep.deep_tf.passthrough

Fixed my issue, now stuck with a ton of gradient registry has no entry for some reason.

Same.
The build seems to be failing as well (appveyor). How does one go about fixing it? Or its better to be left alone for now?

The following is kind of tedious but fixed it for me:  shap.explainers._deep.deep_tf.op_handlers["AddV2"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["BatchMatMulV2"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["TensorListStack"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["StatelessWhile"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["TensorListFromTensor"] = shap.explainers._deep.deep_tf.passthrough shap.explainers._deep.deep_tf.op_handlers["Sin"] = shap.explainers._deep.deep_tf.passthrough So pretty much adding any handlers that error out

These are not working from in in tg 2.6.2

I tried using
!pip install git+git://github.com/filusn/shap.git@e6f842573943332d6bcc941f46d3c96dc2ac793f
but got the same error for shap_values = e.shap_values(correct[1:5])

worked for me too

I tried using !pip install git+git://github.com/filusn/shap.git@e6f842573943332d6bcc941f46d3c96dc2ac793f
but got the same error for shap_values = e.shap_values(correct[1:5])

There was an issue related to kaggle kernel. Worked in colab for me. Apologies for inconvenience!

Thanks for the fix! Sorry I was slow on the review (was out for a while after paternity leave).

Thanks for the fix! Sorry I was slow on the review (was out for a while after paternity leave).

Thank you for merging and all the best for you and your family!

This worked for me

me too


What the!!!

Does anyone else have this issue?

Yes,
It is from the designer when you enable the shadows and then re-open,
I thought it was useful to give an indication of the "Area" that would be occupied.
I have my IDE on the Left monitor so it looked better.
I can investigate how to disable it

Ahh... sorry I didn't know. Makes sense now, I'll put it in the changelog.

@Wagnerp Is this still a thing with the latest code and IDE, I do not seem to get it anymore since the re-write of Shadows ...

@Smurf-IV I'll check it out ASAP (probably be Monday)

Hi @Smurf-IV
The issue seems to be fixed.


Added a default Accept header which accepts Siren media type first

Currently Angular requests application/json by default.  Within the factory for the navigator I had it instead set a default accept header which puts application/vnd.siren+json first.

@JChapman202 Wondering if PR#5 might address this issue in a more generic manner. You could add this as the Accept header, along with other arbitrary ones.


Release 0.1.2

There's some commits that fix the ffi dependency resolution messages/errors that are present in 0.1.1 which is the version currently available on rubygems, specifically 2826b914f1b2303ece9a97257e077cbb9cd29c0f
/opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find ffi-1.9.8 in any of the sources (Bundler::GemNotFound)
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/spec_set.rb:85:in `map!'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/spec_set.rb:85:in `materialize'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/definition.rb:132:in `specs'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/definition.rb:177:in `specs_for'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/definition.rb:166:in `requested_specs'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/environment.rb:18:in `requested_specs'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/runtime.rb:13:in `setup'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler.rb:122:in `setup'
        from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/setup.rb:17:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'

still see vagrant errors after a sudo gem install ffi
$ gem list ffi

*** LOCAL GEMS ***

ffi (1.9.10, 1.9.8)

$ vagrant ssh master
/opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find ffi-1.9.10 in any of the sources (Bundler::GemNotFound)
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/spec_set.rb:85:in `map!'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/spec_set.rb:85:in `materialize'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/definition.rb:132:in `specs'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/definition.rb:177:in `specs_for'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/definition.rb:166:in `requested_specs'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/environment.rb:18:in `requested_specs'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/runtime.rb:13:in `setup'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler.rb:122:in `setup'
	from /opt/vagrant/embedded/gems/gems/bundler-1.7.11/lib/bundler/setup.rb:17:in `<top (required)>'
	from /Library/Ruby/Site/2.0.0/rubygems/custom_require.rb:36:in `require'
	from /Library/Ruby/Site/2.0.0/rubygems/custom_require.rb:36:in `require'

@dlbewley v0.1.2 hasn't been released yet https://rubygems.org/gems/vagrant-dnsmasq
The only workaround currently is installing the plugin via a locally installed version of it, similar to here.


Index SiteNav is not sticky

Hello @styxlab,
I found that index menu is not sticky on scrolling.

I'll try to make a pull request of it. Thank you

@all-contributors please add @marsflow for code


Run homebridge on VM?

Is it possible to run this on an Ubuntu Server v.15 VM? (Specifically using Oracle VM Virtualbox.)
I've installed it twice over, I get no errors, it says that it's running, but my phone can't for the life of it find the homebridge! Nothing I do gets it to work.
Can you help? I'm kind of stupid when it comes to Linux, but if you can tell me what to do to get log files, I'll post them up here.
Thanks.

What os are you running the VM on? Mac or Windows? And yes you should be
able to get it running. Did you install the libavahi-compat-libdnssd-dev
package? And where you able to successfully install homebridge and its
config file?
On Sunday, January 31, 2016, DumbAsABrick<EMAIL_ADDRESS>wrote:

Is it possible to run this on an Ubuntu Server v15 VM? (Specifically using
Oracle VM Virtualbox)
I've installed it twice over, I get no errors, it says that it's running,
but my phone can't for the life of it find the homebridge! Nothing I do
gets it to work
Can you help? I'm kind of stupid when it comes to Linux, but if you can
tell me what to do to get log files, I'll post them up here
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/nfarina/homebridge/issues/503.

Since it's in the VM, please make sure your VM forward the multicast packets to the actual network (instead of the one shared between VM and host)

@khaosT I found that on Mac VMWare The Wemo plugin doesn't work as it
doesn't forward the UPnDP that is needed for it to work. Not sure why you
wouldn't just install on your base OS on the computer...?
On Sunday, January 31, 2016, Khaos Tian<EMAIL_ADDRESS>wrote:

Since it's in the VM, please make sure your VM forward the multicast
packets to the actual network (instead of the one shared between VM and
host)
—
Reply to this email directly or view it on GitHub
https://github.com/nfarina/homebridge/issues/503#issuecomment-177764055.

Thanks for the quick replies!

What os are you running the VM on? Mac or Windows?

I'm running the VM on Win 7 64-bit.

Did you install the libavahi-compat-libdnssd-dev
package?

Affirmative!

And where you able to successfully install homebridge and its
config file?

I'm able to get it all running, edited the config file, and it says:

I edited the file based on this article: https://c4drivers.wordpress.com/2015/10/28/homekit-for-control4/
And here's what my config.json looks like:

It looks alright, what's the IP address of the VM? (ifconfig)

IP is <IP_ADDRESS>.

and on iOS device can you access http://<IP_ADDRESS>:51826/accessories?

Nope! Can't get to it via my iPhone.

If so, you may want to check your network... make sure other devices on your network can access your VM.

OK! Thank you for your help! That narrowed it down quite a bit.
Got it fixed! The issue was that I had set the network settings in the VM Manager, but not for the Virtualbox program itself. D'oh! Now it has no issue at all connecting to the homebridge (using the bridged connection).

:) Glad to know you were able to solve the problem.
I'll close the issue for now.

Is it possible that u share your vmware machine ? because i can not get it working.


README: Add gradle-friendly import code snippet

Very minor README update:

add gradle import code snippet

Coverage decreased (-0.1%) to 98.446% when pulling 080640264fc3dd98233fa2eb54d86bdf7f20d647 on radistao:patch-1 into 1b933f0627462552fb60061b2217a380276477f0 on amaembo:master.

Coverage decreased (-0.07%) to 98.519% when pulling 598e0a031d7f485610b8013dc001dcfcf3f074b1 on radistao:patch-1 into 1b933f0627462552fb60061b2217a380276477f0 on amaembo:master.

Thanks.


Slooh Explorer Loading All Observations - Limit to Date

Hi,
Thanks for creating Slooh Explorer, I find it very helpful.
Each time I start Slooh Explorer, it loads all of my observations, and that amounts to 10 years of observations for me. It takes about 30 minutes to load all of the observations, during which time, Slooh Explorer is completely unresponsive. Once it has finished loading all observations, it becomes responsive again, and I can use it to download my observations.
As an enhancement, on the login screen, can you include a date field that defaults to 14 days in the past. Then use that date to filter observations so that Slooh Explorer doesn't reload all 10 years (in my case) of observations. This feature will make SE much faster to work with since I wouldn't have to wait for the 30 minutes for it to load observations. Also include a checkmark for All dates, in which case you disable the date control and load all observations as you normally do.
Thanks for your consideration,
Erik

Hello Erik,
that sounds like a good idea to have a time limit or maybe a limit on the number of observations.
I will see when I get around to add this feature.
Clear skies,
Matthias
Am 7. März 2024, 01:18, um 01:18, erikw1234 @.***> schrieb:

Hi,
Thanks for creating Slooh Explorer, I find it very helpful.
Each time I start Slooh Explorer, it loads all of my observations, and
that amounts to 10 years of observations for me. It takes about 30
minutes to load all of the observations, during which time, Slooh
Explorer is completely unresponsive. Once it has finished loading all
observations, it becomes responsive again, and I can use it to download
my observations.
As an enhancement, on the login screen, can you include a date field
that defaults to 14 days in the past. Then use that date to filter
observations so that Slooh Explorer doesn't reload all 10 years (in my
case) of observations. This feature will make SE much faster to work
with since I wouldn't have to wait for the 30 minutes for it to load
observations. Also include a checkmark for All dates, in which case you
disable the date control and load all observations as you normally do.
Thanks for your consideration,
Erik
--
Reply to this email directly or view it on GitHub:
https://github.com/Calteo/Slooh.Explorer/issues/4
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

Changes
I added an exta line of input fields above the grid.

Start gives the start number of the mission/capture
Limit give the amount of elements to fetch
The checkboxes activate the search for missions and/or captures (= pictures not take though missions)

Using the fetsch button the search can be started with differnt parameters.
Limitations

Unforturnately there is not an API to query by date, but fortunately for now the missions/captures come in newest first order. So fetching the first 20 missions will alway get the newest ones.
The query for the captures is quite slow by itself so this alway take a longer time to return some value. But you can deactivate that search if not needed.

Oh wow, this is great! So much faster!
Thank you -Erik
On Sun, 10 Mar 2024 at 15:48, Calteo @.***> wrote:

Changes
I added an exta line of input fields above the grid.

Start gives the start number of the mission/capture
Limit give the amount of elements to fetch
The checkboxes activate the search for missions and/or captures (=
pictures not take though missions)

Using the fetsch button the search can be started with differnt parameters.
Limitations

Unforturnately there is not an API to query by date, but fortunately
for now the missions/captures come in newest first order. So fetching the
first 20 missions will alway get the newest ones.
The query for the captures is quite slow by itself so this alway
take a longer time to return some value. But you can deactivate that search
if not needed.

—
Reply to this email directly, view it on GitHub
https://github.com/Calteo/Slooh.Explorer/issues/4#issuecomment-1987343282,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBNK6FQXYZY46AXTPVY6ULYXS2KLAVCNFSM6AAAAABEJ6L33CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGM2DGMRYGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


who can provide the DET dataset

thanks you

you can download it from here after registration

Yes but which dataset exactly could be please refer to this issue https://github.com/Scalsol/mega.pytorch/issues/73#issue-754884469


One tool, one renderer

Follow-up from #495
What is the feature being requested?
desire to keep hfss and q3d rendering methods separate, but to only have one single Ansys renderer (instead of current two renderers). The key to solve this might be to have hfss and q3d methods as composed in the ansys renderer class, and instantiate them as needed
What are use cases for this feature?
Use simplification and centralizing com ports and other renderer-related operations.

The pyaedt renderer has a different class for q3d,DM, EM.  So, this logic would not apply to new renderers for Ansys.


chore(notifications): revert remaining files

In #214, the main notification functionality was removed
due to it being in a auto-generated file.
This PR removes the remainder code that was left in from #134.
The angular-cli property in generated package.json is left in
since that was the place agreed for further configuration.
/cc @jkuri @hansl

lgtm

LGTM as well.


Issue where sometimes the robot starts an episode on its own

It probably has to do with the message (internally in the robot control node) not being reset properly

This problem seem to have disappeared, will monitor and reopen issue if the problem arises again


Prisma 3.12.0 breaks seed.ts

Just a heads up I updated prisma and @prisma/client to 3.12.0 and began getting a
An error occured while running the seed command:
Error: Command was killed with SIGKILL (Forced termination): ts-node --require tsconfig-paths/register prisma/seed.ts

I downgraded back to 3.11.1 and everything worked as expected.

Hello,
Delete your node_modules after prisma update.
It's a know issue from their side since some internals changes ;)

Ah okay! Sorry about that! Thanks for the info.

Your are welcome, I searched hours yesterday 😅


Server errors raised during synchronize have unexpected cause

When a server error is raised during synchronize, the exception cause is set to the currently caught exception (ExpecationNotMet, etc) - This is potentially confusing - see http://stackoverflow.com/questions/38332619/capybara-not-waiting-on-expect

Fixed via PR #1720


Fade in/out animation for System Message

📒 Description
This PR will introduce the fade in/out animation for Floating View and the icon
🕶 Types of changes
New feature (non-breaking change which adds functionality)
🤯 List of changes

[x] Fade in/out the Floating view when presenting

👫 Relationships
Close #2886
🔎 Review hints

When presenting the error floating view, it should fade in
Fade out when closing the box

GIF


suppress specific warnings

We are considering using infer as a static analysis tool for our project. I found notes on how to suppress infer warnings on specific classes and methods. My question is. If a situation arises. Would it be possible for us to supress some warnings/ results? I dont want supress the checker for a whole class or for a method. I just want to say that some results are not something we are ever going to fix (for whatever reason)

Would you mind sharing which warnings you've found to be unhelpful or have too many false positives?

In Java you can use @SuppressLint to suppress errors on a method or class. For clang languages there is no support for this yet but you can blacklist whole files or directories with --infer-blacklist-path-regex (see infer --help).
The way we deal with unwanted warnings is to run a diff analysis that filters out pre-existing warnings.

That makes sense. Thanks a lot for the response.


Optimized Queue doesn't seem to be more efficient than standard Queue

Brief Intro
Queue-Optimized.swift uses the Sequence function called contains to confirm a safe existence of an Index before retrieving the element at the front of the Queue.
More Details
subscript(guarded idx: Int) -> Element? {
    guard (startIndex..<endIndex).contains(idx) else {
        return nil
    }
    return self[idx]
}

The problem is, contains is an O(N) operation over the total amount of the Indexes, meaning that Dequeue went from O(N) to O(M) where M is the space complexity of the Index as Integer.
https://github.com/apple/swift/blob/d6eebe9faa16c19de0502156f6a453a9020208b8/stdlib/public/core/SequenceAlgorithms.swift#L547-L573
I think it can be possible to have the desired efficiency if the Array extension is removed and a private Bool is created that determines if head is <= safeEnd (an Int that gets increased whenever a value is appended to the array) and two Int values that are determined when values are enqueued or when the Array shift operation takes place are calculated, and head is checked against these two Int values. What do you think?
fileprivate var safeStart: Int = 0
fileprivate var safeEnd: Int = 0
public mutating func dequeue() -> T? {
    guard isSafe(idx: head),
        let element = array[head] else { return nil }

    array[head] = nil
    head += 1

    let percentage = Double(head)/Double(array.count)
    if array.count > 50 && percentage > 0.25 {
      array.removeFirst(head)
      safeEnd -= head
      head = 0
    }

    return element
}
private func isSafe(idx: Int) -> Bool {
    return idx >= safeStart && idx <= safeEnd
  }

Hey, thanks for the suggestion! I see what you're getting at there.
Like you stated, the contains method defined by Sequence is O(n) by default. However, types can override the default behaviour. In the case of the Range type, I wonder if they specialized the contains method to give O(1) performance.
Range requires the values to be Comparable and Strideable, which means they could very well specialize the contains method to simply:
func contains(_ value: T) -> Bool {
  value >= lowerBound && value < upperBound
}

I feel this case is very likely.

That seems to be the case! Source: https://github.com/apple/swift/blob/da61cc8cdf7aa2bfb3ab03200c52c4d371dc6751/stdlib/public/core/Range.swift#L166
Closing this as resolved, but feel free to reopen if you still feel there's an issue!


Property panel shows list elements in alphabetical order

Describe the bug
When adding list items in property panel the next time it opens it changed the order based on its content (alphabetically). It is very hard to edit items where order matters using the property panel. It doesn't respect the item order.
Steps to reproduce

create a connector input item as list
add bbb, aaa, ccc as list values
close and reopen properties
now the order of the values does no longer reflect what you can see in then BPMN XML (or what was shown before in the property panel)

Expected behavior
Use the same order of list values in modeler property panel as in XML.
Environment
Windows 10, Camunda Modeler 5.7.0, Camunda 7
Additional context
No response

@MarcusMue Thanks for opening this issue.
It has been a longer standing UX impediment that we fixed recently. Please give the latest nightly a try and report any issue that you can find.


[5.1] Reflection: Look through opaque type descriptors.

Turn an opaque type reference in a mangled name into its underlying type, if we can.
rdar://problem/46140707

@swift-ci Please test


Add some kind of transforms for "ghq.."

Instead of doing this:
ghq get git@my-repo-server.example.com:20022/group/project.git

I want to do this:
ghq get my-repo-server.example.com/group/project

quickly thrown together configuration example
The URL in [ghq "my-repo-server.example.com/"] becomes a simple prefix string
matcher which then looks at match/replace to construct the final urls.
Conceptually it could work something like this but there are probably more use
cases to think about.
[ghq "my-repo-server.example.com/"]
	vcs = git
    match = my-repo-server.example.com/(?P<rest>.*)/+
    replace = git@my-repo-server.example.com:20022/${rest}.git

Forcefully overriding https with .git:
[ghq "https://my-repo-server.example.com/"]
	vcs = git
    match = https://my-repo-server.example.com/(?P<rest>.*)/+
    replace = git@my-repo-server.example.com:20022/${rest}.git

And configure sub paths of hosts to be translated in specific ways:
[ghq "github.com/thomasf/"]
	vcs = git
    match = github.com/thomasf/(?P<rest>.*)/+
    replace = git@github.com:thomasf/{rest}.git

I also use a LOT of different repository hosts so I would prefer that it was possible to disable ghq get some/thing to go directly to github, I would like to get an error instead and only work when qualifying github.com as well: ghq get github.com/some/thing.

This would probably make more sense btw, if there is a replace the first string
will be considered a regexp match/capture instead of a plain URL.
[ghq "my-repo-server.example.com/(?P<rest>.*)/+"]
	vcs = git
    replace = git@my-repo-server.example.com:20022/${rest}.git

But I'm getting ahead of myself with solutions, I would like to know what other people might need from something like this first.

This issue is related to https://github.com/motemen/ghq/issues/21 because this feature would probly benifit alot from a less constrained config format

Ok so [ghq "my-repo-server.example.com/(?P<rest>.*)/+"] is not an url and thus unsupported by git config..
Looking at remote_repository code it seems like it shouldnt be very complicated to fit almost everything it does for every back end into some configuration file language.

As a ghq feature, the correspondence between queries and directories is very clear. However, if such complicated rules are applied, it will be difficult to understand, and overkill.
So I close it once.


Support for nonstandard video modes

Currently pivid only supports video modes corresponding to CTA-861 (consumer electronics TV modes), VESA DMT (list of monitor modes), or VESA CVT (formulas for computing monitor modes outside of DMT). However, some modes don't conform to any of them, even CVT, because of a nonstandard aspect ratio or the like. For example, @aubilenon has a 1080x1080 HDMI display whose modes don't correspond to any of these.

pivid_scan_displays doesn't show anything that looks promising
`=== /dev/dri/card0 (vc4): platform/gpu/drm/card0 (gpu)
17:56:47.806     20u I [display] Opening display "/dev/dri/card0"...
Screen #32  HDMI-1 [connected]
2560x1600p @60.000 280.9M    30[120-]150  5[12-]20 [ACTIVE]
1920x1080i @60.000  74.2M    88[ 44+]148  4[10+]31 16:9
1920x1080i @59.940  74.2M    88[ 44+]148  4[10+]31 16:9
1280x720p  @60.000  74.2M   110[ 40+]220  5[ 5+]20
1280x720p  @60.000  74.2M   110[ 40+]220  5[ 5+]20 16:9
1280x720p  @59.940  74.2M   110[ 40+]220  5[ 5+]20 16:9
1440x480i  @59.940  27.0M    38[124-]114  8[ 6-]31
720x480p  @60.000  27.0M    16[ 62-]60   9[ 6-]30 4:3
720x480p  @59.940  27.0M    16[ 62-]60   9[ 6-]30 4:3
720x480i  @60.002  13.5M2  19[ 62-]57   8[ 6-]31 4:3
720x480i  @59.940  13.5M2  19[ 62-]57   8[ 6-]31 4:3
640x480p  @60.000  25.2M    16[ 96-]48  10[ 2-]33 4:3
640x480p  @59.952  25.2M     8[ 96-]56   2[ 2-]41
640x480p  @59.940  25.2M    16[ 96-]48  10[ 2-]33 4:3
Screen #41  HDMI-2 [connected]
2560x1600p @60.000 280.9M    30[120-]150  5[12-]20 [ACTIVE]
1920x1080i @60.000  74.2M    88[ 44+]148  4[10+]31 16:9
1920x1080i @59.940  74.2M    88[ 44+]148  4[10+]31 16:9
1280x720p  @60.000  74.2M   110[ 40+]220  5[ 5+]20
1280x720p  @60.000  74.2M   110[ 40+]220  5[ 5+]20 16:9
1280x720p  @59.940  74.2M   110[ 40+]220  5[ 5+]20 16:9
1440x480i  @59.940  27.0M    38[124-]114  8[ 6-]31
720x480p  @60.000  27.0M    16[ 62-]60   9[ 6-]30 4:3
720x480p  @59.940  27.0M    16[ 62-]60   9[ 6-]30 4:3
720x480i  @60.002  13.5M2  19[ 62-]57   8[ 6-]31 4:3
720x480i  @59.940  13.5M2  19[ 62-]57   8[ 6-]31 4:3
640x480p  @60.000  25.2M    16[ 96-]48  10[ 2-]33 4:3
640x480p  @59.952  25.2M     8[ 96-]56   2[ 2-]41
640x480p  @59.940  25.2M    16[ 96-]48  10[ 2-]33 4:3`
I have been able to get X to output 1080x1080 with this stuff in my /boot/config.txt
hdmi_cvt:0=1080 1080 60 3 0 0 0 hdmi_cvt:1=1080 1080 60 3 0 0 0  hdmi_group:0=2 hdmi_mode:0=88 hdmi_group:1=2 hdmi_mode:1=88
I got there long enough ago that I don't remember how I arrived at it, though I remember a bit of flailing, so I have no idea why it says 88 instead of 87 there.

Interesting, so the display itself doesn't present a 1080x1080 mode for negotiation.
In some ways this simplifies things-- instead of worrying about paying attention to modes offered by the display, I'll just come up with a way to specify entirely custom mode timings, and we can figure out (experimentally, if needed) what the screen wants. What happens when you send a 1920x1080 mode to that screen? Does it lop it off, or letterbox? (Does the screen have a data sheet?)
It's interesting that the Raspberry Pi is able to make a 1080x1080 CVT mode. I'll need to re-read the spec-- maybe my CVT algorithm is just being too picky about aspect ratios:
https://github.com/egnor/pivid/blob/a1c742d86069ee27954fbfff73572d72b9391a89/display_mode.cpp#L27
If so, I can just fix that and then you specify 1080x1080 and it's all good.

Ah, looks like Reduced Blank Timing v2 allows arbitrary aspect ratios. I'd been too lazy to implement reduced blanking, but that seems like the right path forward. Maybe I can convince myself that any non-antediluvian screen will support reduced blanking, so we can just output RB for simplicity.

OK, 2928a35416b8cf6bb7ced8f1ce8cd85a03f7dc64 should fix this. It uses Reduced Blanking v2 whenever computing modes with CVT (which happens when falling back from the lists of "standard" modes). It also adds a new pivid_list_modes tool that can be used to list the modes it generates
% build/pivid_list_modes --x 1080 --y 1080
*** No CTA-861 modes match 1080x1080 ?hz

*** No VESA DMT modes match 1080x1080 ?hz

=== CVT synthesized modes for 1080x1080 ?hz ===
 1080x1080p @60     77.33M      8[ 32+]40  17[ 8-]6   [RBv2]

Of course, I can't actually test that mode with @aubilenon's display, but the timings do match other CVT generators, so hopefully I got the math right.


Update sinon to latest version

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